Repeat

From Final Fantasy Hacktics Wiki
(Redirected from 00015ab8 - 00015afc)
Jump to navigation Jump to search

00015ab8: 94c300ac lhu r3,0x00ac(r6)
00015abc: 00801021 addu r2,r4,r0
00015ac0: 24630001 addiu r3,r3,0x0001
00015ac4: a4c300ac sh r3,0x00ac(r6)                ?
00015ac8: 94c500ac lhu r5,0x00ac(r6)               
00015acc: 90440000 lbu r4,0x0000(r2)               loop count
00015ad0: 24420001 addiu r2,r2,0x0001              pseudo code ptr ++
00015ad4: 00051840 sll r3,r5,0x01
00015ad8: 00651821 addu r3,r3,r5
00015adc: 00031880 sll r3,r3,0x02
00015ae0: 246300b0 addiu r3,r3,0x00b0
00015ae4: 00c31821 addu r3,r6,r3
00015ae8: 248400ff addiu r4,r4,0x00ff              -1
00015aec: a0640000 sb r4,0x0000(r3)                store remaining loop count
00015af0: ac620004 sw r2,0x0004(r3)
00015af4: 90c4007e lbu r4,0x007e(r6)               start of loop?
00015af8: 03e00008 jr r31
00015afc: a0640002 sb r4,0x0002(r3)