Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 00002a10 sub_2A10:
- 00002a18 return 0;
- 00002efc sub_2EFC:
- 00002efc /* Low-level instruction of type 44 */
- 00002f00 /* Low-level instruction of type 33 */
- 00002f04 R10 = R10 + R0;
- 00002f08 R11 = R11 + R0;
- 00002f0c R7 = R10 - 1;
- 00002f10 loc_2F10:
- 00002f10 Cond = R10 - R11;
- 00002f14 if (Cond != 0) goto loc_2F1C;
- 00002f18 sub_BFD8(R0, R1, R2, R3);
- 00002f1c loc_2F1C:
- 00002f1c /* Low-level instruction of type 33 */
- 00002f20 /* Low-level instruction of type 44 */
- 00002f24 Cond = R3 & 1;
- 00002f28 if (Cond == 0) goto loc_2F2C;
- 00002f9c sub_2F9C:
- 00002f9c /* Low-level instruction of type 43 */
- 00002fa2 Cond = 0;
- 00002fa2 R5 = 0;
- 00002fa4 Cond = 0;
- 00002fa6 Cond = 0;
- 00002faa R9 = R5;
- 00002fac R5 = 0x8f310000;
- 00002fae /* Low-level instruction of type 283 */
- 00002fb0 R8 = 1;
- 00002fba Cond = * (* 0x8700bc78 + 4) - 0x200;
- 00002fbe if (Cond != 0) goto loc_2FCA;
- 00002fc4 /* Low-level instruction of type 255 */
- 00002fc8 goto loc_2FFA;
- 00002fca loc_2FCA:
- 00002fce /* Low-level instruction of type 255 */
- 00002fd2 goto loc_2FFA;
- 00002fd4 loc_2FD4:
- 00002fd4 Cond = R4 - 1;
- 00002fd6 if (Cond != 0) goto loc_2FFA;
- 00002fd8 R8 = 6;
- 00002fe2 Cond = * (* 0x8700bc78 + 4) - 0x200;
- 00002fe6 if (Cond != 0) goto loc_2FF2;
- 00002fec /* Low-level instruction of type 255 */
- 00002ff0 goto loc_2FFA;
- 00002ff2 loc_2FF2:
- 00002ff6 /* Low-level instruction of type 255 */
- 00002ffa loc_2FFA:
- 00003002 R10 = sub_4AEA(R8, R9, R2, R3);
- 00003004 R7 = R8;
- 00003006 goto loc_303A;
- 00003008 loc_3008:
- 00003008 Cond = 0;
- 00003008 R6 = 0;
- 0000300a goto loc_3026;
- 0000300c loc_300C:
- 0000300c Cond = 0;
- 00003018 R10 = sub_6AB0(R7, R6, R5, 0) & 0xff;
- 00003022 R5 = R5 + * (* 0x8700bc78 + 4);
- 00003024 Cond = R6 + 1;
- 00003024 R6 = R6 + 1;
- 00003026 loc_3026:
- 0000302a R0 = * (* 0x8700bc78 + 12);
- 0000302c Cond = R0 - 1;
- 0000302e Cond = R0 - 1 - R6;
- 00003030 if (Cond < 0) goto loc_3038;
- 00003032 Cond = R10;
- 00003036 if (Cond == 0) goto loc_300C;
- 00003038 loc_3038:
- 00003038 Cond = R7 + 1;
- 00003038 R7 = R7 + 1;
- 0000303a loc_303A:
- 0000303a Cond = R7 - R9;
- 0000303c if (Cond > 0) goto loc_3044;
- 0000303e Cond = R10;
- 00003042 if (Cond == 0) goto loc_3008;
- 0000304a sub_304A:
- 0000304a /* Low-level instruction of type 43 */
- 0000304e R4 = R0;
- 00003050 Cond = 0x58;
- 00003050 R5 = 0x58;
- 00003052 Cond = 0;
- 00003052 R7 = 0;
- 0000305e R0 = sub_6ED0(R4, R1, R2, R3);
- 00003062 /* Low-level instruction of type 251 */
- 00003064 Cond = R4 - 0x68;
- 00003066 if (Cond == 0) goto loc_306E;
- 00003068 Cond = R4 - 0x69;
- 0000306a if (Cond != 0) goto loc_30A2;
- 0000306c goto loc_3088;
- 0000306e loc_306E:
- 0000306e R8 = 0x87000780;
- 00003072 Cond = R8;
- 00003076 if (Cond == 0) goto loc_3086;
- 00003078 R0 = * (R8 + 4);
- 0000307c Cond = R0 - 0xb1;
- 0000307e if (Cond != 0) goto loc_3086;
- 00003080 R7 = * (R8 + 0x24);
- 00003084 Cond = 0x23;
- 00003084 R5 = 0x23;
- 00003086 loc_3086:
- 00003086 goto loc_30A6;
- 00003088 loc_3088:
- 00003088 R9 = 0x8f311000;
- 0000308c Cond = R9;
- 00003090 if (Cond == 0) goto loc_30A0;
- 00003092 R0 = * (R9 + 4);
- 00003096 Cond = R0 - 0xb1;
- 00003098 if (Cond != 0) goto loc_30A0;
- 0000309a R7 = * (R9 + 0x24);
- 0000309e Cond = 0x23;
- 0000309e R5 = 0x23;
- 000030a0 loc_30A0:
- 000030a0 goto loc_30A6;
- 000030a2 loc_30A2:
- 000030a2 Cond = 0x58;
- 000030a2 R5 = 0x58;
- 000030a4 /* Low-level instruction of type 2 */
- 000030a6 loc_30A6:
- 000030a6 /* Low-level instruction of type 2 */
- 000030a8 Cond = R5 - 0x23;
- 000030aa if (Cond != 0) goto loc_30C4;
- 000030ac R0 = sub_6DEE(R0, R1, R2, R3);
- 000030b0 Cond = R0 - 2;
- 000030b2 if (Cond != 0) goto loc_30C4;
- 000030b4 sub_6E1C(R0, R1, R2, R3);
- 000030b8 /* Low-level instruction of type 283 */
- 000030ba Cond = R7 - R6;
- 000030bc if (Cond < 0) goto loc_30C2;
- 000030be Cond = 0x23;
- 000030c0 goto loc_30C4;
- 000030c2 loc_30C2:
- 000030c2 Cond = 0x58;
- 000030ca sub_30CA:
- 000030ca /* Low-level instruction of type 43 */
- 000030ce R0 = * 0x8700b6a0;
- 000030d0 var_10 = R0;
- 000030d2 Cond = 0;
- 000030d4 R4 = 0x8f311000;
- 000030da var_10 = sub_7026(R0, R1, R2, R3);
- 000030e0 Cond = var_10 - 0xf0;
- 000030e2 if (Cond != 0) goto loc_30EE;
- 000030ec var_10 = sub_718E(0x870008d0, 0x870008e0, R2, R3);
- 000030ee loc_30EE:
- 000030f2 Cond = var_10 - 0xf0;
- 000030f4 if (Cond != 0) goto loc_312E;
- 000030f6 Cond = 0x39;
- 000030f8 var_10 = 0x39;
- 000030fe Cond = * (R4 + 8) - 0x80000000;
- 00003102 if (Cond < 0) goto loc_312E;
- 00003106 Cond = * (R4 + 8) - 0x90000000;
- 0000310a if (Cond >= 0) goto loc_312E;
- 00003110 Cond = 0;
- 00003114 Cond = 1;
- 0000311a var_10 = sub_7098(1, R4 + 8, 0, R3);
- 00003120 Cond = var_10 - 0xf0;
- 00003122 if (Cond != 0) goto loc_312E;
- 00003124 Cond = 4;
- 0000312c var_10 = sub_711A(0x8f311000, 4, R2, R3);
- 0000312e loc_312E:
- 00003132 Cond = var_10[1] - 1;
- 00003134 if (Cond != 0) goto loc_313C;
- 00003136 Cond = 0xf0;
- 00003138 var_10 = 0xf0;
- 00003140 sub_3140:
- 00003140 /* Low-level instruction of type 43 */
- 00003146 Cond = 0;
- 00003148 Cond = 0;
- 0000314a R0 = 0x8700b6a0;
- 0000314c Cond = R0 - 4;
- 00003150 var_1C = * (R0 - 4);
- 00003152 Cond = 0;
- 00003156 /* Low-level instruction of type 283 */
- 0000315e Cond = * (* 0x8700bc78 + 4) - 0x200;
- 00003162 if (Cond != 0) goto loc_316A;
- 00003164 Cond = 8;
- 00003164 R5 = 8;
- 00003166 Cond = R5 << 14;
- 00003166 R7 = R5 << 14;
- 00003168 goto loc_316E;
- 0000316a loc_316A:
- 0000316a Cond = 2;
- 0000316a R5 = 2;
- 0000316c Cond = R5 << 0x11;
- 0000316c R7 = R5 << 0x11;
- 0000316e loc_316E:
- 0000316e Cond = 0;
- 00003174 Cond = 1;
- 00003176 var_20 = R7;
- 0000317c sub_4B44(1, R5, 0x8f310000, 0);
- 0000317e goto loc_31D0;
- 00003180 loc_3180:
- 00003180 Cond = R4 - 1;
- 00003182 if (Cond != 0) goto loc_31D0;
- 0000318a Cond = * (* 0x8700bc78 + 4) - 0x200;
- 0000318e if (Cond != 0) goto loc_3198;
- 00003190 Cond = 13;
- 00003190 R6 = 13;
- 00003192 R7 = 0x20000;
- 00003196 goto loc_319E;
- 00003198 loc_3198:
- 00003198 Cond = 7;
- 00003198 R6 = 7;
- 0000319a R7 = 0x40000;
- 0000319e loc_319E:
- 0000319e Cond = 0;
- 000031a4 Cond = 6;
- 000031a6 var_20 = R7;
- 000031a8 R0 = sub_4B44(6, R6, 0x8f310000, 0);
- 000031b2 var_1C = sub_30CA(R0, R1, R2, R3);
- 000031b4 Cond = R0;
- 000031b8 if (Cond != 0) goto loc_31CC;
- 000031be Cond = var_1C - 0xf0;
- 000031c0 if (Cond != 0) goto loc_31CC;
- 000031c8 * 0x8700baa8 = 0xdead;
- 000031ca goto loc_31D0;
- 000031cc loc_31CC:
- 000031d6 sub_31D6:
- 000031d6 /* Low-level instruction of type 43 */
- 000031da Cond = 0x58;
- 000031dc Cond = 0xd9;
- 000031de Cond = 0;
- 000031e0 Cond = 0;
- 000031e2 Cond = 0x69;
- 000031e8 R4 = sub_304A(0x69, R1, R2, R3);
- 000031ea Cond = R4 - 0x23;
- 000031ec if (Cond != 0) goto loc_3242;
- 000031f2 R1 = * 0x8700baa8 - 0xde00;
- 000031f6 Cond = R1 - 0xad;
- 000031f6 R1 = R1 - 0xad;
- 000031f8 if (Cond != 0) goto loc_3202;
- 000031fa Cond = 0;
- 000031fc sub_2F9C(0, R1, R2, R3);
- 00003200 goto loc_3272;
- 00003202 loc_3202:
- 00003208 Cond = * (* 0x8700bc78 + 4) - 0x200;
- 0000320c if (Cond != 0) goto loc_321E;
- 0000320e Cond = 0;
- 00003212 Cond = 8;
- 00003214 Cond = 6;
- 0000321a sub_6BC2(6, 8, 0x81000000, 0);
- 0000321c goto loc_322C;
- 0000321e loc_321E:
- 0000321e Cond = 0;
- 00003222 Cond = 2;
- 00003224 Cond = 6;
- 0000322a sub_6BC2(6, 2, 0x81000000, 0);
- 0000322c loc_322C:
- 0000322c /* Low-level instruction of type 283 */
- 00003234 R1 = * (0x8f311000 + 0x1e);
- 00003236 Cond = * (0x81000000 + 0x1e) - R1;
- 00003238 if (Cond == 0) goto loc_3272;
- 0000323a Cond = 1;
- 0000323c sub_2F9C(1, R1, R2, R3);
- 00003240 goto loc_3272;
- 00003242 loc_3242:
- 00003242 Cond = R4 - 0x58;
- 00003244 if (Cond != 0) goto loc_3272;
- 00003248 R0 = * 0x8700baa8;
- 0000324a R1 = R0 - 0xde00;
- 0000324e Cond = R1 - 0xad;
- 0000324e R1 = R1 - 0xad;
- 00003250 if (Cond == 0) goto loc_326E;
- 00003252 Cond = 1;
- 00003254 sub_3140(1, R1, R2, R3);
- 00003258 /* Low-level instruction of type 283 */
- 0000325a Cond = 0;
- 0000325c sub_2F9C(0, R1, R2, R3);
- 00003260 Cond = 0x69;
- 00003266 Cond = sub_304A(0x69, R1, R2, R3) - 0x23;
- 00003268 if (Cond != 0) goto loc_3272;
- 0000326a Cond = 0x23;
- 0000326c goto loc_3272;
- 0000326e loc_326E:
- 0000326e sub_64A8(R0, R1, R2, R3);
- 00003278 sub_3278:
- 00003278 R1 = 0x8f311000;
- 0000327c Cond = * (R1 + 4) - 0xb1;
- 0000327e if (Cond != 0) goto loc_3296;
- 00003282 Cond = * R1 - 0x80000000;
- 00003286 if (Cond < 0) goto loc_3296;
- 0000328e Cond = * R1 - 0x8fffffff;
- 00003290 if (Cond >= 0) goto loc_3296;
- 00003292 Cond = 1;
- 00003292 R0 = 1;
- 00003294 goto loc_3298;
- 00003296 loc_3296:
- 00003296 Cond = 0;
- 00003296 R0 = 0;
- 00003298 loc_3298:
- 00003298 /* Low-level instruction of type 251 */
- 0000329a return R0;
- 0000329c sub_329C:
- 0000329c /* Low-level instruction of type 43 */
- 0000329e Cond = 2;
- 000032a0 sub_4AC6(R0, R1, R2, R3);
- 000032a4 /* Low-level instruction of type 283 */
- 000032a6 Cond = 1;
- 000032ac sub_32AC:
- 000032ac /* Low-level instruction of type 43 */
- 000032ae R0 = 0x8700b6a0;
- 000032b0 Cond = R0 + 4;
- 000032b2 R0 = * (R0 + 4);
- 000032b4 var_18 = R0;
- 000032b6 Cond = 0;
- 000032b6 R5 = 0;
- 000032b8 sub_3686(R0, R1, R2, R3);
- 000032c8 R0 = sub_3BCE(0x190, 0xff87, 0xffff, R3);
- 000032cc R0 = sub_6F0A(R0, R1, R2, R3);
- 000032d0 /* Low-level instruction of type 251 */
- 000032d2 R0 = sub_6DEE(R0, R1, R2, R3);
- 000032d6 R6 = R0;
- 000032d8 Cond = R6 - 2;
- 000032da if (Cond != 0) goto loc_32F0;
- 000032dc sub_6E1C(R0, R1, R2, R3);
- 000032e0 /* Low-level instruction of type 283 */
- 000032e2 Cond = 0x68;
- 000032e4 R0 = sub_304A(0x68, R1, R2, R3);
- 000032e8 Cond = R0 - 0x23;
- 000032ea if (Cond != 0) goto loc_32F2;
- 000032ec Cond = 1;
- 000032ec R5 = 1;
- 000032ee goto loc_32F2;
- 000032f0 loc_32F0:
- 000032f0 Cond = 1;
- 000032f0 R5 = 1;
- 000032f2 loc_32F2:
- 000032f2 Cond = R5 - 1;
- 000032f4 if (Cond != 0) goto loc_32FC;
- 000032fa R5 = sub_329C(R0, R1, R2, R3);
- 000032fc loc_32FC:
- 000032fc Cond = R5 - 1;
- 000032fe if (Cond != 0) goto loc_3356;
- 00003300 Cond = 0;
- 00003300 R5 = 0;
- 00003302 Cond = 0;
- 00003304 R0 = sub_3140(0, R1, R2, R3);
- 00003308 Cond = R0;
- 0000330a if (Cond != 0) goto loc_3356;
- 0000330c Cond = R6 - 1;
- 0000330e if (Cond != 0) goto loc_3318;
- 00003310 R0 = sub_3278(R0, R1, R2, R3);
- 00003314 Cond = R0 - 1;
- 00003316 if (Cond == 0) goto loc_331C;
- 00003318 loc_3318:
- 00003318 Cond = R6 - 2;
- 0000331a if (Cond != 0) goto loc_3338;
- 0000331c loc_331C:
- 00003320 var_18 = sub_30CA(R0, R1, R2, R3);
- 00003322 R0 = var_18;
- 00003326 Cond = R0 - 0xf0;
- 00003328 if (Cond == 0) goto loc_3336;
- 0000332a Cond = 1;
- 0000332c R0 = sub_3140(1, R1, R2, R3);
- 00003330 /* Low-level instruction of type 283 */
- 00003332 Cond = 1;
- 00003332 R5 = 1;
- 00003334 goto loc_3338;
- 00003336 loc_3336:
- 00003336 Cond = 1;
- 00003336 R5 = 1;
- 00003338 loc_3338:
- 00003338 Cond = R6 - 2;
- 0000333a if (Cond != 0) goto loc_3346;
- 0000333c R0 = sub_31D6(R0, R1, R2, R3);
- 00003340 Cond = R0 - 0x23;
- 00003342 if (Cond == 0) goto loc_3346;
- 00003344 Cond = 0;
- 00003344 R5 = 0;
- 00003346 loc_3346:
- 00003346 Cond = R5 - 1;
- 00003348 if (Cond != 0) goto loc_3356;
- 0000334a Cond = 0;
- 0000334c /* Low-level instruction of type 44 */
- 0000334e R0 = sub_4486(R0, 0, R2, R3);
- 00003352 sub_DBE0(R0, R1, R2, R3);
- 0000355c sub_355C:
- 0000355c /* Low-level instruction of type 43 */
- 0000355e R3 = R0;
- 00003560 R4 = R1;
- 00003562 goto loc_356E;
- 00003564 loc_3564:
- 00003566 * R3 = * R4;
- 00003568 Cond = R3 + 1;
- 00003568 R3 = R3 + 1;
- 0000356a Cond = R4 + 1;
- 0000356a R4 = R4 + 1;
- 0000356c Cond = R2 - 1;
- 0000356c R2 = R2 - 1;
- 0000356e loc_356E:
- 0000356e Cond = R2;
- 00003570 if (Cond != 0) goto loc_3564;
- 00003574 sub_3574:
- 00003574 /* Low-level instruction of type 43 */
- 00003578 R4 = R0;
- 0000357a R3 = R1;
- 0000357c Cond = 0;
- 0000357c R0 = 0;
- 0000357e goto loc_358C;
- 00003580 loc_3580:
- 00003580 R6 = * R4;
- 00003582 R7 = * R3;
- 00003584 Cond = R6 - R7;
- 00003584 R0 = R6 - R7;
- 00003586 Cond = R4 + 1;
- 00003586 R4 = R4 + 1;
- 00003588 Cond = R3 + 1;
- 00003588 R3 = R3 + 1;
- 0000358a Cond = R2 - 1;
- 0000358a R2 = R2 - 1;
- 0000358c loc_358C:
- 0000358c /* Low-level instruction of type 282 */
- 0000358e Cond = R0;
- 00003590 if (Cond == 0) goto loc_3580;
- 00003594 sub_3594:
- 00003594 /* Low-level instruction of type 43 */
- 00003596 R3 = R2;
- 00003598 R2 = R0;
- 0000359a goto loc_35A2;
- 0000359c loc_359C:
- 0000359c * R2 = R1;
- 0000359e Cond = R2 + 1;
- 0000359e R2 = R2 + 1;
- 000035a0 Cond = R3 - 1;
- 000035a0 R3 = R3 - 1;
- 000035a2 loc_35A2:
- 000035a2 Cond = R3;
- 000035a4 if (Cond != 0) goto loc_359C;
- 00003608 sub_3608:
- 00003608 /* Low-level instruction of type 43 */
- 0000360e R4 = R0;
- 00003610 R5 = R1;
- 00003612 R6 = R2;
- 00003614 R7 = R3;
- 00003616 R8 = 0x40000000;
- 0000361e Cond = R6 - 0x20;
- 00003620 if (Cond >= 0) goto loc_364C;
- 00003624 /* Low-level instruction of type 44 */
- 00003626 /* Low-level instruction of type 33 */
- 00003628 /* Low-level instruction of type 46 */
- 0000362c /* Low-level instruction of type 71 */
- 0000363a /* Low-level instruction of type 71 */
- 00003640 R0 = var_30;
- 00003642 /* Low-level instruction of type 46 */
- 00003646 /* Low-level instruction of type 71 */
- 0000364a goto loc_364E;
- 0000364c loc_364C:
- 0000364c Cond = 0;
- 0000364c R0 = 0;
- 0000364e loc_364E:
- 0000364e R9 = R0;
- 00003650 goto loc_3656;
- 00003652 loc_3652:
- 00003652 R8 = R8 - 1;
- 00003656 loc_3656:
- 00003660 Cond = (* R4 & R9) - (R7 << R5);
- 00003662 if (Cond == 0) goto loc_366A;
- 00003664 Cond = R8;
- 00003668 if (Cond != 0) goto loc_3652;
- 0000366a loc_366A:
- 00003674 Cond = (* R4 & R9) - (R7 << R5);
- 00003676 if (Cond != 0) goto loc_367C;
- 000036c2 sub_36C2:
- 000036c2 /* Low-level instruction of type 43 */
- 000036c4 goto loc_36DC;
- 000036c6 loc_36C6:
- 000036ca R0 = * 0x48307250 & ~ 4;
- 000036ce Cond = R0 + 4;
- 000036d0 R1 = 0x48307000;
- 000036d2 * (R1 + 0x250) = R0 + 4;
- 000036d6 Cond = 0x64;
- 000036d8 sub_36B6(0x64, R1, R2, R3);
- 000036dc loc_36DC:
- 000036dc goto loc_36C6;
- 000036de sub_36DE:
- 000036de /* Low-level instruction of type 2 */
- 000036e0 loc_36E0:
- 000036e0 goto loc_36E0;
- 00003a4e sub_3A4E:
- 00003a4e /* Low-level instruction of type 43 */
- 00003a50 Cond = 0x10;
- 00003a52 R1 = 0x6e000000;
- 00003a56 * (R1 + 0x10) = 0x10;
- 00003a58 Cond = 0;
- 00003a58 R0 = 0;
- 00003a5a * (R1 + 0x1c) = R0;
- 00003a5c * (R1 + 0x40) = R0;
- 00003a5e Cond = 1;
- 00003a60 * (R1 + 0x50) = 1;
- 00003a62 Cond = 0x11;
- 00003a64 * (R1 + 0x50) = 0x11;
- 00003a66 Cond = 0;
- 00003a68 * (R1 + 0x78) = 0;
- 00003a6a Cond = 10;
- 00003a6c sub_36E2(10, R1, R2, R3);
- 00003a70 Cond = 0;
- 00003a72 R1 = 0x6e0000a8;
- 00003a74 * R1 = 0;
- 00003a76 Cond = 10;
- 00003a78 sub_36E2(10, R1, R2, R3);
- 00003a7c Cond = 0;
- 00003a7e R1 = 0x6e000000;
- 00003a82 * (R1 + 0xd8) = 0;
- 00003a86 Cond = 10;
- 00003a88 sub_36E2(10, R1, R2, R3);
- 00003a8c Cond = 0;
- 00003a8e R1 = 0x6e0000a8;
- 00003a90 Cond = R1 + 0x60;
- 00003a90 R1 = R1 + 0x60;
- 00003a92 * R1 = 0;
- 00003a94 Cond = 10;
- 00003a96 sub_36E2(10, R1, R2, R3);
- 00003a9a Cond = 0;
- 00003a9c R1 = 0x6e000000;
- 00003aa0 * (R1 + 0x138) = 0;
- 00003aa4 Cond = 10;
- 00003aa6 sub_36E2(10, R1, R2, R3);
- 00003aaa Cond = 0;
- 00003aac R1 = 0x6e0000a8;
- 00003aae Cond = R1 + 0xc0;
- 00003aae R1 = R1 + 0xc0;
- 00003ab0 * R1 = 0;
- 00003ab2 Cond = 10;
- 00003ab4 sub_36E2(10, R1, R2, R3);
- 00003ab8 Cond = 0;
- 00003aba R1 = 0x6e000000;
- 00003abe * (R1 + 0x198) = 0;
- 00003ac2 Cond = 10;
- 00003ac4 sub_36E2(10, R1, R2, R3);
- 00003ac8 Cond = 0;
- 00003aca R1 = 0x6e000000;
- 00003ace * (R1 + 0x1c8) = 0;
- 00003ad2 Cond = 10;
- 00003ad4 sub_36E2(10, R1, R2, R3);
- 00003adc R1 = 0x6e000000;
- 00003ae0 * (R1 + 0x60) = 0x1800;
- 00003ae2 R0 = 0x141400;
- 00003ae4 * (R1 + 0x64) = R0;
- 00003ae6 * (R1 + 0x68) = R0;
- 00003aea * (R1 + 0x6c) = 0xf010f01;
- 00003aee * (R1 + 0x70) = 0x10c1414;
- 00003af4 * (R1 + 0x74) = 0xa80;
- 00003af6 Cond = 0x50;
- 00003af8 * (R1 + 0x78) = 0x50;
- 00003afa Cond = 10;
- 00003afc sub_36E2(10, R1, R2, R3);
- 00003b04 goto loc_3B58;
- 00003bce sub_3BCE:
- 00003bce /* Low-level instruction of type 43 */
- 00003bd4 loc_3BD4:
- 00003bd8 loc_3BD8:
- 00003bd8 Cond = 0;
- 00003bd8 R0 = 0;
- 00003bda var_1C = R0;
- 00003bdc loc_3BDC:
- 00003bdc Cond = 0;
- 00003bde var_20 = R0;
- 00004398 sub_4398:
- 00004398 /* Low-level instruction of type 43 */
- 0000439c Cond = 0;
- 0000439e Cond = 0;
- 000043a0 Cond = 0;
- 000043a2 Cond = 0;
- 000043a4 Cond = 0;
- 000043a6 Cond = 0;
- 000043a8 Cond = R0 - 1;
- 000043aa if (Cond != 0) goto loc_43BA;
- 000043ae R4 = 0x48004a00;
- 000043b0 Cond = R4 + 0x10;
- 000043b2 R5 = 0x48002180;
- 000043b4 Cond = R5 - 4;
- 000043b6 Cond = 13;
- 000043b8 goto loc_43C8;
- 000043ba loc_43BA:
- 000043bc R4 = 0x48005000;
- 000043be Cond = R4 + 0x10;
- 000043c0 R5 = 0x48002180;
- 000043c2 Cond = R5 + 0x1c;
- 000043c2 R5 = R5 + 0x1c;
- 000043c4 Cond = R5 + 4;
- 000043c6 Cond = 11;
- 000043f2 sub_43F2:
- 000043f2 /* Low-level instruction of type 43 */
- 000043f6 Cond = 0x32;
- 000043f6 R2 = 0x32;
- 000043f8 Cond = 0;
- 000043fa Cond = R0 - 1;
- 000043fc if (Cond != 0) goto loc_4402;
- 000043fe R3 = 0x4806a000;
- 00004400 goto loc_4404;
- 00004402 loc_4402:
- 00004402 R3 = 0x49020000;
- 00004404 loc_4404:
- 00004404 Cond = 2;
- 00004406 * (R3 + 0x54) = 2;
- 00004408 /* Low-level instruction of type 2 */
- 0000440a loc_440A:
- 0000440c Cond = * (R3 + 0x58) & 1;
- 00004410 if (Cond == 0) goto loc_441A;
- 00004412 Cond = R2;
- 00004414 R2 = R2 - 1;
- 00004418 if (Cond != 0) goto loc_440A;
- 0000441a loc_441A:
- 0000441a /* Low-level instruction of type 282 */
- 0000441c Cond = 0x80;
- 0000441e * (R3 + 12) = 0x80;
- 00004420 Cond = 0x1a;
- 00004422 * R3 = 0x1a;
- 00004424 Cond = 0;
- 00004426 * (R3 + 4) = 0;
- 00004428 Cond = 3;
- 0000442a * (R3 + 12) = 3;
- 0000442c Cond = 0;
- 0000442e * (R3 + 0x20) = 0;
- 00004430 Cond = 1;
- 00004432 locret_4432:
- 00004432 /* Low-level instruction of type 42 */
- 00004434 loc_4434:
- 00004434 Cond = 0;
- 00004436 goto locret_4432;
- 00004438 sub_4438:
- 00004438 /* Low-level instruction of type 43 */
- 0000443c R4 = R0;
- 00004444 R5 = sub_BE10(R4, R1, R2, R3);
- 00004446 R6 = 0x9c40;
- 0000444a Cond = 0;
- 0000444a R7 = 0;
- 0000444c goto loc_447C;
- 0000444e loc_444E:
- 0000444e /* Low-level instruction of type 2 */
- 00004450 loc_4450:
- 00004454 /* Low-level instruction of type 282 */
- 00004456 Cond = R6;
- 00004458 R6 = R6 - 1;
- 0000445c if (Cond != 0) goto loc_4450;
- 0000445e loc_445E:
- 00004462 * 0x49020000 = * (R4 + R7);
- 00004464 /* Low-level instruction of type 2 */
- 00004466 loc_4466:
- 0000446a /* Low-level instruction of type 282 */
- 0000446c Cond = R6;
- 0000446e R6 = R6 - 1;
- 00004472 if (Cond != 0) goto loc_4466;
- 00004474 loc_4474:
- 00004478 * 0x4806a000 = * (R4 + R7);
- 0000447a Cond = R7 + 1;
- 0000447a R7 = R7 + 1;
- 0000447c loc_447C:
- 0000447c Cond = R7 - R5;
- 0000447e if (Cond < 0) goto loc_444E;
- 00004486 sub_4486:
- 00004486 /* Low-level instruction of type 43 */
- 00004488 /* Low-level instruction of type 43 */
- 00004490 /* Low-level instruction of type 282 */
- 00004494 var_E0 = & var_C;
- 0000449c sub_BD84(& var_DC, var_10, var_E0, R3);
- 000044a2 sub_4438(& var_DC, R1, R2, R3);
- 000044a6 /* Low-level instruction of type 2 */
- 000044c8 sub_44C8:
- 000044c8 /* Low-level instruction of type 43 */
- 000044d4 * (0x48004000 + 0xa00) = * 0x48004a00 | 0x40000;
- 000044d8 R1 = 0x48004a00;
- 000044da Cond = R1 + 0x10;
- 000044e2 R2 = 0x48004a00;
- 000044e4 Cond = R2 + 0x10;
- 000044e6 * (R2 + 0x10) = * (R1 + 0x10) | 0x40000;
- 000044ee * 0x480021c8 = 0x1000100;
- 000044f4 * (0x48002000 + 0x1cc) = 0x1000108;
- 00004506 * (* 0x8700bb10 + 0x10) = * (* 0x8700bb10 + 0x10) | 2;
- 00004508 /* Low-level instruction of type 2 */
- 0000450a loc_450A:
- 00004514 Cond = (* (* 0x8700bb10 + 0x14) & 1) - 1;
- 00004516 if (Cond != 0) goto loc_450A;
- 00004518 Cond = 0;
- 00004518 R0 = 0;
- 0000451a goto loc_4636;
- 0000451c loc_451C:
- 00004538 * (* (0x8700bb10 + * (0x8700b70c + R0 + (R0 << 3))) + 0x10) = * (0x8700b70c + (R0 + (R0 << 3) << 2) + 4);
- 00004556 * (* (0x8700bb10 + * (0x8700b70c + R0 + (R0 << 3))) + 0x1c) = * (0x8700b70c + (R0 + (R0 << 3) << 2) + 8);
- 00004574 * (* (0x8700bb10 + * (0x8700b70c + R0 + (R0 << 3))) + 0x20) = * (0x8700b70c + (R0 + (R0 << 3) << 2) + 12);
- 00004592 * (* (0x8700bb10 + * (0x8700b70c + R0 + (R0 << 3))) + 0x24) = * (0x8700b70c + (R0 + (R0 << 3) << 2) + 0x10);
- 00004594 loc_4594:
- 000045b0 * (* (0x8700bb10 + * (0x8700b70c + R0 + (R0 << 3))) + 0x28) = * (0x8700b70c + (R0 + (R0 << 3) << 2) + 0x14);
- 000045ce * (* (0x8700bb10 + * (0x8700b70c + R0 + (R0 << 3))) + 0x7c) = * (0x8700b70c + (R0 + (R0 << 3) << 2) + 0x18);
- 000045e8 R1 = * (0x8700bb10 + * (0x8700b70c + R0 + (R0 << 3)));
- 000045ec Cond = R1 + 0x2c;
- 000045f2 R4 = 0x8700b70c;
- 000045fe * (R1 + 0x2c + * (R4 + (R0 + (R0 << 3) << 2) + 1) + (R3 << 2)) = * (0x8700b70c + (R0 + (R0 << 3) << 2) + 0x1c);
- 0000461a R1 = * (0x8700bb10 + * (R4 + R0 + (R0 << 3)));
- 0000461e Cond = R1 + 0x2c;
- 00004632 * (R1 + 0x2c + (* (R4 + (R0 + (R0 << 3) << 2) + 1) + (R3 << 2) << 2) + 8) = * (R4 + (R0 + (R0 << 3) << 2) + 0x20);
- 00004634 Cond = R0 + 1;
- 00004634 R0 = R0 + 1;
- 00004636 loc_4636:
- 00004636 Cond = R0;
- 00004638 if (Cond == 0) goto loc_451C;
- Running The Desquirr decompiler plugin
- -> Creating instruction list
- 000047EA: Analysis: Instruction Type 5
- 000047EA: Analysis: Instruction Type 6
- Enter OnPush
- 000047EA Unknown PUSH type
- ea=000047EA, itype="PUSH" (43), condition=E
- Operands[0]={type=o_idpspec1, dtyp=2, reg/phrase=R0/0, specval=00004070}
- 000047EC: Analysis: Instruction Type 6
- 000047EE: Analysis: Instruction Type 6
- 000047F2: Analysis: Instruction Type 6
- 000047F4: Analysis: Instruction Type 6
- 000047F4 setting conditional for MOVS
- 000047F6: Analysis: Instruction Type 6
- 000047FA: Analysis: Instruction Type 6
- 000047FA setting conditional for MOVS
- 000047FC: Analysis: Instruction Type 6
- 000047FC TryAnd
- 000047FC setting conditional for operator
- 000047FE: Analysis: Instruction Type 6
- 000047FE setting conditional for operator
- 00004800: Analysis: Instruction Type 6
- 00004802: Analysis: Instruction Type 6
- 00004806: Analysis: Instruction Type 6
- 00004808: Analysis: Instruction Type 6
- 0000480A: Analysis: Instruction Type 6
- 0000480E: Analysis: Instruction Type 6
- 0000480E setting conditional for operator
- 00004810: Analysis: Instruction Type 6
- 00004814: Analysis: Instruction Type 6
- 00004818: Analysis: Instruction Type 6
- 0000481A: Analysis: Instruction Type 6
- 0000481C: Analysis: Instruction Type 6
- 0000481C Unhandled instruction
- ea=0000481C, itype="NOP" (2), condition=E
- 0000481E: Analysis: Instruction Type 5
- 0000481E: Analysis: Instruction Type 6
- 00004820: Analysis: Instruction Type 6
- 00004824: Analysis: Instruction Type 6
- 00004826: Analysis: Instruction Type 6
- 00004826 setting conditional for MOVS
- 00004828: Analysis: Instruction Type 6
- 0000482C: Analysis: Instruction Type 6
- 0000482C setting conditional for MOVS
- 0000482E: Analysis: Instruction Type 6
- 0000482E TryAnd
- 0000482E setting conditional for operator
- 00004830: Analysis: Instruction Type 6
- 00004830 setting conditional for operator
- 00004832: Analysis: Instruction Type 6
- 00004832 setting conditional for MOVS
- 00004834: Analysis: Instruction Type 6
- 00004838: Analysis: Instruction Type 6
- 00004838 setting conditional for MOVS
- 0000483A: Analysis: Instruction Type 6
- 0000483A TryAnd
- 0000483A setting conditional for operator
- 0000483C: Analysis: Instruction Type 6
- 0000483E: Analysis: Instruction Type 6
- 00004840: Analysis: Instruction Type 6
- 00004840 Unhandled instruction
- ea=00004840, itype="NOP" (2), condition=E
- 00004842: Analysis: Instruction Type 5
- 00004842: Analysis: Instruction Type 6
- 00004844: Analysis: Instruction Type 6
- 00004848: Analysis: Instruction Type 6
- 0000484A: Analysis: Instruction Type 6
- 0000484E: Analysis: Instruction Type 6
- 00004850: Analysis: Instruction Type 6
- 00004852: Analysis: Instruction Type 6
- 00004856: Analysis: Instruction Type 6
- 00004856 setting conditional for operator
- 00004858: Analysis: Instruction Type 6
- 0000485C: Analysis: Instruction Type 6
- 00004860: Analysis: Instruction Type 6
- 00004862: Analysis: Instruction Type 6
- 00004864: Analysis: Instruction Type 6
- 00004866: Analysis: Instruction Type 6
- 0000486A: Analysis: Instruction Type 6
- 0000486C: Analysis: Instruction Type 6
- 00004870: Analysis: Instruction Type 6
- 00004872: Analysis: Instruction Type 6
- 00004876: Analysis: Instruction Type 6
- 00004878: Analysis: Instruction Type 6
- 00004878 Unknown PUSH type
- ea=00004878, itype="POP" (42), condition=E
- Operands[0]={type=o_idpspec1, dtyp=2, reg/phrase=R0/0, specval=00008070}
- -> Creating node list
- 00004842 Unable to find successor block with address 00004850
- -> Update uses and definitions
- -> Live register analysis
- -> Finding DU chains
- -> Data flow analysis
- Basic block list:
- 000047ea sub_47EA:
- 000047ea /* Low-level instruction of type 43 */
- 000047f2 R5 = * (* (0x8700bb10 + R0) + 0x18);
- 000047f4 Cond = 0;
- 000047f6 R6 = 0 + (R1 << 2);
- 000047fa Cond = 1;
- 000047fa R4 = 1;
- 000047fc Cond = R4 << R6;
- 000047fc R4 = R4 << R6;
- 000047fe Cond = R5 | R4;
- 00004806 * (* (0x8700bb10 + R0) + 0x18) = R5 | R4;
- 0000480a R4 = * (0x8700bb10 + R0);
- 0000480e Cond = R4 + 0x2c;
- 0000481a * (R4 + 0x2c + (R1 + (R1 << 2) << 2) + 12) = * R2;
- 0000481c /* Low-level instruction of type 2 */
- 0000481e loc_481E:
- 00004824 R4 = * (* (0x8700bb10 + R0) + 0x18);
- 00004826 Cond = 0;
- 00004828 R6 = 0 + (R1 << 2);
- 0000482c Cond = 1;
- 0000482c R5 = 1;
- 0000482e Cond = R5 << R6;
- 0000482e R5 = R5 << R6;
- 00004830 Cond = R4 & R5;
- 00004832 Cond = 0;
- 00004834 R6 = 0 + (R1 << 2);
- 00004838 Cond = 1;
- 00004838 R5 = 1;
- 0000483a Cond = R5 << R6;
- 0000483c Cond = (R4 & R5 << R6) - (R5 << R6);
- 0000483e if (Cond != 0) goto loc_481E;
- 00004840 /* Low-level instruction of type 2 */
- 00004842 loc_4842:
- 0000484a Cond = * (* (0x8700bb10 + R0) + 0x18) & 4;
- 0000484e if (Cond == 0) goto loc_4842;
- 00004ac6 sub_4AC6:
- 00004ac6 /* Low-level instruction of type 43 */
- 00004ac8 Cond = 0xd9;
- 00004ace /* Low-level instruction of type 283 */
- 00004ad0 Cond = 1;
- 00004ad0 R0 = 1;
- 00004ad2 R1 = 0x8700bb21;
- 00004ad4 * R1 = R0;
- 00004ad6 R0 = sub_69C2(R0, R1, R2, R3);
- 00004ada Cond = R0;
- 00004adc if (Cond != 0) goto loc_4AE6;
- 00004ade Cond = 3;
- 00004ae4 sub_69C2(3, R1, R2, R3);
- 00004aea sub_4AEA:
- 00004aea /* Low-level instruction of type 43 */
- 00004aee R4 = R0;
- 00004af0 R5 = R1;
- 00004af2 Cond = 0;
- 00004af2 R6 = 0;
- 00004af4 Cond = 0;
- 00004af6 Cond = R4 - R5;
- 00004af8 if (Cond > 0) goto loc_4B1E;
- 00004afe Cond = R4 - 0xffd;
- 00004b00 if (Cond >= 0) goto loc_4B06;
- 00004b02 Cond = 1;
- 00004b02 R0 = 1;
- 00004b04 goto loc_4B08;
- 00004b06 loc_4B06:
- 00004b06 Cond = 0;
- 00004b06 R0 = 0;
- 00004b08 loc_4B08:
- 00004b08 Cond = R0 - 1;
- 00004b0a if (Cond != 0) goto loc_4B1E;
- 00004b10 Cond = R5 - 0xffd;
- 00004b12 if (Cond >= 0) goto loc_4B18;
- 00004b14 Cond = 1;
- 00004b14 R0 = 1;
- 00004b16 goto loc_4B1A;
- 00004b18 loc_4B18:
- 00004b18 Cond = 0;
- 00004b18 R0 = 0;
- 00004b1a loc_4B1A:
- 00004b1a Cond = R0 - 1;
- 00004b1c if (Cond == 0) goto loc_4B20;
- 00004b1e loc_4B1E:
- 00004b1e Cond = 0x83;
- 00004b1e R6 = 0x83;
- 00004b20 loc_4B20:
- 00004b20 R7 = R4;
- 00004b22 goto loc_4B34;
- 00004b24 loc_4B24:
- 00004b26 sub_6B88(R7, R1, R2, R3);
- 00004b2a /* Low-level instruction of type 282 */
- 00004b2c Cond = 0xd7;
- 00004b2e goto loc_4B3C;
- 00004b30 loc_4B30:
- 00004b30 Cond = R7 + 1;
- 00004b32 /* Low-level instruction of type 255 */
- 00004b34 loc_4B34:
- 00004b34 Cond = R7 - R5;
- 00004b36 if (Cond > 0) goto loc_4B3C;
- 00004b38 Cond = R6;
- 00004b3a if (Cond == 0) goto loc_4B24;
- 00004b44 sub_4B44:
- 00004b44 /* Low-level instruction of type 43 */
- 00004b48 R4 = R0;
- 00004b4a R5 = R1;
- 00004b4c R6 = R2;
- 00004b50 R8 = arg_0;
- 00004b54 R9 = 0;
- 00004b58 Cond = 0;
- 00004b58 R0 = 0;
- 00004b5a var_2C = R0;
- 00004b5c var_30 = R0;
- 00004b5e /* Low-level instruction of type 282 */
- 00004b68 var_2C = * (* 0x8700bc78 + 4) + R6;
- 00004b6a loc_4B6A:
- 00004b6a R10 = R4;
- 00004b6c goto loc_4BDE;
- 00004b6e loc_4B6E:
- 00004b6e R11 = 0;
- 00004b72 goto loc_4BCC;
- 00004b74 loc_4B74:
- 00004b76 Cond = var_30 - R8;
- 00004b78 if (Cond < 0) goto loc_4B7C;
- 00004b7a goto loc_4BD6;
- 00004b7c loc_4B7C:
- 00004b84 sub_6BC2(R10, R11, R6, var_2C);
- 00004b88 /* Low-level instruction of type 282 */
- 00004b8a R9 = 0xd5;
- 00004b8e goto loc_4BD6;
- 00004b90 loc_4B90:
- 00004ba2 var_30 = * (* 0x8700bc78 + 4) + var_30;
- 00004ba4 /* Low-level instruction of type 282 */
- 00004bac R6 = R6 + * (* 0x8700bc78 + 4) + * (* 0x8700bc78 + 6);
- 00004bb8 var_30 = * (* 0x8700bc78 + 6) + var_30;
- 00004bc2 var_2C = * (* 0x8700bc78 + 4) + R6;
- 00004bc4 loc_4BC4:
- 00004bc8 R11 = R11 + 1 & 0xff;
- 00004bcc loc_4BCC:
- 00004bd2 Cond = * (* 0x8700bc78 + 12) - R11;
- 00004bd4 if (Cond > 0) goto loc_4B74;
- 00004bd6 loc_4BD6:
- 00004bda /* Low-level instruction of type 255 */
- 00004bde loc_4BDE:
- 00004bde Cond = R10 - R5;
- 00004be0 if (Cond > 0) goto loc_4BE8;
- 00004be2 Cond = R9;
- 00004be6 if (Cond == 0) goto loc_4B6E;
- 00004bf8 sub_4BF8:
- 00004bf8 /* Low-level instruction of type 43 */
- 00004bfa R1 = 0x1f400;
- 00004bfe Cond = 0;
- 00004c00 Cond = 0;
- 00004c02 Cond = 0x64;
- 00004c04 goto loc_4C28;
- 00004c06 loc_4C06:
- 00004c06 Cond = R1 - 1;
- 00004c06 R1 = R1 - 1;
- 00004c0c R4 = * (0x6e000000 + 0x54);
- 00004c0e R5 = 0x101;
- 00004c12 Cond = R4 & R5;
- 00004c14 Cond = (R4 & R5) - R5;
- 00004c16 if (Cond != 0) goto loc_4C1C;
- 00004c18 Cond = 1;
- 00004c1a goto loc_4C2C;
- 00004c1c loc_4C1C:
- 00004c1c Cond = 0;
- 00004c1c R2 = 0;
- 00004c1e goto loc_4C24;
- 00004c20 loc_4C20:
- 00004c20 Cond = R2 + 1;
- 00004c22 /* Low-level instruction of type 251 */
- 00004c24 loc_4C24:
- 00004c24 Cond = R2 - 0x64;
- 00004c26 if (Cond < 0) goto loc_4C20;
- 00004c28 loc_4C28:
- 00004c28 Cond = R1;
- 00004c2a if (Cond != 0) goto loc_4C06;
- 00004c30 sub_4C30:
- 00004c30 /* Low-level instruction of type 43 */
- 00004c36 * 0x8700bc74 = R0;
- 00004c38 /* Low-level instruction of type 282 */
- 00004c40 /* Low-level instruction of type 283 */
- 00004c42 /* Low-level instruction of type 2 */
- 00004c44 Cond = 1;
- 00004c44 R0 = 1;
- 00004c46 R1 = 0x6e0001f4;
- 00004c48 * R1 = R0;
- 00004c4a goto loc_4C60;
- 00004c4c loc_4C4C:
- 00004c50 R0 = * (* 0x8700bc78 + 7);
- 00004c52 Cond = R0 - 1;
- 00004c54 if (Cond != 0) goto loc_4C60;
- 00004c56 /* Low-level instruction of type 2 */
- 00004c58 Cond = 0x81;
- 00004c58 R0 = 0x81;
- 00004c5a R1 = 0x6e0001f4;
- 00004c5c * R1 = R0;
- 00004c5e /* Low-level instruction of type 2 */
- 00004c60 loc_4C60:
- 00004c60 sub_4BF8(R0, R1, R2, R3);
- 00004c64 /* Low-level instruction of type 2 */
- 00004c68 R1 = 0x6e0001f4;
- 00004c6a Cond = R1 + 8;
- 00004c6c * (R1 + 8) = 0x3fcff000;
- 00004c6e goto locret_4C7A;
- 00004c70 loc_4C70:
- 00004c70 /* Low-level instruction of type 2 */
- 00004c72 Cond = 0;
- 00004c76 * 0x6e0001f4 = 0;
- 00004c78 /* Low-level instruction of type 2 */
- 00004cb6 sub_4CB6:
- 00004cb6 /* Low-level instruction of type 43 */
- 00004cb8 R4 = R0;
- 00004cba Cond = 0;
- 00004cc0 R0 = * (* 0x8700bc78 + 0x18);
- 00004cc2 Cond = R4 >> R0;
- 00004cc4 /* Low-level instruction of type 2 */
- 00004cc6 /* Low-level instruction of type 251 */
- 00004ccc sub_4C9C(R0, R1, R2, R3);
- 00004cce /* Low-level instruction of type 283 */
- 00004cd0 goto loc_4D38;
- 00004cd2 loc_4CD2:
- 00004cd2 Cond = R4 >> 8;
- 00004cd4 /* Low-level instruction of type 251 */
- 00004cda sub_4C9C(R0, R1, R2, R3);
- 00004cdc /* Low-level instruction of type 283 */
- 00004cde goto loc_4D38;
- 00004ce0 loc_4CE0:
- 00004ce4 R0 = * (* 0x8700bc78 + 4);
- 00004ce6 Cond = R0 - 0x200;
- 00004cea if (Cond != 0) goto loc_4D12;
- 00004cec Cond = R4 >> 8;
- 00004cee /* Low-level instruction of type 251 */
- 00004cf4 sub_4C9C(R0, R1, R2, R3);
- 00004cf6 /* Low-level instruction of type 283 */
- 00004cf8 goto loc_4D38;
- 00004cfa loc_4CFA:
- 00004cfe R0 = * (* 0x8700bc78 + 10);
- 00004d00 Cond = R0 - 4;
- 00004d02 if (Cond < 0) goto loc_4D36;
- 00004d04 Cond = R4 >> 8;
- 00004d06 /* Low-level instruction of type 251 */
- 00004d0c sub_4C9C(R0, R1, R2, R3);
- 00004d0e /* Low-level instruction of type 283 */
- 00004d10 goto loc_4D38;
- 00004d12 loc_4D12:
- 00004d18 Cond = * (* 0x8700bc78 + 4) - 0x800;
- 00004d1c if (Cond != 0) goto loc_4D36;
- 00004d22 R0 = * (* 0x8700bc78 + 10);
- 00004d24 Cond = R0 - 5;
- 00004d26 if (Cond < 0) goto loc_4D36;
- 00004d28 Cond = R4 >> 8;
- 00004d2a /* Low-level instruction of type 251 */
- 00004d30 sub_4C9C(R0, R1, R2, R3);
- 00004d32 /* Low-level instruction of type 283 */
- 00004d34 goto loc_4D38;
- 00004d36 loc_4D36:
- 00004d36 /* Low-level instruction of type 2 */
- 00004d3e sub_4D3E:
- 00004d3e /* Low-level instruction of type 43 */
- 00004d42 Cond = 0;
- 00004d44 /* Low-level instruction of type 2 */
- 00004d46 /* Low-level instruction of type 251 */
- 00004d4c sub_4C9C(R0, R1, R2, R3);
- 00004d4e /* Low-level instruction of type 283 */
- 00004d50 goto loc_4D64;
- 00004d52 loc_4D52:
- 00004d52 Cond = R4 >> 8;
- 00004d5c sub_4C9C(R4 >> 8 & 7, R1, R2, R3);
- 00004d5e /* Low-level instruction of type 283 */
- 00004d60 goto loc_4D64;
- 00004d62 loc_4D62:
- 00004d62 /* Low-level instruction of type 2 */
- 00004d6a sub_4D6A:
- 00004d6a /* Low-level instruction of type 43 */
- 00004d6e Cond = 0;
- 00004d70 /* Low-level instruction of type 2 */
- 00004d76 R0 = * (* 0x8700bc78 + 4);
- 00004d78 Cond = R0 - 0x800;
- 00004d7c if (Cond != 0) goto loc_4DD0;
- 00004d7e /* Low-level instruction of type 251 */
- 00004d84 sub_4C9C(R0, R1, R2, R3);
- 00004d86 /* Low-level instruction of type 283 */
- 00004d88 goto loc_4E18;
- 00004d8a loc_4D8A:
- 00004d8a Cond = R4 >> 8;
- 00004d94 sub_4C9C(R4 >> 8 & 7, R1, R2, R3);
- 00004d96 /* Low-level instruction of type 283 */
- 00004d98 goto loc_4E18;
- 00004d9a loc_4D9A:
- 00004d9a Cond = R4 >> 3;
- 00004d9c /* Low-level instruction of type 251 */
- 00004da2 sub_4C9C(R0, R1, R2, R3);
- 00004da4 /* Low-level instruction of type 283 */
- 00004da6 goto loc_4E18;
- 00004da8 loc_4DA8:
- 00004da8 Cond = R4 >> 8;
- 00004daa /* Low-level instruction of type 251 */
- 00004db0 sub_4C9C(R0, R1, R2, R3);
- 00004db2 /* Low-level instruction of type 283 */
- 00004db4 goto loc_4E18;
- 00004db6 loc_4DB6:
- 00004dba R0 = * (* 0x8700bc78 + 10);
- 00004dbc Cond = R0 - 5;
- 00004dbe if (Cond < 0) goto loc_4E16;
- 00004dc0 Cond = R4 >> 8;
- 00004dc2 /* Low-level instruction of type 251 */
- 00004dca Cond = sub_4C9C(R0, R1, R2, R3);
- 00004dcc if (Cond != 0) goto loc_4E16;
- 00004dce goto loc_4E18;
- 00004dd0 loc_4DD0:
- 00004dd0 /* Low-level instruction of type 251 */
- 00004dd6 sub_4C9C(R0, R1, R2, R3);
- 00004dd8 /* Low-level instruction of type 283 */
- 00004dda goto loc_4E18;
- 00004ddc loc_4DDC:
- 00004de0 R0 = * (* 0x8700bc78 + 0x18);
- 00004de2 Cond = R4 >> R0;
- 00004de4 /* Low-level instruction of type 251 */
- 00004dea sub_4C9C(R0, R1, R2, R3);
- 00004dec /* Low-level instruction of type 283 */
- 00004dee goto loc_4E18;
- 00004df0 loc_4DF0:
- 00004df0 Cond = R4 >> 8;
- 00004df2 /* Low-level instruction of type 251 */
- 00004df8 sub_4C9C(R0, R1, R2, R3);
- 00004dfa /* Low-level instruction of type 283 */
- 00004dfc goto loc_4E18;
- 00004dfe loc_4DFE:
- 00004e02 R0 = * (* 0x8700bc78 + 10);
- 00004e04 Cond = R0 - 4;
- 00004e06 if (Cond < 0) goto loc_4E16;
- 00004e08 Cond = R4 >> 8;
- 00004e0a /* Low-level instruction of type 251 */
- 00004e10 sub_4C9C(R0, R1, R2, R3);
- 00004e12 /* Low-level instruction of type 283 */
- 00004e14 goto loc_4E18;
- 00004e16 loc_4E16:
- 00004e16 /* Low-level instruction of type 2 */
- 00004e2a sub_4E2A:
- 00004e2a /* Low-level instruction of type 43 */
- 00004e2c Cond = 1;
- 00004e2e Cond = 0x70;
- 00004e30 sub_4C84(0x70, R1, R2, R3);
- 00004e34 /* Low-level instruction of type 2 */
- 00004e36 loc_4E36:
- 00004e36 R0 = 0x6e00007c;
- 00004e38 Cond = R0 + 8;
- 00004e3a R4 = * (R0 + 8);
- 00004e40 Cond = (R4 & 0x40) - 0x40;
- 00004e42 if (Cond != 0) goto loc_4E36;
- 00004e44 Cond = R4 - 0xe0;
- 00004e46 if (Cond == 0) goto loc_4E4A;
- 00004e48 Cond = 0;
- 00004e4e sub_4E4E:
- 00004e4e /* Low-level instruction of type 43 */
- 00004e50 R4 = R0;
- 00004e52 R5 = R1;
- 00004e54 Cond = 0;
- 00004e56 /* Low-level instruction of type 282 */
- 00004e58 /* Low-level instruction of type 282 */
- 00004e5a /* Low-level instruction of type 2 */
- 00004e5c Cond = 0x90;
- 00004e64 Cond = sub_4C84(0x90, R1, R2, R3) - 1;
- 00004e66 if (Cond == 0) goto loc_4E6A;
- 00004e68 goto loc_4EB0;
- 00004e6a loc_4E6A:
- 00004e6a Cond = 0;
- 00004e72 Cond = sub_4C9C(0, R1, R2, R3) - 1;
- 00004e74 if (Cond == 0) goto loc_4E78;
- 00004e76 goto loc_4EB0;
- 00004e78 loc_4E78:
- 00004e78 R0 = 0x6e00007c;
- 00004e7a Cond = R0 + 8;
- 00004e7e var_14 = * (R0 + 8);
- 00004e8a var_13 = * (0x6e000000 + 0x84);
- 00004e8e R0 = 0x6e00007c;
- 00004e90 Cond = R0 + 8;
- 00004e94 var_12 = * (R0 + 8);
- 00004e98 R0 = 0x6e00007c;
- 00004e9a Cond = R0 + 8;
- 00004e9e var_11 = * (R0 + 8);
- 00004ea6 * R4 = var_14;
- 00004eac * R5 = var_13;
- 00004eae /* Low-level instruction of type 2 */
- 00004eb0 loc_4EB0:
- 00004eb0 /* Low-level instruction of type 2 */
- 00004ebc sub_4EBC:
- 00004ebc /* Low-level instruction of type 43 */
- 00004ebe Cond = 0;
- 00004ec2 * 0x8700bc78 = 0;
- 00004ecc sub_4E4E(& var_18, SP, R2, R3);
- 00004ece /* Low-level instruction of type 2 */
- 00004ed8 * (0x6e000000 + 0x60) = 0x1800;
- 00004eda /* Low-level instruction of type 2 */
- 00004ee0 Cond = var_18 - 0x2c;
- 00004ee2 if (Cond == 0) goto loc_4EEC;
- 00004ee8 Cond = var_18 - 0x98;
- 00004eea if (Cond != 0) goto loc_4F1C;
- 00004eec loc_4EEC:
- 00004eec /* Low-level instruction of type 2 */
- 00004ef4 * (0x6e000000 + 0x64) = 0x70900;
- 00004ef6 /* Low-level instruction of type 2 */
- 00004ef8 /* Low-level instruction of type 2 */
- 00004f00 * (0x6e000000 + 0x68) = 0x70900;
- 00004f02 /* Low-level instruction of type 2 */
- 00004f04 /* Low-level instruction of type 2 */
- 00004f0c * (0x6e000000 + 0x6c) = 0x5020702;
- 00004f0e /* Low-level instruction of type 2 */
- 00004f10 /* Low-level instruction of type 2 */
- 00004f18 * (0x6e000000 + 0x70) = 0x1070709;
- 00004f1a goto loc_4F4C;
- 00004f1c loc_4F1C:
- 00004f1c /* Low-level instruction of type 2 */
- 00004f24 * (0x6e000000 + 0x64) = 0xa0900;
- 00004f26 /* Low-level instruction of type 2 */
- 00004f28 /* Low-level instruction of type 2 */
- 00004f30 * (0x6e000000 + 0x68) = 0xa0900;
- 00004f32 /* Low-level instruction of type 2 */
- 00004f34 /* Low-level instruction of type 2 */
- 00004f3c * (0x6e000000 + 0x6c) = 0x7020702;
- 00004f3e /* Low-level instruction of type 2 */
- 00004f40 /* Low-level instruction of type 2 */
- 00004f48 * (0x6e000000 + 0x70) = 0x1080a09;
- 00004f4a /* Low-level instruction of type 2 */
- 00004f4c loc_4F4C:
- 00004f4c /* Low-level instruction of type 2 */
- 00004f54 * (0x6e000000 + 0x74) = 0x85030004;
- 00004f56 /* Low-level instruction of type 2 */
- 00004f58 /* Low-level instruction of type 2 */
- 00004f5a Cond = 0x50;
- 00004f60 * (0x6e000000 + 0x78) = 0x50;
- 00004f62 /* Low-level instruction of type 2 */
- 00004f64 Cond = 0;
- 00004f64 R7 = 0;
- 00004f66 goto loc_4FC2;
- 00004f68 loc_4F68:
- 00004f68 Cond = 0;
- 00004f68 R6 = 0;
- 00004f6a goto loc_4FA6;
- 00004f6c loc_4F6C:
- 00004f7a Cond = * (0x8700bb24 + (R6 << 3) - R6) - var_18;
- 00004f7c if (Cond != 0) goto loc_4FA2;
- 00004f8e Cond = * (0x8700bb24 + ((R6 << 3) - R6 << 2) + 1) - var_1C;
- 00004f90 if (Cond != 0) goto loc_4FA2;
- 00004f9e * 0x8700bc78 = 0x8700bb24 + ((R6 << 3) - R6 << 2);
- 00004fa0 goto loc_4FAA;
- 00004fa2 loc_4FA2:
- 00004fa2 Cond = R6 + 1;
- 00004fa4 /* Low-level instruction of type 255 */
- 00004fa6 loc_4FA6:
- 00004fa6 Cond = R6 - 12;
- 00004fa8 if (Cond < 0) goto loc_4F6C;
- 00004faa loc_4FAA:
- 00004faa /* Low-level instruction of type 2 */
- 00004fb0 /* Low-level instruction of type 283 */
- 00004fba var_1C = var_18;
- 00004fbc var_18 = var_1C;
- 00004fbe loc_4FBE:
- 00004fbe Cond = R7 + 1;
- 00004fc0 /* Low-level instruction of type 251 */
- 00004fc2 loc_4FC2:
- 00004fc6 /* Low-level instruction of type 283 */
- 00004fc8 Cond = R7 - 2;
- 00004fca if (Cond < 0) goto loc_4F68;
- 00004fcc loc_4FCC:
- 00004fd0 /* Low-level instruction of type 282 */
- 00004fd2 Cond = 1;
- 00004fd4 goto loc_4FD8;
- 00004fd6 loc_4FD6:
- 00004fd6 Cond = 0;
- 00004fdc sub_4FDC:
- 00004fdc /* Low-level instruction of type 43 */
- 00004fde Cond = 0;
- 00004fe0 /* Low-level instruction of type 2 */
- 00004fe6 /* Low-level instruction of type 283 */
- 00004fee Cond = sub_4EBC(* 0x8700bc78, R1, R2, R3) - 1;
- 00004ff0 if (Cond == 0) goto loc_4FF4;
- 00004ff2 goto loc_5002;
- 00004ff4 loc_4FF4:
- 00004ff4 Cond = 1;
- 00004ff6 /* Low-level instruction of type 282 */
- 00004ff8 Cond = 1;
- 00004ffe * (* 0x8700bc78 + 14) = 1;
- 00005000 loc_5000:
- 00005000 /* Low-level instruction of type 2 */
- 0000500e sub_500E:
- 0000501c R2 = * R0 | * (R0 + 1) << 0x10 | (* (R0 + 2) & 0xf0) << 0x14;
- 00005022 R3 = * (R0 + 2) & 15;
- 00005026 R1 = R2 | R3 << 8;
- 0000502a /* Low-level instruction of type 271 */
- 0000502e Cond = R2 << 7;
- 0000502e R2 = R2 << 7;
- 00005030 goto loc_5068;
- 00005032 Cond = R0;
- 00005032 R0 = R0;
- 00005068 loc_5068:
- 00005068 /* Low-level instruction of type 271 */
- 00005070 /* Low-level instruction of type 271 */
- 00005078 /* Low-level instruction of type 271 */
- 00005080 /* Low-level instruction of type 271 */
- 00005088 /* Low-level instruction of type 271 */
- 00005090 /* Low-level instruction of type 271 */
- 00005094 R2 = R2 | R3 << 6 | R3 << 5 | R3 << 4 | R3 << 3 | R3 << 2 | R3 << 1;
- 00005098 /* Low-level instruction of type 271 */
- 0000509c Cond = R2 | R3;
- 0000509e R2 = ~ (R2 | R3);
- 000050a0 * R0 = R2;
- 000050a2 /* Low-level instruction of type 271 */
- 000050a6 Cond = R2 << 7;
- 000050a6 R2 = R2 << 7;
- 000050a8 /* Low-level instruction of type 271 */
- 000050ac R3 = R2 | R3 << 6;
- 000050b0 /* Low-level instruction of type 271 */
- 000050b8 /* Low-level instruction of type 271 */
- 000050c0 /* Low-level instruction of type 271 */
- 000050c8 /* Low-level instruction of type 271 */
- 000050d0 /* Low-level instruction of type 271 */
- 000050d4 R2 = R2 | R3 << 5 | R3 << 4 | R3 << 3 | R3 << 2 | R3 << 1;
- 000050d8 /* Low-level instruction of type 271 */
- 000050dc Cond = R2 | R3;
- 000050de R2 = ~ (R2 | R3);
- 000050e0 * (R0 + 1) = R2;
- 000050e2 /* Low-level instruction of type 271 */
- 000050e6 Cond = R2 << 7;
- 000050e8 /* Low-level instruction of type 271 */
- 000050f0 /* Low-level instruction of type 271 */
- 000050f8 /* Low-level instruction of type 271 */
- 00005100 /* Low-level instruction of type 271 */
- 00005110 Cond = R1 >> 0x1b;
- 00005110 R3 = R1 >> 0x1b;
- 00005112 R2 = R2 << 7 | (R1 & 1) << 6 | (R1 & 1) << 5 | (R1 & 1) << 4 | (R1 & 1) << 3 | (R1 & 1) << 2 | R3 << 1;
- 00005116 /* Low-level instruction of type 271 */
- 0000511a Cond = R2 | R3;
- 0000511e * (R0 + 2) = ~ (R2 | R3);
- 00005120 return R0;
- 00005122 sub_5122:
- 00005122 /* Low-level instruction of type 43 */
- 00005126 SP = SP - 0x48;
- 00005128 R4 = R0;
- 0000512a R5 = R1;
- 0000512c R6 = R2;
- 0000512e R8 = 0;
- 00005136 R0 = * R4;
- 00005138 R1 = * (R4 + 1);
- 0000513a Cond = R0 & R1;
- 0000513e R1 = * (R4 + 2) & 1;
- 00005142 R11 = R0 & R1 & R1;
- 00005148 sub_500E(R4, R1, R2, R3);
- 0000514e sub_500E(R5, R1, R2, R3);
- 00005152 Cond = 0;
- 00005152 R7 = 0;
- 00005154 goto loc_5164;
- 00005156 loc_5156:
- 0000515a * (R4 + R7) = ~ * (R4 + R7);
- 00005160 * (R5 + R7) = ~ * (R5 + R7);
- 00005162 Cond = R7 + 1;
- 00005162 R7 = R7 + 1;
- 00005164 loc_5164:
- 00005164 Cond = R7 - 2;
- 00005166 if (Cond <= 0) goto loc_5156;
- 00005168 Cond = 0;
- 00005168 R7 = 0;
- 0000516a goto loc_517E;
- 0000516c loc_516C:
- 00005174 * (& var_2C + R7) = * R4 & 1;
- 00005176 R0 = * R4;
- 00005178 Cond = R0 >> 1;
- 0000517a * R4 = R0 >> 1;
- 0000517c Cond = R7 + 1;
- 0000517c R7 = R7 + 1;
- 0000517e loc_517E:
- 0000517e Cond = R7 - 8;
- 00005180 if (Cond < 0) goto loc_516C;
- 00005182 Cond = 0;
- 00005182 R7 = 0;
- 00005184 goto loc_5198;
- 00005186 loc_5186:
- 0000518e * (& var_34 + R7) = * (R4 + 1) & 1;
- 00005190 R0 = * (R4 + 1);
- 00005192 Cond = R0 >> 1;
- 00005194 * (R4 + 1) = R0 >> 1;
- 00005196 Cond = R7 + 1;
- 00005196 R7 = R7 + 1;
- 00005198 loc_5198:
- 00005198 Cond = R7 - 8;
- 0000519a if (Cond < 0) goto loc_5186;
- 0000519c Cond = 0;
- 0000519c R7 = 0;
- 0000519e goto loc_51B2;
- 000051a0 loc_51A0:
- 000051a8 * (& var_3C + R7) = * (R4 + 2) & 1;
- 000051aa R0 = * (R4 + 2);
- 000051ac Cond = R0 >> 1;
- 000051ae * (R4 + 2) = R0 >> 1;
- 000051b0 Cond = R7 + 1;
- 000051b0 R7 = R7 + 1;
- 000051b2 loc_51B2:
- 000051b2 Cond = R7 - 8;
- 000051b4 if (Cond < 0) goto loc_51A0;
- 000051b6 Cond = 0;
- 000051b6 R7 = 0;
- 000051b8 goto loc_51CC;
- 000051ba loc_51BA:
- 000051c2 * (& var_44 + R7) = * R5 & 1;
- 000051c4 R0 = * R5;
- 000051c6 Cond = R0 >> 1;
- 000051c8 * R5 = R0 >> 1;
- 000051ca Cond = R7 + 1;
- 000051ca R7 = R7 + 1;
- 000051cc loc_51CC:
- 000051cc Cond = R7 - 8;
- 000051ce if (Cond < 0) goto loc_51BA;
- 000051d0 Cond = 0;
- 000051d0 R7 = 0;
- 000051d2 goto loc_51E6;
- 000051d4 loc_51D4:
- 000051dc * (& var_4C + R7) = * (R5 + 1) & 1;
- 000051de R0 = * (R5 + 1);
- 000051e0 Cond = R0 >> 1;
- 000051e2 * (R5 + 1) = R0 >> 1;
- 000051e4 Cond = R7 + 1;
- 000051e4 R7 = R7 + 1;
- 000051e6 loc_51E6:
- 000051e6 Cond = R7 - 8;
- 000051e8 if (Cond < 0) goto loc_51D4;
- 000051ea Cond = 0;
- 000051ea R7 = 0;
- 000051ec goto loc_5200;
- 000051ee loc_51EE:
- 000051f6 * (& var_54 + R7) = * (R5 + 2) & 1;
- 000051f8 R0 = * (R5 + 2);
- 000051fa Cond = R0 >> 1;
- 000051fc * (R5 + 2) = R0 >> 1;
- 000051fe Cond = R7 + 1;
- 000051fe R7 = R7 + 1;
- 00005200 loc_5200:
- 00005200 Cond = R7 - 8;
- 00005202 if (Cond < 0) goto loc_51EE;
- 00005204 Cond = 0;
- 00005204 R7 = 0;
- 00005206 goto loc_521A;
- 00005208 loc_5208:
- 0000520a Cond = R7 + 2;
- 0000520a R0 = R7 + 2;
- 0000520c R1 = * (& var_3C + R0);
- 00005210 R0 = * (& var_54 + R0);
- 00005212 Cond = R1 ^ R0;
- 00005216 * (SP + R7) = R1 ^ R0;
- 00005218 Cond = R7 + 1;
- 00005218 R7 = R7 + 1;
- 0000521a loc_521A:
- 0000521a Cond = R7 - 6;
- 0000521c if (Cond < 0) goto loc_5208;
- 0000521e Cond = 0;
- 0000521e R7 = 0;
- 00005220 goto loc_5234;
- 00005222 loc_5222:
- 00005224 R1 = * (& var_2C + R7);
- 00005228 R0 = * (& var_44 + R7);
- 0000522a Cond = R1 ^ R0;
- 0000522e Cond = R7 + 6;
- 00005230 * (SP + R7 + 6) = R1 ^ R0;
- 00005232 Cond = R7 + 1;
- 00005232 R7 = R7 + 1;
- 00005234 loc_5234:
- 00005234 Cond = R7 - 8;
- 00005236 if (Cond < 0) goto loc_5222;
- 00005238 Cond = 0;
- 00005238 R7 = 0;
- 0000523a goto loc_5250;
- 0000523c loc_523C:
- 0000523e R1 = * (& var_34 + R7);
- 00005242 R0 = * (& var_4C + R7);
- 00005244 Cond = R1 ^ R0;
- 0000524c * (SP + R7 + 14) = R1 ^ R0;
- 0000524e Cond = R7 + 1;
- 0000524e R7 = R7 + 1;
- 00005250 loc_5250:
- 00005250 Cond = R7 - 8;
- 00005252 if (Cond < 0) goto loc_523C;
- 00005254 R0 = var_3C;
- 00005258 R1 = var_54;
- 0000525c Cond = R0 ^ R1;
- 0000525e var_56 = R0 ^ R1;
- 00005262 R0 = var_3B;
- 00005266 R1 = var_53;
- 0000526a Cond = R0 ^ R1;
- 0000526c var_55 = R0 ^ R1;
- 00005270 Cond = 0;
- 00005270 R7 = 0;
- 00005272 goto loc_5280;
- 00005274 loc_5274:
- 0000527a R8 = * (SP + R7) + R8 & 0xff;
- 0000527e Cond = R7 + 1;
- 0000527e R7 = R7 + 1;
- 00005280 loc_5280:
- 00005280 Cond = R7 - 0x18;
- 00005282 if (Cond < 0) goto loc_5274;
- 00005284 Cond = R8;
- 00005288 if (Cond == 0) goto loc_5298;
- 0000528a Cond = R8 - 1;
- 0000528e if (Cond == 0) goto loc_52A0;
- 00005290 Cond = R8 - 12;
- 00005294 if (Cond != 0) goto loc_5314;
- 00005296 goto loc_52A4;
- 00005298 loc_5298:
- 00005298 Cond = 1;
- 0000529a loc_529A:
- 0000529c /* Low-level instruction of type 42 */
- 000052a0 loc_52A0:
- 000052a0 Cond = 0;
- 000052a2 goto loc_529A;
- 000052a4 loc_52A4:
- 000052a4 R0 = var_55;
- 000052a8 Cond = R0 << 8;
- 000052e6 R10 = (R0 << 8) + (var_57 << 7) + (var_59 << 6) + (var_5B << 5) + (var_5D << 4) + (var_5F << 3) + (var_61 << 2) + (var_63 << 1) + var_65;
- 000052ea R0 = var_67;
- 000052ee Cond = R0 << 2;
- 00005300 R1 = * (R6 + R10);
- 00005304 Cond = 1;
- 00005306 R0 = 1 << (R0 << 2) + (var_69 << 1) + var_6B;
- 0000530a Cond = R1 ^ R0;
- 0000530c * (R6 + R10) = R1 ^ R0;
- 00005310 Cond = 1;
- 00005312 goto loc_529A;
- 00005314 loc_5314:
- 00005314 Cond = R11;
- 00005318 if (Cond == 0) goto loc_532A;
- 0000531c /* Low-level instruction of type 283 */
- 00005320 /* Low-level instruction of type 283 */
- 00005324 /* Low-level instruction of type 283 */
- 00005326 Cond = 1;
- 00005328 goto loc_529A;
- 0000532a loc_532A:
- 0000532a Cond = 0;
- 0000532c goto loc_529A;
- 0000532e sub_532E:
- 0000532e /* Low-level instruction of type 43 */
- 00005332 R4 = R0;
- 00005334 R5 = R1;
- 00005336 R6 = R2;
- 00005338 Cond = 1;
- 0000533a Cond = 4;
- 0000533c var_28 = 4;
- 0000533e R11 = 0;
- 00005342 goto loc_538A;
- 00005344 loc_5344:
- 00005358 R10 = * (R6 + 2) ^ * (R5 + 2);
- 0000535c R0 = * R6 ^ * R5 | * (R6 + 1) ^ * (R5 + 1);
- 00005360 Cond = R0 | R10;
- 00005364 if (Cond == 0) goto loc_537A;
- 00005370 R7 = sub_5122(R5, R6, R4, R3);
- 00005372 /* Low-level instruction of type 283 */
- 00005376 locret_5376:
- 00005376 /* Low-level instruction of type 42 */
- 0000537a loc_537A:
- 0000537a Cond = R5 + 3;
- 0000537a R5 = R5 + 3;
- 0000537c Cond = R6 + 3;
- 0000537c R6 = R6 + 3;
- 0000537e R4 = R4 + 0x200;
- 00005386 R11 = R11 + 1 & 0xff;
- 0000538a loc_538A:
- 0000538c Cond = R11 - var_28;
- 0000538e if (Cond < 0) goto loc_5344;
- 00005390 Cond = 1;
- 00005392 goto locret_5376;
- 00005394 sub_5394:
- 00005394 /* Low-level instruction of type 43 */
- 0000539a R5 = R1;
- 0000539c R7 = R0;
- 000053a4 /* Low-level instruction of type 282 */
- 000053a6 Cond = R5 >> 2;
- 000053a6 R6 = R5 >> 2;
- 000053a8 goto loc_53DE;
- 000053aa loc_53AA:
- 000053ac R0 = * 0x6e000084;
- 000053ae var_20 = R0;
- 000053b6 Cond = sub_4BF8(R0, R1, R2, R3) - 1;
- 000053ba if (Cond == 0) goto loc_53BE;
- 000053bc goto loc_53E2;
- 000053be loc_53BE:
- 000053be R8 = 0;
- 000053c2 goto loc_53D6;
- 000053c4 loc_53C4:
- 000053ca * R7 = * (SP + R8);
- 000053cc Cond = R7 + 1;
- 000053cc R7 = R7 + 1;
- 000053d2 R8 = R8 + 1 & 0xff;
- 000053d6 loc_53D6:
- 000053d6 Cond = R8 - 4;
- 000053da if (Cond < 0) goto loc_53C4;
- 000053dc Cond = R6 - 1;
- 000053dc R6 = R6 - 1;
- 000053de loc_53DE:
- 000053de Cond = R6;
- 000053e0 if (Cond != 0) goto loc_53AA;
- 000053e2 loc_53E2:
- 000053e2 /* Low-level instruction of type 2 */
- 0000540e sub_540E:
- 0000540e /* Low-level instruction of type 43 */
- 00005418 R6 = R2;
- 0000541a R7 = R3;
- 00005426 R0 = * (* 0x8700bc78 + 0x15) << R0;
- 00005430 R1 = * (* 0x8700bc78 + 0x14) << R1;
- 00005434 R9 = R0 + R1;
- 00005438 Cond = R6;
- 0000543a if (Cond == 0) goto loc_5520;
- 0000543c /* Low-level instruction of type 2 */
- 0000543e Cond = 1;
- 00005440 sub_4C30(1, R1, R2, R3);
- 00005448 Cond = * 0x8700bc74 - 1;
- 0000544a if (Cond != 0) goto loc_5458;
- 0000544c /* Low-level instruction of type 2 */
- 00005452 R1 = 0x6e0001f8;
- 00005454 * R1 = 0x101;
- 00005456 /* Low-level instruction of type 2 */
- 00005458 loc_5458:
- 00005458 Cond = 0;
- 0000545a R0 = sub_4C84(0, R1, R2, R3);
- 00005460 Cond = R0 - 1;
- 00005464 if (Cond == 0) goto loc_5468;
- 00005466 goto loc_55C6;
- 00005468 loc_5468:
- 0000546a R0 = sub_4D6A(R9, R1, R2, R3);
- 00005470 Cond = R0 - 1;
- 00005474 if (Cond == 0) goto loc_5478;
- 00005476 goto loc_55C6;
- 00005478 loc_5478:
- 00005478 Cond = 0x30;
- 0000547a R0 = sub_4C84(0x30, R1, R2, R3);
- 00005480 Cond = R0 - 1;
- 00005484 if (Cond == 0) goto loc_5488;
- 00005486 goto loc_55C6;
- 00005488 loc_5488:
- 00005488 R0 = sub_4BF8(R0, R1, R2, R3);
- 0000548e Cond = R0 - 1;
- 00005492 if (Cond == 0) goto loc_5496;
- 00005494 goto loc_55C6;
- 00005496 loc_5496:
- 0000549e sub_5394(R6, * (* 0x8700bc78 + 4), R2, R3);
- 000054a4 R0 = * 0x8700bc74;
- 000054a6 Cond = R0 - 1;
- 000054a8 if (Cond != 0) goto loc_54E4;
- 000054ae Cond = * 0x8700bc74 - 1;
- 000054b0 if (Cond != 0) goto loc_54B6;
- 000054b2 Cond = 12;
- 000054b2 R0 = 12;
- 000054b4 goto loc_54B8;
- 000054b6 loc_54B6:
- 000054b6 Cond = 0;
- 000054b6 R0 = 0;
- 000054b8 loc_54B8:
- 000054ba Cond = 0xff;
- 000054be R0 = sub_44C8[204](& var_34, 0xff, R0, R3);
- 000054c2 R10 = 0;
- 000054c6 goto loc_54DE;
- 000054c8 loc_54C8:
- 000054c8 R0 = R10 + (R10 << 1);
- 000054cc R2 = & var_34;
- 000054ce Cond = R0 + R2;
- 000054d2 sub_53EA(R10, R0 + R2, R2, R3);
- 000054d6 R0 = R10 + 1;
- 000054da R10 = R0 & 0xff;
- 000054de loc_54DE:
- 000054de Cond = R10 - 4;
- 000054e2 if (Cond < 0) goto loc_54C8;
- 000054e4 loc_54E4:
- 000054e4 Cond = R7;
- 000054e6 if (Cond == 0) goto loc_55C4;
- 000054e8 Cond = 0;
- 000054ea sub_4C30(0, R1, R2, R3);
- 000054ee Cond = 5;
- 000054f0 R0 = sub_4C84(5, R1, R2, R3);
- 000054f6 Cond = R0 - 1;
- 000054fa if (Cond == 0) goto loc_54FE;
- 000054fc goto loc_55C6;
- 000054fe loc_54FE:
- 00005504 /* Low-level instruction of type 283 */
- 0000550a var_28 = 0x800;
- 0000550c goto loc_5526;
- 0000550e loc_550E:
- 00005514 Cond = * (* 0x8700bc78 + 7) - 1;
- 00005516 if (Cond != 0) goto loc_5522;
- 0000551c var_28 = 0x400;
- 0000551e goto loc_5526;
- 00005520 loc_5520:
- 00005520 goto loc_55C8;
- 00005522 loc_5522:
- 00005522 /* Low-level instruction of type 2 */
- 00005524 loc_5524:
- 00005524 goto loc_5524;
- 00005526 loc_5526:
- 00005528 R0 = sub_4D3E(var_28, R1, R2, R3);
- 0000552e Cond = R0 - 1;
- 00005532 if (Cond == 0) goto loc_5536;
- 00005534 goto loc_55C6;
- 00005536 loc_5536:
- 00005536 Cond = 0xe0;
- 00005538 R0 = sub_4C84(0xe0, R1, R2, R3);
- 0000553e Cond = R0 - 1;
- 00005542 if (Cond == 0) goto loc_5546;
- 00005544 goto loc_55C6;
- 00005546 loc_5546:
- 00005546 Cond = 0x40;
- 0000554a sub_5394(R7, 0x40, R2, R3);
- 0000554e Cond = 1;
- 00005550 sub_4C30(1, R1, R2, R3);
- 00005556 R0 = * 0x8700bc74;
- 00005558 Cond = R0 - 1;
- 0000555a if (Cond != 0) goto loc_55C4;
- 0000555c Cond = 12;
- 0000555e Cond = 0xff;
- 00005562 sub_3594(& var_40, 0xff, 12, R3);
- 00005566 /* Low-level instruction of type 283 */
- 00005568 R11 = 2;
- 0000556c Cond = 3;
- 0000556e var_44 = 3;
- 00005570 goto loc_557A;
- 00005572 loc_5572:
- 00005572 R11 = 0x28;
- 00005576 Cond = 3;
- 00005578 var_44 = 3;
- 0000557a loc_557A:
- 0000557a R10 = 0;
- 0000557e goto loc_55A4;
- 00005580 loc_5580:
- 00005586 /* Low-level instruction of type 55 */
- 0000558e R3 = & var_40;
- 00005598 sub_355C(R10 + (R10 << 1) + R3, R1, 3, R3);
- 000055a0 R10 = R10 + 1 & 0xff;
- 000055a4 loc_55A4:
- 000055a4 Cond = R10 - 4;
- 000055a8 if (Cond < 0) goto loc_5580;
- 000055b0 R0 = sub_532E(R6, & var_40, & var_34, R3);
- 000055b4 R8 = R0;
- 000055b6 Cond = R8 - 1;
- 000055ba if (Cond == 0) goto loc_55C4;
- 000055bc R0 = R8;
- 000055be loc_55BE:
- 000055c0 /* Low-level instruction of type 42 */
- 000055c4 loc_55C4:
- 000055c4 /* Low-level instruction of type 2 */
- 000055c6 loc_55C6:
- 000055c6 /* Low-level instruction of type 2 */
- 000055c8 loc_55C8:
- 000055ce R0 = sub_4BF8(R0, R1, R2, R3);
- 000055d0 goto loc_55BE;
- 000055d2 sub_55D2:
- 000055d2 /* Low-level instruction of type 43 */
- 000055d4 R2 = R0;
- 000055d6 /* Low-level instruction of type 282 */
- 000055d8 Cond = R1 >> 2;
- 000055d8 R1 = R1 >> 2;
- 000055da goto loc_5606;
- 000055dc loc_55DC:
- 000055dc Cond = 0;
- 000055dc R3 = 0;
- 000055de goto loc_55EA;
- 000055e0 loc_55E0:
- 000055e4 * (SP + R3) = * R2;
- 000055e6 Cond = R2 + 1;
- 000055e6 R2 = R2 + 1;
- 000055e8 Cond = R3 + 1;
- 000055e8 R3 = R3 + 1;
- 000055ea loc_55EA:
- 000055ea Cond = R3 - 4;
- 000055ec if (Cond < 0) goto loc_55E0;
- 000055ee /* Low-level instruction of type 2 */
- 000055f4 * 0x6e000084 = var_10;
- 000055f6 /* Low-level instruction of type 2 */
- 000055f8 /* Low-level instruction of type 2 */
- 000055fa loc_55FA:
- 00005600 Cond = 0;
- 00005602 Cond = 0;
- 00005604 if (Cond != 0) goto loc_55FA;
- 00005606 loc_5606:
- 00005606 Cond = R1;
- 00005608 R1 = R1 - 1;
- 0000560c if (Cond != 0) goto loc_55DC;
- 00005610 sub_5610:
- 00005610 /* Low-level instruction of type 43 */
- 0000561a R6 = R2;
- 0000561c R7 = R3;
- 0000561e Cond = 0;
- 00005620 var_28 = 0;
- 00005632 R1 = * (* 0x8700bc78 + 0x14) << R1;
- 00005638 var_6C = (* (* 0x8700bc78 + 0x15) << R0) + R1;
- 0000563a Cond = R6;
- 0000563c if (Cond == 0) goto loc_5738;
- 0000563e /* Low-level instruction of type 2 */
- 00005640 Cond = 1;
- 00005642 sub_4C30(1, R1, R2, R3);
- 0000564a Cond = * 0x8700bc74 - 1;
- 0000564c if (Cond != 0) goto loc_566C;
- 0000564e /* Low-level instruction of type 2 */
- 00005654 R1 = 0x6e0001f8;
- 00005656 * R1 = 0x101;
- 00005658 /* Low-level instruction of type 2 */
- 0000565a Cond = 1;
- 0000565c sub_4C30(1, R1, R2, R3);
- 00005660 /* Low-level instruction of type 2 */
- 00005666 R1 = 0x6e0001f8;
- 00005668 * R1 = 0x101;
- 0000566a /* Low-level instruction of type 2 */
- 0000566c loc_566C:
- 0000566c Cond = 0x80;
- 00005672 var_28 = sub_4C84(0x80, R1, R2, R3);
- 00005676 Cond = var_28 - 1;
- 00005678 if (Cond == 0) goto loc_567C;
- 0000567a goto loc_5762;
- 0000567c loc_567C:
- 00005682 var_28 = sub_4D6A(var_6C, R1, R2, R3);
- 00005686 Cond = var_28 - 1;
- 00005688 if (Cond == 0) goto loc_568C;
- 0000568a goto loc_5762;
- 0000568c loc_568C:
- 00005692 sub_55D2(R6, 0x800, R2, R3);
- 00005696 /* Low-level instruction of type 283 */
- 0000569c Cond = * 0x8700bc74 - 1;
- 0000569e if (Cond != 0) goto loc_5752;
- 000056a0 loc_56A0:
- 000056a6 /* Low-level instruction of type 283 */
- 000056a8 R9 = 0x800;
- 000056ac goto loc_56C2;
- 000056ae loc_56AE:
- 000056b4 Cond = * (* 0x8700bc78 + 7) - 1;
- 000056b6 if (Cond != 0) goto loc_56BE;
- 000056b8 R9 = 0x400;
- 000056bc goto loc_56C2;
- 000056be loc_56BE:
- 000056be /* Low-level instruction of type 2 */
- 000056c0 loc_56C0:
- 000056c0 goto loc_56C0;
- 000056c2 loc_56C2:
- 000056c2 /* Low-level instruction of type 282 */
- 000056c4 Cond = 0xff;
- 000056c4 R0 = 0xff;
- 000056c6 var_68 = R0;
- 000056ca var_67 = R0;
- 000056d2 R0 = * (* 0x8700bc78 + 6);
- 000056d4 Cond = R0 - 2;
- 000056dc sub_355C(& var_66, R7, R0 - 2, R3);
- 000056e0 goto loc_56EC;
- 000056e2 loc_56E2:
- 000056e2 Cond = 0xff;
- 000056e2 R2 = 0xff;
- 000056e4 Cond = 0x40;
- 000056e4 R1 = 0x40;
- 000056e8 /* Low-level instruction of type 46 */
- 000056ec loc_56EC:
- 000056f0 Cond = * 0x8700bc74 - 1;
- 000056f2 if (Cond != 0) goto loc_5728;
- 000056f4 /* Low-level instruction of type 283 */
- 000056f6 R10 = 2;
- 000056fe goto loc_5708;
- 00005700 loc_5700:
- 00005700 R10 = 0x28;
- 00005708 loc_5708:
- 00005708 R8 = 0;
- 0000570c goto loc_5722;
- 0000570e loc_570E:
- 00005712 /* Low-level instruction of type 29 */
- 0000571a sub_53EA(R8 & 0xff, R1, R2, R3);
- 0000571e R8 = R8 + 1;
- 00005722 loc_5722:
- 00005722 Cond = R8 - 4;
- 00005726 if (Cond < 0) goto loc_570E;
- 00005728 loc_5728:
- 00005728 Cond = 0x85;
- 0000572e var_28 = sub_4C84(0x85, R1, R2, R3);
- 00005732 Cond = var_28 - 1;
- 00005734 if (Cond == 0) goto loc_573A;
- 00005736 goto loc_5762;
- 00005738 loc_5738:
- 00005738 goto loc_5764;
- 0000573a loc_573A:
- 00005740 var_28 = sub_4D3E(R9, R1, R2, R3);
- 00005744 Cond = var_28 - 1;
- 00005746 if (Cond == 0) goto loc_574A;
- 00005748 goto loc_5762;
- 0000574a loc_574A:
- 0000574a Cond = 0x40;
- 0000574e sub_55D2(& var_68, 0x40, R2, R3);
- 00005752 loc_5752:
- 00005752 Cond = 0x10;
- 00005754 R0 = sub_4C84(0x10, R1, R2, R3);
- 00005758 var_28 = R0;
- 0000575e var_28 = sub_4BF8(R0, R1, R2, R3);
- 00005760 /* Low-level instruction of type 2 */
- 00005762 loc_5762:
- 00005762 /* Low-level instruction of type 2 */
- 00005862 sub_5862:
- 00005862 /* Low-level instruction of type 43 */
- 00005866 Cond = 0;
- 0000586e R0 = * (* 0x8700bc78 + 0x15) << R0;
- 00005876 R2 = * (* 0x8700bc78 + 0x14);
- 00005878 Cond = 0;
- 00005878 R1 = 0;
- 0000587a Cond = R1 << R2;
- 0000587a R1 = R1 << R2;
- 0000587c Cond = R0 + R1;
- 0000587c R6 = R0 + R1;
- 0000587e /* Low-level instruction of type 2 */
- 00005880 Cond = 0x60;
- 00005882 R0 = sub_4C84(0x60, R1, R2, R3);
- 00005886 R5 = R0;
- 00005888 Cond = R5 - 1;
- 0000588a if (Cond == 0) goto loc_588E;
- 0000588c goto loc_58A6;
- 0000588e loc_588E:
- 00005890 R0 = sub_4CB6(R6, R1, R2, R3);
- 00005894 R5 = R0;
- 00005896 Cond = R5 - 1;
- 00005898 if (Cond == 0) goto loc_589C;
- 0000589a goto loc_58A6;
- 0000589c loc_589C:
- 0000589c Cond = 0xd0;
- 0000589e R0 = sub_4C84(0xd0, R1, R2, R3);
- 000058a2 R5 = R0;
- 000058a4 /* Low-level instruction of type 2 */
- 000058a6 loc_58A6:
- 000058a6 /* Low-level instruction of type 2 */
- 000058a8 Cond = R5 - 1;
- 000058aa if (Cond != 0) goto loc_58B2;
- 000058b0 sub_4E2A(R0, R1, R2, R3);
- 00005bc4 sub_5BC4:
- 00005bc4 /* Low-level instruction of type 43 */
- 00005bc6 Cond = R0 << 5;
- 00005bc8 Cond = 0;
- 00005bc8 R2 = 0;
- 00005bca goto loc_5BDC;
- 00005bcc loc_5BCC:
- 00005bcc Cond = 0;
- 00005bcc R1 = 0;
- 00005bce goto loc_5BD4;
- 00005bd0 loc_5BD0:
- 00005bd0 Cond = R3 + 1;
- 00005bd0 R3 = R3 + 1;
- 00005bd2 Cond = R1 + 1;
- 00005bd2 R1 = R1 + 1;
- 00005bd4 loc_5BD4:
- 00005bd4 Cond = R1 - 0x80000;
- 00005bd8 if (Cond < 0) goto loc_5BD0;
- 00005bda Cond = R2 + 1;
- 00005bda R2 = R2 + 1;
- 00005bdc loc_5BDC:
- 00005bdc Cond = R2 - R0;
- 00005bde if (Cond < 0) goto loc_5BCC;
- 00005be2 sub_5BE2:
- 00005be2 /* Low-level instruction of type 2 */
- 00005be4 loc_5BE4:
- 00005be8 Cond = * (0x48318000 + 0x14) & 1;
- 00005bec if (Cond == 0) goto loc_5BE4;
- 00005bf2 R0 = * (0x48318000 + 0x24) | 1;
- 00005bf8 * (0x48318000 + 0x24) = R0;
- 00005bfa return R0;
- 00005c00 sub_5C00:
- 00005c00 /* Low-level instruction of type 43 */
- 00005c04 R4 = R0;
- 00005c06 Cond = 0;
- 00005c08 Cond = 0x64;
- 00005c08 R6 = 0x64;
- 00005c0a R7 = R4 + 15;
- 00005c0e R8 = 1;
- 00005c12 goto loc_5C6E;
- 00005c14 loc_5C14:
- 00005c14 Cond = 10;
- 00005c16 sub_36E2(10, R1, R2, R3);
- 00005c1a Cond = 0;
- 00005c22 sub_3608(0x48004a20, R7, R8, 0);
- 00005c2c R5 = * (* (0x8700bc84 + R4) + 8);
- 00005c2e Cond = R5 & 8;
- 00005c32 if (Cond != 0) goto loc_5C3A;
- 00005c34 Cond = R5 & 0x10;
- 00005c38 if (Cond == 0) goto loc_5C6C;
- 00005c3a loc_5C3A:
- 00005c3a Cond = 0;
- 00005c42 sub_3608(0x48004a20, R7, R8, 0);
- 00005c46 Cond = 8;
- 00005c4e * (* (0x8700bc84 + R4) + 8) = 8;
- 00005c50 Cond = 0;
- 00005c58 sub_3608(0x48004a20, R7, R8, 0);
- 00005c5c Cond = 0x10;
- 00005c60 R1 = * (0x8700bc84 + R4);
- 00005c64 * (R1 + 8) = 0x10;
- 00005c66 Cond = R6 - 1;
- 00005c68 /* Low-level instruction of type 255 */
- 00005c6a goto loc_5C6E;
- 00005c6c loc_5C6C:
- 00005c6c goto loc_5C72;
- 00005c6e loc_5C6E:
- 00005c6e Cond = R6;
- 00005c70 if (Cond > 0) goto loc_5C14;
- 00005cbc sub_5CBC:
- 00005cbc /* Low-level instruction of type 43 */
- 00005cc0 R4 = R0;
- 00005cc2 R5 = R1;
- 00005cc4 R6 = R2;
- 00005cc6 Cond = 0;
- 00005cc8 R8 = R4 + 15;
- 00005ccc R9 = 1;
- 00005cd0 /* Low-level instruction of type 2 */
- 00005cd2 loc_5CD2:
- 00005cd2 Cond = 10;
- 00005cd4 sub_36E2(10, R1, R2, R3);
- 00005cd8 Cond = 0;
- 00005ce0 sub_3608(0x48004a20, R8, R9, 0);
- 00005cec Cond = * (* (0x8700bc84 + R4) + 8) & R5;
- 00005cee if (Cond == 0) goto loc_5CFA;
- 00005cf0 Cond = R6;
- 00005cf2 R1 = R6 - 1;
- 00005cf6 /* Low-level instruction of type 255 */
- 00005cf8 if (Cond != 0) goto loc_5CD2;
- 00005d00 sub_5D00:
- 00005d00 /* Low-level instruction of type 43 */
- 00005d04 R4 = R0;
- 00005d06 Cond = 0x64;
- 00005d06 R5 = 0x64;
- 00005d08 Cond = 0;
- 00005d0e /* Low-level instruction of type 44 */
- 00005d10 /* Low-level instruction of type 33 */
- 00005d12 /* Low-level instruction of type 46 */
- 00005d16 /* Low-level instruction of type 71 */
- 00005d28 /* Low-level instruction of type 44 */
- 00005d2a /* Low-level instruction of type 33 */
- 00005d2c /* Low-level instruction of type 46 */
- 00005d34 /* Low-level instruction of type 71 */
- 00005d38 R0 = 0x48004000;
- 00005d3a * (R0 + 0xa00) = * (0x48004000 + 0xa00) & ~ R0 | R0;
- 00005d42 /* Low-level instruction of type 44 */
- 00005d44 /* Low-level instruction of type 33 */
- 00005d46 /* Low-level instruction of type 46 */
- 00005d4a /* Low-level instruction of type 71 */
- 00005d5c /* Low-level instruction of type 44 */
- 00005d5e /* Low-level instruction of type 33 */
- 00005d60 /* Low-level instruction of type 46 */
- 00005d68 /* Low-level instruction of type 71 */
- 00005d6e * (0x48004000 + 0xa10) = * (0x48004000 + 0xa10) & ~ R0 | R0;
- 00005d72 R7 = R4 + 15;
- 00005d76 R8 = 1;
- 00005d7a Cond = 0;
- 00005d82 sub_3608(0x48004a20, R7, R8, 0);
- 00005d86 Cond = 2;
- 00005d8e * (* (0x8700bc84 + R4) + 0x20) = 2;
- 00005d90 Cond = 0;
- 00005d98 R0 = sub_3608(0x48004a20, R7, R8, 0);
- 00005d9c /* Low-level instruction of type 46 */
- 00005da2 R1 = * (0x8700bc84 + R4);
- 00005da6 * (R1 + 0x24) = R0;
- 00005da8 /* Low-level instruction of type 2 */
- 00005daa loc_5DAA:
- 00005daa Cond = 10;
- 00005dac sub_36E2(10, R1, R2, R3);
- 00005db0 Cond = 0;
- 00005db8 sub_3608(0x48004a20, R7, R8, 0);
- 00005dc4 Cond = * (* (0x8700bc84 + R4) + 0x10) & 1;
- 00005dc8 if (Cond != 0) goto loc_5DD4;
- 00005dca Cond = R5;
- 00005dcc R1 = R5 - 1;
- 00005dd0 /* Low-level instruction of type 255 */
- 00005dd2 if (Cond != 0) goto loc_5DAA;
- 00006090 sub_6090:
- 00006090 /* Low-level instruction of type 43 */
- 00006094 R4 = R0;
- 00006096 R5 = R1;
- 00006098 R6 = R2;
- 0000609a R7 = R3;
- 0000609c R8 = arg_0;
- 000060a8 Cond = 0;
- 000060a8 R0 = 0;
- 000060aa var_30 = R0;
- 000060ac R11 = R0;
- 000060b2 var_28 = R4 + 15;
- 000060b4 Cond = 1;
- 000060b6 var_2C = 1;
- 000060b8 /* Low-level instruction of type 2 */
- 000060ba Cond = 0x64;
- 000060c2 R0 = sub_5CBC(R4, 0x1000, 0x64, R3);
- 000060c8 Cond = R0 & 0x1000;
- 000060cc if (Cond == 0) goto loc_60D4;
- 000060d2 goto loc_61CC;
- 000060d4 loc_60D4:
- 000060d4 Cond = 0;
- 000060d8 /* Low-level instruction of type 49 */
- 000060dc sub_3608(0x48004a20, R1, R2, 0);
- 000060e6 R1 = * (0x8700bc84 + R4);
- 000060ea * (R1 + 0x18) = R8 + 1;
- 000060ec Cond = 0;
- 000060f0 /* Low-level instruction of type 49 */
- 000060f4 sub_3608(0x48004a20, R1, R2, 0);
- 000060fe * (* (0x8700bc84 + R4) + 0x2c) = R5;
- 00006100 Cond = 0;
- 00006104 /* Low-level instruction of type 49 */
- 00006108 sub_3608(0x48004a20, R1, R2, 0);
- 00006116 * (* (0x8700bc84 + R4) + 0x24) = 0x8603;
- 00006118 goto loc_61C2;
- 0000611a loc_611A:
- 0000611a Cond = 0x64;
- 0000611c Cond = 7;
- 00006120 R0 = sub_5CBC(R4, 7, 0x64, R3);
- 00006124 R10 = R0;
- 00006126 Cond = R0 & 7;
- 0000612a if (Cond != 0) goto loc_61BC;
- 0000612c Cond = R10 & 0x10;
- 00006130 if (Cond == 0) goto loc_61B6;
- 00006132 Cond = R11;
- 00006136 if (Cond != 0) goto loc_6166;
- 00006138 Cond = 0;
- 0000613c /* Low-level instruction of type 49 */
- 00006140 sub_3608(0x48004a20, R1, R2, 0);
- 0000614a * (* (0x8700bc84 + R4) + 0x1c) = R6;
- 0000614c R11 = 1;
- 00006150 Cond = 5;
- 00006152 Cond = 2;
- 0000615a Cond = sub_5CBC(R4, 2, 5, R3) & 2;
- 0000615e if (Cond == 0) goto loc_619A;
- 00006164 goto loc_61C8;
- 00006166 loc_6166:
- 00006166 Cond = 0;
- 0000616a /* Low-level instruction of type 49 */
- 0000616e sub_3608(0x48004a20, R1, R2, 0);
- 00006172 R0 = var_30;
- 00006174 Cond = R0 + 1;
- 00006176 /* Low-level instruction of type 251 */
- 00006178 var_30 = R0 + 1;
- 00006182 * (* (0x8700bc84 + R4) + 0x1c) = * (R7 + R0);
- 00006184 Cond = 5;
- 00006186 Cond = 2;
- 0000618e Cond = sub_5CBC(R4, 2, 5, R3) & 2;
- 00006192 if (Cond == 0) goto loc_619A;
- 00006198 goto loc_61C8;
- 0000619a loc_619A:
- 0000619a Cond = 0;
- 0000619e /* Low-level instruction of type 49 */
- 000061a2 sub_3608(0x48004a20, R1, R2, 0);
- 000061a6 Cond = 0x10;
- 000061ae * (* (0x8700bc84 + R4) + 8) = 0x10;
- 000061b4 goto loc_61C2;
- 000061b6 loc_61B6:
- 000061ba goto loc_61C8;
- 000061bc loc_61BC:
- 000061c0 goto loc_61C8;
- 000061c2 loc_61C2:
- 000061c4 Cond = var_30 - R8;
- 000061c6 if (Cond < 0) goto loc_611A;
- 000061c8 loc_61C8:
- 000061c8 /* Low-level instruction of type 2 */
- 000061ca /* Low-level instruction of type 2 */
- 000064a8 sub_64A8:
- 000064a8 /* Low-level instruction of type 43 */
- 000064aa R0 = sub_6DEE(R0, R1, R2, R3);
- 000064ae Cond = R0 - 2;
- 000064b0 if (Cond != 0) goto loc_64B8;
- 000064b2 R0 = sub_6E1C(R0, R1, R2, R3);
- 000064b6 /* Low-level instruction of type 282 */
- 000064b8 loc_64B8:
- 000064b8 /* Low-level instruction of type 2 */
- 000064ba R0 = sub_4FDC(R0, R1, R2, R3);
- 000064be Cond = R0 - 1;
- 000064c0 if (Cond == 0) goto loc_64C4;
- 000064c2 goto loc_64E4;
- 000064c4 loc_64C4:
- 000064c4 Cond = 0;
- 000064c4 R1 = 0;
- 000064c8 R0 = sub_5008(R1, R1, R2, R3);
- 000064cc Cond = R0 - 1;
- 000064ce if (Cond == 0) goto loc_64D2;
- 000064d0 goto loc_64E4;
- 000064d2 loc_64D2:
- 000064d2 Cond = 0;
- 000064d4 R0 = sub_5862(0, R1, R2, R3);
- 000064d8 Cond = R0 - 1;
- 000064da if (Cond == 0) goto loc_64DE;
- 000064dc goto loc_64E4;
- 000064de loc_64DE:
- 000064de R0 = sub_36C2(R0, R1, R2, R3);
- 000064e2 /* Low-level instruction of type 2 */
- 000064e4 loc_64E4:
- 000064e4 /* Low-level instruction of type 2 */
- 000064e6 loc_64E6:
- 000064e6 sub_36DE(R0, R1, R2, R3);
- 000064ea /* Low-level instruction of type 2 */
- 000064ec loc_64EC:
- 000064ec goto loc_64EC;
- 000064f0 sub_64F0:
- 000064f0 /* Low-level instruction of type 43 */
- 000064f4 Cond = 0;
- 000064fa Cond = * 0x8700be12 - 0x200;
- 000064fe if (Cond != 0) goto loc_6540;
- 00006500 R0 = 0x8700be12;
- 00006502 Cond = R0 + 14;
- 00006506 /* Low-level instruction of type 283 */
- 00006508 R0 = * (R1 + 5);
- 0000650a Cond = R0 - 0xff;
- 0000650c if (Cond != 0) goto loc_6512;
- 0000650e Cond = R0;
- 00006510 goto loc_6514;
- 00006512 loc_6512:
- 00006512 Cond = 0;
- 00006514 loc_6514:
- 00006514 /* Low-level instruction of type 251 */
- 00006516 goto loc_6566;
- 00006518 loc_6518:
- 00006518 R0 = 0x8700be12;
- 0000651a Cond = R0 + 14;
- 0000651e Cond = * (R0 + 14) - 1;
- 00006520 if (Cond != 0) goto loc_6566;
- 00006524 R4 = * R1 - 0xff00;
- 00006528 Cond = R4 - 0xff;
- 0000652a if (Cond != 0) goto loc_653A;
- 0000652e R4 = * (R1 + 10) - 0xff00;
- 00006532 Cond = R4 - 0xff;
- 00006534 if (Cond != 0) goto loc_653A;
- 00006536 Cond = 1;
- 00006538 goto loc_653C;
- 0000653a loc_653A:
- 0000653a Cond = 0;
- 0000653c loc_653C:
- 0000653c /* Low-level instruction of type 251 */
- 0000653e goto loc_6566;
- 00006540 loc_6540:
- 00006544 Cond = * 0x8700be12 - 0x800;
- 00006548 if (Cond != 0) goto loc_6566;
- 0000654a R0 = 0x8700be12;
- 0000654c Cond = R0 + 14;
- 00006550 Cond = * (R0 + 14) - 1;
- 00006552 if (Cond != 0) goto loc_6566;
- 00006556 R4 = * R1 - 0xff00;
- 0000655a Cond = R4 - 0xff;
- 0000655c if (Cond != 0) goto loc_6562;
- 0000655e Cond = 1;
- 00006560 goto loc_6564;
- 00006562 loc_6562:
- 00006562 Cond = 0;
- 00006564 loc_6564:
- 00006564 /* Low-level instruction of type 251 */
- 00006566 loc_6566:
- 00006566 /* Low-level instruction of type 283 */
- 00006568 Cond = 1;
- 0000656a goto loc_656E;
- 0000656c loc_656C:
- 0000656c Cond = 0;
- 00006572 sub_6572:
- 00006572 /* Low-level instruction of type 43 */
- 00006574 SP = SP - 0x40;
- 00006576 R4 = R0;
- 00006578 Cond = 0;
- 0000657a Cond = 0x40;
- 0000657e /* Low-level instruction of type 46 */
- 00006582 Cond = 0;
- 00006582 R5 = 0;
- 00006584 goto loc_6594;
- 00006586 loc_6586:
- 0000658c gvar_5772(R4, R5, SP, R3);
- 00006590 Cond = R5 + 1;
- 00006592 /* Low-level instruction of type 251 */
- 00006594 loc_6594:
- 00006594 Cond = R5 - 2;
- 00006596 if (Cond < 0) goto loc_6586;
- 0000659e sub_659E:
- 0000659e /* Low-level instruction of type 43 */
- 000065a2 SP = SP - 0x840;
- 000065a6 R4 = R0;
- 000065a8 R5 = R1;
- 000065aa Cond = 0;
- 000065aa R6 = 0;
- 000065ac Cond = 0;
- 000065b2 Cond = 0;
- 000065b4 * R5 = 0;
- 000065b6 /* Low-level instruction of type 2 */
- 000065b8 loc_65B8:
- 000065c0 sub_540E(R4, R6, & var_818, SP);
- 000065c4 /* Low-level instruction of type 283 */
- 000065c6 Cond = 1;
- 000065c8 * R5 = 1;
- 000065ca goto loc_65E8;
- 000065cc loc_65CC:
- 000065d0 sub_64F0(& var_818, SP, R2, R3);
- 000065d4 /* Low-level instruction of type 282 */
- 000065d6 Cond = 1;
- 000065d8 * R5 = 1;
- 000065da loc_65DA:
- 000065da Cond = R6 + 1;
- 000065dc /* Low-level instruction of type 251 */
- 000065de Cond = R6 - R8;
- 000065e0 if (Cond >= 0) goto loc_65E8;
- 000065e4 Cond = * R5;
- 000065e6 if (Cond == 0) goto loc_65B8;
- 000065f4 sub_65F4:
- 000065f4 /* Low-level instruction of type 43 */
- 000065f8 R4 = R0;
- 000065fa R5 = R1;
- 000065fc Cond = 0;
- 000065fe Cond = 0;
- 00006600 var_28 = 0;
- 00006602 R8 = 0xffff;
- 00006608 R0 = 0x8700be12;
- 0000660a Cond = R0 - 0x14;
- 0000660e Cond = * (R0 - 0x14) - R4;
- 00006610 if (Cond != 0) goto loc_6646;
- 00006612 Cond = R5 - 1;
- 00006614 if (Cond != 0) goto loc_6624;
- 00006616 R0 = 0x8700be12;
- 00006618 Cond = R0 - 0x12;
- 0000661c R1 = * (R0 - 0x12) - 0xff00;
- 00006620 Cond = R1 - 0xff;
- 00006622 if (Cond == 0) goto loc_6646;
- 00006624 loc_6624:
- 00006624 Cond = R5 - 1;
- 00006626 if (Cond != 0) goto loc_671E;
- 00006628 R0 = 0x8700be12;
- 0000662a Cond = R0 - 0x14;
- 0000662e R1 = 0x8700be12;
- 00006630 Cond = R1 - 0x12;
- 00006634 Cond = * (R0 - 0x14) - * (R1 - 0x12);
- 00006636 loc_6636:
- 00006636 if (Cond == 0) goto loc_671E;
- 00006638 R0 = 0x8700be12;
- 0000663a Cond = R0 - 0x14;
- 0000663e R1 = * (R0 - 0x14) - 0xff00;
- 00006642 Cond = R1 - 0xff;
- 00006644 if (Cond == 0) goto loc_6636;
- 00006646 loc_6646:
- 00006646 R0 = 0x8700be12;
- 00006648 Cond = R0 - 14;
- 0000664c R1 = * (R0 - 14) - 0xff00;
- 00006650 Cond = R1 - 0xff;
- 00006652 if (Cond == 0) goto loc_6676;
- 00006654 R0 = 0x8700be12;
- 00006656 Cond = R0 - 0x10;
- 0000665a R1 = * (R0 - 0x10) - 0xff00;
- 0000665e Cond = R1 - 0xff;
- 00006660 if (Cond == 0) goto loc_6676;
- 00006662 R0 = 0x8700be12;
- 00006664 Cond = R0 - 14;
- 00006668 Cond = R4 - * (R0 - 14);
- 0000666a if (Cond < 0) goto loc_6676;
- 0000666c R0 = 0x8700be12;
- 0000666e Cond = R0 - 0x10;
- 00006672 Cond = R4 - * (R0 - 0x10);
- 00006674 if (Cond <= 0) goto loc_6704;
- 00006676 loc_6676:
- 0000667a R1 = 0x8700be12;
- 0000667c Cond = R1 - 0x14;
- 0000667e * (R1 - 0x14) = 0xffff;
- 00006680 Cond = 0;
- 00006684 * 0x8700bc90 = 0;
- 00006686 R0 = 0xffff;
- 0000668a R1 = 0x8700be12;
- 0000668c Cond = R1 - 0x10;
- 0000668c R1 = R1 - 0x10;
- 0000668e * R1 = R0;
- 00006690 Cond = R1 + 2;
- 00006692 * (R1 + 2) = R0;
- 00006694 Cond = 0;
- 00006694 R7 = 0;
- 00006696 goto loc_66FE;
- 00006698 loc_6698:
- 0000669e R1 = * (0x8700bc94 + R7) - 0xff00;
- 000066a2 Cond = R1 - 0xff;
- 000066a4 if (Cond == 0) goto loc_66FA;
- 000066ac Cond = * (0x8700bc94 + R7) - R4;
- 000066ae if (Cond > 0) goto loc_66FA;
- 000066b8 Cond = * (0x8700bc94 + (R7 << 3) + 4) - R4;
- 000066ba if (Cond < 0) goto loc_66FA;
- 000066c4 R1 = 0x8700be12;
- 000066c6 Cond = R1 - 0x10;
- 000066c6 R1 = R1 - 0x10;
- 000066c8 * R1 = * (0x8700bc94 + (R7 << 3) + 4);
- 000066d0 Cond = R1 + 2;
- 000066d0 R1 = R1 + 2;
- 000066d2 * R1 = * (0x8700bc94 + R7);
- 000066d8 Cond = * R1 - 1;
- 000066da if (Cond != 0) goto loc_66E6;
- 000066dc Cond = 5;
- 000066de R1 = 0x8700be12;
- 000066e0 Cond = R1 - 0x10;
- 000066e2 * (R1 - 0x10) = 5;
- 000066e4 goto loc_66F8;
- 000066e6 loc_66E6:
- 000066e6 R0 = 0x8700be12;
- 000066e8 Cond = R0 - 14;
- 000066ec Cond = * (R0 - 14) - 11;
- 000066ee if (Cond != 0) goto loc_66F8;
- 000066f0 Cond = 13;
- 000066f2 R1 = 0x8700be12;
- 000066f4 Cond = R1 - 0x10;
- 000066f6 * (R1 - 0x10) = 13;
- 000066f8 loc_66F8:
- 000066f8 goto loc_6702;
- 000066fa loc_66FA:
- 000066fa Cond = R7 + 1;
- 000066fc /* Low-level instruction of type 251 */
- 000066fe loc_66FE:
- 000066fe Cond = R7 - 0x29;
- 00006700 if (Cond < 0) goto loc_6698;
- 00006702 loc_6702:
- 00006702 /* Low-level instruction of type 2 */
- 00006704 loc_6704:
- 00006704 R9 = R4;
- 00006706 R0 = 0x8700be12;
- 00006708 Cond = R0 - 0x14;
- 0000670c R1 = * (R0 - 0x14) - 0xff00;
- 00006710 Cond = R1 - 0xff;
- 00006712 if (Cond != 0) goto loc_6720;
- 00006714 R0 = 0x8700be12;
- 00006716 Cond = R0 - 14;
- 00006718 R8 = * (R0 - 14);
- 0000671c goto loc_6778;
- 0000671e loc_671E:
- 0000671e goto loc_67FC;
- 00006720 loc_6720:
- 00006720 R0 = 0x8700be12;
- 00006722 Cond = R0 - 0x14;
- 00006726 Cond = R4 - * (R0 - 0x14);
- 00006728 if (Cond <= 0) goto loc_6734;
- 0000672a R0 = 0x8700be12;
- 0000672c Cond = R0 - 0x14;
- 0000672e R8 = * (R0 - 0x14);
- 00006732 goto loc_6778;
- 00006734 loc_6734:
- 00006734 R0 = 0x8700be12;
- 00006736 Cond = R0 - 0x14;
- 0000673a Cond = R4 - * (R0 - 0x14);
- 0000673c if (Cond != 0) goto loc_675A;
- 0000673e Cond = R4 + 1;
- 00006740 /* Low-level instruction of type 255 */
- 00006744 /* Low-level instruction of type 255 */
- 0000674a R0 = * 0x8700bc90;
- 0000674c Cond = R0 + 1;
- 00006750 * 0x8700bc90 = R0 + 1;
- 00006752 R0 = 0x8700be12;
- 00006754 Cond = R0 - 0x12;
- 00006756 * (R0 - 0x12) = R4;
- 00006758 goto loc_6778;
- 0000675a loc_675A:
- 0000675e /* Low-level instruction of type 283 */
- 00006760 R0 = 0x8700be12;
- 00006762 Cond = R0 - 0x14;
- 00006764 R8 = * (R0 - 0x14);
- 00006768 goto loc_6778;
- 0000676a loc_676A:
- 0000676a Cond = 0;
- 0000676e * 0x8700bc90 = 0;
- 00006770 R0 = 0x8700be12;
- 00006772 Cond = R0 - 14;
- 00006774 R8 = * (R0 - 14);
- 00006778 loc_6778:
- 00006778 R10 = R8;
- 0000677a goto loc_67C8;
- 0000677c loc_677C:
- 00006782 /* Low-level instruction of type 255 */
- 00006786 /* Low-level instruction of type 2 */
- 00006788 loc_6788:
- 00006788 Cond = 0;
- 0000678a var_28 = 0;
- 00006794 sub_659E(R11, SP, R2, R3);
- 0000679a Cond = var_28 - 1;
- 0000679c if (Cond != 0) goto loc_67B6;
- 000067a0 sub_6572(R11, R1, R2, R3);
- 000067a6 R0 = * 0x8700bc90;
- 000067a8 Cond = R0 + 1;
- 000067ac * 0x8700bc90 = R0 + 1;
- 000067b2 /* Low-level instruction of type 255 */
- 000067b6 loc_67B6:
- 000067b6 /* Low-level instruction of type 283 */
- 000067bc Cond = var_28 - 1;
- 000067be if (Cond == 0) goto loc_6788;
- 000067c0 loc_67C0:
- 000067c4 /* Low-level instruction of type 255 */
- 000067c8 loc_67C8:
- 000067c8 Cond = R10 - R9;
- 000067ca if (Cond <= 0) goto loc_677C;
- 000067d2 R1 = 0x8700be12;
- 000067d4 Cond = R1 - 0x16;
- 000067d4 R1 = R1 - 0x16;
- 000067d6 * R1 = * 0x8700bc90 + R4;
- 000067dc Cond = R1 + 6;
- 000067e0 Cond = * * (R1 + 6) - * (R1 + 6);
- 000067e2 if (Cond <= 0) goto loc_67EC;
- 000067e4 R0 = 0x8700be12;
- 000067e6 Cond = R0 - 0x10;
- 000067e8 R0 = * (R0 - 0x10);
- 000067ea goto loc_67F2;
- 000067ec loc_67EC:
- 000067ec R0 = 0x8700be12;
- 000067ee Cond = R0 - 0x16;
- 000067f0 R0 = * (R0 - 0x16);
- 000067f2 loc_67F2:
- 000067f2 R1 = 0x8700be12;
- 000067f4 Cond = R1 - 0x16;
- 000067f4 R1 = R1 - 0x16;
- 000067f6 * R1 = R0;
- 000067f8 Cond = R1 + 2;
- 000067fa * (R1 + 2) = R4;
- 00006806 sub_6806:
- 00006806 /* Low-level instruction of type 43 */
- 0000680c R4 = R1;
- 00006810 Cond = 0;
- 00006812 R0 = 0x8700be12;
- 00006814 Cond = R0 - 12;
- 00006818 Cond = * (R0 - 12) - R4;
- 0000681a if (Cond == 0) goto loc_683C;
- 0000681c R0 = 0x8700be12;
- 0000681e Cond = R0 - 12;
- 00006820 * (R0 - 12) = R4;
- 00006822 /* Low-level instruction of type 283 */
- 00006824 Cond = 0xcc;
- 00006826 goto loc_683C;
- 00006828 loc_6828:
- 0000682a sub_6572(R4, R1, R2, R3);
- 0000682e Cond = 1;
- 00006832 R0 = sub_65F4(R4, 1, R2, R3);
- 00006836 R1 = 0x8700be12;
- 00006838 Cond = R1 - 10;
- 0000683a * (R1 - 10) = R0;
- 0000684a sub_684A:
- 0000684a /* Low-level instruction of type 43 */
- 0000684e R4 = R0;
- 00006850 R5 = R1;
- 00006856 R8 = arg_0;
- 00006860 R0 = 0x8700be12;
- 00006862 Cond = R0 + 10;
- 00006864 R11 = * (R0 + 10);
- 00006870 sub_5610(R4, R5, R2, R3);
- 00006874 /* Low-level instruction of type 283 */
- 00006876 R10 = 0xd6;
- 0000687c locret_687C:
- 0000687c /* Low-level instruction of type 42 */
- 00006880 loc_6880:
- 00006880 Cond = R11;
- 00006884 if (Cond == 0) goto loc_68C8;
- 00006886 Cond = R8 - 1;
- 0000688a if (Cond != 0) goto loc_68C8;
- 0000688c R9 = 0;
- 00006890 goto loc_68C2;
- 00006892 loc_6892:
- 000068a0 sub_5610(R4, R9, R11, R11 + * 0x8700be12);
- 000068a4 /* Low-level instruction of type 283 */
- 000068a6 R10 = 0xd6;
- 000068aa goto loc_68C6;
- 000068ac loc_68AC:
- 000068b0 R1 = 0x8700be12;
- 000068b2 Cond = R1 + 8;
- 000068b8 R11 = R11 + * 0x8700be12 + * (R1 + 8);
- 000068be /* Low-level instruction of type 255 */
- 000068c2 loc_68C2:
- 000068c2 Cond = R9 - R5;
- 000068c4 if (Cond < 0) goto loc_6892;
- 000068c6 loc_68C6:
- 000068c6 /* Low-level instruction of type 2 */
- 000068c8 loc_68C8:
- 000068ca goto locret_687C;
- 000069c2 sub_69C2:
- 000069c2 /* Low-level instruction of type 43 */
- 000069c6 Cond = 0;
- 000069c8 /* Low-level instruction of type 2 */
- 000069ce Cond = sub_4EBC(R0, R1, R2, R3) - 1;
- 000069d0 if (Cond == 0) goto loc_69D6;
- 000069d2 Cond = 0xdc;
- 000069d4 goto loc_6AAA;
- 000069d6 loc_69D6:
- 000069dc /* Low-level instruction of type 271 */
- 000069e0 R1 = 0x8700be0c;
- 000069e2 Cond = R1 + 4;
- 000069e2 R1 = R1 + 4;
- 000069e4 * R1 = * (* 0x8700bc78 + 0x10);
- 000069ec Cond = R1 + 2;
- 000069ec R1 = R1 + 2;
- 000069ee * R1 = * (* 0x8700bc78 + 4);
- 000069f6 Cond = R1 + 14;
- 000069f6 R1 = R1 + 14;
- 000069f8 * R1 = * (* 0x8700bc78 + 7);
- 00006a00 /* Low-level instruction of type 283 */
- 00006a02 Cond = 0xd9;
- 00006a04 goto loc_6AAA;
- 00006a06 loc_6A06:
- 00006a0a R1 = * (* 0x8700bc78 + 2);
- 00006a0c Cond = R1 << 10;
- 00006a0e R1 = 0x8700be0c;
- 00006a10 Cond = R1 + 4;
- 00006a14 /* Low-level instruction of type 46 */
- 00006a18 R1 = 0x8700be0c;
- 00006a1a * R1 = R1 << 10;
- 00006a20 Cond = R1 + 12;
- 00006a20 R1 = R1 + 12;
- 00006a22 * R1 = 0xffc;
- 00006a2a Cond = R1 + 2;
- 00006a2a R1 = R1 + 2;
- 00006a2c * R1 = * (* 0x8700bc78 + 6);
- 00006a30 R0 = * 0x8700be0c;
- 00006a32 Cond = R0 << 1;
- 00006a32 R6 = R0 << 1;
- 00006a38 R0 = * (R1 - 10);
- 00006a3a Cond = R0 << 10;
- 00006a3e /* Low-level instruction of type 46 */
- 00006a42 R1 = 0x8700be0c;
- 00006a44 Cond = R1 + 8;
- 00006a44 R1 = R1 + 8;
- 00006a46 * R1 = R6;
- 00006a48 Cond = R1 - 4;
- 00006a4a R0 = * (R1 - 4 + 8);
- 00006a4c Cond = R0 << 10;
- 00006a50 /* Low-level instruction of type 46 */
- 00006a54 /* Low-level instruction of type 282 */
- 00006a56 R0 = 0x8700be0c;
- 00006a58 Cond = R0 + 8;
- 00006a5a R0 = * (R0 + 8);
- 00006a5c Cond = R0 + 1;
- 00006a5e R1 = 0x8700be0c;
- 00006a60 Cond = R1 + 8;
- 00006a62 * (R1 + 8) = R0 + 1;
- 00006a64 loc_6A64:
- 00006a64 R0 = 0x8700be0c;
- 00006a66 Cond = R0 + 8;
- 00006a6a /* Low-level instruction of type 283 */
- 00006a6c Cond = 0xd9;
- 00006a6e goto loc_6AAA;
- 00006a70 loc_6A70:
- 00006a70 R0 = 0x8700be0c;
- 00006a72 Cond = R0 + 8;
- 00006a72 R0 = R0 + 8;
- 00006a76 Cond = R0 - 8;
- 00006a7a /* Low-level instruction of type 46 */
- 00006a7e R1 = 0x8700be0c;
- 00006a80 Cond = R1 + 10;
- 00006a80 R1 = R1 + 10;
- 00006a82 * R1 = * (R0 - 8);
- 00006a88 /* Low-level instruction of type 283 */
- 00006a8a Cond = 0xd9;
- 00006a8c goto loc_6AAA;
- 00006a8e loc_6A8E:
- 00006a92 Cond = sub_4FDC(R0, R1, R2, R3) - 1;
- 00006a94 if (Cond == 0) goto loc_6A9A;
- 00006a96 Cond = 0xd0;
- 00006a98 goto loc_6AAA;
- 00006a9a loc_6A9A:
- 00006a9a /* Low-level instruction of type 282 */
- 00006a9c Cond = R4 - 1;
- 00006a9e if (Cond != 0) goto loc_6AA8;
- 00006aa0 loc_6AA0:
- 00006aa2 R1 = 0x8700be0c;
- 00006aa4 Cond = R1 + 0x10;
- 00006aa6 * (R1 + 0x10) = 0x80080000;
- 00006aa8 loc_6AA8:
- 00006aa8 /* Low-level instruction of type 2 */
- 00006ab0 sub_6AB0:
- 00006ab0 /* Low-level instruction of type 43 */
- 00006ab6 R4 = R0;
- 00006ab8 R5 = R1;
- 00006aba R6 = R2;
- 00006abc R9 = 0;
- 00006ac0 R10 = R9;
- 00006ac2 R0 = 0x8700be0c;
- 00006ac4 Cond = R0 + 0x10;
- 00006ac6 R11 = * (R0 + 0x10);
- 00006aca Cond = 0;
- 00006ad2 R7 = sub_65F4(R4, 0, R2, R3);
- 00006ad4 R0 = R7 - 0xff00;
- 00006ad8 Cond = R0 - 0xff;
- 00006ada if (Cond != 0) goto loc_6AE8;
- 00006adc R9 = 0xd9;
- 00006ae2 loc_6AE2:
- 00006ae4 /* Low-level instruction of type 42 */
- 00006ae8 loc_6AE8:
- 00006ae8 goto loc_6B6E;
- 00006aea loc_6AEA:
- 00006aea Cond = R10;
- 00006aee if (Cond != 0) goto loc_6B40;
- 00006af0 Cond = R5;
- 00006af2 if (Cond <= 0) goto loc_6B40;
- 00006af4 R10 = 1;
- 00006af8 R8 = 0;
- 00006afc goto loc_6B32;
- 00006afe loc_6AFE:
- 00006afe R0 = 0x8700be0c;
- 00006b00 Cond = R0 + 6;
- 00006b0e sub_540E(R7, R8, R11, R11 + * (R0 + 6));
- 00006b12 /* Low-level instruction of type 283 */
- 00006b14 R9 = 0xd5;
- 00006b18 goto loc_6B36;
- 00006b1a loc_6B1A:
- 00006b1a R0 = 0x8700be0c;
- 00006b1c Cond = R0 + 6;
- 00006b20 R1 = 0x8700be0c;
- 00006b22 Cond = R1 + 14;
- 00006b28 R11 = R11 + * (R0 + 6) + * (R1 + 14);
- 00006b2e R8 = R8 + 1 & 0xff;
- 00006b32 loc_6B32:
- 00006b32 Cond = R8 - R5;
- 00006b34 if (Cond < 0) goto loc_6AFE;
- 00006b36 loc_6B36:
- 00006b36 /* Low-level instruction of type 2 */
- 00006b38 Cond = R9;
- 00006b3c if (Cond == 0) goto loc_6B40;
- 00006b3e goto loc_6B82;
- 00006b40 loc_6B40:
- 00006b40 /* Low-level instruction of type 2 */
- 00006b42 loc_6B42:
- 00006b4c R9 = sub_6806(R4, R7, & var_38, R3);
- 00006b4e Cond = R9;
- 00006b52 if (Cond == 0) goto loc_6B56;
- 00006b54 goto loc_6B64;
- 00006b56 loc_6B56:
- 00006b56 R7 = var_38;
- 00006b60 Cond = sub_5862(R7, R1, R2, R3);
- 00006b62 if (Cond == 0) goto loc_6B42;
- 00006b64 loc_6B64:
- 00006b64 /* Low-level instruction of type 2 */
- 00006b66 Cond = R9;
- 00006b6a if (Cond == 0) goto loc_6B6E;
- 00006b6c goto loc_6B82;
- 00006b6e loc_6B6E:
- 00006b6e var_40 = R10;
- 00006b7e Cond = sub_684A(R7, R5, R6, var_28);
- 00006b80 if (Cond != 0) goto loc_6AEA;
- 00006b82 loc_6B82:
- 00006b82 /* Low-level instruction of type 2 */
- 00006b86 goto loc_6AE2;
- 00006b88 sub_6B88:
- 00006b88 /* Low-level instruction of type 43 */
- 00006b8c Cond = 0;
- 00006b8e Cond = 0;
- 00006b90 Cond = 0;
- 00006b92 var_18 = 0;
- 00006b94 /* Low-level instruction of type 2 */
- 00006b9e sub_659E(R0, SP, R2, R3);
- 00006ba0 /* Low-level instruction of type 282 */
- 00006ba2 Cond = 0xd9;
- 00006ba4 goto loc_6BBC;
- 00006ba6 loc_6BA6:
- 00006baa /* Low-level instruction of type 283 */
- 00006bae sub_5862(R4, R1, R2, R3);
- 00006bb2 /* Low-level instruction of type 283 */
- 00006bb6 sub_6572(R4, R1, R2, R3);
- 00006bba loc_6BBA:
- 00006bba /* Low-level instruction of type 2 */
- 00006bc2 sub_6BC2:
- 00006bc2 /* Low-level instruction of type 43 */
- 00006bc8 R5 = R1;
- 00006bca R6 = R2;
- 00006bcc R7 = R3;
- 00006bce R9 = 0;
- 00006bd6 /* Low-level instruction of type 2 */
- 00006bd8 Cond = 0;
- 00006be0 R8 = sub_65F4(R0, 0, R2, R3);
- 00006be2 R1 = R8 - 0xff00;
- 00006be6 Cond = R1 - 0xff;
- 00006be8 if (Cond != 0) goto loc_6BF0;
- 00006bee goto loc_6C26;
- 00006bf0 loc_6BF0:
- 00006bf8 sub_540E(R8, R5, R6, R7);
- 00006bfc /* Low-level instruction of type 283 */
- 00006c02 goto loc_6C26;
- 00006c04 loc_6C04:
- 00006c04 /* Low-level instruction of type 282 */
- 00006c06 R11 = 0x28;
- 00006c0a R10 = R11;
- 00006c0c goto loc_6C1C;
- 00006c0e loc_6C0E:
- 00006c0e Cond = 0xff;
- 00006c10 * (R7 + R10) = 0xff;
- 00006c18 R10 = R10 + 1 & 0xff;
- 00006c1c loc_6C1C:
- 00006c20 Cond = R10 - R11 + 0x18;
- 00006c22 if (Cond < 0) goto loc_6C0E;
- 00006c24 loc_6C24:
- 00006c24 /* Low-level instruction of type 2 */
- 00006c6c sub_6C6C:
- 00006c6c /* Low-level instruction of type 43 */
- 00006c70 R4 = R0;
- 00006c72 Cond = 0;
- 00006c72 R5 = 0;
- 00006c78 /* Low-level instruction of type 2 */
- 00006c7a goto loc_6C86;
- 00006c7c loc_6C7C:
- 00006c7c Cond = 0;
- 00006c80 * (& var_2C + R5) = 0;
- 00006c84 Cond = R5 + 1;
- 00006c84 R5 = R5 + 1;
- 00006c86 loc_6C86:
- 00006c86 Cond = R5 - 4;
- 00006c88 if (Cond <= 0) goto loc_6C7C;
- 00006c8a /* Low-level instruction of type 2 */
- 00006c8c Cond = R4 - 4;
- 00006c8e if (Cond > 0) goto loc_6CA2;
- 00006c92 var_34 = & var_2C;
- 00006c94 Cond = 1;
- 00006c96 Cond = 7;
- 00006c98 Cond = 0;
- 00006c9a Cond = 0x36;
- 00006ca0 sub_882C(0x36, 0, 7, 1);
- 00006ca2 loc_6CA2:
- 00006ca2 /* Low-level instruction of type 283 */
- 00006caa /* Low-level instruction of type 255 */
- 00006cb6 sub_6CB6:
- 00006cb6 R1 = R0;
- 00006cb8 Cond = 0;
- 00006cb8 R2 = 0;
- 00006cba Cond = 0;
- 00006cba R0 = 0;
- 00006cbc /* Low-level instruction of type 2 */
- 00006cbe goto loc_6CD4;
- 00006cc0 loc_6CC0:
- 00006cc8 Cond = (R1 >> R2 & 1) - 1;
- 00006cca if (Cond != 0) goto loc_6CD0;
- 00006ccc Cond = R0 + 1;
- 00006cce /* Low-level instruction of type 251 */
- 00006cd0 loc_6CD0:
- 00006cd0 Cond = R2 + 1;
- 00006cd2 /* Low-level instruction of type 251 */
- 00006cd4 loc_6CD4:
- 00006cd4 Cond = R2 - 0x1f;
- 00006cd6 if (Cond <= 0) goto loc_6CC0;
- 00006cd8 return R0;
- 00006cda sub_6CDA:
- 00006cda /* Low-level instruction of type 43 */
- 00006ce4 Cond = R0 - 0x65 - 0x10;
- 00006ce6 if (Cond >= 0) goto loc_6D90;
- 00006ce8 /* Low-level instruction of type 274 */
- 00006cfc loc_6CFC:
- 00006cfc Cond = 3;
- 00006cfe R0 = sub_6C6C(3, R1, R2, R3);
- 00006d02 Cond = R0 >> 8;
- 00006d0a sub_6CB6(R0 >> 8, R1, R2, R3);
- 00006d0c goto loc_6D92;
- 00006d0e loc_6D0E:
- 00006d0e Cond = 3;
- 00006d10 sub_6C6C(3, R1, R2, R3);
- 00006d14 /* Low-level instruction of type 251 */
- 00006d1c sub_6CB6(R6, R1, R2, R3);
- 00006d1e goto loc_6D92;
- 00006d20 loc_6D20:
- 00006d20 Cond = 2;
- 00006d22 R0 = sub_6C6C(2, R1, R2, R3);
- 00006d2c sub_6CB6(R0, R1, R2, R3);
- 00006d2e goto loc_6D92;
- 00006d30 loc_6D30:
- 00006d30 Cond = 1;
- 00006d32 R0 = sub_6C6C(1, R1, R2, R3);
- 00006d3c sub_6CB6(R0, R1, R2, R3);
- 00006d3e goto loc_6D92;
- 00006d40 loc_6D40:
- 00006d40 Cond = 0;
- 00006d42 R0 = sub_6C6C(0, R1, R2, R3);
- 00006d4c sub_6CB6(R0, R1, R2, R3);
- 00006d4e goto loc_6D92;
- 00006d50 loc_6D50:
- 00006d50 Cond = 4;
- 00006d52 R0 = sub_6C6C(4, R1, R2, R3);
- 00006d56 Cond = R0 >> 15;
- 00006d58 goto loc_6D92;
- 00006d5a loc_6D5A:
- 00006d5a Cond = 4;
- 00006d5c sub_6C6C(4, R1, R2, R3);
- 00006d60 /* Low-level instruction of type 271 */
- 00006d64 goto loc_6D92;
- 00006d66 loc_6D66:
- 00006d66 Cond = 4;
- 00006d68 sub_6C6C(4, R1, R2, R3);
- 00006d6c /* Low-level instruction of type 271 */
- 00006d70 goto loc_6D92;
- 00006d72 loc_6D72:
- 00006d72 Cond = 4;
- 00006d74 sub_6C6C(4, R1, R2, R3);
- 00006d78 /* Low-level instruction of type 271 */
- 00006d82 sub_6CB6(R6, R1, R2, R3);
- 00006d84 goto loc_6D92;
- 00006d86 loc_6D86:
- 00006d8a /* Low-level instruction of type 255 */
- 00006d8c goto loc_6D92;
- 00006d8e loc_6D8E:
- 00006d8e /* Low-level instruction of type 2 */
- 00006d90 loc_6D90:
- 00006d90 /* Low-level instruction of type 2 */
- 00006d98 sub_6D98:
- 00006d98 /* Low-level instruction of type 43 */
- 00006d9e R4 = R0;
- 00006da0 R5 = R1;
- 00006da4 Cond = 0x10;
- 00006daa var_28 = R4;
- 00006dac var_24 = R5;
- 00006dae Cond = 0;
- 00006dae R0 = 0;
- 00006db0 var_2C = R0;
- 00006db2 var_20 = R0;
- 00006db4 Cond = R4 - 0x6f;
- 00006db6 if (Cond != 0) goto loc_6DCE;
- 00006dba R0 = sub_7E4A(R5, R1, R2, R3);
- 00006dbe var_2C = R0;
- 00006dc2 Cond = 1;
- 00006dc8 var_20 = gvar_7480(1, & var_2C, R2, R3);
- 00006dca Cond = 1;
- 00006dcc var_1C = 1;
- 00006dce loc_6DCE:
- 00006dce Cond = 1;
- 00006dd2 var_30 = & var_28;
- 00006dd4 Cond = 1;
- 00006dd6 Cond = 7;
- 00006dd8 Cond = 0;
- 00006dda Cond = 0x31;
- 00006de0 sub_882C(0x31, 0, 7, 1);
- 00006de2 /* Low-level instruction of type 283 */
- 00006de4 Cond = 0;
- 00006dee sub_6DEE:
- 00006dee /* Low-level instruction of type 43 */
- 00006df0 Cond = 2;
- 00006df6 R5 = gvar_740A(R0, R1, R2, R3);
- 00006df8 Cond = R5 - 1;
- 00006dfa if (Cond == 0) goto loc_6E06;
- 00006dfc Cond = R5 - 2;
- 00006dfe if (Cond == 0) goto loc_6E0A;
- 00006e00 Cond = R5 - 8;
- 00006e02 if (Cond != 0) goto loc_6E12;
- 00006e04 goto loc_6E0E;
- 00006e06 loc_6E06:
- 00006e06 Cond = 1;
- 00006e08 goto loc_6E16;
- 00006e0a loc_6E0A:
- 00006e0a Cond = 2;
- 00006e0c goto loc_6E16;
- 00006e0e loc_6E0E:
- 00006e0e Cond = 8;
- 00006e10 goto loc_6E16;
- 00006e12 loc_6E12:
- 00006e12 Cond = 2;
- 00006e14 /* Low-level instruction of type 2 */
- 00006e1c sub_6E1C:
- 00006e1c /* Low-level instruction of type 43 */
- 00006e1e Cond = 0;
- 00006e20 Cond = 0x73;
- 00006e22 sub_6CDA(0x73, R1, R2, R3);
- 00006e26 /* Low-level instruction of type 283 */
- 00006e28 Cond = 1;
- 00006e32 sub_6E32:
- 00006e32 /* Low-level instruction of type 43 */
- 00006e36 R4 = R0;
- 00006e38 R5 = R1;
- 00006e3a Cond = 0x1a;
- 00006e3c Cond = 0;
- 00006e3e /* Low-level instruction of type 282 */
- 00006e42 Cond = 0;
- 00006e46 sub_3594(R4, 0, R5, R3);
- 00006e4a R7 = 0x4830a218;
- 00006e4e var_28 = * R7;
- 00006e52 var_24 = * (R7 + 4);
- 00006e56 var_20 = * (R7 + 8);
- 00006e5a var_1C = * (R7 + 12);
- 00006e5c Cond = R5 - 0x10;
- 00006e5e if (Cond > 0) goto loc_6E6C;
- 00006e66 sub_355C(R4, SP, R5, R3);
- 00006e6a goto loc_6E76;
- 00006e6c loc_6E6C:
- 00006e6c Cond = 0x10;
- 00006e72 sub_355C(R4, SP, 0x10, R3);
- 00006e76 loc_6E76:
- 00006e76 Cond = 0;
- 00006ebe sub_6EBE:
- 00006ebe /* Low-level instruction of type 43 */
- 00006ec0 Cond = 0x10;
- 00006ec2 Cond = 0x6e;
- 00006ec4 sub_6CDA(0x6e, R1, R2, R3);
- 00006ec8 /* Low-level instruction of type 283 */
- 00006eca Cond = 0;
- 00006f60 sub_6F60:
- 00006f60 /* Low-level instruction of type 43 */
- 00006f62 R4 = R0;
- 00006f64 Cond = 0;
- 00006f66 Cond = 0x39;
- 00006f68 Cond = 0xf0;
- 00006f6a Cond = 1;
- 00006f6c var_1C = 1;
- 00006f74 Cond = * * 0x8700be60 - 0xb4;
- 00006f76 if (Cond != 0) goto loc_6F82;
- 00006f7e Cond = * (* 0x8700be60 + 1) - 1;
- 00006f80 if (Cond <= 0) goto loc_6F86;
- 00006f82 loc_6F82:
- 00006f82 Cond = 0x4e;
- 00006f84 goto loc_7022;
- 00006f86 loc_6F86:
- 00006f92 R5 = * (* 0x8700be60 + 3) | * (* 0x8700be60 + 2) << 8;
- 00006f96 Cond = 1;
- 00006f9a var_20 = 1;
- 00006f9c R0 = * 0x8700be60;
- 00006f9e Cond = R0 + R5;
- 00006fa0 Cond = 0;
- 00006fa0 R3 = 0;
- 00006fa4 Cond = 0xff;
- 00006faa R7 = sub_80D6(0xff, R0 + R5, R3, R3);
- 00006fac Cond = R7 - 0xf0;
- 00006fae if (Cond == 0) goto loc_6FB4;
- 00006fb2 goto loc_7022;
- 00006fb4 loc_6FB4:
- 00006fb8 Cond = * (0x81007a14 + 10) - R5;
- 00006fba if (Cond <= 0) goto loc_6FC0;
- 00006fbc Cond = 0;
- 00006fbc R5 = 0;
- 00006fbe goto loc_6FC8;
- 00006fc0 loc_6FC0:
- 00006fc2 R0 = * (0x81007a14 + 10);
- 00006fc4 Cond = R5 - R0;
- 00006fc6 /* Low-level instruction of type 255 */
- 00006fc8 loc_6FC8:
- 00006fc8 Cond = R5 - 6;
- 00006fca if (Cond < 0) goto loc_6FD2;
- 00006fcc Cond = R5 - 0x3e8;
- 00006fd0 if (Cond <= 0) goto loc_6FD6;
- 00006fd2 loc_6FD2:
- 00006fd2 Cond = 0x4d;
- 00006fd4 goto loc_7022;
- 00006fd6 loc_6FD6:
- 00006fde sub_355C(0x8100762c, * 0x8700be60, R5, R3);
- 00006fe2 var_1C = R5;
- 00006fea R7 = sub_7FDC(& var_1C, R1, R2, R3);
- 00006fec Cond = R7 - 0xf0;
- 00006fee if (Cond == 0) goto loc_6FF4;
- 00006ff2 goto loc_7022;
- 00006ff4 loc_6FF4:
- 00006ff6 R0 = 0x8100762c + R5;
- 00006ff8 R1 = var_1C;
- 00006ffa Cond = R0 - R1;
- 00006ffc var_18 = R0 - R1;
- 00006ffe goto loc_7014;
- 00007000 loc_7000:
- 0000700a R7 = sub_84C6(& var_18, & var_1C, R4, R3);
- 0000700c Cond = R7 - 0xf0;
- 0000700e if (Cond == 0) goto loc_7014;
- 00007012 goto loc_701A;
- 00007014 loc_7014:
- 00007016 Cond = var_1C;
- 00007018 if (Cond != 0) goto loc_7000;
- 0000701a loc_701A:
- 0000701a /* Low-level instruction of type 2 */
- 0000701c Cond = R7 - 0xf0;
- 0000701e if (Cond != 0) goto loc_7022;
- 00007020 Cond = 0xf0;
- 00007026 sub_7026:
- 00007026 /* Low-level instruction of type 43 */
- 0000702a R0 = * 0x8700b730;
- 0000702c var_10 = R0;
- 0000702e Cond = 0x39;
- 00007030 Cond = 0;
- 00007030 R4 = 0;
- 00007032 R0 = gvar_740A(R0, R1, R2, R3);
- 00007036 /* Low-level instruction of type 2 */
- 00007038 goto loc_7046;
- 0000703a loc_703A:
- 0000703a Cond = 0;
- 0000703a R0 = 0;
- 0000703e R1 = 0x81007a14 + (R4 << 4);
- 00007042 * (R1 + 12) = R0;
- 00007044 Cond = R4 + 1;
- 00007044 R4 = R4 + 1;
- 00007046 loc_7046:
- 00007046 Cond = R4 - 4;
- 00007048 if (Cond < 0) goto loc_703A;
- 0000704a Cond = 0;
- 0000704a R4 = 0;
- 0000704c goto loc_705A;
- 0000704e loc_704E:
- 0000704e Cond = 0;
- 0000704e R0 = 0;
- 00007052 R1 = 0x81007c54 + (R4 << 4);
- 00007056 * (R1 + 12) = R0;
- 00007058 Cond = R4 + 1;
- 00007058 R4 = R4 + 1;
- 0000705a loc_705A:
- 0000705a Cond = R4;
- 0000705c if (Cond == 0) goto loc_704E;
- 0000705e Cond = 0;
- 0000705e R4 = 0;
- 00007060 goto loc_706C;
- 00007062 loc_7062:
- 00007062 Cond = 0;
- 00007062 R0 = 0;
- 00007064 R1 = 0x81007ce4;
- 00007066 * (R1 + R4) = R0;
- 0000706a Cond = R4 + 1;
- 0000706a R4 = R4 + 1;
- 0000706c loc_706C:
- 0000706c Cond = R4 - 0x40;
- 0000706e if (Cond < 0) goto loc_7062;
- 00007070 R0 = sub_743E(R0, R1, R2, R3);
- 00007076 Cond = R0 - 0xf0;
- 00007078 if (Cond != 0) goto loc_7088;
- 0000707e Cond = gvar_740A(R0, R1, R2, R3) - 1;
- 00007080 if (Cond == 0) goto loc_7086;
- 00007082 /* Low-level instruction of type 2 */
- 00007084 /* Low-level instruction of type 2 */
- 00007086 loc_7086:
- 00007086 Cond = 0xf0;
- 00007098 sub_7098:
- 00007098 /* Low-level instruction of type 43 */
- 000070a2 R0 = 0x8700b730;
- 000070a4 Cond = R0 + 4;
- 000070a8 var_20 = * (R0 + 4);
- 000070ae Cond = 0;
- 000070b4 Cond = 0;
- 000070b8 R0 = sub_3594(0x8100762c, 0, 0x3e8, R3);
- 000070bc /* Low-level instruction of type 282 */
- 000070be Cond = R0 - 2;
- 000070c0 if (Cond > 0) goto loc_70C4;
- 000070c2 /* Low-level instruction of type 283 */
- 000070c4 loc_70C4:
- 000070c4 R8 = 0x8d;
- 000070c8 goto loc_70F6;
- 000070ca loc_70CA:
- 000070ca Cond = 0;
- 000070ca R7 = 0;
- 000070cc goto loc_70EC;
- 000070ce loc_70CE:
- 000070d2 R1 = 0x8700be60;
- 000070d4 * R1 = * (R5 + R7);
- 000070d8 R0 = * R1;
- 000070da /* Low-level instruction of type 283 */
- 000070dc R8 = 0x8d;
- 000070e0 goto loc_70EA;
- 000070e2 loc_70E2:
- 000070e4 R0 = sub_6F60(R6, R1, R2, R3);
- 000070e8 R8 = R0;
- 000070ea loc_70EA:
- 000070ea Cond = R7 + 1;
- 000070ea R7 = R7 + 1;
- 000070ec loc_70EC:
- 000070ec Cond = R8 - 0xf0;
- 000070f0 if (Cond != 0) goto loc_70F6;
- 000070f2 Cond = R7 - R4;
- 000070f4 if (Cond < 0) goto loc_70CE;
- 000070f6 loc_70F6:
- 000070f6 Cond = R8 - 0xf0;
- 000070fa if (Cond != 0) goto loc_7108;
- 00007100 Cond = gvar_740A(R0, R1, R2, R3) - 1;
- 00007102 if (Cond == 0) goto loc_7108;
- 00007104 /* Low-level instruction of type 2 */
- 00007106 /* Low-level instruction of type 2 */
- 0000711a sub_711A:
- 0000711a /* Low-level instruction of type 43 */
- 0000711c R4 = R0;
- 0000711e R5 = R1;
- 00007120 R0 = 0x8700b730;
- 00007122 Cond = R0 + 8;
- 00007126 var_18 = * (R0 + 8);
- 00007128 Cond = 0;
- 00007128 R7 = 0;
- 0000712a Cond = R4;
- 0000712c if (Cond < 0) goto loc_713A;
- 0000712e Cond = R4 + R5;
- 0000712e R0 = R4 + R5;
- 00007130 Cond = R0 - 0x8000;
- 00007134 if (Cond > 0) goto loc_713A;
- 00007136 Cond = 1;
- 00007136 R7 = 1;
- 00007138 goto loc_7164;
- 0000713a loc_713A:
- 0000713a R6 = 0x81007ce4;
- 0000713c goto loc_715C;
- 0000713e loc_713E:
- 0000713e R0 = * R6;
- 00007140 /* Low-level instruction of type 283 */
- 00007142 goto loc_7162;
- 00007144 loc_7144:
- 00007144 R0 = * R6;
- 00007146 Cond = R0 - R4;
- 00007148 if (Cond > 0) goto loc_715A;
- 0000714a /* Low-level instruction of type 49 */
- 0000714e R0 = R0 + R1;
- 00007150 Cond = R4 + R5;
- 00007150 R1 = R4 + R5;
- 00007152 Cond = R0 - R1;
- 00007154 if (Cond < 0) goto loc_715A;
- 00007156 Cond = 1;
- 00007156 R7 = 1;
- 00007158 goto loc_7162;
- 0000715a loc_715A:
- 0000715a Cond = R6 + 8;
- 0000715a R6 = R6 + 8;
- 0000715c loc_715C:
- 0000715c R0 = 0x81007de4;
- 0000715e Cond = R6 - R0;
- 00007160 if (Cond < 0) goto loc_713E;
- 00007162 loc_7162:
- 00007162 /* Low-level instruction of type 2 */
- 00007164 loc_7164:
- 00007164 Cond = R7 - 1;
- 00007166 if (Cond == 0) goto loc_7170;
- 00007168 Cond = 0x55;
- 0000716a var_18 = 0x55;
- 0000716e goto loc_7182;
- 00007170 loc_7170:
- 00007174 Cond = gvar_740A(R0, R1, R2, R3) - 1;
- 00007176 if (Cond == 0) goto loc_717C;
- 00007178 /* Low-level instruction of type 2 */
- 0000717a /* Low-level instruction of type 2 */
- 0000717c loc_717C:
- 0000717c Cond = 0xf0;
- 0000717e var_18 = 0xf0;
- 0000718e sub_718E:
- 0000718e /* Low-level instruction of type 43 */
- 00007192 R6 = R0;
- 00007194 R4 = R1;
- 00007196 R0 = 0x8700b730;
- 00007198 Cond = R0 + 12;
- 0000719c var_18 = * (R0 + 12);
- 0000719e R7 = & var_2C;
- 000071a0 /* Low-level instruction of type 283 */
- 000071a2 R5 = SP - 0x2c;
- 000071a4 goto loc_71A8;
- 000071a6 loc_71A6:
- 000071a6 R5 = R4;
- 000071a8 loc_71A8:
- 000071a8 Cond = R6;
- 000071aa if (Cond == 0) goto loc_7272;
- 000071ac Cond = R5;
- 000071ae if (Cond == 0) goto loc_7272;
- 000071b2 Cond = * (R6 + 8) - 4;
- 000071b4 if (Cond > 0) goto loc_7272;
- 000071b8 Cond = * (R6 + 10) - 0x60;
- 000071ba if (Cond < 0) goto loc_7272;
- 000071be Cond = * (R6 + 10) - 0x80;
- 000071c0 if (Cond > 0) goto loc_7272;
- 000071c4 R1 = 0x81007c54;
- 000071c6 * (R1 + 10) = * (R6 + 10);
- 000071ca * (R1 + 8) = * (R6 + 8);
- 000071ce * (R1 + 4) = 0x81007c64;
- 000071d2 R3 = 0x81007c54;
- 000071d8 sub_355C(* (R3 + 4), * (R6 + 4), * (R6 + 10), R3);
- 000071e2 sub_355C(0x81007c54, R4, * (R6 + 8), R3);
- 000071e6 Cond = 0;
- 000071e8 R1 = 0x81007c54;
- 000071ea * (R1 + 12) = 0;
- 000071ec Cond = 2;
- 000071ee * R7 = 2;
- 000071f0 Cond = R7 + 1;
- 000071f0 R7 = R7 + 1;
- 000071f2 R0 = R1;
- 000071f4 Cond = R0 >> 0x18;
- 000071f6 * R7 = R0 >> 0x18;
- 000071f8 R0 = R1;
- 000071fa Cond = R0 >> 0x10;
- 000071fc * (R7 + 1) = R0 >> 0x10;
- 000071fe R0 = R1;
- 00007200 Cond = R0 >> 8;
- 00007202 * (R7 + 2) = R0 >> 8;
- 00007206 * (R7 + 3) = R1;
- 00007208 Cond = R7 + 4;
- 00007208 R7 = R7 + 4;
- 0000720a Cond = 0;
- 0000720a R0 = 0;
- 0000720c * R7 = R0;
- 0000720e * (R7 + 1) = R0;
- 00007212 R0 = * (R1 + 8);
- 00007214 Cond = R0 >> 8;
- 00007216 * (R7 + 2) = R0 >> 8;
- 0000721c * (R7 + 3) = * (R1 + 8);
- 0000721e Cond = R7 + 4;
- 0000721e R7 = R7 + 4;
- 00007222 R0 = * (R1 + 4);
- 00007224 Cond = R0 >> 0x18;
- 00007226 * R7 = R0 >> 0x18;
- 0000722a R0 = * (R1 + 4);
- 0000722c Cond = R0 >> 0x10;
- 0000722e * (R7 + 1) = R0 >> 0x10;
- 00007232 R0 = * (R1 + 4);
- 00007234 Cond = R0 >> 8;
- 00007236 * (R7 + 2) = R0 >> 8;
- 0000723c * (R7 + 3) = * (R1 + 4);
- 0000723e Cond = R7 + 4;
- 0000723e R7 = R7 + 4;
- 00007240 Cond = 0;
- 00007240 R0 = 0;
- 00007242 * R7 = R0;
- 00007244 * (R7 + 1) = R0;
- 00007248 R0 = * (R1 + 10);
- 0000724a Cond = R0 >> 8;
- 0000724c * (R7 + 2) = R0 >> 8;
- 00007252 * (R7 + 3) = * (R1 + 10);
- 00007254 Cond = R7 + 4;
- 0000725c Cond = 1;
- 00007262 Cond = sub_8296(1, & var_2C, R5, R3) - 0xf0;
- 00007264 if (Cond != 0) goto loc_7272;
- 00007266 Cond = 1;
- 0000726a * (0x81007c54 + 12) = 1;
- 0000726c Cond = 0xf0;
- 0000726e var_18 = 0xf0;
- 000072a0 sub_72A0:
- 000072a0 /* Low-level instruction of type 43 */
- 000072a6 Cond = 0x39;
- 000072a8 /* Low-level instruction of type 282 */
- 000072aa /* Low-level instruction of type 282 */
- 000072ac Cond = 2;
- 000072ae Cond = 7;
- 000072b0 Cond = 0;
- 000072b2 Cond = 0x48;
- 000072b4 /* Low-level instruction of type 71 */
- 000072b8 sub_882C(0x48, 0, 7, 2);
- 000072bc /* Low-level instruction of type 251 */
- 000072be /* Low-level instruction of type 283 */
- 000072c0 Cond = 0xf0;
- 000072c6 sub_72C6:
- 000072c6 /* Low-level instruction of type 43 */
- 000072ca SP = SP - 0x54;
- 000072cc R4 = R0;
- 000072ce Cond = 0x39;
- 000072d0 R8 = SP;
- 000072d2 R9 = 0;
- 000072d6 R10 = 0;
- 000072da Cond = R4;
- 000072dc if (Cond == 0) goto loc_7396;
- 000072de R1 = 0x208d0024;
- 000072e0 R0 = * R4;
- 000072e2 Cond = R0 & R1;
- 000072e4 Cond = (R0 & R1) - R1;
- 000072e6 if (Cond != 0) goto loc_7396;
- 000072ea Cond = * (R4 + 12) - 0x14;
- 000072ec if (Cond != 0) goto loc_7396;
- 000072f0 Cond = * (R4 + 8);
- 000072f2 /* Low-level instruction of type 34 */
- 000072f6 Cond = * (R4 + 0x10);
- 000072f8 if (Cond == 0) goto loc_7394;
- 000072fa R8 = R8 + 1;
- 000072fe /* Low-level instruction of type 2 */
- 00007300 loc_7300:
- 00007300 Cond = R10;
- 00007304 if (Cond != 0) goto loc_730A;
- 00007306 R6 = * (R4 + 8);
- 00007308 goto loc_730C;
- 0000730a loc_730A:
- 0000730a R6 = * (R6 + 8);
- 0000730c loc_730C:
- 0000730c R0 = * (R6 + 4);
- 0000730e Cond = R0 >> 0x18;
- 00007310 * R8 = R0 >> 0x18;
- 00007314 R0 = * (R6 + 4);
- 00007316 Cond = R0 >> 0x10;
- 00007318 * (R8 + 1) = R0 >> 0x10;
- 0000731c R0 = * (R6 + 4);
- 0000731e Cond = R0 >> 8;
- 00007320 * (R8 + 2) = R0 >> 8;
- 00007326 * (R8 + 3) = * (R6 + 4);
- 0000732a R8 = R8 + 4;
- 0000732e R0 = * R6;
- 00007330 Cond = R0 >> 0x18;
- 00007332 * R8 = R0 >> 0x18;
- 00007336 R0 = * R6;
- 00007338 Cond = R0 >> 0x10;
- 0000733a * (R8 + 1) = R0 >> 0x10;
- 0000733e R0 = * R6;
- 00007340 Cond = R0 >> 8;
- 00007342 * (R8 + 2) = R0 >> 8;
- 00007348 * (R8 + 3) = * R6;
- 0000734c R8 = R8 + 4;
- 00007352 R9 = R9 + * R6;
- 00007358 R10 = R10 + 1 & 0xff;
- 0000735e /* Low-level instruction of type 282 */
- 00007360 Cond = R10 - 10;
- 00007364 if (Cond < 0) goto loc_7300;
- 00007366 loc_7366:
- 00007366 var_78 = R10;
- 0000736c Cond = * (R4 + 4) - R9;
- 0000736e if (Cond != 0) goto loc_7396;
- 00007376 Cond = (* R4 & 0x1000000) - 0x1000000;
- 0000737a if (Cond != 0) goto loc_7382;
- 0000737c R11 = * (R4 + 0x10);
- 00007380 goto loc_7388;
- 00007382 loc_7382:
- 00007384 R11 = * (* (R4 + 0x10) + 4);
- 00007388 loc_7388:
- 00007390 sub_72A0(SP, R11, R2, R3);
- 00007392 goto loc_7396;
- 00007394 loc_7394:
- 00007394 Cond = 0x8e;
- 0000739e sub_739E:
- 0000739e /* Low-level instruction of type 43 */
- 000073a0 R2 = R0;
- 000073a2 Cond = 1;
- 000073a4 R5 = * R2;
- 000073a6 Cond = R2 + 1;
- 000073a6 R2 = R2 + 1;
- 000073a8 goto loc_73E6;
- 000073aa loc_73AA:
- 000073aa R6 = * R2;
- 000073ac Cond = R6 << 0x18;
- 000073c0 Cond = R2 + 4;
- 000073c0 R2 = R2 + 4;
- 000073c2 R6 = * R2;
- 000073c4 Cond = R6 << 0x18;
- 000073d4 R4 = R6 << 0x18 | * (R2 + 1) << 0x10 | * (R2 + 2) << 8 | * (R2 + 3);
- 000073d8 Cond = R2 + 4;
- 000073d8 R2 = R2 + 4;
- 000073da Cond = R5 - 1;
- 000073da R5 = R5 - 1;
- 000073dc Cond = (R6 << 0x18 | * (R2 + 1) << 0x10 | * (R2 + 2) << 8 | * (R2 + 3)) & R1;
- 000073de if (Cond != 0) goto loc_73E4;
- 000073e0 Cond = R4 & R1;
- 000073e2 if (Cond == 0) goto loc_73E6;
- 000073e4 loc_73E4:
- 000073e4 Cond = 0;
- 000073e6 loc_73E6:
- 000073e6 Cond = R5;
- 000073e8 if (Cond != 0) goto loc_73AA;
- 000073ec sub_73EC:
- 000073ec /* Low-level instruction of type 43 */
- 000073ee R5 = R0;
- 000073f0 /* Low-level instruction of type 282 */
- 000073f2 Cond = 14;
- 000073f6 R0 = sub_6E32(R5, 14, R2, R3);
- 000073fc /* Low-level instruction of type 282 */
- 000073fe Cond = 14;
- 00007400 Cond = 0xff;
- 00007404 sub_3594(R5, 0xff, 14, R3);
- 0000743e sub_743E:
- 0000743e Cond = 0xf0;
- 00007440 return 0xf0;
- 00007460 sub_7460:
- 00007460 Cond = 0;
- 00007462 return 0;
- 00007464 sub_7464:
- 00007464 /* Low-level instruction of type 43 */
- 00007466 Cond = 0x39;
- 00007468 sub_6EBE(R0, R1, R2, R3);
- 0000746c /* Low-level instruction of type 283 */
- 0000746e Cond = 0xf0;
- 00007470 goto loc_7474;
- 00007472 loc_7472:
- 00007472 Cond = 0x53;
- 00007e4a sub_7E4A:
- 00007e4a /* Low-level instruction of type 43 */
- 00007e4e R2 = R0;
- 00007e52 /* Low-level instruction of type 251 */
- 00007e54 Cond = 0;
- 00007e54 R3 = 0;
- 00007e56 goto loc_7E62;
- 00007e58 loc_7E58:
- 00007e58 Cond = R0 << 8;
- 00007e58 R0 = R0 << 8;
- 00007e5a Cond = R2 >> 8;
- 00007e5a R2 = R2 >> 8;
- 00007e5c /* Low-level instruction of type 251 */
- 00007e5e Cond = R0 | R4;
- 00007e5e R0 = R0 | R4;
- 00007e60 Cond = R3 + 1;
- 00007e60 R3 = R3 + 1;
- 00007e62 loc_7E62:
- 00007e62 Cond = R3 - 3;
- 00007e64 if (Cond < 0) goto loc_7E58;
- 00007e90 sub_7E90:
- 00007e90 /* Low-level instruction of type 43 */
- 00007e94 R4 = R1;
- 00007e96 R5 = R2;
- 00007e98 Cond = 0x8e;
- 00007e9a Cond = 0;
- 00007e9a R0 = 0;
- 00007e9c var_20 = R0;
- 00007ea4 sub_8A74(R0, R4, & var_1C, R3);
- 00007eac Cond = var_1C - 1;
- 00007eae if (Cond != 0) goto loc_7EBE;
- 00007eb4 Cond = 13;
- 00007eb6 sub_8AA0(13, R4, R5, R3);
- 00007eba Cond = 0xf0;
- 00007ebc goto loc_7F0C;
- 00007ebe loc_7EBE:
- 00007ec2 Cond = var_1C - 2;
- 00007ec4 if (Cond != 0) goto loc_7ED4;
- 00007eca Cond = 14;
- 00007ecc sub_8AA0(14, R4, R5, R3);
- 00007ed0 Cond = 0xf0;
- 00007ed2 goto loc_7F0C;
- 00007ed4 loc_7ED4:
- 00007ed8 Cond = var_1C - 3;
- 00007eda if (Cond != 0) goto loc_7EEA;
- 00007ee0 Cond = 15;
- 00007ee2 sub_8AA0(15, R4, R5, R3);
- 00007ee6 Cond = 0xf0;
- 00007ee8 goto loc_7F0C;
- 00007eea loc_7EEA:
- 00007eee Cond = var_1C - 0x41;
- 00007ef0 if (Cond == 0) goto loc_7EFA;
- 00007ef6 Cond = var_1C - 0x62;
- 00007ef8 if (Cond != 0) goto loc_7F0C;
- 00007efa loc_7EFA:
- 00007f06 Cond = sub_8B36(R4, var_1C, R5, R3) - 0xf0;
- 00007f08 if (Cond != 0) goto loc_7F0C;
- 00007f0a Cond = 0xf0;
- 00007f12 sub_7F12:
- 00007f12 /* Low-level instruction of type 43 */
- 00007f16 Cond = R0 + 1;
- 00007f18 R1 = 0x81007ce4;
- 00007f1a goto loc_7F5A;
- 00007f1c loc_7F1C:
- 00007f1c /* Low-level instruction of type 283 */
- 00007f1e goto loc_7F60;
- 00007f20 loc_7F20:
- 00007f22 /* Low-level instruction of type 283 */
- 00007f24 R3 = * R0;
- 00007f26 Cond = R3 << 0x18;
- 00007f30 R3 = R3 << 0x18 | * (R0 + 1) << 0x10 | * (R0 + 2) << 8;
- 00007f34 R4 = * (R0 + 3);
- 00007f36 Cond = R3 | R4;
- 00007f38 * R1 = R3 | R4;
- 00007f3a Cond = R0 + 4;
- 00007f3a R0 = R0 + 4;
- 00007f3c R3 = * R0;
- 00007f3e Cond = R3 << 0x18;
- 00007f48 R3 = R3 << 0x18 | * (R0 + 1) << 0x10 | * (R0 + 2) << 8;
- 00007f4c R4 = * (R0 + 3);
- 00007f4e Cond = R3 | R4;
- 00007f50 * (R1 + 4) = R3 | R4;
- 00007f52 Cond = R0 + 4;
- 00007f54 Cond = R2 - 1;
- 00007f56 /* Low-level instruction of type 255 */
- 00007f58 loc_7F58:
- 00007f58 Cond = R1 + 8;
- 00007f58 R1 = R1 + 8;
- 00007f5a loc_7F5A:
- 00007f5c Cond = R1 - 0x81007de4;
- 00007f5e if (Cond < 0) goto loc_7F1C;
- 00007f64 sub_7F64:
- 00007f64 /* Low-level instruction of type 43 */
- 00007f68 R4 = R0;
- 00007f6a R5 = R1;
- 00007f6c R6 = R2;
- 00007f70 R8 = arg_0;
- 00007f78 R10 = 0;
- 00007f7c /* Low-level instruction of type 283 */
- 00007f82 R11 = sub_7460(R0, R1, R2, R3);
- 00007f84 Cond = R11 - 1;
- 00007f88 if (Cond >= 0) goto loc_7F9E;
- 00007f8c R10 = 0x81007c54 + (R11 << 4);
- 00007f90 goto loc_7F9E;
- 00007f92 loc_7F92:
- 00007f92 Cond = R7 - 4;
- 00007f94 if (Cond > 0) goto loc_7F9E;
- 00007f96 Cond = R7 - 1;
- 00007f98 R1 = 0x81007a14;
- 00007f9a R10 = R1 + (R7 - 1 << 4);
- 00007f9e loc_7F9E:
- 00007f9e Cond = R10;
- 00007fa2 if (Cond != 0) goto loc_7FAA;
- 00007fa4 R9 = 0x87;
- 00007fa8 goto loc_7FCA;
- 00007faa loc_7FAA:
- 00007fae Cond = * (R10 + 12) - 1;
- 00007fb0 if (Cond == 0) goto loc_7FB8;
- 00007fb2 R9 = 0x8b;
- 00007fb6 goto loc_7FCA;
- 00007fb8 loc_7FB8:
- 00007fc0 var_28 = R10;
- 00007fc8 R9 = sub_906A(R4, R5, R8, R6);
- 00007fca loc_7FCA:
- 00007fca Cond = R9 - 0xf0;
- 00007fce if (Cond != 0) goto loc_7FD6;
- 00007fd2 sub_7F12(R5, R1, R2, R3);
- 00007fdc sub_7FDC:
- 00007fdc /* Low-level instruction of type 43 */
- 00007fe4 Cond = 0x35;
- 00007fe6 R6 = * R0;
- 00007fe8 Cond = 4;
- 00007fe8 R7 = 4;
- 00007fee R0 = gvar_740A(R0, R1, R2, R3);
- 00007ff4 Cond = R7 + 1;
- 00007ff4 R7 = R7 + 1;
- 00007ff6 R2 = 0x8100762c;
- 00007ff8 R1 = * (R2 + R7);
- 00007ffa Cond = R0 - R1;
- 00007ffc if (Cond == 0) goto loc_8002;
- 00007ffe Cond = 0x2e;
- 00008000 goto loc_80CE;
- 00008002 loc_8002:
- 00008004 sub_73EC(& var_2C, R1, R2, R3);
- 0000800a Cond = R7 + 1;
- 0000800a R7 = R7 + 1;
- 0000800e R8 = * (0x8100762c + R7);
- 00008016 Cond = R8 + 7 - R6;
- 00008018 if (Cond <= 0) goto loc_801E;
- 0000801a Cond = 0x4d;
- 0000801c goto loc_80CE;
- 0000801e loc_801E:
- 0000801e Cond = R8 - 0x14;
- 00008022 if (Cond != 0) goto loc_8032;
- 00008024 R1 = 0x8100762c;
- 00008026 Cond = R1 + R7;
- 0000802c sub_3574(0x8700b752 + R7, 0x8700b752, R8, R3);
- 00008030 /* Low-level instruction of type 282 */
- 00008032 loc_8032:
- 00008032 Cond = R8 - 14;
- 00008036 if (Cond != 0) goto loc_8046;
- 00008038 R1 = 0x8100762c;
- 0000803a Cond = R1 + R7;
- 00008040 sub_3574(& var_2C + R7, & var_2C, R8, R3);
- 00008044 /* Low-level instruction of type 282 */
- 00008046 loc_8046:
- 00008046 Cond = 0x2d;
- 00008048 goto loc_80CE;
- 0000804a loc_804A:
- 0000804a Cond = R8 - 0x14;
- 0000804e if (Cond == 0) goto loc_805C;
- 00008050 R0 = sub_7464(R0, R1, R2, R3);
- 00008054 Cond = R0 - 0xf0;
- 00008056 if (Cond == 0) goto loc_805C;
- 00008058 Cond = 0x53;
- 0000805a goto loc_80CE;
- 0000805c loc_805C:
- 0000805e R0 = sub_7454(R0, R1, R2, R3);
- 00008066 Cond = R0 - * (0x8100762c + R7 + R8);
- 00008068 if (Cond == 0) goto loc_806E;
- 0000806a Cond = 0x3a;
- 0000806c goto loc_80CE;
- 0000806e loc_806E:
- 0000806e R0 = R6 - R8;
- 00008072 Cond = R0 - 7;
- 00008074 * R4 = R0 - 7;
- 00008076 Cond = 1;
- 00008078 * R9 = 1;
- 0000807c R9 = R9 + 1;
- 00008080 R0 = 0x8100762c;
- 00008082 Cond = R0 >> 0x18;
- 00008084 * R9 = R0 >> 0x18;
- 00008088 R0 = 0x8100762c;
- 0000808a Cond = R0 >> 0x10;
- 0000808c * (R9 + 1) = R0 >> 0x10;
- 00008090 R0 = 0x8100762c;
- 00008092 Cond = R0 >> 8;
- 00008094 * (R9 + 2) = R0 >> 8;
- 0000809a * (R9 + 3) = 0x8100762c;
- 0000809e R9 = R9 + 4;
- 000080a2 Cond = R6 >> 0x18;
- 000080a4 * R9 = R6 >> 0x18;
- 000080a8 Cond = R6 >> 0x10;
- 000080aa * (R9 + 1) = R6 >> 0x10;
- 000080ae Cond = R6 >> 8;
- 000080b0 * (R9 + 2) = R6 >> 8;
- 000080b4 * (R9 + 3) = R6;
- 000080b8 Cond = 0;
- 000080bc var_40 = 0;
- 000080be R0 = * 0x8700be60;
- 000080c0 Cond = R0 + R6;
- 000080c2 Cond = 1;
- 000080c6 Cond = 0x11;
- 000080cc sub_7F64(0x11, & var_38, R0 + R6, 1);
- 000080d6 sub_80D6:
- 000080d6 /* Low-level instruction of type 43 */
- 000080de R5 = R1;
- 000080e0 R6 = R2;
- 000080e4 R8 = arg_0;
- 000080e8 R9 = & var_4C;
- 000080f8 /* Low-level instruction of type 71 */
- 000080fc /* Low-level instruction of type 71 */
- 00008102 var_78 = & var_2C;
- 00008110 Cond = sub_88D0(R0, R5, & var_28, & var_34) - 0xf0;
- 00008112 if (Cond != 0) goto loc_8124;
- 00008114 Cond = R8 - 4;
- 00008118 if (Cond > 0) goto loc_8120;
- 0000811a Cond = R12;
- 0000811e if (Cond != 0) goto loc_8126;
- 00008120 loc_8120:
- 00008124 loc_8124:
- 00008124 goto loc_828E;
- 00008126 loc_8126:
- 0000812c R10 = 0x81007a14 + (R8 - 1 << 4);
- 00008134 Cond = * (R10 + 12) - 1;
- 00008136 if (Cond != 0) goto loc_8178;
- 00008140 Cond = * (R10 + 10) - var_34;
- 00008142 if (Cond != 0) goto loc_8178;
- 0000814c Cond = * (R10 + 8) - var_38;
- 0000814e if (Cond != 0) goto loc_8178;
- 00008150 R2 = var_28;
- 00008152 Cond = R5 + R2;
- 0000815c sub_3574(* (R10 + 4), R5 + var_34, var_34, R3);
- 00008160 /* Low-level instruction of type 283 */
- 00008162 R0 = var_2C;
- 00008164 Cond = R5 + R0;
- 0000816c sub_3574(R10, R5 + R0, var_38, R3);
- 00008170 /* Low-level instruction of type 283 */
- 00008176 goto loc_828E;
- 00008178 loc_8178:
- 00008178 Cond = 1;
- 0000817a * R9 = 1;
- 0000817e R9 = R9 + 1;
- 00008182 Cond = R5 >> 0x18;
- 00008184 * R9 = R5 >> 0x18;
- 00008188 Cond = R5 >> 0x10;
- 0000818a * (R9 + 1) = R5 >> 0x10;
- 0000818e Cond = R5 >> 8;
- 00008190 * (R9 + 2) = R5 >> 8;
- 00008194 * (R9 + 3) = R5;
- 00008198 R9 = R9 + 4;
- 000081a0 R0 = var_30 + var_3C;
- 000081a2 Cond = R0 >> 0x18;
- 000081a4 * R9 = R0 >> 0x18;
- 000081ac R0 = var_30 + var_3C;
- 000081ae Cond = R0 >> 0x10;
- 000081b0 * (R9 + 1) = R0 >> 0x10;
- 000081b8 R0 = var_30 + var_3C;
- 000081ba Cond = R0 >> 8;
- 000081bc * (R9 + 2) = R0 >> 8;
- 000081c6 * (R9 + 3) = var_30 + var_3C;
- 000081ce /* Low-level instruction of type 282 */
- 000081d4 Cond = 1;
- 000081da Cond = sub_7E90(1, & var_4C, & var_60, R3) - 0xf0;
- 000081dc if (Cond != 0) goto loc_81EA;
- 000081de Cond = 0x14;
- 000081e4 sub_3574(R6, & var_60, 0x14, R3);
- 000081e8 /* Low-level instruction of type 282 */
- 000081ea loc_81EA:
- 000081ee goto loc_828E;
- 000081f0 loc_81F0:
- 000081f0 Cond = 1;
- 000081f2 * R9 = 1;
- 000081f6 R9 = R9 + 1;
- 000081fa Cond = R5 >> 0x18;
- 000081fc * R9 = R5 >> 0x18;
- 00008200 Cond = R5 >> 0x10;
- 00008202 * (R9 + 1) = R5 >> 0x10;
- 00008206 Cond = R5 >> 8;
- 00008208 * (R9 + 2) = R5 >> 8;
- 0000820c * (R9 + 3) = R5;
- 00008210 R9 = R9 + 4;
- 00008214 R0 = var_40;
- 00008216 Cond = R0 >> 0x18;
- 00008218 * R9 = R0 >> 0x18;
- 0000821c R0 = var_40;
- 0000821e Cond = R0 >> 0x10;
- 00008220 * (R9 + 1) = R0 >> 0x10;
- 00008224 R0 = var_40;
- 00008226 Cond = R0 >> 8;
- 00008228 * (R9 + 2) = R0 >> 8;
- 0000822e * (R9 + 3) = var_40;
- 00008232 Cond = 0;
- 00008234 var_78 = 0;
- 00008236 R0 = var_30;
- 00008238 Cond = R5 + R0;
- 0000823e Cond = 0x11;
- 00008246 Cond = sub_7F64(0x11, & var_4C, R5 + R0, R7) - 0xf0;
- 0000824a if (Cond == 0) goto loc_828E;
- 00008250 * (R10 + 10) = var_34;
- 00008258 * (R10 + 8) = var_38;
- 00008266 * (R10 + 4) = 0x81007a54 + (R8 - 1 << 7);
- 0000826a R2 = var_28;
- 0000826c Cond = R5 + R2;
- 00008276 sub_355C(* (R10 + 4), R5 + var_34, var_34, R3);
- 0000827a R0 = var_2C;
- 0000827c Cond = R5 + R0;
- 00008284 sub_355C(R10, R5 + R0, var_38, R3);
- 00008288 Cond = 1;
- 0000828a * (R10 + 12) = 1;
- 00008296 sub_8296:
- 00008296 /* Low-level instruction of type 43 */
- 0000829a SP = SP - 0x30;
- 0000829c R4 = R0;
- 0000829e R5 = R1;
- 000082a0 R6 = R2;
- 000082a2 Cond = 0x8e;
- 000082a4 R8 = 0;
- 000082ac Cond = (R4 & 15) - 1;
- 000082ae if (Cond != 0) goto loc_82B6;
- 000082b0 R8 = 0x14;
- 000082b4 goto loc_82D0;
- 000082b6 loc_82B6:
- 000082ba Cond = (R4 & 15) - 2;
- 000082bc if (Cond != 0) goto loc_82C4;
- 000082be R8 = 0x20;
- 000082c2 goto loc_82D0;
- 000082c4 loc_82C4:
- 000082c8 Cond = (R4 & 15) - 3;
- 000082ca if (Cond != 0) goto loc_82D0;
- 000082cc R8 = 0x30;
- 000082d0 loc_82D0:
- 000082da R7 = sub_7E90(R4, R5, SP, R3);
- 000082dc Cond = R7 - 0xf0;
- 000082de if (Cond != 0) goto loc_82EE;
- 000082e6 sub_3574(R6, SP, R8, R3);
- 000082ea /* Low-level instruction of type 282 */
- 000082ec Cond = 0x36;
- 000082ec R7 = 0x36;
- 000082ee loc_82EE:
- 000082ee Cond = R7 - 0xf0;
- 000082f0 if (Cond != 0) goto loc_82F8;
- 000082f4 sub_7F12(R5, R1, R2, R3);
- 00008320 sub_8320:
- 00008320 /* Low-level instruction of type 43 */
- 00008322 R3 = R0;
- 00008324 Cond = 0x66;
- 00008326 Cond = R2 - 0x8000;
- 0000832a if (Cond < 0) goto locret_8368;
- 0000832c /* Low-level instruction of type 2 */
- 0000832e Cond = R3 - 1;
- 00008330 if (Cond != 0) goto loc_833A;
- 00008334 * R2 = * R1;
- 00008336 Cond = 0xf0;
- 00008338 goto locret_8368;
- 0000833a loc_833A:
- 0000833a Cond = R3 - 2;
- 0000833c if (Cond != 0) goto loc_834C;
- 00008346 * R2 = * (R1 + 1) | * R1 << 8;
- 00008348 Cond = 0xf0;
- 0000834a goto locret_8368;
- 0000834c loc_834C:
- 0000834c Cond = R3 - 4;
- 0000834e if (Cond != 0) goto locret_8368;
- 00008350 R4 = * R1;
- 00008352 Cond = R4 << 0x18;
- 0000835c R4 = R4 << 0x18 | * (R1 + 1) << 0x10 | * (R1 + 2) << 8;
- 00008360 R5 = * (R1 + 3);
- 00008362 Cond = R4 | R5;
- 00008364 * R2 = R4 | R5;
- 00008366 Cond = 0xf0;
- 0000836c sub_836C:
- 0000836e Cond = 5;
- 00008374 return 5 + (R0 << 3);
- 00008376 sub_8376:
- 00008376 /* Low-level instruction of type 43 */
- 0000837e R0 = sub_836C(R1, R1, R2, R0);
- 00008382 R5 = R0;
- 00008384 R0 = R3 - 0xc00;
- 00008388 Cond = R0 - 12;
- 00008388 R0 = R0 - 12;
- 0000838a if (Cond == 0) goto loc_839E;
- 0000838c Cond = R0 - 0x24;
- 0000838e if (Cond == 0) goto loc_839C;
- 00008390 R0 = R0 - 0x3000;
- 00008394 Cond = R0 - 0x30;
- 00008396 if (Cond != 0) goto loc_83A2;
- 00008398 Cond = R5 + 10;
- 0000839a goto loc_83A6;
- 0000839c loc_839C:
- 0000839c /* Low-level instruction of type 2 */
- 0000839e loc_839E:
- 0000839e Cond = R5 + 5;
- 000083a0 goto loc_83A6;
- 000083a2 loc_83A2:
- 000083a2 Cond = 0;
- 000083a4 /* Low-level instruction of type 2 */
- 000083bc sub_83BC:
- 000083bc /* Low-level instruction of type 43 */
- 000083be Cond = 0;
- 000083be R4 = 0;
- 000083c4 Cond = (R2 & 15) - 1;
- 000083c6 if (Cond != 0) goto loc_83CC;
- 000083c8 Cond = 0x14;
- 000083c8 R4 = 0x14;
- 000083ca goto loc_83E2;
- 000083cc loc_83CC:
- 000083d0 Cond = (R2 & 15) - 2;
- 000083d2 if (Cond != 0) goto loc_83D8;
- 000083d4 Cond = 0x20;
- 000083d4 R4 = 0x20;
- 000083d6 goto loc_83E2;
- 000083d8 loc_83D8:
- 000083dc Cond = (R2 & 15) - 3;
- 000083de if (Cond != 0) goto loc_83E2;
- 000083e0 Cond = 0x30;
- 000083e0 R4 = 0x30;
- 000083e2 loc_83E2:
- 000083e2 /* Low-level instruction of type 282 */
- 000083e4 Cond = R0 - 1;
- 000083e6 if (Cond != 0) goto loc_84C0;
- 000083e8 goto loc_846C;
- 000083ea loc_83EA:
- 000083ea Cond = 3;
- 000083ec * R3 = 3;
- 000083ee Cond = R3 + 1;
- 000083ee R3 = R3 + 1;
- 000083f0 Cond = R1 >> 0x18;
- 000083f2 * R3 = R1 >> 0x18;
- 000083f4 Cond = R1 >> 0x10;
- 000083f6 * (R3 + 1) = R1 >> 0x10;
- 000083f8 Cond = R1 >> 8;
- 000083fa * (R3 + 2) = R1 >> 8;
- 000083fc * (R3 + 3) = R1;
- 000083fe Cond = R3 + 4;
- 000083fe R3 = R3 + 4;
- 00008400 Cond = R4 >> 0x18;
- 00008402 * R3 = R4 >> 0x18;
- 00008404 Cond = R4 >> 0x10;
- 00008406 * (R3 + 1) = R4 >> 0x10;
- 00008408 Cond = R4 >> 8;
- 0000840a * (R3 + 2) = R4 >> 8;
- 0000840c * (R3 + 3) = R4;
- 0000840e Cond = R3 + 4;
- 0000840e R3 = R3 + 4;
- 00008410 R5 = R1 + 0x30;
- 00008414 Cond = R5 >> 0x18;
- 00008416 * R3 = R5 >> 0x18;
- 00008418 R5 = R1 + 0x30;
- 0000841c Cond = R5 >> 0x10;
- 0000841e * (R3 + 1) = R5 >> 0x10;
- 00008420 R5 = R1 + 0x30;
- 00008424 Cond = R5 >> 8;
- 00008426 * (R3 + 2) = R5 >> 8;
- 0000842c * (R3 + 3) = R1 + 0x30;
- 0000842e Cond = R3 + 4;
- 0000842e R3 = R3 + 4;
- 00008430 Cond = 0;
- 00008430 R5 = 0;
- 00008432 * R3 = R5;
- 00008434 * (R3 + 1) = R5;
- 00008436 * (R3 + 2) = R5;
- 00008438 Cond = 14;
- 0000843a * (R3 + 3) = 14;
- 0000843c Cond = R3 + 4;
- 0000843c R3 = R3 + 4;
- 0000843e R5 = R1 + 0x3e;
- 00008442 Cond = R5 >> 0x18;
- 00008444 * R3 = R5 >> 0x18;
- 00008446 R5 = R1 + 0x3e;
- 0000844a Cond = R5 >> 0x10;
- 0000844c * (R3 + 1) = R5 >> 0x10;
- 0000844e R5 = R1 + 0x3e;
- 00008452 Cond = R5 >> 8;
- 00008454 * (R3 + 2) = R5 >> 8;
- 0000845a * (R3 + 3) = R1 + 0x3e;
- 0000845c Cond = R3 + 4;
- 0000845c R3 = R3 + 4;
- 0000845e Cond = 0;
- 0000845e R5 = 0;
- 00008460 * R3 = R5;
- 00008462 * (R3 + 1) = R5;
- 00008464 * (R3 + 2) = R5;
- 00008466 Cond = 1;
- 00008468 * (R3 + 3) = 1;
- 0000846a goto loc_84C2;
- 0000846c loc_846C:
- 0000846c Cond = 2;
- 0000846e * R3 = 2;
- 00008470 Cond = R3 + 1;
- 00008470 R3 = R3 + 1;
- 00008472 Cond = R1 >> 0x18;
- 00008474 * R3 = R1 >> 0x18;
- 00008476 Cond = R1 >> 0x10;
- 00008478 * (R3 + 1) = R1 >> 0x10;
- 0000847a Cond = R1 >> 8;
- 0000847c * (R3 + 2) = R1 >> 8;
- 0000847e * (R3 + 3) = R1;
- 00008480 Cond = R3 + 4;
- 00008480 R3 = R3 + 4;
- 00008482 Cond = R4 >> 0x18;
- 00008484 * R3 = R4 >> 0x18;
- 00008486 Cond = R4 >> 0x10;
- 00008488 * (R3 + 1) = R4 >> 0x10;
- 0000848a Cond = R4 >> 8;
- 0000848c * (R3 + 2) = R4 >> 8;
- 0000848e * (R3 + 3) = R4;
- 00008490 Cond = R3 + 4;
- 00008490 R3 = R3 + 4;
- 00008492 R5 = R1 + 0x40;
- 00008496 Cond = R5 >> 0x18;
- 00008498 * R3 = R5 >> 0x18;
- 0000849a R5 = R1 + 0x40;
- 0000849e Cond = R5 >> 0x10;
- 000084a0 * (R3 + 1) = R5 >> 0x10;
- 000084a2 R5 = R1 + 0x40;
- 000084a6 Cond = R5 >> 8;
- 000084a8 * (R3 + 2) = R5 >> 8;
- 000084ae * (R3 + 3) = R1 + 0x40;
- 000084b0 Cond = R3 + 4;
- 000084b0 R3 = R3 + 4;
- 000084b2 Cond = 0;
- 000084b2 R5 = 0;
- 000084b4 * R3 = R5;
- 000084b6 * (R3 + 1) = R5;
- 000084b8 * (R3 + 2) = R5;
- 000084ba Cond = 2;
- 000084bc * (R3 + 3) = 2;
- 000084be goto loc_84C2;
- 000084c0 loc_84C0:
- 000084c0 /* Low-level instruction of type 2 */
- 000084c6 sub_84C6:
- 000084c6 /* Low-level instruction of type 43 */
- 000084cc R4 = R0;
- 000084ce R5 = R1;
- 000084d0 R6 = R2;
- 000084d2 Cond = 0;
- 000084d2 R7 = 0;
- 000084d4 R8 = 0xf0f0;
- 000084d8 R9 = R7;
- 000084da Cond = 0;
- 000084dc var_28 = 0;
- 000084de Cond = 0xff;
- 000084e0 var_2C = 0xff;
- 000084e2 Cond = 0;
- 000084e4 var_3C = 0;
- 000084e6 Cond = 0xf0;
- 000084e8 var_40 = 0xf0;
- 000084ec Cond = * R5 - 2;
- 000084ee if (Cond >= 0) goto loc_84F6;
- 000084f0 Cond = 0x8d;
- 000084f2 var_40 = 0x8d;
- 000084f4 goto loc_85C0;
- 000084f6 loc_84F6:
- 000084f6 R7 = * R4;
- 000084fc R8 = * (R7 + 1) | * R7 << 8;
- 00008500 R0 = R8 - 0xf000;
- 00008504 Cond = R0 - 0xf0;
- 00008506 if (Cond == 0) goto loc_851C;
- 0000850a Cond = * R5 - 5;
- 0000850c if (Cond <= 0) goto loc_851C;
- 00008516 var_2C = * (R7 + 3) | * (R7 + 2) << 8;
- 0000851a var_28 = * (R7 + 4);
- 0000851c loc_851C:
- 0000851c R1 = 0x30ff;
- 00008520 R0 = R8 - R1;
- 00008524 Cond = R8 - R1;
- 00008526 if (Cond == 0) goto loc_858C;
- 00008528 if (Cond > 0) goto loc_853C;
- 0000852a R0 = R8 - 0xc00;
- 0000852e Cond = R0 - 3;
- 0000852e R0 = R0 - 3;
- 00008530 if (Cond == 0) goto loc_8568;
- 00008532 Cond = R0 - 9;
- 00008534 if (Cond == 0) goto loc_8556;
- 00008536 Cond = R0 - 0x2d;
- 00008538 if (Cond != 0) goto loc_85A0;
- 0000853a goto loc_8554;
- 0000853c loc_853C:
- 0000853c Cond = R0 - 0x2d0;
- 00008540 if (Cond == 0) goto loc_8598;
- 00008542 R0 = R0 - 0xb00;
- 00008546 Cond = R0 - 0x3d;
- 00008546 R0 = R0 - 0x3d;
- 00008548 if (Cond == 0) goto loc_8558;
- 0000854a R0 = R0 - 0xb400;
- 0000854e Cond = R0 - 0xb4;
- 00008550 if (Cond != 0) goto loc_85A0;
- 00008552 goto loc_8592;
- 00008554 loc_8554:
- 00008554 /* Low-level instruction of type 2 */
- 00008556 loc_8556:
- 00008556 /* Low-level instruction of type 2 */
- 00008558 loc_8558:
- 00008558 Cond = 1;
- 0000855a var_3C = 1;
- 00008564 R9 = sub_8376(R8, var_28, R2, R3);
- 00008566 goto loc_85AA;
- 00008568 loc_8568:
- 00008568 Cond = 1;
- 0000856a var_3C = 1;
- 00008572 Cond = (var_2C & 15) - 1;
- 00008574 if (Cond != 0) goto loc_8582;
- 00008576 Cond = 0x14;
- 0000857e R9 = sub_83AC(var_28, 0x14, R2, R3);
- 00008580 goto loc_858A;
- 00008582 loc_8582:
- 00008582 R9 = 2;
- 00008586 Cond = 0x8e;
- 00008588 var_40 = 0x8e;
- 0000858a loc_858A:
- 0000858a goto loc_85AA;
- 0000858c loc_858C:
- 0000858c R9 = 0x1d;
- 00008590 goto loc_85AA;
- 00008592 loc_8592:
- 00008592 R9 = 2;
- 00008596 goto loc_85AA;
- 00008598 loc_8598:
- 0000859a R9 = * (R7 + 6) + 7;
- 0000859e goto loc_85AA;
- 000085a0 loc_85A0:
- 000085a0 R9 = 2;
- 000085a4 Cond = 0x4b;
- 000085a6 var_40 = 0x4b;
- 000085a8 /* Low-level instruction of type 2 */
- 000085aa loc_85AA:
- 000085aa /* Low-level instruction of type 2 */
- 000085ae Cond = * R5 - R9;
- 000085b0 if (Cond < 0) goto loc_85BC;
- 000085b4 Cond = var_3C - 1;
- 000085b6 if (Cond != 0) goto loc_85C0;
- 000085ba /* Low-level instruction of type 283 */
- 000085bc loc_85BC:
- 000085bc Cond = 0x8d;
- 000085be var_40 = 0x8d;
- 000085c0 loc_85C0:
- 000085c2 Cond = var_40 - 0xf0;
- 000085c4 if (Cond == 0) goto loc_85D4;
- 000085cc * R4 = * R4 + * R5;
- 000085ce Cond = 0;
- 000085d0 * R5 = 0;
- 000085d2 goto loc_8820;
- 000085d4 loc_85D4:
- 000085da * R5 = * R5 - R9;
- 000085e0 * R4 = * R4 + R9;
- 000085e2 R1 = 0x30ff;
- 000085e6 R0 = R8 - R1;
- 000085ea Cond = R8 - R1;
- 000085ec if (Cond == 0) goto loc_86E2;
- 000085ee if (Cond > 0) goto loc_8602;
- 000085f0 R0 = R8 - 0xc00;
- 000085f4 Cond = R0 - 3;
- 000085f4 R0 = R0 - 3;
- 000085f6 if (Cond == 0) goto loc_86E4;
- 000085f8 Cond = R0 - 9;
- 000085fa if (Cond == 0) goto loc_861A;
- 000085fc Cond = R0 - 0x2d;
- 000085fe loc_85FE:
- 000085fe if (Cond != 0) goto loc_86E6;
- 00008600 goto loc_868E;
- 00008602 loc_8602:
- 00008602 Cond = R0 - 0x2d0;
- 00008606 if (Cond == 0) goto loc_86E8;
- 00008608 R0 = R0 - 0xb00;
- 0000860c Cond = R0 - 0x3d;
- 0000860c R0 = R0 - 0x3d;
- 0000860e if (Cond == 0) goto loc_86EC;
- 00008610 R0 = R0 - 0xb400;
- 00008614 Cond = R0 - 0xb4;
- 00008616 if (Cond != 0) goto loc_85FE;
- 00008618 goto loc_87F0;
- 0000861a loc_861A:
- 0000861e Cond = sub_7464(R0, R1, R2, R3) - 0xf0;
- 00008620 if (Cond == 0) goto loc_8628;
- 00008622 Cond = 0x53;
- 00008624 var_40 = 0x53;
- 00008626 goto loc_868C;
- 00008628 loc_8628:
- 0000862a R0 = sub_73EC(& var_54, R1, R2, R3);
- 00008632 var_46 = gvar_740A(R0, R1, R2, R3);
- 0000863a Cond = 0;
- 0000863e sub_83BC(0, & var_84, arg_1D4, & var_A0);
- 0000864c R10 = sub_836C(var_28, R1, R2, R3) + R7;
- 00008654 var_30 = * (R10 + 4);
- 00008656 R0 = * R10;
- 0000865a Cond = R0 << 0x18;
- 00008668 R0 = R0 << 0x18 | * (R10 + 1) << 0x10 | * (R10 + 2) << 8;
- 0000866c R1 = * (R10 + 3);
- 00008670 Cond = R0 | R1;
- 00008670 R0 = R0 | R1;
- 0000867a R3 = & var_A0;
- 0000867c var_A8 = R3;
- 00008682 /* Low-level instruction of type 49 */
- 0000868a var_40 = sub_7F64(R0, R7 + 4, R0 + * 0x8700be60, R3);
- 0000868c loc_868C:
- 0000868c goto loc_881E;
- 0000868e loc_868E:
- 0000868e /* Low-level instruction of type 282 */
- 00008690 Cond = 0x4b;
- 00008692 var_40 = 0x4b;
- 00008694 goto loc_86E0;
- 00008696 loc_8696:
- 000086a0 R10 = sub_836C(var_28, R1, R2, R3) + R7;
- 000086a8 var_30 = * (R10 + 4);
- 000086aa R0 = * R10;
- 000086ae Cond = R0 << 0x18;
- 000086bc R0 = R0 << 0x18 | * (R10 + 1) << 0x10 | * (R10 + 2) << 8;
- 000086c0 R1 = * (R10 + 3);
- 000086c4 Cond = R0 | R1;
- 000086c4 R0 = R0 | R1;
- 000086ce Cond = 0;
- 000086ce R3 = 0;
- 000086d0 var_A8 = R3;
- 000086d6 /* Low-level instruction of type 49 */
- 000086de var_40 = sub_7F64(R0, R7 + 4, R0 + * 0x8700be60, R3);
- 000086e0 loc_86E0:
- 000086e0 goto loc_881E;
- 000086e2 loc_86E2:
- 000086e2 goto loc_87C0;
- 000086e4 loc_86E4:
- 000086e4 goto loc_87A4;
- 000086e6 loc_86E6:
- 000086e6 goto loc_8818;
- 000086e8 loc_86E8:
- 000086e8 goto loc_87F6;
- 000086ea goto loc_86EC;
- 000086ec loc_86EC:
- 000086ec /* Low-level instruction of type 282 */
- 000086ee var_44 = R6;
- 000086f6 Cond = 1;
- 000086fa sub_83BC(1, & var_84, var_2C, & var_A0);
- 00008704 R0 = sub_836C(var_28, R1, R2, R3);
- 00008708 Cond = R0 + 5;
- 0000870a R10 = R0 + 5 + R7;
- 00008712 var_30 = * (R10 + 4);
- 00008714 R0 = * R10;
- 00008718 Cond = R0 << 0x18;
- 00008726 R0 = R0 << 0x18 | * (R10 + 1) << 0x10 | * (R10 + 2) << 8;
- 0000872a R1 = * (R10 + 3);
- 0000872e Cond = R0 | R1;
- 0000872e R0 = R0 | R1;
- 00008738 R3 = & var_A0;
- 0000873a var_A8 = R3;
- 00008740 /* Low-level instruction of type 49 */
- 00008748 var_40 = sub_7F64(R0, R7 + 4, R0 + * 0x8700be60, R3);
- 0000874c Cond = var_40 - 0x35;
- 0000874e if (Cond != 0) goto loc_87A2;
- 00008750 Cond = 0x56;
- 00008752 var_40 = 0x56;
- 00008754 goto loc_87A2;
- 00008756 loc_8756:
- 00008756 goto loc_8758;
- 00008762 R10 = sub_836C(var_28, R1, R2, R3) + R7;
- 0000876a var_30 = * (R10 + 4);
- 0000876c R0 = * R10;
- 00008770 Cond = R0 << 0x18;
- 0000877e R0 = R0 << 0x18 | * (R10 + 1) << 0x10 | * (R10 + 2) << 8;
- 00008782 R1 = * (R10 + 3);
- 00008786 Cond = R0 | R1;
- 00008786 R0 = R0 | R1;
- 00008790 Cond = 0;
- 00008790 R3 = 0;
- 00008792 var_A8 = R3;
- 00008798 /* Low-level instruction of type 49 */
- 000087a0 var_40 = sub_7F64(R0, R7 + 4, R0 + * 0x8700be60, R3);
- 000087a2 loc_87A2:
- 000087a2 goto loc_881E;
- 000087a4 loc_87A4:
- 000087aa R0 = sub_836C(var_28, R1, R2, R3);
- 000087b0 var_34 = R0 + R7;
- 000087bc var_40 = sub_8296(var_2C, R7 + 4, var_34, R3);
- 000087be goto loc_881E;
- 000087c0 loc_87C0:
- 000087c0 R0 = * (R7 + 3);
- 000087c2 Cond = R0 << 0x18;
- 000087cc R1 = * (R7 + 4) << 0x18 | * (R7 + 4) << 0x10 | * (R7 + 5) << 8;
- 000087d0 R0 = * (R7 + 6);
- 000087d2 Cond = R1 | R0;
- 000087da var_38 = * 0x8700be60 + (R1 | R0);
- 000087de var_A8 = * (R7 + 0x1c);
- 000087e4 Cond = R7 + 7;
- 000087ec var_40 = sub_80D6(* (R7 + 2), var_38, R7 + 7, * (R7 + 0x1b));
- 000087ee goto loc_881E;
- 000087f0 loc_87F0:
- 000087f0 Cond = 0xf0;
- 000087f2 var_40 = 0xf0;
- 000087f4 goto loc_881E;
- 000087f6 loc_87F6:
- 000087f6 R1 = * (R7 + 2);
- 000087f8 Cond = R1 << 0x18;
- 00008802 R3 = * (R7 + 3) << 0x18 | * (R7 + 3) << 0x10 | * (R7 + 4) << 8;
- 0000880e Cond = R7 + 7;
- 00008814 var_40 = sub_8320(* (R7 + 6), R7 + 7, R3 | * (R7 + 5), R3);
- 00008816 goto loc_881E;
- 00008818 loc_8818:
- 00008818 Cond = 0x4b;
- 0000881a var_40 = 0x4b;
- 0000881c /* Low-level instruction of type 2 */
- 0000881e loc_881E:
- 0000881e /* Low-level instruction of type 2 */
- 0000885a sub_885A:
- 0000885a /* Low-level instruction of type 43 */
- 0000885c R3 = R0;
- 0000885e Cond = 0xf0;
- 00008860 R2 = * R1;
- 00008864 Cond = R2 + 1;
- 00008864 R2 = R2 + 1;
- 00008866 R4 = * (R3 + R2);
- 00008868 Cond = R4 - 2;
- 0000886a if (Cond == 0) goto loc_888C;
- 0000886c if (Cond > 0) goto loc_8876;
- 0000886e /* Low-level instruction of type 282 */
- 00008870 Cond = R4 - 1;
- 00008872 if (Cond != 0) goto loc_889A;
- 00008874 goto loc_8882;
- 00008876 loc_8876:
- 00008876 Cond = R4 - 0xfe;
- 00008878 if (Cond == 0) goto loc_8896;
- 0000887a Cond = R4 - 0xff;
- 0000887c if (Cond != 0) goto loc_889A;
- 0000887e goto loc_888E;
- 00008880 loc_8880:
- 00008880 goto loc_889E;
- 00008882 loc_8882:
- 00008882 Cond = R2 + 2;
- 00008882 R2 = R2 + 2;
- 00008886 R2 = R2 + * (R3 + R2);
- 00008888 Cond = R2 + 1;
- 0000888a goto loc_889E;
- 0000888c loc_888C:
- 0000888c /* Low-level instruction of type 2 */
- 0000888e loc_888E:
- 00008890 R2 = R2 + * (R3 + R2);
- 00008892 Cond = R2 + 1;
- 00008894 goto loc_889E;
- 00008896 loc_8896:
- 00008896 Cond = R2 + 0x14;
- 00008898 goto loc_889E;
- 0000889a loc_889A:
- 0000889a Cond = 0x33;
- 0000889c /* Low-level instruction of type 2 */
- 000088a4 sub_88A4:
- 000088a4 /* Low-level instruction of type 43 */
- 000088a6 R3 = R0;
- 000088a8 Cond = 0xf0;
- 000088aa R2 = * R1;
- 000088ae Cond = R2 + 1;
- 000088ae R2 = R2 + 1;
- 000088b2 Cond = * (R3 + R2) - 0xff;
- 000088b4 if (Cond != 0) goto loc_88C8;
- 000088b6 R4 = * (R3 + R2);
- 000088b8 Cond = R3 + R2;
- 000088ba R5 = * (R3 + R2 + 1);
- 000088bc Cond = R5 | R4 << 8;
- 000088c0 if (Cond == 0) goto loc_88C4;
- 000088c2 Cond = 0x33;
- 000088c4 loc_88C4:
- 000088c4 Cond = R2 + 2;
- 000088c6 goto loc_88CA;
- 000088c8 loc_88C8:
- 000088c8 /* Low-level instruction of type 2 */
- 000088d0 sub_88D0:
- 000088d0 /* Low-level instruction of type 43 */
- 000088d6 R5 = R1;
- 000088d8 R6 = R2;
- 000088da R7 = R3;
- 000088dc /* Low-level instruction of type 49 */
- 000088e0 /* Low-level instruction of type 49 */
- 000088e4 Cond = 0;
- 000088e6 var_28 = 0;
- 000088e8 Cond = 0x33;
- 000088ea var_2C = 0x33;
- 000088ec Cond = R0 - 0xff;
- 000088ee if (Cond != 0) goto loc_89CA;
- 000088f0 R1 = var_28;
- 000088f2 Cond = R1 + 1;
- 000088f4 var_28 = R1 + 1;
- 000088f8 Cond = * (R5 + R1) - 1;
- 000088fa if (Cond > 0) goto loc_89CA;
- 000088fc R1 = var_28;
- 000088fe Cond = R1 + 1;
- 00008900 var_28 = R1 + 1;
- 00008904 Cond = * (R5 + R1) - 2;
- 00008906 if (Cond != 0) goto loc_89CA;
- 00008910 Cond = sub_885A(R5, & var_28, R2, R3) - 0xf0;
- 00008912 if (Cond != 0) goto loc_89CA;
- 00008914 R0 = var_28;
- 00008916 Cond = R0 + 4;
- 00008918 var_28 = R0 + 4;
- 0000891a R0 = var_28;
- 0000891c Cond = R0 + 4;
- 0000891e var_28 = R0 + 4;
- 00008928 Cond = sub_885A(R5, & var_28, R2, R3) - 0xf0;
- 0000892a if (Cond != 0) goto loc_89CA;
- 0000892c R1 = var_28;
- 0000892e Cond = R1 + 1;
- 00008930 var_28 = R1 + 1;
- 00008934 Cond = * (R5 + R1) - 2;
- 00008936 if (Cond != 0) goto loc_89CA;
- 00008940 Cond = sub_88A4(R5, & var_28, R2, R3) - 0xf0;
- 00008942 if (Cond != 0) goto loc_89CA;
- 00008952 * R9 = * (var_28 + R5 + 1) | * (R5 + var_28) << 8;
- 00008956 R0 = var_28;
- 00008958 Cond = R0 + 2;
- 0000895a var_28 = R0 + 2;
- 0000895e * R8 = var_28;
- 0000896a var_28 = * R9 + var_28;
- 0000897a * R7 = * (var_28 + R5 + 1) | * (R5 + var_28) << 8;
- 0000897c R0 = var_28;
- 0000897e Cond = R0 + 2;
- 00008980 var_28 = R0 + 2;
- 00008984 * R6 = var_28;
- 0000898c var_28 = * R7 + var_28;
- 00008992 Cond = * R9 - 4;
- 00008994 if (Cond > 0) goto loc_89CA;
- 00008998 Cond = * R7 - 0x60;
- 0000899a if (Cond < 0) goto loc_89CA;
- 0000899e Cond = * R7 - 0x80;
- 000089a0 if (Cond > 0) goto loc_89CA;
- 000089a6 * arg_10 = var_28;
- 000089b6 * R11 = * (var_28 + R5 + 1) | * (R5 + var_28) << 8;
- 000089ba R0 = var_28;
- 000089bc Cond = R0 + 2;
- 000089be var_28 = R0 + 2;
- 000089c2 * R10 = var_28;
- 000089c6 Cond = 0xf0;
- 000089c8 var_2C = 0xf0;
- 00008a34 sub_8A34:
- 00008a34 /* Low-level instruction of type 43 */
- 00008a38 R4 = R0;
- 00008a3a R5 = R1;
- 00008a3c Cond = 0;
- 00008a3e R7 = * R4;
- 00008a40 /* Low-level instruction of type 2 */
- 00008a42 Cond = 3;
- 00008a46 R0 = sub_739E(R4, 3, R2, R3);
- 00008a4a Cond = R0 - 1;
- 00008a4c if (Cond != 0) goto loc_8A6E;
- 00008a4e /* Low-level instruction of type 2 */
- 00008a50 Cond = R5 - 1;
- 00008a52 if (Cond == 0) goto loc_8A58;
- 00008a54 Cond = R5 - 2;
- 00008a56 if (Cond != 0) goto loc_8A6E;
- 00008a58 loc_8A58:
- 00008a58 Cond = R7 - 10;
- 00008a5a if (Cond > 0) goto loc_8A6E;
- 00008a60 Cond = gvar_740A(R0, R1, R2, R3) - 1;
- 00008a62 if (Cond == 0) goto loc_8A68;
- 00008a64 /* Low-level instruction of type 2 */
- 00008a66 /* Low-level instruction of type 2 */
- 00008a68 loc_8A68:
- 00008a68 Cond = 0;
- 00008a6a /* Low-level instruction of type 283 */
- 00008a6c Cond = 1;
- 00008a74 sub_8A74:
- 00008a74 /* Low-level instruction of type 43 */
- 00008a7a R4 = R2;
- 00008a84 Cond = sub_8A34(R0, * R4, R2, R3) - 1;
- 00008a86 if (Cond != 0) goto locret_8A9E;
- 00008a8a Cond = * R4 - 1;
- 00008a8c if (Cond != 0) goto loc_8A94;
- 00008a8e Cond = 0x41;
- 00008a90 * R4 = 0x41;
- 00008a92 goto locret_8A9E;
- 00008a94 loc_8A94:
- 00008a96 Cond = * R4 - 2;
- 00008a98 if (Cond != 0) goto locret_8A9E;
- 00008a9a Cond = 0x62;
- 00008a9c * R4 = 0x62;
- 00008aa0 sub_8AA0:
- 00008aa0 /* Low-level instruction of type 43 */
- 00008aa6 R4 = R0;
- 00008aa8 R5 = R1;
- 00008aac R9 = * R5;
- 00008ab2 Cond = 13;
- 00008ab4 * 13 = R0;
- 00008ab6 /* Low-level instruction of type 93 */
- 00008aba Cond = R4 - 13;
- 00008abc if (Cond != 0) goto loc_8AC4;
- 00008abe Cond = 0x14;
- 00008ac0 var_8C = 0x14;
- 00008ac2 goto loc_8AD6;
- 00008ac4 loc_8AC4:
- 00008ac4 Cond = R4 - 14;
- 00008ac6 if (Cond != 0) goto loc_8ACE;
- 00008ac8 Cond = 0x20;
- 00008aca var_8C = 0x20;
- 00008acc goto loc_8AD6;
- 00008ace loc_8ACE:
- 00008ace Cond = R4 - 15;
- 00008ad0 if (Cond != 0) goto loc_8AD6;
- 00008ad2 Cond = 0x30;
- 00008ad4 var_8C = 0x30;
- 00008ad6 loc_8AD6:
- 00008ad6 goto loc_8B1A;
- 00008ad8 loc_8AD8:
- 00008ad8 R0 = * R5;
- 00008ada Cond = R0 << 0x18;
- 00008aee Cond = R5 + 4;
- 00008aee R5 = R5 + 4;
- 00008af0 R0 = * R5;
- 00008af2 Cond = R0 << 0x18;
- 00008b06 Cond = R5 + 4;
- 00008b06 R5 = R5 + 4;
- 00008b0e sub_949A(& var_88, R0 << 0x18 | * (R5 + 1) << 0x10 | * (R5 + 2) << 8 | * (R5 + 3), R0 << 0x18 | * (R5 + 1) << 0x10 | * (R5 + 2) << 8 | * (R5 + 3), R3);
- 00008b16 /* Low-level instruction of type 255 */
- 00008b1a loc_8B1A:
- 00008b1a Cond = R9;
- 00008b1e if (Cond > 0) goto loc_8AD8;
- 00008b36 sub_8B36:
- 00008b36 /* Low-level instruction of type 43 */
- 00008b3c R4 = R0;
- 00008b3e R5 = R1;
- 00008b40 R6 = R2;
- 00008b42 Cond = 0x39;
- 00008b44 var_AC = 0x39;
- 00008b46 R9 = 0;
- 00008b4a R10 = * R4;
- 00008b4e R11 = 0;
- 00008b52 Cond = R6;
- 00008b54 if (Cond == 0) goto loc_8C3E;
- 00008b56 Cond = R5 - 0x41;
- 00008b58 if (Cond != 0) goto loc_8C3E;
- 00008b5a Cond = R10;
- 00008b5e if (Cond <= 0) goto loc_8BEC;
- 00008b60 Cond = R4 + 1;
- 00008b60 R4 = R4 + 1;
- 00008b62 goto loc_8BE6;
- 00008b64 loc_8B64:
- 00008b64 R0 = * R4;
- 00008b66 Cond = R0 << 0x18;
- 00008b7a Cond = R4 + 4;
- 00008b7a R4 = R4 + 4;
- 00008b7c R0 = * R4;
- 00008b7e Cond = R0 << 0x18;
- 00008b8e R8 = R0 << 0x18 | * (R4 + 1) << 0x10 | * (R4 + 2) << 8 | * (R4 + 3);
- 00008b92 Cond = R4 + 4;
- 00008b92 R4 = R4 + 4;
- 00008b98 /* Low-level instruction of type 255 */
- 00008b9c R9 = R9 + R8;
- 00008ba2 R1 = & var_9C;
- 00008ba4 * (R1 + R11 + (R11 << 1)) = R8;
- 00008bb0 * (R1 + (R11 + (R11 << 1) << 2) + 4) = R0 << 0x18 | * (R4 + 1) << 0x10 | * (R4 + 2) << 8 | * (R4 + 3);
- 00008bb2 Cond = R10;
- 00008bb6 if (Cond <= 0) goto loc_8BD4;
- 00008bca R2 = & var_9C;
- 00008bcc R1 = R2 + (R11 + (R11 << 1) << 2);
- 00008bd0 * (R1 + 8) = & var_9C + (R11 + 1 + (R0 << 1) << 2);
- 00008bd2 goto loc_8BE2;
- 00008bd4 loc_8BD4:
- 00008bd4 Cond = 0;
- 00008bda R2 = & var_9C;
- 00008bdc R1 = R2 + (R11 + (R11 << 1) << 2);
- 00008be0 * (R1 + 8) = 0;
- 00008be2 loc_8BE2:
- 00008be2 R11 = R11 + 1;
- 00008be6 loc_8BE6:
- 00008be6 Cond = R10;
- 00008bea if (Cond > 0) goto loc_8B64;
- 00008bec loc_8BEC:
- 00008bec var_A4 = R6;
- 00008bee Cond = 0;
- 00008bf0 var_A0 = 0;
- 00008bf4 var_C4 = 0x208d0024;
- 00008bf6 Cond = 0x14;
- 00008bf8 var_B8 = 0x14;
- 00008bfc var_A8 = var_B8;
- 00008c00 var_BC = & var_9C;
- 00008c02 var_C0 = R9;
- 00008c06 Cond = R9;
- 00008c0a if (Cond == 0) goto loc_8C12;
- 00008c0e var_B4 = & var_A8;
- 00008c10 goto loc_8C1C;
- 00008c12 loc_8C12:
- 00008c18 var_C4 = var_C4 ^ 0x81000000;
- 00008c1a var_B4 = R6;
- 00008c1c loc_8C1C:
- 00008c1c Cond = 0;
- 00008c1e var_B0 = 0;
- 00008c22 R0 = sub_7442(& var_C4, R1, R2, R3);
- 00008c26 Cond = R0 - 0xf0;
- 00008c28 if (Cond != 0) goto loc_8C3E;
- 00008c2e Cond = gvar_740A(R0, R1, R2, R3) - 1;
- 00008c30 if (Cond == 0) goto loc_8C36;
- 00008c32 /* Low-level instruction of type 2 */
- 00008c34 /* Low-level instruction of type 2 */
- 00008c36 loc_8C36:
- 00008c36 Cond = 0;
- 00008c38 /* Low-level instruction of type 283 */
- 00008c3a Cond = 0xf0;
- 00008c3c var_AC = 0xf0;
- 00008c46 sub_8C46:
- 00008c46 /* Low-level instruction of type 43 */
- 00008c4a R4 = R0;
- 00008c4c R5 = R1;
- 00008c4e R6 = R2;
- 00008c50 R9 = 13;
- 00008c54 R10 = 0;
- 00008c58 Cond = R5;
- 00008c5a if (Cond == 0) goto locret_8CD6;
- 00008c5c R0 = R4 & 15;
- 00008c60 Cond = R0 - 1;
- 00008c62 if (Cond == 0) goto loc_8C6E;
- 00008c64 Cond = R0 - 2;
- 00008c66 if (Cond == 0) goto loc_8C78;
- 00008c68 Cond = R0 - 3;
- 00008c6a if (Cond != 0) goto loc_8C8C;
- 00008c6c goto loc_8C82;
- 00008c6e loc_8C6E:
- 00008c6e R9 = 13;
- 00008c72 R10 = 1;
- 00008c76 goto loc_8C8E;
- 00008c78 loc_8C78:
- 00008c78 R9 = 14;
- 00008c7c R10 = 1;
- 00008c80 goto loc_8C8E;
- 00008c82 loc_8C82:
- 00008c82 R9 = 15;
- 00008c86 R10 = 1;
- 00008c8a goto loc_8C8E;
- 00008c8c loc_8C8C:
- 00008c8c /* Low-level instruction of type 2 */
- 00008c8e loc_8C8E:
- 00008c8e /* Low-level instruction of type 2 */
- 00008c90 R0 = * (R5 + 1);
- 00008c92 Cond = R0 << 0x18;
- 00008ca6 R0 = * (R5 + 5);
- 00008ca8 Cond = R0 << 0x18;
- 00008cc2 sub_355C(* (R5 + 2) << 0x18 | * (R5 + 2) << 0x10 | * (R5 + 3) << 8 | * (R5 + 4), R6, * (R5 + 6) << 0x18 | * (R5 + 6) << 0x10 | * (R5 + 7) << 8 | * (R5 + 8), R3);
- 00008cc6 Cond = R10;
- 00008cca if (Cond == 0) goto locret_8CD6;
- 00008cd2 sub_8AA0(R9, R5, R6, R3);
- 00008ce0 sub_8CE0:
- 00008ce0 /* Low-level instruction of type 43 */
- 00008ce6 R4 = R0;
- 00008ce8 R5 = R1;
- 00008cea R6 = R2;
- 00008cee var_30 = * R5;
- 00008cf2 var_34 = * (R5 + 4);
- 00008cf4 Cond = 0;
- 00008cf4 R7 = 0;
- 00008cf6 goto loc_8E28;
- 00008cf8 loc_8CF8:
- 00008cfc var_38 = * (R4 + R7);
- 00008d02 Cond = var_38 - var_30;
- 00008d04 if (Cond != 0) goto loc_8D18;
- 00008d06 R11 = 0xffff;
- 00008d0a Cond = R7 + 1;
- 00008d10 R1 = var_30;
- 00008d14 var_3C = * (R4 + R7 + 1) + R1;
- 00008d16 goto loc_8D3A;
- 00008d18 loc_8D18:
- 00008d18 Cond = R7 + 1;
- 00008d24 var_28 = * (R4 + R7 + 1) + (var_38 << 0x10);
- 00008d2a /* Low-level instruction of type 46 */
- 00008d2e R11 = var_28;
- 00008d30 R1 = var_30;
- 00008d34 /* Low-level instruction of type 279 */
- 00008d38 var_3C = var_28;
- 00008d3a loc_8D3A:
- 00008d3a goto loc_8D48;
- 00008d3c loc_8D3C:
- 00008d3c R11 = R11 - 1;
- 00008d40 R1 = var_3C;
- 00008d46 var_3C = var_30 + R1;
- 00008d48 loc_8D48:
- 00008d48 R0 = var_3C;
- 00008d4a Cond = R0 >> 0x10;
- 00008d4c if (Cond != 0) goto loc_8D64;
- 00008d4e Cond = R7 + 2;
- 00008d56 R1 = * (R4 + R7 + 2) + (var_3C << 0x10);
- 00008d60 Cond = R1 - (var_34 | R11);
- 00008d62 if (Cond < 0) goto loc_8D3C;
- 00008d64 loc_8D64:
- 00008d64 R10 = 0;
- 00008d68 R9 = R6 - 1;
- 00008d6c R8 = R6 + R7;
- 00008d70 goto loc_8DB2;
- 00008d72 loc_8D72:
- 00008d7a var_28 = * (R5 + R9) | R11;
- 00008d80 R0 = * (R4 + R8) + 0x20000;
- 00008d84 R1 = var_28;
- 00008d86 /* Low-level instruction of type 255 */
- 00008d88 Cond = R0 - R1;
- 00008d88 R0 = R0 - R1;
- 00008d8a /* Low-level instruction of type 255 */
- 00008d8e Cond = R0 - R1;
- 00008d90 var_2C = R0 - R1;
- 00008d94 /* Low-level instruction of type 255 */
- 00008d96 * (R4 + R8) = var_2C;
- 00008d9a R0 = var_28;
- 00008d9c Cond = R0 >> 0x10;
- 00008d9e R0 = (R0 >> 0x10) + (R10 >> 0x10);
- 00008da2 Cond = R0 + 2;
- 00008da4 R1 = var_2C;
- 00008da6 R10 = R0 + 2 - (R1 >> 0x10);
- 00008daa R9 = R9 - 1;
- 00008dae R8 = R8 - 1;
- 00008db2 loc_8DB2:
- 00008db2 Cond = R9;
- 00008db6 if (Cond >= 0) goto loc_8D72;
- 00008dbc R0 = * (R4 + R7) + 0x10000;
- 00008dc0 /* Low-level instruction of type 255 */
- 00008dc4 Cond = R0 - R1;
- 00008dc6 var_2C = R0 - R1;
- 00008dca /* Low-level instruction of type 255 */
- 00008dcc * (R4 + R7) = var_2C;
- 00008dd0 Cond = 1;
- 00008ddc Cond = 1 + (R10 >> 0x10) - (var_2C >> 0x10);
- 00008de0 if (Cond == 0) goto loc_8E26;
- 00008de2 R10 = 0;
- 00008de6 R9 = R6 - 1;
- 00008dea R8 = R6 + R7;
- 00008dee goto loc_8E14;
- 00008df0 loc_8DF0:
- 00008dfc var_2C = * (R4 + R8) + * (R5 + R9) + R10;
- 00008e00 /* Low-level instruction of type 255 */
- 00008e02 * (R4 + R8) = var_2C;
- 00008e08 R10 = var_2C >> 0x10;
- 00008e0c R9 = R9 - 1;
- 00008e10 R8 = R8 - 1;
- 00008e14 loc_8E14:
- 00008e14 Cond = R9;
- 00008e18 if (Cond >= 0) goto loc_8DF0;
- 00008e20 /* Low-level instruction of type 255 */
- 00008e22 * (R4 + R7) = * (R4 + R7) + R10;
- 00008e26 loc_8E26:
- 00008e26 Cond = R7 + 1;
- 00008e26 R7 = R7 + 1;
- 00008e28 loc_8E28:
- 00008e28 Cond = R7 - R6;
- 00008e2a if (Cond <= 0) goto loc_8CF8;
- 00008e34 sub_8E34:
- 00008e34 /* Low-level instruction of type 43 */
- 00008e3c R4 = R1;
- 00008e3e R5 = R2;
- 00008e40 R6 = R3;
- 00008e42 R8 = arg_4;
- 00008e46 R7 = arg_0;
- 00008e4a R9 = & var_50;
- 00008e4e Cond = 0;
- 00008e50 var_688 = 0;
- 00008e54 R1 = R5 + (R5 >> 0x1f);
- 00008e58 Cond = R1 >> 1;
- 00008e5a var_68C = R1 >> 1;
- 00008e5c Cond = R5 >> 0x1f;
- 00008e5e R1 = R5 + (R5 >> 0x1f >> 0x1e);
- 00008e62 Cond = R1 >> 2;
- 00008e64 var_690 = R1 >> 2;
- 00008e66 R0 = var_68C;
- 00008e68 Cond = R0 << 2;
- 00008e6a var_694 = R0 << 2;
- 00008e70 /* Low-level instruction of type 282 */
- 00008e72 /* Low-level instruction of type 282 */
- 00008e74 /* Low-level instruction of type 282 */
- 00008e76 Cond = R8;
- 00008e7a if (Cond == 0) goto loc_8EA6;
- 00008e7c Cond = R5 - 4;
- 00008e7e if (Cond < 0) goto loc_8EA6;
- 00008e80 Cond = R5 & 3;
- 00008e84 if (Cond != 0) goto loc_8EA6;
- 00008e86 Cond = R5 - 0x80;
- 00008e88 if (Cond > 0) goto loc_8EA6;
- 00008e8a Cond = R7 - 4;
- 00008e8c if (Cond > 0) goto loc_8EA6;
- 00008e90 Cond = * R4 & 0x80;
- 00008e94 if (Cond == 0) goto loc_8EA4;
- 00008ea2 Cond = sub_3574(var_34, R4, R5, R3);
- 00008ea4 loc_8EA4:
- 00008ea4 if (Cond < 0) goto loc_8EB0;
- 00008ea6 loc_8EA6:
- 00008ea6 Cond = 0x39;
- 00008ea8 loc_8EA8:
- 00008eac /* Low-level instruction of type 42 */
- 00008eb0 loc_8EB0:
- 00008eb0 R0 = var_690;
- 00008eb2 Cond = R0 + 1;
- 00008eb4 * (R9 + 4) = R0 + 1;
- 00008eba * R9 = & var_3D8;
- 00008ec6 sub_9E00(* R9, R4, R5, R3);
- 00008eca Cond = 0;
- 00008ed2 * (* R9 + var_690) = 0;
- 00008ed8 * (R9 + 0x14) = & var_45C;
- 00008ede * (R9 + 0x10) = & var_578;
- 00008ee2 Cond = 0;
- 00008ee4 R1 = * (R9 + 0x14);
- 00008ee8 R2 = var_690;
- 00008eea * (R1 + R2) = 0;
- 00008ef0 sub_971A(R9, R1, R2, R3);
- 00008ef4 R10 = 0;
- 00008ef8 R11 = R10;
- 00008efa goto loc_8F18;
- 00008efc loc_8EFC:
- 00008f0c * (& var_354 + R10) = * (R4 + R11 + 1) | * (R4 + R11) << 8;
- 00008f10 R10 = R10 + 1;
- 00008f14 R11 = R11 + 2;
- 00008f18 loc_8F18:
- 00008f1a Cond = R10 - var_68C;
- 00008f1c if (Cond < 0) goto loc_8EFC;
- 00008f1e R0 = var_694;
- 00008f20 Cond = R0 << 1;
- 00008f22 Cond = 0;
- 00008f28 sub_3594(& var_250, 0, R0 << 1, R3);
- 00008f2c Cond = 1;
- 00008f2e var_254 = 1;
- 00008f3a sub_8CE0(& var_254, & var_354, var_68C, R3);
- 00008f40 R10 = var_68C + 1;
- 00008f44 R11 = 0;
- 00008f48 goto loc_8F70;
- 00008f4a loc_8F4A:
- 00008f52 /* Low-level instruction of type 271 */
- 00008f56 * (R8 + R11) = * (& var_254 + R10);
- 00008f66 * (R8 + R11 + 1) = * (& var_254 + R10);
- 00008f68 R10 = R10 + 1;
- 00008f6c R11 = R11 + 2;
- 00008f70 loc_8F70:
- 00008f70 R0 = var_68C;
- 00008f72 Cond = R0 << 1;
- 00008f74 Cond = (R0 << 1) - R10;
- 00008f76 if (Cond >= 0) goto loc_8F4A;
- 00008f80 sub_9E00(* (R9 + 0x14), R8, R5, R3);
- 00008f84 Cond = R5 - 1;
- 00008f86 Cond = 0;
- 00008f8a sub_3594(R8, 0, R5 - 1, R3);
- 00008f8e Cond = 1;
- 00008f90 Cond = R5 - 1;
- 00008f92 * (R8 + R5 - 1) = 1;
- 00008f96 R10 = 0;
- 00008f9a goto loc_901A;
- 00008f9c loc_8F9C:
- 00008fa0 var_684 = * (R6 + R10);
- 00008fa2 R11 = 0;
- 00008fa6 goto loc_9010;
- 00008fa8 loc_8FA8:
- 00008faa /* Low-level instruction of type 282 */
- 00008fb2 sub_972E(R9, & var_5FC, & var_5FC, R3);
- 00008fb8 Cond = var_684 & 0x80;
- 00008fbc if (Cond == 0) goto loc_9004;
- 00008fc6 sub_9BC6(R9, & var_5FC, & var_5FC, & var_680);
- 00008fca goto loc_9004;
- 00008fcc loc_8FCC:
- 00008fce Cond = var_684 & 0x80;
- 00008fd2 if (Cond == 0) goto loc_9004;
- 00008fdc sub_9E00(& var_680, var_34, R5, R3);
- 00008fe0 Cond = 0;
- 00008fe2 R2 = & var_680;
- 00008fe6 * (R2 + var_690) = 0;
- 00008ff2 sub_9BC6(R9, & var_5FC, R2, * (R9 + 0x14));
- 00008ffc sub_9E7C(R9, & var_680, & var_5FC, R3);
- 00009000 Cond = 1;
- 00009002 var_688 = 1;
- 00009004 loc_9004:
- 00009004 R11 = R11 + 1;
- 00009008 R0 = var_684;
- 0000900a Cond = R0 << 0x19;
- 0000900a R0 = R0 << 0x19;
- 0000900c Cond = R0 >> 0x18;
- 0000900e var_684 = R0 >> 0x18;
- 00009010 loc_9010:
- 00009010 Cond = R11 - 8;
- 00009014 if (Cond < 0) goto loc_8FA8;
- 00009016 R10 = R10 + 1;
- 0000901a loc_901A:
- 0000901a Cond = R10 - R7;
- 0000901c if (Cond < 0) goto loc_8F9C;
- 00009020 /* Low-level instruction of type 282 */
- 00009028 sub_9A3E(R9, & var_5FC, & var_5FC, R3);
- 0000902c R0 = * (R9 + 4);
- 00009030 Cond = R0 - 1;
- 00009036 sub_9E4A(R8, & var_5FC, R0 - 1, R3);
- 0000903a loc_903A:
- 0000903a Cond = 0xf0;
- 0000903c goto loc_8EA8;
- 0000906a sub_906A:
- 0000906a /* Low-level instruction of type 43 */
- 00009070 R4 = R1;
- 00009072 R5 = R2;
- 00009074 R6 = R3;
- 00009076 R7 = arg_0;
- 00009078 Cond = 0x35;
- 0000907a var_38 = 0x35;
- 0000907c R9 = 0;
- 00009080 R11 = 0;
- 00009084 Cond = 0;
- 00009086 var_EC = 0;
- 0000908c Cond = var_34 - 0x11;
- 0000908e if (Cond != 0) goto loc_9096;
- 00009090 Cond = 1;
- 00009092 var_34 = 1;
- 00009094 goto loc_90D2;
- 00009096 loc_9096:
- 0000909a Cond = var_34 - 0xc1;
- 0000909c if (Cond != 0) goto loc_90A4;
- 0000909e Cond = 0x41;
- 000090a0 var_34 = 0x41;
- 000090a2 goto loc_90D2;
- 000090a4 loc_90A4:
- 000090a8 Cond = var_34 - 0x12;
- 000090aa if (Cond != 0) goto loc_90B2;
- 000090ac Cond = 2;
- 000090ae var_34 = 2;
- 000090b0 goto loc_90D2;
- 000090b2 loc_90B2:
- 000090b6 Cond = var_34 - 0x32;
- 000090b8 if (Cond != 0) goto loc_90C0;
- 000090ba Cond = 0x62;
- 000090bc var_34 = 0x62;
- 000090be goto loc_90D2;
- 000090c0 loc_90C0:
- 000090c4 Cond = var_34 - 0x13;
- 000090c6 if (Cond != 0) goto loc_90CE;
- 000090c8 Cond = 3;
- 000090ca var_34 = 3;
- 000090cc goto loc_90D2;
- 000090ce loc_90CE:
- 000090ce Cond = 0xff;
- 000090d0 var_34 = 0xff;
- 000090d2 loc_90D2:
- 000090d8 sub_8A74(R4, & var_EC, & var_34, R3);
- 000090dc R8 = * (R7 + 10);
- 000090e4 /* Low-level instruction of type 71 */
- 000090f4 Cond = sub_903E(R6, * (R7 + 4), R8, R7) - 0xf0;
- 000090f6 loc_90F6:
- 000090f6 if (Cond != 0) goto loc_91DE;
- 000090fa R9 = R9 + 1;
- 00009102 Cond = * (& var_B8 + R9);
- 00009104 if (Cond != 0) goto loc_90F6;
- 00009108 R9 = R9 + 1;
- 00009110 Cond = * (& var_B8 + R9) - 1;
- 00009112 if (Cond != 0) goto loc_90F6;
- 00009114 goto loc_911A;
- 00009116 loc_9116:
- 00009116 R9 = R9 + 1;
- 0000911a loc_911A:
- 0000911a Cond = R9 - R8;
- 0000911c if (Cond >= 0) goto loc_9128;
- 00009124 Cond = * (& var_B8 + R9) - 0xff;
- 00009126 if (Cond == 0) goto loc_9116;
- 00009128 loc_9128:
- 00009128 Cond = R9 - R8;
- 0000912a if (Cond >= 0) goto loc_91DE;
- 0000912c Cond = R9 - 10;
- 00009130 if (Cond < 0) goto loc_91DE;
- 00009138 Cond = * (& var_B8 + R9);
- 0000913a if (Cond != 0) goto loc_90F6;
- 0000913c R9 = R9 + 1;
- 00009140 R10 = R8 - R9;
- 00009148 R0 = var_34 & 15;
- 0000914c Cond = R0 - 1;
- 0000914e if (Cond == 0) goto loc_915A;
- 00009150 Cond = R0 - 2;
- 00009152 if (Cond == 0) goto loc_91CA;
- 00009154 Cond = R0 - 3;
- 00009156 if (Cond != 0) goto loc_923C;
- 00009158 goto loc_923E;
- 0000915a loc_915A:
- 0000915e Cond = var_34 - 1;
- 00009160 if (Cond != 0) goto loc_916E;
- 00009166 Cond = 13;
- 00009168 sub_8AA0(13, R4, & var_E8, R3);
- 0000916c goto loc_9184;
- 0000916e loc_916E:
- 0000917a Cond = sub_8B36(R4, var_34, & var_E8, R3) - 0xf0;
- 0000917c if (Cond == 0) goto loc_9184;
- 0000917e Cond = 0x8e;
- 00009180 var_38 = 0x8e;
- 00009182 goto loc_929C;
- 00009184 loc_9184:
- 0000918c sub_8C46(var_34, R5, & var_E8, R3);
- 00009190 Cond = R10 - 0x14;
- 00009194 if (Cond == 0) goto loc_919A;
- 00009196 R11 = 15;
- 0000919a loc_919A:
- 0000919a R0 = R11 + 0x14;
- 0000919e Cond = R0 - R10;
- 000091a0 if (Cond != 0) goto loc_91C8;
- 000091ac sub_3574(R0, 0x8700b766, R11, R3);
- 000091b0 /* Low-level instruction of type 283 */
- 000091ba Cond = 0x14;
- 000091be sub_3574(& var_B8 + R9 + R11, & var_E8, 0x14, R3);
- 000091c2 /* Low-level instruction of type 283 */
- 000091c4 Cond = 0xf0;
- 000091c6 var_38 = 0xf0;
- 000091c8 loc_91C8:
- 000091c8 goto loc_929C;
- 000091ca loc_91CA:
- 000091ce Cond = var_34 - 2;
- 000091d0 if (Cond != 0) goto loc_91E0;
- 000091d6 Cond = 14;
- 000091d8 sub_8AA0(14, R4, & var_E8, R3);
- 000091dc goto loc_91F6;
- 000091de loc_91DE:
- 000091de goto loc_929E;
- 000091e0 loc_91E0:
- 000091ec Cond = sub_8B36(R4, var_34, & var_E8, R3) - 0xf0;
- 000091ee if (Cond == 0) goto loc_91F6;
- 000091f0 Cond = 0x8e;
- 000091f2 var_38 = 0x8e;
- 000091f4 goto loc_929C;
- 000091f6 loc_91F6:
- 000091fe sub_8C46(var_34, R5, & var_E8, R3);
- 00009202 Cond = R10 - 0x20;
- 00009206 if (Cond == 0) goto loc_920C;
- 00009208 R11 = 0x13;
- 0000920c loc_920C:
- 00009210 Cond = R11 + 0x20 - R10;
- 00009212 if (Cond != 0) goto loc_923A;
- 0000921e sub_3574(& var_B8 + R9, 0x8700b775, R11, R3);
- 00009222 /* Low-level instruction of type 283 */
- 0000922c Cond = 0x20;
- 00009230 sub_3574(& var_B8 + R9 + R11, & var_E8, 0x20, R3);
- 00009234 /* Low-level instruction of type 283 */
- 00009236 Cond = 0xf0;
- 00009238 var_38 = 0xf0;
- 0000923a loc_923A:
- 0000923a goto loc_929C;
- 0000923c loc_923C:
- 0000923c goto loc_9296;
- 0000923e loc_923E:
- 00009242 Cond = var_34 - 3;
- 00009244 if (Cond != 0) goto loc_9250;
- 0000924a Cond = 15;
- 0000924c sub_8AA0(15, R4, & var_E8, R3);
- 00009250 loc_9250:
- 00009258 sub_8C46(var_34, R5, & var_E8, R3);
- 0000925c Cond = R10 - 0x30;
- 00009260 if (Cond == 0) goto loc_9266;
- 00009262 R11 = 0x13;
- 00009266 loc_9266:
- 0000926a Cond = R11 + 0x30 - R10;
- 0000926c if (Cond != 0) goto loc_9294;
- 00009278 sub_3574(& var_B8 + R9, 0x8700b788, R11, R3);
- 0000927c /* Low-level instruction of type 283 */
- 00009286 Cond = 0x30;
- 0000928a sub_3574(& var_B8 + R9 + R11, & var_E8, 0x30, R3);
- 0000928e /* Low-level instruction of type 283 */
- 00009290 Cond = 0xf0;
- 00009292 var_38 = 0xf0;
- 00009294 loc_9294:
- 00009294 goto loc_929C;
- 00009296 loc_9296:
- 00009296 Cond = 0x8e;
- 00009298 var_38 = 0x8e;
- 0000929a /* Low-level instruction of type 2 */
- 0000929c loc_929C:
- 0000929c /* Low-level instruction of type 2 */
- 00009382 sub_9382:
- 00009382 /* Low-level instruction of type 43 */
- 0000938a R5 = R1;
- 0000938c R6 = R2;
- 0000938e R7 = R3;
- 00009394 R9 = R7;
- 00009396 Cond = 0;
- 00009396 R0 = 0;
- 00009398 var_28 = R0;
- 0000939a var_2C = R0;
- 0000939c var_30 = R0;
- 0000939e Cond = R0 - 13;
- 000093a0 if (Cond != 0) goto loc_93AC;
- 000093a6 R10 = 0x40;
- 000093aa goto loc_93AE;
- 000093ac loc_93AC:
- 000093ac /* Low-level instruction of type 2 */
- 000093ae loc_93AE:
- 000093ae /* Low-level instruction of type 45 */
- 000093b2 Cond = * R5 - R10;
- 000093b4 if (Cond >= 0) goto loc_9492;
- 000093b6 Cond = 0;
- 000093b6 R0 = 0;
- 000093b8 /* Low-level instruction of type 71 */
- 000093bc /* Low-level instruction of type 44 */
- 000093be /* Low-level instruction of type 33 */
- 000093c0 R1 = var_44;
- 000093c2 Cond = R2 - R7;
- 000093c2 R2 = R2 - R7;
- 000093c4 Cond = R3 - R1;
- 000093c4 R3 = R3 - R1;
- 000093c6 if (Cond < 0) goto loc_9492;
- 000093c8 /* Low-level instruction of type 44 */
- 000093ca /* Low-level instruction of type 33 */
- 000093cc /* Low-level instruction of type 49 */
- 000093d0 Cond = R2 - R0;
- 000093d0 R2 = R2 - R0;
- 000093d2 Cond = R3 - R1;
- 000093d2 R3 = R3 - R1;
- 000093d4 if (Cond < 0) goto loc_9492;
- 000093d6 Cond = 0;
- 000093d8 /* Low-level instruction of type 71 */
- 000093dc R1 = 0;
- 000093de /* Low-level instruction of type 49 */
- 000093e2 Cond = R7 + R2;
- 000093e4 Cond = R1 + R3;
- 000093e4 R1 = R1 + R3;
- 000093e6 /* Low-level instruction of type 71 */
- 000093ea /* Low-level instruction of type 44 */
- 000093ec /* Low-level instruction of type 33 */
- 000093ee R0 = var_40;
- 000093f0 Cond = R2 - R0;
- 000093f0 R2 = R2 - R0;
- 000093f2 Cond = R3 - R1;
- 000093f2 R3 = R3 - R1;
- 000093f4 if (Cond < 0) goto loc_9492;
- 000093f6 R8 = 0;
- 000093fc /* Low-level instruction of type 282 */
- 00009402 Cond = * R5 + R9 - R10;
- 00009404 if (Cond < 0) goto loc_9438;
- 0000940c var_28 = R10 - * R5;
- 00009410 R9 = R9 - var_28;
- 00009414 Cond = R5 + 4;
- 00009414 R1 = R5 + 4;
- 00009416 R2 = * R5;
- 00009418 Cond = R2 + R1;
- 0000941e sub_355C(var_28 + R6, R6, var_28, R3);
- 00009422 R2 = R5 + 0x44;
- 00009428 Cond = R5 + 4;
- 0000942a /* Low-level instruction of type 47 */
- 0000942c R8 = R5 + 4;
- 0000942e Cond = R8;
- 00009432 if (Cond != 0) goto loc_9438;
- 00009434 Cond = 0;
- 00009436 * R5 = 0;
- 00009438 loc_9438:
- 00009438 goto loc_9452;
- 0000943a loc_943A:
- 0000943a R1 = var_28;
- 0000943c Cond = R6 + R1;
- 0000943e R2 = R5 + 0x44;
- 00009444 /* Low-level instruction of type 47 */
- 00009446 R8 = R6 + R1;
- 0000944c var_28 = var_28 + R10;
- 0000944e R9 = R9 - R10;
- 00009452 loc_9452:
- 00009452 Cond = R8;
- 00009456 if (Cond != 0) goto loc_945C;
- 00009458 Cond = R9 - R10;
- 0000945a if (Cond >= 0) goto loc_943A;
- 0000945c loc_945C:
- 0000945c Cond = R8;
- 00009460 if (Cond != 0) goto loc_9492;
- 00009462 Cond = R9;
- 00009466 if (Cond == 0) goto loc_947E;
- 00009468 R2 = var_28;
- 0000946a Cond = R6 + R2;
- 0000946c Cond = R5 + 4;
- 0000946c R2 = R5 + 4;
- 0000946e R3 = * R5;
- 00009470 Cond = R3 + R2;
- 00009474 sub_355C(R3 + R9, R6 + R9, R9, R3);
- 0000947c * R5 = * R5 + R9;
- 0000947e loc_947E:
- 0000947e Cond = 0;
- 00009480 /* Low-level instruction of type 71 */
- 00009484 R1 = 0;
- 00009486 /* Low-level instruction of type 49 */
- 0000948a Cond = R7 + R2;
- 0000948c Cond = R1 + R3;
- 0000948e /* Low-level instruction of type 71 */
- 0000949a sub_949A:
- 0000949a /* Low-level instruction of type 43 */
- 0000949e R4 = R0;
- 000094a0 R5 = R1;
- 000094a2 R6 = R2;
- 000094a4 Cond = 1;
- 000094a6 R10 = 1;
- 000094a8 /* Low-level instruction of type 282 */
- 000094aa /* Low-level instruction of type 282 */
- 000094ae Cond = * R4 - 13;
- 000094b0 if (Cond != 0) goto loc_94BC;
- 000094b2 R8 = * R4;
- 000094b6 R9 = R4 + 8;
- 000094ba goto loc_94C2;
- 000094bc loc_94BC:
- 000094bc R10 = 0;
- 000094c0 /* Low-level instruction of type 2 */
- 000094c2 loc_94C2:
- 000094c2 /* Low-level instruction of type 2 */
- 000094c4 Cond = R10 - 1;
- 000094c8 if (Cond != 0) goto loc_94D8;
- 000094d6 sub_9382(R8, R9, R5, R6);
- 000094de sub_94DE:
- 000094de /* Low-level instruction of type 43 */
- 000094e4 R4 = R0;
- 000094e6 R5 = R1;
- 000094e8 R6 = R2;
- 000094ea Cond = 1;
- 000094f0 Cond = 1;
- 000094f2 var_34 = 1;
- 000094f4 Cond = 0;
- 000094f6 var_3C = 0;
- 000094f8 Cond = R4 - 13;
- 000094fa if (Cond != 0) goto loc_950E;
- 00009500 R8 = 0x40;
- 00009504 R9 = 0x38;
- 00009508 Cond = 0x14;
- 0000950a var_38 = 0x14;
- 0000950c goto loc_9510;
- 0000950e loc_950E:
- 0000950e /* Low-level instruction of type 2 */
- 00009510 loc_9510:
- 00009510 /* Low-level instruction of type 2 */
- 00009512 R0 = * R5;
- 00009514 Cond = R0 - R8;
- 00009516 if (Cond >= 0) goto loc_9614;
- 00009518 /* Low-level instruction of type 44 */
- 0000951a /* Low-level instruction of type 33 */
- 0000951c /* Low-level instruction of type 49 */
- 00009520 Cond = R2 - R0;
- 00009522 Cond = R3 - R1;
- 00009524 if (Cond < 0) goto loc_9614;
- 00009526 Cond = 0;
- 00009526 R7 = 0;
- 00009528 Cond = 8;
- 0000952a /* Low-level instruction of type 49 */
- 0000952e /* Low-level instruction of type 39 */
- 00009532 /* Low-level instruction of type 29 */
- 00009536 /* Low-level instruction of type 71 */
- 0000953a R1 = * R5;
- 00009540 R3 = R1;
- 00009542 Cond = R5 + 4;
- 00009542 R1 = R5 + 4;
- 00009544 Cond = R3 + R1;
- 00009546 Cond = 0;
- 00009548 sub_3594(R3 + 0, 0, R8 - R1, R3);
- 0000954c Cond = 0x80;
- 0000954c R1 = 0x80;
- 0000954e Cond = R5 + 4;
- 00009550 R2 = * R5;
- 00009552 * (R5 + 4 + R2) = R1;
- 00009554 R0 = * R5;
- 00009556 Cond = R0 - R9;
- 00009558 if (Cond < 0) goto loc_9572;
- 00009560 Cond = R5 + 4;
- 00009562 /* Low-level instruction of type 47 */
- 00009564 R7 = R5 + 4;
- 00009566 /* Low-level instruction of type 283 */
- 0000956a Cond = 0;
- 0000956c Cond = R5 + 4;
- 0000956e R0 = sub_3594(R5 + 4, 0, R8, R3);
- 00009572 loc_9572:
- 00009572 Cond = R7;
- 00009574 if (Cond != 0) goto loc_9614;
- 00009576 goto loc_95AC;
- 00009578 loc_9578:
- 0000957a /* Low-level instruction of type 251 */
- 0000957e R2 = R8 - var_34;
- 00009582 Cond = R5 + 4;
- 00009582 R0 = R5 + 4;
- 00009584 * (R0 + R2) = R1;
- 00009586 /* Low-level instruction of type 49 */
- 0000958a Cond = R0 >> 8;
- 00009590 Cond = R1 >> 8;
- 00009590 R1 = R1 >> 8;
- 00009592 /* Low-level instruction of type 71 */
- 00009596 Cond = R4 - 0x11;
- 00009598 if (Cond != 0) goto loc_95A4;
- 0000959a R0 = var_34;
- 0000959c Cond = R0 - 1;
- 0000959c R0 = R0 - 1;
- 0000959e /* Low-level instruction of type 251 */
- 000095a0 var_34 = R0;
- 000095a2 goto loc_95AC;
- 000095a4 loc_95A4:
- 000095a4 R0 = var_34;
- 000095a6 Cond = R0 + 1;
- 000095a6 R0 = R0 + 1;
- 000095a8 /* Low-level instruction of type 251 */
- 000095aa var_34 = R0;
- 000095ac loc_95AC:
- 000095ac /* Low-level instruction of type 44 */
- 000095ae /* Low-level instruction of type 33 */
- 000095b0 /* Low-level instruction of type 49 */
- 000095b4 Cond = R1 ^ R3;
- 000095b4 R1 = R1 ^ R3;
- 000095b6 Cond = R0 ^ R2;
- 000095b6 R0 = R0 ^ R2;
- 000095b8 Cond = R0 | R1;
- 000095ba if (Cond != 0) goto loc_9578;
- 000095c2 Cond = R5 + 4;
- 000095c4 /* Low-level instruction of type 47 */
- 000095c8 Cond = R5 + 4;
- 000095ca if (Cond != 0) goto loc_9678;
- 000095cc Cond = R4 - 0x11;
- 000095ce if (Cond != 0) goto loc_9626;
- 000095d0 Cond = 0;
- 000095d0 R0 = 0;
- 000095d2 goto loc_961C;
- 000095d4 loc_95D4:
- 000095d8 R1 = * (R5 + 0x44 + R0);
- 000095dc Cond = R1 >> 0x18;
- 000095de Cond = 4;
- 000095e0 /* Low-level instruction of type 29 */
- 000095e4 * (4 + 3) = R1 >> 0x18;
- 000095ea R1 = * (R5 + 0x44 + R0);
- 000095ee Cond = R1 >> 0x10;
- 000095f0 Cond = 4;
- 000095f2 /* Low-level instruction of type 29 */
- 000095f6 * (4 + 2) = R1 >> 0x10;
- 000095fc R1 = * (R5 + 0x44 + R0);
- 00009600 Cond = R1 >> 8;
- 00009602 Cond = 4;
- 00009604 /* Low-level instruction of type 29 */
- 00009608 * (4 + 1) = R1 >> 8;
- 0000960e R1 = * (R5 + 0x44 + R0);
- 00009612 goto loc_9616;
- 00009614 loc_9614:
- 00009614 goto loc_9678;
- 00009616 loc_9616:
- 00009616 * (R6 + R0) = R1;
- 0000961a Cond = R0 + 1;
- 0000961a R0 = R0 + 1;
- 0000961c loc_961C:
- 0000961e Cond = R0 - (var_38 >> 2);
- 00009622 if (Cond < 0) goto loc_95D4;
- 00009624 goto loc_9678;
- 00009626 loc_9626:
- 00009626 Cond = 0;
- 00009626 R0 = 0;
- 00009628 goto loc_966E;
- 0000962a loc_962A:
- 0000962e R1 = * (R5 + 0x44 + R0);
- 00009632 Cond = R1 >> 0x18;
- 00009634 * (R6 + R0) = R1 >> 0x18;
- 0000963c R1 = * (R5 + 0x44 + R0);
- 00009640 Cond = R1 >> 0x10;
- 00009642 Cond = 4;
- 00009644 /* Low-level instruction of type 29 */
- 00009648 * (4 + 1) = R1 >> 0x10;
- 0000964e R1 = * (R5 + 0x44 + R0);
- 00009652 Cond = R1 >> 8;
- 00009654 Cond = 4;
- 00009656 /* Low-level instruction of type 29 */
- 0000965a * (4 + 2) = R1 >> 8;
- 00009664 Cond = 4;
- 00009666 /* Low-level instruction of type 29 */
- 0000966a * (4 + 3) = * (R5 + 0x44 + R0);
- 0000966c Cond = R0 + 1;
- 0000966c R0 = R0 + 1;
- 0000966e loc_966E:
- 00009670 Cond = R0 - (var_38 >> 2);
- 00009674 if (Cond < 0) goto loc_962A;
- 00009676 /* Low-level instruction of type 2 */
- 00009680 sub_9680:
- 00009680 /* Low-level instruction of type 43 */
- 00009688 R6 = R2;
- 0000968a Cond = 1;
- 00009690 /* Low-level instruction of type 282 */
- 00009692 /* Low-level instruction of type 282 */
- 0000969e Cond = * R0 - 13;
- 000096a0 if (Cond != 0) goto loc_96C0;
- 000096a2 Cond = 0x14;
- 000096a4 * R6 = 0x14;
- 000096a6 goto loc_96C6;
- 000096fe sub_96FE:
- 000096fe /* Low-level instruction of type 43 */
- 00009700 R4 = R0;
- 00009702 Cond = 1;
- 00009704 /* Low-level instruction of type 282 */
- 00009706 Cond = 0x68;
- 00009708 Cond = 0;
- 0000970c sub_3594(R4, 0, 0x68, R3);
- 00009710 Cond = 0x18;
- 00009712 * R4 = 0x18;
- 00009714 Cond = 0;
- 0000972e sub_972E:
- 0000972e /* Low-level instruction of type 43 */
- 00009738 var_44 = * (var_30 + 0x10);
- 0000973e R9 = * (var_30 + 4) - 1;
- 00009744 var_38 = var_44;
- 00009746 R0 = R9 << 1;
- 0000974a Cond = R0 + 3;
- 0000974c var_3C = R0 + 3;
- 0000974e Cond = 0;
- 0000974e R4 = 0;
- 00009750 goto loc_975C;
- 00009752 loc_9752:
- 00009752 Cond = 0;
- 00009756 * (var_38 + R4) = 0;
- 0000975a Cond = R4 + 1;
- 0000975a R4 = R4 + 1;
- 0000975c loc_975C:
- 0000975e Cond = R4 - var_3C;
- 00009760 if (Cond < 0) goto loc_9752;
- 00009762 Cond = 0;
- 00009762 R4 = 0;
- 00009764 goto loc_9844;
- 00009766 loc_9766:
- 00009766 Cond = R4 + 1;
- 0000976c var_34 = R9 - R4 + 1;
- 00009770 R11 = * (var_28 + R4);
- 00009774 R8 = 0;
- 0000977a R0 = var_44 + (R4 << 3);
- 0000977e Cond = R0 + 4;
- 00009780 var_38 = R0 + 4;
- 00009782 Cond = 0;
- 00009782 R5 = 0;
- 00009784 goto loc_97FA;
- 00009786 loc_9786:
- 00009786 Cond = R4 + 1;
- 00009790 /* Low-level instruction of type 255 */
- 00009794 /* Low-level instruction of type 255 */
- 0000979c var_48 = R11 >> 0x10;
- 000097a0 LR = * (var_28 + R4 + 1 + R5) >> 0x10;
- 000097a4 R7 = R2 | R3;
- 000097ac R6 = var_48 | LR;
- 000097b0 R0 = R2 | LR;
- 000097bc R1 = (R3 | var_48) + R0;
- 000097be Cond = R1 - R0;
- 000097c0 if (Cond >= 0) goto loc_97C6;
- 000097c2 R6 = R6 + 0x10000;
- 000097c6 loc_97C6:
- 000097c6 Cond = R1 >> 0x10;
- 000097c8 R6 = R6 + (R1 >> 0x10);
- 000097ca Cond = R1 << 0x10;
- 000097ca R1 = R1 << 0x10;
- 000097cc R7 = R7 + R1;
- 000097ce Cond = R7 - R1;
- 000097d0 if (Cond >= 0) goto loc_97D4;
- 000097d2 Cond = R6 + 1;
- 000097d2 R6 = R6 + 1;
- 000097d4 loc_97D4:
- 000097da R7 = R7 + * (var_38 + R5);
- 000097e2 Cond = * (var_38 + R5) - R7;
- 000097e4 if (Cond <= 0) goto loc_97E8;
- 000097e6 Cond = R6 + 1;
- 000097e6 R6 = R6 + 1;
- 000097e8 loc_97E8:
- 000097e8 R7 = R7 + R8;
- 000097ea Cond = R7 - R8;
- 000097ec if (Cond >= 0) goto loc_97F0;
- 000097ee Cond = R6 + 1;
- 000097ee R6 = R6 + 1;
- 000097f0 loc_97F0:
- 000097f0 R8 = R6;
- 000097f4 * (var_38 + R5) = R7;
- 000097f8 Cond = R5 + 1;
- 000097f8 R5 = R5 + 1;
- 000097fa loc_97FA:
- 000097fc Cond = R5 - var_34;
- 000097fe if (Cond < 0) goto loc_9786;
- 0000980c * (var_38 + R5) = * (var_38 + R5) + R8;
- 00009816 Cond = * (var_38 + R5) - R8;
- 00009818 if (Cond >= 0) goto loc_9842;
- 0000981a Cond = R5 + 1;
- 0000981a R5 = R5 + 1;
- 0000981c goto loc_982A;
- 0000981e loc_981E:
- 0000981e Cond = 0;
- 0000981e R2 = 0;
- 00009822 Cond = R5 + 1;
- 00009822 R5 = R5 + 1;
- 00009826 * (var_38 + R5) = R2;
- 0000982a loc_982A:
- 0000982c R0 = * (var_38 + R5);
- 00009830 Cond = R0 + 1;
- 00009832 if (Cond == 0) goto loc_981E;
- 00009836 R0 = * (var_38 + R5);
- 0000983a Cond = R0 + 1;
- 0000983e * (var_38 + R5) = R0 + 1;
- 00009842 loc_9842:
- 00009842 Cond = R4 + 1;
- 00009842 R4 = R4 + 1;
- 00009844 loc_9844:
- 00009848 Cond = R9 - 1 - R4;
- 0000984a if (Cond > 0) goto loc_9766;
- 0000984c Cond = 0;
- 0000984e var_40 = 0;
- 00009854 var_34 = R9 << 1;
- 00009856 Cond = 0;
- 00009856 R4 = 0;
- 00009858 goto loc_987A;
- 0000985a loc_985A:
- 0000985c R10 = * (var_44 + R4);
- 00009870 * (var_44 + R4) = R10 << 1 | var_40;
- 00009874 var_40 = R10 >> 0x1f;
- 00009878 Cond = R4 + 1;
- 00009878 R4 = R4 + 1;
- 0000987a loc_987A:
- 0000987c Cond = R4 - var_34;
- 0000987e if (Cond < 0) goto loc_985A;
- 00009880 Cond = 0;
- 00009880 R0 = 0;
- 00009882 var_34 = R0;
- 00009884 R8 = R0;
- 00009886 Cond = 0;
- 00009886 R4 = 0;
- 00009888 goto loc_9918;
- 0000988a loc_988A:
- 00009892 /* Low-level instruction of type 255 */
- 0000989e R3 = * (var_28 + R4) >> 0x10;
- 000098aa R0 = R2 | R3;
- 000098ae Cond = R0 << 0x11;
- 000098ae R1 = R0 << 0x11;
- 000098b0 Cond = R0 >> 15;
- 000098b2 R6 = (R3 | R3) + (R0 >> 15);
- 000098b4 R7 = (R2 | R2) + R1;
- 000098b6 Cond = R7 - R1;
- 000098b8 if (Cond >= 0) goto loc_98BC;
- 000098ba Cond = R6 + 1;
- 000098ba R6 = R6 + 1;
- 000098bc loc_98BC:
- 000098c4 R7 = R7 + * (var_44 + var_34);
- 000098ce Cond = * (var_44 + var_34) - R7;
- 000098d0 if (Cond <= 0) goto loc_98D4;
- 000098d2 Cond = R6 + 1;
- 000098d2 R6 = R6 + 1;
- 000098d4 loc_98D4:
- 000098d4 R7 = R7 + R8;
- 000098d6 Cond = R7 - R8;
- 000098d8 if (Cond >= 0) goto loc_98DC;
- 000098da Cond = R6 + 1;
- 000098da R6 = R6 + 1;
- 000098dc loc_98DC:
- 000098dc R0 = var_34;
- 000098de Cond = R0 + 1;
- 000098e6 R6 = R6 + * (var_44 + R0 + 1);
- 000098e8 R0 = var_34;
- 000098ea Cond = R0 + 1;
- 000098f2 Cond = * (var_44 + R0 + 1) - R6;
- 000098f4 if (Cond <= 0) goto loc_98FA;
- 000098f6 Cond = 1;
- 000098f6 R0 = 1;
- 000098f8 goto loc_98FC;
- 000098fa loc_98FA:
- 000098fa Cond = 0;
- 000098fa R0 = 0;
- 000098fc loc_98FC:
- 000098fc R8 = R0;
- 00009902 * (var_44 + var_34) = R7;
- 00009906 R0 = var_34;
- 00009908 Cond = R0 + 1;
- 0000990c * (var_44 + R0 + 1) = R6;
- 00009910 R0 = var_34;
- 00009912 Cond = R0 + 2;
- 00009914 var_34 = R0 + 2;
- 00009916 Cond = R4 + 1;
- 00009916 R4 = R4 + 1;
- 00009918 loc_9918:
- 00009918 Cond = R4 - R9;
- 0000991a if (Cond < 0) goto loc_988A;
- 0000991c Cond = 0;
- 0000991c R4 = 0;
- 0000991e goto loc_9A00;
- 00009920 loc_9920:
- 00009922 R0 = * (var_44 + R4);
- 00009928 R1 = * (var_30 + 0x18);
- 0000992a Cond = R0 | R1;
- 0000992c var_40 = R0 | R1;
- 00009934 var_38 = var_44 + (R4 << 2);
- 00009936 R8 = 0;
- 0000993a Cond = 0;
- 0000993a R5 = 0;
- 0000993c goto loc_99B8;
- 0000993e loc_993E:
- 0000994a /* Low-level instruction of type 255 */
- 0000994e /* Low-level instruction of type 255 */
- 0000995a var_48 = var_40 >> 0x10;
- 0000995e LR = * (* var_30 + R5) >> 0x10;
- 00009962 R7 = R2 | R3;
- 0000996a R6 = var_48 | LR;
- 0000996e R0 = R2 | LR;
- 0000997a R1 = (R3 | var_48) + R0;
- 0000997c Cond = R1 - R0;
- 0000997e if (Cond >= 0) goto loc_9984;
- 00009980 R6 = R6 + 0x10000;
- 00009984 loc_9984:
- 00009984 Cond = R1 >> 0x10;
- 00009986 R6 = R6 + (R1 >> 0x10);
- 00009988 Cond = R1 << 0x10;
- 00009988 R1 = R1 << 0x10;
- 0000998a R7 = R7 + R1;
- 0000998c Cond = R7 - R1;
- 0000998e if (Cond >= 0) goto loc_9992;
- 00009990 Cond = R6 + 1;
- 00009990 R6 = R6 + 1;
- 00009992 loc_9992:
- 00009998 R7 = R7 + * (var_38 + R5);
- 000099a0 Cond = * (var_38 + R5) - R7;
- 000099a2 if (Cond <= 0) goto loc_99A6;
- 000099a4 Cond = R6 + 1;
- 000099a4 R6 = R6 + 1;
- 000099a6 loc_99A6:
- 000099a6 R7 = R7 + R8;
- 000099a8 Cond = R7 - R8;
- 000099aa if (Cond >= 0) goto loc_99AE;
- 000099ac Cond = R6 + 1;
- 000099ac R6 = R6 + 1;
- 000099ae loc_99AE:
- 000099ae R8 = R6;
- 000099b2 * (var_38 + R5) = R7;
- 000099b6 Cond = R5 + 1;
- 000099b6 R5 = R5 + 1;
- 000099b8 loc_99B8:
- 000099b8 Cond = R5 - R9;
- 000099ba if (Cond < 0) goto loc_993E;
- 000099c8 * (var_38 + R5) = * (var_38 + R5) + R8;
- 000099d2 Cond = * (var_38 + R5) - R8;
- 000099d4 if (Cond >= 0) goto loc_99FE;
- 000099d6 Cond = R5 + 1;
- 000099d6 R5 = R5 + 1;
- 000099d8 goto loc_99E6;
- 000099da loc_99DA:
- 000099da Cond = 0;
- 000099da R2 = 0;
- 000099de Cond = R5 + 1;
- 000099de R5 = R5 + 1;
- 000099e2 * (var_38 + R5) = R2;
- 000099e6 loc_99E6:
- 000099e8 R0 = * (var_38 + R5);
- 000099ec Cond = R0 + 1;
- 000099ee if (Cond == 0) goto loc_99DA;
- 000099f2 R0 = * (var_38 + R5);
- 000099f6 Cond = R0 + 1;
- 000099fa * (var_38 + R5) = R0 + 1;
- 000099fe loc_99FE:
- 000099fe Cond = R4 + 1;
- 000099fe R4 = R4 + 1;
- 00009a00 loc_9A00:
- 00009a00 Cond = R4 - R9;
- 00009a02 if (Cond < 0) goto loc_9920;
- 00009a04 Cond = 0;
- 00009a04 R4 = 0;
- 00009a06 goto loc_9A1A;
- 00009a08 loc_9A08:
- 00009a14 * (var_2C + R4) = * (var_44 + R4 + R9);
- 00009a18 Cond = R4 + 1;
- 00009a18 R4 = R4 + 1;
- 00009a1a loc_9A1A:
- 00009a1a Cond = R4 - R9;
- 00009a1c if (Cond <= 0) goto loc_9A08;
- 00009a1e R0 = var_30;
- 00009a24 R0 = sub_9E96(R0, var_2C, * R0, R3);
- 00009a28 Cond = R0 + 1;
- 00009a2a if (Cond == 0) goto loc_9A38;
- 00009a2c R0 = var_30;
- 00009a2e Cond = 0;
- 00009a34 sub_9ED6(R0, var_2C, * R0, 0);
- 00009a3e sub_9A3E:
- 00009a3e /* Low-level instruction of type 43 */
- 00009a44 R4 = R0;
- 00009a48 var_44 = * R4;
- 00009a4c var_48 = * (R4 + 0x10);
- 00009a50 R8 = * (R4 + 4) - 1;
- 00009a56 var_3C = var_48;
- 00009a58 R0 = R8 << 1;
- 00009a5c Cond = R0 + 3;
- 00009a5e var_40 = R0 + 3;
- 00009a60 Cond = 0;
- 00009a62 var_34 = 0;
- 00009a64 goto loc_9A7A;
- 00009a66 loc_9A66:
- 00009a66 R1 = var_34;
- 00009a6a R2 = * (var_28 + R1);
- 00009a70 * (var_3C + R1) = R2;
- 00009a74 R0 = var_34;
- 00009a76 Cond = R0 + 1;
- 00009a78 var_34 = R0 + 1;
- 00009a7a loc_9A7A:
- 00009a7c Cond = var_34 - R8;
- 00009a7e if (Cond < 0) goto loc_9A66;
- 00009a80 var_34 = R8;
- 00009a84 goto loc_9A96;
- 00009a86 loc_9A86:
- 00009a86 Cond = 0;
- 00009a88 R2 = var_34;
- 00009a8c * (var_3C + R2) = 0;
- 00009a90 R0 = var_34;
- 00009a92 Cond = R0 + 1;
- 00009a94 var_34 = R0 + 1;
- 00009a96 loc_9A96:
- 00009a9a Cond = var_34 - var_40;
- 00009a9c if (Cond < 0) goto loc_9A86;
- 00009a9e Cond = 0;
- 00009aa0 var_34 = 0;
- 00009aa2 goto loc_9B7A;
- 00009aa4 loc_9AA4:
- 00009aae R9 = * (var_48 + var_34) | * (R4 + 0x18);
- 00009ab2 R1 = var_34;
- 00009aba var_3C = var_48 + (R1 << 2);
- 00009abc Cond = 0;
- 00009abe var_38 = R1;
- 00009ac0 Cond = 0;
- 00009ac0 R5 = 0;
- 00009ac2 goto loc_9B2C;
- 00009ac4 loc_9AC4:
- 00009aca /* Low-level instruction of type 255 */
- 00009ace /* Low-level instruction of type 255 */
- 00009ad2 R12 = R9 >> 0x10;
- 00009ad6 LR = * (var_44 + R5) >> 0x10;
- 00009ada R7 = R2 | R3;
- 00009ade R6 = R12 | LR;
- 00009ae2 R0 = R2 | LR;
- 00009aea R1 = (R3 | R12) + R0;
- 00009aec Cond = R1 - R0;
- 00009aee if (Cond >= 0) goto loc_9AF4;
- 00009af0 R6 = R6 + 0x10000;
- 00009af4 loc_9AF4:
- 00009af4 Cond = R1 >> 0x10;
- 00009af6 R6 = R6 + (R1 >> 0x10);
- 00009af8 Cond = R1 << 0x10;
- 00009af8 R1 = R1 << 0x10;
- 00009afa R7 = R7 + R1;
- 00009afc Cond = R7 - R1;
- 00009afe if (Cond >= 0) goto loc_9B02;
- 00009b00 Cond = R6 + 1;
- 00009b00 R6 = R6 + 1;
- 00009b02 loc_9B02:
- 00009b08 R7 = R7 + * (var_3C + R5);
- 00009b10 Cond = * (var_3C + R5) - R7;
- 00009b12 if (Cond <= 0) goto loc_9B16;
- 00009b14 Cond = R6 + 1;
- 00009b14 R6 = R6 + 1;
- 00009b16 loc_9B16:
- 00009b18 R7 = R7 + var_38;
- 00009b1c Cond = R7 - var_38;
- 00009b1e if (Cond >= 0) goto loc_9B22;
- 00009b20 Cond = R6 + 1;
- 00009b20 R6 = R6 + 1;
- 00009b22 loc_9B22:
- 00009b22 var_38 = R6;
- 00009b26 * (var_3C + R5) = R7;
- 00009b2a Cond = R5 + 1;
- 00009b2a R5 = R5 + 1;
- 00009b2c loc_9B2C:
- 00009b2c Cond = R5 - R8;
- 00009b2e if (Cond < 0) goto loc_9AC4;
- 00009b3c * (var_3C + R5) = * (var_3C + R5) + var_38;
- 00009b48 Cond = * (var_3C + R5) - var_38;
- 00009b4a if (Cond >= 0) goto loc_9B74;
- 00009b4c Cond = R5 + 1;
- 00009b4c R5 = R5 + 1;
- 00009b4e goto loc_9B5C;
- 00009b50 loc_9B50:
- 00009b50 Cond = 0;
- 00009b50 R2 = 0;
- 00009b54 Cond = R5 + 1;
- 00009b54 R5 = R5 + 1;
- 00009b58 * (var_3C + R5) = R2;
- 00009b5c loc_9B5C:
- 00009b5e R0 = * (var_3C + R5);
- 00009b62 Cond = R0 + 1;
- 00009b64 if (Cond == 0) goto loc_9B50;
- 00009b68 R0 = * (var_3C + R5);
- 00009b6c Cond = R0 + 1;
- 00009b70 * (var_3C + R5) = R0 + 1;
- 00009b74 loc_9B74:
- 00009b74 R0 = var_34;
- 00009b76 Cond = R0 + 1;
- 00009b78 var_34 = R0 + 1;
- 00009b7a loc_9B7A:
- 00009b7c Cond = var_34 - R8;
- 00009b7e if (Cond < 0) goto loc_9AA4;
- 00009b80 Cond = 0;
- 00009b82 var_34 = 0;
- 00009b84 goto loc_9BA0;
- 00009b86 loc_9B86:
- 00009b96 * (var_2C + var_34) = * (var_48 + var_34 + R8);
- 00009b9a R0 = var_34;
- 00009b9c Cond = R0 + 1;
- 00009b9e var_34 = R0 + 1;
- 00009ba0 loc_9BA0:
- 00009ba2 Cond = var_34 - R8;
- 00009ba4 if (Cond <= 0) goto loc_9B86;
- 00009bac R0 = sub_9E96(R4, var_2C, var_44, R3);
- 00009bb0 Cond = R0 + 1;
- 00009bb2 if (Cond == 0) goto loc_9BC0;
- 00009bb4 Cond = 0;
- 00009bbc sub_9ED6(R4, var_2C, var_44, 0);
- 00009bc6 sub_9BC6:
- 00009bc6 /* Low-level instruction of type 43 */
- 00009bcc R4 = R0;
- 00009bd0 var_48 = * (R4 + 0x10);
- 00009bd2 R0 = * (R4 + 4);
- 00009bd4 Cond = R0 - 1;
- 00009bd6 var_44 = R0 - 1;
- 00009bd8 R8 = var_48;
- 00009bdc R0 = var_44;
- 00009bde Cond = R0 << 1;
- 00009bde R0 = R0 << 1;
- 00009be0 Cond = R0 + 3;
- 00009be2 var_40 = R0 + 3;
- 00009be4 Cond = 0;
- 00009be6 var_38 = 0;
- 00009be8 goto loc_9BF8;
- 00009bea loc_9BEA:
- 00009bea Cond = 0;
- 00009bee * (R8 + var_38) = 0;
- 00009bf2 R0 = var_38;
- 00009bf4 Cond = R0 + 1;
- 00009bf6 var_38 = R0 + 1;
- 00009bf8 loc_9BF8:
- 00009bfc Cond = var_38 - var_40;
- 00009bfe if (Cond < 0) goto loc_9BEA;
- 00009c00 Cond = 0;
- 00009c02 var_38 = 0;
- 00009c04 goto loc_9DAE;
- 00009c06 loc_9C06:
- 00009c06 Cond = 0;
- 00009c06 R7 = 0;
- 00009c0c R9 = * (var_2C + var_38);
- 00009c14 R8 = var_48 + (var_38 << 2);
- 00009c18 Cond = 0;
- 00009c1a var_3C = 0;
- 00009c1c goto loc_9C88;
- 00009c1e loc_9C1E:
- 00009c26 /* Low-level instruction of type 255 */
- 00009c2a /* Low-level instruction of type 255 */
- 00009c2e R12 = R9 >> 0x10;
- 00009c32 LR = * (var_28 + var_3C) >> 0x10;
- 00009c36 R6 = R2 | R3;
- 00009c3a R5 = R12 | LR;
- 00009c3e R0 = R2 | LR;
- 00009c46 R1 = (R3 | R12) + R0;
- 00009c48 Cond = R1 - R0;
- 00009c4a if (Cond >= 0) goto loc_9C50;
- 00009c4c R5 = R5 + 0x10000;
- 00009c50 loc_9C50:
- 00009c50 Cond = R1 >> 0x10;
- 00009c52 R5 = R5 + (R1 >> 0x10);
- 00009c54 Cond = R1 << 0x10;
- 00009c54 R1 = R1 << 0x10;
- 00009c56 R6 = R6 + R1;
- 00009c58 Cond = R6 - R1;
- 00009c5a if (Cond >= 0) goto loc_9C5E;
- 00009c5c Cond = R5 + 1;
- 00009c5c R5 = R5 + 1;
- 00009c5e loc_9C5E:
- 00009c64 R6 = R6 + * (R8 + var_3C);
- 00009c6c Cond = * (R8 + var_3C) - R6;
- 00009c6e if (Cond <= 0) goto loc_9C72;
- 00009c70 Cond = R5 + 1;
- 00009c70 R5 = R5 + 1;
- 00009c72 loc_9C72:
- 00009c72 R6 = R6 + R7;
- 00009c74 Cond = R6 - R7;
- 00009c76 if (Cond >= 0) goto loc_9C7A;
- 00009c78 Cond = R5 + 1;
- 00009c78 R5 = R5 + 1;
- 00009c7a loc_9C7A:
- 00009c7a R7 = R5;
- 00009c7e * (R8 + var_3C) = R6;
- 00009c82 R0 = var_3C;
- 00009c84 Cond = R0 + 1;
- 00009c86 var_3C = R0 + 1;
- 00009c88 loc_9C88:
- 00009c8c Cond = var_3C - var_44;
- 00009c8e if (Cond < 0) goto loc_9C1E;
- 00009c9a * (R8 + var_3C) = * (R8 + var_3C) + R7;
- 00009ca4 Cond = * (R8 + var_3C) - R7;
- 00009ca6 if (Cond >= 0) goto loc_9CD4;
- 00009ca8 R0 = var_3C;
- 00009caa Cond = R0 + 1;
- 00009cac var_3C = R0 + 1;
- 00009cae goto loc_9CBC;
- 00009cb0 loc_9CB0:
- 00009cb0 Cond = 0;
- 00009cb0 R2 = 0;
- 00009cb2 R0 = var_3C;
- 00009cb4 Cond = R0 + 1;
- 00009cb6 var_3C = R0;
- 00009cb8 * (R8 + R0) = R2;
- 00009cbc loc_9CBC:
- 00009cbe R0 = * (R8 + var_3C);
- 00009cc2 Cond = R0 + 1;
- 00009cc4 if (Cond == 0) goto loc_9CB0;
- 00009cc8 R0 = * (R8 + var_3C);
- 00009ccc Cond = R0 + 1;
- 00009cd0 * (R8 + var_3C) = R0 + 1;
- 00009cd4 loc_9CD4:
- 00009cde R9 = * (var_48 + var_38) | * (R4 + 0x18);
- 00009ce6 R8 = var_48 + (var_38 << 2);
- 00009cea Cond = 0;
- 00009cea R7 = 0;
- 00009cec Cond = 0;
- 00009cee var_3C = 0;
- 00009cf0 goto loc_9D5C;
- 00009cf2 loc_9CF2:
- 00009cfa /* Low-level instruction of type 255 */
- 00009cfe /* Low-level instruction of type 255 */
- 00009d02 R12 = R9 >> 0x10;
- 00009d06 LR = * (* R4 + var_3C) >> 0x10;
- 00009d0a R6 = R2 | R3;
- 00009d0e R5 = R12 | LR;
- 00009d12 R0 = R2 | LR;
- 00009d1a R1 = (R3 | R12) + R0;
- 00009d1c Cond = R1 - R0;
- 00009d1e if (Cond >= 0) goto loc_9D24;
- 00009d20 R5 = R5 + 0x10000;
- 00009d24 loc_9D24:
- 00009d24 Cond = R1 >> 0x10;
- 00009d26 R5 = R5 + (R1 >> 0x10);
- 00009d28 Cond = R1 << 0x10;
- 00009d28 R1 = R1 << 0x10;
- 00009d2a R6 = R6 + R1;
- 00009d2c Cond = R6 - R1;
- 00009d2e if (Cond >= 0) goto loc_9D32;
- 00009d30 Cond = R5 + 1;
- 00009d30 R5 = R5 + 1;
- 00009d32 loc_9D32:
- 00009d38 R6 = R6 + * (R8 + var_3C);
- 00009d40 Cond = * (R8 + var_3C) - R6;
- 00009d42 if (Cond <= 0) goto loc_9D46;
- 00009d44 Cond = R5 + 1;
- 00009d44 R5 = R5 + 1;
- 00009d46 loc_9D46:
- 00009d46 R6 = R6 + R7;
- 00009d48 Cond = R6 - R7;
- 00009d4a if (Cond >= 0) goto loc_9D4E;
- 00009d4c Cond = R5 + 1;
- 00009d4c R5 = R5 + 1;
- 00009d4e loc_9D4E:
- 00009d4e R7 = R5;
- 00009d52 * (R8 + var_3C) = R6;
- 00009d56 R0 = var_3C;
- 00009d58 Cond = R0 + 1;
- 00009d5a var_3C = R0 + 1;
- 00009d5c loc_9D5C:
- 00009d60 Cond = var_3C - var_44;
- 00009d62 if (Cond < 0) goto loc_9CF2;
- 00009d6e * (R8 + var_3C) = * (R8 + var_3C) + R7;
- 00009d78 Cond = * (R8 + var_3C) - R7;
- 00009d7a if (Cond >= 0) goto loc_9DA8;
- 00009d7c R0 = var_3C;
- 00009d7e Cond = R0 + 1;
- 00009d80 var_3C = R0 + 1;
- 00009d82 goto loc_9D90;
- 00009d84 loc_9D84:
- 00009d84 Cond = 0;
- 00009d84 R2 = 0;
- 00009d86 R0 = var_3C;
- 00009d88 Cond = R0 + 1;
- 00009d8a var_3C = R0 + 1;
- 00009d8c * (R8 + R0) = R2;
- 00009d90 loc_9D90:
- 00009d92 R0 = * (R8 + var_3C);
- 00009d96 Cond = R0 + 1;
- 00009d98 if (Cond == 0) goto loc_9D84;
- 00009d9c R0 = * (R8 + var_3C);
- 00009da0 Cond = R0 + 1;
- 00009da4 * (R8 + var_3C) = R0 + 1;
- 00009da8 loc_9DA8:
- 00009da8 R0 = var_38;
- 00009daa Cond = R0 + 1;
- 00009dac var_38 = R0 + 1;
- 00009dae loc_9DAE:
- 00009db2 Cond = var_38 - var_44;
- 00009db4 if (Cond < 0) goto loc_9C06;
- 00009db8 Cond = 0;
- 00009dba var_38 = 0;
- 00009dbc goto loc_9DD8;
- 00009dbe loc_9DBE:
- 00009dce * (var_30 + var_38) = * (var_48 + var_38 + var_44);
- 00009dd2 R0 = var_38;
- 00009dd4 Cond = R0 + 1;
- 00009dd6 var_38 = R0 + 1;
- 00009dd8 loc_9DD8:
- 00009ddc Cond = var_38 - var_44;
- 00009dde if (Cond <= 0) goto loc_9DBE;
- 00009de6 R0 = sub_9E96(R4, var_30, * R4, R3);
- 00009dea Cond = R0 + 1;
- 00009dec if (Cond == 0) goto loc_9DFA;
- 00009dee Cond = 0;
- 00009df6 sub_9ED6(R4, var_30, * R4, 0);
- 00009e00 sub_9E00:
- 00009e00 /* Low-level instruction of type 43 */
- 00009e02 Cond = 0;
- 00009e02 R7 = 0;
- 00009e0e R6 = R2 + (R2 >> 0x1f >> 0x1e) >> 2;
- 00009e12 Cond = 0;
- 00009e12 R3 = 0;
- 00009e14 goto loc_9E44;
- 00009e16 loc_9E16:
- 00009e16 Cond = 0;
- 00009e16 R4 = 0;
- 00009e18 goto loc_9E28;
- 00009e1a loc_9E1A:
- 00009e1a Cond = 4;
- 00009e1c /* Low-level instruction of type 29 */
- 00009e20 R5 = * (R1 + 4);
- 00009e22 Cond = R7 | R5;
- 00009e22 R7 = R7 | R5;
- 00009e24 Cond = R7 << 8;
- 00009e24 R7 = R7 << 8;
- 00009e26 Cond = R4 + 1;
- 00009e26 R4 = R4 + 1;
- 00009e28 loc_9E28:
- 00009e28 Cond = R4 - 3;
- 00009e2a if (Cond < 0) goto loc_9E1A;
- 00009e2c Cond = 4;
- 00009e2e /* Low-level instruction of type 29 */
- 00009e32 R5 = * (R1 + 4);
- 00009e34 Cond = R5 | R7;
- 00009e3e * (R0 + R6 - R3 - 1) = R5 | R7;
- 00009e42 Cond = R3 + 1;
- 00009e42 R3 = R3 + 1;
- 00009e44 loc_9E44:
- 00009e44 Cond = R3 - R6;
- 00009e46 if (Cond < 0) goto loc_9E16;
- 00009e4a sub_9E4A:
- 00009e4a /* Low-level instruction of type 43 */
- 00009e4c Cond = 0;
- 00009e4c R3 = 0;
- 00009e4e goto loc_9E76;
- 00009e50 loc_9E50:
- 00009e50 Cond = R2 - R3;
- 00009e50 R6 = R2 - R3;
- 00009e52 Cond = R6 - 1;
- 00009e54 R5 = * (R1 + R6 - 1);
- 00009e58 Cond = 3;
- 00009e58 R4 = 3;
- 00009e5a goto loc_9E68;
- 00009e5c loc_9E5C:
- 00009e5c Cond = 4;
- 00009e5e /* Low-level instruction of type 29 */
- 00009e62 * (R0 + 4) = R5;
- 00009e64 Cond = R5 >> 8;
- 00009e64 R5 = R5 >> 8;
- 00009e66 Cond = R4 - 1;
- 00009e66 R4 = R4 - 1;
- 00009e68 loc_9E68:
- 00009e68 Cond = R4;
- 00009e6a if (Cond > 0) goto loc_9E5C;
- 00009e6c Cond = 4;
- 00009e6e /* Low-level instruction of type 29 */
- 00009e72 * (R0 + 4) = R5;
- 00009e74 Cond = R3 + 1;
- 00009e74 R3 = R3 + 1;
- 00009e76 loc_9E76:
- 00009e76 Cond = R3 - R2;
- 00009e78 if (Cond < 0) goto loc_9E50;
- 00009e7c sub_9E7C:
- 00009e7c /* Low-level instruction of type 43 */
- 00009e7e R3 = R2;
- 00009e80 R4 = * (R0 + 4);
- 00009e82 Cond = 0;
- 00009e82 R2 = 0;
- 00009e84 goto loc_9E90;
- 00009e86 loc_9E86:
- 00009e8a * (R1 + R2) = * (R3 + R2);
- 00009e8e Cond = R2 + 1;
- 00009e8e R2 = R2 + 1;
- 00009e90 loc_9E90:
- 00009e90 Cond = R2 - R4;
- 00009e92 if (Cond < 0) goto loc_9E86;
- 00009e96 sub_9E96:
- 00009e96 /* Low-level instruction of type 43 */
- 00009e9c /* Low-level instruction of type 226 */
- 00009e9e R0 = R1 + (R4 << 2);
- 00009ea2 Cond = R0 - 4;
- 00009ea2 R1 = R0 - 4;
- 00009ea4 R0 = R2 + (R4 << 2);
- 00009ea8 Cond = R0 - 4;
- 00009ea8 R2 = R0 - 4;
- 00009eaa /* Low-level instruction of type 2 */
- 00009eac loc_9EAC:
- 00009eb0 Cond = * R1 - * R2;
- 00009eb2 if (Cond >= 0) goto loc_9EBA;
- 00009eb8 locret_9EB8:
- 00009eb8 /* Low-level instruction of type 42 */
- 00009eba loc_9EBA:
- 00009ec2 Cond = * (R1 + -4) - * (R2 + -4);
- 00009ec4 if (Cond <= 0) goto loc_9ECA;
- 00009ec6 Cond = 1;
- 00009ec8 goto locret_9EB8;
- 00009eca loc_9ECA:
- 00009eca Cond = R4 - 1;
- 00009eca R0 = R4 - 1;
- 00009ecc /* Low-level instruction of type 226 */
- 00009ece Cond = R0;
- 00009ece R4 = R0;
- 00009ed0 if (Cond != 0) goto loc_9EAC;
- 00009ed2 Cond = 0;
- 00009ed4 goto locret_9EB8;
- 00009ed6 sub_9ED6:
- 00009ed6 /* Low-level instruction of type 43 */
- 00009edc LR = 0;
- 00009ee2 R12 = * (R0 + 4);
- 00009ee6 /* Low-level instruction of type 282 */
- 00009ee8 R8 = 1;
- 00009eec loc_9EEC:
- 00009eec goto loc_9F24;
- 00009eee loc_9EEE:
- 00009eee R6 = * (R1 + LR);
- 00009ef2 R7 = * (R2 + LR);
- 00009ef6 Cond = R8;
- 00009efa if (Cond == 0) goto loc_9F0E;
- 00009efc Cond = R6 - R7;
- 00009efc R0 = R6 - R7;
- 00009efe Cond = R0 - 1;
- 00009efe R5 = R0 - 1;
- 00009f00 Cond = R6 - R7;
- 00009f02 if (Cond > 0) goto loc_9F08;
- 00009f04 Cond = 1;
- 00009f04 R0 = 1;
- 00009f06 goto loc_9F0A;
- 00009f08 loc_9F08:
- 00009f08 Cond = 0;
- 00009f08 R0 = 0;
- 00009f0a loc_9F0A:
- 00009f0a R8 = R0;
- 00009f0c goto loc_9F1C;
- 00009f0e loc_9F0E:
- 00009f0e Cond = R6 - R7;
- 00009f0e R5 = R6 - R7;
- 00009f10 Cond = R6 - R7;
- 00009f12 if (Cond >= 0) goto loc_9F18;
- 00009f14 Cond = 1;
- 00009f14 R0 = 1;
- 00009f16 goto loc_9F1A;
- 00009f18 loc_9F18:
- 00009f18 Cond = 0;
- 00009f18 R0 = 0;
- 00009f1a loc_9F1A:
- 00009f1a R8 = R0;
- 00009f1c loc_9F1C:
- 00009f1c * (R1 + LR) = R5;
- 00009f20 LR = LR + 1;
- 00009f24 loc_9F24:
- 00009f24 Cond = R12;
- 00009f2c /* Low-level instruction of type 255 */
- 00009f30 if (Cond != 0) goto loc_9EEE;
- 00009f3a sub_9F3A:
- 00009f3a /* Low-level instruction of type 43 */
- 00009f3c R4 = R0;
- 00009f3e Cond = R4 & 1;
- 00009f42 if (Cond != 0) goto loc_9F48;
- 00009f44 Cond = 0;
- 00009f46 locret_9F46:
- 00009f46 /* Low-level instruction of type 42 */
- 00009f48 loc_9F48:
- 00009f48 Cond = 1;
- 00009f48 R6 = 1;
- 00009f4a Cond = 2;
- 00009f4a R5 = 2;
- 00009f4c goto loc_9F70;
- 00009f4e loc_9F4E:
- 00009f4e Cond = 1;
- 00009f58 /* Low-level instruction of type 46 */
- 00009f5c Cond = R5 - 1;
- 00009f5c R2 = R5 - 1;
- 00009f5e Cond = 1;
- 00009f5e R0 = 1;
- 00009f60 Cond = R0 << R2;
- 00009f62 Cond = (1 << R5) - (R0 << R2);
- 00009f64 if (Cond < 0) goto loc_9F6E;
- 00009f66 Cond = R5 - 1;
- 00009f66 R1 = R5 - 1;
- 00009f68 Cond = 1;
- 00009f68 R0 = 1;
- 00009f6a Cond = R0 << R1;
- 00009f6c R6 = R6 + (R0 << R1);
- 00009f6e loc_9F6E:
- 00009f6e Cond = R5 + 1;
- 00009f6e R5 = R5 + 1;
- 00009f70 loc_9F70:
- 00009f70 Cond = R5 - 0x1f;
- 00009f72 if (Cond <= 0) goto loc_9F4E;
- 00009f74 Cond = R4 | R6;
- 00009f74 R4 = R4 | R6;
- 00009f76 Cond = R4 - 0x80000000;
- 00009f7a if (Cond < 0) goto loc_9F80;
- 00009f7c R6 = R6 - 0x80000000;
- 00009f80 loc_9F80:
- 00009f82 goto locret_9F46;
- 0000bd5c sub_BD5C:
- 0000bd5c Cond = R2 - 0x20;
- 0000bd60 if (Cond >= 0) goto loc_BD78;
- 0000bd74 return R0;
- 0000bd78 loc_BD78:
- 0000bd80 return 0;
- 0000bdac sub_BDAC:
- 0000bdb8 goto loc_C484;
- 0000bdbc sub_BDBC:
- 0000bdbc R2 = 0;
- 0000bdc0 loc_BDC0:
- 0000bdc0 /* push LR */
- 0000bdd0 Cond = R1 - 0x20;
- 0000bdd0 R1 = R1 - 0x20;
- 0000bdd4 loc_BDD4:
- 0000bdd4 /* Low-level instruction of type 34 */
- 0000bdd8 /* Low-level instruction of type 34 */
- 0000bddc Cond = R1 - 0x20;
- 0000bddc if (Cond < 0) goto loc_BDE0;
- 0000bddc R1 = R1 - 0x20;
- 0000bde0 loc_BDE0:
- 0000bde0 if (Cond >= 0) goto loc_BDD4;
- 0000bde4 Cond = R1 << 0x1c;
- 0000bde4 R1 = R1 << 0x1c;
- 0000bde8 /* Low-level instruction of type 34 */
- 0000bdec /* Low-level instruction of type 34 */
- 0000bdf0 /* pop */
- 0000bdf4 Cond = R1 << 2;
- 0000bdf8 if (Cond < 0) goto loc_BDFC;
- 0000bdf8 * (R0 + 4) = R2;
- 0000bdfc loc_BDFC:
- 0000bdfc if (Cond != 0) goto loc_BE00;
- 0000bdfc return R0;
- 0000be00 loc_BE00:
- 0000be00 if (Cond >= 0) goto loc_BE04;
- 0000be00 * (R0 + 2) = R2;
- 0000be04 loc_BE04:
- 0000be04 Cond = R1 & 0x40000000;
- 0000be08 if (Cond == 0) goto loc_BE0C;
- 0000be08 * (R0 + 1) = R2;
- 0000be0c loc_BE0C:
- 0000be0c return R0;
- 0000be58 sub_BE58:
- 0000be58 Cond = R0 | R1;
- 0000be5c if (Cond < 0) goto loc_BEE8;
- 0000be60 R2 = 0;
- 0000be64 Cond = (R0 >> 1) - R1;
- 0000be68 if (Cond < 0) goto loc_BED8;
- 0000be6c Cond = (R0 >> 4) - R1;
- 0000be70 if (Cond < 0) goto loc_BEB4;
- 0000be74 Cond = (R0 >> 8) - R1;
- 0000be78 if (Cond < 0) goto loc_BE84;
- 0000be7c R3 = 0;
- 0000be80 goto loc_BF08;
- 0000be84 loc_BE84:
- 0000be84 Cond = (R0 >> 7) - R1;
- 0000be88 if (Cond < 0) goto loc_BE8C;
- 0000be88 R0 = R0 - (R1 << 7);
- 0000be8c loc_BE8C:
- 0000be8c R2 = R2 + R2;
- 0000be90 Cond = (R0 >> 6) - R1;
- 0000be94 if (Cond < 0) goto loc_BE98;
- 0000be94 R0 = R0 - (R1 << 6);
- 0000be98 loc_BE98:
- 0000be98 R2 = R2 + R2;
- 0000be9c Cond = (R0 >> 5) - R1;
- 0000bea0 if (Cond < 0) goto loc_BEA4;
- 0000bea0 R0 = R0 - (R1 << 5);
- 0000bea4 loc_BEA4:
- 0000bea4 R2 = R2 + R2;
- 0000bea8 Cond = (R0 >> 4) - R1;
- 0000beac if (Cond < 0) goto loc_BEB0;
- 0000beac R0 = R0 - (R1 << 4);
- 0000beb0 loc_BEB0:
- 0000beb0 R2 = R2 + R2;
- 0000beb4 loc_BEB4:
- 0000beb4 Cond = (R0 >> 3) - R1;
- 0000beb8 if (Cond < 0) goto loc_BEBC;
- 0000beb8 R0 = R0 - (R1 << 3);
- 0000bebc loc_BEBC:
- 0000bebc R2 = R2 + R2;
- 0000bec0 Cond = (R0 >> 2) - R1;
- 0000bec4 if (Cond < 0) goto loc_BEC8;
- 0000bec4 R0 = R0 - (R1 << 2);
- 0000bec8 loc_BEC8:
- 0000bec8 Cond = R2 + R2;
- 0000bec8 R2 = R2 + R2;
- 0000becc Cond = (R0 >> 1) - R1;
- 0000bed0 if (Cond < 0) goto loc_BED4;
- 0000bed0 R0 = R0 - (R1 << 1);
- 0000bed4 loc_BED4:
- 0000bed4 R2 = R2 + R2;
- 0000bed8 loc_BED8:
- 0000bed8 Cond = R0 - R1;
- 0000bedc if (Cond >= 0) goto loc_BEE0;
- 0000bee0 loc_BEE0:
- 0000bee4 return R2 + R2;
- 0000bee8 loc_BEE8:
- 0000bee8 Cond = R1 & 0x80000000;
- 0000bee8 R2 = R1 & 0x80000000;
- 0000beec if (Cond >= 0) goto loc_BEF0;
- 0000beec R1 = 0 - R1;
- 0000bef0 loc_BEF0:
- 0000bef0 Cond = R2 ^ R0 >> 0x20;
- 0000bef0 R3 = R2 ^ R0 >> 0x20;
- 0000bef4 if (Cond < 0) goto loc_BEF8;
- 0000bef4 R0 = 0 - R0;
- 0000bef8 loc_BEF8:
- 0000bef8 Cond = (R0 >> 4) - R1;
- 0000befc if (Cond < 0) goto loc_BF78;
- 0000bf00 Cond = (R0 >> 8) - R1;
- 0000bf04 if (Cond < 0) goto loc_BF48;
- 0000bf08 loc_BF08:
- 0000bf08 R1 = R1 << 6;
- 0000bf0c Cond = (R0 >> 8) - R1;
- 0000bf10 R2 = R2 | 0xfc000000;
- 0000bf14 if (Cond < 0) goto loc_BF48;
- 0000bf18 R1 = R1 << 6;
- 0000bf1c Cond = (R0 >> 8) - R1;
- 0000bf20 R2 = R2 | 0x3f00000;
- 0000bf24 if (Cond < 0) goto loc_C748;
- 0000bf28 R1 = R1 << 6;
- 0000bf2c Cond = (R0 >> 8) - R1;
- 0000bf30 R2 = R2 | 0xfc000;
- 0000bf34 if (Cond < 0) goto loc_BF38;
- 0000bf34 R1 = R1 << 6;
- 0000bf38 loc_BF38:
- 0000bf38 if (Cond < 0) goto loc_BF3C;
- 0000bf38 R2 = R2 | 0x3f00;
- 0000bf3c loc_BF3C:
- 0000bf3c Cond = 0 - R1;
- 0000bf40 if (Cond >= 0) goto loc_BFBC;
- 0000bf44 loc_BF44:
- 0000bf44 if (Cond < 0) goto loc_BF48;
- 0000bf44 R1 = R1 >> 6;
- 0000bf48 loc_BF48:
- 0000bf48 loc_BF48:
- 0000bf48 Cond = (R0 >> 7) - R1;
- 0000bf4c if (Cond < 0) goto loc_BF50;
- 0000bf4c R0 = R0 - (R1 << 7);
- 0000bf50 loc_BF50:
- 0000bf50 R2 = R2 + R2;
- 0000bf54 Cond = (R0 >> 6) - R1;
- 0000bf58 if (Cond < 0) goto loc_BF5C;
- 0000bf58 R0 = R0 - (R1 << 6);
- 0000bf5c loc_BF5C:
- 0000bf5c R2 = R2 + R2;
- 0000bf60 Cond = (R0 >> 5) - R1;
- 0000bf64 if (Cond < 0) goto loc_BF68;
- 0000bf64 R0 = R0 - (R1 << 5);
- 0000bf68 loc_BF68:
- 0000bf68 R2 = R2 + R2;
- 0000bf6c Cond = (R0 >> 4) - R1;
- 0000bf70 if (Cond < 0) goto loc_BF74;
- 0000bf70 R0 = R0 - (R1 << 4);
- 0000bf74 loc_BF74:
- 0000bf74 R2 = R2 + R2;
- 0000bf78 loc_BF78:
- 0000bf78 Cond = (R0 >> 3) - R1;
- 0000bf7c if (Cond < 0) goto loc_BF80;
- 0000bf7c R0 = R0 - (R1 << 3);
- 0000bf80 loc_BF80:
- 0000bf80 R2 = R2 + R2;
- 0000bf84 Cond = (R0 >> 2) - R1;
- 0000bf88 if (Cond < 0) goto loc_BF8C;
- 0000bf88 R0 = R0 - (R1 << 2);
- 0000bf8c loc_BF8C:
- 0000bf8c Cond = R2 + R2;
- 0000bf8c R2 = R2 + R2;
- 0000bf90 if (Cond >= 0) goto loc_BF44;
- 0000bf94 Cond = (R0 >> 1) - R1;
- 0000bf98 if (Cond < 0) goto loc_BF9C;
- 0000bf98 R0 = R0 - (R1 << 1);
- 0000bf9c loc_BF9C:
- 0000bf9c R2 = R2 + R2;
- 0000bfa0 Cond = R0 - R1;
- 0000bfa0 R1 = R0 - R1;
- 0000bfa4 if (Cond >= 0) goto loc_BFA8;
- 0000bfa4 R1 = R0;
- 0000bfa8 loc_BFA8:
- 0000bfa8 R0 = R2 + R2;
- 0000bfac Cond = R3 >> 0x1f;
- 0000bfb0 if (Cond >= 0) goto loc_BFB4;
- 0000bfb0 R0 = 0 - R0;
- 0000bfb4 loc_BFB4:
- 0000bfb4 if (Cond < 0) goto loc_BFB8;
- 0000bfb8 loc_BFB8:
- 0000bfb8 return R0;
- 0000bfbc loc_BFBC:
- 0000bfbc Cond = R3 >> 0x1f;
- 0000bfc0 if (Cond >= 0) goto loc_BFC4;
- 0000bfc0 R0 = 0 - R0;
- 0000bfc4 loc_BFC4:
- 0000bfc4 /* push LR */
- 0000bfc4 /* push R0 */
- 0000bfcc /* Low-level instruction of type 2 */
- 0000bfd0 /* pop */
- 0000bfd0 /* pop */
- 0000bfd4 return 0;
- 0000bfd8 sub_BFD8:
- 0000bfd8 /* Low-level instruction of type 2 */
- 0000bfdc R0 = sub_CE14(R0, R1, R2, R3);
- 0000bfe0 /* push R1 */
- 0000bfe0 /* push R0 */
- 0000bfe4 sub_CF70(R0, R1, R2, R3);
- 0000bfe8 /* pop R0 */
- 0000bfe8 /* pop R1 */
- 0000bfec /* Low-level instruction of type 46 */
- 0000bff0 /* push R3 */
- 0000bff0 /* push R2 */
- 0000bff0 /* push R1 */
- 0000bff0 /* push R0 */
- 0000bff4 sub_CF7C(R0, R1, R2, R3);
- 0000bff8 /* pop */
- 0000bff8 /* pop */
- 0000bff8 /* pop */
- 0000bff8 /* pop */
- 0000c004 Cond = off_DF0C. + PC & 1;
- 0000c008 /* Low-level instruction of type 44 */
- 0000c00c if (Cond != 0) goto loc_C010;
- 0000c040 sub_C040:
- 0000c040 /* Low-level instruction of type 43 */
- 0000c042 R5 = * (R0 + 0x34);
- 0000c044 Cond = R0;
- 0000c044 R4 = R0;
- 0000c046 R0 = * (R0 + 0x18);
- 0000c048 Cond = 0x30;
- 0000c048 R6 = 0x30;
- 0000c04a Cond = R0 << 0x1b;
- 0000c04c if (Cond < 0) goto loc_C050;
- 0000c04e Cond = 0x20;
- 0000c04e R6 = 0x20;
- 0000c050 loc_C050:
- 0000c050 Cond = R0 << 0x1f;
- 0000c052 if (Cond != 0) goto locret_C068;
- 0000c054 goto loc_C064;
- 0000c056 loc_C056:
- 0000c05a Cond = R6;
- 0000c05c /* Low-level instruction of type 47 */
- 0000c05e R0 = * (R4 + 0x3c);
- 0000c060 Cond = R0 + 1;
- 0000c062 * (R4 + 0x3c) = R0 + 1;
- 0000c064 loc_C064:
- 0000c064 Cond = R5 - 1;
- 0000c064 R5 = R5 - 1;
- 0000c066 if (Cond >= 0) goto loc_C056;
- 0000c06a sub_C06A:
- 0000c06a /* Low-level instruction of type 43 */
- 0000c06c R5 = * (R0 + 0x34);
- 0000c06e Cond = R0;
- 0000c06e R4 = R0;
- 0000c070 R0 = * (R0 + 0x18);
- 0000c072 Cond = R0 << 0x1f;
- 0000c074 if (Cond == 0) goto locret_C08A;
- 0000c076 goto loc_C086;
- 0000c078 loc_C078:
- 0000c07c Cond = 0x20;
- 0000c07e /* Low-level instruction of type 47 */
- 0000c080 R0 = * (R4 + 0x3c);
- 0000c082 Cond = R0 + 1;
- 0000c084 * (R4 + 0x3c) = R0 + 1;
- 0000c086 loc_C086:
- 0000c086 Cond = R5 - 1;
- 0000c086 R5 = R5 - 1;
- 0000c088 if (Cond >= 0) goto loc_C078;
- 0000c08c sub_C08C:
- 0000c08c R1 = * (R1 + 0x1c);
- 0000c08e Cond = R1 << 0x15;
- 0000c090 if (Cond >= 0) goto loc_C098;
- 0000c092 Cond = R0 << 0x18;
- 0000c092 R0 = R0 << 0x18;
- 0000c094 Cond = R0 >> 0x18;
- 0000c094 R0 = R0 >> 0x18;
- 0000c096 locret_C096:
- 0000c096 return R0;
- 0000c098 loc_C098:
- 0000c098 Cond = R1 << 0x17;
- 0000c09a if (Cond >= 0) goto locret_C096;
- 0000c09c Cond = R0 << 0x10;
- 0000c09c R0 = R0 << 0x10;
- 0000c09e Cond = R0 >> 0x10;
- 0000c0a0 return R0 >> 0x10;
- 0000c0a2 sub_C0A2:
- 0000c0a2 R1 = * (R1 + 0x18);
- 0000c0a4 Cond = R1 << 0x15;
- 0000c0a6 if (Cond >= 0) goto loc_C0AE;
- 0000c0a8 R0 = R0 & 0xff;
- 0000c0ac locret_C0AC:
- 0000c0ac return R0;
- 0000c0ae loc_C0AE:
- 0000c0ae Cond = R1 << 0x17;
- 0000c0b0 if (Cond >= 0) goto locret_C0AC;
- 0000c0b6 return R0 & 0xffff;
- 0000c0b8 sub_C0B8:
- 0000c0b8 /* Low-level instruction of type 43 */
- 0000c0ba Cond = R0;
- 0000c0ba R5 = R0;
- 0000c0bc R0 = * (R0 + 0x18);
- 0000c0be Cond = R1;
- 0000c0be R6 = R1;
- 0000c0c0 Cond = R0 << 0x1a;
- 0000c0c2 if (Cond >= 0) goto loc_C0DC;
- 0000c0c4 R0 = * (R5 + 0x38);
- 0000c0c6 Cond = 0;
- 0000c0c6 R4 = 0;
- 0000c0c8 goto loc_C0CC;
- 0000c0ca loc_C0CA:
- 0000c0ca Cond = R4 + 1;
- 0000c0ca R4 = R4 + 1;
- 0000c0cc loc_C0CC:
- 0000c0cc Cond = R0 - R4;
- 0000c0ce if (Cond <= 0) goto loc_C0EC;
- 0000c0d0 Cond = R4 - R2;
- 0000c0d2 if (Cond < 0) goto loc_C0CA;
- 0000c0d6 Cond = * (R6 + R4);
- 0000c0d8 if (Cond != 0) goto loc_C0CA;
- 0000c0da goto loc_C0EC;
- 0000c0dc loc_C0DC:
- 0000c0dc Cond = 0;
- 0000c0dc R4 = 0;
- 0000c0de goto loc_C0E2;
- 0000c0e0 loc_C0E0:
- 0000c0e0 Cond = R4 + 1;
- 0000c0e0 R4 = R4 + 1;
- 0000c0e2 loc_C0E2:
- 0000c0e2 Cond = R4 - R2;
- 0000c0e4 if (Cond < 0) goto loc_C0E0;
- 0000c0e8 Cond = * (R6 + R4);
- 0000c0ea if (Cond != 0) goto loc_C0E0;
- 0000c1cc sub_C1CC:
- 0000c1cc /* Low-level instruction of type 43 */
- 0000c1ce Cond = R1;
- 0000c1ce R5 = R1;
- 0000c1d0 /* Low-level instruction of type 43 */
- 0000c1d2 Cond = R2;
- 0000c1d2 R0 = R2;
- 0000c1d8 R1 = off_20. + PC;
- 0000c1da Cond = R5 - 0x58;
- 0000c1dc if (Cond == 0) goto loc_C1E0;
- 0000c1de Cond = R1 - 0x11;
- 0000c1de R1 = R1 - 0x11;
- 0000c1e0 loc_C1E0:
- 0000c1e0 var_2C = R1;
- 0000c1e4 R1 = * (var_28 + 0x18);
- 0000c1e6 Cond = R1 << 0x18;
- 0000c1e8 if (Cond >= 0) goto loc_C1F0;
- 0000c1ea Cond = R0;
- 0000c1ea R4 = R0;
- 0000c1ec Cond = R3;
- 0000c1ec R6 = R3;
- 0000c1ee goto loc_C1FA;
- 0000c1f0 loc_C1F0:
- 0000c1f2 Cond = 0;
- 0000c1f2 R6 = 0;
- 0000c1f4 R0 = sub_C0A2(R0, var_28, R2, R3);
- 0000c1f8 Cond = R0;
- 0000c1f8 R4 = R0;
- 0000c1fa loc_C1FA:
- 0000c1fa Cond = 0;
- 0000c1fc var_50 = 0;
- 0000c200 /* Low-level instruction of type 44 */
- 0000c202 R0 = * (var_28 + 0x18);
- 0000c204 Cond = R0 << 0x1c;
- 0000c206 if (Cond >= 0) goto loc_C230;
- 0000c208 Cond = R5 - 0x70;
- 0000c20a if (Cond != 0) goto loc_C214;
- 0000c20c Cond = 1;
- 0000c20e /* Low-level instruction of type 44 */
- 0000c210 var_50 = 1;
- 0000c212 goto loc_C234;
- 0000c214 loc_C214:
- 0000c214 Cond = 0;
- 0000c214 R3 = 0;
- 0000c216 Cond = R6;
- 0000c216 R1 = R6;
- 0000c218 Cond = R4;
- 0000c218 R0 = R4;
- 0000c21a Cond = R1 ^ R3;
- 0000c21a R1 = R1 ^ R3;
- 0000c21c Cond = R0 ^ R3;
- 0000c21c R0 = R0 ^ R3;
- 0000c21e Cond = R0 | R1;
- 0000c220 if (Cond == 0) goto loc_C242;
- 0000c222 Cond = R5 - 0x78;
- 0000c224 /* Low-level instruction of type 44 */
- 0000c226 if (Cond == 0) goto loc_C22A;
- 0000c228 /* Low-level instruction of type 44 */
- 0000c22a loc_C22A:
- 0000c22a Cond = 2;
- 0000c22c var_50 = 2;
- 0000c22e goto loc_C242;
- 0000c230 loc_C230:
- 0000c230 Cond = R5 - 0x70;
- 0000c232 if (Cond != 0) goto loc_C242;
- 0000c234 loc_C234:
- 0000c234 Cond = 0x20;
- 0000c234 R1 = 0x20;
- 0000c236 Cond = R0 | R1;
- 0000c23a * (var_28 + 0x18) = R0 | R1;
- 0000c23e Cond = 8;
- 0000c240 * (var_28 + 0x38) = 8;
- 0000c242 loc_C242:
- 0000c242 Cond = 0;
- 0000c242 R5 = 0;
- 0000c244 goto loc_C25C;
- 0000c246 loc_C246:
- 0000c248 Cond = R4 << 0x1c;
- 0000c248 R0 = R4 << 0x1c;
- 0000c24a Cond = R4 >> 4;
- 0000c24a R4 = R4 >> 4;
- 0000c24c Cond = R0 >> 0x1c;
- 0000c252 * (& var_4C + R5) = * (var_2C + (R0 >> 0x1c));
- 0000c254 Cond = R6 << 0x1c;
- 0000c254 R0 = R6 << 0x1c;
- 0000c256 Cond = R5 + 1;
- 0000c256 R5 = R5 + 1;
- 0000c258 Cond = R4 | R0;
- 0000c258 R4 = R4 | R0;
- 0000c25a Cond = R6 >> 4;
- 0000c25a R6 = R6 >> 4;
- 0000c25c loc_C25C:
- 0000c25c Cond = 0;
- 0000c25c R3 = 0;
- 0000c25e Cond = R6;
- 0000c25e R1 = R6;
- 0000c260 Cond = R4;
- 0000c260 R0 = R4;
- 0000c262 Cond = R1 ^ R3;
- 0000c262 R1 = R1 ^ R3;
- 0000c264 Cond = R0 ^ R3;
- 0000c264 R0 = R0 ^ R3;
- 0000c266 Cond = R0 | R1;
- 0000c268 if (Cond != 0) goto loc_C246;
- 0000c294 sub_C294:
- 0000c294 /* Low-level instruction of type 43 */
- 0000c296 Cond = R0;
- 0000c296 R7 = R0;
- 0000c298 Cond = R2;
- 0000c298 R0 = R2;
- 0000c29a R1 = * (R7 + 0x18);
- 0000c29e Cond = R1 << 0x18;
- 0000c2a0 if (Cond >= 0) goto loc_C2A8;
- 0000c2a2 Cond = R0;
- 0000c2a2 R4 = R0;
- 0000c2a4 Cond = R3;
- 0000c2a4 R6 = R3;
- 0000c2a6 goto loc_C2B2;
- 0000c2a8 loc_C2A8:
- 0000c2a8 Cond = 0;
- 0000c2a8 R6 = 0;
- 0000c2aa Cond = R7;
- 0000c2ac R0 = sub_C0A2(R0, R7, R2, R3);
- 0000c2b0 Cond = R0;
- 0000c2b0 R4 = R0;
- 0000c2b2 loc_C2B2:
- 0000c2b2 /* Low-level instruction of type 44 */
- 0000c2b4 var_18 = R0;
- 0000c2b6 Cond = 0;
- 0000c2b8 var_3C = 0;
- 0000c2ba R0 = * (R7 + 0x18);
- 0000c2bc Cond = R0 << 0x1c;
- 0000c2be if (Cond >= 0) goto loc_C2E0;
- 0000c2c0 Cond = R0 << 0x1a;
- 0000c2c0 R0 = R0 << 0x1a;
- 0000c2c2 if (Cond < 0) goto loc_C2D2;
- 0000c2c4 Cond = 0;
- 0000c2c4 R3 = 0;
- 0000c2c6 Cond = R6;
- 0000c2c6 R1 = R6;
- 0000c2c8 Cond = R4;
- 0000c2c8 R0 = R4;
- 0000c2ca Cond = R1 ^ R3;
- 0000c2ca R1 = R1 ^ R3;
- 0000c2cc Cond = R0 ^ R3;
- 0000c2cc R0 = R0 ^ R3;
- 0000c2ce Cond = R0 | R1;
- 0000c2ce R0 = R0 | R1;
- 0000c2d0 if (Cond == 0) goto loc_C2E0;
- 0000c2d2 loc_C2D2:
- 0000c2d2 /* Low-level instruction of type 44 */
- 0000c2d4 var_18 = R0;
- 0000c2d6 Cond = 1;
- 0000c2d8 var_3C = 1;
- 0000c2da R0 = * (R7 + 0x38);
- 0000c2dc Cond = R0 - 1;
- 0000c2de * (R7 + 0x38) = R0 - 1;
- 0000c2e0 loc_C2E0:
- 0000c2e0 Cond = 0;
- 0000c2e0 R5 = 0;
- 0000c2e2 goto loc_C2F8;
- 0000c2e4 loc_C2E4:
- 0000c2e4 Cond = R4 << 0x1d;
- 0000c2e4 R0 = R4 << 0x1d;
- 0000c2e8 Cond = R0 >> 0x1d;
- 0000c2e8 R0 = R0 >> 0x1d;
- 0000c2ea Cond = R0 + 0x30;
- 0000c2ec * (& var_38 + R5) = R0 + 0x30;
- 0000c2ee Cond = R6 << 0x1d;
- 0000c2ee R0 = R6 << 0x1d;
- 0000c2f0 Cond = R4 >> 3;
- 0000c2f0 R4 = R4 >> 3;
- 0000c2f2 Cond = R5 + 1;
- 0000c2f2 R5 = R5 + 1;
- 0000c2f4 Cond = R4 | R0;
- 0000c2f4 R4 = R4 | R0;
- 0000c2f6 Cond = R6 >> 3;
- 0000c2f6 R6 = R6 >> 3;
- 0000c2f8 loc_C2F8:
- 0000c2f8 Cond = 0;
- 0000c2f8 R3 = 0;
- 0000c2fa Cond = R6;
- 0000c2fa R1 = R6;
- 0000c2fc Cond = R4;
- 0000c2fc R0 = R4;
- 0000c2fe Cond = R1 ^ R3;
- 0000c2fe R1 = R1 ^ R3;
- 0000c300 Cond = R0 ^ R3;
- 0000c300 R0 = R0 ^ R3;
- 0000c302 Cond = R0 | R1;
- 0000c304 if (Cond != 0) goto loc_C2E4;
- 0000c324 sub_C324:
- 0000c324 /* Low-level instruction of type 43 */
- 0000c326 Cond = R2;
- 0000c326 R0 = R2;
- 0000c328 Cond = 0;
- 0000c32c Cond = R1 - 0x75;
- 0000c32e R1 = var_20;
- 0000c330 /* Low-level instruction of type 44 */
- 0000c332 if (Cond == 0) goto loc_C358;
- 0000c334 R0 = sub_C08C(R0, R1, R2, R3);
- 0000c338 Cond = R0;
- 0000c33a if (Cond >= 0) goto loc_C342;
- 0000c33c R0 = - R0;
- 0000c33e /* Low-level instruction of type 44 */
- 0000c340 goto loc_C354;
- 0000c342 loc_C342:
- 0000c344 R1 = * (var_20 + 0x18);
- 0000c346 Cond = R1 << 0x1e;
- 0000c348 if (Cond >= 0) goto loc_C34E;
- 0000c34a /* Low-level instruction of type 44 */
- 0000c34c goto loc_C354;
- 0000c34e loc_C34E:
- 0000c34e Cond = R1 << 0x1d;
- 0000c34e R1 = R1 << 0x1d;
- 0000c350 if (Cond >= 0) goto loc_C35C;
- 0000c352 /* Low-level instruction of type 44 */
- 0000c354 loc_C354:
- 0000c354 Cond = 1;
- 0000c356 goto loc_C35C;
- 0000c358 loc_C358:
- 0000c358 R0 = sub_C0A2(R0, R1, R2, R3);
- 0000c35c loc_C35C:
- 0000c35c Cond = 0;
- 0000c35c R4 = 0;
- 0000c35e R7 = & var_40;
- 0000c360 goto loc_C36C;
- 0000c362 loc_C362:
- 0000c362 /* Low-level instruction of type 46 */
- 0000c366 Cond = R1 + 0x30;
- 0000c366 R1 = R1 + 0x30;
- 0000c368 * (R7 + R4) = R1;
- 0000c36a Cond = R4 + 1;
- 0000c36a R4 = R4 + 1;
- 0000c36c loc_C36C:
- 0000c36c Cond = R0;
- 0000c36e if (Cond != 0) goto loc_C362;
- 0000c394 sub_C394:
- 0000c394 /* Low-level instruction of type 43 */
- 0000c396 Cond = R2;
- 0000c396 R6 = R2;
- 0000c398 /* Low-level instruction of type 43 */
- 0000c39a Cond = 0;
- 0000c39e Cond = R3;
- 0000c39e R7 = R3;
- 0000c3a0 Cond = R1 - 0x75;
- 0000c3a2 /* Low-level instruction of type 44 */
- 0000c3a4 var_4C = 0;
- 0000c3a6 if (Cond == 0) goto loc_C3D2;
- 0000c3a8 Cond = 0;
- 0000c3a8 R3 = 0;
- 0000c3aa Cond = R7;
- 0000c3aa R1 = R7;
- 0000c3ac Cond = R6 - R3;
- 0000c3ae Cond = R1 - R3;
- 0000c3b0 if (Cond >= 0) goto loc_C3BC;
- 0000c3b2 R6 = - R6;
- 0000c3b4 Cond = R2 - R2;
- 0000c3b4 R2 = R2 - R2;
- 0000c3b6 Cond = R2 - R7;
- 0000c3b6 R7 = R2 - R7;
- 0000c3b8 /* Low-level instruction of type 44 */
- 0000c3ba goto loc_C3CE;
- 0000c3bc loc_C3BC:
- 0000c3be R0 = * (var_28 + 0x18);
- 0000c3c0 Cond = R0 << 0x1e;
- 0000c3c2 if (Cond >= 0) goto loc_C3C8;
- 0000c3c4 /* Low-level instruction of type 44 */
- 0000c3c6 goto loc_C3CE;
- 0000c3c8 loc_C3C8:
- 0000c3c8 Cond = R0 << 0x1d;
- 0000c3ca if (Cond >= 0) goto loc_C3D2;
- 0000c3cc /* Low-level instruction of type 44 */
- 0000c3ce loc_C3CE:
- 0000c3ce Cond = 1;
- 0000c3d0 var_4C = 1;
- 0000c3d2 loc_C3D2:
- 0000c3d2 Cond = 0;
- 0000c3d2 R4 = 0;
- 0000c3d4 goto loc_C3EA;
- 0000c3d6 loc_C3D6:
- 0000c3d6 Cond = R7;
- 0000c3d6 R1 = R7;
- 0000c3d8 Cond = R6;
- 0000c3d8 R0 = R6;
- 0000c3da /* Low-level instruction of type 46 */
- 0000c3e0 Cond = R2 + 0x30;
- 0000c3e0 R2 = R2 + 0x30;
- 0000c3e2 * (& var_48 + R4) = R2;
- 0000c3e4 Cond = R4 + 1;
- 0000c3e4 R4 = R4 + 1;
- 0000c3e6 Cond = R0;
- 0000c3e6 R6 = R0;
- 0000c3e8 Cond = R1;
- 0000c3e8 R7 = R1;
- 0000c3ea loc_C3EA:
- 0000c3ea Cond = 0;
- 0000c3ea R3 = 0;
- 0000c3ec Cond = R7;
- 0000c3ec R1 = R7;
- 0000c3ee Cond = R6;
- 0000c3ee R0 = R6;
- 0000c3f0 Cond = R1 ^ R3;
- 0000c3f0 R1 = R1 ^ R3;
- 0000c3f2 Cond = R0 ^ R3;
- 0000c3f2 R0 = R0 ^ R3;
- 0000c3f4 Cond = R0 | R1;
- 0000c3f6 if (Cond != 0) goto loc_C3D6;
- 0000c41c sub_C41C:
- 0000c41c R2 = * (R0 + 0x18);
- 0000c41e R0 = * (R0 + 0x3c);
- 0000c420 Cond = R2 << 0x15;
- 0000c422 if (Cond >= 0) goto loc_C428;
- 0000c424 * R1 = R0;
- 0000c426 return R0;
- 0000c428 loc_C428:
- 0000c428 Cond = R2 << 0x17;
- 0000c42a if (Cond >= 0) goto loc_C430;
- 0000c42c * R1 = R0;
- 0000c42e return R0;
- 0000c430 loc_C430:
- 0000c430 Cond = R2 << 0x18;
- 0000c432 if (Cond >= 0) goto loc_C43A;
- 0000c434 Cond = R0 >> 0x1f;
- 0000c436 /* Low-level instruction of type 34 */
- 0000c438 return R0;
- 0000c43a loc_C43A:
- 0000c43a Cond = R2 << 0x19;
- 0000c43c * R1 = R0;
- 0000c43e return R0;
- 0000c474 sub_C474:
- 0000c474 R2 = * R1;
- 0000c476 * R2 = R0;
- 0000c478 Cond = R2 + 1;
- 0000c47a * R1 = R2 + 1;
- 0000c47c return R0;
- 0000c4c0 sub_C4C0:
- 0000c4c0 /* push LR */
- 0000c4c0 /* push R5 */
- 0000c4c0 /* push R4 */
- 0000c4c4 Cond = R0 - 10;
- 0000c4c4 R2 = R0 - 10;
- 0000c4cc Cond = R1 - 0;
- 0000c4cc R3 = R1 - 0;
- 0000c4d0 LR = R0 >> 2 | R1 << 0x1e;
- 0000c4d4 Cond = R0 - LR;
- 0000c4d4 R0 = R0 - LR;
- 0000c4d8 R1 = R1 - (R1 >> 2);
- 0000c4e0 LR = R0 >> 4 | R1 << 0x1c;
- 0000c4e4 Cond = R0 + LR;
- 0000c4e4 R0 = R0 + LR;
- 0000c4e8 R1 = R1 + (R1 >> 4);
- 0000c4f0 LR = R0 >> 8 | R1 << 0x18;
- 0000c4f4 Cond = R0 + LR;
- 0000c4f4 R0 = R0 + LR;
- 0000c4f8 R1 = R1 + (R1 >> 8);
- 0000c500 LR = R0 >> 0x10 | R1 << 0x10;
- 0000c504 Cond = R0 + LR;
- 0000c504 R0 = R0 + LR;
- 0000c508 R1 = R1 + (R1 >> 0x10);
- 0000c50c Cond = R0 + R1;
- 0000c510 R1 = R1 + 0;
- 0000c518 R0 = R0 + R1 >> 3 | R1 << 0x1d;
- 0000c51c R1 = R1 >> 3;
- 0000c520 Cond = R0 + (R0 << 2);
- 0000c520 R5 = R0 + (R0 << 2);
- 0000c530 Cond = R5 + R5;
- 0000c530 R5 = R5 + R5;
- 0000c534 R4 = (R1 << 2 | R0 >> 0x1e) + R1 + R4;
- 0000c538 Cond = R2 - R5;
- 0000c538 R2 = R2 - R5;
- 0000c53c Cond = R3 - R4;
- 0000c544 /* pop */
- 0000c544 /* pop */
- 0000c544 /* pop */
- 0000c548 if (Cond >= 0) goto loc_C54C;
- 0000c54c loc_C54C:
- 0000c54c if (Cond >= 0) goto loc_C550;
- 0000c54c return R0;
- 0000c550 loc_C550:
- 0000c550 /* pop */
- 0000c550 /* pop */
- 0000c550 /* pop */
- 0000c554 Cond = R0 + 1;
- 0000c55c return R0 + 1;
- 0000cd74 /* Low-level instruction of type 43 */
- 0000cd76 Cond = R0;
- 0000cd76 R5 = R0;
- 0000cd78 Cond = R1;
- 0000cd78 R4 = R1;
- 0000cd7a Cond = R2;
- 0000cd7a R6 = R2;
- 0000cd7c goto loc_CD88;
- 0000cd7e loc_CD7E:
- 0000cd84 Cond = R4 + 1;
- 0000cd84 R4 = R4 + 1;
- 0000cd86 /* Low-level instruction of type 47 */
- 0000cd88 loc_CD88:
- 0000cd88 Cond = R4 - R6;
- 0000cd8a if (Cond < 0) goto loc_CD7E;
- 0000cd8e R1 = * R0;
- 0000cd90 Cond = R1 + 1;
- 0000cd92 * R0 = R1 + 1;
- 0000cd96 return * R1;
- 0000cde8 sub_CDE8:
- 0000cde8 R1 = R0 - 10;
- 0000cdfc R0 = R0 - (R0 >> 2) + (R0 >> 4) + (R0 >> 8) + (R0 >> 0x10) >> 3;
- 0000ce00 R2 = R0 + (R0 << 2);
- 0000ce04 Cond = R1 - (R2 << 1);
- 0000ce04 R1 = R1 - (R2 << 1);
- 0000ce08 if (Cond < 0) goto loc_CE0C;
- 0000ce08 R0 = R0 + 1;
- 0000ce0c loc_CE0C:
- 0000ce0c if (Cond >= 0) goto loc_CE10;
- 0000ce10 loc_CE10:
- 0000ce10 return R0;
- 0000ce14 sub_CE14:
- 0000ce18 R0 = sub_CF8C(R0, R1, R2, R3);
- 0000ce20 /* push LR */
- 0000ce20 /* push R0 */
- 0000ce24 R0 = sub_D004(R0, R1, R2, R3);
- 0000ce28 Cond = R0;
- 0000ce2c /* pop R0 */
- 0000ce2c /* pop */
- 0000ce30 Cond = R0;
- 0000ce34 * R0 = R0;
- 0000ce38 return R0;
- 0000cf70 sub_CF70:
- 0000cf78 return -1;
- 0000cf7c sub_CF7C:
- 0000cf7c /* push LR */
- 0000cf7c /* push R4 */
- 0000cf80 /* Low-level instruction of type 2 */
- 0000cf84 /* pop */
- 0000cf84 /* pop */
- 0000cf88 return R0;
- 0000cf8c sub_CF8C:
- 0000cf90 R0 = off_D0E9.(R0, R1, R2, R3);
- 0000cf98 Cond = R0;
- 0000cf98 R5 = R0;
- 0000cfa4 R0 = R0 & ~ 7;
- 0000cfb0 /* push LR */
- 0000cfb0 /* push R5 */
- 0000cfb4 R0 = sub_2A10(R0, SP, R2, R10);
- 0000cfb8 /* pop R5 */
- 0000cfb8 /* pop */
- 0000cfd4 /* Low-level instruction of type 34 */
- 0000cfd8 /* Low-level instruction of type 34 */
- 0000cfdc /* Low-level instruction of type 34 */
- 0000cfe0 /* Low-level instruction of type 34 */
- 0000cfe8 return R0;
- 0000d004 sub_D004:
- 0000d008 return 0x81007df4;
- 0000d014 sub_D014:
- 0000d018 return 0x81007e04;
- 0000d0f8 sub_D0F8:
- 0000d0f8 Cond = R0 & 3;
- 0000d0fc if (Cond != 0) goto loc_D100;
- 0000d0fc Cond = R1 & 3;
- 0000d100 loc_D100:
- 0000d100 if (Cond != 0) goto loc_D164;
- 0000d104 /* push LR */
- 0000d108 LR = 0x1010101;
- 0000d10c loc_D10C:
- 0000d10c R2 = * (R0 + 4);
- 0000d110 R3 = * (R1 + 4);
- 0000d118 R12 = R2 - LR & ~ R2;
- 0000d11c Cond = R12 & LR << 7;
- 0000d11c R12 = R12 & LR << 7;
- 0000d120 if (Cond != 0) goto loc_D124;
- 0000d120 Cond = R2 - R3;
- 0000d124 loc_D124:
- 0000d124 if (Cond == 0) goto loc_D10C;
- 0000d128 /* pop */
- 0000d12c R0 = R3 << 0x18;
- 0000d130 Cond = R0 - (R2 << 0x18);
- 0000d130 R0 = R0 - (R2 << 0x18);
- 0000d134 if (Cond != 0) goto loc_D138;
- 0000d134 Cond = R12 & 0xff0;
- 0000d138 loc_D138:
- 0000d138 if (Cond != 0) goto loc_D15C;
- 0000d13c R0 = R3 << 0x10;
- 0000d140 Cond = R0 - (R2 << 0x10);
- 0000d140 R0 = R0 - (R2 << 0x10);
- 0000d144 if (Cond != 0) goto loc_D148;
- 0000d144 Cond = R12 & 0xff00;
- 0000d148 loc_D148:
- 0000d148 if (Cond != 0) goto loc_D15C;
- 0000d14c R0 = R3 << 8;
- 0000d150 Cond = R0 - (R2 << 8);
- 0000d154 if (Cond != 0) goto loc_D158;
- 0000d154 Cond = R12 & 0xff0000;
- 0000d158 loc_D158:
- 0000d158 Cond = R3 - R2;
- 0000d158 if (Cond != 0) goto loc_D15C;
- 0000d158 R0 = R3 - R2;
- 0000d15c loc_D15C:
- 0000d15c loc_D15C:
- 0000d15c if (Cond == 0) goto loc_D160;
- 0000d15c R0 = R0 >> 1;
- 0000d160 loc_D160:
- 0000d160 return R0;
- 0000d164 loc_D164:
- 0000d164 R2 = * (R0 + 1);
- 0000d168 R3 = * (R1 + 1);
- 0000d16c Cond = R2 - 1;
- 0000d170 if (Cond < 0) goto loc_D174;
- 0000d170 Cond = R2 - R3;
- 0000d174 loc_D174:
- 0000d174 if (Cond != 0) goto loc_D18C;
- 0000d178 R2 = * (R0 + 1);
- 0000d17c R3 = * (R1 + 1);
- 0000d180 Cond = R2 - 1;
- 0000d184 if (Cond < 0) goto loc_D188;
- 0000d184 Cond = R2 - R3;
- 0000d188 loc_D188:
- 0000d188 if (Cond == 0) goto loc_D164;
- 0000d18c loc_D18C:
- 0000d190 return R2 - R3;
- 0000d198 sub_D198:
- 0000d198 Cond = (R0 >> 4) - R1;
- 0000d1a0 if (Cond < 0) goto sub_BE58[92];
- 0000d1a4 Cond = (R0 >> 8) - R1;
- 0000d1a8 if (Cond < 0) goto sub_BE58[44];
- 0000d1b0 goto sub_BE58[176];
- 0000d9a0 sub_D9A0:
- 0000d9a0 /* Low-level instruction of type 89 */
- 0000d9a4 Cond = R0 & 0x7000000;
- 0000d9a8 R3 = (R0 & 0x7000000) >> 0x17;
- 0000d9ac if (Cond == 0) goto loc_DA1C;
- 0000d9b0 R10 = 0;
- 0000d9b4 loc_D9B4:
- 0000d9bc R1 = R0 >> 0 & 7;
- 0000d9c0 Cond = R1 - 2;
- 0000d9c4 if (Cond < 0) goto loc_DA10;
- 0000d9c8 /* Low-level instruction of type 91 */
- 0000d9cc /* Low-level instruction of type 286 */
- 0000d9d0 /* Low-level instruction of type 89 */
- 0000d9dc R4 = 0x3ff;
- 0000d9e0 Cond = R4 & R1 >> 3;
- 0000d9e0 R4 = R4 & R1 >> 3;
- 0000d9e4 /* Low-level instruction of type 48 */
- 0000d9e8 R7 = 0x7fff;
- 0000d9ec Cond = R7 & R1 >> 13;
- 0000d9ec R7 = R7 & R1 >> 13;
- 0000d9f0 loc_D9F0:
- 0000d9f0 R9 = R4;
- 0000d9f4 loc_D9F4:
- 0000d9fc /* Low-level instruction of type 91 */
- 0000da00 Cond = R9 - 1;
- 0000da00 R9 = R9 - 1;
- 0000da04 if (Cond >= 0) goto loc_D9F4;
- 0000da08 Cond = R7 - 1;
- 0000da08 R7 = R7 - 1;
- 0000da0c if (Cond >= 0) goto loc_D9F0;
- 0000da10 loc_DA10:
- 0000da10 R10 = R10 + 2;
- 0000da14 Cond = R3 - R10;
- 0000da18 if (Cond > 0) goto loc_D9B4;
- 0000da1c loc_DA1C:
- 0000da20 /* Low-level instruction of type 91 */
- 0000da24 /* Low-level instruction of type 286 */
- 0000da28 return R0;
- 0000da2c sub_DA2C:
- 0000da2c /* push LR */
- 0000da2c /* push R12 */
- 0000da2c /* push R11 */
- 0000da2c /* push R10 */
- 0000da2c /* push R9 */
- 0000da2c /* push R8 */
- 0000da2c /* push R7 */
- 0000da2c /* push R6 */
- 0000da2c /* push R5 */
- 0000da2c /* push R4 */
- 0000da2c /* push R3 */
- 0000da2c /* push R2 */
- 0000da2c /* push R1 */
- 0000da2c /* push R0 */
- 0000da44 /* Low-level instruction of type 44 */
- 0000da48 /* Low-level instruction of type 91 */
- 0000da4c /* Low-level instruction of type 91 */
- 0000da50 /* Low-level instruction of type 267 */
- 0000da54 /* pop R0 */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 /* pop */
- 0000da54 return R0;
- 0000da60 sub_DA60:
- 0000da60 /* push LR */
- 0000da60 /* push R12 */
- 0000da60 /* push R11 */
- 0000da60 /* push R10 */
- 0000da60 /* push R9 */
- 0000da60 /* push R8 */
- 0000da60 /* push R7 */
- 0000da60 /* push R6 */
- 0000da60 /* push R5 */
- 0000da60 /* push R4 */
- 0000da60 /* push R3 */
- 0000da60 /* push R2 */
- 0000da60 /* push R1 */
- 0000da60 /* push R0 */
- 0000da78 /* Low-level instruction of type 44 */
- 0000da7c /* Low-level instruction of type 91 */
- 0000da80 /* Low-level instruction of type 91 */
- 0000da84 /* Low-level instruction of type 267 */
- 0000da88 /* pop R0 */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 /* pop */
- 0000da88 return R0;
- 0000da94 sub_DA94:
- 0000da94 /* push LR */
- 0000da94 /* push R11 */
- 0000da94 /* push R10 */
- 0000da94 /* push R9 */
- 0000da94 /* push R7 */
- 0000da94 /* push R5 */
- 0000da94 /* push R4 */
- 0000da98 sub_D9A0(R0, R1, R2, R3);
- 0000daa0 /* Low-level instruction of type 91 */
- 0000daa4 /* pop */
- 0000daa4 /* pop */
- 0000daa4 /* pop */
- 0000daa4 /* pop */
- 0000daa4 /* pop */
- 0000daa4 /* pop */
- 0000daa4 /* pop */
- 0000daa8 return 0;
- 0000daac sub_DAAC:
- 0000daac /* push LR */
- 0000daac /* push R12 */
- 0000daac /* push R11 */
- 0000daac /* push R10 */
- 0000daac /* push R9 */
- 0000daac /* push R8 */
- 0000daac /* push R7 */
- 0000daac /* push R6 */
- 0000daac /* push R5 */
- 0000daac /* push R4 */
- 0000dab8 /* Low-level instruction of type 91 */
- 0000dabc /* Low-level instruction of type 91 */
- 0000dac0 /* Low-level instruction of type 267 */
- 0000dac4 goto loc_DAD4;
- 0000dac8 /* Low-level instruction of type 2 */
- 0000dad0 /* Low-level instruction of type 267 */
- 0000dad4 loc_DAD4:
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad4 /* pop */
- 0000dad8 return R0;
- 0000dbf0 sub_DBF0:
- 0000dbf0 /* push LR */
- 0000dbf0 /* push R4 */
- 0000dbf4 Cond = R1;
- 0000dbf8 if (Cond == 0) goto loc_DC28;
- 0000dc00 Cond = * R1;
- 0000dc04 if (Cond == 0) goto loc_DC28;
- 0000dc14 Cond = sub_D0F8(PC + off_20., R1, R2, R3);
- 0000dc18 if (Cond == 0) goto loc_DC28;
- 0000dc1c /* pop */
- 0000dc1c /* pop */
- 0000dc20 Cond = 0;
- 0000dc24 return 0;
- 0000dc28 loc_DC28:
- 0000dc30 /* pop */
- 0000dc30 /* pop */
- 0000dc34 return PC + off_20.;
- 0000dc40 sub_DC40:
- 0000dc40 /* push LR */
- 0000dc40 /* push R4 */
- 0000dc44 Cond = R1;
- 0000dc48 if (Cond == 0) goto loc_DC78;
- 0000dc50 Cond = * R1;
- 0000dc54 if (Cond == 0) goto loc_DC78;
- 0000dc64 Cond = sub_D0F8(PC + off_20., R1, R2, R3);
- 0000dc68 if (Cond == 0) goto loc_DC78;
- 0000dc6c /* pop */
- 0000dc6c /* pop */
- 0000dc70 Cond = 0;
- 0000dc74 return 0;
- 0000dc78 loc_DC78:
- 0000dc80 /* pop */
- 0000dc80 /* pop */
- 0000dc84 return PC + off_20.;
- 0000dc98 sub_DC98:
- 0000dc98 goto sub_DAF4;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement