mirror of https://github.com/zeldaret/tp.git
44 lines
1.5 KiB
ArmAsm
44 lines
1.5 KiB
ArmAsm
lbl_80369114:
|
|
/* 80369114 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80369118 41 82 00 10 */ beq lbl_80369128
|
|
/* 8036911C A0 03 00 04 */ lhz r0, 4(r3)
|
|
/* 80369120 54 00 D7 7F */ rlwinm. r0, r0, 0x1a, 0x1d, 0x1f
|
|
/* 80369124 40 82 00 0C */ bne lbl_80369130
|
|
lbl_80369128:
|
|
/* 80369128 38 60 00 00 */ li r3, 0
|
|
/* 8036912C 4E 80 00 20 */ blr
|
|
lbl_80369130:
|
|
/* 80369130 88 A3 00 05 */ lbz r5, 5(r3)
|
|
/* 80369134 54 A0 E7 BE */ rlwinm r0, r5, 0x1c, 0x1e, 0x1f
|
|
/* 80369138 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 8036913C 41 82 00 58 */ beq lbl_80369194
|
|
/* 80369140 40 80 00 10 */ bge lbl_80369150
|
|
/* 80369144 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80369148 40 80 00 14 */ bge lbl_8036915C
|
|
/* 8036914C 4E 80 00 20 */ blr
|
|
lbl_80369150:
|
|
/* 80369150 2C 00 00 03 */ cmpwi r0, 3
|
|
/* 80369154 4C 80 00 20 */ bgelr
|
|
/* 80369158 48 00 00 34 */ b lbl_8036918C
|
|
lbl_8036915C:
|
|
/* 8036915C 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 80369160 40 81 00 14 */ ble lbl_80369174
|
|
/* 80369164 38 00 00 02 */ li r0, 2
|
|
/* 80369168 50 05 26 B6 */ rlwimi r5, r0, 4, 0x1a, 0x1b
|
|
/* 8036916C 98 A3 00 05 */ stb r5, 5(r3)
|
|
/* 80369170 48 00 00 14 */ b lbl_80369184
|
|
lbl_80369174:
|
|
/* 80369174 40 80 00 10 */ bge lbl_80369184
|
|
/* 80369178 38 00 00 01 */ li r0, 1
|
|
/* 8036917C 50 05 26 B6 */ rlwimi r5, r0, 4, 0x1a, 0x1b
|
|
/* 80369180 98 A3 00 05 */ stb r5, 5(r3)
|
|
lbl_80369184:
|
|
/* 80369184 7C 83 23 78 */ mr r3, r4
|
|
/* 80369188 4E 80 00 20 */ blr
|
|
lbl_8036918C:
|
|
/* 8036918C 38 60 00 01 */ li r3, 1
|
|
/* 80369190 4E 80 00 20 */ blr
|
|
lbl_80369194:
|
|
/* 80369194 38 60 FF FF */ li r3, -1
|
|
/* 80369198 4E 80 00 20 */ blr
|