Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [0x020A88BC] = 3A4CB60D(rand 0x020A88B8) * 6C078965(0x020434E8) + 1
- [0x020A8EEC] = (0x020A8EE8) * 6C078965(0x020434E8) + 18D(#397) ←396回繰り返したやつ
- [0x020A88C0 + 4n] = {xor (0x020A88BC + 4n), (0x020A88BC + 4n) lsl 0x1e(#30) + 2 + n}
- ------------------------------------------------------------------------------------
- :02043514 E59FC10C ldr r12,[r15, #+0x10c] ;r15+0x10c=*(02043628)=#
- 34244792(0x020a88b8)
- r12:020A88B8
- :02043518 E59F210C ldr r2,[r15, #+0x10c] ;r15+0x10c=*(0204362c)=#34244784(0x020a88b0)
- r2:020A88B0
- :0204351C E3A00000 mov r0,#0x0 ;r0=0(0x0)
- r0:0
- :02043520 E08C3100 add r3,r12,r0,lsl #0x2
- r3:020A88B8
- :02043524 E79C4100 ldr r4,[r12,+r0, lsl #0x2]
- r4:3A4CD050 (rand 0x020A88B8) ←RAND(0)
- :02043528 E5931004 ldr r1,[r3, #+0x4] ;r3+0x4=*(020a88bc)=#0(0x00000000)
- r1:8DF8FF91(0x020A88BC) ←パラメータ1
- :0204352C E2044102 and r4,r4,#0x80000000
- r4:0
- :02043530 E3C11102 bic r1,r1,#0x80000000
- r1:0DF8FF91
- :02043534 E1844001 orr r4,r4,r1
- r4:0DF8FF91
- :02043538 E2041001 and r1,r4,#0x1
- r1:1
- :0204353C E5933634 ldr r3,[r3, #+0x634] ;r3+0x634=*(020a8eec)=#0(0x00000000)
- r3:86DDED41(0x020A8EEC) パラメータ2
- :02043540 E7921101 ldr r1,[r2,+r1, lsl #0x2]
- r1:1 r2:020A88B0
- :02043544 E02330A4 eor r3,r3,r4,lsr #0x1
- r3:86DDED41 r4:0DF8FF91
- :02043548 E0231001 eor r1,r3,r1
- r1:9908B0DF r3:80219289
- :0204354C E78C1100 str r1,[r12,+r0, lsl #0x2]
- r1:19292256 r12:020A88B8 xorshift完 r1 ←rand(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement