Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **************************************************************
- * FUNCTION *
- **************************************************************
- undefined calculateCRC()
- assume GQR0 = 0x0
- assume GQR1 = 0x0
- assume GQR2 = 0x0
- assume GQR3 = 0x0
- assume GQR4 = 0x0
- assume GQR5 = 0x0
- assume GQR6 = 0x0
- assume GQR7 = 0x0
- assume r13 = 0x805a7fe0
- assume r2 = 0x805acae0
- undefined r3:1 <RETURN>
- calculateCRC XREF[19]: zz_800171b0_:80017430(c),
- zz_80025480_:800258c8(c),
- zz_80025960_:80025db8(c),
- zz_80162860_:801628ec(c),
- zz_80162ae0_:80162bf0(c),
- zz_80165cd0_:80165cf8(c),
- zz_801660f0_:80166124(c),
- zz_801666f0_:80166830(c),
- zz_80167620_:8016770c(c),
- zz_801677c0_:80167864(c),
- zz_80169160_:801691f8(c),
- zz_80178170_:801781ac(c),
- zz_80178210_:8017827c(c),
- zz_80378ef0_:80378f18(c),
- zz_803d81d0_:803d82c0(c),
- zz_803f2ae0_:803f2be8(c),
- zz_803f2ae0_:803f2bf8(c),
- getMessageAttachment:803f8974(c),
- zz_803f9080_:803f91a0(c)
- 801744d0 2c 04 00 04 cmpwi r4,0x4
- 801744d4 7c 65 1b 78 or r5,r3,r3
- 801744d8 41 80 00 38 blt LAB_80174510
- 801744dc 88 c3 00 01 lbz r6,0x1(r3)
- 801744e0 38 84 ff fc subi r4,r4,0x4
- 801744e4 88 03 00 02 lbz r0,0x2(r3)
- 801744e8 38 a3 00 04 addi r5,r3,0x4
- 801744ec 54 c8 80 1e rlwinm r8,r6,0x10,0x0,0xf
- 801744f0 88 e3 00 00 lbz r7,0x0(r3)
- 801744f4 54 06 40 2e rlwinm r6,r0,0x8,0x0,0x17
- 801744f8 88 03 00 03 lbz r0,0x3(r3)
- 801744fc 50 e8 c0 0e rlwimi r8,r7,0x18,0x0,0x7
- 80174500 7d 08 33 78 or r8,r8,r6
- 80174504 7d 08 03 78 or r8,r8,r0
- 80174508 7d 09 40 f8 nor r9,r8,r8
- 8017450c 48 00 00 10 b LAB_8017451c
- LAB_80174510 XREF[1]: 801744d8(j)
- 80174510 3c 60 80 48 lis r3,-0x7fb8
- 80174514 38 63 18 d0 addi r3,r3,0x18d0
- 80174518 81 23 02 00 lwz r9,0x200(r3)=>DAT_80481ad0 = 690CE0EEh
- LAB_8017451c XREF[1]: 8017450c(j)
- 8017451c 2c 84 00 00 cmpwi cr1,r4,0x0
- 80174520 38 60 00 00 li r3,0x0
- 80174524 40 85 01 30 ble cr1,LAB_80174654
- 80174528 2c 04 00 08 cmpwi r4,0x8
- 8017452c 38 e4 ff f8 subi r7,r4,0x8
- 80174530 40 81 00 f0 ble LAB_80174620
- 80174534 39 00 00 00 li r8,0x0
- 80174538 41 84 00 18 blt cr1,LAB_80174550
- 8017453c 3c c0 80 00 lis r6,-0x8000
- 80174540 38 06 ff fe subi r0,r6,0x2
- 80174544 7c 04 00 00 cmpw r4,r0
- 80174548 41 81 00 08 bgt LAB_80174550
- 8017454c 39 00 00 01 li r8,0x1
- LAB_80174550 XREF[2]: 80174538(j), 80174548(j)
- 80174550 2c 08 00 00 cmpwi r8,0x0
- 80174554 41 82 00 cc beq LAB_80174620
- 80174558 38 07 00 07 addi r0,r7,0x7
- 8017455c 3d 80 80 48 lis r12,-0x7fb8
- 80174560 54 00 e8 fe rlwinm r0,r0,0x1d,0x3,0x1f
- 80174564 39 8c 18 d0 addi r12,r12,0x18d0
- 80174568 7c 09 03 a6 mtspr CTR,r0
- 8017456c 2c 07 00 00 cmpwi r7,0x0
- 80174570 40 81 00 b0 ble LAB_80174620
- LAB_80174574 XREF[1]: 8017461c(j)
- 80174574 55 20 55 ba rlwinm r0,r9,0xa,0x16,0x1d
- 80174578 88 e5 00 00 lbz r7,0x0(r5)
- 8017457c 7c 0c 00 2e lwzx r0,r12=>DAT_804818d0,r0
- 80174580 51 27 40 2e rlwimi r7,r9,0x8,0x0,0x17
- 80174584 88 c5 00 01 lbz r6,0x1(r5)
- 80174588 38 63 00 08 addi r3,r3,0x8
- 8017458c 7c e7 02 78 xor r7,r7,r0
- 80174590 89 65 00 02 lbz r11,0x2(r5)
- 80174594 54 e0 55 ba rlwinm r0,r7,0xa,0x16,0x1d
- 80174598 89 45 00 03 lbz r10,0x3(r5)
- 8017459c 7c 0c 00 2e lwzx r0,r12=>DAT_804818d0,r0
- 801745a0 50 e6 40 2e rlwimi r6,r7,0x8,0x0,0x17
- 801745a4 89 25 00 04 lbz r9,0x4(r5)
- 801745a8 7c c6 02 78 xor r6,r6,r0
- 801745ac 89 05 00 05 lbz r8,0x5(r5)
- 801745b0 54 c0 55 ba rlwinm r0,r6,0xa,0x16,0x1d
- 801745b4 88 e5 00 06 lbz r7,0x6(r5)
- 801745b8 7c 0c 00 2e lwzx r0,r12=>DAT_804818d0,r0
- 801745bc 50 cb 40 2e rlwimi r11,r6,0x8,0x0,0x17
- 801745c0 88 c5 00 07 lbz r6,0x7(r5)
- 801745c4 38 a5 00 08 addi r5,r5,0x8
- 801745c8 7d 6b 02 78 xor r11,r11,r0
- 801745cc 55 60 55 ba rlwinm r0,r11,0xa,0x16,0x1d
- 801745d0 7c 0c 00 2e lwzx r0,r12=>DAT_804818d0,r0
- 801745d4 51 6a 40 2e rlwimi r10,r11,0x8,0x0,0x17
- 801745d8 7d 4a 02 78 xor r10,r10,r0
- 801745dc 55 40 55 ba rlwinm r0,r10,0xa,0x16,0x1d
- 801745e0 7c 0c 00 2e lwzx r0,r12=>DAT_804818d0,r0
- 801745e4 51 49 40 2e rlwimi r9,r10,0x8,0x0,0x17
- 801745e8 7d 29 02 78 xor r9,r9,r0
- 801745ec 55 20 55 ba rlwinm r0,r9,0xa,0x16,0x1d
- 801745f0 7c 0c 00 2e lwzx r0,r12=>DAT_804818d0,r0
- 801745f4 51 28 40 2e rlwimi r8,r9,0x8,0x0,0x17
- 801745f8 7d 08 02 78 xor r8,r8,r0
- 801745fc 55 00 55 ba rlwinm r0,r8,0xa,0x16,0x1d
- 80174600 7c 0c 00 2e lwzx r0,r12=>DAT_804818d0,r0
- 80174604 51 07 40 2e rlwimi r7,r8,0x8,0x0,0x17
- 80174608 7c e7 02 78 xor r7,r7,r0
- 8017460c 54 e0 55 ba rlwinm r0,r7,0xa,0x16,0x1d
- 80174610 7c 0c 00 2e lwzx r0,r12=>DAT_804818d0,r0
- 80174614 50 e6 40 2e rlwimi r6,r7,0x8,0x0,0x17
- 80174618 7c c9 02 78 xor r9,r6,r0
- 8017461c 42 00 ff 58 bdnz LAB_80174574
- LAB_80174620 XREF[3]: 80174530(j), 80174554(j),
- 80174570(j)
- 80174620 3c c0 80 48 lis r6,-0x7fb8
- 80174624 7c 03 20 50 subf r0,r3,r4
- 80174628 38 c6 18 d0 addi r6,r6,0x18d0
- 8017462c 7c 09 03 a6 mtspr CTR,r0
- 80174630 7c 03 20 00 cmpw r3,r4
- 80174634 40 80 00 20 bge LAB_80174654
- LAB_80174638 XREF[1]: 80174650(j)
- 80174638 55 20 55 ba rlwinm r0,r9,0xa,0x16,0x1d
- 8017463c 88 65 00 00 lbz r3,0x0(r5)
- 80174640 7c 06 00 2e lwzx r0,r6=>DAT_804818d0,r0
- 80174644 51 23 40 2e rlwimi r3,r9,0x8,0x0,0x17
- 80174648 38 a5 00 01 addi r5,r5,0x1
- 8017464c 7c 69 02 78 xor r9,r3,r0
- 80174650 42 00 ff e8 bdnz LAB_80174638
- LAB_80174654 XREF[2]: 80174524(j), 80174634(j)
- 80174654 7d 23 48 f8 nor r3,r9,r9
- 80174658 4e 80 00 20 blr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement