Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [0x020A88B8]
- initial rand = (0x020A9390 &= 0x00FFFFFF) + (0x020A7690)
- rand = PMDTOKI 0x020A88B8 xorshift32????
- [0x020A9390 16bitLCG???]
- inital rand = 0x348C
- rand = (rand * 0x6D + 0x3FD) % 0xFFFF
- //「つづきから」が表示されるタイミングで決定(1F毎に変動)
- [0x020A7690 16bitLCG??]
- inital rand = 0x348C
- rand = (rand * 0x6D + 0x3FD) % 0xFFFF
- //ゲーム内1F毎に変動?
- ------------------------------------------------------------------------------------
- :020435E4 E59F1034 ldr r1,[r15, #+0x34] ;r15+0x34=*(02043620)=#34244780(0x020a88ac)
- r1:020A88AC
- :020435E8 E59F2038 ldr r2,[r15, #+0x38] ;r15+0x38=*(02043628)=#34244792(0x020a88b8)
- r2:020A88B8
- :020435EC E5913000 ldr r3,[r1, #+0x0] ;r1+0x0=*(020a88ac)=#625(0x00000271)
- r3:0
- :020435F0 E59F003C ldr r0,[r15, #+0x3c] ;r15+0x3c=*(02043634)=#-1658038656(0x9d2c5680)
- r0:9D2C5680
- :020435F4 E7922103 ldr r2,[r2,+r3, lsl #0x2]
- r2 =19292256(0x020A88B8)
- :020435F8 E283C001 add r12,r3,#0x1
- [r0:9D2C5680 r1:020A88AC r2:19292256 r3:0]
- :020435FC E02235A2 eor r3,r2,r2,lsr #0xb
- [r3:192A0772]
- :02043600 E0002383 and r2,r0,r3,lsl #0x7
- [r2:95001000]
- :02043604 E59F002C ldr r0,[r15, #+0x2c] ;r15+0x2c=*(02043638)=#-272236544(0xefc60000)
- r0:EFC60000
- :02043608 E0232002 eor r2,r3,r2
- r2:8C2A1772
- :0204360C E0000782 and r0,r0,r2,lsl #0xf
- r0:0B800000
- :02043610 E0220000 eor r0,r2,r0
- r0:87AA1772
- :02043614 E581C000 str r12,[r1, #+0x0] ;r1+0x0=*(020a88ac)=#625(0x00000271)
- :02043618 E0200920 eor r0,r0,r0,lsr #0x12
- r0:87AA3698 ←XORが合わない???
- :022D9FEC E3C004FF bic r0,r0,#0xFF000000
- r0:00AA3698 ←dungeon initial seed (0x02350C78)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement