From e319815d671127ac4f49b24defed16d5519f8a22 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 18 Aug 2022 17:16:56 +1000 Subject: [PATCH] Decompile propsTickPlayer --- src/game/prop.c | 5003 +++++---------------------------------- src/game/propobj.c | 2 +- src/game/proptick.c | 2 +- src/include/constants.h | 2 +- src/include/game/prop.h | 2 +- 5 files changed, 542 insertions(+), 4469 deletions(-) diff --git a/src/game/prop.c b/src/game/prop.c index 53c8ce2d7..802945209 100644 --- a/src/game/prop.c +++ b/src/game/prop.c @@ -1638,3958 +1638,13 @@ u8 g_PausableObjs[] = { 1, // OBJTYPE_ESCASTEP }; -#if VERSION == VERSION_PAL_FINAL -GLOBAL_ASM( -glabel propsTickPlayer -.late_rodata -glabel var7f1ab184pf -.word 0x3f99999a -glabel var7f1ab188pf -.word 0x3f99999a -glabel var7f1ab18cpf -.word 0x3f99999a -glabel var7f1ab190pf -.word 0x3f99999a -.text -/* f06328c: 27bdff68 */ addiu $sp,$sp,-152 -/* f063290: afb10018 */ sw $s1,0x18($sp) -/* f063294: 3c11800a */ lui $s1,0x800a -/* f063298: 2631a510 */ addiu $s1,$s1,-23280 -/* f06329c: ae20043c */ sw $zero,0x43c($s1) -/* f0632a0: 3c01800a */ lui $at,0x800a -/* f0632a4: ac20d30c */ sw $zero,-0x2cf4($at) -/* f0632a8: 3c01800a */ lui $at,0x800a -/* f0632ac: afbf002c */ sw $ra,0x2c($sp) -/* f0632b0: afb50028 */ sw $s5,0x28($sp) -/* f0632b4: afb40024 */ sw $s4,0x24($sp) -/* f0632b8: afb30020 */ sw $s3,0x20($sp) -/* f0632bc: afb2001c */ sw $s2,0x1c($sp) -/* f0632c0: afb00014 */ sw $s0,0x14($sp) -/* f0632c4: afa40098 */ sw $a0,0x98($sp) -/* f0632c8: 10800009 */ beqz $a0,.PF0f0632f0 -/* f0632cc: ac20d310 */ sw $zero,-0x2cf0($at) -/* f0632d0: 9622035c */ lhu $v0,0x35c($s1) -/* f0632d4: 2401ffff */ li $at,-1 -/* f0632d8: 244f0001 */ addiu $t7,$v0,0x1 -/* f0632dc: 31f8ffff */ andi $t8,$t7,0xffff -/* f0632e0: a62f035c */ sh $t7,0x35c($s1) -/* f0632e4: 17010002 */ bne $t8,$at,.PF0f0632f0 -/* f0632e8: a622035e */ sh $v0,0x35e($s1) -/* f0632ec: a620035c */ sh $zero,0x35c($s1) -.PF0f0632f0: -/* f0632f0: 92270358 */ lbu $a3,0x358($s1) -/* f0632f4: 8e390034 */ lw $t9,0x34($s1) -/* f0632f8: 8e2d0038 */ lw $t5,0x38($s1) -/* f0632fc: c6240044 */ lwc1 $f4,0x44($s1) -/* f063300: c626004c */ lwc1 $f6,0x4c($s1) -/* f063304: 00002825 */ move $a1,$zero -/* f063308: afb9008c */ sw $t9,0x8c($sp) -/* f06330c: afad0088 */ sw $t5,0x88($sp) -/* f063310: e7a40084 */ swc1 $f4,0x84($sp) -/* f063314: 18e0000e */ blez $a3,.PF0f063350 -/* f063318: e7a60080 */ swc1 $f6,0x80($sp) -/* f06331c: 3c02800a */ lui $v0,0x800a -/* f063320: 2442a510 */ addiu $v0,$v0,-23280 -/* f063324: 8c4e0370 */ lw $t6,0x370($v0) -.PF0f063328: -/* f063328: 8e2f0034 */ lw $t7,0x34($s1) -/* f06332c: 24a50001 */ addiu $a1,$a1,0x1 -/* f063330: 2442001c */ addiu $v0,$v0,0x1c -/* f063334: 01cfc021 */ addu $t8,$t6,$t7 -/* f063338: ac580354 */ sw $t8,0x354($v0) -/* f06333c: 92270358 */ lbu $a3,0x358($s1) -/* f063340: 00a7082a */ slt $at,$a1,$a3 -/* f063344: 5420fff8 */ bnezl $at,.PF0f063328 -/* f063348: 8c4e0370 */ lw $t6,0x370($v0) -/* f06334c: 00002825 */ move $a1,$zero -.PF0f063350: -/* f063350: 9239035a */ lbu $t9,0x35a($s1) -/* f063354: 24150001 */ li $s5,0x1 -/* f063358: 24140003 */ li $s4,0x3 -/* f06335c: 272d0001 */ addiu $t5,$t9,0x1 -/* f063360: 31a300ff */ andi $v1,$t5,0xff -/* f063364: 0067082a */ slt $at,$v1,$a3 -/* f063368: 14200003 */ bnez $at,.PF0f063378 -/* f06336c: a22d035a */ sb $t5,0x35a($s1) -/* f063370: a220035a */ sb $zero,0x35a($s1) -/* f063374: 300300ff */ andi $v1,$zero,0xff -.PF0f063378: -/* f063378: 306900ff */ andi $t1,$v1,0xff -/* f06337c: 000970c0 */ sll $t6,$t1,0x3 -/* f063380: 01c97023 */ subu $t6,$t6,$t1 -/* f063384: 000e7080 */ sll $t6,$t6,0x2 -/* f063388: 022e5021 */ addu $t2,$s1,$t6 -/* f06338c: 8d420370 */ lw $v0,0x370($t2) -/* f063390: 3c013e80 */ lui $at,0x3e80 -/* f063394: 8d4f0374 */ lw $t7,0x374($t2) -/* f063398: 44824000 */ mtc1 $v0,$f8 -/* f06339c: 44818000 */ mtc1 $at,$f16 -/* f0633a0: 01e24021 */ addu $t0,$t7,$v0 -/* f0633a4: 468042a0 */ cvt.s.w $f10,$f8 -/* f0633a8: 31180003 */ andi $t8,$t0,0x3 -/* f0633ac: ad580374 */ sw $t8,0x374($t2) -/* f0633b0: 922d0358 */ lbu $t5,0x358($s1) -/* f0633b4: 24480002 */ addiu $t0,$v0,0x2 -/* f0633b8: 0008c883 */ sra $t9,$t0,0x2 -/* f0633bc: 46105482 */ mul.s $f18,$f10,$f16 -/* f0633c0: afa2007c */ sw $v0,0x7c($sp) -/* f0633c4: 03204025 */ move $t0,$t9 -/* f0633c8: 3c02800a */ lui $v0,0x800a -/* f0633cc: 2413008c */ li $s3,0x8c -/* f0633d0: 2412ffff */ li $s2,-1 -/* f0633d4: 19a0000c */ blez $t5,.PF0f063408 -/* f0633d8: e7b20074 */ swc1 $f18,0x74($sp) -/* f0633dc: 2442a510 */ addiu $v0,$v0,-23280 -/* f0633e0: a4400360 */ sh $zero,0x360($v0) -.PF0f0633e4: -/* f0633e4: a4400362 */ sh $zero,0x362($v0) -/* f0633e8: a4400364 */ sh $zero,0x364($v0) -/* f0633ec: a4400366 */ sh $zero,0x366($v0) -/* f0633f0: 922e0358 */ lbu $t6,0x358($s1) -/* f0633f4: 24a50001 */ addiu $a1,$a1,0x1 -/* f0633f8: 2442001c */ addiu $v0,$v0,0x1c -/* f0633fc: 00ae082a */ slt $at,$a1,$t6 -/* f063400: 5420fff8 */ bnezl $at,.PF0f0633e4 -/* f063404: a4400360 */ sh $zero,0x360($v0) -.PF0f063408: -/* f063408: 8e2f0290 */ lw $t7,0x290($s1) -/* f06340c: 55e00024 */ bnezl $t7,.PF0f0634a0 -/* f063410: 8e380334 */ lw $t8,0x334($s1) -/* f063414: 8e380334 */ lw $t8,0x334($s1) -/* f063418: 8e300338 */ lw $s0,0x338($s1) -/* f06341c: 2407ff7f */ li $a3,-129 -/* f063420: 0018c8c0 */ sll $t9,$t8,0x3 -/* f063424: 0338c821 */ addu $t9,$t9,$t8 -/* f063428: 0019c8c0 */ sll $t9,$t9,0x3 -/* f06342c: 03302821 */ addu $a1,$t9,$s0 -/* f063430: 0205082b */ sltu $at,$s0,$a1 -/* f063434: 1020002e */ beqz $at,.PF0f0634f0 -/* f063438: 2406ffbf */ li $a2,-65 -/* f06343c: 2404fffd */ li $a0,-3 -.PF0f063440: -/* f063440: 92020001 */ lbu $v0,0x1($s0) -/* f063444: 304d0002 */ andi $t5,$v0,0x2 -/* f063448: 11a00003 */ beqz $t5,.PF0f063458 -/* f06344c: 00401825 */ move $v1,$v0 -/* f063450: 00441024 */ and $v0,$v0,$a0 -/* f063454: 304300ff */ andi $v1,$v0,0xff -.PF0f063458: -/* f063458: 306f0040 */ andi $t7,$v1,0x40 -/* f06345c: 11e00005 */ beqz $t7,.PF0f063474 -/* f063460: 306d0080 */ andi $t5,$v1,0x80 -/* f063464: 34780080 */ ori $t8,$v1,0x80 -/* f063468: 03061024 */ and $v0,$t8,$a2 -/* f06346c: 10000004 */ b .PF0f063480 -/* f063470: 304300ff */ andi $v1,$v0,0xff -.PF0f063474: -/* f063474: 11a00002 */ beqz $t5,.PF0f063480 -/* f063478: 00671024 */ and $v0,$v1,$a3 -/* f06347c: 304300ff */ andi $v1,$v0,0xff -.PF0f063480: -/* f063480: 26100048 */ addiu $s0,$s0,0x48 -/* f063484: 0205082b */ sltu $at,$s0,$a1 -/* f063488: 346f0008 */ ori $t7,$v1,0x8 -/* f06348c: 1420ffec */ bnez $at,.PF0f063440 -/* f063490: a20fffb9 */ sb $t7,-0x47($s0) -/* f063494: 10000017 */ b .PF0f0634f4 -/* f063498: afaa0034 */ sw $t2,0x34($sp) -/* f06349c: 8e380334 */ lw $t8,0x334($s1) -.PF0f0634a0: -/* f0634a0: 8e300338 */ lw $s0,0x338($s1) -/* f0634a4: 2404fffd */ li $a0,-3 -/* f0634a8: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0634ac: 0338c821 */ addu $t9,$t9,$t8 -/* f0634b0: 0019c8c0 */ sll $t9,$t9,0x3 -/* f0634b4: 03302821 */ addu $a1,$t9,$s0 -/* f0634b8: 0205082b */ sltu $at,$s0,$a1 -/* f0634bc: 5020000d */ beqzl $at,.PF0f0634f4 -/* f0634c0: afaa0034 */ sw $t2,0x34($sp) -.PF0f0634c4: -/* f0634c4: 92020001 */ lbu $v0,0x1($s0) -/* f0634c8: 304d0002 */ andi $t5,$v0,0x2 -/* f0634cc: 11a00004 */ beqz $t5,.PF0f0634e0 -/* f0634d0: 00401825 */ move $v1,$v0 -/* f0634d4: 00641024 */ and $v0,$v1,$a0 -/* f0634d8: 304e00ff */ andi $t6,$v0,0xff -/* f0634dc: 01c01025 */ move $v0,$t6 -.PF0f0634e0: -/* f0634e0: 26100048 */ addiu $s0,$s0,0x48 -/* f0634e4: 0205082b */ sltu $at,$s0,$a1 -/* f0634e8: 1420fff6 */ bnez $at,.PF0f0634c4 -/* f0634ec: a202ffb9 */ sb $v0,-0x47($s0) -.PF0f0634f0: -/* f0634f0: afaa0034 */ sw $t2,0x34($sp) -.PF0f0634f4: -/* f0634f4: afaa0034 */ sw $t2,0x34($sp) -/* f0634f8: 8e30033c */ lw $s0,0x33c($s1) -/* f0634fc: afa80078 */ sw $t0,0x78($sp) -/* f063500: a3a90069 */ sb $t1,0x69($sp) -/* f063504: 8e0f0020 */ lw $t7,0x20($s0) -.PF0f063508: -/* f063508: 8e390354 */ lw $t9,0x354($s1) -/* f06350c: 8e2e02ac */ lw $t6,0x2ac($s1) -/* f063510: 00003025 */ move $a2,$zero -/* f063514: 01f96826 */ xor $t5,$t7,$t9 -/* f063518: 2dad0001 */ sltiu $t5,$t5,0x1 -/* f06351c: afad004c */ sw $t5,0x4c($sp) -/* f063520: 12ae0003 */ beq $s5,$t6,.PF0f063530 -/* f063524: afaf005c */ sw $t7,0x5c($sp) -/* f063528: 10000002 */ b .PF0f063534 -/* f06352c: 02a02825 */ move $a1,$s5 -.PF0f063530: -/* f063530: 9225035b */ lbu $a1,0x35b($s1) -.PF0f063534: -/* f063534: 86080028 */ lh $t0,0x28($s0) -/* f063538: 26070028 */ addiu $a3,$s0,0x28 -/* f06353c: 00e01825 */ move $v1,$a3 -/* f063540: 1248000f */ beq $s2,$t0,.PF0f063580 -/* f063544: 3c04800a */ lui $a0,0x800a -/* f063548: 8c844ec8 */ lw $a0,0x4ec8($a0) -/* f06354c: 84620000 */ lh $v0,0x0($v1) -.PF0f063550: -/* f063550: 00530019 */ multu $v0,$s3 -/* f063554: 00007812 */ mflo $t7 -/* f063558: 008fc021 */ addu $t8,$a0,$t7 -/* f06355c: 97190000 */ lhu $t9,0x0($t8) -/* f063560: 332d0004 */ andi $t5,$t9,0x4 -/* f063564: 51a00003 */ beqzl $t5,.PF0f063574 -/* f063568: 84620002 */ lh $v0,0x2($v1) -/* f06356c: 24a50001 */ addiu $a1,$a1,0x1 -/* f063570: 84620002 */ lh $v0,0x2($v1) -.PF0f063574: -/* f063574: 24630002 */ addiu $v1,$v1,0x2 -/* f063578: 1642fff5 */ bne $s2,$v0,.PF0f063550 -/* f06357c: 00000000 */ nop -.PF0f063580: -/* f063580: 54a0003c */ bnezl $a1,.PF0f063674 -/* f063584: 960d003a */ lhu $t5,0x3a($s0) -/* f063588: 92030000 */ lbu $v1,0x0($s0) -/* f06358c: 24010006 */ li $at,0x6 -/* f063590: 14610003 */ bne $v1,$at,.PF0f0635a0 -/* f063594: 00000000 */ nop -/* f063598: 1000000b */ b .PF0f0635c8 -/* f06359c: 24a50001 */ addiu $a1,$a1,0x1 -.PF0f0635a0: -/* f0635a0: 12a30003 */ beq $s5,$v1,.PF0f0635b0 -/* f0635a4: 24010004 */ li $at,0x4 -/* f0635a8: 14610007 */ bne $v1,$at,.PF0f0635c8 -/* f0635ac: 00000000 */ nop -.PF0f0635b0: -/* f0635b0: 8e020004 */ lw $v0,0x4($s0) -/* f0635b4: 8c4e0040 */ lw $t6,0x40($v0) -/* f0635b8: 31cf0080 */ andi $t7,$t6,0x80 -/* f0635bc: 11e00002 */ beqz $t7,.PF0f0635c8 -/* f0635c0: 00000000 */ nop -/* f0635c4: 24a50001 */ addiu $a1,$a1,0x1 -.PF0f0635c8: -/* f0635c8: 54a0002a */ bnezl $a1,.PF0f063674 -/* f0635cc: 960d003a */ lhu $t5,0x3a($s0) -/* f0635d0: 92180001 */ lbu $t8,0x1($s0) -/* f0635d4: 24010084 */ li $at,0x84 -/* f0635d8: 33190084 */ andi $t9,$t8,0x84 -/* f0635dc: 57210004 */ bnel $t9,$at,.PF0f0635f0 -/* f0635e0: 9202003f */ lbu $v0,0x3f($s0) -/* f0635e4: 10000022 */ b .PF0f063670 -/* f0635e8: 24a50001 */ addiu $a1,$a1,0x1 -/* f0635ec: 9202003f */ lbu $v0,0x3f($s0) -.PF0f0635f0: -/* f0635f0: 000269c2 */ srl $t5,$v0,0x7 -/* f0635f4: 11a00004 */ beqz $t5,.PF0f063608 -/* f0635f8: 304eff7f */ andi $t6,$v0,0xff7f -/* f0635fc: 24a50001 */ addiu $a1,$a1,0x1 -/* f063600: 1000001b */ b .PF0f063670 -/* f063604: a20e003f */ sb $t6,0x3f($s0) -.PF0f063608: -/* f063608: 8e0f003c */ lw $t7,0x3c($s0) -/* f06360c: 000fce80 */ sll $t9,$t7,0x1a -/* f063610: 07210003 */ bgez $t9,.PF0f063620 -/* f063614: 00000000 */ nop -/* f063618: 10000015 */ b .PF0f063670 -/* f06361c: 24a50001 */ addiu $a1,$a1,0x1 -.PF0f063620: -/* f063620: 1248000f */ beq $s2,$t0,.PF0f063660 -/* f063624: 00e01825 */ move $v1,$a3 -/* f063628: 3c04800a */ lui $a0,0x800a -/* f06362c: 8c844ec8 */ lw $a0,0x4ec8($a0) -/* f063630: 84e20000 */ lh $v0,0x0($a3) -.PF0f063634: -/* f063634: 00530019 */ multu $v0,$s3 -/* f063638: 00006812 */ mflo $t5 -/* f06363c: 008d7021 */ addu $t6,$a0,$t5 -/* f063640: 95cf0000 */ lhu $t7,0x0($t6) -/* f063644: 31f80008 */ andi $t8,$t7,0x8 -/* f063648: 57000006 */ bnezl $t8,.PF0f063664 -/* f06364c: 84790000 */ lh $t9,0x0($v1) -/* f063650: 84620002 */ lh $v0,0x2($v1) -/* f063654: 24630002 */ addiu $v1,$v1,0x2 -/* f063658: 1642fff6 */ bne $s2,$v0,.PF0f063634 -/* f06365c: 00000000 */ nop -.PF0f063660: -/* f063660: 84790000 */ lh $t9,0x0($v1) -.PF0f063664: -/* f063664: 52590003 */ beql $s2,$t9,.PF0f063674 -/* f063668: 960d003a */ lhu $t5,0x3a($s0) -/* f06366c: 24a50001 */ addiu $a1,$a1,0x1 -.PF0f063670: -/* f063670: 960d003a */ lhu $t5,0x3a($s0) -.PF0f063674: -/* f063674: 8e2e0034 */ lw $t6,0x34($s1) -/* f063678: 01ae7821 */ addu $t7,$t5,$t6 -/* f06367c: 18a00080 */ blez $a1,.PF0f063880 -/* f063680: a60f003a */ sh $t7,0x3a($s0) -/* f063684: 9638035e */ lhu $t8,0x35e($s1) -/* f063688: 96190038 */ lhu $t9,0x38($s0) -/* f06368c: 31edffff */ andi $t5,$t7,0xffff -/* f063690: 53190019 */ beql $t8,$t9,.PF0f0636f8 -/* f063694: 8fb9008c */ lw $t9,0x8c($sp) -/* f063698: ae2d0034 */ sw $t5,0x34($s1) -/* f06369c: 920f003c */ lbu $t7,0x3c($s0) -/* f0636a0: 960e003a */ lhu $t6,0x3a($s0) -/* f0636a4: 3c013e80 */ lui $at,0x3e80 -/* f0636a8: 44814000 */ mtc1 $at,$f8 -/* f0636ac: 01cfc021 */ addu $t8,$t6,$t7 -/* f0636b0: ae380038 */ sw $t8,0x38($s1) -/* f0636b4: 330d0003 */ andi $t5,$t8,0x3 -/* f0636b8: a20d003c */ sb $t5,0x3c($s0) -/* f0636bc: 8e380034 */ lw $t8,0x34($s1) -/* f0636c0: 8e2e0038 */ lw $t6,0x38($s1) -/* f0636c4: 3c017f1b */ lui $at,0x7f1b -/* f0636c8: 44982000 */ mtc1 $t8,$f4 -/* f0636cc: 000e7883 */ sra $t7,$t6,0x2 -/* f0636d0: ae2f0038 */ sw $t7,0x38($s1) -/* f0636d4: 468021a0 */ cvt.s.w $f6,$f4 -/* f0636d8: 46083282 */ mul.s $f10,$f6,$f8 -/* f0636dc: e62a0044 */ swc1 $f10,0x44($s1) -/* f0636e0: c432b188 */ lwc1 $f18,-0x4e78($at) -/* f0636e4: c6300044 */ lwc1 $f16,0x44($s1) -/* f0636e8: 46128102 */ mul.s $f4,$f16,$f18 -/* f0636ec: 10000009 */ b .PF0f063714 -/* f0636f0: e624004c */ swc1 $f4,0x4c($s1) -/* f0636f4: 8fb9008c */ lw $t9,0x8c($sp) -.PF0f0636f8: -/* f0636f8: 8fad0088 */ lw $t5,0x88($sp) -/* f0636fc: c7a60084 */ lwc1 $f6,0x84($sp) -/* f063700: c7a80080 */ lwc1 $f8,0x80($sp) -/* f063704: ae390034 */ sw $t9,0x34($s1) -/* f063708: ae2d0038 */ sw $t5,0x38($s1) -/* f06370c: e6260044 */ swc1 $f6,0x44($s1) -/* f063710: e628004c */ swc1 $f8,0x4c($s1) -.PF0f063714: -/* f063714: 920e0000 */ lbu $t6,0x0($s0) -/* f063718: a200003e */ sb $zero,0x3e($s0) -/* f06371c: 568e001c */ bnel $s4,$t6,.PF0f063790 -/* f063720: 920f003d */ lbu $t7,0x3d($s0) -/* f063724: 8e020004 */ lw $v0,0x4($s0) -/* f063728: 02002025 */ move $a0,$s0 -/* f06372c: 0fc5260c */ jal splatTickChr -/* f063730: afa20048 */ sw $v0,0x48($sp) -/* f063734: 8fa20048 */ lw $v0,0x48($sp) -/* f063738: 10400008 */ beqz $v0,.PF0f06375c -/* f06373c: 00000000 */ nop -/* f063740: 8c4f02d4 */ lw $t7,0x2d4($v0) -/* f063744: 11e00005 */ beqz $t7,.PF0f06375c -/* f063748: 00000000 */ nop -/* f06374c: 0fc64a62 */ jal botTick -/* f063750: 02002025 */ move $a0,$s0 -/* f063754: 10000004 */ b .PF0f063768 -/* f063758: 00403025 */ move $a2,$v0 -.PF0f06375c: -/* f06375c: 0fc08c75 */ jal chrTick -/* f063760: 02002025 */ move $a0,$s0 -/* f063764: 00403025 */ move $a2,$v0 -.PF0f063768: -/* f063768: 9218003d */ lbu $t8,0x3d($s0) -/* f06376c: 0018c8c0 */ sll $t9,$t8,0x3 -/* f063770: 0338c823 */ subu $t9,$t9,$t8 -/* f063774: 0019c880 */ sll $t9,$t9,0x2 -/* f063778: 02391021 */ addu $v0,$s1,$t9 -/* f06377c: 944d0366 */ lhu $t5,0x366($v0) -/* f063780: 25ae0001 */ addiu $t6,$t5,0x1 -/* f063784: 1000002b */ b .PF0f063834 -/* f063788: a44e0366 */ sh $t6,0x366($v0) -/* f06378c: 920f003d */ lbu $t7,0x3d($s0) -.PF0f063790: -/* f063790: 24010004 */ li $at,0x4 -/* f063794: 000fc0c0 */ sll $t8,$t7,0x3 -/* f063798: 030fc023 */ subu $t8,$t8,$t7 -/* f06379c: 0018c080 */ sll $t8,$t8,0x2 -/* f0637a0: 02381021 */ addu $v0,$s1,$t8 -/* f0637a4: 94590364 */ lhu $t9,0x364($v0) -/* f0637a8: 272d0001 */ addiu $t5,$t9,0x1 -/* f0637ac: a44d0364 */ sh $t5,0x364($v0) -/* f0637b0: 92030000 */ lbu $v1,0x0($s0) -/* f0637b4: 12a30005 */ beq $s5,$v1,.PF0f0637cc -/* f0637b8: 00000000 */ nop -/* f0637bc: 10610003 */ beq $v1,$at,.PF0f0637cc -/* f0637c0: 24010002 */ li $at,0x2 -/* f0637c4: 54610006 */ bnel $v1,$at,.PF0f0637e0 -/* f0637c8: 24010007 */ li $at,0x7 -.PF0f0637cc: -/* f0637cc: 0fc1fa6a */ jal objTickPlayer -/* f0637d0: 02002025 */ move $a0,$s0 -/* f0637d4: 10000017 */ b .PF0f063834 -/* f0637d8: 00403025 */ move $a2,$v0 -/* f0637dc: 24010007 */ li $at,0x7 -.PF0f0637e0: -/* f0637e0: 54610006 */ bnel $v1,$at,.PF0f0637fc -/* f0637e4: 24010008 */ li $at,0x8 -/* f0637e8: 0fc4b436 */ jal explosionTickPlayer -/* f0637ec: 02002025 */ move $a0,$s0 -/* f0637f0: 10000010 */ b .PF0f063834 -/* f0637f4: 00403025 */ move $a2,$v0 -/* f0637f8: 24010008 */ li $at,0x8 -.PF0f0637fc: -/* f0637fc: 54610006 */ bnel $v1,$at,.PF0f063818 -/* f063800: 24010006 */ li $at,0x6 -/* f063804: 0fc4bf31 */ jal smokeTickPlayer -/* f063808: 02002025 */ move $a0,$s0 -/* f06380c: 10000009 */ b .PF0f063834 -/* f063810: 00403025 */ move $a2,$v0 -/* f063814: 24010006 */ li $at,0x6 -.PF0f063818: -/* f063818: 54610007 */ bnel $v1,$at,.PF0f063838 -/* f06381c: 962e035e */ lhu $t6,0x35e($s1) -/* f063820: 0fc5260c */ jal splatTickChr -/* f063824: 02002025 */ move $a0,$s0 -/* f063828: 0fc30a3b */ jal playerTickThirdPerson -/* f06382c: 02002025 */ move $a0,$s0 -/* f063830: 00403025 */ move $a2,$v0 -.PF0f063834: -/* f063834: 962e035e */ lhu $t6,0x35e($s1) -.PF0f063838: -/* f063838: 960f0038 */ lhu $t7,0x38($s0) -/* f06383c: 8fb8008c */ lw $t8,0x8c($sp) -/* f063840: 51cf0009 */ beql $t6,$t7,.PF0f063868 -/* f063844: 920e003f */ lbu $t6,0x3f($s0) -/* f063848: 8fb90088 */ lw $t9,0x88($sp) -/* f06384c: c7aa0084 */ lwc1 $f10,0x84($sp) -/* f063850: c7b00080 */ lwc1 $f16,0x80($sp) -/* f063854: ae380034 */ sw $t8,0x34($s1) -/* f063858: ae390038 */ sw $t9,0x38($s1) -/* f06385c: e62a0044 */ swc1 $f10,0x44($s1) -/* f063860: e630004c */ swc1 $f16,0x4c($s1) -/* f063864: 920e003f */ lbu $t6,0x3f($s0) -.PF0f063868: -/* f063868: 962d035c */ lhu $t5,0x35c($s1) -/* f06386c: a600003a */ sh $zero,0x3a($s0) -/* f063870: 31cfffbf */ andi $t7,$t6,0xffbf -/* f063874: a20f003f */ sb $t7,0x3f($s0) -/* f063878: 100000a5 */ b .PF0f063b10 -/* f06387c: a60d0038 */ sh $t5,0x38($s0) -.PF0f063880: -/* f063880: 92180000 */ lbu $t8,0x0($s0) -/* f063884: 93a30069 */ lbu $v1,0x69($sp) -/* f063888: 5698000b */ bnel $s4,$t8,.PF0f0638b8 -/* f06388c: 9218003d */ lbu $t8,0x3d($s0) -/* f063890: 9219003d */ lbu $t9,0x3d($s0) -/* f063894: 001968c0 */ sll $t5,$t9,0x3 -/* f063898: 01b96823 */ subu $t5,$t5,$t9 -/* f06389c: 000d6880 */ sll $t5,$t5,0x2 -/* f0638a0: 022d1021 */ addu $v0,$s1,$t5 -/* f0638a4: 944e0362 */ lhu $t6,0x362($v0) -/* f0638a8: 25cf0001 */ addiu $t7,$t6,0x1 -/* f0638ac: 10000009 */ b .PF0f0638d4 -/* f0638b0: a44f0362 */ sh $t7,0x362($v0) -/* f0638b4: 9218003d */ lbu $t8,0x3d($s0) -.PF0f0638b8: -/* f0638b8: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0638bc: 0338c823 */ subu $t9,$t9,$t8 -/* f0638c0: 0019c880 */ sll $t9,$t9,0x2 -/* f0638c4: 02391021 */ addu $v0,$s1,$t9 -/* f0638c8: 944d0360 */ lhu $t5,0x360($v0) -/* f0638cc: 25ae0001 */ addiu $t6,$t5,0x1 -/* f0638d0: a44e0360 */ sh $t6,0x360($v0) -.PF0f0638d4: -/* f0638d4: 920f003d */ lbu $t7,0x3d($s0) -/* f0638d8: 8fb90034 */ lw $t9,0x34($sp) -/* f0638dc: 546f008d */ bnel $v1,$t7,.PF0f063b14 -/* f0638e0: 8fad008c */ lw $t5,0x8c($sp) -/* f0638e4: 96180038 */ lhu $t8,0x38($s0) -/* f0638e8: 972d0378 */ lhu $t5,0x378($t9) -/* f0638ec: 3c017f1b */ lui $at,0x7f1b -/* f0638f0: 530d001a */ beql $t8,$t5,.PF0f06395c -/* f0638f4: 8fad007c */ lw $t5,0x7c($sp) -/* f0638f8: 960e003a */ lhu $t6,0x3a($s0) -/* f0638fc: 3c013e80 */ lui $at,0x3e80 -/* f063900: 44813000 */ mtc1 $at,$f6 -/* f063904: ae2e0034 */ sw $t6,0x34($s1) -/* f063908: 9219003c */ lbu $t9,0x3c($s0) -/* f06390c: 960f003a */ lhu $t7,0x3a($s0) -/* f063910: 3c017f1b */ lui $at,0x7f1b -/* f063914: 01f9c021 */ addu $t8,$t7,$t9 -/* f063918: ae380038 */ sw $t8,0x38($s1) -/* f06391c: 330e0003 */ andi $t6,$t8,0x3 -/* f063920: a20e003c */ sb $t6,0x3c($s0) -/* f063924: 8e380034 */ lw $t8,0x34($s1) -/* f063928: 8e2f0038 */ lw $t7,0x38($s1) -/* f06392c: 44989000 */ mtc1 $t8,$f18 -/* f063930: 000fc883 */ sra $t9,$t7,0x2 -/* f063934: ae390038 */ sw $t9,0x38($s1) -/* f063938: 46809120 */ cvt.s.w $f4,$f18 -/* f06393c: 46062202 */ mul.s $f8,$f4,$f6 -/* f063940: e6280044 */ swc1 $f8,0x44($s1) -/* f063944: c430b18c */ lwc1 $f16,-0x4e74($at) -/* f063948: c62a0044 */ lwc1 $f10,0x44($s1) -/* f06394c: 46105482 */ mul.s $f18,$f10,$f16 -/* f063950: 1000000c */ b .PF0f063984 -/* f063954: e632004c */ swc1 $f18,0x4c($s1) -/* f063958: 8fad007c */ lw $t5,0x7c($sp) -.PF0f06395c: -/* f06395c: 8fae0078 */ lw $t6,0x78($sp) -/* f063960: c7a40074 */ lwc1 $f4,0x74($sp) -/* f063964: ae2d0034 */ sw $t5,0x34($s1) -/* f063968: ae2e0038 */ sw $t6,0x38($s1) -/* f06396c: e6240044 */ swc1 $f4,0x44($s1) -/* f063970: c428b190 */ lwc1 $f8,-0x4e70($at) -/* f063974: c7a60074 */ lwc1 $f6,0x74($sp) -/* f063978: 3c01800a */ lui $at,0x800a -/* f06397c: 46083282 */ mul.s $f10,$f6,$f8 -/* f063980: e42aa55c */ swc1 $f10,-0x5aa4($at) -.PF0f063984: -/* f063984: 92030000 */ lbu $v1,0x0($s0) -/* f063988: 16830013 */ bne $s4,$v1,.PF0f0639d8 -/* f06398c: 00000000 */ nop -/* f063990: 8e020004 */ lw $v0,0x4($s0) -/* f063994: 02002025 */ move $a0,$s0 -/* f063998: 0fc5260c */ jal splatTickChr -/* f06399c: afa20044 */ sw $v0,0x44($sp) -/* f0639a0: 8fa20044 */ lw $v0,0x44($sp) -/* f0639a4: 10400008 */ beqz $v0,.PF0f0639c8 -/* f0639a8: 00000000 */ nop -/* f0639ac: 8c4f02d4 */ lw $t7,0x2d4($v0) -/* f0639b0: 11e00005 */ beqz $t7,.PF0f0639c8 -/* f0639b4: 00000000 */ nop -/* f0639b8: 0fc64a62 */ jal botTick -/* f0639bc: 02002025 */ move $a0,$s0 -/* f0639c0: 1000003c */ b .PF0f063ab4 -/* f0639c4: 00403025 */ move $a2,$v0 -.PF0f0639c8: -/* f0639c8: 0fc08c75 */ jal chrTick -/* f0639cc: 02002025 */ move $a0,$s0 -/* f0639d0: 10000038 */ b .PF0f063ab4 -/* f0639d4: 00403025 */ move $a2,$v0 -.PF0f0639d8: -/* f0639d8: 12a30005 */ beq $s5,$v1,.PF0f0639f0 -/* f0639dc: 24010004 */ li $at,0x4 -/* f0639e0: 10610003 */ beq $v1,$at,.PF0f0639f0 -/* f0639e4: 24010002 */ li $at,0x2 -/* f0639e8: 5461001d */ bnel $v1,$at,.PF0f063a60 -/* f0639ec: 24010007 */ li $at,0x7 -.PF0f0639f0: -/* f0639f0: 8e020004 */ lw $v0,0x4($s0) -/* f0639f4: 3c188007 */ lui $t8,0x8007 -/* f0639f8: 90590003 */ lbu $t9,0x3($v0) -/* f0639fc: 0319c021 */ addu $t8,$t8,$t9 -/* f063a00: 93189564 */ lbu $t8,-0x6a9c($t8) -/* f063a04: 57000006 */ bnezl $t8,.PF0f063a20 -/* f063a08: 860d0002 */ lh $t5,0x2($s0) -/* f063a0c: 0fc1fa6a */ jal objTickPlayer -/* f063a10: 02002025 */ move $a0,$s0 -/* f063a14: 10000027 */ b .PF0f063ab4 -/* f063a18: 00403025 */ move $a2,$v0 -/* f063a1c: 860d0002 */ lh $t5,0x2($s0) -.PF0f063a20: -/* f063a20: 5da00025 */ bgtzl $t5,.PF0f063ab8 -/* f063a24: 8faf0034 */ lw $t7,0x34($sp) -/* f063a28: 920e003e */ lbu $t6,0x3e($s0) -/* f063a2c: 25cf0001 */ addiu $t7,$t6,0x1 -/* f063a30: a20f003e */ sb $t7,0x3e($s0) -/* f063a34: 92380358 */ lbu $t8,0x358($s1) -/* f063a38: 31f900ff */ andi $t9,$t7,0xff -/* f063a3c: 270dffff */ addiu $t5,$t8,-1 -/* f063a40: 01b9082a */ slt $at,$t5,$t9 -/* f063a44: 5020001c */ beqzl $at,.PF0f063ab8 -/* f063a48: 8faf0034 */ lw $t7,0x34($sp) -/* f063a4c: 0fc18c56 */ jal propPause -/* f063a50: 02002025 */ move $a0,$s0 -/* f063a54: 10000017 */ b .PF0f063ab4 -/* f063a58: 24060005 */ li $a2,0x5 -/* f063a5c: 24010007 */ li $at,0x7 -.PF0f063a60: -/* f063a60: 54610006 */ bnel $v1,$at,.PF0f063a7c -/* f063a64: 24010008 */ li $at,0x8 -/* f063a68: 0fc4b436 */ jal explosionTickPlayer -/* f063a6c: 02002025 */ move $a0,$s0 -/* f063a70: 10000010 */ b .PF0f063ab4 -/* f063a74: 00403025 */ move $a2,$v0 -/* f063a78: 24010008 */ li $at,0x8 -.PF0f063a7c: -/* f063a7c: 54610006 */ bnel $v1,$at,.PF0f063a98 -/* f063a80: 24010006 */ li $at,0x6 -/* f063a84: 0fc4bf31 */ jal smokeTickPlayer -/* f063a88: 02002025 */ move $a0,$s0 -/* f063a8c: 10000009 */ b .PF0f063ab4 -/* f063a90: 00403025 */ move $a2,$v0 -/* f063a94: 24010006 */ li $at,0x6 -.PF0f063a98: -/* f063a98: 54610007 */ bnel $v1,$at,.PF0f063ab8 -/* f063a9c: 8faf0034 */ lw $t7,0x34($sp) -/* f063aa0: 0fc5260c */ jal splatTickChr -/* f063aa4: 02002025 */ move $a0,$s0 -/* f063aa8: 0fc30a3b */ jal playerTickThirdPerson -/* f063aac: 02002025 */ move $a0,$s0 -/* f063ab0: 00403025 */ move $a2,$v0 -.PF0f063ab4: -/* f063ab4: 8faf0034 */ lw $t7,0x34($sp) -.PF0f063ab8: -/* f063ab8: 960e0038 */ lhu $t6,0x38($s0) -/* f063abc: 8fb9007c */ lw $t9,0x7c($sp) -/* f063ac0: 95f80378 */ lhu $t8,0x378($t7) -/* f063ac4: 3c017f1b */ lui $at,0x7f1b -/* f063ac8: 51d8000c */ beql $t6,$t8,.PF0f063afc -/* f063acc: 9218003f */ lbu $t8,0x3f($s0) -/* f063ad0: 8fad0078 */ lw $t5,0x78($sp) -/* f063ad4: c7b00074 */ lwc1 $f16,0x74($sp) -/* f063ad8: ae390034 */ sw $t9,0x34($s1) -/* f063adc: ae2d0038 */ sw $t5,0x38($s1) -/* f063ae0: e6300044 */ swc1 $f16,0x44($s1) -/* f063ae4: c424b194 */ lwc1 $f4,-0x4e6c($at) -/* f063ae8: c7b20074 */ lwc1 $f18,0x74($sp) -/* f063aec: 3c01800a */ lui $at,0x800a -/* f063af0: 46049182 */ mul.s $f6,$f18,$f4 -/* f063af4: e426a55c */ swc1 $f6,-0x5aa4($at) -/* f063af8: 9218003f */ lbu $t8,0x3f($s0) -.PF0f063afc: -/* f063afc: 962f035c */ lhu $t7,0x35c($s1) -/* f063b00: a600003a */ sh $zero,0x3a($s0) -/* f063b04: 37190040 */ ori $t9,$t8,0x40 -/* f063b08: a219003f */ sb $t9,0x3f($s0) -/* f063b0c: a60f0038 */ sh $t7,0x38($s0) -.PF0f063b10: -/* f063b10: 8fad008c */ lw $t5,0x8c($sp) -.PF0f063b14: -/* f063b14: 8faf0088 */ lw $t7,0x88($sp) -/* f063b18: c7a80084 */ lwc1 $f8,0x84($sp) -/* f063b1c: c7aa0080 */ lwc1 $f10,0x80($sp) -/* f063b20: 24010005 */ li $at,0x5 -/* f063b24: ae2d0034 */ sw $t5,0x34($s1) -/* f063b28: ae2f0038 */ sw $t7,0x38($s1) -/* f063b2c: e6280044 */ swc1 $f8,0x44($s1) -/* f063b30: 14c10003 */ bne $a2,$at,.PF0f063b40 -/* f063b34: e62a004c */ swc1 $f10,0x4c($s1) -/* f063b38: 1000001d */ b .PF0f063bb0 -/* f063b3c: 8fa2005c */ lw $v0,0x5c($sp) -.PF0f063b40: -/* f063b40: 8e020020 */ lw $v0,0x20($s0) -/* f063b44: 8e2e0354 */ lw $t6,0x354($s1) -/* f063b48: 02002025 */ move $a0,$s0 -/* f063b4c: 00c02825 */ move $a1,$a2 -/* f063b50: 004ec026 */ xor $t8,$v0,$t6 -/* f063b54: 2f180001 */ sltiu $t8,$t8,0x1 -/* f063b58: 14d40012 */ bne $a2,$s4,.PF0f063ba4 -/* f063b5c: afb8004c */ sw $t8,0x4c($sp) -/* f063b60: 920f003f */ lbu $t7,0x3f($s0) -/* f063b64: 3419ffff */ li $t9,0xffff -/* f063b68: a6190038 */ sh $t9,0x38($s0) -/* f063b6c: 35ee0080 */ ori $t6,$t7,0x80 -/* f063b70: a20e003f */ sb $t6,0x3f($s0) -/* f063b74: afa20060 */ sw $v0,0x60($sp) -/* f063b78: 0fc18209 */ jal propDelist -/* f063b7c: 02002025 */ move $a0,$s0 -/* f063b80: 0fc181e6 */ jal propActivateThisFrame -/* f063b84: 02002025 */ move $a0,$s0 -/* f063b88: 8fb8004c */ lw $t8,0x4c($sp) -/* f063b8c: 8fa20060 */ lw $v0,0x60($sp) -/* f063b90: 53000008 */ beqzl $t8,.PF0f063bb4 -/* f063b94: 8fb9004c */ lw $t9,0x4c($sp) -/* f063b98: 02001025 */ move $v0,$s0 -/* f063b9c: 10000004 */ b .PF0f063bb0 -/* f063ba0: afa0004c */ sw $zero,0x4c($sp) -.PF0f063ba4: -/* f063ba4: 0fc18b71 */ jal propExecuteTickOperation -/* f063ba8: afa20060 */ sw $v0,0x60($sp) -/* f063bac: 8fa20060 */ lw $v0,0x60($sp) -.PF0f063bb0: -/* f063bb0: 8fb9004c */ lw $t9,0x4c($sp) -.PF0f063bb4: -/* f063bb4: 00408025 */ move $s0,$v0 -/* f063bb8: 5320fe53 */ beqzl $t9,.PF0f063508 -/* f063bbc: 8e0f0020 */ lw $t7,0x20($s0) -/* f063bc0: 8e2d0290 */ lw $t5,0x290($s1) -/* f063bc4: 8faa0034 */ lw $t2,0x34($sp) -/* f063bc8: 24140003 */ li $s4,0x3 -/* f063bcc: 15a00104 */ bnez $t5,.PF0f063fe0 -/* f063bd0: 24150001 */ li $s5,0x1 -/* f063bd4: 922f035a */ lbu $t7,0x35a($s1) -/* f063bd8: afaa0034 */ sw $t2,0x34($sp) -/* f063bdc: 24087fff */ li $t0,0x7fff -/* f063be0: 55e00100 */ bnezl $t7,.PF0f063fe4 -/* f063be4: 8fb9008c */ lw $t9,0x8c($sp) -/* f063be8: 922c0358 */ lbu $t4,0x358($s1) -/* f063bec: 00004825 */ move $t1,$zero -/* f063bf0: 00002825 */ move $a1,$zero -/* f063bf4: 01805025 */ move $t2,$t4 -/* f063bf8: 318b00ff */ andi $t3,$t4,0xff -/* f063bfc: 19800015 */ blez $t4,.PF0f063c54 -/* f063c00: 01803825 */ move $a3,$t4 -/* f063c04: 3c02800a */ lui $v0,0x800a -/* f063c08: 2442a510 */ addiu $v0,$v0,-23280 -.PF0f063c0c: -/* f063c0c: 94430360 */ lhu $v1,0x360($v0) -/* f063c10: 01202025 */ move $a0,$t1 -/* f063c14: 0068082a */ slt $at,$v1,$t0 -/* f063c18: 10200003 */ beqz $at,.PF0f063c28 -/* f063c1c: 00603025 */ move $a2,$v1 -/* f063c20: 3068ffff */ andi $t0,$v1,0xffff -/* f063c24: 30aa00ff */ andi $t2,$a1,0xff -.PF0f063c28: -/* f063c28: 0086082a */ slt $at,$a0,$a2 -/* f063c2c: 50200004 */ beqzl $at,.PF0f063c40 -/* f063c30: 24a50001 */ addiu $a1,$a1,0x1 -/* f063c34: 3069ffff */ andi $t1,$v1,0xffff -/* f063c38: 30ab00ff */ andi $t3,$a1,0xff -/* f063c3c: 24a50001 */ addiu $a1,$a1,0x1 -.PF0f063c40: -/* f063c40: 00a7082a */ slt $at,$a1,$a3 -/* f063c44: 1420fff1 */ bnez $at,.PF0f063c0c -/* f063c48: 2442001c */ addiu $v0,$v0,0x1c -/* f063c4c: 24087fff */ li $t0,0x7fff -/* f063c50: 00004825 */ move $t1,$zero -.PF0f063c54: -/* f063c54: 2403001c */ li $v1,0x1c -/* f063c58: 01630019 */ multu $t3,$v1 -/* f063c5c: 00007012 */ mflo $t6 -/* f063c60: 022ec021 */ addu $t8,$s1,$t6 -/* f063c64: 97190360 */ lhu $t9,0x360($t8) -/* f063c68: 01430019 */ multu $t2,$v1 -/* f063c6c: 00006812 */ mflo $t5 -/* f063c70: 022d7821 */ addu $t7,$s1,$t5 -/* f063c74: 95ee0360 */ lhu $t6,0x360($t7) -/* f063c78: 032e2823 */ subu $a1,$t9,$t6 -/* f063c7c: 0005c043 */ sra $t8,$a1,0x1 -/* f063c80: 1300001d */ beqz $t8,.PF0f063cf8 -/* f063c84: 03002825 */ move $a1,$t8 -/* f063c88: 8e30033c */ lw $s0,0x33c($s1) -/* f063c8c: 8e2d0354 */ lw $t5,0x354($s1) -/* f063c90: 01601025 */ move $v0,$t3 -/* f063c94: 520d0019 */ beql $s0,$t5,.PF0f063cfc -/* f063c98: 318a00ff */ andi $t2,$t4,0xff -/* f063c9c: 920f003d */ lbu $t7,0x3d($s0) -.PF0f063ca0: -/* f063ca0: 544f0010 */ bnel $v0,$t7,.PF0f063ce4 -/* f063ca4: 8e100020 */ lw $s0,0x20($s0) -/* f063ca8: 8e19003c */ lw $t9,0x3c($s0) -/* f063cac: 00197640 */ sll $t6,$t9,0x19 -/* f063cb0: 000ec7c2 */ srl $t8,$t6,0x1f -/* f063cb4: 56b8000b */ bnel $s5,$t8,.PF0f063ce4 -/* f063cb8: 8e100020 */ lw $s0,0x20($s0) -/* f063cbc: 920d0000 */ lbu $t5,0x0($s0) -/* f063cc0: 528d0008 */ beql $s4,$t5,.PF0f063ce4 -/* f063cc4: 8e100020 */ lw $s0,0x20($s0) -/* f063cc8: 24a5ffff */ addiu $a1,$a1,-1 -/* f063ccc: 14a00004 */ bnez $a1,.PF0f063ce0 -/* f063cd0: a20a003d */ sb $t2,0x3d($s0) -/* f063cd4: 922c0358 */ lbu $t4,0x358($s1) -/* f063cd8: 10000007 */ b .PF0f063cf8 -/* f063cdc: 01803825 */ move $a3,$t4 -.PF0f063ce0: -/* f063ce0: 8e100020 */ lw $s0,0x20($s0) -.PF0f063ce4: -/* f063ce4: 8e2f0354 */ lw $t7,0x354($s1) -/* f063ce8: 560fffed */ bnel $s0,$t7,.PF0f063ca0 -/* f063cec: 920f003d */ lbu $t7,0x3d($s0) -/* f063cf0: 922c0358 */ lbu $t4,0x358($s1) -/* f063cf4: 01803825 */ move $a3,$t4 -.PF0f063cf8: -/* f063cf8: 318a00ff */ andi $t2,$t4,0xff -.PF0f063cfc: -/* f063cfc: 318b00ff */ andi $t3,$t4,0xff -/* f063d00: 18e00016 */ blez $a3,.PF0f063d5c -/* f063d04: 00002825 */ move $a1,$zero -/* f063d08: 3c02800a */ lui $v0,0x800a -/* f063d0c: 2442a510 */ addiu $v0,$v0,-23280 -.PF0f063d10: -/* f063d10: 94430364 */ lhu $v1,0x364($v0) -/* f063d14: 01202025 */ move $a0,$t1 -/* f063d18: 0068082a */ slt $at,$v1,$t0 -/* f063d1c: 10200003 */ beqz $at,.PF0f063d2c -/* f063d20: 00603025 */ move $a2,$v1 -/* f063d24: 3068ffff */ andi $t0,$v1,0xffff -/* f063d28: 30aa00ff */ andi $t2,$a1,0xff -.PF0f063d2c: -/* f063d2c: 0086082a */ slt $at,$a0,$a2 -/* f063d30: 50200004 */ beqzl $at,.PF0f063d44 -/* f063d34: 24a50001 */ addiu $a1,$a1,0x1 -/* f063d38: 3069ffff */ andi $t1,$v1,0xffff -/* f063d3c: 30ab00ff */ andi $t3,$a1,0xff -/* f063d40: 24a50001 */ addiu $a1,$a1,0x1 -.PF0f063d44: -/* f063d44: 00a7082a */ slt $at,$a1,$a3 -/* f063d48: 1420fff1 */ bnez $at,.PF0f063d10 -/* f063d4c: 2442001c */ addiu $v0,$v0,0x1c -/* f063d50: 24087fff */ li $t0,0x7fff -/* f063d54: 00004825 */ move $t1,$zero -/* f063d58: 2403001c */ li $v1,0x1c -.PF0f063d5c: -/* f063d5c: 01630019 */ multu $t3,$v1 -/* f063d60: 0000c812 */ mflo $t9 -/* f063d64: 02397021 */ addu $t6,$s1,$t9 -/* f063d68: 95d80364 */ lhu $t8,0x364($t6) -/* f063d6c: 01430019 */ multu $t2,$v1 -/* f063d70: 00006812 */ mflo $t5 -/* f063d74: 022d7821 */ addu $t7,$s1,$t5 -/* f063d78: 95f90364 */ lhu $t9,0x364($t7) -/* f063d7c: 03192823 */ subu $a1,$t8,$t9 -/* f063d80: 00057043 */ sra $t6,$a1,0x1 -/* f063d84: 11c0001c */ beqz $t6,.PF0f063df8 -/* f063d88: 01c02825 */ move $a1,$t6 -/* f063d8c: 8e30033c */ lw $s0,0x33c($s1) -/* f063d90: 8e2d0354 */ lw $t5,0x354($s1) -/* f063d94: 01601025 */ move $v0,$t3 -/* f063d98: 520d0018 */ beql $s0,$t5,.PF0f063dfc -/* f063d9c: 318a00ff */ andi $t2,$t4,0xff -/* f063da0: 920f003d */ lbu $t7,0x3d($s0) -.PF0f063da4: -/* f063da4: 544f000f */ bnel $v0,$t7,.PF0f063de4 -/* f063da8: 8e100020 */ lw $s0,0x20($s0) -/* f063dac: 8e18003c */ lw $t8,0x3c($s0) -/* f063db0: 00187640 */ sll $t6,$t8,0x19 -/* f063db4: 05c2000b */ bltzl $t6,.PF0f063de4 -/* f063db8: 8e100020 */ lw $s0,0x20($s0) -/* f063dbc: 920d0000 */ lbu $t5,0x0($s0) -/* f063dc0: 528d0008 */ beql $s4,$t5,.PF0f063de4 -/* f063dc4: 8e100020 */ lw $s0,0x20($s0) -/* f063dc8: 24a5ffff */ addiu $a1,$a1,-1 -/* f063dcc: 14a00004 */ bnez $a1,.PF0f063de0 -/* f063dd0: a20a003d */ sb $t2,0x3d($s0) -/* f063dd4: 922c0358 */ lbu $t4,0x358($s1) -/* f063dd8: 10000007 */ b .PF0f063df8 -/* f063ddc: 01803825 */ move $a3,$t4 -.PF0f063de0: -/* f063de0: 8e100020 */ lw $s0,0x20($s0) -.PF0f063de4: -/* f063de4: 8e2f0354 */ lw $t7,0x354($s1) -/* f063de8: 560fffee */ bnel $s0,$t7,.PF0f063da4 -/* f063dec: 920f003d */ lbu $t7,0x3d($s0) -/* f063df0: 922c0358 */ lbu $t4,0x358($s1) -/* f063df4: 01803825 */ move $a3,$t4 -.PF0f063df8: -/* f063df8: 318a00ff */ andi $t2,$t4,0xff -.PF0f063dfc: -/* f063dfc: 318b00ff */ andi $t3,$t4,0xff -/* f063e00: 18e00016 */ blez $a3,.PF0f063e5c -/* f063e04: 00002825 */ move $a1,$zero -/* f063e08: 3c02800a */ lui $v0,0x800a -/* f063e0c: 2442a510 */ addiu $v0,$v0,-23280 -.PF0f063e10: -/* f063e10: 94430362 */ lhu $v1,0x362($v0) -/* f063e14: 01202025 */ move $a0,$t1 -/* f063e18: 0068082a */ slt $at,$v1,$t0 -/* f063e1c: 10200003 */ beqz $at,.PF0f063e2c -/* f063e20: 00603025 */ move $a2,$v1 -/* f063e24: 3068ffff */ andi $t0,$v1,0xffff -/* f063e28: 30aa00ff */ andi $t2,$a1,0xff -.PF0f063e2c: -/* f063e2c: 0086082a */ slt $at,$a0,$a2 -/* f063e30: 50200004 */ beqzl $at,.PF0f063e44 -/* f063e34: 24a50001 */ addiu $a1,$a1,0x1 -/* f063e38: 3069ffff */ andi $t1,$v1,0xffff -/* f063e3c: 30ab00ff */ andi $t3,$a1,0xff -/* f063e40: 24a50001 */ addiu $a1,$a1,0x1 -.PF0f063e44: -/* f063e44: 00a7082a */ slt $at,$a1,$a3 -/* f063e48: 1420fff1 */ bnez $at,.PF0f063e10 -/* f063e4c: 2442001c */ addiu $v0,$v0,0x1c -/* f063e50: 24087fff */ li $t0,0x7fff -/* f063e54: 00004825 */ move $t1,$zero -/* f063e58: 2403001c */ li $v1,0x1c -.PF0f063e5c: -/* f063e5c: 01630019 */ multu $t3,$v1 -/* f063e60: 0000c012 */ mflo $t8 -/* f063e64: 0238c821 */ addu $t9,$s1,$t8 -/* f063e68: 972e0362 */ lhu $t6,0x362($t9) -/* f063e6c: 01430019 */ multu $t2,$v1 -/* f063e70: 00006812 */ mflo $t5 -/* f063e74: 022d7821 */ addu $t7,$s1,$t5 -/* f063e78: 95f80362 */ lhu $t8,0x362($t7) -/* f063e7c: 01d82823 */ subu $a1,$t6,$t8 -/* f063e80: 0005c843 */ sra $t9,$a1,0x1 -/* f063e84: 1320001d */ beqz $t9,.PF0f063efc -/* f063e88: 03202825 */ move $a1,$t9 -/* f063e8c: 8e30033c */ lw $s0,0x33c($s1) -/* f063e90: 8e2d0354 */ lw $t5,0x354($s1) -/* f063e94: 01601025 */ move $v0,$t3 -/* f063e98: 520d0019 */ beql $s0,$t5,.PF0f063f00 -/* f063e9c: 318a00ff */ andi $t2,$t4,0xff -/* f063ea0: 920f003d */ lbu $t7,0x3d($s0) -.PF0f063ea4: -/* f063ea4: 544f0010 */ bnel $v0,$t7,.PF0f063ee8 -/* f063ea8: 8e100020 */ lw $s0,0x20($s0) -/* f063eac: 8e0e003c */ lw $t6,0x3c($s0) -/* f063eb0: 000ec640 */ sll $t8,$t6,0x19 -/* f063eb4: 0018cfc2 */ srl $t9,$t8,0x1f -/* f063eb8: 56b9000b */ bnel $s5,$t9,.PF0f063ee8 -/* f063ebc: 8e100020 */ lw $s0,0x20($s0) -/* f063ec0: 920d0000 */ lbu $t5,0x0($s0) -/* f063ec4: 568d0008 */ bnel $s4,$t5,.PF0f063ee8 -/* f063ec8: 8e100020 */ lw $s0,0x20($s0) -/* f063ecc: 24a5ffff */ addiu $a1,$a1,-1 -/* f063ed0: 14a00004 */ bnez $a1,.PF0f063ee4 -/* f063ed4: a20a003d */ sb $t2,0x3d($s0) -/* f063ed8: 922c0358 */ lbu $t4,0x358($s1) -/* f063edc: 10000007 */ b .PF0f063efc -/* f063ee0: 01803825 */ move $a3,$t4 -.PF0f063ee4: -/* f063ee4: 8e100020 */ lw $s0,0x20($s0) -.PF0f063ee8: -/* f063ee8: 8e2f0354 */ lw $t7,0x354($s1) -/* f063eec: 560fffed */ bnel $s0,$t7,.PF0f063ea4 -/* f063ef0: 920f003d */ lbu $t7,0x3d($s0) -/* f063ef4: 922c0358 */ lbu $t4,0x358($s1) -/* f063ef8: 01803825 */ move $a3,$t4 -.PF0f063efc: -/* f063efc: 318a00ff */ andi $t2,$t4,0xff -.PF0f063f00: -/* f063f00: 318b00ff */ andi $t3,$t4,0xff -/* f063f04: 18e00014 */ blez $a3,.PF0f063f58 -/* f063f08: 00002825 */ move $a1,$zero -/* f063f0c: 3c02800a */ lui $v0,0x800a -/* f063f10: 2442a510 */ addiu $v0,$v0,-23280 -.PF0f063f14: -/* f063f14: 94430366 */ lhu $v1,0x366($v0) -/* f063f18: 01202025 */ move $a0,$t1 -/* f063f1c: 0068082a */ slt $at,$v1,$t0 -/* f063f20: 10200003 */ beqz $at,.PF0f063f30 -/* f063f24: 00603025 */ move $a2,$v1 -/* f063f28: 3068ffff */ andi $t0,$v1,0xffff -/* f063f2c: 30aa00ff */ andi $t2,$a1,0xff -.PF0f063f30: -/* f063f30: 0086082a */ slt $at,$a0,$a2 -/* f063f34: 50200004 */ beqzl $at,.PF0f063f48 -/* f063f38: 24a50001 */ addiu $a1,$a1,0x1 -/* f063f3c: 3069ffff */ andi $t1,$v1,0xffff -/* f063f40: 30ab00ff */ andi $t3,$a1,0xff -/* f063f44: 24a50001 */ addiu $a1,$a1,0x1 -.PF0f063f48: -/* f063f48: 00a7082a */ slt $at,$a1,$a3 -/* f063f4c: 1420fff1 */ bnez $at,.PF0f063f14 -/* f063f50: 2442001c */ addiu $v0,$v0,0x1c -/* f063f54: 2403001c */ li $v1,0x1c -.PF0f063f58: -/* f063f58: 01630019 */ multu $t3,$v1 -/* f063f5c: 00007012 */ mflo $t6 -/* f063f60: 022ec021 */ addu $t8,$s1,$t6 -/* f063f64: 97190366 */ lhu $t9,0x366($t8) -/* f063f68: 01430019 */ multu $t2,$v1 -/* f063f6c: 00006812 */ mflo $t5 -/* f063f70: 022d7821 */ addu $t7,$s1,$t5 -/* f063f74: 95ee0366 */ lhu $t6,0x366($t7) -/* f063f78: 032e2823 */ subu $a1,$t9,$t6 -/* f063f7c: 0005c043 */ sra $t8,$a1,0x1 -/* f063f80: 13000017 */ beqz $t8,.PF0f063fe0 -/* f063f84: 03002825 */ move $a1,$t8 -/* f063f88: 8e30033c */ lw $s0,0x33c($s1) -/* f063f8c: 8e2d0354 */ lw $t5,0x354($s1) -/* f063f90: 01601025 */ move $v0,$t3 -/* f063f94: 520d0013 */ beql $s0,$t5,.PF0f063fe4 -/* f063f98: 8fb9008c */ lw $t9,0x8c($sp) -/* f063f9c: 920f003d */ lbu $t7,0x3d($s0) -.PF0f063fa0: -/* f063fa0: 544f000c */ bnel $v0,$t7,.PF0f063fd4 -/* f063fa4: 8e100020 */ lw $s0,0x20($s0) -/* f063fa8: 8e19003c */ lw $t9,0x3c($s0) -/* f063fac: 0019c640 */ sll $t8,$t9,0x19 -/* f063fb0: 07020008 */ bltzl $t8,.PF0f063fd4 -/* f063fb4: 8e100020 */ lw $s0,0x20($s0) -/* f063fb8: 920d0000 */ lbu $t5,0x0($s0) -/* f063fbc: 568d0005 */ bnel $s4,$t5,.PF0f063fd4 -/* f063fc0: 8e100020 */ lw $s0,0x20($s0) -/* f063fc4: 24a5ffff */ addiu $a1,$a1,-1 -/* f063fc8: 10a00005 */ beqz $a1,.PF0f063fe0 -/* f063fcc: a20a003d */ sb $t2,0x3d($s0) -/* f063fd0: 8e100020 */ lw $s0,0x20($s0) -.PF0f063fd4: -/* f063fd4: 8e2f0354 */ lw $t7,0x354($s1) -/* f063fd8: 560ffff1 */ bnel $s0,$t7,.PF0f063fa0 -/* f063fdc: 920f003d */ lbu $t7,0x3d($s0) -.PF0f063fe0: -/* f063fe0: 8fb9008c */ lw $t9,0x8c($sp) -.PF0f063fe4: -/* f063fe4: 8fae0088 */ lw $t6,0x88($sp) -/* f063fe8: c7b00084 */ lwc1 $f16,0x84($sp) -/* f063fec: c7b20080 */ lwc1 $f18,0x80($sp) -/* f063ff0: 8faa0034 */ lw $t2,0x34($sp) -/* f063ff4: ae390034 */ sw $t9,0x34($s1) -/* f063ff8: ae2e0038 */ sw $t6,0x38($s1) -/* f063ffc: e6300044 */ swc1 $f16,0x44($s1) -/* f064000: e632004c */ swc1 $f18,0x4c($s1) -/* f064004: 8fad0098 */ lw $t5,0x98($sp) -/* f064008: ad400370 */ sw $zero,0x370($t2) -/* f06400c: 9638035c */ lhu $t8,0x35c($s1) -/* f064010: 11a00007 */ beqz $t5,.PF0f064030 -/* f064014: a5580378 */ sh $t8,0x378($t2) -/* f064018: 0fc2432d */ jal alarmTick -/* f06401c: 00000000 */ nop -/* f064020: 0fc24cfe */ jal propsndTick -/* f064024: 00000000 */ nop -/* f064028: 0fc198b9 */ jal propsDefragRoomProps -/* f06402c: 00000000 */ nop -.PF0f064030: -/* f064030: 0fc09214 */ jal chr0f02472c -/* f064034: 00000000 */ nop -/* f064038: 8fbf002c */ lw $ra,0x2c($sp) -/* f06403c: 8fb00014 */ lw $s0,0x14($sp) -/* f064040: 8fb10018 */ lw $s1,0x18($sp) -/* f064044: 8fb2001c */ lw $s2,0x1c($sp) -/* f064048: 8fb30020 */ lw $s3,0x20($sp) -/* f06404c: 8fb40024 */ lw $s4,0x24($sp) -/* f064050: 8fb50028 */ lw $s5,0x28($sp) -/* f064054: 03e00008 */ jr $ra -/* f064058: 27bd0098 */ addiu $sp,$sp,0x98 -); -#elif VERSION == VERSION_PAL_BETA -GLOBAL_ASM( -glabel propsTickPlayer -.late_rodata -glabel var7f1ab184pf -.word 0x3f99999a -glabel var7f1ab188pf -.word 0x3f99999a -glabel var7f1ab18cpf -.word 0x3f99999a -glabel var7f1ab190pf -.word 0x3f99999a -.text -/* f0631dc: 27bdff68 */ addiu $sp,$sp,-152 -/* f0631e0: afb10018 */ sw $s1,0x18($sp) -/* f0631e4: 3c11800a */ lui $s1,0x800a -/* f0631e8: 2631e4d0 */ addiu $s1,$s1,-6960 -/* f0631ec: ae20043c */ sw $zero,0x43c($s1) -/* f0631f0: 3c01800a */ lui $at,0x800a -/* f0631f4: ac2012cc */ sw $zero,0x12cc($at) -/* f0631f8: 3c01800a */ lui $at,0x800a -/* f0631fc: afbf002c */ sw $ra,0x2c($sp) -/* f063200: afb50028 */ sw $s5,0x28($sp) -/* f063204: afb40024 */ sw $s4,0x24($sp) -/* f063208: afb30020 */ sw $s3,0x20($sp) -/* f06320c: afb2001c */ sw $s2,0x1c($sp) -/* f063210: afb00014 */ sw $s0,0x14($sp) -/* f063214: afa40098 */ sw $a0,0x98($sp) -/* f063218: 10800009 */ beqz $a0,.PB0f063240 -/* f06321c: ac2012d0 */ sw $zero,0x12d0($at) -/* f063220: 9622035c */ lhu $v0,0x35c($s1) -/* f063224: 2401ffff */ li $at,-1 -/* f063228: 244f0001 */ addiu $t7,$v0,0x1 -/* f06322c: 31f8ffff */ andi $t8,$t7,0xffff -/* f063230: a62f035c */ sh $t7,0x35c($s1) -/* f063234: 17010002 */ bne $t8,$at,.PB0f063240 -/* f063238: a622035e */ sh $v0,0x35e($s1) -/* f06323c: a620035c */ sh $zero,0x35c($s1) -.PB0f063240: -/* f063240: 92270358 */ lbu $a3,0x358($s1) -/* f063244: 8e390034 */ lw $t9,0x34($s1) -/* f063248: 8e2d0038 */ lw $t5,0x38($s1) -/* f06324c: c6240044 */ lwc1 $f4,0x44($s1) -/* f063250: c626004c */ lwc1 $f6,0x4c($s1) -/* f063254: 00002825 */ move $a1,$zero -/* f063258: afb9008c */ sw $t9,0x8c($sp) -/* f06325c: afad0088 */ sw $t5,0x88($sp) -/* f063260: e7a40084 */ swc1 $f4,0x84($sp) -/* f063264: 18e0000e */ blez $a3,.PB0f0632a0 -/* f063268: e7a60080 */ swc1 $f6,0x80($sp) -/* f06326c: 3c02800a */ lui $v0,0x800a -/* f063270: 2442e4d0 */ addiu $v0,$v0,-6960 -/* f063274: 8c4e0370 */ lw $t6,0x370($v0) -.PB0f063278: -/* f063278: 8e2f0034 */ lw $t7,0x34($s1) -/* f06327c: 24a50001 */ addiu $a1,$a1,0x1 -/* f063280: 2442001c */ addiu $v0,$v0,0x1c -/* f063284: 01cfc021 */ addu $t8,$t6,$t7 -/* f063288: ac580354 */ sw $t8,0x354($v0) -/* f06328c: 92270358 */ lbu $a3,0x358($s1) -/* f063290: 00a7082a */ slt $at,$a1,$a3 -/* f063294: 5420fff8 */ bnezl $at,.PB0f063278 -/* f063298: 8c4e0370 */ lw $t6,0x370($v0) -/* f06329c: 00002825 */ move $a1,$zero -.PB0f0632a0: -/* f0632a0: 9239035a */ lbu $t9,0x35a($s1) -/* f0632a4: 24150001 */ li $s5,0x1 -/* f0632a8: 24140003 */ li $s4,0x3 -/* f0632ac: 272d0001 */ addiu $t5,$t9,0x1 -/* f0632b0: 31a300ff */ andi $v1,$t5,0xff -/* f0632b4: 0067082a */ slt $at,$v1,$a3 -/* f0632b8: 14200003 */ bnez $at,.PB0f0632c8 -/* f0632bc: a22d035a */ sb $t5,0x35a($s1) -/* f0632c0: a220035a */ sb $zero,0x35a($s1) -/* f0632c4: 300300ff */ andi $v1,$zero,0xff -.PB0f0632c8: -/* f0632c8: 306900ff */ andi $t1,$v1,0xff -/* f0632cc: 000970c0 */ sll $t6,$t1,0x3 -/* f0632d0: 01c97023 */ subu $t6,$t6,$t1 -/* f0632d4: 000e7080 */ sll $t6,$t6,0x2 -/* f0632d8: 022e5021 */ addu $t2,$s1,$t6 -/* f0632dc: 8d420370 */ lw $v0,0x370($t2) -/* f0632e0: 3c013e80 */ lui $at,0x3e80 -/* f0632e4: 8d4f0374 */ lw $t7,0x374($t2) -/* f0632e8: 44824000 */ mtc1 $v0,$f8 -/* f0632ec: 44818000 */ mtc1 $at,$f16 -/* f0632f0: 01e24021 */ addu $t0,$t7,$v0 -/* f0632f4: 468042a0 */ cvt.s.w $f10,$f8 -/* f0632f8: 31180003 */ andi $t8,$t0,0x3 -/* f0632fc: ad580374 */ sw $t8,0x374($t2) -/* f063300: 922d0358 */ lbu $t5,0x358($s1) -/* f063304: 24480002 */ addiu $t0,$v0,0x2 -/* f063308: 0008c883 */ sra $t9,$t0,0x2 -/* f06330c: 46105482 */ mul.s $f18,$f10,$f16 -/* f063310: afa2007c */ sw $v0,0x7c($sp) -/* f063314: 03204025 */ move $t0,$t9 -/* f063318: 3c02800a */ lui $v0,0x800a -/* f06331c: 2413008c */ li $s3,0x8c -/* f063320: 2412ffff */ li $s2,-1 -/* f063324: 19a0000c */ blez $t5,.PB0f063358 -/* f063328: e7b20074 */ swc1 $f18,0x74($sp) -/* f06332c: 2442e4d0 */ addiu $v0,$v0,-6960 -/* f063330: a4400360 */ sh $zero,0x360($v0) -.PB0f063334: -/* f063334: a4400362 */ sh $zero,0x362($v0) -/* f063338: a4400364 */ sh $zero,0x364($v0) -/* f06333c: a4400366 */ sh $zero,0x366($v0) -/* f063340: 922e0358 */ lbu $t6,0x358($s1) -/* f063344: 24a50001 */ addiu $a1,$a1,0x1 -/* f063348: 2442001c */ addiu $v0,$v0,0x1c -/* f06334c: 00ae082a */ slt $at,$a1,$t6 -/* f063350: 5420fff8 */ bnezl $at,.PB0f063334 -/* f063354: a4400360 */ sh $zero,0x360($v0) -.PB0f063358: -/* f063358: 8e2f0290 */ lw $t7,0x290($s1) -/* f06335c: 55e00024 */ bnezl $t7,.PB0f0633f0 -/* f063360: 8e380334 */ lw $t8,0x334($s1) -/* f063364: 8e380334 */ lw $t8,0x334($s1) -/* f063368: 8e300338 */ lw $s0,0x338($s1) -/* f06336c: 2407ff7f */ li $a3,-129 -/* f063370: 0018c8c0 */ sll $t9,$t8,0x3 -/* f063374: 0338c821 */ addu $t9,$t9,$t8 -/* f063378: 0019c8c0 */ sll $t9,$t9,0x3 -/* f06337c: 03302821 */ addu $a1,$t9,$s0 -/* f063380: 0205082b */ sltu $at,$s0,$a1 -/* f063384: 1020002e */ beqz $at,.PB0f063440 -/* f063388: 2406ffbf */ li $a2,-65 -/* f06338c: 2404fffd */ li $a0,-3 -.PB0f063390: -/* f063390: 92020001 */ lbu $v0,0x1($s0) -/* f063394: 304d0002 */ andi $t5,$v0,0x2 -/* f063398: 11a00003 */ beqz $t5,.PB0f0633a8 -/* f06339c: 00401825 */ move $v1,$v0 -/* f0633a0: 00441024 */ and $v0,$v0,$a0 -/* f0633a4: 304300ff */ andi $v1,$v0,0xff -.PB0f0633a8: -/* f0633a8: 306f0040 */ andi $t7,$v1,0x40 -/* f0633ac: 11e00005 */ beqz $t7,.PB0f0633c4 -/* f0633b0: 306d0080 */ andi $t5,$v1,0x80 -/* f0633b4: 34780080 */ ori $t8,$v1,0x80 -/* f0633b8: 03061024 */ and $v0,$t8,$a2 -/* f0633bc: 10000004 */ b .PB0f0633d0 -/* f0633c0: 304300ff */ andi $v1,$v0,0xff -.PB0f0633c4: -/* f0633c4: 11a00002 */ beqz $t5,.PB0f0633d0 -/* f0633c8: 00671024 */ and $v0,$v1,$a3 -/* f0633cc: 304300ff */ andi $v1,$v0,0xff -.PB0f0633d0: -/* f0633d0: 26100048 */ addiu $s0,$s0,0x48 -/* f0633d4: 0205082b */ sltu $at,$s0,$a1 -/* f0633d8: 346f0008 */ ori $t7,$v1,0x8 -/* f0633dc: 1420ffec */ bnez $at,.PB0f063390 -/* f0633e0: a20fffb9 */ sb $t7,-0x47($s0) -/* f0633e4: 10000017 */ b .PB0f063444 -/* f0633e8: afaa0034 */ sw $t2,0x34($sp) -/* f0633ec: 8e380334 */ lw $t8,0x334($s1) -.PB0f0633f0: -/* f0633f0: 8e300338 */ lw $s0,0x338($s1) -/* f0633f4: 2404fffd */ li $a0,-3 -/* f0633f8: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0633fc: 0338c821 */ addu $t9,$t9,$t8 -/* f063400: 0019c8c0 */ sll $t9,$t9,0x3 -/* f063404: 03302821 */ addu $a1,$t9,$s0 -/* f063408: 0205082b */ sltu $at,$s0,$a1 -/* f06340c: 5020000d */ beqzl $at,.PB0f063444 -/* f063410: afaa0034 */ sw $t2,0x34($sp) -.PB0f063414: -/* f063414: 92020001 */ lbu $v0,0x1($s0) -/* f063418: 304d0002 */ andi $t5,$v0,0x2 -/* f06341c: 11a00004 */ beqz $t5,.PB0f063430 -/* f063420: 00401825 */ move $v1,$v0 -/* f063424: 00641024 */ and $v0,$v1,$a0 -/* f063428: 304e00ff */ andi $t6,$v0,0xff -/* f06342c: 01c01025 */ move $v0,$t6 -.PB0f063430: -/* f063430: 26100048 */ addiu $s0,$s0,0x48 -/* f063434: 0205082b */ sltu $at,$s0,$a1 -/* f063438: 1420fff6 */ bnez $at,.PB0f063414 -/* f06343c: a202ffb9 */ sb $v0,-0x47($s0) -.PB0f063440: -/* f063440: afaa0034 */ sw $t2,0x34($sp) -.PB0f063444: -/* f063444: afaa0034 */ sw $t2,0x34($sp) -/* f063448: 8e30033c */ lw $s0,0x33c($s1) -/* f06344c: afa80078 */ sw $t0,0x78($sp) -/* f063450: a3a90069 */ sb $t1,0x69($sp) -/* f063454: 8e0f0020 */ lw $t7,0x20($s0) -.PB0f063458: -/* f063458: 8e390354 */ lw $t9,0x354($s1) -/* f06345c: 8e2e02ac */ lw $t6,0x2ac($s1) -/* f063460: 00003025 */ move $a2,$zero -/* f063464: 01f96826 */ xor $t5,$t7,$t9 -/* f063468: 2dad0001 */ sltiu $t5,$t5,0x1 -/* f06346c: afad004c */ sw $t5,0x4c($sp) -/* f063470: 12ae0003 */ beq $s5,$t6,.PB0f063480 -/* f063474: afaf005c */ sw $t7,0x5c($sp) -/* f063478: 10000002 */ b .PB0f063484 -/* f06347c: 02a02825 */ move $a1,$s5 -.PB0f063480: -/* f063480: 9225035b */ lbu $a1,0x35b($s1) -.PB0f063484: -/* f063484: 86080028 */ lh $t0,0x28($s0) -/* f063488: 26070028 */ addiu $a3,$s0,0x28 -/* f06348c: 00e01825 */ move $v1,$a3 -/* f063490: 1248000f */ beq $s2,$t0,.PB0f0634d0 -/* f063494: 3c04800b */ lui $a0,0x800b -/* f063498: 8c848f48 */ lw $a0,-0x70b8($a0) -/* f06349c: 84620000 */ lh $v0,0x0($v1) -.PB0f0634a0: -/* f0634a0: 00530019 */ multu $v0,$s3 -/* f0634a4: 00007812 */ mflo $t7 -/* f0634a8: 008fc021 */ addu $t8,$a0,$t7 -/* f0634ac: 97190000 */ lhu $t9,0x0($t8) -/* f0634b0: 332d0004 */ andi $t5,$t9,0x4 -/* f0634b4: 51a00003 */ beqzl $t5,.PB0f0634c4 -/* f0634b8: 84620002 */ lh $v0,0x2($v1) -/* f0634bc: 24a50001 */ addiu $a1,$a1,0x1 -/* f0634c0: 84620002 */ lh $v0,0x2($v1) -.PB0f0634c4: -/* f0634c4: 24630002 */ addiu $v1,$v1,0x2 -/* f0634c8: 1642fff5 */ bne $s2,$v0,.PB0f0634a0 -/* f0634cc: 00000000 */ nop -.PB0f0634d0: -/* f0634d0: 54a0003c */ bnezl $a1,.PB0f0635c4 -/* f0634d4: 960d003a */ lhu $t5,0x3a($s0) -/* f0634d8: 92030000 */ lbu $v1,0x0($s0) -/* f0634dc: 24010006 */ li $at,0x6 -/* f0634e0: 14610003 */ bne $v1,$at,.PB0f0634f0 -/* f0634e4: 00000000 */ nop -/* f0634e8: 1000000b */ b .PB0f063518 -/* f0634ec: 24a50001 */ addiu $a1,$a1,0x1 -.PB0f0634f0: -/* f0634f0: 12a30003 */ beq $s5,$v1,.PB0f063500 -/* f0634f4: 24010004 */ li $at,0x4 -/* f0634f8: 14610007 */ bne $v1,$at,.PB0f063518 -/* f0634fc: 00000000 */ nop -.PB0f063500: -/* f063500: 8e020004 */ lw $v0,0x4($s0) -/* f063504: 8c4e0040 */ lw $t6,0x40($v0) -/* f063508: 31cf0080 */ andi $t7,$t6,0x80 -/* f06350c: 11e00002 */ beqz $t7,.PB0f063518 -/* f063510: 00000000 */ nop -/* f063514: 24a50001 */ addiu $a1,$a1,0x1 -.PB0f063518: -/* f063518: 54a0002a */ bnezl $a1,.PB0f0635c4 -/* f06351c: 960d003a */ lhu $t5,0x3a($s0) -/* f063520: 92180001 */ lbu $t8,0x1($s0) -/* f063524: 24010084 */ li $at,0x84 -/* f063528: 33190084 */ andi $t9,$t8,0x84 -/* f06352c: 57210004 */ bnel $t9,$at,.PB0f063540 -/* f063530: 9202003f */ lbu $v0,0x3f($s0) -/* f063534: 10000022 */ b .PB0f0635c0 -/* f063538: 24a50001 */ addiu $a1,$a1,0x1 -/* f06353c: 9202003f */ lbu $v0,0x3f($s0) -.PB0f063540: -/* f063540: 000269c2 */ srl $t5,$v0,0x7 -/* f063544: 11a00004 */ beqz $t5,.PB0f063558 -/* f063548: 304eff7f */ andi $t6,$v0,0xff7f -/* f06354c: 24a50001 */ addiu $a1,$a1,0x1 -/* f063550: 1000001b */ b .PB0f0635c0 -/* f063554: a20e003f */ sb $t6,0x3f($s0) -.PB0f063558: -/* f063558: 8e0f003c */ lw $t7,0x3c($s0) -/* f06355c: 000fce80 */ sll $t9,$t7,0x1a -/* f063560: 07210003 */ bgez $t9,.PB0f063570 -/* f063564: 00000000 */ nop -/* f063568: 10000015 */ b .PB0f0635c0 -/* f06356c: 24a50001 */ addiu $a1,$a1,0x1 -.PB0f063570: -/* f063570: 1248000f */ beq $s2,$t0,.PB0f0635b0 -/* f063574: 00e01825 */ move $v1,$a3 -/* f063578: 3c04800b */ lui $a0,0x800b -/* f06357c: 8c848f48 */ lw $a0,-0x70b8($a0) -/* f063580: 84e20000 */ lh $v0,0x0($a3) -.PB0f063584: -/* f063584: 00530019 */ multu $v0,$s3 -/* f063588: 00006812 */ mflo $t5 -/* f06358c: 008d7021 */ addu $t6,$a0,$t5 -/* f063590: 95cf0000 */ lhu $t7,0x0($t6) -/* f063594: 31f80008 */ andi $t8,$t7,0x8 -/* f063598: 57000006 */ bnezl $t8,.PB0f0635b4 -/* f06359c: 84790000 */ lh $t9,0x0($v1) -/* f0635a0: 84620002 */ lh $v0,0x2($v1) -/* f0635a4: 24630002 */ addiu $v1,$v1,0x2 -/* f0635a8: 1642fff6 */ bne $s2,$v0,.PB0f063584 -/* f0635ac: 00000000 */ nop -.PB0f0635b0: -/* f0635b0: 84790000 */ lh $t9,0x0($v1) -.PB0f0635b4: -/* f0635b4: 52590003 */ beql $s2,$t9,.PB0f0635c4 -/* f0635b8: 960d003a */ lhu $t5,0x3a($s0) -/* f0635bc: 24a50001 */ addiu $a1,$a1,0x1 -.PB0f0635c0: -/* f0635c0: 960d003a */ lhu $t5,0x3a($s0) -.PB0f0635c4: -/* f0635c4: 8e2e0034 */ lw $t6,0x34($s1) -/* f0635c8: 01ae7821 */ addu $t7,$t5,$t6 -/* f0635cc: 18a00080 */ blez $a1,.PB0f0637d0 -/* f0635d0: a60f003a */ sh $t7,0x3a($s0) -/* f0635d4: 9638035e */ lhu $t8,0x35e($s1) -/* f0635d8: 96190038 */ lhu $t9,0x38($s0) -/* f0635dc: 31edffff */ andi $t5,$t7,0xffff -/* f0635e0: 53190019 */ beql $t8,$t9,.PB0f063648 -/* f0635e4: 8fb9008c */ lw $t9,0x8c($sp) -/* f0635e8: ae2d0034 */ sw $t5,0x34($s1) -/* f0635ec: 920f003c */ lbu $t7,0x3c($s0) -/* f0635f0: 960e003a */ lhu $t6,0x3a($s0) -/* f0635f4: 3c013e80 */ lui $at,0x3e80 -/* f0635f8: 44814000 */ mtc1 $at,$f8 -/* f0635fc: 01cfc021 */ addu $t8,$t6,$t7 -/* f063600: ae380038 */ sw $t8,0x38($s1) -/* f063604: 330d0003 */ andi $t5,$t8,0x3 -/* f063608: a20d003c */ sb $t5,0x3c($s0) -/* f06360c: 8e380034 */ lw $t8,0x34($s1) -/* f063610: 8e2e0038 */ lw $t6,0x38($s1) -/* f063614: 3c017f1b */ lui $at,0x7f1b -/* f063618: 44982000 */ mtc1 $t8,$f4 -/* f06361c: 000e7883 */ sra $t7,$t6,0x2 -/* f063620: ae2f0038 */ sw $t7,0x38($s1) -/* f063624: 468021a0 */ cvt.s.w $f6,$f4 -/* f063628: 46083282 */ mul.s $f10,$f6,$f8 -/* f06362c: e62a0044 */ swc1 $f10,0x44($s1) -/* f063630: c432bc08 */ lwc1 $f18,-0x43f8($at) -/* f063634: c6300044 */ lwc1 $f16,0x44($s1) -/* f063638: 46128102 */ mul.s $f4,$f16,$f18 -/* f06363c: 10000009 */ b .PB0f063664 -/* f063640: e624004c */ swc1 $f4,0x4c($s1) -/* f063644: 8fb9008c */ lw $t9,0x8c($sp) -.PB0f063648: -/* f063648: 8fad0088 */ lw $t5,0x88($sp) -/* f06364c: c7a60084 */ lwc1 $f6,0x84($sp) -/* f063650: c7a80080 */ lwc1 $f8,0x80($sp) -/* f063654: ae390034 */ sw $t9,0x34($s1) -/* f063658: ae2d0038 */ sw $t5,0x38($s1) -/* f06365c: e6260044 */ swc1 $f6,0x44($s1) -/* f063660: e628004c */ swc1 $f8,0x4c($s1) -.PB0f063664: -/* f063664: 920e0000 */ lbu $t6,0x0($s0) -/* f063668: a200003e */ sb $zero,0x3e($s0) -/* f06366c: 568e001c */ bnel $s4,$t6,.PB0f0636e0 -/* f063670: 920f003d */ lbu $t7,0x3d($s0) -/* f063674: 8e020004 */ lw $v0,0x4($s0) -/* f063678: 02002025 */ move $a0,$s0 -/* f06367c: 0fc527cc */ jal splatTickChr -/* f063680: afa20048 */ sw $v0,0x48($sp) -/* f063684: 8fa20048 */ lw $v0,0x48($sp) -/* f063688: 10400008 */ beqz $v0,.PB0f0636ac -/* f06368c: 00000000 */ nop -/* f063690: 8c4f02d4 */ lw $t7,0x2d4($v0) -/* f063694: 11e00005 */ beqz $t7,.PB0f0636ac -/* f063698: 00000000 */ nop -/* f06369c: 0fc64d1e */ jal botTick -/* f0636a0: 02002025 */ move $a0,$s0 -/* f0636a4: 10000004 */ b .PB0f0636b8 -/* f0636a8: 00403025 */ move $a2,$v0 -.PB0f0636ac: -/* f0636ac: 0fc08c5d */ jal chrTick -/* f0636b0: 02002025 */ move $a0,$s0 -/* f0636b4: 00403025 */ move $a2,$v0 -.PB0f0636b8: -/* f0636b8: 9218003d */ lbu $t8,0x3d($s0) -/* f0636bc: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0636c0: 0338c823 */ subu $t9,$t9,$t8 -/* f0636c4: 0019c880 */ sll $t9,$t9,0x2 -/* f0636c8: 02391021 */ addu $v0,$s1,$t9 -/* f0636cc: 944d0366 */ lhu $t5,0x366($v0) -/* f0636d0: 25ae0001 */ addiu $t6,$t5,0x1 -/* f0636d4: 1000002b */ b .PB0f063784 -/* f0636d8: a44e0366 */ sh $t6,0x366($v0) -/* f0636dc: 920f003d */ lbu $t7,0x3d($s0) -.PB0f0636e0: -/* f0636e0: 24010004 */ li $at,0x4 -/* f0636e4: 000fc0c0 */ sll $t8,$t7,0x3 -/* f0636e8: 030fc023 */ subu $t8,$t8,$t7 -/* f0636ec: 0018c080 */ sll $t8,$t8,0x2 -/* f0636f0: 02381021 */ addu $v0,$s1,$t8 -/* f0636f4: 94590364 */ lhu $t9,0x364($v0) -/* f0636f8: 272d0001 */ addiu $t5,$t9,0x1 -/* f0636fc: a44d0364 */ sh $t5,0x364($v0) -/* f063700: 92030000 */ lbu $v1,0x0($s0) -/* f063704: 12a30005 */ beq $s5,$v1,.PB0f06371c -/* f063708: 00000000 */ nop -/* f06370c: 10610003 */ beq $v1,$at,.PB0f06371c -/* f063710: 24010002 */ li $at,0x2 -/* f063714: 54610006 */ bnel $v1,$at,.PB0f063730 -/* f063718: 24010007 */ li $at,0x7 -.PB0f06371c: -/* f06371c: 0fc1fa3e */ jal objTickPlayer -/* f063720: 02002025 */ move $a0,$s0 -/* f063724: 10000017 */ b .PB0f063784 -/* f063728: 00403025 */ move $a2,$v0 -/* f06372c: 24010007 */ li $at,0x7 -.PB0f063730: -/* f063730: 54610006 */ bnel $v1,$at,.PB0f06374c -/* f063734: 24010008 */ li $at,0x8 -/* f063738: 0fc4b6ba */ jal explosionTickPlayer -/* f06373c: 02002025 */ move $a0,$s0 -/* f063740: 10000010 */ b .PB0f063784 -/* f063744: 00403025 */ move $a2,$v0 -/* f063748: 24010008 */ li $at,0x8 -.PB0f06374c: -/* f06374c: 54610006 */ bnel $v1,$at,.PB0f063768 -/* f063750: 24010006 */ li $at,0x6 -/* f063754: 0fc4c1b5 */ jal smokeTickPlayer -/* f063758: 02002025 */ move $a0,$s0 -/* f06375c: 10000009 */ b .PB0f063784 -/* f063760: 00403025 */ move $a2,$v0 -/* f063764: 24010006 */ li $at,0x6 -.PB0f063768: -/* f063768: 54610007 */ bnel $v1,$at,.PB0f063788 -/* f06376c: 962e035e */ lhu $t6,0x35e($s1) -/* f063770: 0fc527cc */ jal splatTickChr -/* f063774: 02002025 */ move $a0,$s0 -/* f063778: 0fc309fe */ jal playerTickThirdPerson -/* f06377c: 02002025 */ move $a0,$s0 -/* f063780: 00403025 */ move $a2,$v0 -.PB0f063784: -/* f063784: 962e035e */ lhu $t6,0x35e($s1) -.PB0f063788: -/* f063788: 960f0038 */ lhu $t7,0x38($s0) -/* f06378c: 8fb8008c */ lw $t8,0x8c($sp) -/* f063790: 51cf0009 */ beql $t6,$t7,.PB0f0637b8 -/* f063794: 920e003f */ lbu $t6,0x3f($s0) -/* f063798: 8fb90088 */ lw $t9,0x88($sp) -/* f06379c: c7aa0084 */ lwc1 $f10,0x84($sp) -/* f0637a0: c7b00080 */ lwc1 $f16,0x80($sp) -/* f0637a4: ae380034 */ sw $t8,0x34($s1) -/* f0637a8: ae390038 */ sw $t9,0x38($s1) -/* f0637ac: e62a0044 */ swc1 $f10,0x44($s1) -/* f0637b0: e630004c */ swc1 $f16,0x4c($s1) -/* f0637b4: 920e003f */ lbu $t6,0x3f($s0) -.PB0f0637b8: -/* f0637b8: 962d035c */ lhu $t5,0x35c($s1) -/* f0637bc: a600003a */ sh $zero,0x3a($s0) -/* f0637c0: 31cfffbf */ andi $t7,$t6,0xffbf -/* f0637c4: a20f003f */ sb $t7,0x3f($s0) -/* f0637c8: 100000a5 */ b .PB0f063a60 -/* f0637cc: a60d0038 */ sh $t5,0x38($s0) -.PB0f0637d0: -/* f0637d0: 92180000 */ lbu $t8,0x0($s0) -/* f0637d4: 93a30069 */ lbu $v1,0x69($sp) -/* f0637d8: 5698000b */ bnel $s4,$t8,.PB0f063808 -/* f0637dc: 9218003d */ lbu $t8,0x3d($s0) -/* f0637e0: 9219003d */ lbu $t9,0x3d($s0) -/* f0637e4: 001968c0 */ sll $t5,$t9,0x3 -/* f0637e8: 01b96823 */ subu $t5,$t5,$t9 -/* f0637ec: 000d6880 */ sll $t5,$t5,0x2 -/* f0637f0: 022d1021 */ addu $v0,$s1,$t5 -/* f0637f4: 944e0362 */ lhu $t6,0x362($v0) -/* f0637f8: 25cf0001 */ addiu $t7,$t6,0x1 -/* f0637fc: 10000009 */ b .PB0f063824 -/* f063800: a44f0362 */ sh $t7,0x362($v0) -/* f063804: 9218003d */ lbu $t8,0x3d($s0) -.PB0f063808: -/* f063808: 0018c8c0 */ sll $t9,$t8,0x3 -/* f06380c: 0338c823 */ subu $t9,$t9,$t8 -/* f063810: 0019c880 */ sll $t9,$t9,0x2 -/* f063814: 02391021 */ addu $v0,$s1,$t9 -/* f063818: 944d0360 */ lhu $t5,0x360($v0) -/* f06381c: 25ae0001 */ addiu $t6,$t5,0x1 -/* f063820: a44e0360 */ sh $t6,0x360($v0) -.PB0f063824: -/* f063824: 920f003d */ lbu $t7,0x3d($s0) -/* f063828: 8fb90034 */ lw $t9,0x34($sp) -/* f06382c: 546f008d */ bnel $v1,$t7,.PB0f063a64 -/* f063830: 8fad008c */ lw $t5,0x8c($sp) -/* f063834: 96180038 */ lhu $t8,0x38($s0) -/* f063838: 972d0378 */ lhu $t5,0x378($t9) -/* f06383c: 3c017f1b */ lui $at,0x7f1b -/* f063840: 530d001a */ beql $t8,$t5,.PB0f0638ac -/* f063844: 8fad007c */ lw $t5,0x7c($sp) -/* f063848: 960e003a */ lhu $t6,0x3a($s0) -/* f06384c: 3c013e80 */ lui $at,0x3e80 -/* f063850: 44813000 */ mtc1 $at,$f6 -/* f063854: ae2e0034 */ sw $t6,0x34($s1) -/* f063858: 9219003c */ lbu $t9,0x3c($s0) -/* f06385c: 960f003a */ lhu $t7,0x3a($s0) -/* f063860: 3c017f1b */ lui $at,0x7f1b -/* f063864: 01f9c021 */ addu $t8,$t7,$t9 -/* f063868: ae380038 */ sw $t8,0x38($s1) -/* f06386c: 330e0003 */ andi $t6,$t8,0x3 -/* f063870: a20e003c */ sb $t6,0x3c($s0) -/* f063874: 8e380034 */ lw $t8,0x34($s1) -/* f063878: 8e2f0038 */ lw $t7,0x38($s1) -/* f06387c: 44989000 */ mtc1 $t8,$f18 -/* f063880: 000fc883 */ sra $t9,$t7,0x2 -/* f063884: ae390038 */ sw $t9,0x38($s1) -/* f063888: 46809120 */ cvt.s.w $f4,$f18 -/* f06388c: 46062202 */ mul.s $f8,$f4,$f6 -/* f063890: e6280044 */ swc1 $f8,0x44($s1) -/* f063894: c430bc0c */ lwc1 $f16,-0x43f4($at) -/* f063898: c62a0044 */ lwc1 $f10,0x44($s1) -/* f06389c: 46105482 */ mul.s $f18,$f10,$f16 -/* f0638a0: 1000000c */ b .PB0f0638d4 -/* f0638a4: e632004c */ swc1 $f18,0x4c($s1) -/* f0638a8: 8fad007c */ lw $t5,0x7c($sp) -.PB0f0638ac: -/* f0638ac: 8fae0078 */ lw $t6,0x78($sp) -/* f0638b0: c7a40074 */ lwc1 $f4,0x74($sp) -/* f0638b4: ae2d0034 */ sw $t5,0x34($s1) -/* f0638b8: ae2e0038 */ sw $t6,0x38($s1) -/* f0638bc: e6240044 */ swc1 $f4,0x44($s1) -/* f0638c0: c428bc10 */ lwc1 $f8,-0x43f0($at) -/* f0638c4: c7a60074 */ lwc1 $f6,0x74($sp) -/* f0638c8: 3c01800a */ lui $at,0x800a -/* f0638cc: 46083282 */ mul.s $f10,$f6,$f8 -/* f0638d0: e42ae51c */ swc1 $f10,-0x1ae4($at) -.PB0f0638d4: -/* f0638d4: 92030000 */ lbu $v1,0x0($s0) -/* f0638d8: 16830013 */ bne $s4,$v1,.PB0f063928 -/* f0638dc: 00000000 */ nop -/* f0638e0: 8e020004 */ lw $v0,0x4($s0) -/* f0638e4: 02002025 */ move $a0,$s0 -/* f0638e8: 0fc527cc */ jal splatTickChr -/* f0638ec: afa20044 */ sw $v0,0x44($sp) -/* f0638f0: 8fa20044 */ lw $v0,0x44($sp) -/* f0638f4: 10400008 */ beqz $v0,.PB0f063918 -/* f0638f8: 00000000 */ nop -/* f0638fc: 8c4f02d4 */ lw $t7,0x2d4($v0) -/* f063900: 11e00005 */ beqz $t7,.PB0f063918 -/* f063904: 00000000 */ nop -/* f063908: 0fc64d1e */ jal botTick -/* f06390c: 02002025 */ move $a0,$s0 -/* f063910: 1000003c */ b .PB0f063a04 -/* f063914: 00403025 */ move $a2,$v0 -.PB0f063918: -/* f063918: 0fc08c5d */ jal chrTick -/* f06391c: 02002025 */ move $a0,$s0 -/* f063920: 10000038 */ b .PB0f063a04 -/* f063924: 00403025 */ move $a2,$v0 -.PB0f063928: -/* f063928: 12a30005 */ beq $s5,$v1,.PB0f063940 -/* f06392c: 24010004 */ li $at,0x4 -/* f063930: 10610003 */ beq $v1,$at,.PB0f063940 -/* f063934: 24010002 */ li $at,0x2 -/* f063938: 5461001d */ bnel $v1,$at,.PB0f0639b0 -/* f06393c: 24010007 */ li $at,0x7 -.PB0f063940: -/* f063940: 8e020004 */ lw $v0,0x4($s0) -/* f063944: 3c188007 */ lui $t8,0x8007 -/* f063948: 90590003 */ lbu $t9,0x3($v0) -/* f06394c: 0319c021 */ addu $t8,$t8,$t9 -/* f063950: 9318af54 */ lbu $t8,-0x50ac($t8) -/* f063954: 57000006 */ bnezl $t8,.PB0f063970 -/* f063958: 860d0002 */ lh $t5,0x2($s0) -/* f06395c: 0fc1fa3e */ jal objTickPlayer -/* f063960: 02002025 */ move $a0,$s0 -/* f063964: 10000027 */ b .PB0f063a04 -/* f063968: 00403025 */ move $a2,$v0 -/* f06396c: 860d0002 */ lh $t5,0x2($s0) -.PB0f063970: -/* f063970: 5da00025 */ bgtzl $t5,.PB0f063a08 -/* f063974: 8faf0034 */ lw $t7,0x34($sp) -/* f063978: 920e003e */ lbu $t6,0x3e($s0) -/* f06397c: 25cf0001 */ addiu $t7,$t6,0x1 -/* f063980: a20f003e */ sb $t7,0x3e($s0) -/* f063984: 92380358 */ lbu $t8,0x358($s1) -/* f063988: 31f900ff */ andi $t9,$t7,0xff -/* f06398c: 270dffff */ addiu $t5,$t8,-1 -/* f063990: 01b9082a */ slt $at,$t5,$t9 -/* f063994: 5020001c */ beqzl $at,.PB0f063a08 -/* f063998: 8faf0034 */ lw $t7,0x34($sp) -/* f06399c: 0fc18c2a */ jal propPause -/* f0639a0: 02002025 */ move $a0,$s0 -/* f0639a4: 10000017 */ b .PB0f063a04 -/* f0639a8: 24060005 */ li $a2,0x5 -/* f0639ac: 24010007 */ li $at,0x7 -.PB0f0639b0: -/* f0639b0: 54610006 */ bnel $v1,$at,.PB0f0639cc -/* f0639b4: 24010008 */ li $at,0x8 -/* f0639b8: 0fc4b6ba */ jal explosionTickPlayer -/* f0639bc: 02002025 */ move $a0,$s0 -/* f0639c0: 10000010 */ b .PB0f063a04 -/* f0639c4: 00403025 */ move $a2,$v0 -/* f0639c8: 24010008 */ li $at,0x8 -.PB0f0639cc: -/* f0639cc: 54610006 */ bnel $v1,$at,.PB0f0639e8 -/* f0639d0: 24010006 */ li $at,0x6 -/* f0639d4: 0fc4c1b5 */ jal smokeTickPlayer -/* f0639d8: 02002025 */ move $a0,$s0 -/* f0639dc: 10000009 */ b .PB0f063a04 -/* f0639e0: 00403025 */ move $a2,$v0 -/* f0639e4: 24010006 */ li $at,0x6 -.PB0f0639e8: -/* f0639e8: 54610007 */ bnel $v1,$at,.PB0f063a08 -/* f0639ec: 8faf0034 */ lw $t7,0x34($sp) -/* f0639f0: 0fc527cc */ jal splatTickChr -/* f0639f4: 02002025 */ move $a0,$s0 -/* f0639f8: 0fc309fe */ jal playerTickThirdPerson -/* f0639fc: 02002025 */ move $a0,$s0 -/* f063a00: 00403025 */ move $a2,$v0 -.PB0f063a04: -/* f063a04: 8faf0034 */ lw $t7,0x34($sp) -.PB0f063a08: -/* f063a08: 960e0038 */ lhu $t6,0x38($s0) -/* f063a0c: 8fb9007c */ lw $t9,0x7c($sp) -/* f063a10: 95f80378 */ lhu $t8,0x378($t7) -/* f063a14: 3c017f1b */ lui $at,0x7f1b -/* f063a18: 51d8000c */ beql $t6,$t8,.PB0f063a4c -/* f063a1c: 9218003f */ lbu $t8,0x3f($s0) -/* f063a20: 8fad0078 */ lw $t5,0x78($sp) -/* f063a24: c7b00074 */ lwc1 $f16,0x74($sp) -/* f063a28: ae390034 */ sw $t9,0x34($s1) -/* f063a2c: ae2d0038 */ sw $t5,0x38($s1) -/* f063a30: e6300044 */ swc1 $f16,0x44($s1) -/* f063a34: c424bc14 */ lwc1 $f4,-0x43ec($at) -/* f063a38: c7b20074 */ lwc1 $f18,0x74($sp) -/* f063a3c: 3c01800a */ lui $at,0x800a -/* f063a40: 46049182 */ mul.s $f6,$f18,$f4 -/* f063a44: e426e51c */ swc1 $f6,-0x1ae4($at) -/* f063a48: 9218003f */ lbu $t8,0x3f($s0) -.PB0f063a4c: -/* f063a4c: 962f035c */ lhu $t7,0x35c($s1) -/* f063a50: a600003a */ sh $zero,0x3a($s0) -/* f063a54: 37190040 */ ori $t9,$t8,0x40 -/* f063a58: a219003f */ sb $t9,0x3f($s0) -/* f063a5c: a60f0038 */ sh $t7,0x38($s0) -.PB0f063a60: -/* f063a60: 8fad008c */ lw $t5,0x8c($sp) -.PB0f063a64: -/* f063a64: 8faf0088 */ lw $t7,0x88($sp) -/* f063a68: c7a80084 */ lwc1 $f8,0x84($sp) -/* f063a6c: c7aa0080 */ lwc1 $f10,0x80($sp) -/* f063a70: 24010005 */ li $at,0x5 -/* f063a74: ae2d0034 */ sw $t5,0x34($s1) -/* f063a78: ae2f0038 */ sw $t7,0x38($s1) -/* f063a7c: e6280044 */ swc1 $f8,0x44($s1) -/* f063a80: 14c10003 */ bne $a2,$at,.PB0f063a90 -/* f063a84: e62a004c */ swc1 $f10,0x4c($s1) -/* f063a88: 1000001d */ b .PB0f063b00 -/* f063a8c: 8fa2005c */ lw $v0,0x5c($sp) -.PB0f063a90: -/* f063a90: 8e020020 */ lw $v0,0x20($s0) -/* f063a94: 8e2e0354 */ lw $t6,0x354($s1) -/* f063a98: 02002025 */ move $a0,$s0 -/* f063a9c: 00c02825 */ move $a1,$a2 -/* f063aa0: 004ec026 */ xor $t8,$v0,$t6 -/* f063aa4: 2f180001 */ sltiu $t8,$t8,0x1 -/* f063aa8: 14d40012 */ bne $a2,$s4,.PB0f063af4 -/* f063aac: afb8004c */ sw $t8,0x4c($sp) -/* f063ab0: 920f003f */ lbu $t7,0x3f($s0) -/* f063ab4: 3419ffff */ li $t9,0xffff -/* f063ab8: a6190038 */ sh $t9,0x38($s0) -/* f063abc: 35ee0080 */ ori $t6,$t7,0x80 -/* f063ac0: a20e003f */ sb $t6,0x3f($s0) -/* f063ac4: afa20060 */ sw $v0,0x60($sp) -/* f063ac8: 0fc181dd */ jal propDelist -/* f063acc: 02002025 */ move $a0,$s0 -/* f063ad0: 0fc181ba */ jal propActivateThisFrame -/* f063ad4: 02002025 */ move $a0,$s0 -/* f063ad8: 8fb8004c */ lw $t8,0x4c($sp) -/* f063adc: 8fa20060 */ lw $v0,0x60($sp) -/* f063ae0: 53000008 */ beqzl $t8,.PB0f063b04 -/* f063ae4: 8fb9004c */ lw $t9,0x4c($sp) -/* f063ae8: 02001025 */ move $v0,$s0 -/* f063aec: 10000004 */ b .PB0f063b00 -/* f063af0: afa0004c */ sw $zero,0x4c($sp) -.PB0f063af4: -/* f063af4: 0fc18b45 */ jal propExecuteTickOperation -/* f063af8: afa20060 */ sw $v0,0x60($sp) -/* f063afc: 8fa20060 */ lw $v0,0x60($sp) -.PB0f063b00: -/* f063b00: 8fb9004c */ lw $t9,0x4c($sp) -.PB0f063b04: -/* f063b04: 00408025 */ move $s0,$v0 -/* f063b08: 5320fe53 */ beqzl $t9,.PB0f063458 -/* f063b0c: 8e0f0020 */ lw $t7,0x20($s0) -/* f063b10: 8e2d0290 */ lw $t5,0x290($s1) -/* f063b14: 8faa0034 */ lw $t2,0x34($sp) -/* f063b18: 24140003 */ li $s4,0x3 -/* f063b1c: 15a00104 */ bnez $t5,.PB0f063f30 -/* f063b20: 24150001 */ li $s5,0x1 -/* f063b24: 922f035a */ lbu $t7,0x35a($s1) -/* f063b28: afaa0034 */ sw $t2,0x34($sp) -/* f063b2c: 24087fff */ li $t0,0x7fff -/* f063b30: 55e00100 */ bnezl $t7,.PB0f063f34 -/* f063b34: 8fb9008c */ lw $t9,0x8c($sp) -/* f063b38: 922c0358 */ lbu $t4,0x358($s1) -/* f063b3c: 00004825 */ move $t1,$zero -/* f063b40: 00002825 */ move $a1,$zero -/* f063b44: 01805025 */ move $t2,$t4 -/* f063b48: 318b00ff */ andi $t3,$t4,0xff -/* f063b4c: 19800015 */ blez $t4,.PB0f063ba4 -/* f063b50: 01803825 */ move $a3,$t4 -/* f063b54: 3c02800a */ lui $v0,0x800a -/* f063b58: 2442e4d0 */ addiu $v0,$v0,-6960 -.PB0f063b5c: -/* f063b5c: 94430360 */ lhu $v1,0x360($v0) -/* f063b60: 01202025 */ move $a0,$t1 -/* f063b64: 0068082a */ slt $at,$v1,$t0 -/* f063b68: 10200003 */ beqz $at,.PB0f063b78 -/* f063b6c: 00603025 */ move $a2,$v1 -/* f063b70: 3068ffff */ andi $t0,$v1,0xffff -/* f063b74: 30aa00ff */ andi $t2,$a1,0xff -.PB0f063b78: -/* f063b78: 0086082a */ slt $at,$a0,$a2 -/* f063b7c: 50200004 */ beqzl $at,.PB0f063b90 -/* f063b80: 24a50001 */ addiu $a1,$a1,0x1 -/* f063b84: 3069ffff */ andi $t1,$v1,0xffff -/* f063b88: 30ab00ff */ andi $t3,$a1,0xff -/* f063b8c: 24a50001 */ addiu $a1,$a1,0x1 -.PB0f063b90: -/* f063b90: 00a7082a */ slt $at,$a1,$a3 -/* f063b94: 1420fff1 */ bnez $at,.PB0f063b5c -/* f063b98: 2442001c */ addiu $v0,$v0,0x1c -/* f063b9c: 24087fff */ li $t0,0x7fff -/* f063ba0: 00004825 */ move $t1,$zero -.PB0f063ba4: -/* f063ba4: 2403001c */ li $v1,0x1c -/* f063ba8: 01630019 */ multu $t3,$v1 -/* f063bac: 00007012 */ mflo $t6 -/* f063bb0: 022ec021 */ addu $t8,$s1,$t6 -/* f063bb4: 97190360 */ lhu $t9,0x360($t8) -/* f063bb8: 01430019 */ multu $t2,$v1 -/* f063bbc: 00006812 */ mflo $t5 -/* f063bc0: 022d7821 */ addu $t7,$s1,$t5 -/* f063bc4: 95ee0360 */ lhu $t6,0x360($t7) -/* f063bc8: 032e2823 */ subu $a1,$t9,$t6 -/* f063bcc: 0005c043 */ sra $t8,$a1,0x1 -/* f063bd0: 1300001d */ beqz $t8,.PB0f063c48 -/* f063bd4: 03002825 */ move $a1,$t8 -/* f063bd8: 8e30033c */ lw $s0,0x33c($s1) -/* f063bdc: 8e2d0354 */ lw $t5,0x354($s1) -/* f063be0: 01601025 */ move $v0,$t3 -/* f063be4: 520d0019 */ beql $s0,$t5,.PB0f063c4c -/* f063be8: 318a00ff */ andi $t2,$t4,0xff -/* f063bec: 920f003d */ lbu $t7,0x3d($s0) -.PB0f063bf0: -/* f063bf0: 544f0010 */ bnel $v0,$t7,.PB0f063c34 -/* f063bf4: 8e100020 */ lw $s0,0x20($s0) -/* f063bf8: 8e19003c */ lw $t9,0x3c($s0) -/* f063bfc: 00197640 */ sll $t6,$t9,0x19 -/* f063c00: 000ec7c2 */ srl $t8,$t6,0x1f -/* f063c04: 56b8000b */ bnel $s5,$t8,.PB0f063c34 -/* f063c08: 8e100020 */ lw $s0,0x20($s0) -/* f063c0c: 920d0000 */ lbu $t5,0x0($s0) -/* f063c10: 528d0008 */ beql $s4,$t5,.PB0f063c34 -/* f063c14: 8e100020 */ lw $s0,0x20($s0) -/* f063c18: 24a5ffff */ addiu $a1,$a1,-1 -/* f063c1c: 14a00004 */ bnez $a1,.PB0f063c30 -/* f063c20: a20a003d */ sb $t2,0x3d($s0) -/* f063c24: 922c0358 */ lbu $t4,0x358($s1) -/* f063c28: 10000007 */ b .PB0f063c48 -/* f063c2c: 01803825 */ move $a3,$t4 -.PB0f063c30: -/* f063c30: 8e100020 */ lw $s0,0x20($s0) -.PB0f063c34: -/* f063c34: 8e2f0354 */ lw $t7,0x354($s1) -/* f063c38: 560fffed */ bnel $s0,$t7,.PB0f063bf0 -/* f063c3c: 920f003d */ lbu $t7,0x3d($s0) -/* f063c40: 922c0358 */ lbu $t4,0x358($s1) -/* f063c44: 01803825 */ move $a3,$t4 -.PB0f063c48: -/* f063c48: 318a00ff */ andi $t2,$t4,0xff -.PB0f063c4c: -/* f063c4c: 318b00ff */ andi $t3,$t4,0xff -/* f063c50: 18e00016 */ blez $a3,.PB0f063cac -/* f063c54: 00002825 */ move $a1,$zero -/* f063c58: 3c02800a */ lui $v0,0x800a -/* f063c5c: 2442e4d0 */ addiu $v0,$v0,-6960 -.PB0f063c60: -/* f063c60: 94430364 */ lhu $v1,0x364($v0) -/* f063c64: 01202025 */ move $a0,$t1 -/* f063c68: 0068082a */ slt $at,$v1,$t0 -/* f063c6c: 10200003 */ beqz $at,.PB0f063c7c -/* f063c70: 00603025 */ move $a2,$v1 -/* f063c74: 3068ffff */ andi $t0,$v1,0xffff -/* f063c78: 30aa00ff */ andi $t2,$a1,0xff -.PB0f063c7c: -/* f063c7c: 0086082a */ slt $at,$a0,$a2 -/* f063c80: 50200004 */ beqzl $at,.PB0f063c94 -/* f063c84: 24a50001 */ addiu $a1,$a1,0x1 -/* f063c88: 3069ffff */ andi $t1,$v1,0xffff -/* f063c8c: 30ab00ff */ andi $t3,$a1,0xff -/* f063c90: 24a50001 */ addiu $a1,$a1,0x1 -.PB0f063c94: -/* f063c94: 00a7082a */ slt $at,$a1,$a3 -/* f063c98: 1420fff1 */ bnez $at,.PB0f063c60 -/* f063c9c: 2442001c */ addiu $v0,$v0,0x1c -/* f063ca0: 24087fff */ li $t0,0x7fff -/* f063ca4: 00004825 */ move $t1,$zero -/* f063ca8: 2403001c */ li $v1,0x1c -.PB0f063cac: -/* f063cac: 01630019 */ multu $t3,$v1 -/* f063cb0: 0000c812 */ mflo $t9 -/* f063cb4: 02397021 */ addu $t6,$s1,$t9 -/* f063cb8: 95d80364 */ lhu $t8,0x364($t6) -/* f063cbc: 01430019 */ multu $t2,$v1 -/* f063cc0: 00006812 */ mflo $t5 -/* f063cc4: 022d7821 */ addu $t7,$s1,$t5 -/* f063cc8: 95f90364 */ lhu $t9,0x364($t7) -/* f063ccc: 03192823 */ subu $a1,$t8,$t9 -/* f063cd0: 00057043 */ sra $t6,$a1,0x1 -/* f063cd4: 11c0001c */ beqz $t6,.PB0f063d48 -/* f063cd8: 01c02825 */ move $a1,$t6 -/* f063cdc: 8e30033c */ lw $s0,0x33c($s1) -/* f063ce0: 8e2d0354 */ lw $t5,0x354($s1) -/* f063ce4: 01601025 */ move $v0,$t3 -/* f063ce8: 520d0018 */ beql $s0,$t5,.PB0f063d4c -/* f063cec: 318a00ff */ andi $t2,$t4,0xff -/* f063cf0: 920f003d */ lbu $t7,0x3d($s0) -.PB0f063cf4: -/* f063cf4: 544f000f */ bnel $v0,$t7,.PB0f063d34 -/* f063cf8: 8e100020 */ lw $s0,0x20($s0) -/* f063cfc: 8e18003c */ lw $t8,0x3c($s0) -/* f063d00: 00187640 */ sll $t6,$t8,0x19 -/* f063d04: 05c2000b */ bltzl $t6,.PB0f063d34 -/* f063d08: 8e100020 */ lw $s0,0x20($s0) -/* f063d0c: 920d0000 */ lbu $t5,0x0($s0) -/* f063d10: 528d0008 */ beql $s4,$t5,.PB0f063d34 -/* f063d14: 8e100020 */ lw $s0,0x20($s0) -/* f063d18: 24a5ffff */ addiu $a1,$a1,-1 -/* f063d1c: 14a00004 */ bnez $a1,.PB0f063d30 -/* f063d20: a20a003d */ sb $t2,0x3d($s0) -/* f063d24: 922c0358 */ lbu $t4,0x358($s1) -/* f063d28: 10000007 */ b .PB0f063d48 -/* f063d2c: 01803825 */ move $a3,$t4 -.PB0f063d30: -/* f063d30: 8e100020 */ lw $s0,0x20($s0) -.PB0f063d34: -/* f063d34: 8e2f0354 */ lw $t7,0x354($s1) -/* f063d38: 560fffee */ bnel $s0,$t7,.PB0f063cf4 -/* f063d3c: 920f003d */ lbu $t7,0x3d($s0) -/* f063d40: 922c0358 */ lbu $t4,0x358($s1) -/* f063d44: 01803825 */ move $a3,$t4 -.PB0f063d48: -/* f063d48: 318a00ff */ andi $t2,$t4,0xff -.PB0f063d4c: -/* f063d4c: 318b00ff */ andi $t3,$t4,0xff -/* f063d50: 18e00016 */ blez $a3,.PB0f063dac -/* f063d54: 00002825 */ move $a1,$zero -/* f063d58: 3c02800a */ lui $v0,0x800a -/* f063d5c: 2442e4d0 */ addiu $v0,$v0,-6960 -.PB0f063d60: -/* f063d60: 94430362 */ lhu $v1,0x362($v0) -/* f063d64: 01202025 */ move $a0,$t1 -/* f063d68: 0068082a */ slt $at,$v1,$t0 -/* f063d6c: 10200003 */ beqz $at,.PB0f063d7c -/* f063d70: 00603025 */ move $a2,$v1 -/* f063d74: 3068ffff */ andi $t0,$v1,0xffff -/* f063d78: 30aa00ff */ andi $t2,$a1,0xff -.PB0f063d7c: -/* f063d7c: 0086082a */ slt $at,$a0,$a2 -/* f063d80: 50200004 */ beqzl $at,.PB0f063d94 -/* f063d84: 24a50001 */ addiu $a1,$a1,0x1 -/* f063d88: 3069ffff */ andi $t1,$v1,0xffff -/* f063d8c: 30ab00ff */ andi $t3,$a1,0xff -/* f063d90: 24a50001 */ addiu $a1,$a1,0x1 -.PB0f063d94: -/* f063d94: 00a7082a */ slt $at,$a1,$a3 -/* f063d98: 1420fff1 */ bnez $at,.PB0f063d60 -/* f063d9c: 2442001c */ addiu $v0,$v0,0x1c -/* f063da0: 24087fff */ li $t0,0x7fff -/* f063da4: 00004825 */ move $t1,$zero -/* f063da8: 2403001c */ li $v1,0x1c -.PB0f063dac: -/* f063dac: 01630019 */ multu $t3,$v1 -/* f063db0: 0000c012 */ mflo $t8 -/* f063db4: 0238c821 */ addu $t9,$s1,$t8 -/* f063db8: 972e0362 */ lhu $t6,0x362($t9) -/* f063dbc: 01430019 */ multu $t2,$v1 -/* f063dc0: 00006812 */ mflo $t5 -/* f063dc4: 022d7821 */ addu $t7,$s1,$t5 -/* f063dc8: 95f80362 */ lhu $t8,0x362($t7) -/* f063dcc: 01d82823 */ subu $a1,$t6,$t8 -/* f063dd0: 0005c843 */ sra $t9,$a1,0x1 -/* f063dd4: 1320001d */ beqz $t9,.PB0f063e4c -/* f063dd8: 03202825 */ move $a1,$t9 -/* f063ddc: 8e30033c */ lw $s0,0x33c($s1) -/* f063de0: 8e2d0354 */ lw $t5,0x354($s1) -/* f063de4: 01601025 */ move $v0,$t3 -/* f063de8: 520d0019 */ beql $s0,$t5,.PB0f063e50 -/* f063dec: 318a00ff */ andi $t2,$t4,0xff -/* f063df0: 920f003d */ lbu $t7,0x3d($s0) -.PB0f063df4: -/* f063df4: 544f0010 */ bnel $v0,$t7,.PB0f063e38 -/* f063df8: 8e100020 */ lw $s0,0x20($s0) -/* f063dfc: 8e0e003c */ lw $t6,0x3c($s0) -/* f063e00: 000ec640 */ sll $t8,$t6,0x19 -/* f063e04: 0018cfc2 */ srl $t9,$t8,0x1f -/* f063e08: 56b9000b */ bnel $s5,$t9,.PB0f063e38 -/* f063e0c: 8e100020 */ lw $s0,0x20($s0) -/* f063e10: 920d0000 */ lbu $t5,0x0($s0) -/* f063e14: 568d0008 */ bnel $s4,$t5,.PB0f063e38 -/* f063e18: 8e100020 */ lw $s0,0x20($s0) -/* f063e1c: 24a5ffff */ addiu $a1,$a1,-1 -/* f063e20: 14a00004 */ bnez $a1,.PB0f063e34 -/* f063e24: a20a003d */ sb $t2,0x3d($s0) -/* f063e28: 922c0358 */ lbu $t4,0x358($s1) -/* f063e2c: 10000007 */ b .PB0f063e4c -/* f063e30: 01803825 */ move $a3,$t4 -.PB0f063e34: -/* f063e34: 8e100020 */ lw $s0,0x20($s0) -.PB0f063e38: -/* f063e38: 8e2f0354 */ lw $t7,0x354($s1) -/* f063e3c: 560fffed */ bnel $s0,$t7,.PB0f063df4 -/* f063e40: 920f003d */ lbu $t7,0x3d($s0) -/* f063e44: 922c0358 */ lbu $t4,0x358($s1) -/* f063e48: 01803825 */ move $a3,$t4 -.PB0f063e4c: -/* f063e4c: 318a00ff */ andi $t2,$t4,0xff -.PB0f063e50: -/* f063e50: 318b00ff */ andi $t3,$t4,0xff -/* f063e54: 18e00014 */ blez $a3,.PB0f063ea8 -/* f063e58: 00002825 */ move $a1,$zero -/* f063e5c: 3c02800a */ lui $v0,0x800a -/* f063e60: 2442e4d0 */ addiu $v0,$v0,-6960 -.PB0f063e64: -/* f063e64: 94430366 */ lhu $v1,0x366($v0) -/* f063e68: 01202025 */ move $a0,$t1 -/* f063e6c: 0068082a */ slt $at,$v1,$t0 -/* f063e70: 10200003 */ beqz $at,.PB0f063e80 -/* f063e74: 00603025 */ move $a2,$v1 -/* f063e78: 3068ffff */ andi $t0,$v1,0xffff -/* f063e7c: 30aa00ff */ andi $t2,$a1,0xff -.PB0f063e80: -/* f063e80: 0086082a */ slt $at,$a0,$a2 -/* f063e84: 50200004 */ beqzl $at,.PB0f063e98 -/* f063e88: 24a50001 */ addiu $a1,$a1,0x1 -/* f063e8c: 3069ffff */ andi $t1,$v1,0xffff -/* f063e90: 30ab00ff */ andi $t3,$a1,0xff -/* f063e94: 24a50001 */ addiu $a1,$a1,0x1 -.PB0f063e98: -/* f063e98: 00a7082a */ slt $at,$a1,$a3 -/* f063e9c: 1420fff1 */ bnez $at,.PB0f063e64 -/* f063ea0: 2442001c */ addiu $v0,$v0,0x1c -/* f063ea4: 2403001c */ li $v1,0x1c -.PB0f063ea8: -/* f063ea8: 01630019 */ multu $t3,$v1 -/* f063eac: 00007012 */ mflo $t6 -/* f063eb0: 022ec021 */ addu $t8,$s1,$t6 -/* f063eb4: 97190366 */ lhu $t9,0x366($t8) -/* f063eb8: 01430019 */ multu $t2,$v1 -/* f063ebc: 00006812 */ mflo $t5 -/* f063ec0: 022d7821 */ addu $t7,$s1,$t5 -/* f063ec4: 95ee0366 */ lhu $t6,0x366($t7) -/* f063ec8: 032e2823 */ subu $a1,$t9,$t6 -/* f063ecc: 0005c043 */ sra $t8,$a1,0x1 -/* f063ed0: 13000017 */ beqz $t8,.PB0f063f30 -/* f063ed4: 03002825 */ move $a1,$t8 -/* f063ed8: 8e30033c */ lw $s0,0x33c($s1) -/* f063edc: 8e2d0354 */ lw $t5,0x354($s1) -/* f063ee0: 01601025 */ move $v0,$t3 -/* f063ee4: 520d0013 */ beql $s0,$t5,.PB0f063f34 -/* f063ee8: 8fb9008c */ lw $t9,0x8c($sp) -/* f063eec: 920f003d */ lbu $t7,0x3d($s0) -.PB0f063ef0: -/* f063ef0: 544f000c */ bnel $v0,$t7,.PB0f063f24 -/* f063ef4: 8e100020 */ lw $s0,0x20($s0) -/* f063ef8: 8e19003c */ lw $t9,0x3c($s0) -/* f063efc: 0019c640 */ sll $t8,$t9,0x19 -/* f063f00: 07020008 */ bltzl $t8,.PB0f063f24 -/* f063f04: 8e100020 */ lw $s0,0x20($s0) -/* f063f08: 920d0000 */ lbu $t5,0x0($s0) -/* f063f0c: 568d0005 */ bnel $s4,$t5,.PB0f063f24 -/* f063f10: 8e100020 */ lw $s0,0x20($s0) -/* f063f14: 24a5ffff */ addiu $a1,$a1,-1 -/* f063f18: 10a00005 */ beqz $a1,.PB0f063f30 -/* f063f1c: a20a003d */ sb $t2,0x3d($s0) -/* f063f20: 8e100020 */ lw $s0,0x20($s0) -.PB0f063f24: -/* f063f24: 8e2f0354 */ lw $t7,0x354($s1) -/* f063f28: 560ffff1 */ bnel $s0,$t7,.PB0f063ef0 -/* f063f2c: 920f003d */ lbu $t7,0x3d($s0) -.PB0f063f30: -/* f063f30: 8fb9008c */ lw $t9,0x8c($sp) -.PB0f063f34: -/* f063f34: 8fae0088 */ lw $t6,0x88($sp) -/* f063f38: c7b00084 */ lwc1 $f16,0x84($sp) -/* f063f3c: c7b20080 */ lwc1 $f18,0x80($sp) -/* f063f40: 8faa0034 */ lw $t2,0x34($sp) -/* f063f44: ae390034 */ sw $t9,0x34($s1) -/* f063f48: ae2e0038 */ sw $t6,0x38($s1) -/* f063f4c: e6300044 */ swc1 $f16,0x44($s1) -/* f063f50: e632004c */ swc1 $f18,0x4c($s1) -/* f063f54: 8fad0098 */ lw $t5,0x98($sp) -/* f063f58: ad400370 */ sw $zero,0x370($t2) -/* f063f5c: 9638035c */ lhu $t8,0x35c($s1) -/* f063f60: 11a00007 */ beqz $t5,.PB0f063f80 -/* f063f64: a5580378 */ sh $t8,0x378($t2) -/* f063f68: 0fc24301 */ jal alarmTick -/* f063f6c: 00000000 */ nop -/* f063f70: 0fc24cd2 */ jal propsndTick -/* f063f74: 00000000 */ nop -/* f063f78: 0fc1988d */ jal propsDefragRoomProps -/* f063f7c: 00000000 */ nop -.PB0f063f80: -/* f063f80: 0fc091ff */ jal chr0f02472c -/* f063f84: 00000000 */ nop -/* f063f88: 8fbf002c */ lw $ra,0x2c($sp) -/* f063f8c: 8fb00014 */ lw $s0,0x14($sp) -/* f063f90: 8fb10018 */ lw $s1,0x18($sp) -/* f063f94: 8fb2001c */ lw $s2,0x1c($sp) -/* f063f98: 8fb30020 */ lw $s3,0x20($sp) -/* f063f9c: 8fb40024 */ lw $s4,0x24($sp) -/* f063fa0: 8fb50028 */ lw $s5,0x28($sp) -/* f063fa4: 03e00008 */ jr $ra -/* f063fa8: 27bd0098 */ addiu $sp,$sp,0x98 -); -#elif VERSION >= VERSION_NTSC_1_0 -GLOBAL_ASM( -glabel propsTickPlayer -/* f06302c: 27bdff68 */ addiu $sp,$sp,-152 -/* f063030: afb10018 */ sw $s1,0x18($sp) -/* f063034: 3c11800a */ lui $s1,%hi(g_Vars) -/* f063038: 26319fc0 */ addiu $s1,$s1,%lo(g_Vars) -/* f06303c: ae20043c */ sw $zero,0x43c($s1) -/* f063040: 3c01800a */ lui $at,%hi(var8009cdac) -/* f063044: ac20cdac */ sw $zero,%lo(var8009cdac)($at) -/* f063048: 3c01800a */ lui $at,%hi(var8009cdb0) -/* f06304c: afbf002c */ sw $ra,0x2c($sp) -/* f063050: afb50028 */ sw $s5,0x28($sp) -/* f063054: afb40024 */ sw $s4,0x24($sp) -/* f063058: afb30020 */ sw $s3,0x20($sp) -/* f06305c: afb2001c */ sw $s2,0x1c($sp) -/* f063060: afb00014 */ sw $s0,0x14($sp) -/* f063064: afa40098 */ sw $a0,0x98($sp) -/* f063068: 10800009 */ beqz $a0,.L0f063090 -/* f06306c: ac20cdb0 */ sw $zero,%lo(var8009cdb0)($at) -/* f063070: 9622035c */ lhu $v0,0x35c($s1) -/* f063074: 2401ffff */ addiu $at,$zero,-1 -/* f063078: 244f0001 */ addiu $t7,$v0,0x1 -/* f06307c: 31f8ffff */ andi $t8,$t7,0xffff -/* f063080: a62f035c */ sh $t7,0x35c($s1) -/* f063084: 17010002 */ bne $t8,$at,.L0f063090 -/* f063088: a622035e */ sh $v0,0x35e($s1) -/* f06308c: a620035c */ sh $zero,0x35c($s1) -.L0f063090: -/* f063090: 92270358 */ lbu $a3,0x358($s1) -/* f063094: 8e390034 */ lw $t9,0x34($s1) -/* f063098: 8e2d0038 */ lw $t5,0x38($s1) -/* f06309c: c6240044 */ lwc1 $f4,0x44($s1) -/* f0630a0: c626004c */ lwc1 $f6,0x4c($s1) -/* f0630a4: 00002825 */ or $a1,$zero,$zero -/* f0630a8: afb9008c */ sw $t9,0x8c($sp) -/* f0630ac: afad0088 */ sw $t5,0x88($sp) -/* f0630b0: e7a40084 */ swc1 $f4,0x84($sp) -/* f0630b4: 18e0000e */ blez $a3,.L0f0630f0 -/* f0630b8: e7a60080 */ swc1 $f6,0x80($sp) -/* f0630bc: 3c02800a */ lui $v0,%hi(g_Vars) -/* f0630c0: 24429fc0 */ addiu $v0,$v0,%lo(g_Vars) -/* f0630c4: 8c4e0370 */ lw $t6,0x370($v0) -.L0f0630c8: -/* f0630c8: 8e2f0034 */ lw $t7,0x34($s1) -/* f0630cc: 24a50001 */ addiu $a1,$a1,0x1 -/* f0630d0: 2442001c */ addiu $v0,$v0,0x1c -/* f0630d4: 01cfc021 */ addu $t8,$t6,$t7 -/* f0630d8: ac580354 */ sw $t8,0x354($v0) -/* f0630dc: 92270358 */ lbu $a3,0x358($s1) -/* f0630e0: 00a7082a */ slt $at,$a1,$a3 -/* f0630e4: 5420fff8 */ bnezl $at,.L0f0630c8 -/* f0630e8: 8c4e0370 */ lw $t6,0x370($v0) -/* f0630ec: 00002825 */ or $a1,$zero,$zero -.L0f0630f0: -/* f0630f0: 9239035a */ lbu $t9,0x35a($s1) -/* f0630f4: 24150001 */ addiu $s5,$zero,0x1 -/* f0630f8: 24140003 */ addiu $s4,$zero,0x3 -/* f0630fc: 272d0001 */ addiu $t5,$t9,0x1 -/* f063100: 31a300ff */ andi $v1,$t5,0xff -/* f063104: 0067082a */ slt $at,$v1,$a3 -/* f063108: 14200003 */ bnez $at,.L0f063118 -/* f06310c: a22d035a */ sb $t5,0x35a($s1) -/* f063110: a220035a */ sb $zero,0x35a($s1) -/* f063114: 300300ff */ andi $v1,$zero,0xff -.L0f063118: -/* f063118: 306900ff */ andi $t1,$v1,0xff -/* f06311c: 000970c0 */ sll $t6,$t1,0x3 -/* f063120: 01c97023 */ subu $t6,$t6,$t1 -/* f063124: 000e7080 */ sll $t6,$t6,0x2 -/* f063128: 022e5021 */ addu $t2,$s1,$t6 -/* f06312c: 8d420370 */ lw $v0,0x370($t2) -/* f063130: 3c013e80 */ lui $at,0x3e80 -/* f063134: 8d4f0374 */ lw $t7,0x374($t2) -/* f063138: 44824000 */ mtc1 $v0,$f8 -/* f06313c: 44818000 */ mtc1 $at,$f16 -/* f063140: 01e24021 */ addu $t0,$t7,$v0 -/* f063144: 468042a0 */ cvt.s.w $f10,$f8 -/* f063148: 31180003 */ andi $t8,$t0,0x3 -/* f06314c: ad580374 */ sw $t8,0x374($t2) -/* f063150: 922d0358 */ lbu $t5,0x358($s1) -/* f063154: 24480002 */ addiu $t0,$v0,0x2 -/* f063158: 0008c883 */ sra $t9,$t0,0x2 -/* f06315c: 46105482 */ mul.s $f18,$f10,$f16 -/* f063160: afa2007c */ sw $v0,0x7c($sp) -/* f063164: 03204025 */ or $t0,$t9,$zero -/* f063168: 3c02800a */ lui $v0,%hi(g_Vars) -/* f06316c: 2413008c */ addiu $s3,$zero,0x8c -/* f063170: 2412ffff */ addiu $s2,$zero,-1 -/* f063174: 19a0000c */ blez $t5,.L0f0631a8 -/* f063178: e7b20074 */ swc1 $f18,0x74($sp) -/* f06317c: 24429fc0 */ addiu $v0,$v0,%lo(g_Vars) -/* f063180: a4400360 */ sh $zero,0x360($v0) -.L0f063184: -/* f063184: a4400362 */ sh $zero,0x362($v0) -/* f063188: a4400364 */ sh $zero,0x364($v0) -/* f06318c: a4400366 */ sh $zero,0x366($v0) -/* f063190: 922e0358 */ lbu $t6,0x358($s1) -/* f063194: 24a50001 */ addiu $a1,$a1,0x1 -/* f063198: 2442001c */ addiu $v0,$v0,0x1c -/* f06319c: 00ae082a */ slt $at,$a1,$t6 -/* f0631a0: 5420fff8 */ bnezl $at,.L0f063184 -/* f0631a4: a4400360 */ sh $zero,0x360($v0) -.L0f0631a8: -/* f0631a8: 8e2f0290 */ lw $t7,0x290($s1) -/* f0631ac: 55e00024 */ bnezl $t7,.L0f063240 -/* f0631b0: 8e380334 */ lw $t8,0x334($s1) -/* f0631b4: 8e380334 */ lw $t8,0x334($s1) -/* f0631b8: 8e300338 */ lw $s0,0x338($s1) -/* f0631bc: 2407ff7f */ addiu $a3,$zero,-129 -/* f0631c0: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0631c4: 0338c821 */ addu $t9,$t9,$t8 -/* f0631c8: 0019c8c0 */ sll $t9,$t9,0x3 -/* f0631cc: 03302821 */ addu $a1,$t9,$s0 -/* f0631d0: 0205082b */ sltu $at,$s0,$a1 -/* f0631d4: 1020002e */ beqz $at,.L0f063290 -/* f0631d8: 2406ffbf */ addiu $a2,$zero,-65 -/* f0631dc: 2404fffd */ addiu $a0,$zero,-3 -.L0f0631e0: -/* f0631e0: 92020001 */ lbu $v0,0x1($s0) -/* f0631e4: 304d0002 */ andi $t5,$v0,0x2 -/* f0631e8: 11a00003 */ beqz $t5,.L0f0631f8 -/* f0631ec: 00401825 */ or $v1,$v0,$zero -/* f0631f0: 00441024 */ and $v0,$v0,$a0 -/* f0631f4: 304300ff */ andi $v1,$v0,0xff -.L0f0631f8: -/* f0631f8: 306f0040 */ andi $t7,$v1,0x40 -/* f0631fc: 11e00005 */ beqz $t7,.L0f063214 -/* f063200: 306d0080 */ andi $t5,$v1,0x80 -/* f063204: 34780080 */ ori $t8,$v1,0x80 -/* f063208: 03061024 */ and $v0,$t8,$a2 -/* f06320c: 10000004 */ b .L0f063220 -/* f063210: 304300ff */ andi $v1,$v0,0xff -.L0f063214: -/* f063214: 11a00002 */ beqz $t5,.L0f063220 -/* f063218: 00671024 */ and $v0,$v1,$a3 -/* f06321c: 304300ff */ andi $v1,$v0,0xff -.L0f063220: -/* f063220: 26100048 */ addiu $s0,$s0,0x48 -/* f063224: 0205082b */ sltu $at,$s0,$a1 -/* f063228: 346f0008 */ ori $t7,$v1,0x8 -/* f06322c: 1420ffec */ bnez $at,.L0f0631e0 -/* f063230: a20fffb9 */ sb $t7,-0x47($s0) -/* f063234: 10000017 */ b .L0f063294 -/* f063238: afaa0034 */ sw $t2,0x34($sp) -/* f06323c: 8e380334 */ lw $t8,0x334($s1) -.L0f063240: -/* f063240: 8e300338 */ lw $s0,0x338($s1) -/* f063244: 2404fffd */ addiu $a0,$zero,-3 -/* f063248: 0018c8c0 */ sll $t9,$t8,0x3 -/* f06324c: 0338c821 */ addu $t9,$t9,$t8 -/* f063250: 0019c8c0 */ sll $t9,$t9,0x3 -/* f063254: 03302821 */ addu $a1,$t9,$s0 -/* f063258: 0205082b */ sltu $at,$s0,$a1 -/* f06325c: 5020000d */ beqzl $at,.L0f063294 -/* f063260: afaa0034 */ sw $t2,0x34($sp) -.L0f063264: -/* f063264: 92020001 */ lbu $v0,0x1($s0) -/* f063268: 304d0002 */ andi $t5,$v0,0x2 -/* f06326c: 11a00004 */ beqz $t5,.L0f063280 -/* f063270: 00401825 */ or $v1,$v0,$zero -/* f063274: 00641024 */ and $v0,$v1,$a0 -/* f063278: 304e00ff */ andi $t6,$v0,0xff -/* f06327c: 01c01025 */ or $v0,$t6,$zero -.L0f063280: -/* f063280: 26100048 */ addiu $s0,$s0,0x48 -/* f063284: 0205082b */ sltu $at,$s0,$a1 -/* f063288: 1420fff6 */ bnez $at,.L0f063264 -/* f06328c: a202ffb9 */ sb $v0,-0x47($s0) -.L0f063290: -/* f063290: afaa0034 */ sw $t2,0x34($sp) -.L0f063294: -/* f063294: afaa0034 */ sw $t2,0x34($sp) -/* f063298: 8e30033c */ lw $s0,0x33c($s1) -/* f06329c: afa80078 */ sw $t0,0x78($sp) -/* f0632a0: a3a90069 */ sb $t1,0x69($sp) -/* f0632a4: 8e0f0020 */ lw $t7,0x20($s0) -.L0f0632a8: -/* f0632a8: 8e390354 */ lw $t9,0x354($s1) -/* f0632ac: 8e2e02ac */ lw $t6,0x2ac($s1) -/* f0632b0: 00003025 */ or $a2,$zero,$zero -/* f0632b4: 01f96826 */ xor $t5,$t7,$t9 -/* f0632b8: 2dad0001 */ sltiu $t5,$t5,0x1 -/* f0632bc: afad004c */ sw $t5,0x4c($sp) -/* f0632c0: 12ae0003 */ beq $s5,$t6,.L0f0632d0 -/* f0632c4: afaf005c */ sw $t7,0x5c($sp) -/* f0632c8: 10000002 */ b .L0f0632d4 -/* f0632cc: 02a02825 */ or $a1,$s5,$zero -.L0f0632d0: -/* f0632d0: 9225035b */ lbu $a1,0x35b($s1) -.L0f0632d4: -/* f0632d4: 86080028 */ lh $t0,0x28($s0) -/* f0632d8: 26070028 */ addiu $a3,$s0,0x28 -/* f0632dc: 00e01825 */ or $v1,$a3,$zero -/* f0632e0: 1248000f */ beq $s2,$t0,.L0f063320 -/* f0632e4: 3c04800a */ lui $a0,%hi(g_Rooms) -/* f0632e8: 8c844928 */ lw $a0,%lo(g_Rooms)($a0) -/* f0632ec: 84620000 */ lh $v0,0x0($v1) -.L0f0632f0: -/* f0632f0: 00530019 */ multu $v0,$s3 -/* f0632f4: 00007812 */ mflo $t7 -/* f0632f8: 008fc021 */ addu $t8,$a0,$t7 -/* f0632fc: 97190000 */ lhu $t9,0x0($t8) -/* f063300: 332d0004 */ andi $t5,$t9,0x4 -/* f063304: 51a00003 */ beqzl $t5,.L0f063314 -/* f063308: 84620002 */ lh $v0,0x2($v1) -/* f06330c: 24a50001 */ addiu $a1,$a1,0x1 -/* f063310: 84620002 */ lh $v0,0x2($v1) -.L0f063314: -/* f063314: 24630002 */ addiu $v1,$v1,0x2 -/* f063318: 1642fff5 */ bne $s2,$v0,.L0f0632f0 -/* f06331c: 00000000 */ nop -.L0f063320: -/* f063320: 54a0003c */ bnezl $a1,.L0f063414 -/* f063324: 960d003a */ lhu $t5,0x3a($s0) -/* f063328: 92030000 */ lbu $v1,0x0($s0) -/* f06332c: 24010006 */ addiu $at,$zero,0x6 -/* f063330: 14610003 */ bne $v1,$at,.L0f063340 -/* f063334: 00000000 */ nop -/* f063338: 1000000b */ b .L0f063368 -/* f06333c: 24a50001 */ addiu $a1,$a1,0x1 -.L0f063340: -/* f063340: 12a30003 */ beq $s5,$v1,.L0f063350 -/* f063344: 24010004 */ addiu $at,$zero,0x4 -/* f063348: 14610007 */ bne $v1,$at,.L0f063368 -/* f06334c: 00000000 */ nop -.L0f063350: -/* f063350: 8e020004 */ lw $v0,0x4($s0) -/* f063354: 8c4e0040 */ lw $t6,0x40($v0) -/* f063358: 31cf0080 */ andi $t7,$t6,0x80 -/* f06335c: 11e00002 */ beqz $t7,.L0f063368 -/* f063360: 00000000 */ nop -/* f063364: 24a50001 */ addiu $a1,$a1,0x1 -.L0f063368: -/* f063368: 54a0002a */ bnezl $a1,.L0f063414 -/* f06336c: 960d003a */ lhu $t5,0x3a($s0) -/* f063370: 92180001 */ lbu $t8,0x1($s0) -/* f063374: 24010084 */ addiu $at,$zero,0x84 -/* f063378: 33190084 */ andi $t9,$t8,0x84 -/* f06337c: 57210004 */ bnel $t9,$at,.L0f063390 -/* f063380: 9202003f */ lbu $v0,0x3f($s0) -/* f063384: 10000022 */ b .L0f063410 -/* f063388: 24a50001 */ addiu $a1,$a1,0x1 -/* f06338c: 9202003f */ lbu $v0,0x3f($s0) -.L0f063390: -/* f063390: 000269c2 */ srl $t5,$v0,0x7 -/* f063394: 11a00004 */ beqz $t5,.L0f0633a8 -/* f063398: 304eff7f */ andi $t6,$v0,0xff7f -/* f06339c: 24a50001 */ addiu $a1,$a1,0x1 -/* f0633a0: 1000001b */ b .L0f063410 -/* f0633a4: a20e003f */ sb $t6,0x3f($s0) -.L0f0633a8: -/* f0633a8: 8e0f003c */ lw $t7,0x3c($s0) -/* f0633ac: 000fce80 */ sll $t9,$t7,0x1a -/* f0633b0: 07210003 */ bgez $t9,.L0f0633c0 -/* f0633b4: 00000000 */ nop -/* f0633b8: 10000015 */ b .L0f063410 -/* f0633bc: 24a50001 */ addiu $a1,$a1,0x1 -.L0f0633c0: -/* f0633c0: 1248000f */ beq $s2,$t0,.L0f063400 -/* f0633c4: 00e01825 */ or $v1,$a3,$zero -/* f0633c8: 3c04800a */ lui $a0,%hi(g_Rooms) -/* f0633cc: 8c844928 */ lw $a0,%lo(g_Rooms)($a0) -/* f0633d0: 84e20000 */ lh $v0,0x0($a3) -.L0f0633d4: -/* f0633d4: 00530019 */ multu $v0,$s3 -/* f0633d8: 00006812 */ mflo $t5 -/* f0633dc: 008d7021 */ addu $t6,$a0,$t5 -/* f0633e0: 95cf0000 */ lhu $t7,0x0($t6) -/* f0633e4: 31f80008 */ andi $t8,$t7,0x8 -/* f0633e8: 57000006 */ bnezl $t8,.L0f063404 -/* f0633ec: 84790000 */ lh $t9,0x0($v1) -/* f0633f0: 84620002 */ lh $v0,0x2($v1) -/* f0633f4: 24630002 */ addiu $v1,$v1,0x2 -/* f0633f8: 1642fff6 */ bne $s2,$v0,.L0f0633d4 -/* f0633fc: 00000000 */ nop -.L0f063400: -/* f063400: 84790000 */ lh $t9,0x0($v1) -.L0f063404: -/* f063404: 52590003 */ beql $s2,$t9,.L0f063414 -/* f063408: 960d003a */ lhu $t5,0x3a($s0) -/* f06340c: 24a50001 */ addiu $a1,$a1,0x1 -.L0f063410: -/* f063410: 960d003a */ lhu $t5,0x3a($s0) -.L0f063414: -/* f063414: 8e2e0034 */ lw $t6,0x34($s1) -/* f063418: 01ae7821 */ addu $t7,$t5,$t6 -/* f06341c: 18a0007d */ blez $a1,.L0f063614 -/* f063420: a60f003a */ sh $t7,0x3a($s0) -/* f063424: 9638035e */ lhu $t8,0x35e($s1) -/* f063428: 96190038 */ lhu $t9,0x38($s0) -/* f06342c: 31edffff */ andi $t5,$t7,0xffff -/* f063430: 53190016 */ beql $t8,$t9,.L0f06348c -/* f063434: 8fb9008c */ lw $t9,0x8c($sp) -/* f063438: ae2d0034 */ sw $t5,0x34($s1) -/* f06343c: 920f003c */ lbu $t7,0x3c($s0) -/* f063440: 960e003a */ lhu $t6,0x3a($s0) -/* f063444: 3c013e80 */ lui $at,0x3e80 -/* f063448: 44814000 */ mtc1 $at,$f8 -/* f06344c: 01cfc021 */ addu $t8,$t6,$t7 -/* f063450: ae380038 */ sw $t8,0x38($s1) -/* f063454: 330d0003 */ andi $t5,$t8,0x3 -/* f063458: a20d003c */ sb $t5,0x3c($s0) -/* f06345c: 8e380034 */ lw $t8,0x34($s1) -/* f063460: 8e2e0038 */ lw $t6,0x38($s1) -/* f063464: 44982000 */ mtc1 $t8,$f4 -/* f063468: 000e7883 */ sra $t7,$t6,0x2 -/* f06346c: ae2f0038 */ sw $t7,0x38($s1) -/* f063470: 468021a0 */ cvt.s.w $f6,$f4 -/* f063474: 46083282 */ mul.s $f10,$f6,$f8 -/* f063478: e62a0044 */ swc1 $f10,0x44($s1) -/* f06347c: c6300044 */ lwc1 $f16,0x44($s1) -/* f063480: 10000009 */ b .L0f0634a8 -/* f063484: e630004c */ swc1 $f16,0x4c($s1) -/* f063488: 8fb9008c */ lw $t9,0x8c($sp) -.L0f06348c: -/* f06348c: 8fad0088 */ lw $t5,0x88($sp) -/* f063490: c7b20084 */ lwc1 $f18,0x84($sp) -/* f063494: c7a40080 */ lwc1 $f4,0x80($sp) -/* f063498: ae390034 */ sw $t9,0x34($s1) -/* f06349c: ae2d0038 */ sw $t5,0x38($s1) -/* f0634a0: e6320044 */ swc1 $f18,0x44($s1) -/* f0634a4: e624004c */ swc1 $f4,0x4c($s1) -.L0f0634a8: -/* f0634a8: 920e0000 */ lbu $t6,0x0($s0) -/* f0634ac: a200003e */ sb $zero,0x3e($s0) -/* f0634b0: 568e001c */ bnel $s4,$t6,.L0f063524 -/* f0634b4: 920f003d */ lbu $t7,0x3d($s0) -/* f0634b8: 8e020004 */ lw $v0,0x4($s0) -/* f0634bc: 02002025 */ or $a0,$s0,$zero -/* f0634c0: 0fc522e0 */ jal splatTickChr -/* f0634c4: afa20048 */ sw $v0,0x48($sp) -/* f0634c8: 8fa20048 */ lw $v0,0x48($sp) -/* f0634cc: 10400008 */ beqz $v0,.L0f0634f0 -/* f0634d0: 00000000 */ nop -/* f0634d4: 8c4f02d4 */ lw $t7,0x2d4($v0) -/* f0634d8: 11e00005 */ beqz $t7,.L0f0634f0 -/* f0634dc: 00000000 */ nop -/* f0634e0: 0fc64634 */ jal botTick -/* f0634e4: 02002025 */ or $a0,$s0,$zero -/* f0634e8: 10000004 */ b .L0f0634fc -/* f0634ec: 00403025 */ or $a2,$v0,$zero -.L0f0634f0: -/* f0634f0: 0fc08c26 */ jal chrTick -/* f0634f4: 02002025 */ or $a0,$s0,$zero -/* f0634f8: 00403025 */ or $a2,$v0,$zero -.L0f0634fc: -/* f0634fc: 9218003d */ lbu $t8,0x3d($s0) -/* f063500: 0018c8c0 */ sll $t9,$t8,0x3 -/* f063504: 0338c823 */ subu $t9,$t9,$t8 -/* f063508: 0019c880 */ sll $t9,$t9,0x2 -/* f06350c: 02391021 */ addu $v0,$s1,$t9 -/* f063510: 944d0366 */ lhu $t5,0x366($v0) -/* f063514: 25ae0001 */ addiu $t6,$t5,0x1 -/* f063518: 1000002b */ b .L0f0635c8 -/* f06351c: a44e0366 */ sh $t6,0x366($v0) -/* f063520: 920f003d */ lbu $t7,0x3d($s0) -.L0f063524: -/* f063524: 24010004 */ addiu $at,$zero,0x4 -/* f063528: 000fc0c0 */ sll $t8,$t7,0x3 -/* f06352c: 030fc023 */ subu $t8,$t8,$t7 -/* f063530: 0018c080 */ sll $t8,$t8,0x2 -/* f063534: 02381021 */ addu $v0,$s1,$t8 -/* f063538: 94590364 */ lhu $t9,0x364($v0) -/* f06353c: 272d0001 */ addiu $t5,$t9,0x1 -/* f063540: a44d0364 */ sh $t5,0x364($v0) -/* f063544: 92030000 */ lbu $v1,0x0($s0) -/* f063548: 12a30005 */ beq $s5,$v1,.L0f063560 -/* f06354c: 00000000 */ nop -/* f063550: 10610003 */ beq $v1,$at,.L0f063560 -/* f063554: 24010002 */ addiu $at,$zero,0x2 -/* f063558: 54610006 */ bnel $v1,$at,.L0f063574 -/* f06355c: 24010007 */ addiu $at,$zero,0x7 -.L0f063560: -/* f063560: 0fc1f9d6 */ jal objTickPlayer -/* f063564: 02002025 */ or $a0,$s0,$zero -/* f063568: 10000017 */ b .L0f0635c8 -/* f06356c: 00403025 */ or $a2,$v0,$zero -/* f063570: 24010007 */ addiu $at,$zero,0x7 -.L0f063574: -/* f063574: 54610006 */ bnel $v1,$at,.L0f063590 -/* f063578: 24010008 */ addiu $at,$zero,0x8 -/* f06357c: 0fc4b16a */ jal explosionTickPlayer -/* f063580: 02002025 */ or $a0,$s0,$zero -/* f063584: 10000010 */ b .L0f0635c8 -/* f063588: 00403025 */ or $a2,$v0,$zero -/* f06358c: 24010008 */ addiu $at,$zero,0x8 -.L0f063590: -/* f063590: 54610006 */ bnel $v1,$at,.L0f0635ac -/* f063594: 24010006 */ addiu $at,$zero,0x6 -/* f063598: 0fc4bc61 */ jal smokeTickPlayer -/* f06359c: 02002025 */ or $a0,$s0,$zero -/* f0635a0: 10000009 */ b .L0f0635c8 -/* f0635a4: 00403025 */ or $a2,$v0,$zero -/* f0635a8: 24010006 */ addiu $at,$zero,0x6 -.L0f0635ac: -/* f0635ac: 54610007 */ bnel $v1,$at,.L0f0635cc -/* f0635b0: 962e035e */ lhu $t6,0x35e($s1) -/* f0635b4: 0fc522e0 */ jal splatTickChr -/* f0635b8: 02002025 */ or $a0,$s0,$zero -/* f0635bc: 0fc308d9 */ jal playerTickThirdPerson -/* f0635c0: 02002025 */ or $a0,$s0,$zero -/* f0635c4: 00403025 */ or $a2,$v0,$zero -.L0f0635c8: -/* f0635c8: 962e035e */ lhu $t6,0x35e($s1) -.L0f0635cc: -/* f0635cc: 960f0038 */ lhu $t7,0x38($s0) -/* f0635d0: 8fb8008c */ lw $t8,0x8c($sp) -/* f0635d4: 51cf0009 */ beql $t6,$t7,.L0f0635fc -/* f0635d8: 920e003f */ lbu $t6,0x3f($s0) -/* f0635dc: 8fb90088 */ lw $t9,0x88($sp) -/* f0635e0: c7a60084 */ lwc1 $f6,0x84($sp) -/* f0635e4: c7a80080 */ lwc1 $f8,0x80($sp) -/* f0635e8: ae380034 */ sw $t8,0x34($s1) -/* f0635ec: ae390038 */ sw $t9,0x38($s1) -/* f0635f0: e6260044 */ swc1 $f6,0x44($s1) -/* f0635f4: e628004c */ swc1 $f8,0x4c($s1) -/* f0635f8: 920e003f */ lbu $t6,0x3f($s0) -.L0f0635fc: -/* f0635fc: 962d035c */ lhu $t5,0x35c($s1) -/* f063600: a600003a */ sh $zero,0x3a($s0) -/* f063604: 31cfffbf */ andi $t7,$t6,0xffbf -/* f063608: a20f003f */ sb $t7,0x3f($s0) -/* f06360c: 1000009c */ b .L0f063880 -/* f063610: a60d0038 */ sh $t5,0x38($s0) -.L0f063614: -/* f063614: 92180000 */ lbu $t8,0x0($s0) -/* f063618: 93a30069 */ lbu $v1,0x69($sp) -/* f06361c: 5698000b */ bnel $s4,$t8,.L0f06364c -/* f063620: 9218003d */ lbu $t8,0x3d($s0) -/* f063624: 9219003d */ lbu $t9,0x3d($s0) -/* f063628: 001968c0 */ sll $t5,$t9,0x3 -/* f06362c: 01b96823 */ subu $t5,$t5,$t9 -/* f063630: 000d6880 */ sll $t5,$t5,0x2 -/* f063634: 022d1021 */ addu $v0,$s1,$t5 -/* f063638: 944e0362 */ lhu $t6,0x362($v0) -/* f06363c: 25cf0001 */ addiu $t7,$t6,0x1 -/* f063640: 10000009 */ b .L0f063668 -/* f063644: a44f0362 */ sh $t7,0x362($v0) -/* f063648: 9218003d */ lbu $t8,0x3d($s0) -.L0f06364c: -/* f06364c: 0018c8c0 */ sll $t9,$t8,0x3 -/* f063650: 0338c823 */ subu $t9,$t9,$t8 -/* f063654: 0019c880 */ sll $t9,$t9,0x2 -/* f063658: 02391021 */ addu $v0,$s1,$t9 -/* f06365c: 944d0360 */ lhu $t5,0x360($v0) -/* f063660: 25ae0001 */ addiu $t6,$t5,0x1 -/* f063664: a44e0360 */ sh $t6,0x360($v0) -.L0f063668: -/* f063668: 920f003d */ lbu $t7,0x3d($s0) -/* f06366c: 8fb90034 */ lw $t9,0x34($sp) -/* f063670: 546f0084 */ bnel $v1,$t7,.L0f063884 -/* f063674: 8fad008c */ lw $t5,0x8c($sp) -/* f063678: 96180038 */ lhu $t8,0x38($s0) -/* f06367c: 972d0378 */ lhu $t5,0x378($t9) -/* f063680: 3c01800a */ lui $at,%hi(g_Vars+0x4c) -/* f063684: 530d0017 */ beql $t8,$t5,.L0f0636e4 -/* f063688: 8fad007c */ lw $t5,0x7c($sp) -/* f06368c: 960e003a */ lhu $t6,0x3a($s0) -/* f063690: 3c013e80 */ lui $at,0x3e80 -/* f063694: 44819000 */ mtc1 $at,$f18 -/* f063698: ae2e0034 */ sw $t6,0x34($s1) -/* f06369c: 9219003c */ lbu $t9,0x3c($s0) -/* f0636a0: 960f003a */ lhu $t7,0x3a($s0) -/* f0636a4: 01f9c021 */ addu $t8,$t7,$t9 -/* f0636a8: ae380038 */ sw $t8,0x38($s1) -/* f0636ac: 330e0003 */ andi $t6,$t8,0x3 -/* f0636b0: a20e003c */ sb $t6,0x3c($s0) -/* f0636b4: 8e380034 */ lw $t8,0x34($s1) -/* f0636b8: 8e2f0038 */ lw $t7,0x38($s1) -/* f0636bc: 44985000 */ mtc1 $t8,$f10 -/* f0636c0: 000fc883 */ sra $t9,$t7,0x2 -/* f0636c4: ae390038 */ sw $t9,0x38($s1) -/* f0636c8: 46805420 */ cvt.s.w $f16,$f10 -/* f0636cc: 46128102 */ mul.s $f4,$f16,$f18 -/* f0636d0: e6240044 */ swc1 $f4,0x44($s1) -/* f0636d4: c6260044 */ lwc1 $f6,0x44($s1) -/* f0636d8: 10000009 */ b .L0f063700 -/* f0636dc: e626004c */ swc1 $f6,0x4c($s1) -/* f0636e0: 8fad007c */ lw $t5,0x7c($sp) -.L0f0636e4: -/* f0636e4: 8fae0078 */ lw $t6,0x78($sp) -/* f0636e8: c7a80074 */ lwc1 $f8,0x74($sp) -/* f0636ec: c7aa0074 */ lwc1 $f10,0x74($sp) -/* f0636f0: ae2d0034 */ sw $t5,0x34($s1) -/* f0636f4: ae2e0038 */ sw $t6,0x38($s1) -/* f0636f8: e6280044 */ swc1 $f8,0x44($s1) -/* f0636fc: e42aa00c */ swc1 $f10,%lo(g_Vars+0x4c)($at) -.L0f063700: -/* f063700: 92030000 */ lbu $v1,0x0($s0) -/* f063704: 16830013 */ bne $s4,$v1,.L0f063754 -/* f063708: 00000000 */ nop -/* f06370c: 8e020004 */ lw $v0,0x4($s0) -/* f063710: 02002025 */ or $a0,$s0,$zero -/* f063714: 0fc522e0 */ jal splatTickChr -/* f063718: afa20044 */ sw $v0,0x44($sp) -/* f06371c: 8fa20044 */ lw $v0,0x44($sp) -/* f063720: 10400008 */ beqz $v0,.L0f063744 -/* f063724: 00000000 */ nop -/* f063728: 8c4f02d4 */ lw $t7,0x2d4($v0) -/* f06372c: 11e00005 */ beqz $t7,.L0f063744 -/* f063730: 00000000 */ nop -/* f063734: 0fc64634 */ jal botTick -/* f063738: 02002025 */ or $a0,$s0,$zero -/* f06373c: 1000003c */ b .L0f063830 -/* f063740: 00403025 */ or $a2,$v0,$zero -.L0f063744: -/* f063744: 0fc08c26 */ jal chrTick -/* f063748: 02002025 */ or $a0,$s0,$zero -/* f06374c: 10000038 */ b .L0f063830 -/* f063750: 00403025 */ or $a2,$v0,$zero -.L0f063754: -/* f063754: 12a30005 */ beq $s5,$v1,.L0f06376c -/* f063758: 24010004 */ addiu $at,$zero,0x4 -/* f06375c: 10610003 */ beq $v1,$at,.L0f06376c -/* f063760: 24010002 */ addiu $at,$zero,0x2 -/* f063764: 5461001d */ bnel $v1,$at,.L0f0637dc -/* f063768: 24010007 */ addiu $at,$zero,0x7 -.L0f06376c: -/* f06376c: 8e020004 */ lw $v0,0x4($s0) -/* f063770: 3c188007 */ lui $t8,%hi(g_PausableObjs) -/* f063774: 90590003 */ lbu $t9,0x3($v0) -/* f063778: 0319c021 */ addu $t8,$t8,$t9 -/* f06377c: 93189884 */ lbu $t8,%lo(g_PausableObjs)($t8) -/* f063780: 57000006 */ bnezl $t8,.L0f06379c -/* f063784: 860d0002 */ lh $t5,0x2($s0) -/* f063788: 0fc1f9d6 */ jal objTickPlayer -/* f06378c: 02002025 */ or $a0,$s0,$zero -/* f063790: 10000027 */ b .L0f063830 -/* f063794: 00403025 */ or $a2,$v0,$zero -/* f063798: 860d0002 */ lh $t5,0x2($s0) -.L0f06379c: -/* f06379c: 5da00025 */ bgtzl $t5,.L0f063834 -/* f0637a0: 8faf0034 */ lw $t7,0x34($sp) -/* f0637a4: 920e003e */ lbu $t6,0x3e($s0) -/* f0637a8: 25cf0001 */ addiu $t7,$t6,0x1 -/* f0637ac: a20f003e */ sb $t7,0x3e($s0) -/* f0637b0: 92380358 */ lbu $t8,0x358($s1) -/* f0637b4: 31f900ff */ andi $t9,$t7,0xff -/* f0637b8: 270dffff */ addiu $t5,$t8,-1 -/* f0637bc: 01b9082a */ slt $at,$t5,$t9 -/* f0637c0: 5020001c */ beqzl $at,.L0f063834 -/* f0637c4: 8faf0034 */ lw $t7,0x34($sp) -/* f0637c8: 0fc18bbe */ jal propPause -/* f0637cc: 02002025 */ or $a0,$s0,$zero -/* f0637d0: 10000017 */ b .L0f063830 -/* f0637d4: 24060005 */ addiu $a2,$zero,0x5 -/* f0637d8: 24010007 */ addiu $at,$zero,0x7 -.L0f0637dc: -/* f0637dc: 54610006 */ bnel $v1,$at,.L0f0637f8 -/* f0637e0: 24010008 */ addiu $at,$zero,0x8 -/* f0637e4: 0fc4b16a */ jal explosionTickPlayer -/* f0637e8: 02002025 */ or $a0,$s0,$zero -/* f0637ec: 10000010 */ b .L0f063830 -/* f0637f0: 00403025 */ or $a2,$v0,$zero -/* f0637f4: 24010008 */ addiu $at,$zero,0x8 -.L0f0637f8: -/* f0637f8: 54610006 */ bnel $v1,$at,.L0f063814 -/* f0637fc: 24010006 */ addiu $at,$zero,0x6 -/* f063800: 0fc4bc61 */ jal smokeTickPlayer -/* f063804: 02002025 */ or $a0,$s0,$zero -/* f063808: 10000009 */ b .L0f063830 -/* f06380c: 00403025 */ or $a2,$v0,$zero -/* f063810: 24010006 */ addiu $at,$zero,0x6 -.L0f063814: -/* f063814: 54610007 */ bnel $v1,$at,.L0f063834 -/* f063818: 8faf0034 */ lw $t7,0x34($sp) -/* f06381c: 0fc522e0 */ jal splatTickChr -/* f063820: 02002025 */ or $a0,$s0,$zero -/* f063824: 0fc308d9 */ jal playerTickThirdPerson -/* f063828: 02002025 */ or $a0,$s0,$zero -/* f06382c: 00403025 */ or $a2,$v0,$zero -.L0f063830: -/* f063830: 8faf0034 */ lw $t7,0x34($sp) -.L0f063834: -/* f063834: 960e0038 */ lhu $t6,0x38($s0) -/* f063838: 8fb9007c */ lw $t9,0x7c($sp) -/* f06383c: 95f80378 */ lhu $t8,0x378($t7) -/* f063840: 3c01800a */ lui $at,%hi(g_Vars+0x4c) -/* f063844: 51d80009 */ beql $t6,$t8,.L0f06386c -/* f063848: 9218003f */ lbu $t8,0x3f($s0) -/* f06384c: 8fad0078 */ lw $t5,0x78($sp) -/* f063850: c7b00074 */ lwc1 $f16,0x74($sp) -/* f063854: c7b20074 */ lwc1 $f18,0x74($sp) -/* f063858: ae390034 */ sw $t9,0x34($s1) -/* f06385c: ae2d0038 */ sw $t5,0x38($s1) -/* f063860: e6300044 */ swc1 $f16,0x44($s1) -/* f063864: e432a00c */ swc1 $f18,%lo(g_Vars+0x4c)($at) -/* f063868: 9218003f */ lbu $t8,0x3f($s0) -.L0f06386c: -/* f06386c: 962f035c */ lhu $t7,0x35c($s1) -/* f063870: a600003a */ sh $zero,0x3a($s0) -/* f063874: 37190040 */ ori $t9,$t8,0x40 -/* f063878: a219003f */ sb $t9,0x3f($s0) -/* f06387c: a60f0038 */ sh $t7,0x38($s0) -.L0f063880: -/* f063880: 8fad008c */ lw $t5,0x8c($sp) -.L0f063884: -/* f063884: 8faf0088 */ lw $t7,0x88($sp) -/* f063888: c7a40084 */ lwc1 $f4,0x84($sp) -/* f06388c: c7a60080 */ lwc1 $f6,0x80($sp) -/* f063890: 24010005 */ addiu $at,$zero,0x5 -/* f063894: ae2d0034 */ sw $t5,0x34($s1) -/* f063898: ae2f0038 */ sw $t7,0x38($s1) -/* f06389c: e6240044 */ swc1 $f4,0x44($s1) -/* f0638a0: 14c10003 */ bne $a2,$at,.L0f0638b0 -/* f0638a4: e626004c */ swc1 $f6,0x4c($s1) -/* f0638a8: 1000001d */ b .L0f063920 -/* f0638ac: 8fa2005c */ lw $v0,0x5c($sp) -.L0f0638b0: -/* f0638b0: 8e020020 */ lw $v0,0x20($s0) -/* f0638b4: 8e2e0354 */ lw $t6,0x354($s1) -/* f0638b8: 02002025 */ or $a0,$s0,$zero -/* f0638bc: 00c02825 */ or $a1,$a2,$zero -/* f0638c0: 004ec026 */ xor $t8,$v0,$t6 -/* f0638c4: 2f180001 */ sltiu $t8,$t8,0x1 -/* f0638c8: 14d40012 */ bne $a2,$s4,.L0f063914 -/* f0638cc: afb8004c */ sw $t8,0x4c($sp) -/* f0638d0: 920f003f */ lbu $t7,0x3f($s0) -/* f0638d4: 3419ffff */ dli $t9,0xffff -/* f0638d8: a6190038 */ sh $t9,0x38($s0) -/* f0638dc: 35ee0080 */ ori $t6,$t7,0x80 -/* f0638e0: a20e003f */ sb $t6,0x3f($s0) -/* f0638e4: afa20060 */ sw $v0,0x60($sp) -/* f0638e8: 0fc18171 */ jal propDelist -/* f0638ec: 02002025 */ or $a0,$s0,$zero -/* f0638f0: 0fc1814e */ jal propActivateThisFrame -/* f0638f4: 02002025 */ or $a0,$s0,$zero -/* f0638f8: 8fb8004c */ lw $t8,0x4c($sp) -/* f0638fc: 8fa20060 */ lw $v0,0x60($sp) -/* f063900: 53000008 */ beqzl $t8,.L0f063924 -/* f063904: 8fb9004c */ lw $t9,0x4c($sp) -/* f063908: 02001025 */ or $v0,$s0,$zero -/* f06390c: 10000004 */ b .L0f063920 -/* f063910: afa0004c */ sw $zero,0x4c($sp) -.L0f063914: -/* f063914: 0fc18ad9 */ jal propExecuteTickOperation -/* f063918: afa20060 */ sw $v0,0x60($sp) -/* f06391c: 8fa20060 */ lw $v0,0x60($sp) -.L0f063920: -/* f063920: 8fb9004c */ lw $t9,0x4c($sp) -.L0f063924: -/* f063924: 00408025 */ or $s0,$v0,$zero -/* f063928: 5320fe5f */ beqzl $t9,.L0f0632a8 -/* f06392c: 8e0f0020 */ lw $t7,0x20($s0) -/* f063930: 8e2d0290 */ lw $t5,0x290($s1) -/* f063934: 8faa0034 */ lw $t2,0x34($sp) -/* f063938: 24140003 */ addiu $s4,$zero,0x3 -/* f06393c: 15a00104 */ bnez $t5,.L0f063d50 -/* f063940: 24150001 */ addiu $s5,$zero,0x1 -/* f063944: 922f035a */ lbu $t7,0x35a($s1) -/* f063948: afaa0034 */ sw $t2,0x34($sp) -/* f06394c: 24087fff */ addiu $t0,$zero,0x7fff -/* f063950: 55e00100 */ bnezl $t7,.L0f063d54 -/* f063954: 8fb9008c */ lw $t9,0x8c($sp) -/* f063958: 922c0358 */ lbu $t4,0x358($s1) -/* f06395c: 00004825 */ or $t1,$zero,$zero -/* f063960: 00002825 */ or $a1,$zero,$zero -/* f063964: 01805025 */ or $t2,$t4,$zero -/* f063968: 318b00ff */ andi $t3,$t4,0xff -/* f06396c: 19800015 */ blez $t4,.L0f0639c4 -/* f063970: 01803825 */ or $a3,$t4,$zero -/* f063974: 3c02800a */ lui $v0,%hi(g_Vars) -/* f063978: 24429fc0 */ addiu $v0,$v0,%lo(g_Vars) -.L0f06397c: -/* f06397c: 94430360 */ lhu $v1,0x360($v0) -/* f063980: 01202025 */ or $a0,$t1,$zero -/* f063984: 0068082a */ slt $at,$v1,$t0 -/* f063988: 10200003 */ beqz $at,.L0f063998 -/* f06398c: 00603025 */ or $a2,$v1,$zero -/* f063990: 3068ffff */ andi $t0,$v1,0xffff -/* f063994: 30aa00ff */ andi $t2,$a1,0xff -.L0f063998: -/* f063998: 0086082a */ slt $at,$a0,$a2 -/* f06399c: 50200004 */ beqzl $at,.L0f0639b0 -/* f0639a0: 24a50001 */ addiu $a1,$a1,0x1 -/* f0639a4: 3069ffff */ andi $t1,$v1,0xffff -/* f0639a8: 30ab00ff */ andi $t3,$a1,0xff -/* f0639ac: 24a50001 */ addiu $a1,$a1,0x1 -.L0f0639b0: -/* f0639b0: 00a7082a */ slt $at,$a1,$a3 -/* f0639b4: 1420fff1 */ bnez $at,.L0f06397c -/* f0639b8: 2442001c */ addiu $v0,$v0,0x1c -/* f0639bc: 24087fff */ addiu $t0,$zero,0x7fff -/* f0639c0: 00004825 */ or $t1,$zero,$zero -.L0f0639c4: -/* f0639c4: 2403001c */ addiu $v1,$zero,0x1c -/* f0639c8: 01630019 */ multu $t3,$v1 -/* f0639cc: 00007012 */ mflo $t6 -/* f0639d0: 022ec021 */ addu $t8,$s1,$t6 -/* f0639d4: 97190360 */ lhu $t9,0x360($t8) -/* f0639d8: 01430019 */ multu $t2,$v1 -/* f0639dc: 00006812 */ mflo $t5 -/* f0639e0: 022d7821 */ addu $t7,$s1,$t5 -/* f0639e4: 95ee0360 */ lhu $t6,0x360($t7) -/* f0639e8: 032e2823 */ subu $a1,$t9,$t6 -/* f0639ec: 0005c043 */ sra $t8,$a1,0x1 -/* f0639f0: 1300001d */ beqz $t8,.L0f063a68 -/* f0639f4: 03002825 */ or $a1,$t8,$zero -/* f0639f8: 8e30033c */ lw $s0,0x33c($s1) -/* f0639fc: 8e2d0354 */ lw $t5,0x354($s1) -/* f063a00: 01601025 */ or $v0,$t3,$zero -/* f063a04: 520d0019 */ beql $s0,$t5,.L0f063a6c -/* f063a08: 318a00ff */ andi $t2,$t4,0xff -/* f063a0c: 920f003d */ lbu $t7,0x3d($s0) -.L0f063a10: -/* f063a10: 544f0010 */ bnel $v0,$t7,.L0f063a54 -/* f063a14: 8e100020 */ lw $s0,0x20($s0) -/* f063a18: 8e19003c */ lw $t9,0x3c($s0) -/* f063a1c: 00197640 */ sll $t6,$t9,0x19 -/* f063a20: 000ec7c2 */ srl $t8,$t6,0x1f -/* f063a24: 56b8000b */ bnel $s5,$t8,.L0f063a54 -/* f063a28: 8e100020 */ lw $s0,0x20($s0) -/* f063a2c: 920d0000 */ lbu $t5,0x0($s0) -/* f063a30: 528d0008 */ beql $s4,$t5,.L0f063a54 -/* f063a34: 8e100020 */ lw $s0,0x20($s0) -/* f063a38: 24a5ffff */ addiu $a1,$a1,-1 -/* f063a3c: 14a00004 */ bnez $a1,.L0f063a50 -/* f063a40: a20a003d */ sb $t2,0x3d($s0) -/* f063a44: 922c0358 */ lbu $t4,0x358($s1) -/* f063a48: 10000007 */ b .L0f063a68 -/* f063a4c: 01803825 */ or $a3,$t4,$zero -.L0f063a50: -/* f063a50: 8e100020 */ lw $s0,0x20($s0) -.L0f063a54: -/* f063a54: 8e2f0354 */ lw $t7,0x354($s1) -/* f063a58: 560fffed */ bnel $s0,$t7,.L0f063a10 -/* f063a5c: 920f003d */ lbu $t7,0x3d($s0) -/* f063a60: 922c0358 */ lbu $t4,0x358($s1) -/* f063a64: 01803825 */ or $a3,$t4,$zero -.L0f063a68: -/* f063a68: 318a00ff */ andi $t2,$t4,0xff -.L0f063a6c: -/* f063a6c: 318b00ff */ andi $t3,$t4,0xff -/* f063a70: 18e00016 */ blez $a3,.L0f063acc -/* f063a74: 00002825 */ or $a1,$zero,$zero -/* f063a78: 3c02800a */ lui $v0,%hi(g_Vars) -/* f063a7c: 24429fc0 */ addiu $v0,$v0,%lo(g_Vars) -.L0f063a80: -/* f063a80: 94430364 */ lhu $v1,0x364($v0) -/* f063a84: 01202025 */ or $a0,$t1,$zero -/* f063a88: 0068082a */ slt $at,$v1,$t0 -/* f063a8c: 10200003 */ beqz $at,.L0f063a9c -/* f063a90: 00603025 */ or $a2,$v1,$zero -/* f063a94: 3068ffff */ andi $t0,$v1,0xffff -/* f063a98: 30aa00ff */ andi $t2,$a1,0xff -.L0f063a9c: -/* f063a9c: 0086082a */ slt $at,$a0,$a2 -/* f063aa0: 50200004 */ beqzl $at,.L0f063ab4 -/* f063aa4: 24a50001 */ addiu $a1,$a1,0x1 -/* f063aa8: 3069ffff */ andi $t1,$v1,0xffff -/* f063aac: 30ab00ff */ andi $t3,$a1,0xff -/* f063ab0: 24a50001 */ addiu $a1,$a1,0x1 -.L0f063ab4: -/* f063ab4: 00a7082a */ slt $at,$a1,$a3 -/* f063ab8: 1420fff1 */ bnez $at,.L0f063a80 -/* f063abc: 2442001c */ addiu $v0,$v0,0x1c -/* f063ac0: 24087fff */ addiu $t0,$zero,0x7fff -/* f063ac4: 00004825 */ or $t1,$zero,$zero -/* f063ac8: 2403001c */ addiu $v1,$zero,0x1c -.L0f063acc: -/* f063acc: 01630019 */ multu $t3,$v1 -/* f063ad0: 0000c812 */ mflo $t9 -/* f063ad4: 02397021 */ addu $t6,$s1,$t9 -/* f063ad8: 95d80364 */ lhu $t8,0x364($t6) -/* f063adc: 01430019 */ multu $t2,$v1 -/* f063ae0: 00006812 */ mflo $t5 -/* f063ae4: 022d7821 */ addu $t7,$s1,$t5 -/* f063ae8: 95f90364 */ lhu $t9,0x364($t7) -/* f063aec: 03192823 */ subu $a1,$t8,$t9 -/* f063af0: 00057043 */ sra $t6,$a1,0x1 -/* f063af4: 11c0001c */ beqz $t6,.L0f063b68 -/* f063af8: 01c02825 */ or $a1,$t6,$zero -/* f063afc: 8e30033c */ lw $s0,0x33c($s1) -/* f063b00: 8e2d0354 */ lw $t5,0x354($s1) -/* f063b04: 01601025 */ or $v0,$t3,$zero -/* f063b08: 520d0018 */ beql $s0,$t5,.L0f063b6c -/* f063b0c: 318a00ff */ andi $t2,$t4,0xff -/* f063b10: 920f003d */ lbu $t7,0x3d($s0) -.L0f063b14: -/* f063b14: 544f000f */ bnel $v0,$t7,.L0f063b54 -/* f063b18: 8e100020 */ lw $s0,0x20($s0) -/* f063b1c: 8e18003c */ lw $t8,0x3c($s0) -/* f063b20: 00187640 */ sll $t6,$t8,0x19 -/* f063b24: 05c2000b */ bltzl $t6,.L0f063b54 -/* f063b28: 8e100020 */ lw $s0,0x20($s0) -/* f063b2c: 920d0000 */ lbu $t5,0x0($s0) -/* f063b30: 528d0008 */ beql $s4,$t5,.L0f063b54 -/* f063b34: 8e100020 */ lw $s0,0x20($s0) -/* f063b38: 24a5ffff */ addiu $a1,$a1,-1 -/* f063b3c: 14a00004 */ bnez $a1,.L0f063b50 -/* f063b40: a20a003d */ sb $t2,0x3d($s0) -/* f063b44: 922c0358 */ lbu $t4,0x358($s1) -/* f063b48: 10000007 */ b .L0f063b68 -/* f063b4c: 01803825 */ or $a3,$t4,$zero -.L0f063b50: -/* f063b50: 8e100020 */ lw $s0,0x20($s0) -.L0f063b54: -/* f063b54: 8e2f0354 */ lw $t7,0x354($s1) -/* f063b58: 560fffee */ bnel $s0,$t7,.L0f063b14 -/* f063b5c: 920f003d */ lbu $t7,0x3d($s0) -/* f063b60: 922c0358 */ lbu $t4,0x358($s1) -/* f063b64: 01803825 */ or $a3,$t4,$zero -.L0f063b68: -/* f063b68: 318a00ff */ andi $t2,$t4,0xff -.L0f063b6c: -/* f063b6c: 318b00ff */ andi $t3,$t4,0xff -/* f063b70: 18e00016 */ blez $a3,.L0f063bcc -/* f063b74: 00002825 */ or $a1,$zero,$zero -/* f063b78: 3c02800a */ lui $v0,%hi(g_Vars) -/* f063b7c: 24429fc0 */ addiu $v0,$v0,%lo(g_Vars) -.L0f063b80: -/* f063b80: 94430362 */ lhu $v1,0x362($v0) -/* f063b84: 01202025 */ or $a0,$t1,$zero -/* f063b88: 0068082a */ slt $at,$v1,$t0 -/* f063b8c: 10200003 */ beqz $at,.L0f063b9c -/* f063b90: 00603025 */ or $a2,$v1,$zero -/* f063b94: 3068ffff */ andi $t0,$v1,0xffff -/* f063b98: 30aa00ff */ andi $t2,$a1,0xff -.L0f063b9c: -/* f063b9c: 0086082a */ slt $at,$a0,$a2 -/* f063ba0: 50200004 */ beqzl $at,.L0f063bb4 -/* f063ba4: 24a50001 */ addiu $a1,$a1,0x1 -/* f063ba8: 3069ffff */ andi $t1,$v1,0xffff -/* f063bac: 30ab00ff */ andi $t3,$a1,0xff -/* f063bb0: 24a50001 */ addiu $a1,$a1,0x1 -.L0f063bb4: -/* f063bb4: 00a7082a */ slt $at,$a1,$a3 -/* f063bb8: 1420fff1 */ bnez $at,.L0f063b80 -/* f063bbc: 2442001c */ addiu $v0,$v0,0x1c -/* f063bc0: 24087fff */ addiu $t0,$zero,0x7fff -/* f063bc4: 00004825 */ or $t1,$zero,$zero -/* f063bc8: 2403001c */ addiu $v1,$zero,0x1c -.L0f063bcc: -/* f063bcc: 01630019 */ multu $t3,$v1 -/* f063bd0: 0000c012 */ mflo $t8 -/* f063bd4: 0238c821 */ addu $t9,$s1,$t8 -/* f063bd8: 972e0362 */ lhu $t6,0x362($t9) -/* f063bdc: 01430019 */ multu $t2,$v1 -/* f063be0: 00006812 */ mflo $t5 -/* f063be4: 022d7821 */ addu $t7,$s1,$t5 -/* f063be8: 95f80362 */ lhu $t8,0x362($t7) -/* f063bec: 01d82823 */ subu $a1,$t6,$t8 -/* f063bf0: 0005c843 */ sra $t9,$a1,0x1 -/* f063bf4: 1320001d */ beqz $t9,.L0f063c6c -/* f063bf8: 03202825 */ or $a1,$t9,$zero -/* f063bfc: 8e30033c */ lw $s0,0x33c($s1) -/* f063c00: 8e2d0354 */ lw $t5,0x354($s1) -/* f063c04: 01601025 */ or $v0,$t3,$zero -/* f063c08: 520d0019 */ beql $s0,$t5,.L0f063c70 -/* f063c0c: 318a00ff */ andi $t2,$t4,0xff -/* f063c10: 920f003d */ lbu $t7,0x3d($s0) -.L0f063c14: -/* f063c14: 544f0010 */ bnel $v0,$t7,.L0f063c58 -/* f063c18: 8e100020 */ lw $s0,0x20($s0) -/* f063c1c: 8e0e003c */ lw $t6,0x3c($s0) -/* f063c20: 000ec640 */ sll $t8,$t6,0x19 -/* f063c24: 0018cfc2 */ srl $t9,$t8,0x1f -/* f063c28: 56b9000b */ bnel $s5,$t9,.L0f063c58 -/* f063c2c: 8e100020 */ lw $s0,0x20($s0) -/* f063c30: 920d0000 */ lbu $t5,0x0($s0) -/* f063c34: 568d0008 */ bnel $s4,$t5,.L0f063c58 -/* f063c38: 8e100020 */ lw $s0,0x20($s0) -/* f063c3c: 24a5ffff */ addiu $a1,$a1,-1 -/* f063c40: 14a00004 */ bnez $a1,.L0f063c54 -/* f063c44: a20a003d */ sb $t2,0x3d($s0) -/* f063c48: 922c0358 */ lbu $t4,0x358($s1) -/* f063c4c: 10000007 */ b .L0f063c6c -/* f063c50: 01803825 */ or $a3,$t4,$zero -.L0f063c54: -/* f063c54: 8e100020 */ lw $s0,0x20($s0) -.L0f063c58: -/* f063c58: 8e2f0354 */ lw $t7,0x354($s1) -/* f063c5c: 560fffed */ bnel $s0,$t7,.L0f063c14 -/* f063c60: 920f003d */ lbu $t7,0x3d($s0) -/* f063c64: 922c0358 */ lbu $t4,0x358($s1) -/* f063c68: 01803825 */ or $a3,$t4,$zero -.L0f063c6c: -/* f063c6c: 318a00ff */ andi $t2,$t4,0xff -.L0f063c70: -/* f063c70: 318b00ff */ andi $t3,$t4,0xff -/* f063c74: 18e00014 */ blez $a3,.L0f063cc8 -/* f063c78: 00002825 */ or $a1,$zero,$zero -/* f063c7c: 3c02800a */ lui $v0,%hi(g_Vars) -/* f063c80: 24429fc0 */ addiu $v0,$v0,%lo(g_Vars) -.L0f063c84: -/* f063c84: 94430366 */ lhu $v1,0x366($v0) -/* f063c88: 01202025 */ or $a0,$t1,$zero -/* f063c8c: 0068082a */ slt $at,$v1,$t0 -/* f063c90: 10200003 */ beqz $at,.L0f063ca0 -/* f063c94: 00603025 */ or $a2,$v1,$zero -/* f063c98: 3068ffff */ andi $t0,$v1,0xffff -/* f063c9c: 30aa00ff */ andi $t2,$a1,0xff -.L0f063ca0: -/* f063ca0: 0086082a */ slt $at,$a0,$a2 -/* f063ca4: 50200004 */ beqzl $at,.L0f063cb8 -/* f063ca8: 24a50001 */ addiu $a1,$a1,0x1 -/* f063cac: 3069ffff */ andi $t1,$v1,0xffff -/* f063cb0: 30ab00ff */ andi $t3,$a1,0xff -/* f063cb4: 24a50001 */ addiu $a1,$a1,0x1 -.L0f063cb8: -/* f063cb8: 00a7082a */ slt $at,$a1,$a3 -/* f063cbc: 1420fff1 */ bnez $at,.L0f063c84 -/* f063cc0: 2442001c */ addiu $v0,$v0,0x1c -/* f063cc4: 2403001c */ addiu $v1,$zero,0x1c -.L0f063cc8: -/* f063cc8: 01630019 */ multu $t3,$v1 -/* f063ccc: 00007012 */ mflo $t6 -/* f063cd0: 022ec021 */ addu $t8,$s1,$t6 -/* f063cd4: 97190366 */ lhu $t9,0x366($t8) -/* f063cd8: 01430019 */ multu $t2,$v1 -/* f063cdc: 00006812 */ mflo $t5 -/* f063ce0: 022d7821 */ addu $t7,$s1,$t5 -/* f063ce4: 95ee0366 */ lhu $t6,0x366($t7) -/* f063ce8: 032e2823 */ subu $a1,$t9,$t6 -/* f063cec: 0005c043 */ sra $t8,$a1,0x1 -/* f063cf0: 13000017 */ beqz $t8,.L0f063d50 -/* f063cf4: 03002825 */ or $a1,$t8,$zero -/* f063cf8: 8e30033c */ lw $s0,0x33c($s1) -/* f063cfc: 8e2d0354 */ lw $t5,0x354($s1) -/* f063d00: 01601025 */ or $v0,$t3,$zero -/* f063d04: 520d0013 */ beql $s0,$t5,.L0f063d54 -/* f063d08: 8fb9008c */ lw $t9,0x8c($sp) -/* f063d0c: 920f003d */ lbu $t7,0x3d($s0) -.L0f063d10: -/* f063d10: 544f000c */ bnel $v0,$t7,.L0f063d44 -/* f063d14: 8e100020 */ lw $s0,0x20($s0) -/* f063d18: 8e19003c */ lw $t9,0x3c($s0) -/* f063d1c: 0019c640 */ sll $t8,$t9,0x19 -/* f063d20: 07020008 */ bltzl $t8,.L0f063d44 -/* f063d24: 8e100020 */ lw $s0,0x20($s0) -/* f063d28: 920d0000 */ lbu $t5,0x0($s0) -/* f063d2c: 568d0005 */ bnel $s4,$t5,.L0f063d44 -/* f063d30: 8e100020 */ lw $s0,0x20($s0) -/* f063d34: 24a5ffff */ addiu $a1,$a1,-1 -/* f063d38: 10a00005 */ beqz $a1,.L0f063d50 -/* f063d3c: a20a003d */ sb $t2,0x3d($s0) -/* f063d40: 8e100020 */ lw $s0,0x20($s0) -.L0f063d44: -/* f063d44: 8e2f0354 */ lw $t7,0x354($s1) -/* f063d48: 560ffff1 */ bnel $s0,$t7,.L0f063d10 -/* f063d4c: 920f003d */ lbu $t7,0x3d($s0) -.L0f063d50: -/* f063d50: 8fb9008c */ lw $t9,0x8c($sp) -.L0f063d54: -/* f063d54: 8fae0088 */ lw $t6,0x88($sp) -/* f063d58: c7a80084 */ lwc1 $f8,0x84($sp) -/* f063d5c: c7aa0080 */ lwc1 $f10,0x80($sp) -/* f063d60: 8faa0034 */ lw $t2,0x34($sp) -/* f063d64: ae390034 */ sw $t9,0x34($s1) -/* f063d68: ae2e0038 */ sw $t6,0x38($s1) -/* f063d6c: e6280044 */ swc1 $f8,0x44($s1) -/* f063d70: e62a004c */ swc1 $f10,0x4c($s1) -/* f063d74: 8fad0098 */ lw $t5,0x98($sp) -/* f063d78: ad400370 */ sw $zero,0x370($t2) -/* f063d7c: 9638035c */ lhu $t8,0x35c($s1) -/* f063d80: 11a00007 */ beqz $t5,.L0f063da0 -/* f063d84: a5580378 */ sh $t8,0x378($t2) -/* f063d88: 0fc2436d */ jal alarmTick -/* f063d8c: 00000000 */ nop -/* f063d90: 0fc24d42 */ jal propsndTick -/* f063d94: 00000000 */ nop -/* f063d98: 0fc19815 */ jal propsDefragRoomProps -/* f063d9c: 00000000 */ nop -.L0f063da0: -/* f063da0: 0fc091cb */ jal chr0f02472c -/* f063da4: 00000000 */ nop -/* f063da8: 8fbf002c */ lw $ra,0x2c($sp) -/* f063dac: 8fb00014 */ lw $s0,0x14($sp) -/* f063db0: 8fb10018 */ lw $s1,0x18($sp) -/* f063db4: 8fb2001c */ lw $s2,0x1c($sp) -/* f063db8: 8fb30020 */ lw $s3,0x20($sp) -/* f063dbc: 8fb40024 */ lw $s4,0x24($sp) -/* f063dc0: 8fb50028 */ lw $s5,0x28($sp) -/* f063dc4: 03e00008 */ jr $ra -/* f063dc8: 27bd0098 */ addiu $sp,$sp,0x98 -); -#else -GLOBAL_ASM( -glabel propsTickPlayer -/* f0622b0: 27bdff68 */ addiu $sp,$sp,-152 -/* f0622b4: afb10018 */ sw $s1,0x18($sp) -/* f0622b8: 3c11800a */ lui $s1,0x800a -/* f0622bc: 2631e6c0 */ addiu $s1,$s1,-6464 -/* f0622c0: afbf002c */ sw $ra,0x2c($sp) -/* f0622c4: afb50028 */ sw $s5,0x28($sp) -/* f0622c8: afb40024 */ sw $s4,0x24($sp) -/* f0622cc: afb30020 */ sw $s3,0x20($sp) -/* f0622d0: afb2001c */ sw $s2,0x1c($sp) -/* f0622d4: afb00014 */ sw $s0,0x14($sp) -/* f0622d8: afa40098 */ sw $a0,0x98($sp) -/* f0622dc: 10800009 */ beqz $a0,.NB0f062304 -/* f0622e0: ae20043c */ sw $zero,0x43c($s1) -/* f0622e4: 9622035c */ lhu $v0,0x35c($s1) -/* f0622e8: 2401ffff */ addiu $at,$zero,-1 -/* f0622ec: 244f0001 */ addiu $t7,$v0,0x1 -/* f0622f0: 31f8ffff */ andi $t8,$t7,0xffff -/* f0622f4: a62f035c */ sh $t7,0x35c($s1) -/* f0622f8: 17010002 */ bne $t8,$at,.NB0f062304 -/* f0622fc: a622035e */ sh $v0,0x35e($s1) -/* f062300: a620035c */ sh $zero,0x35c($s1) -.NB0f062304: -/* f062304: 92270358 */ lbu $a3,0x358($s1) -/* f062308: 8e390034 */ lw $t9,0x34($s1) -/* f06230c: 8e2d0038 */ lw $t5,0x38($s1) -/* f062310: c6240044 */ lwc1 $f4,0x44($s1) -/* f062314: c626004c */ lwc1 $f6,0x4c($s1) -/* f062318: 00002825 */ or $a1,$zero,$zero -/* f06231c: afb9008c */ sw $t9,0x8c($sp) -/* f062320: afad0088 */ sw $t5,0x88($sp) -/* f062324: e7a40084 */ swc1 $f4,0x84($sp) -/* f062328: 18e0000e */ blez $a3,.NB0f062364 -/* f06232c: e7a60080 */ swc1 $f6,0x80($sp) -/* f062330: 3c02800a */ lui $v0,0x800a -/* f062334: 2442e6c0 */ addiu $v0,$v0,-6464 -/* f062338: 8c4e0370 */ lw $t6,0x370($v0) -.NB0f06233c: -/* f06233c: 8e2f0034 */ lw $t7,0x34($s1) -/* f062340: 24a50001 */ addiu $a1,$a1,0x1 -/* f062344: 2442001c */ addiu $v0,$v0,0x1c -/* f062348: 01cfc021 */ addu $t8,$t6,$t7 -/* f06234c: ac580354 */ sw $t8,0x354($v0) -/* f062350: 92270358 */ lbu $a3,0x358($s1) -/* f062354: 00a7082a */ slt $at,$a1,$a3 -/* f062358: 5420fff8 */ bnezl $at,.NB0f06233c -/* f06235c: 8c4e0370 */ lw $t6,0x370($v0) -/* f062360: 00002825 */ or $a1,$zero,$zero -.NB0f062364: -/* f062364: 9239035a */ lbu $t9,0x35a($s1) -/* f062368: 24150001 */ addiu $s5,$zero,0x1 -/* f06236c: 24140003 */ addiu $s4,$zero,0x3 -/* f062370: 272d0001 */ addiu $t5,$t9,0x1 -/* f062374: 31a300ff */ andi $v1,$t5,0xff -/* f062378: 0067082a */ slt $at,$v1,$a3 -/* f06237c: 14200003 */ bnez $at,.NB0f06238c -/* f062380: a22d035a */ sb $t5,0x35a($s1) -/* f062384: a220035a */ sb $zero,0x35a($s1) -/* f062388: 300300ff */ andi $v1,$zero,0xff -.NB0f06238c: -/* f06238c: 306900ff */ andi $t1,$v1,0xff -/* f062390: 000970c0 */ sll $t6,$t1,0x3 -/* f062394: 01c97023 */ subu $t6,$t6,$t1 -/* f062398: 000e7080 */ sll $t6,$t6,0x2 -/* f06239c: 022e5021 */ addu $t2,$s1,$t6 -/* f0623a0: 8d420370 */ lw $v0,0x370($t2) -/* f0623a4: 3c013e80 */ lui $at,0x3e80 -/* f0623a8: 8d4f0374 */ lw $t7,0x374($t2) -/* f0623ac: 44824000 */ mtc1 $v0,$f8 -/* f0623b0: 44818000 */ mtc1 $at,$f16 -/* f0623b4: 01e24021 */ addu $t0,$t7,$v0 -/* f0623b8: 468042a0 */ cvt.s.w $f10,$f8 -/* f0623bc: 31180003 */ andi $t8,$t0,0x3 -/* f0623c0: ad580374 */ sw $t8,0x374($t2) -/* f0623c4: 922d0358 */ lbu $t5,0x358($s1) -/* f0623c8: 24480002 */ addiu $t0,$v0,0x2 -/* f0623cc: 0008c883 */ sra $t9,$t0,0x2 -/* f0623d0: 46105482 */ mul.s $f18,$f10,$f16 -/* f0623d4: afa2007c */ sw $v0,0x7c($sp) -/* f0623d8: 03204025 */ or $t0,$t9,$zero -/* f0623dc: 3c02800a */ lui $v0,0x800a -/* f0623e0: 2413008c */ addiu $s3,$zero,0x8c -/* f0623e4: 2412ffff */ addiu $s2,$zero,-1 -/* f0623e8: 19a0000c */ blez $t5,.NB0f06241c -/* f0623ec: e7b20074 */ swc1 $f18,0x74($sp) -/* f0623f0: 2442e6c0 */ addiu $v0,$v0,-6464 -/* f0623f4: a4400360 */ sh $zero,0x360($v0) -.NB0f0623f8: -/* f0623f8: a4400362 */ sh $zero,0x362($v0) -/* f0623fc: a4400364 */ sh $zero,0x364($v0) -/* f062400: a4400366 */ sh $zero,0x366($v0) -/* f062404: 922e0358 */ lbu $t6,0x358($s1) -/* f062408: 24a50001 */ addiu $a1,$a1,0x1 -/* f06240c: 2442001c */ addiu $v0,$v0,0x1c -/* f062410: 00ae082a */ slt $at,$a1,$t6 -/* f062414: 5420fff8 */ bnezl $at,.NB0f0623f8 -/* f062418: a4400360 */ sh $zero,0x360($v0) -.NB0f06241c: -/* f06241c: 8e2f0290 */ lw $t7,0x290($s1) -/* f062420: 55e00024 */ bnezl $t7,.NB0f0624b4 -/* f062424: 8e380334 */ lw $t8,0x334($s1) -/* f062428: 8e380334 */ lw $t8,0x334($s1) -/* f06242c: 8e300338 */ lw $s0,0x338($s1) -/* f062430: 2407ff7f */ addiu $a3,$zero,-129 -/* f062434: 0018c8c0 */ sll $t9,$t8,0x3 -/* f062438: 0338c821 */ addu $t9,$t9,$t8 -/* f06243c: 0019c8c0 */ sll $t9,$t9,0x3 -/* f062440: 03302821 */ addu $a1,$t9,$s0 -/* f062444: 0205082b */ sltu $at,$s0,$a1 -/* f062448: 1020002e */ beqz $at,.NB0f062504 -/* f06244c: 2406ffbf */ addiu $a2,$zero,-65 -/* f062450: 2404fffd */ addiu $a0,$zero,-3 -.NB0f062454: -/* f062454: 92020001 */ lbu $v0,0x1($s0) -/* f062458: 304d0002 */ andi $t5,$v0,0x2 -/* f06245c: 11a00003 */ beqz $t5,.NB0f06246c -/* f062460: 00401825 */ or $v1,$v0,$zero -/* f062464: 00441024 */ and $v0,$v0,$a0 -/* f062468: 304300ff */ andi $v1,$v0,0xff -.NB0f06246c: -/* f06246c: 306f0040 */ andi $t7,$v1,0x40 -/* f062470: 11e00005 */ beqz $t7,.NB0f062488 -/* f062474: 306d0080 */ andi $t5,$v1,0x80 -/* f062478: 34780080 */ ori $t8,$v1,0x80 -/* f06247c: 03061024 */ and $v0,$t8,$a2 -/* f062480: 10000004 */ beqz $zero,.NB0f062494 -/* f062484: 304300ff */ andi $v1,$v0,0xff -.NB0f062488: -/* f062488: 11a00002 */ beqz $t5,.NB0f062494 -/* f06248c: 00671024 */ and $v0,$v1,$a3 -/* f062490: 304300ff */ andi $v1,$v0,0xff -.NB0f062494: -/* f062494: 26100048 */ addiu $s0,$s0,0x48 -/* f062498: 0205082b */ sltu $at,$s0,$a1 -/* f06249c: 346f0008 */ ori $t7,$v1,0x8 -/* f0624a0: 1420ffec */ bnez $at,.NB0f062454 -/* f0624a4: a20fffb9 */ sb $t7,-0x47($s0) -/* f0624a8: 10000017 */ beqz $zero,.NB0f062508 -/* f0624ac: afaa0034 */ sw $t2,0x34($sp) -/* f0624b0: 8e380334 */ lw $t8,0x334($s1) -.NB0f0624b4: -/* f0624b4: 8e300338 */ lw $s0,0x338($s1) -/* f0624b8: 2404fffd */ addiu $a0,$zero,-3 -/* f0624bc: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0624c0: 0338c821 */ addu $t9,$t9,$t8 -/* f0624c4: 0019c8c0 */ sll $t9,$t9,0x3 -/* f0624c8: 03302821 */ addu $a1,$t9,$s0 -/* f0624cc: 0205082b */ sltu $at,$s0,$a1 -/* f0624d0: 5020000d */ beqzl $at,.NB0f062508 -/* f0624d4: afaa0034 */ sw $t2,0x34($sp) -.NB0f0624d8: -/* f0624d8: 92020001 */ lbu $v0,0x1($s0) -/* f0624dc: 304d0002 */ andi $t5,$v0,0x2 -/* f0624e0: 11a00004 */ beqz $t5,.NB0f0624f4 -/* f0624e4: 00401825 */ or $v1,$v0,$zero -/* f0624e8: 00641024 */ and $v0,$v1,$a0 -/* f0624ec: 304e00ff */ andi $t6,$v0,0xff -/* f0624f0: 01c01025 */ or $v0,$t6,$zero -.NB0f0624f4: -/* f0624f4: 26100048 */ addiu $s0,$s0,0x48 -/* f0624f8: 0205082b */ sltu $at,$s0,$a1 -/* f0624fc: 1420fff6 */ bnez $at,.NB0f0624d8 -/* f062500: a202ffb9 */ sb $v0,-0x47($s0) -.NB0f062504: -/* f062504: afaa0034 */ sw $t2,0x34($sp) -.NB0f062508: -/* f062508: afaa0034 */ sw $t2,0x34($sp) -/* f06250c: 8e30033c */ lw $s0,0x33c($s1) -/* f062510: afa80078 */ sw $t0,0x78($sp) -/* f062514: a3a90069 */ sb $t1,0x69($sp) -/* f062518: 8e0f0020 */ lw $t7,0x20($s0) -.NB0f06251c: -/* f06251c: 8e390354 */ lw $t9,0x354($s1) -/* f062520: 8e2e02ac */ lw $t6,0x2ac($s1) -/* f062524: 00003025 */ or $a2,$zero,$zero -/* f062528: 01f96826 */ xor $t5,$t7,$t9 -/* f06252c: 2dad0001 */ sltiu $t5,$t5,0x1 -/* f062530: afad004c */ sw $t5,0x4c($sp) -/* f062534: 12ae0003 */ beq $s5,$t6,.NB0f062544 -/* f062538: afaf005c */ sw $t7,0x5c($sp) -/* f06253c: 10000002 */ beqz $zero,.NB0f062548 -/* f062540: 02a02825 */ or $a1,$s5,$zero -.NB0f062544: -/* f062544: 9225035b */ lbu $a1,0x35b($s1) -.NB0f062548: -/* f062548: 86080028 */ lh $t0,0x28($s0) -/* f06254c: 26070028 */ addiu $a3,$s0,0x28 -/* f062550: 00e01825 */ or $v1,$a3,$zero -/* f062554: 1248000f */ beq $s2,$t0,.NB0f062594 -/* f062558: 3c04800b */ lui $a0,0x800b -/* f06255c: 8c8490a8 */ lw $a0,-0x6f58($a0) -/* f062560: 84620000 */ lh $v0,0x0($v1) -.NB0f062564: -/* f062564: 00530019 */ multu $v0,$s3 -/* f062568: 00007812 */ mflo $t7 -/* f06256c: 008fc021 */ addu $t8,$a0,$t7 -/* f062570: 97190000 */ lhu $t9,0x0($t8) -/* f062574: 332d0004 */ andi $t5,$t9,0x4 -/* f062578: 51a00003 */ beqzl $t5,.NB0f062588 -/* f06257c: 84620002 */ lh $v0,0x2($v1) -/* f062580: 24a50001 */ addiu $a1,$a1,0x1 -/* f062584: 84620002 */ lh $v0,0x2($v1) -.NB0f062588: -/* f062588: 24630002 */ addiu $v1,$v1,0x2 -/* f06258c: 1642fff5 */ bne $s2,$v0,.NB0f062564 -/* f062590: 00000000 */ sll $zero,$zero,0x0 -.NB0f062594: -/* f062594: 54a0003c */ bnezl $a1,.NB0f062688 -/* f062598: 960d003a */ lhu $t5,0x3a($s0) -/* f06259c: 92030000 */ lbu $v1,0x0($s0) -/* f0625a0: 24010006 */ addiu $at,$zero,0x6 -/* f0625a4: 14610003 */ bne $v1,$at,.NB0f0625b4 -/* f0625a8: 00000000 */ sll $zero,$zero,0x0 -/* f0625ac: 1000000b */ beqz $zero,.NB0f0625dc -/* f0625b0: 24a50001 */ addiu $a1,$a1,0x1 -.NB0f0625b4: -/* f0625b4: 12a30003 */ beq $s5,$v1,.NB0f0625c4 -/* f0625b8: 24010004 */ addiu $at,$zero,0x4 -/* f0625bc: 14610007 */ bne $v1,$at,.NB0f0625dc -/* f0625c0: 00000000 */ sll $zero,$zero,0x0 -.NB0f0625c4: -/* f0625c4: 8e020004 */ lw $v0,0x4($s0) -/* f0625c8: 8c4e0040 */ lw $t6,0x40($v0) -/* f0625cc: 31cf0080 */ andi $t7,$t6,0x80 -/* f0625d0: 11e00002 */ beqz $t7,.NB0f0625dc -/* f0625d4: 00000000 */ sll $zero,$zero,0x0 -/* f0625d8: 24a50001 */ addiu $a1,$a1,0x1 -.NB0f0625dc: -/* f0625dc: 54a0002a */ bnezl $a1,.NB0f062688 -/* f0625e0: 960d003a */ lhu $t5,0x3a($s0) -/* f0625e4: 92180001 */ lbu $t8,0x1($s0) -/* f0625e8: 24010084 */ addiu $at,$zero,0x84 -/* f0625ec: 33190084 */ andi $t9,$t8,0x84 -/* f0625f0: 57210004 */ bnel $t9,$at,.NB0f062604 -/* f0625f4: 9202003f */ lbu $v0,0x3f($s0) -/* f0625f8: 10000022 */ beqz $zero,.NB0f062684 -/* f0625fc: 24a50001 */ addiu $a1,$a1,0x1 -/* f062600: 9202003f */ lbu $v0,0x3f($s0) -.NB0f062604: -/* f062604: 000269c2 */ srl $t5,$v0,0x7 -/* f062608: 11a00004 */ beqz $t5,.NB0f06261c -/* f06260c: 304eff7f */ andi $t6,$v0,0xff7f -/* f062610: 24a50001 */ addiu $a1,$a1,0x1 -/* f062614: 1000001b */ beqz $zero,.NB0f062684 -/* f062618: a20e003f */ sb $t6,0x3f($s0) -.NB0f06261c: -/* f06261c: 8e0f003c */ lw $t7,0x3c($s0) -/* f062620: 000fce80 */ sll $t9,$t7,0x1a -/* f062624: 07210003 */ bgez $t9,.NB0f062634 -/* f062628: 00000000 */ sll $zero,$zero,0x0 -/* f06262c: 10000015 */ beqz $zero,.NB0f062684 -/* f062630: 24a50001 */ addiu $a1,$a1,0x1 -.NB0f062634: -/* f062634: 1248000f */ beq $s2,$t0,.NB0f062674 -/* f062638: 00e01825 */ or $v1,$a3,$zero -/* f06263c: 3c04800b */ lui $a0,0x800b -/* f062640: 8c8490a8 */ lw $a0,-0x6f58($a0) -/* f062644: 84e20000 */ lh $v0,0x0($a3) -.NB0f062648: -/* f062648: 00530019 */ multu $v0,$s3 -/* f06264c: 00006812 */ mflo $t5 -/* f062650: 008d7021 */ addu $t6,$a0,$t5 -/* f062654: 95cf0000 */ lhu $t7,0x0($t6) -/* f062658: 31f80008 */ andi $t8,$t7,0x8 -/* f06265c: 57000006 */ bnezl $t8,.NB0f062678 -/* f062660: 84790000 */ lh $t9,0x0($v1) -/* f062664: 84620002 */ lh $v0,0x2($v1) -/* f062668: 24630002 */ addiu $v1,$v1,0x2 -/* f06266c: 1642fff6 */ bne $s2,$v0,.NB0f062648 -/* f062670: 00000000 */ sll $zero,$zero,0x0 -.NB0f062674: -/* f062674: 84790000 */ lh $t9,0x0($v1) -.NB0f062678: -/* f062678: 52590003 */ beql $s2,$t9,.NB0f062688 -/* f06267c: 960d003a */ lhu $t5,0x3a($s0) -/* f062680: 24a50001 */ addiu $a1,$a1,0x1 -.NB0f062684: -/* f062684: 960d003a */ lhu $t5,0x3a($s0) -.NB0f062688: -/* f062688: 8e2e0034 */ lw $t6,0x34($s1) -/* f06268c: 01ae7821 */ addu $t7,$t5,$t6 -/* f062690: 18a0007d */ blez $a1,.NB0f062888 -/* f062694: a60f003a */ sh $t7,0x3a($s0) -/* f062698: 9638035e */ lhu $t8,0x35e($s1) -/* f06269c: 96190038 */ lhu $t9,0x38($s0) -/* f0626a0: 31edffff */ andi $t5,$t7,0xffff -/* f0626a4: 53190016 */ beql $t8,$t9,.NB0f062700 -/* f0626a8: 8fb9008c */ lw $t9,0x8c($sp) -/* f0626ac: ae2d0034 */ sw $t5,0x34($s1) -/* f0626b0: 920f003c */ lbu $t7,0x3c($s0) -/* f0626b4: 960e003a */ lhu $t6,0x3a($s0) -/* f0626b8: 3c013e80 */ lui $at,0x3e80 -/* f0626bc: 44814000 */ mtc1 $at,$f8 -/* f0626c0: 01cfc021 */ addu $t8,$t6,$t7 -/* f0626c4: ae380038 */ sw $t8,0x38($s1) -/* f0626c8: 330d0003 */ andi $t5,$t8,0x3 -/* f0626cc: a20d003c */ sb $t5,0x3c($s0) -/* f0626d0: 8e380034 */ lw $t8,0x34($s1) -/* f0626d4: 8e2e0038 */ lw $t6,0x38($s1) -/* f0626d8: 44982000 */ mtc1 $t8,$f4 -/* f0626dc: 000e7883 */ sra $t7,$t6,0x2 -/* f0626e0: ae2f0038 */ sw $t7,0x38($s1) -/* f0626e4: 468021a0 */ cvt.s.w $f6,$f4 -/* f0626e8: 46083282 */ mul.s $f10,$f6,$f8 -/* f0626ec: e62a0044 */ swc1 $f10,0x44($s1) -/* f0626f0: c6300044 */ lwc1 $f16,0x44($s1) -/* f0626f4: 10000009 */ beqz $zero,.NB0f06271c -/* f0626f8: e630004c */ swc1 $f16,0x4c($s1) -/* f0626fc: 8fb9008c */ lw $t9,0x8c($sp) -.NB0f062700: -/* f062700: 8fad0088 */ lw $t5,0x88($sp) -/* f062704: c7b20084 */ lwc1 $f18,0x84($sp) -/* f062708: c7a40080 */ lwc1 $f4,0x80($sp) -/* f06270c: ae390034 */ sw $t9,0x34($s1) -/* f062710: ae2d0038 */ sw $t5,0x38($s1) -/* f062714: e6320044 */ swc1 $f18,0x44($s1) -/* f062718: e624004c */ swc1 $f4,0x4c($s1) -.NB0f06271c: -/* f06271c: 920e0000 */ lbu $t6,0x0($s0) -/* f062720: a200003e */ sb $zero,0x3e($s0) -/* f062724: 568e001c */ bnel $s4,$t6,.NB0f062798 -/* f062728: 920f003d */ lbu $t7,0x3d($s0) -/* f06272c: 8e020004 */ lw $v0,0x4($s0) -/* f062730: 02002025 */ or $a0,$s0,$zero -/* f062734: 0fc50cd4 */ jal splatTickChr -/* f062738: afa20048 */ sw $v0,0x48($sp) -/* f06273c: 8fa20048 */ lw $v0,0x48($sp) -/* f062740: 10400008 */ beqz $v0,.NB0f062764 -/* f062744: 00000000 */ sll $zero,$zero,0x0 -/* f062748: 8c4f02d4 */ lw $t7,0x2d4($v0) -/* f06274c: 11e00005 */ beqz $t7,.NB0f062764 -/* f062750: 00000000 */ sll $zero,$zero,0x0 -/* f062754: 0fc62e6d */ jal botTick -/* f062758: 02002025 */ or $a0,$s0,$zero -/* f06275c: 10000004 */ beqz $zero,.NB0f062770 -/* f062760: 00403025 */ or $a2,$v0,$zero -.NB0f062764: -/* f062764: 0fc08ae1 */ jal chrTick -/* f062768: 02002025 */ or $a0,$s0,$zero -/* f06276c: 00403025 */ or $a2,$v0,$zero -.NB0f062770: -/* f062770: 9218003d */ lbu $t8,0x3d($s0) -/* f062774: 0018c8c0 */ sll $t9,$t8,0x3 -/* f062778: 0338c823 */ subu $t9,$t9,$t8 -/* f06277c: 0019c880 */ sll $t9,$t9,0x2 -/* f062780: 02391021 */ addu $v0,$s1,$t9 -/* f062784: 944d0366 */ lhu $t5,0x366($v0) -/* f062788: 25ae0001 */ addiu $t6,$t5,0x1 -/* f06278c: 1000002b */ beqz $zero,.NB0f06283c -/* f062790: a44e0366 */ sh $t6,0x366($v0) -/* f062794: 920f003d */ lbu $t7,0x3d($s0) -.NB0f062798: -/* f062798: 24010004 */ addiu $at,$zero,0x4 -/* f06279c: 000fc0c0 */ sll $t8,$t7,0x3 -/* f0627a0: 030fc023 */ subu $t8,$t8,$t7 -/* f0627a4: 0018c080 */ sll $t8,$t8,0x2 -/* f0627a8: 02381021 */ addu $v0,$s1,$t8 -/* f0627ac: 94590364 */ lhu $t9,0x364($v0) -/* f0627b0: 272d0001 */ addiu $t5,$t9,0x1 -/* f0627b4: a44d0364 */ sh $t5,0x364($v0) -/* f0627b8: 92030000 */ lbu $v1,0x0($s0) -/* f0627bc: 12a30005 */ beq $s5,$v1,.NB0f0627d4 -/* f0627c0: 00000000 */ sll $zero,$zero,0x0 -/* f0627c4: 10610003 */ beq $v1,$at,.NB0f0627d4 -/* f0627c8: 24010002 */ addiu $at,$zero,0x2 -/* f0627cc: 54610006 */ bnel $v1,$at,.NB0f0627e8 -/* f0627d0: 24010007 */ addiu $at,$zero,0x7 -.NB0f0627d4: -/* f0627d4: 0fc1f474 */ jal objTickPlayer -/* f0627d8: 02002025 */ or $a0,$s0,$zero -/* f0627dc: 10000017 */ beqz $zero,.NB0f06283c -/* f0627e0: 00403025 */ or $a2,$v0,$zero -/* f0627e4: 24010007 */ addiu $at,$zero,0x7 -.NB0f0627e8: -/* f0627e8: 54610006 */ bnel $v1,$at,.NB0f062804 -/* f0627ec: 24010008 */ addiu $at,$zero,0x8 -/* f0627f0: 0fc49c4e */ jal explosionTickPlayer -/* f0627f4: 02002025 */ or $a0,$s0,$zero -/* f0627f8: 10000010 */ beqz $zero,.NB0f06283c -/* f0627fc: 00403025 */ or $a2,$v0,$zero -/* f062800: 24010008 */ addiu $at,$zero,0x8 -.NB0f062804: -/* f062804: 54610006 */ bnel $v1,$at,.NB0f062820 -/* f062808: 24010006 */ addiu $at,$zero,0x6 -/* f06280c: 0fc4a745 */ jal smokeTickPlayer -/* f062810: 02002025 */ or $a0,$s0,$zero -/* f062814: 10000009 */ beqz $zero,.NB0f06283c -/* f062818: 00403025 */ or $a2,$v0,$zero -/* f06281c: 24010006 */ addiu $at,$zero,0x6 -.NB0f062820: -/* f062820: 54610007 */ bnel $v1,$at,.NB0f062840 -/* f062824: 962e035e */ lhu $t6,0x35e($s1) -/* f062828: 0fc50cd4 */ jal splatTickChr -/* f06282c: 02002025 */ or $a0,$s0,$zero -/* f062830: 0fc2ffcb */ jal playerTickThirdPerson -/* f062834: 02002025 */ or $a0,$s0,$zero -/* f062838: 00403025 */ or $a2,$v0,$zero -.NB0f06283c: -/* f06283c: 962e035e */ lhu $t6,0x35e($s1) -.NB0f062840: -/* f062840: 960f0038 */ lhu $t7,0x38($s0) -/* f062844: 8fb8008c */ lw $t8,0x8c($sp) -/* f062848: 51cf0009 */ beql $t6,$t7,.NB0f062870 -/* f06284c: 920e003f */ lbu $t6,0x3f($s0) -/* f062850: 8fb90088 */ lw $t9,0x88($sp) -/* f062854: c7a60084 */ lwc1 $f6,0x84($sp) -/* f062858: c7a80080 */ lwc1 $f8,0x80($sp) -/* f06285c: ae380034 */ sw $t8,0x34($s1) -/* f062860: ae390038 */ sw $t9,0x38($s1) -/* f062864: e6260044 */ swc1 $f6,0x44($s1) -/* f062868: e628004c */ swc1 $f8,0x4c($s1) -/* f06286c: 920e003f */ lbu $t6,0x3f($s0) -.NB0f062870: -/* f062870: 962d035c */ lhu $t5,0x35c($s1) -/* f062874: a600003a */ sh $zero,0x3a($s0) -/* f062878: 31cfffbf */ andi $t7,$t6,0xffbf -/* f06287c: a20f003f */ sb $t7,0x3f($s0) -/* f062880: 1000009c */ beqz $zero,.NB0f062af4 -/* f062884: a60d0038 */ sh $t5,0x38($s0) -.NB0f062888: -/* f062888: 92180000 */ lbu $t8,0x0($s0) -/* f06288c: 93a30069 */ lbu $v1,0x69($sp) -/* f062890: 5698000b */ bnel $s4,$t8,.NB0f0628c0 -/* f062894: 9218003d */ lbu $t8,0x3d($s0) -/* f062898: 9219003d */ lbu $t9,0x3d($s0) -/* f06289c: 001968c0 */ sll $t5,$t9,0x3 -/* f0628a0: 01b96823 */ subu $t5,$t5,$t9 -/* f0628a4: 000d6880 */ sll $t5,$t5,0x2 -/* f0628a8: 022d1021 */ addu $v0,$s1,$t5 -/* f0628ac: 944e0362 */ lhu $t6,0x362($v0) -/* f0628b0: 25cf0001 */ addiu $t7,$t6,0x1 -/* f0628b4: 10000009 */ beqz $zero,.NB0f0628dc -/* f0628b8: a44f0362 */ sh $t7,0x362($v0) -/* f0628bc: 9218003d */ lbu $t8,0x3d($s0) -.NB0f0628c0: -/* f0628c0: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0628c4: 0338c823 */ subu $t9,$t9,$t8 -/* f0628c8: 0019c880 */ sll $t9,$t9,0x2 -/* f0628cc: 02391021 */ addu $v0,$s1,$t9 -/* f0628d0: 944d0360 */ lhu $t5,0x360($v0) -/* f0628d4: 25ae0001 */ addiu $t6,$t5,0x1 -/* f0628d8: a44e0360 */ sh $t6,0x360($v0) -.NB0f0628dc: -/* f0628dc: 920f003d */ lbu $t7,0x3d($s0) -/* f0628e0: 8fb90034 */ lw $t9,0x34($sp) -/* f0628e4: 546f0084 */ bnel $v1,$t7,.NB0f062af8 -/* f0628e8: 8fad008c */ lw $t5,0x8c($sp) -/* f0628ec: 96180038 */ lhu $t8,0x38($s0) -/* f0628f0: 972d0378 */ lhu $t5,0x378($t9) -/* f0628f4: 3c01800a */ lui $at,0x800a -/* f0628f8: 530d0017 */ beql $t8,$t5,.NB0f062958 -/* f0628fc: 8fad007c */ lw $t5,0x7c($sp) -/* f062900: 960e003a */ lhu $t6,0x3a($s0) -/* f062904: 3c013e80 */ lui $at,0x3e80 -/* f062908: 44819000 */ mtc1 $at,$f18 -/* f06290c: ae2e0034 */ sw $t6,0x34($s1) -/* f062910: 9219003c */ lbu $t9,0x3c($s0) -/* f062914: 960f003a */ lhu $t7,0x3a($s0) -/* f062918: 01f9c021 */ addu $t8,$t7,$t9 -/* f06291c: ae380038 */ sw $t8,0x38($s1) -/* f062920: 330e0003 */ andi $t6,$t8,0x3 -/* f062924: a20e003c */ sb $t6,0x3c($s0) -/* f062928: 8e380034 */ lw $t8,0x34($s1) -/* f06292c: 8e2f0038 */ lw $t7,0x38($s1) -/* f062930: 44985000 */ mtc1 $t8,$f10 -/* f062934: 000fc883 */ sra $t9,$t7,0x2 -/* f062938: ae390038 */ sw $t9,0x38($s1) -/* f06293c: 46805420 */ cvt.s.w $f16,$f10 -/* f062940: 46128102 */ mul.s $f4,$f16,$f18 -/* f062944: e6240044 */ swc1 $f4,0x44($s1) -/* f062948: c6260044 */ lwc1 $f6,0x44($s1) -/* f06294c: 10000009 */ beqz $zero,.NB0f062974 -/* f062950: e626004c */ swc1 $f6,0x4c($s1) -/* f062954: 8fad007c */ lw $t5,0x7c($sp) -.NB0f062958: -/* f062958: 8fae0078 */ lw $t6,0x78($sp) -/* f06295c: c7a80074 */ lwc1 $f8,0x74($sp) -/* f062960: c7aa0074 */ lwc1 $f10,0x74($sp) -/* f062964: ae2d0034 */ sw $t5,0x34($s1) -/* f062968: ae2e0038 */ sw $t6,0x38($s1) -/* f06296c: e6280044 */ swc1 $f8,0x44($s1) -/* f062970: e42ae70c */ swc1 $f10,-0x18f4($at) -.NB0f062974: -/* f062974: 92030000 */ lbu $v1,0x0($s0) -/* f062978: 16830013 */ bne $s4,$v1,.NB0f0629c8 -/* f06297c: 00000000 */ sll $zero,$zero,0x0 -/* f062980: 8e020004 */ lw $v0,0x4($s0) -/* f062984: 02002025 */ or $a0,$s0,$zero -/* f062988: 0fc50cd4 */ jal splatTickChr -/* f06298c: afa20044 */ sw $v0,0x44($sp) -/* f062990: 8fa20044 */ lw $v0,0x44($sp) -/* f062994: 10400008 */ beqz $v0,.NB0f0629b8 -/* f062998: 00000000 */ sll $zero,$zero,0x0 -/* f06299c: 8c4f02d4 */ lw $t7,0x2d4($v0) -/* f0629a0: 11e00005 */ beqz $t7,.NB0f0629b8 -/* f0629a4: 00000000 */ sll $zero,$zero,0x0 -/* f0629a8: 0fc62e6d */ jal botTick -/* f0629ac: 02002025 */ or $a0,$s0,$zero -/* f0629b0: 1000003c */ beqz $zero,.NB0f062aa4 -/* f0629b4: 00403025 */ or $a2,$v0,$zero -.NB0f0629b8: -/* f0629b8: 0fc08ae1 */ jal chrTick -/* f0629bc: 02002025 */ or $a0,$s0,$zero -/* f0629c0: 10000038 */ beqz $zero,.NB0f062aa4 -/* f0629c4: 00403025 */ or $a2,$v0,$zero -.NB0f0629c8: -/* f0629c8: 12a30005 */ beq $s5,$v1,.NB0f0629e0 -/* f0629cc: 24010004 */ addiu $at,$zero,0x4 -/* f0629d0: 10610003 */ beq $v1,$at,.NB0f0629e0 -/* f0629d4: 24010002 */ addiu $at,$zero,0x2 -/* f0629d8: 5461001d */ bnel $v1,$at,.NB0f062a50 -/* f0629dc: 24010007 */ addiu $at,$zero,0x7 -.NB0f0629e0: -/* f0629e0: 8e020004 */ lw $v0,0x4($s0) -/* f0629e4: 3c188007 */ lui $t8,0x8007 -/* f0629e8: 90590003 */ lbu $t9,0x3($v0) -/* f0629ec: 0319c021 */ addu $t8,$t8,$t9 -/* f0629f0: 9318bf84 */ lbu $t8,-0x407c($t8) -/* f0629f4: 57000006 */ bnezl $t8,.NB0f062a10 -/* f0629f8: 860d0002 */ lh $t5,0x2($s0) -/* f0629fc: 0fc1f474 */ jal objTickPlayer -/* f062a00: 02002025 */ or $a0,$s0,$zero -/* f062a04: 10000027 */ beqz $zero,.NB0f062aa4 -/* f062a08: 00403025 */ or $a2,$v0,$zero -/* f062a0c: 860d0002 */ lh $t5,0x2($s0) -.NB0f062a10: -/* f062a10: 5da00025 */ bgtzl $t5,.NB0f062aa8 -/* f062a14: 8faf0034 */ lw $t7,0x34($sp) -/* f062a18: 920e003e */ lbu $t6,0x3e($s0) -/* f062a1c: 25cf0001 */ addiu $t7,$t6,0x1 -/* f062a20: a20f003e */ sb $t7,0x3e($s0) -/* f062a24: 92380358 */ lbu $t8,0x358($s1) -/* f062a28: 31f900ff */ andi $t9,$t7,0xff -/* f062a2c: 270dffff */ addiu $t5,$t8,-1 -/* f062a30: 01b9082a */ slt $at,$t5,$t9 -/* f062a34: 5020001c */ beqzl $at,.NB0f062aa8 -/* f062a38: 8faf0034 */ lw $t7,0x34($sp) -/* f062a3c: 0fc1885f */ jal propPause -/* f062a40: 02002025 */ or $a0,$s0,$zero -/* f062a44: 10000017 */ beqz $zero,.NB0f062aa4 -/* f062a48: 24060005 */ addiu $a2,$zero,0x5 -/* f062a4c: 24010007 */ addiu $at,$zero,0x7 -.NB0f062a50: -/* f062a50: 54610006 */ bnel $v1,$at,.NB0f062a6c -/* f062a54: 24010008 */ addiu $at,$zero,0x8 -/* f062a58: 0fc49c4e */ jal explosionTickPlayer -/* f062a5c: 02002025 */ or $a0,$s0,$zero -/* f062a60: 10000010 */ beqz $zero,.NB0f062aa4 -/* f062a64: 00403025 */ or $a2,$v0,$zero -/* f062a68: 24010008 */ addiu $at,$zero,0x8 -.NB0f062a6c: -/* f062a6c: 54610006 */ bnel $v1,$at,.NB0f062a88 -/* f062a70: 24010006 */ addiu $at,$zero,0x6 -/* f062a74: 0fc4a745 */ jal smokeTickPlayer -/* f062a78: 02002025 */ or $a0,$s0,$zero -/* f062a7c: 10000009 */ beqz $zero,.NB0f062aa4 -/* f062a80: 00403025 */ or $a2,$v0,$zero -/* f062a84: 24010006 */ addiu $at,$zero,0x6 -.NB0f062a88: -/* f062a88: 54610007 */ bnel $v1,$at,.NB0f062aa8 -/* f062a8c: 8faf0034 */ lw $t7,0x34($sp) -/* f062a90: 0fc50cd4 */ jal splatTickChr -/* f062a94: 02002025 */ or $a0,$s0,$zero -/* f062a98: 0fc2ffcb */ jal playerTickThirdPerson -/* f062a9c: 02002025 */ or $a0,$s0,$zero -/* f062aa0: 00403025 */ or $a2,$v0,$zero -.NB0f062aa4: -/* f062aa4: 8faf0034 */ lw $t7,0x34($sp) -.NB0f062aa8: -/* f062aa8: 960e0038 */ lhu $t6,0x38($s0) -/* f062aac: 8fb9007c */ lw $t9,0x7c($sp) -/* f062ab0: 95f80378 */ lhu $t8,0x378($t7) -/* f062ab4: 3c01800a */ lui $at,0x800a -/* f062ab8: 51d80009 */ beql $t6,$t8,.NB0f062ae0 -/* f062abc: 9218003f */ lbu $t8,0x3f($s0) -/* f062ac0: 8fad0078 */ lw $t5,0x78($sp) -/* f062ac4: c7b00074 */ lwc1 $f16,0x74($sp) -/* f062ac8: c7b20074 */ lwc1 $f18,0x74($sp) -/* f062acc: ae390034 */ sw $t9,0x34($s1) -/* f062ad0: ae2d0038 */ sw $t5,0x38($s1) -/* f062ad4: e6300044 */ swc1 $f16,0x44($s1) -/* f062ad8: e432e70c */ swc1 $f18,-0x18f4($at) -/* f062adc: 9218003f */ lbu $t8,0x3f($s0) -.NB0f062ae0: -/* f062ae0: 962f035c */ lhu $t7,0x35c($s1) -/* f062ae4: a600003a */ sh $zero,0x3a($s0) -/* f062ae8: 37190040 */ ori $t9,$t8,0x40 -/* f062aec: a219003f */ sb $t9,0x3f($s0) -/* f062af0: a60f0038 */ sh $t7,0x38($s0) -.NB0f062af4: -/* f062af4: 8fad008c */ lw $t5,0x8c($sp) -.NB0f062af8: -/* f062af8: 8faf0088 */ lw $t7,0x88($sp) -/* f062afc: c7a40084 */ lwc1 $f4,0x84($sp) -/* f062b00: c7a60080 */ lwc1 $f6,0x80($sp) -/* f062b04: 24010005 */ addiu $at,$zero,0x5 -/* f062b08: ae2d0034 */ sw $t5,0x34($s1) -/* f062b0c: ae2f0038 */ sw $t7,0x38($s1) -/* f062b10: e6240044 */ swc1 $f4,0x44($s1) -/* f062b14: 14c10003 */ bne $a2,$at,.NB0f062b24 -/* f062b18: e626004c */ swc1 $f6,0x4c($s1) -/* f062b1c: 1000001d */ beqz $zero,.NB0f062b94 -/* f062b20: 8fa2005c */ lw $v0,0x5c($sp) -.NB0f062b24: -/* f062b24: 8e020020 */ lw $v0,0x20($s0) -/* f062b28: 8e2e0354 */ lw $t6,0x354($s1) -/* f062b2c: 02002025 */ or $a0,$s0,$zero -/* f062b30: 00c02825 */ or $a1,$a2,$zero -/* f062b34: 004ec026 */ xor $t8,$v0,$t6 -/* f062b38: 2f180001 */ sltiu $t8,$t8,0x1 -/* f062b3c: 14d40012 */ bne $a2,$s4,.NB0f062b88 -/* f062b40: afb8004c */ sw $t8,0x4c($sp) -/* f062b44: 920f003f */ lbu $t7,0x3f($s0) -/* f062b48: 3419ffff */ dli $t9,0xffff -/* f062b4c: a6190038 */ sh $t9,0x38($s0) -/* f062b50: 35ee0080 */ ori $t6,$t7,0x80 -/* f062b54: a20e003f */ sb $t6,0x3f($s0) -/* f062b58: afa20060 */ sw $v0,0x60($sp) -/* f062b5c: 0fc17e21 */ jal propDelist -/* f062b60: 02002025 */ or $a0,$s0,$zero -/* f062b64: 0fc17dfe */ jal propActivateThisFrame -/* f062b68: 02002025 */ or $a0,$s0,$zero -/* f062b6c: 8fb8004c */ lw $t8,0x4c($sp) -/* f062b70: 8fa20060 */ lw $v0,0x60($sp) -/* f062b74: 53000008 */ beqzl $t8,.NB0f062b98 -/* f062b78: 8fb9004c */ lw $t9,0x4c($sp) -/* f062b7c: 02001025 */ or $v0,$s0,$zero -/* f062b80: 10000004 */ beqz $zero,.NB0f062b94 -/* f062b84: afa0004c */ sw $zero,0x4c($sp) -.NB0f062b88: -/* f062b88: 0fc1877a */ jal propExecuteTickOperation -/* f062b8c: afa20060 */ sw $v0,0x60($sp) -/* f062b90: 8fa20060 */ lw $v0,0x60($sp) -.NB0f062b94: -/* f062b94: 8fb9004c */ lw $t9,0x4c($sp) -.NB0f062b98: -/* f062b98: 00408025 */ or $s0,$v0,$zero -/* f062b9c: 5320fe5f */ beqzl $t9,.NB0f06251c -/* f062ba0: 8e0f0020 */ lw $t7,0x20($s0) -/* f062ba4: 8e2d0290 */ lw $t5,0x290($s1) -/* f062ba8: 8faa0034 */ lw $t2,0x34($sp) -/* f062bac: 24140003 */ addiu $s4,$zero,0x3 -/* f062bb0: 15a00104 */ bnez $t5,.NB0f062fc4 -/* f062bb4: 24150001 */ addiu $s5,$zero,0x1 -/* f062bb8: 922f035a */ lbu $t7,0x35a($s1) -/* f062bbc: afaa0034 */ sw $t2,0x34($sp) -/* f062bc0: 24087fff */ addiu $t0,$zero,0x7fff -/* f062bc4: 55e00100 */ bnezl $t7,.NB0f062fc8 -/* f062bc8: 8fb9008c */ lw $t9,0x8c($sp) -/* f062bcc: 922c0358 */ lbu $t4,0x358($s1) -/* f062bd0: 00004825 */ or $t1,$zero,$zero -/* f062bd4: 00002825 */ or $a1,$zero,$zero -/* f062bd8: 01805025 */ or $t2,$t4,$zero -/* f062bdc: 318b00ff */ andi $t3,$t4,0xff -/* f062be0: 19800015 */ blez $t4,.NB0f062c38 -/* f062be4: 01803825 */ or $a3,$t4,$zero -/* f062be8: 3c02800a */ lui $v0,0x800a -/* f062bec: 2442e6c0 */ addiu $v0,$v0,-6464 -.NB0f062bf0: -/* f062bf0: 94430360 */ lhu $v1,0x360($v0) -/* f062bf4: 01202025 */ or $a0,$t1,$zero -/* f062bf8: 0068082a */ slt $at,$v1,$t0 -/* f062bfc: 10200003 */ beqz $at,.NB0f062c0c -/* f062c00: 00603025 */ or $a2,$v1,$zero -/* f062c04: 3068ffff */ andi $t0,$v1,0xffff -/* f062c08: 30aa00ff */ andi $t2,$a1,0xff -.NB0f062c0c: -/* f062c0c: 0086082a */ slt $at,$a0,$a2 -/* f062c10: 50200004 */ beqzl $at,.NB0f062c24 -/* f062c14: 24a50001 */ addiu $a1,$a1,0x1 -/* f062c18: 3069ffff */ andi $t1,$v1,0xffff -/* f062c1c: 30ab00ff */ andi $t3,$a1,0xff -/* f062c20: 24a50001 */ addiu $a1,$a1,0x1 -.NB0f062c24: -/* f062c24: 00a7082a */ slt $at,$a1,$a3 -/* f062c28: 1420fff1 */ bnez $at,.NB0f062bf0 -/* f062c2c: 2442001c */ addiu $v0,$v0,0x1c -/* f062c30: 24087fff */ addiu $t0,$zero,0x7fff -/* f062c34: 00004825 */ or $t1,$zero,$zero -.NB0f062c38: -/* f062c38: 2403001c */ addiu $v1,$zero,0x1c -/* f062c3c: 01630019 */ multu $t3,$v1 -/* f062c40: 00007012 */ mflo $t6 -/* f062c44: 022ec021 */ addu $t8,$s1,$t6 -/* f062c48: 97190360 */ lhu $t9,0x360($t8) -/* f062c4c: 01430019 */ multu $t2,$v1 -/* f062c50: 00006812 */ mflo $t5 -/* f062c54: 022d7821 */ addu $t7,$s1,$t5 -/* f062c58: 95ee0360 */ lhu $t6,0x360($t7) -/* f062c5c: 032e2823 */ subu $a1,$t9,$t6 -/* f062c60: 0005c043 */ sra $t8,$a1,0x1 -/* f062c64: 1300001d */ beqz $t8,.NB0f062cdc -/* f062c68: 03002825 */ or $a1,$t8,$zero -/* f062c6c: 8e30033c */ lw $s0,0x33c($s1) -/* f062c70: 8e2d0354 */ lw $t5,0x354($s1) -/* f062c74: 01601025 */ or $v0,$t3,$zero -/* f062c78: 520d0019 */ beql $s0,$t5,.NB0f062ce0 -/* f062c7c: 318a00ff */ andi $t2,$t4,0xff -/* f062c80: 920f003d */ lbu $t7,0x3d($s0) -.NB0f062c84: -/* f062c84: 544f0010 */ bnel $v0,$t7,.NB0f062cc8 -/* f062c88: 8e100020 */ lw $s0,0x20($s0) -/* f062c8c: 8e19003c */ lw $t9,0x3c($s0) -/* f062c90: 00197640 */ sll $t6,$t9,0x19 -/* f062c94: 000ec7c2 */ srl $t8,$t6,0x1f -/* f062c98: 56b8000b */ bnel $s5,$t8,.NB0f062cc8 -/* f062c9c: 8e100020 */ lw $s0,0x20($s0) -/* f062ca0: 920d0000 */ lbu $t5,0x0($s0) -/* f062ca4: 528d0008 */ beql $s4,$t5,.NB0f062cc8 -/* f062ca8: 8e100020 */ lw $s0,0x20($s0) -/* f062cac: 24a5ffff */ addiu $a1,$a1,-1 -/* f062cb0: 14a00004 */ bnez $a1,.NB0f062cc4 -/* f062cb4: a20a003d */ sb $t2,0x3d($s0) -/* f062cb8: 922c0358 */ lbu $t4,0x358($s1) -/* f062cbc: 10000007 */ beqz $zero,.NB0f062cdc -/* f062cc0: 01803825 */ or $a3,$t4,$zero -.NB0f062cc4: -/* f062cc4: 8e100020 */ lw $s0,0x20($s0) -.NB0f062cc8: -/* f062cc8: 8e2f0354 */ lw $t7,0x354($s1) -/* f062ccc: 560fffed */ bnel $s0,$t7,.NB0f062c84 -/* f062cd0: 920f003d */ lbu $t7,0x3d($s0) -/* f062cd4: 922c0358 */ lbu $t4,0x358($s1) -/* f062cd8: 01803825 */ or $a3,$t4,$zero -.NB0f062cdc: -/* f062cdc: 318a00ff */ andi $t2,$t4,0xff -.NB0f062ce0: -/* f062ce0: 318b00ff */ andi $t3,$t4,0xff -/* f062ce4: 18e00016 */ blez $a3,.NB0f062d40 -/* f062ce8: 00002825 */ or $a1,$zero,$zero -/* f062cec: 3c02800a */ lui $v0,0x800a -/* f062cf0: 2442e6c0 */ addiu $v0,$v0,-6464 -.NB0f062cf4: -/* f062cf4: 94430364 */ lhu $v1,0x364($v0) -/* f062cf8: 01202025 */ or $a0,$t1,$zero -/* f062cfc: 0068082a */ slt $at,$v1,$t0 -/* f062d00: 10200003 */ beqz $at,.NB0f062d10 -/* f062d04: 00603025 */ or $a2,$v1,$zero -/* f062d08: 3068ffff */ andi $t0,$v1,0xffff -/* f062d0c: 30aa00ff */ andi $t2,$a1,0xff -.NB0f062d10: -/* f062d10: 0086082a */ slt $at,$a0,$a2 -/* f062d14: 50200004 */ beqzl $at,.NB0f062d28 -/* f062d18: 24a50001 */ addiu $a1,$a1,0x1 -/* f062d1c: 3069ffff */ andi $t1,$v1,0xffff -/* f062d20: 30ab00ff */ andi $t3,$a1,0xff -/* f062d24: 24a50001 */ addiu $a1,$a1,0x1 -.NB0f062d28: -/* f062d28: 00a7082a */ slt $at,$a1,$a3 -/* f062d2c: 1420fff1 */ bnez $at,.NB0f062cf4 -/* f062d30: 2442001c */ addiu $v0,$v0,0x1c -/* f062d34: 24087fff */ addiu $t0,$zero,0x7fff -/* f062d38: 00004825 */ or $t1,$zero,$zero -/* f062d3c: 2403001c */ addiu $v1,$zero,0x1c -.NB0f062d40: -/* f062d40: 01630019 */ multu $t3,$v1 -/* f062d44: 0000c812 */ mflo $t9 -/* f062d48: 02397021 */ addu $t6,$s1,$t9 -/* f062d4c: 95d80364 */ lhu $t8,0x364($t6) -/* f062d50: 01430019 */ multu $t2,$v1 -/* f062d54: 00006812 */ mflo $t5 -/* f062d58: 022d7821 */ addu $t7,$s1,$t5 -/* f062d5c: 95f90364 */ lhu $t9,0x364($t7) -/* f062d60: 03192823 */ subu $a1,$t8,$t9 -/* f062d64: 00057043 */ sra $t6,$a1,0x1 -/* f062d68: 11c0001c */ beqz $t6,.NB0f062ddc -/* f062d6c: 01c02825 */ or $a1,$t6,$zero -/* f062d70: 8e30033c */ lw $s0,0x33c($s1) -/* f062d74: 8e2d0354 */ lw $t5,0x354($s1) -/* f062d78: 01601025 */ or $v0,$t3,$zero -/* f062d7c: 520d0018 */ beql $s0,$t5,.NB0f062de0 -/* f062d80: 318a00ff */ andi $t2,$t4,0xff -/* f062d84: 920f003d */ lbu $t7,0x3d($s0) -.NB0f062d88: -/* f062d88: 544f000f */ bnel $v0,$t7,.NB0f062dc8 -/* f062d8c: 8e100020 */ lw $s0,0x20($s0) -/* f062d90: 8e18003c */ lw $t8,0x3c($s0) -/* f062d94: 00187640 */ sll $t6,$t8,0x19 -/* f062d98: 05c2000b */ bltzl $t6,.NB0f062dc8 -/* f062d9c: 8e100020 */ lw $s0,0x20($s0) -/* f062da0: 920d0000 */ lbu $t5,0x0($s0) -/* f062da4: 528d0008 */ beql $s4,$t5,.NB0f062dc8 -/* f062da8: 8e100020 */ lw $s0,0x20($s0) -/* f062dac: 24a5ffff */ addiu $a1,$a1,-1 -/* f062db0: 14a00004 */ bnez $a1,.NB0f062dc4 -/* f062db4: a20a003d */ sb $t2,0x3d($s0) -/* f062db8: 922c0358 */ lbu $t4,0x358($s1) -/* f062dbc: 10000007 */ beqz $zero,.NB0f062ddc -/* f062dc0: 01803825 */ or $a3,$t4,$zero -.NB0f062dc4: -/* f062dc4: 8e100020 */ lw $s0,0x20($s0) -.NB0f062dc8: -/* f062dc8: 8e2f0354 */ lw $t7,0x354($s1) -/* f062dcc: 560fffee */ bnel $s0,$t7,.NB0f062d88 -/* f062dd0: 920f003d */ lbu $t7,0x3d($s0) -/* f062dd4: 922c0358 */ lbu $t4,0x358($s1) -/* f062dd8: 01803825 */ or $a3,$t4,$zero -.NB0f062ddc: -/* f062ddc: 318a00ff */ andi $t2,$t4,0xff -.NB0f062de0: -/* f062de0: 318b00ff */ andi $t3,$t4,0xff -/* f062de4: 18e00016 */ blez $a3,.NB0f062e40 -/* f062de8: 00002825 */ or $a1,$zero,$zero -/* f062dec: 3c02800a */ lui $v0,0x800a -/* f062df0: 2442e6c0 */ addiu $v0,$v0,-6464 -.NB0f062df4: -/* f062df4: 94430362 */ lhu $v1,0x362($v0) -/* f062df8: 01202025 */ or $a0,$t1,$zero -/* f062dfc: 0068082a */ slt $at,$v1,$t0 -/* f062e00: 10200003 */ beqz $at,.NB0f062e10 -/* f062e04: 00603025 */ or $a2,$v1,$zero -/* f062e08: 3068ffff */ andi $t0,$v1,0xffff -/* f062e0c: 30aa00ff */ andi $t2,$a1,0xff -.NB0f062e10: -/* f062e10: 0086082a */ slt $at,$a0,$a2 -/* f062e14: 50200004 */ beqzl $at,.NB0f062e28 -/* f062e18: 24a50001 */ addiu $a1,$a1,0x1 -/* f062e1c: 3069ffff */ andi $t1,$v1,0xffff -/* f062e20: 30ab00ff */ andi $t3,$a1,0xff -/* f062e24: 24a50001 */ addiu $a1,$a1,0x1 -.NB0f062e28: -/* f062e28: 00a7082a */ slt $at,$a1,$a3 -/* f062e2c: 1420fff1 */ bnez $at,.NB0f062df4 -/* f062e30: 2442001c */ addiu $v0,$v0,0x1c -/* f062e34: 24087fff */ addiu $t0,$zero,0x7fff -/* f062e38: 00004825 */ or $t1,$zero,$zero -/* f062e3c: 2403001c */ addiu $v1,$zero,0x1c -.NB0f062e40: -/* f062e40: 01630019 */ multu $t3,$v1 -/* f062e44: 0000c012 */ mflo $t8 -/* f062e48: 0238c821 */ addu $t9,$s1,$t8 -/* f062e4c: 972e0362 */ lhu $t6,0x362($t9) -/* f062e50: 01430019 */ multu $t2,$v1 -/* f062e54: 00006812 */ mflo $t5 -/* f062e58: 022d7821 */ addu $t7,$s1,$t5 -/* f062e5c: 95f80362 */ lhu $t8,0x362($t7) -/* f062e60: 01d82823 */ subu $a1,$t6,$t8 -/* f062e64: 0005c843 */ sra $t9,$a1,0x1 -/* f062e68: 1320001d */ beqz $t9,.NB0f062ee0 -/* f062e6c: 03202825 */ or $a1,$t9,$zero -/* f062e70: 8e30033c */ lw $s0,0x33c($s1) -/* f062e74: 8e2d0354 */ lw $t5,0x354($s1) -/* f062e78: 01601025 */ or $v0,$t3,$zero -/* f062e7c: 520d0019 */ beql $s0,$t5,.NB0f062ee4 -/* f062e80: 318a00ff */ andi $t2,$t4,0xff -/* f062e84: 920f003d */ lbu $t7,0x3d($s0) -.NB0f062e88: -/* f062e88: 544f0010 */ bnel $v0,$t7,.NB0f062ecc -/* f062e8c: 8e100020 */ lw $s0,0x20($s0) -/* f062e90: 8e0e003c */ lw $t6,0x3c($s0) -/* f062e94: 000ec640 */ sll $t8,$t6,0x19 -/* f062e98: 0018cfc2 */ srl $t9,$t8,0x1f -/* f062e9c: 56b9000b */ bnel $s5,$t9,.NB0f062ecc -/* f062ea0: 8e100020 */ lw $s0,0x20($s0) -/* f062ea4: 920d0000 */ lbu $t5,0x0($s0) -/* f062ea8: 568d0008 */ bnel $s4,$t5,.NB0f062ecc -/* f062eac: 8e100020 */ lw $s0,0x20($s0) -/* f062eb0: 24a5ffff */ addiu $a1,$a1,-1 -/* f062eb4: 14a00004 */ bnez $a1,.NB0f062ec8 -/* f062eb8: a20a003d */ sb $t2,0x3d($s0) -/* f062ebc: 922c0358 */ lbu $t4,0x358($s1) -/* f062ec0: 10000007 */ beqz $zero,.NB0f062ee0 -/* f062ec4: 01803825 */ or $a3,$t4,$zero -.NB0f062ec8: -/* f062ec8: 8e100020 */ lw $s0,0x20($s0) -.NB0f062ecc: -/* f062ecc: 8e2f0354 */ lw $t7,0x354($s1) -/* f062ed0: 560fffed */ bnel $s0,$t7,.NB0f062e88 -/* f062ed4: 920f003d */ lbu $t7,0x3d($s0) -/* f062ed8: 922c0358 */ lbu $t4,0x358($s1) -/* f062edc: 01803825 */ or $a3,$t4,$zero -.NB0f062ee0: -/* f062ee0: 318a00ff */ andi $t2,$t4,0xff -.NB0f062ee4: -/* f062ee4: 318b00ff */ andi $t3,$t4,0xff -/* f062ee8: 18e00014 */ blez $a3,.NB0f062f3c -/* f062eec: 00002825 */ or $a1,$zero,$zero -/* f062ef0: 3c02800a */ lui $v0,0x800a -/* f062ef4: 2442e6c0 */ addiu $v0,$v0,-6464 -.NB0f062ef8: -/* f062ef8: 94430366 */ lhu $v1,0x366($v0) -/* f062efc: 01202025 */ or $a0,$t1,$zero -/* f062f00: 0068082a */ slt $at,$v1,$t0 -/* f062f04: 10200003 */ beqz $at,.NB0f062f14 -/* f062f08: 00603025 */ or $a2,$v1,$zero -/* f062f0c: 3068ffff */ andi $t0,$v1,0xffff -/* f062f10: 30aa00ff */ andi $t2,$a1,0xff -.NB0f062f14: -/* f062f14: 0086082a */ slt $at,$a0,$a2 -/* f062f18: 50200004 */ beqzl $at,.NB0f062f2c -/* f062f1c: 24a50001 */ addiu $a1,$a1,0x1 -/* f062f20: 3069ffff */ andi $t1,$v1,0xffff -/* f062f24: 30ab00ff */ andi $t3,$a1,0xff -/* f062f28: 24a50001 */ addiu $a1,$a1,0x1 -.NB0f062f2c: -/* f062f2c: 00a7082a */ slt $at,$a1,$a3 -/* f062f30: 1420fff1 */ bnez $at,.NB0f062ef8 -/* f062f34: 2442001c */ addiu $v0,$v0,0x1c -/* f062f38: 2403001c */ addiu $v1,$zero,0x1c -.NB0f062f3c: -/* f062f3c: 01630019 */ multu $t3,$v1 -/* f062f40: 00007012 */ mflo $t6 -/* f062f44: 022ec021 */ addu $t8,$s1,$t6 -/* f062f48: 97190366 */ lhu $t9,0x366($t8) -/* f062f4c: 01430019 */ multu $t2,$v1 -/* f062f50: 00006812 */ mflo $t5 -/* f062f54: 022d7821 */ addu $t7,$s1,$t5 -/* f062f58: 95ee0366 */ lhu $t6,0x366($t7) -/* f062f5c: 032e2823 */ subu $a1,$t9,$t6 -/* f062f60: 0005c043 */ sra $t8,$a1,0x1 -/* f062f64: 13000017 */ beqz $t8,.NB0f062fc4 -/* f062f68: 03002825 */ or $a1,$t8,$zero -/* f062f6c: 8e30033c */ lw $s0,0x33c($s1) -/* f062f70: 8e2d0354 */ lw $t5,0x354($s1) -/* f062f74: 01601025 */ or $v0,$t3,$zero -/* f062f78: 520d0013 */ beql $s0,$t5,.NB0f062fc8 -/* f062f7c: 8fb9008c */ lw $t9,0x8c($sp) -/* f062f80: 920f003d */ lbu $t7,0x3d($s0) -.NB0f062f84: -/* f062f84: 544f000c */ bnel $v0,$t7,.NB0f062fb8 -/* f062f88: 8e100020 */ lw $s0,0x20($s0) -/* f062f8c: 8e19003c */ lw $t9,0x3c($s0) -/* f062f90: 0019c640 */ sll $t8,$t9,0x19 -/* f062f94: 07020008 */ bltzl $t8,.NB0f062fb8 -/* f062f98: 8e100020 */ lw $s0,0x20($s0) -/* f062f9c: 920d0000 */ lbu $t5,0x0($s0) -/* f062fa0: 568d0005 */ bnel $s4,$t5,.NB0f062fb8 -/* f062fa4: 8e100020 */ lw $s0,0x20($s0) -/* f062fa8: 24a5ffff */ addiu $a1,$a1,-1 -/* f062fac: 10a00005 */ beqz $a1,.NB0f062fc4 -/* f062fb0: a20a003d */ sb $t2,0x3d($s0) -/* f062fb4: 8e100020 */ lw $s0,0x20($s0) -.NB0f062fb8: -/* f062fb8: 8e2f0354 */ lw $t7,0x354($s1) -/* f062fbc: 560ffff1 */ bnel $s0,$t7,.NB0f062f84 -/* f062fc0: 920f003d */ lbu $t7,0x3d($s0) -.NB0f062fc4: -/* f062fc4: 8fb9008c */ lw $t9,0x8c($sp) -.NB0f062fc8: -/* f062fc8: 8fae0088 */ lw $t6,0x88($sp) -/* f062fcc: c7a80084 */ lwc1 $f8,0x84($sp) -/* f062fd0: c7aa0080 */ lwc1 $f10,0x80($sp) -/* f062fd4: 8faa0034 */ lw $t2,0x34($sp) -/* f062fd8: ae390034 */ sw $t9,0x34($s1) -/* f062fdc: ae2e0038 */ sw $t6,0x38($s1) -/* f062fe0: e6280044 */ swc1 $f8,0x44($s1) -/* f062fe4: e62a004c */ swc1 $f10,0x4c($s1) -/* f062fe8: 8fad0098 */ lw $t5,0x98($sp) -/* f062fec: ad400370 */ sw $zero,0x370($t2) -/* f062ff0: 9638035c */ lhu $t8,0x35c($s1) -/* f062ff4: 11a00007 */ beqz $t5,.NB0f063014 -/* f062ff8: a5580378 */ sh $t8,0x378($t2) -/* f062ffc: 0fc23cf3 */ jal alarmTick -/* f063000: 00000000 */ sll $zero,$zero,0x0 -/* f063004: 0fc2468f */ jal propsndTick -/* f063008: 00000000 */ sll $zero,$zero,0x0 -/* f06300c: 0fc194af */ jal propsDefragRoomProps -/* f063010: 00000000 */ sll $zero,$zero,0x0 -.NB0f063014: -/* f063014: 0fc09052 */ jal chr0f02472c -/* f063018: 00000000 */ sll $zero,$zero,0x0 -/* f06301c: 8fbf002c */ lw $ra,0x2c($sp) -/* f063020: 8fb00014 */ lw $s0,0x14($sp) -/* f063024: 8fb10018 */ lw $s1,0x18($sp) -/* f063028: 8fb2001c */ lw $s2,0x1c($sp) -/* f06302c: 8fb30020 */ lw $s3,0x20($sp) -/* f063030: 8fb40024 */ lw $s4,0x24($sp) -/* f063034: 8fb50028 */ lw $s5,0x28($sp) -/* f063038: 03e00008 */ jr $ra -/* f06303c: 27bd0098 */ addiu $sp,$sp,0x98 -); -#endif - /** - * Figure out which props need to update their state on this tick, and do so. + * Figure out which props need to update their state for the current player on + * this tick, and do so. + * + * This function is called once per player per frame. Most logic applies to all + * players, but some logic only applies to the first player and some only to the + * last. * * Props are split into two classes: foreground and background props. Foreground * props are generally props that are near the player. These ones are updated on @@ -5616,520 +1671,538 @@ glabel propsTickPlayer * ensures that there aren't an uneven amount of props being updated on any * given frame, which helps give a consistent frame rate. */ -// Mismatch: -// 290: Duplicate write of &g_Vars.propstates[index] (t2) to sp34 -// 6fc and 864: Uses two instructions to reload addres of g_Vars.lvupdate240freal even though s1 could be used -// 938: Loads s4 and s1 loaded with constant values despite them already having those values -//void propsTickPlayer(u32 islastplayer) -//{ -// struct prop *prop; -// struct prop *end; -// s32 savedlvupdate240; -// s32 savedlvupdate240_60; -// f32 savedlvupdate240f; -// f32 savedlvupdate240freal; -// s32 savedslotupdate240; -// s32 savedslotupdate240_60; -// f32 savedslotupdate240f; -// struct prop *sp60; // 60 -// struct prop *next; // 5c -// s32 op; -// u8 index; -// u8 flags; -// s32 score; -// bool done; // 4c -// s32 i; -// -// g_Vars.hardfreeabletally = 0; -// -//#if VERSION >= VERSION_NTSC_1_0 -// var8009cdac = 0; -// var8009cdb0 = 0; -//#endif -// -// // 068 -// if (islastplayer) { -// g_Vars.prevupdateframe = g_Vars.updateframe; -// g_Vars.updateframe++; -// -// if (g_Vars.updateframe == 0xffffffff) { -// g_Vars.updateframe = 0; -// } -// } -// -// // 090 -// savedlvupdate240 = g_Vars.lvupdate240; -// savedlvupdate240_60 = g_Vars.lvupdate240_60; -// savedlvupdate240f = g_Vars.lvupdate240f; -// savedlvupdate240freal = g_Vars.lvupdate240freal; -// -// for (i = 0; i < g_Vars.numpropstates; i++) { -// g_Vars.propstates[i].slotupdate240 += g_Vars.lvupdate240; -// } -// -// // 0ec -// g_Vars.runstateindex++; -// -// // 108 -// if (g_Vars.runstateindex >= g_Vars.numpropstates) { -// g_Vars.runstateindex = 0; -// } -// -// index = g_Vars.runstateindex; -// -// // 118 -// g_Vars.propstates[index].slotupdate60error = (g_Vars.propstates[index].slotupdate240 + g_Vars.propstates[index].slotupdate60error) & 3; -// savedslotupdate240 = g_Vars.propstates[index].slotupdate240; -// savedslotupdate240_60 = savedslotupdate240 + 2; -// savedslotupdate240_60 >>= 2; -// savedslotupdate240f = savedslotupdate240 * 0.25f; -// -// for (i = 0; i < g_Vars.numpropstates; i++) { -// // 184 -// g_Vars.propstates[i].propcount = 0; -// g_Vars.propstates[i].chrpropcount = 0; -// g_Vars.propstates[i].foregroundpropcount = 0; -// g_Vars.propstates[i].foregroundchrpropcount = 0; -// } -// -// // 1ac -// if (g_Vars.currentplayerindex == 0) { -// prop = g_Vars.props; -// end = &g_Vars.props[g_Vars.maxprops]; -// -// while (prop < end) { -// flags = prop->flags; -// -// if (flags & PROPFLAG_ONTHISSCREENTHISTICK) { -// flags &= ~PROPFLAG_ONTHISSCREENTHISTICK; -// } -// -// if (flags & PROPFLAG_ONANYSCREENTHISTICK) { -// flags |= PROPFLAG_ONANYSCREENPREVTICK; -// flags &= ~PROPFLAG_ONANYSCREENTHISTICK; -// } else if (flags & PROPFLAG_ONANYSCREENPREVTICK) { -// flags &= ~PROPFLAG_ONANYSCREENPREVTICK; -// } -// -// (prop++)->flags = flags | PROPFLAG_NOTYETTICKED; -// } -// } else { -// // 23c -// prop = g_Vars.props; -// end = &g_Vars.props[g_Vars.maxprops]; -// -// while (prop < end) { -// flags = prop->flags; -// -// if (flags & PROPFLAG_ONTHISSCREENTHISTICK) { -// flags &= ~PROPFLAG_ONTHISSCREENTHISTICK; -// } -// -// prop->flags = flags; -// prop++; -// } -// } -// -// // 294 -// done = false; -// prop = g_Vars.activeprops; -// -// while (!done) { -// s16 *rooms; -// op = TICKOP_NONE; -// next = prop->next; -// done = prop->next == g_Vars.pausedprops; -// -// if (g_Vars.tickmode != TICKMODE_NORMAL) { -// score = 1; -// } else { -// score = g_Vars.alwaystick; -// } -// -// rooms = prop->rooms; -// -// for (i = 0; *rooms != -1; i++) { -// if (g_Rooms[*rooms].flags & ROOMFLAG_ONSCREEN) { -// score++; -// } -// rooms++; -// } -// -// if (score == 0) { -// if (prop->type == PROPTYPE_PLAYER) { -// score++; -// } else if (prop->type == PROPTYPE_OBJ || prop->type == PROPTYPE_WEAPON) { -// if (prop->obj->hidden & OBJHFLAG_PROJECTILE) { -// score++; -// } -// } -// -// if (score == 0) { -// if ((prop->flags & (PROPFLAG_ENABLED | PROPFLAG_ONANYSCREENPREVTICK)) == (PROPFLAG_ENABLED | PROPFLAG_ONANYSCREENPREVTICK)) { -// score++; -// } else if (prop->forceonetick) { -// score++; -// prop->forceonetick = false; -// } else if (prop->forcetick) { -// score++; -// } else { -// rooms = prop->rooms; -// -// for (i = 0; *rooms != -1; i++) { -// if (g_Rooms[*rooms].flags & ROOMFLAG_STANDBY) { -// break; -// } -// -// rooms++; -// } -// -// if (*rooms != -1) { -// score++; -// } -// } -// } -// } -// -// prop->propupdate240 += g_Vars.lvupdate240; -// -// // 41c -// if (score > 0) { -// // The prop is in the foreground -// if (prop->lastupdateframe != g_Vars.prevupdateframe) { -// g_Vars.lvupdate240 = prop->propupdate240; -// g_Vars.lvupdate240_60 = prop->propupdate240 + prop->propupdate60err; -// prop->propupdate60err = g_Vars.lvupdate240_60 & 3; -// g_Vars.lvupdate240_60 >>= 2; -// g_Vars.lvupdate240f = g_Vars.lvupdate240 * 0.25f; -// g_Vars.lvupdate240freal = PALUPF(g_Vars.lvupdate240f); -// } else { -// g_Vars.lvupdate240 = savedlvupdate240; -// g_Vars.lvupdate240_60 = savedlvupdate240_60; -// g_Vars.lvupdate240f = savedlvupdate240f; -// g_Vars.lvupdate240freal = savedlvupdate240freal; -// } -// -// // 4a8 -// prop->backgroundedframes = 0; -// -// if (prop->type == PROPTYPE_CHR) { -// struct chrdata *chr = prop->chr; -// -// splatTickChr(prop); -// -// if (chr && chr->aibot) { -// op = botTick(prop); -// } else { -// op = chrTick(prop); -// } -// -// g_Vars.propstates[prop->propstateindex].foregroundchrpropcount++; -// } else { -// g_Vars.propstates[prop->propstateindex].foregroundpropcount++; -// -// if (prop->type == PROPTYPE_OBJ || prop->type == PROPTYPE_WEAPON || prop->type == PROPTYPE_DOOR) { -// op = objTickPlayer(prop); -// } else if (prop->type == PROPTYPE_EXPLOSION) { -// op = explosionTickPlayer(prop); -// } else if (prop->type == PROPTYPE_SMOKE) { -// op = smokeTickPlayer(prop); -// } else if (prop->type == PROPTYPE_PLAYER) { -// splatTickChr(prop); -// op = playerTickThirdPerson(prop); -// } -// } -// -// if (prop->lastupdateframe != g_Vars.prevupdateframe) { -// g_Vars.lvupdate240 = savedlvupdate240; -// g_Vars.lvupdate240_60 = savedlvupdate240_60; -// g_Vars.lvupdate240f = savedlvupdate240f; -// g_Vars.lvupdate240freal = savedlvupdate240f; -// } -// -// prop->lastupdateframe = g_Vars.updateframe; -// prop->propupdate240 = 0; -// prop->backgrounded = false; -// } else { -// // The prop is in the background -// // 61c -// if (prop->type == PROPTYPE_CHR) { -// g_Vars.propstates[prop->propstateindex].chrpropcount++; -// } else { -// g_Vars.propstates[prop->propstateindex].propcount++; -// } -// -// // 670 -// if (index == prop->propstateindex) { -// if (prop->lastupdateframe != g_Vars.propstates[index].lastupdateframe) { -// g_Vars.lvupdate240 = prop->propupdate240; -// g_Vars.lvupdate240_60 = prop->propupdate240 + prop->propupdate60err; -// prop->propupdate60err = g_Vars.lvupdate240_60 & 3; -// g_Vars.lvupdate240_60 >>= 2; -// g_Vars.lvupdate240f = g_Vars.lvupdate240 * 0.25f; -// g_Vars.lvupdate240freal = PALUPF(g_Vars.lvupdate240f); -// } else { -// g_Vars.lvupdate240 = savedslotupdate240; -// g_Vars.lvupdate240_60 = savedslotupdate240_60; -// g_Vars.lvupdate240f = savedslotupdate240f; -// g_Vars.lvupdate240freal = PALUPF(savedslotupdate240f); -// } -// -// // 704 -// if (prop->type == PROPTYPE_CHR) { -// struct chrdata *chr = prop->chr; -// -// splatTickChr(prop); -// -// if (chr && chr->aibot) { -// op = botTick(prop); -// } else { -// op = chrTick(prop); -// } -// } else if (prop->type == PROPTYPE_OBJ || prop->type == PROPTYPE_WEAPON || prop->type == PROPTYPE_DOOR) { -// struct defaultobj *obj = prop->obj; -// -// if (!g_PausableObjs[obj->type]) { -// op = objTickPlayer(prop); -// } else if (prop->timetoregen <= 0) { -// // The prop does not regenerate. If we've done a full -// // cycle of propstates while backgrounded and the prop -// // hasn't moved to the foreground, pause it. -// prop->backgroundedframes++; -// -// if (prop->backgroundedframes > g_Vars.numpropstates - 1) { -// propPause(prop); -// op = TICKOP_5; -// } -// } -// } else if (prop->type == PROPTYPE_EXPLOSION) { -// op = explosionTickPlayer(prop); -// } else if (prop->type == PROPTYPE_SMOKE) { -// op = smokeTickPlayer(prop); -// } else if (prop->type == PROPTYPE_PLAYER) { -// splatTickChr(prop); -// op = playerTickThirdPerson(prop); -// } -// -// // 844 -// if (g_Vars.propstates[index].lastupdateframe != prop->lastupdateframe) { -// g_Vars.lvupdate240 = savedslotupdate240; -// g_Vars.lvupdate240_60 = savedslotupdate240_60; -// g_Vars.lvupdate240f = savedslotupdate240f; -// g_Vars.lvupdate240freal = PALUPF(savedslotupdate240f); -// } -// -// prop->lastupdateframe = g_Vars.updateframe; -// prop->propupdate240 = 0; -// prop->backgrounded = true; -// } -// } -// -// g_Vars.lvupdate240 = savedlvupdate240; -// g_Vars.lvupdate240_60 = savedlvupdate240_60; -// g_Vars.lvupdate240f = savedlvupdate240f; -// g_Vars.lvupdate240freal = savedlvupdate240freal; -// -// // 8a0 -// if (op == TICKOP_5) { -// // Use the prop->next value that was taken at the start of the tick -// sp60 = next; -// } else { -// // Use the current prop->next value -// sp60 = prop->next; -// done = sp60 == g_Vars.pausedprops; -// -// if (op == TICKOP_RETICK) { -// prop->lastupdateframe = 0xffff; -// prop->forceonetick = true; -// -// propDelist(prop); -// propActivateThisFrame(prop); -// -// if (done) { -// sp60 = prop; -// done = false; -// } -// } else { -// propExecuteTickOperation(prop, op); -// } -// } -// -// prop = sp60; -// } -// -// // 93c -// // Redistribute propstates -// if (g_Vars.currentplayerindex == 0 && g_Vars.runstateindex == 0) { -// u16 least; -// u16 most; -// u8 mostindex; -// u8 leastindex; -// -// // 958 -// // propcount -// leastindex = mostindex = g_Vars.numpropstates; -// least = 0x7fff; -// most = 0; -// -// for (i = 0; i < g_Vars.numpropstates; i++) { -// if (g_Vars.propstates[i].propcount < least) { -// least = g_Vars.propstates[i].propcount; -// leastindex = i; -// } -// -// if (g_Vars.propstates[i].propcount > most) { -// most = g_Vars.propstates[i].propcount; -// mostindex = i; -// } -// } -// -// // 9c4 -// i = (g_Vars.propstates[(s32)mostindex].propcount - g_Vars.propstates[(s32)leastindex].propcount) >> 1; -// -// // 9f0 -// if (i != 0) { -// prop = g_Vars.activeprops; -// -// while (prop != g_Vars.pausedprops) { -// if (prop->propstateindex == mostindex && prop->backgrounded == 1 && prop->type != PROPTYPE_CHR) { -// prop->propstateindex = leastindex; -// i--; -// -// if (i == 0) { -// break; -// } -// } -// -// prop = prop->next; -// } -// } -// -// // a60 -// // foregroundpropcount -// leastindex = mostindex = g_Vars.numpropstates; -// least = 0x7fff; -// most = 0; -// -// for (i = 0; i < g_Vars.numpropstates; i++) { -// if (g_Vars.propstates[i].foregroundpropcount < least) { -// least = g_Vars.propstates[i].foregroundpropcount; -// leastindex = i; -// } -// -// if (g_Vars.propstates[i].foregroundpropcount > most) { -// most = g_Vars.propstates[i].foregroundpropcount; -// mostindex = i; -// } -// } -// -// i = (g_Vars.propstates[(s32)mostindex].foregroundpropcount - g_Vars.propstates[(s32)leastindex].foregroundpropcount) >> 1; -// -// if (i != 0) { -// prop = g_Vars.activeprops; -// -// while (prop != g_Vars.pausedprops) { -// if (mostindex == prop->propstateindex && prop->backgrounded == 0 && prop->type != PROPTYPE_CHR) { -// prop->propstateindex = leastindex; -// i--; -// -// if (i == 0) { -// break; -// } -// } -// -// prop = prop->next; -// } -// } -// -// // chrpropcount -// leastindex = mostindex = g_Vars.numpropstates; -// least = 0x7fff; -// most = 0; -// -// for (i = 0; i < g_Vars.numpropstates; i++) { -// if (g_Vars.propstates[i].chrpropcount < least) { -// least = g_Vars.propstates[i].chrpropcount; -// leastindex = i; -// } -// -// if (g_Vars.propstates[i].chrpropcount > most) { -// most = g_Vars.propstates[i].chrpropcount; -// mostindex = i; -// } -// } -// -// i = (g_Vars.propstates[(s32)mostindex].chrpropcount - g_Vars.propstates[(s32)leastindex].chrpropcount) >> 1; -// -// if (i != 0) { -// prop = g_Vars.activeprops; -// -// while (prop != g_Vars.pausedprops) { -// if (mostindex == prop->propstateindex && prop->backgrounded == 1 && prop->type == PROPTYPE_CHR) { -// prop->propstateindex = leastindex; -// i--; -// -// if (i == 0) { -// break; -// } -// } -// -// prop = prop->next; -// } -// } -// -// // foregroundchrpropcount -// leastindex = mostindex = g_Vars.numpropstates; -// least = 0x7fff; -// most = 0; -// -// for (i = 0; i < g_Vars.numpropstates; i++) { -// if (g_Vars.propstates[i].foregroundchrpropcount < least) { -// least = g_Vars.propstates[i].foregroundchrpropcount; -// leastindex = i; -// } -// -// if (g_Vars.propstates[i].foregroundchrpropcount > most) { -// most = g_Vars.propstates[i].foregroundchrpropcount; -// mostindex = i; -// } -// } -// -// i = (g_Vars.propstates[(s32)mostindex].foregroundchrpropcount - g_Vars.propstates[(s32)leastindex].foregroundchrpropcount) >> 1; -// -// if (i != 0) { -// prop = g_Vars.activeprops; -// -// while (prop != g_Vars.pausedprops) { -// if (mostindex == prop->propstateindex && prop->backgrounded == 0 && prop->type == PROPTYPE_CHR) { -// prop->propstateindex = leastindex; -// i--; -// -// if (i == 0) { -// break; -// } -// } -// -// prop = prop->next; -// } -// } -// } -// -// g_Vars.lvupdate240 = savedlvupdate240; -// g_Vars.lvupdate240_60 = savedlvupdate240_60; -// g_Vars.lvupdate240f = savedlvupdate240f; -// g_Vars.lvupdate240freal = savedlvupdate240freal; -// -// g_Vars.propstates[index].slotupdate240 = 0; -// g_Vars.propstates[index].lastupdateframe = g_Vars.updateframe; -// -// if (islastplayer) { -// alarmTick(); -// propsndTick(); -// propsDefragRoomProps(); -// } -// -// chr0f02472c(); -//} +void propsTickPlayer(bool islastplayer) +{ + struct prop *prop; + struct prop *end; + s32 savedlvupdate240; + s32 savedlvupdate240_60; + f32 savedlvupdate240f; + f32 savedlvupdate240freal; + s32 savedslotupdate240; + s32 savedslotupdate240_60; + f32 savedslotupdate240f; + struct g_vars *vars = &g_Vars; + s16 *rooms; + u8 mostindex; + u8 leastindex; + u8 runstateindex; + u8 flags; + s32 op; + struct prop *next; + struct prop *savednext; + struct defaultobj *obj; + u16 least; + u16 most; + s32 i; + bool done; + struct chrdata *chr1; + struct chrdata *chr2; + + g_Vars.hardfreeabletally = 0; + +#if VERSION >= VERSION_NTSC_1_0 + var8009cdac = 0; + var8009cdb0 = 0; +#endif + + if (islastplayer) { + g_Vars.prevupdateframe = g_Vars.updateframe; + g_Vars.updateframe++; + + // This condition never passes because g_Vars.updateframe is a u16 + if (g_Vars.updateframe == 0xffffffff) { + g_Vars.updateframe = 0; + } + } + + // Save these global timing values because we'll be modifying them + // and restoring them afterwards + savedlvupdate240 = g_Vars.lvupdate240; + savedlvupdate240_60 = g_Vars.lvupdate240_60; + savedlvupdate240f = g_Vars.lvupdate240f; + savedlvupdate240freal = g_Vars.lvupdate240freal; + + for (i = 0; i < g_Vars.numpropstates; i++) { + g_Vars.propstates[i].slotupdate240 += g_Vars.lvupdate240; + } + + g_Vars.runstateindex++; + + if (g_Vars.runstateindex >= g_Vars.numpropstates) { + g_Vars.runstateindex = 0; + } + + runstateindex = g_Vars.runstateindex; + + savedslotupdate240_60 = g_Vars.propstates[runstateindex].slotupdate240 + g_Vars.propstates[runstateindex].slotupdate60error; + g_Vars.propstates[runstateindex].slotupdate60error = (savedslotupdate240_60 & 3); + + savedslotupdate240 = g_Vars.propstates[runstateindex].slotupdate240; + savedslotupdate240f = g_Vars.propstates[runstateindex].slotupdate240 / 4.0f; + + savedslotupdate240_60 = (savedslotupdate240 + 2) >> 2; + + for (i = 0; i < g_Vars.numpropstates; i++) { + g_Vars.propstates[i].propcount = 0; + g_Vars.propstates[i].chrpropcount = 0; + g_Vars.propstates[i].foregroundpropcount = 0; + g_Vars.propstates[i].foregroundchrpropcount = 0; + } + + // Update the onscreen flags for all props + if (g_Vars.currentplayerindex == 0) { + // This is the first time propsTickPlayer has been called on this frame + prop = g_Vars.props; + end = &g_Vars.props[g_Vars.maxprops]; + + for (; prop < end; prop++) { + flags = prop->flags; + + if (flags & PROPFLAG_ONTHISSCREENTHISTICK) { + flags &= ~PROPFLAG_ONTHISSCREENTHISTICK; + } + + if (flags & PROPFLAG_ONANYSCREENTHISTICK) { + flags |= PROPFLAG_ONANYSCREENPREVTICK; + flags &= ~PROPFLAG_ONANYSCREENTHISTICK; + } else if (flags & PROPFLAG_ONANYSCREENPREVTICK) { + flags &= ~PROPFLAG_ONANYSCREENPREVTICK; + } + + flags |= PROPFLAG_NOTYETTICKED; + + prop->flags = flags; + } + } else { + // This is a subsequent call of propsTickPlayer on this frame + prop = g_Vars.props; + end = &g_Vars.props[g_Vars.maxprops]; + + for (; prop < end; prop++) { + flags = prop->flags; + + if (flags & PROPFLAG_ONTHISSCREENTHISTICK) { + flags &= ~PROPFLAG_ONTHISSCREENTHISTICK; + } + + prop->flags = flags; + } + } + + // Iterate all active props, decide if they are in the foreground or + // background and decide if they should be ticked. + done = false; + if (1); + for (prop = g_Vars.activeprops; !done; ) { + op = TICKOP_NONE; + savednext = prop->next; + done = savednext == g_Vars.pausedprops; + + // Tally up reasons for the prop to be in the foreground. + // The i variable is being reused as the score value. + // If the score is non-zero, the prop is a foreground prop. + i = 0; + + // During normal gameplay, all props would be put in the foreground + // if g_Vars.alwaystick is set. But it never is. + // For other modes such as cutscenes, everything is in the foreground. + if (g_Vars.tickmode != TICKMODE_NORMAL) { + i++; + } else { + i += g_Vars.alwaystick; + } + + // If the prop is in an on-screen room, it's in the foreground + rooms = prop->rooms; + + while (*rooms != -1) { + if (g_Rooms[*rooms].flags & ROOMFLAG_ONSCREEN) { + i++; + } + + rooms++; + } + + if (i == 0) { + // The player and projectiles must always be in the foreground + if (prop->type == PROPTYPE_PLAYER) { + i++; + } else if (prop->type == PROPTYPE_OBJ || prop->type == PROPTYPE_WEAPON) { + obj = prop->obj; + + if (obj->hidden & OBJHFLAG_PROJECTILE) { + i++; + } + } + + if (i == 0) { + // The prop will be in the foreground if it was on-screen on the + // previous tick, or if it explicitly needs to be ticked, or if + // it's in a standby room. + if ((prop->flags & (PROPFLAG_ENABLED | PROPFLAG_ONANYSCREENPREVTICK)) == (PROPFLAG_ENABLED | PROPFLAG_ONANYSCREENPREVTICK)) { + i++; + } else if (prop->forceonetick) { + i++; + prop->forceonetick = false; + } else if (prop->forcetick) { + i++; + } else { + rooms = prop->rooms; + + while (*rooms != -1) { + if (g_Rooms[*rooms].flags & ROOMFLAG_STANDBY) { + break; + } + + rooms++; + } + + if (*rooms != -1) { + i++; + } + } + } + } + + prop->propupdate240 += g_Vars.lvupdate240; + + if (i > 0) { + // The prop is in the foreground, so it must be ticked on this frame + if (prop->lastupdateframe != g_Vars.prevupdateframe) { + g_Vars.lvupdate240 = prop->propupdate240; + g_Vars.lvupdate240_60 = prop->propupdate240 + prop->propupdate60err; + prop->propupdate60err = g_Vars.lvupdate240_60 & 3; + g_Vars.lvupdate240_60 >>= 2; + g_Vars.lvupdate240f = g_Vars.lvupdate240 / 4.0f; + g_Vars.lvupdate240freal = PALUPF(g_Vars.lvupdate240f); + } else { + g_Vars.lvupdate240 = savedlvupdate240; + g_Vars.lvupdate240_60 = savedlvupdate240_60; + g_Vars.lvupdate240f = savedlvupdate240f; + g_Vars.lvupdate240freal = savedlvupdate240freal; + } + + prop->backgroundedframes = 0; + + // Tick the prop + if (prop->type == PROPTYPE_CHR) { + chr1 = prop->chr; + + splatTickChr(prop); + + if (chr1 && chr1->aibot) { + op = botTick(prop); + } else { + op = chrTick(prop); + } + + g_Vars.propstates[prop->propstateindex].foregroundchrpropcount++; + } else { + g_Vars.propstates[prop->propstateindex].foregroundpropcount++; + + if (prop->type == PROPTYPE_OBJ || prop->type == PROPTYPE_WEAPON || prop->type == PROPTYPE_DOOR) { + op = objTickPlayer(prop); + } else if (prop->type == PROPTYPE_EXPLOSION) { + op = explosionTickPlayer(prop); + } else if (prop->type == PROPTYPE_SMOKE) { + op = smokeTickPlayer(prop); + } else if (prop->type == PROPTYPE_PLAYER) { + splatTickChr(prop); + op = playerTickThirdPerson(prop); + } + } + + if (prop->lastupdateframe != g_Vars.prevupdateframe) { + g_Vars.lvupdate240 = savedlvupdate240; + g_Vars.lvupdate240_60 = savedlvupdate240_60; + g_Vars.lvupdate240f = savedlvupdate240f; + g_Vars.lvupdate240freal = savedlvupdate240freal; + } + + prop->lastupdateframe = g_Vars.updateframe; + prop->propupdate240 = 0; + prop->backgrounded = false; + } else { + // The prop is in the background. It should only be ticked on this + // frame if its propstate is the one being run on this frame. + if (prop->type == PROPTYPE_CHR) { + g_Vars.propstates[prop->propstateindex].chrpropcount++; + } else { + g_Vars.propstates[prop->propstateindex].propcount++; + } + + if (prop->propstateindex == runstateindex) { + if (prop->lastupdateframe != g_Vars.propstates[runstateindex].lastupdateframe) { + g_Vars.lvupdate240 = prop->propupdate240; + g_Vars.lvupdate240_60 = prop->propupdate240 + prop->propupdate60err; + prop->propupdate60err = g_Vars.lvupdate240_60 & 3; + g_Vars.lvupdate240_60 >>= 2; + g_Vars.lvupdate240f = g_Vars.lvupdate240 / 4.0f; + g_Vars.lvupdate240freal = PALUPF(g_Vars.lvupdate240f); + } else { + g_Vars.lvupdate240 = savedslotupdate240; + g_Vars.lvupdate240_60 = savedslotupdate240_60; + g_Vars.lvupdate240f = savedslotupdate240f; + vars->lvupdate240freal = PALUPF(savedslotupdate240f); + } + + // Tick the prop + if (prop->type == PROPTYPE_CHR) { + chr2 = prop->chr; + + splatTickChr(prop); + + if (chr2 && chr2->aibot) { + op = botTick(prop); + } else { + op = chrTick(prop); + } + } else if (prop->type == PROPTYPE_OBJ || prop->type == PROPTYPE_WEAPON || prop->type == PROPTYPE_DOOR) { + obj = prop->obj; + + if (!g_PausableObjs[obj->type]) { + op = objTickPlayer(prop); + } else if (prop->timetoregen <= 0) { + // The prop does not regenerate. If we've done a full + // cycle of propstates while backgrounded and the prop + // hasn't moved to the foreground, pause it. + prop->backgroundedframes++; + + if (prop->backgroundedframes > g_Vars.numpropstates - 1) { + propPause(prop); + op = TICKOP_CHANGEDLIST; + } + } + } else if (prop->type == PROPTYPE_EXPLOSION) { + op = explosionTickPlayer(prop); + } else if (prop->type == PROPTYPE_SMOKE) { + op = smokeTickPlayer(prop); + } else if (prop->type == PROPTYPE_PLAYER) { + splatTickChr(prop); + op = playerTickThirdPerson(prop); + } + + if (prop->lastupdateframe != g_Vars.propstates[runstateindex].lastupdateframe) { + g_Vars.lvupdate240 = savedslotupdate240; + g_Vars.lvupdate240_60 = savedslotupdate240_60; + g_Vars.lvupdate240f = savedslotupdate240f; + vars->lvupdate240freal = PALUPF(savedslotupdate240f); + } + + prop->lastupdateframe = g_Vars.updateframe; + prop->propupdate240 = 0; + prop->backgrounded = true; + } + } + + g_Vars.lvupdate240 = savedlvupdate240; + g_Vars.lvupdate240_60 = savedlvupdate240_60; + g_Vars.lvupdate240f = savedlvupdate240f; + g_Vars.lvupdate240freal = savedlvupdate240freal; + + if (op == TICKOP_CHANGEDLIST) { + // The prop has changed from active to paused, which means its + // `next` pointer now points to a paused prop and must not be used. + // Use the prop->next value that was taken before it ticked. + next = savednext; + } else { + // Use the current prop->next value + next = prop->next; + done = next == g_Vars.pausedprops; + + if (op == TICKOP_RETICK) { + prop->lastupdateframe = 0xffff; + prop->forceonetick = true; + + // Delisting and activating it again appends it to the active + // props list, which means it'll get ticked again on this frame. + propDelist(prop); + propActivateThisFrame(prop); + + if (done) { + next = prop; + done = false; + } + } else { + propExecuteTickOperation(prop, op); + } + } + + prop = next; + } + + // If this is the first time propsTickPlayer is being called on this frame, + // and we've completed a full cycle of the propstates, redistribute them. + // For each combination of background/foreground and chr/nonchr, take the + // propstates with the highest quantity of these props and move some to the + // lowest quantity propstate. + if (g_Vars.currentplayerindex == 0 && g_Vars.runstateindex == 0) { + // Background non-chrs + leastindex = g_Vars.numpropstates; + mostindex = g_Vars.numpropstates; + least = 0x7fff; + most = 0; + + for (i = 0; i < g_Vars.numpropstates; i++) { + if (g_Vars.propstates[i].propcount < least) { + least = g_Vars.propstates[i].propcount; + leastindex = i; + } + + if (g_Vars.propstates[i].propcount > most) { + most = g_Vars.propstates[i].propcount; + mostindex = i; + } + } + + i = (g_Vars.propstates[mostindex].propcount - g_Vars.propstates[leastindex].propcount) >> 1; + + if (i != 0) { + prop = g_Vars.activeprops; + + while (prop != g_Vars.pausedprops) { + if (prop->propstateindex == mostindex && prop->backgrounded == 1 && prop->type != PROPTYPE_CHR) { + prop->propstateindex = leastindex; + i--; + + if (i == 0) { + break; + } + } + + prop = prop->next; + } + } + + // Foreground non-chrs + leastindex = g_Vars.numpropstates; + mostindex = g_Vars.numpropstates; + least = 0x7fff; + most = 0; + + for (i = 0; i < g_Vars.numpropstates; i++) { + if (g_Vars.propstates[i].foregroundpropcount < least) { + least = g_Vars.propstates[i].foregroundpropcount; + leastindex = i; + } + + if (g_Vars.propstates[i].foregroundpropcount > most) { + most = g_Vars.propstates[i].foregroundpropcount; + mostindex = i; + } + } + + i = (g_Vars.propstates[mostindex].foregroundpropcount - g_Vars.propstates[leastindex].foregroundpropcount) >> 1; + + if (i != 0) { + prop = g_Vars.activeprops; + + while (prop != g_Vars.pausedprops) { + if (prop->propstateindex == mostindex && prop->backgrounded == 0 && prop->type != PROPTYPE_CHR) { + prop->propstateindex = leastindex; + i--; + + if (i == 0) { + break; + } + } + + prop = prop->next; + } + } + + // Background chrs + leastindex = g_Vars.numpropstates; + mostindex = g_Vars.numpropstates; + least = 0x7fff; + most = 0; + + for (i = 0; i < g_Vars.numpropstates; i++) { + if (g_Vars.propstates[i].chrpropcount < least) { + least = g_Vars.propstates[i].chrpropcount; + leastindex = i; + } + + if (g_Vars.propstates[i].chrpropcount > most) { + most = g_Vars.propstates[i].chrpropcount; + mostindex = i; + } + } + + i = (g_Vars.propstates[mostindex].chrpropcount - g_Vars.propstates[leastindex].chrpropcount) >> 1; + + if (i != 0) { + prop = g_Vars.activeprops; + + while (prop != g_Vars.pausedprops) { + if (prop->propstateindex == mostindex && prop->backgrounded == 1 && prop->type == PROPTYPE_CHR) { + prop->propstateindex = leastindex; + i--; + + if (i == 0) { + break; + } + } + + prop = prop->next; + } + } + + // Foreground chrs + leastindex = g_Vars.numpropstates; + mostindex = g_Vars.numpropstates; + least = 0x7fff; + most = 0; + + for (i = 0; i < g_Vars.numpropstates; i++) { + if (g_Vars.propstates[i].foregroundchrpropcount < least) { + least = g_Vars.propstates[i].foregroundchrpropcount; + leastindex = i; + } + + if (g_Vars.propstates[i].foregroundchrpropcount > most) { + most = g_Vars.propstates[i].foregroundchrpropcount; + mostindex = i; + } + } + + i = (g_Vars.propstates[mostindex].foregroundchrpropcount - g_Vars.propstates[leastindex].foregroundchrpropcount) >> 1; + + if (i != 0) { + prop = g_Vars.activeprops; + + while (prop != g_Vars.pausedprops) { + if (prop->propstateindex == mostindex && prop->backgrounded == 0 && prop->type == PROPTYPE_CHR) { + prop->propstateindex = leastindex; + i--; + + if (i == 0) { + break; + } + } + + prop = prop->next; + } + } + } + + g_Vars.lvupdate240 = savedlvupdate240; + g_Vars.lvupdate240_60 = savedlvupdate240_60; + g_Vars.lvupdate240f = savedlvupdate240f; + g_Vars.lvupdate240freal = savedlvupdate240freal; + + g_Vars.propstates[runstateindex].slotupdate240 = 0; + g_Vars.propstates[runstateindex].lastupdateframe = g_Vars.updateframe; + + if (islastplayer) { + alarmTick(); + propsndTick(); + propsDefragRoomProps(); + } + + chr0f02472c(); +} void propsTickPadEffects(void) { diff --git a/src/game/propobj.c b/src/game/propobj.c index 8b5246fea..4f7d1efef 100644 --- a/src/game/propobj.c +++ b/src/game/propobj.c @@ -22607,7 +22607,7 @@ s32 objTickPlayer(struct prop *prop) sp592 = projectileTick(obj, &embedded); if (embedded) { - result = TICKOP_5; + result = TICKOP_CHANGEDLIST; } } diff --git a/src/game/proptick.c b/src/game/proptick.c index 701efc2e3..aab0be465 100644 --- a/src/game/proptick.c +++ b/src/game/proptick.c @@ -83,7 +83,7 @@ void propsTick(void) tickop = playerTickBeams(prop); } - if (tickop == TICKOP_5) { + if (tickop == TICKOP_CHANGEDLIST) { next2 = next; } else { next2 = prop->next; diff --git a/src/include/constants.h b/src/include/constants.h index 3aae42692..55f23c43c 100644 --- a/src/include/constants.h +++ b/src/include/constants.h @@ -4024,7 +4024,7 @@ #define TICKOP_DISABLE 2 #define TICKOP_RETICK 3 #define TICKOP_GIVETOPLAYER 4 -#define TICKOP_5 5 +#define TICKOP_CHANGEDLIST 5 #define TIMEPRECISION_DAYS 0 #define TIMEPRECISION_HOURS 1 diff --git a/src/include/game/prop.h b/src/include/game/prop.h index fdd440492..d802ec35c 100644 --- a/src/include/game/prop.h +++ b/src/include/game/prop.h @@ -35,7 +35,7 @@ void propFindForUplink(void); bool currentPlayerInteract(bool eyespy); void propPause(struct prop *prop); void propUnpause(struct prop *prop); -void propsTickPlayer(u32 islastplayer); +void propsTickPlayer(bool islastplayer); void propsTickPadEffects(void); void propSetPerimEnabled(struct prop *prop, bool enable); void propsTestForPickup(void);