Security code

From NeoGeo Development Wiki
Revision as of 17:41, 20 April 2011 by Furrtek (talk | contribs) (Created page with "Pointed to by $182. From KOF96 (CD): <pre> moveq #0,d3 ;64728: 7600 tst 2580(a5) ;6472A: 4A6D0A14 bne LAB_20F3 ;6472E: 6600003C movea.l 2564(a5),a0 ;64732: 206D0A04 m…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Pointed to by $182.

From KOF96 (CD):

	moveq	#0,d3			;64728: 7600
	tst	2580(a5)		;6472A: 4A6D0A14
	bne	LAB_20F3		;6472E: 6600003C
	movea.l	2564(a5),a0		;64732: 206D0A04
	move	2568(a5),d7		;64736: 3E2D0A08
LAB_20F0:
	move.b	d0,EXT_03E5		;6473A: 13C000300001
	move	(a0),d1			;64740: 3210
	cmpi.b	#$FF,d1			;64742: 0C0100FF
	beq.s	LAB_20F1		;64746: 671A
	move	2(a0),d0		;64748: 30280002
	cmp.b	2766(a5),d0		;6474C: B02D0ACE
	bne.s	LAB_20F1		;64750: 6610
	move	4(a0),d0		;64752: 30280004
	cmp.b	2767(a5),d0		;64756: B02D0ACF
	bne.s	LAB_20F1		;6475A: 6606
	cmp.b	2768(a5),d1		;6475C: B22D0AD0
	beq.s	LAB_20F2		;64760: 6708
LAB_20F1:
	addq.l	#8,a0			;64762: 5088
	dbf	d7,LAB_20F0		;64764: 51CFFFD4
	move	d7,d3			;64768: 3607
LAB_20F2:
	rts				;6476A: 4E75
LAB_20F3:
	movea.l	2564(a5),a0		;6476C: 206D0A04
	move	2568(a5),d7		;64770: 3E2D0A08
LAB_20F4:
	move	(a0),d1			;64774: 3210
	lsr	#8,d1			;64776: E049
	cmpi.b	#$FF,d1			;64778: 0C0100FF
	beq.s	LAB_20F5		;6477C: 671A
	move	(a0),d0			;6477E: 3010
	cmp.b	2766(a5),d0		;64780: B02D0ACE
	bne.s	LAB_20F5		;64784: 6612
	move	2(a0),d0		;64786: 30280002
	lsr	#8,d0			;6478A: E048
	cmp.b	2767(a5),d0		;6478C: B02D0ACF
	bne.s	LAB_20F5		;64790: 6606
	cmp.b	2768(a5),d1		;64792: B22D0AD0
	beq.s	LAB_20F6		;64796: 6708
LAB_20F5:
	addq.l	#4,a0			;64798: 5888
	dbf	d7,LAB_20F4		;6479A: 51CFFFD8
	move	d7,d3			;6479E: 3607
LAB_20F6:
	rts				;647A0: 4E75