papermario/asm/nonmatchings/code_70BD10/func_8023803C_70BD4C.s
Ethan Roseman 20a99f4037 OK
2021-02-03 15:40:16 +09:00

692 lines
36 KiB
ArmAsm
Generated

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8023803C_70BD4C
/* 70BD4C 8023803C 27BDFF98 */ addiu $sp, $sp, -0x68
/* 70BD50 80238040 AFB00030 */ sw $s0, 0x30($sp)
/* 70BD54 80238044 3C10800E */ lui $s0, %hi(gBattleStatus)
/* 70BD58 80238048 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
/* 70BD5C 8023804C AFBF0054 */ sw $ra, 0x54($sp)
/* 70BD60 80238050 AFBE0050 */ sw $fp, 0x50($sp)
/* 70BD64 80238054 AFB7004C */ sw $s7, 0x4c($sp)
/* 70BD68 80238058 AFB60048 */ sw $s6, 0x48($sp)
/* 70BD6C 8023805C AFB50044 */ sw $s5, 0x44($sp)
/* 70BD70 80238060 AFB40040 */ sw $s4, 0x40($sp)
/* 70BD74 80238064 AFB3003C */ sw $s3, 0x3c($sp)
/* 70BD78 80238068 AFB20038 */ sw $s2, 0x38($sp)
/* 70BD7C 8023806C AFB10034 */ sw $s1, 0x34($sp)
/* 70BD80 80238070 F7B60060 */ sdc1 $f22, 0x60($sp)
/* 70BD84 80238074 F7B40058 */ sdc1 $f20, 0x58($sp)
/* 70BD88 80238078 AFA40068 */ sw $a0, 0x68($sp)
/* 70BD8C 8023807C 8E1700DC */ lw $s7, 0xdc($s0)
/* 70BD90 80238080 8E0200D8 */ lw $v0, 0xd8($s0)
/* 70BD94 80238084 26F6000C */ addiu $s6, $s7, 0xc
/* 70BD98 80238088 10A00002 */ beqz $a1, .L80238094
/* 70BD9C 8023808C 245E000C */ addiu $fp, $v0, 0xc
/* 70BDA0 80238090 AC800070 */ sw $zero, 0x70($a0)
.L80238094:
/* 70BDA4 80238094 8FA80068 */ lw $t0, 0x68($sp)
/* 70BDA8 80238098 8D030070 */ lw $v1, 0x70($t0)
/* 70BDAC 8023809C 24020001 */ addiu $v0, $zero, 1
/* 70BDB0 802380A0 106200B4 */ beq $v1, $v0, .L80238374
/* 70BDB4 802380A4 28620002 */ slti $v0, $v1, 2
/* 70BDB8 802380A8 10400005 */ beqz $v0, .L802380C0
/* 70BDBC 802380AC 24020002 */ addiu $v0, $zero, 2
/* 70BDC0 802380B0 10600007 */ beqz $v1, .L802380D0
/* 70BDC4 802380B4 00000000 */ nop
/* 70BDC8 802380B8 0808E21D */ j .L80238874
/* 70BDCC 802380BC 00000000 */ nop
.L802380C0:
/* 70BDD0 802380C0 106200CD */ beq $v1, $v0, .L802383F8
/* 70BDD4 802380C4 00000000 */ nop
/* 70BDD8 802380C8 0808E21D */ j .L80238874
/* 70BDDC 802380CC 00000000 */ nop
.L802380D0:
/* 70BDE0 802380D0 3C048029 */ lui $a0, %hi(D_8029369C)
/* 70BDE4 802380D4 2484369C */ addiu $a0, $a0, %lo(D_8029369C)
/* 70BDE8 802380D8 0C050529 */ jal create_icon
/* 70BDEC 802380DC 0000902D */ daddu $s2, $zero, $zero
/* 70BDF0 802380E0 0040202D */ daddu $a0, $v0, $zero
/* 70BDF4 802380E4 3C018024 */ lui $at, %hi(D_8023D288)
/* 70BDF8 802380E8 AC24D288 */ sw $a0, %lo(D_8023D288)($at)
/* 70BDFC 802380EC 0C051277 */ jal func_801449DC
/* 70BE00 802380F0 2405000A */ addiu $a1, $zero, 0xa
/* 70BE04 802380F4 3C048029 */ lui $a0, %hi(D_802936D4)
/* 70BE08 802380F8 248436D4 */ addiu $a0, $a0, %lo(D_802936D4)
/* 70BE0C 802380FC 0C050529 */ jal create_icon
/* 70BE10 80238100 00000000 */ nop
/* 70BE14 80238104 0040202D */ daddu $a0, $v0, $zero
/* 70BE18 80238108 2405000A */ addiu $a1, $zero, 0xa
/* 70BE1C 8023810C 3C108024 */ lui $s0, %hi(D_8023D28C)
/* 70BE20 80238110 2610D28C */ addiu $s0, $s0, %lo(D_8023D28C)
/* 70BE24 80238114 0C051277 */ jal func_801449DC
/* 70BE28 80238118 AE040000 */ sw $a0, ($s0)
/* 70BE2C 8023811C 3C148024 */ lui $s4, %hi(D_8023D2B8)
/* 70BE30 80238120 2694D2B8 */ addiu $s4, $s4, %lo(D_8023D2B8)
/* 70BE34 80238124 8E040000 */ lw $a0, ($s0)
/* 70BE38 80238128 3C138024 */ lui $s3, %hi(D_8023AB80_70E890)
/* 70BE3C 8023812C 0C0513CA */ jal func_80144F28
/* 70BE40 80238130 2673AB80 */ addiu $s3, $s3, %lo(D_8023AB80_70E890)
/* 70BE44 80238134 3C048011 */ lui $a0, %hi(D_80108E1C)
/* 70BE48 80238138 24848E1C */ addiu $a0, $a0, %lo(D_80108E1C)
/* 70BE4C 8023813C 3C118024 */ lui $s1, %hi(D_8023D2C0)
/* 70BE50 80238140 2631D2C0 */ addiu $s1, $s1, %lo(D_8023D2C0)
/* 70BE54 80238144 2402FFD0 */ addiu $v0, $zero, -0x30
/* 70BE58 80238148 3C108024 */ lui $s0, %hi(D_8023D2C4)
/* 70BE5C 8023814C 2610D2C4 */ addiu $s0, $s0, %lo(D_8023D2C4)
/* 70BE60 80238150 AE220000 */ sw $v0, ($s1)
/* 70BE64 80238154 24020046 */ addiu $v0, $zero, 0x46
/* 70BE68 80238158 0C050529 */ jal create_icon
/* 70BE6C 8023815C AE020000 */ sw $v0, ($s0)
/* 70BE70 80238160 0040A82D */ daddu $s5, $v0, $zero
/* 70BE74 80238164 8E250000 */ lw $a1, ($s1)
/* 70BE78 80238168 8E060000 */ lw $a2, ($s0)
/* 70BE7C 8023816C 3C018024 */ lui $at, %hi(D_8023D2BC)
/* 70BE80 80238170 AC35D2BC */ sw $s5, %lo(D_8023D2BC)($at)
/* 70BE84 80238174 0C051261 */ jal set_icon_render_pos
/* 70BE88 80238178 02A0202D */ daddu $a0, $s5, $zero
/* 70BE8C 8023817C 02A0202D */ daddu $a0, $s5, $zero
/* 70BE90 80238180 0C051277 */ jal func_801449DC
/* 70BE94 80238184 0240282D */ daddu $a1, $s2, $zero
.L80238188:
/* 70BE98 80238188 8E640000 */ lw $a0, ($s3)
/* 70BE9C 8023818C 26730004 */ addiu $s3, $s3, 4
/* 70BEA0 80238190 0C050529 */ jal create_icon
/* 70BEA4 80238194 26520001 */ addiu $s2, $s2, 1
/* 70BEA8 80238198 0040202D */ daddu $a0, $v0, $zero
/* 70BEAC 8023819C 2405000A */ addiu $a1, $zero, 0xa
/* 70BEB0 802381A0 0C051277 */ jal func_801449DC
/* 70BEB4 802381A4 AE840000 */ sw $a0, ($s4)
/* 70BEB8 802381A8 1A40FFF7 */ blez $s2, .L80238188
/* 70BEBC 802381AC 26940004 */ addiu $s4, $s4, 4
/* 70BEC0 802381B0 C6E00144 */ lwc1 $f0, 0x144($s7)
/* 70BEC4 802381B4 3C014204 */ lui $at, 0x4204
/* 70BEC8 802381B8 44813000 */ mtc1 $at, $f6
/* 70BECC 802381BC 00000000 */ nop
/* 70BED0 802381C0 46060000 */ add.s $f0, $f0, $f6
/* 70BED4 802381C4 3C014208 */ lui $at, 0x4208
/* 70BED8 802381C8 44812000 */ mtc1 $at, $f4
/* 70BEDC 802381CC E6C00000 */ swc1 $f0, ($s6)
/* 70BEE0 802381D0 C6E00148 */ lwc1 $f0, 0x148($s7)
/* 70BEE4 802381D4 46040000 */ add.s $f0, $f0, $f4
/* 70BEE8 802381D8 3C014170 */ lui $at, 0x4170
/* 70BEEC 802381DC 44811000 */ mtc1 $at, $f2
/* 70BEF0 802381E0 E6C00004 */ swc1 $f0, 4($s6)
/* 70BEF4 802381E4 C6E0014C */ lwc1 $f0, 0x14c($s7)
/* 70BEF8 802381E8 46020000 */ add.s $f0, $f0, $f2
/* 70BEFC 802381EC E6C00008 */ swc1 $f0, 8($s6)
/* 70BF00 802381F0 C6E00144 */ lwc1 $f0, 0x144($s7)
/* 70BF04 802381F4 46060000 */ add.s $f0, $f0, $f6
/* 70BF08 802381F8 E6C00018 */ swc1 $f0, 0x18($s6)
/* 70BF0C 802381FC C6E00148 */ lwc1 $f0, 0x148($s7)
/* 70BF10 80238200 46040000 */ add.s $f0, $f0, $f4
/* 70BF14 80238204 E6C0001C */ swc1 $f0, 0x1c($s6)
/* 70BF18 80238208 C6E0014C */ lwc1 $f0, 0x14c($s7)
/* 70BF1C 8023820C 46020000 */ add.s $f0, $f0, $f2
/* 70BF20 80238210 E6C00020 */ swc1 $f0, 0x20($s6)
/* 70BF24 80238214 86E50428 */ lh $a1, 0x428($s7)
/* 70BF28 80238218 82E60426 */ lb $a2, 0x426($s7)
/* 70BF2C 8023821C 0C09A5D5 */ jal set_goal_pos_to_part
/* 70BF30 80238220 02C0202D */ daddu $a0, $s6, $zero
/* 70BF34 80238224 86E40428 */ lh $a0, 0x428($s7)
/* 70BF38 80238228 0C09A75B */ jal get_actor
/* 70BF3C 8023822C 00000000 */ nop
/* 70BF40 80238230 0040882D */ daddu $s1, $v0, $zero
/* 70BF44 80238234 82E50426 */ lb $a1, 0x426($s7)
/* 70BF48 80238238 0C099117 */ jal get_actor_part
/* 70BF4C 8023823C 0220202D */ daddu $a0, $s1, $zero
/* 70BF50 80238240 0040802D */ daddu $s0, $v0, $zero
/* 70BF54 80238244 C6CC0000 */ lwc1 $f12, ($s6)
/* 70BF58 80238248 82020075 */ lb $v0, 0x75($s0)
/* 70BF5C 8023824C C6C0000C */ lwc1 $f0, 0xc($s6)
/* 70BF60 80238250 44821000 */ mtc1 $v0, $f2
/* 70BF64 80238254 00000000 */ nop
/* 70BF68 80238258 468010A0 */ cvt.s.w $f2, $f2
/* 70BF6C 8023825C 46020000 */ add.s $f0, $f0, $f2
/* 70BF70 80238260 C6CE0004 */ lwc1 $f14, 4($s6)
/* 70BF74 80238264 E6C0000C */ swc1 $f0, 0xc($s6)
/* 70BF78 80238268 82020076 */ lb $v0, 0x76($s0)
/* 70BF7C 8023826C C6C00010 */ lwc1 $f0, 0x10($s6)
/* 70BF80 80238270 44821000 */ mtc1 $v0, $f2
/* 70BF84 80238274 00000000 */ nop
/* 70BF88 80238278 468010A0 */ cvt.s.w $f2, $f2
/* 70BF8C 8023827C 46020000 */ add.s $f0, $f0, $f2
/* 70BF90 80238280 8EC6000C */ lw $a2, 0xc($s6)
/* 70BF94 80238284 E6C00010 */ swc1 $f0, 0x10($s6)
/* 70BF98 80238288 44070000 */ mfc1 $a3, $f0
/* 70BF9C 8023828C 0C00A7B5 */ jal dist2D
/* 70BFA0 80238290 C6C00014 */ lwc1 $f0, 0x14($s6)
/* 70BFA4 80238294 E6C0004C */ swc1 $f0, 0x4c($s6)
/* 70BFA8 80238298 3C014040 */ lui $at, 0x4040
/* 70BFAC 8023829C 44810000 */ mtc1 $at, $f0
/* 70BFB0 802382A0 3C01BF80 */ lui $at, 0xbf80
/* 70BFB4 802382A4 44811000 */ mtc1 $at, $f2
/* 70BFB8 802382A8 2402001E */ addiu $v0, $zero, 0x1e
/* 70BFBC 802382AC AEC00040 */ sw $zero, 0x40($s6)
/* 70BFC0 802382B0 AEC00030 */ sw $zero, 0x30($s6)
/* 70BFC4 802382B4 AEC00034 */ sw $zero, 0x34($s6)
/* 70BFC8 802382B8 3C018024 */ lui $at, %hi(D_8023D290)
/* 70BFCC 802382BC AC20D290 */ sw $zero, %lo(D_8023D290)($at)
/* 70BFD0 802382C0 3C018024 */ lui $at, %hi(D_8023D294)
/* 70BFD4 802382C4 AC20D294 */ sw $zero, %lo(D_8023D294)($at)
/* 70BFD8 802382C8 3C018024 */ lui $at, %hi(D_8023D298)
/* 70BFDC 802382CC AC22D298 */ sw $v0, %lo(D_8023D298)($at)
/* 70BFE0 802382D0 3C018024 */ lui $at, %hi(D_8023D2A0)
/* 70BFE4 802382D4 AC20D2A0 */ sw $zero, %lo(D_8023D2A0)($at)
/* 70BFE8 802382D8 3C018024 */ lui $at, %hi(D_8023D2A4)
/* 70BFEC 802382DC AC20D2A4 */ sw $zero, %lo(D_8023D2A4)($at)
/* 70BFF0 802382E0 3C018024 */ lui $at, %hi(D_8023D2A8)
/* 70BFF4 802382E4 AC20D2A8 */ sw $zero, %lo(D_8023D2A8)($at)
/* 70BFF8 802382E8 3C018024 */ lui $at, %hi(D_8023D2AC)
/* 70BFFC 802382EC AC20D2AC */ sw $zero, %lo(D_8023D2AC)($at)
/* 70C000 802382F0 3C018024 */ lui $at, %hi(D_8023D29C)
/* 70C004 802382F4 AC20D29C */ sw $zero, %lo(D_8023D29C)($at)
/* 70C008 802382F8 3C018024 */ lui $at, %hi(D_8023D2B0)
/* 70C00C 802382FC E420D2B0 */ swc1 $f0, %lo(D_8023D2B0)($at)
/* 70C010 80238300 3C018024 */ lui $at, %hi(D_8023D2B4)
/* 70C014 80238304 E422D2B4 */ swc1 $f2, %lo(D_8023D2B4)($at)
/* 70C018 80238308 92020073 */ lbu $v0, 0x73($s0)
/* 70C01C 8023830C 92030072 */ lbu $v1, 0x72($s0)
/* 70C020 80238310 3C014038 */ lui $at, 0x4038
/* 70C024 80238314 44811800 */ mtc1 $at, $f3
/* 70C028 80238318 44801000 */ mtc1 $zero, $f2
/* 70C02C 8023831C 00431021 */ addu $v0, $v0, $v1
/* 70C030 80238320 00021043 */ sra $v0, $v0, 1
/* 70C034 80238324 44820000 */ mtc1 $v0, $f0
/* 70C038 80238328 00000000 */ nop
/* 70C03C 8023832C 46800021 */ cvt.d.w $f0, $f0
/* 70C040 80238330 46220003 */ div.d $f0, $f0, $f2
/* 70C044 80238334 46200020 */ cvt.s.d $f0, $f0
/* 70C048 80238338 E6C00024 */ swc1 $f0, 0x24($s6)
/* 70C04C 8023833C C6220188 */ lwc1 $f2, 0x188($s1)
/* 70C050 80238340 46020002 */ mul.s $f0, $f0, $f2
/* 70C054 80238344 00000000 */ nop
/* 70C058 80238348 3C048024 */ lui $a0, %hi(D_8023D28C)
/* 70C05C 8023834C 8C84D28C */ lw $a0, %lo(D_8023D28C)($a0)
/* 70C060 80238350 44050000 */ mfc1 $a1, $f0
/* 70C064 80238354 0C051308 */ jal func_80144C20
/* 70C068 80238358 00000000 */ nop
/* 70C06C 8023835C 8FA90068 */ lw $t1, 0x68($sp)
/* 70C070 80238360 24020001 */ addiu $v0, $zero, 1
/* 70C074 80238364 3C018024 */ lui $at, %hi(D_8023D2C8)
/* 70C078 80238368 AC22D2C8 */ sw $v0, %lo(D_8023D2C8)($at)
/* 70C07C 8023836C 0808E21D */ j .L80238874
/* 70C080 80238370 AD220070 */ sw $v0, 0x70($t1)
.L80238374:
/* 70C084 80238374 8E02021C */ lw $v0, 0x21c($s0)
/* 70C088 80238378 14400004 */ bnez $v0, .L8023838C
/* 70C08C 8023837C 00000000 */ nop
/* 70C090 80238380 8E020220 */ lw $v0, 0x220($s0)
/* 70C094 80238384 10400003 */ beqz $v0, .L80238394
/* 70C098 80238388 00000000 */ nop
.L8023838C:
/* 70C09C 8023838C 3C018024 */ lui $at, %hi(D_8023D298)
/* 70C0A0 80238390 AC20D298 */ sw $zero, %lo(D_8023D298)($at)
.L80238394:
/* 70C0A4 80238394 3C038024 */ lui $v1, %hi(D_8023D298)
/* 70C0A8 80238398 2463D298 */ addiu $v1, $v1, %lo(D_8023D298)
/* 70C0AC 8023839C 8C620000 */ lw $v0, ($v1)
/* 70C0B0 802383A0 10400003 */ beqz $v0, .L802383B0
/* 70C0B4 802383A4 2442FFFF */ addiu $v0, $v0, -1
/* 70C0B8 802383A8 0808E21D */ j .L80238874
/* 70C0BC 802383AC AC620000 */ sw $v0, ($v1)
.L802383B0:
/* 70C0C0 802383B0 3C058011 */ lui $a1, %hi(D_801091E4)
/* 70C0C4 802383B4 24A591E4 */ addiu $a1, $a1, %lo(D_801091E4)
/* 70C0C8 802383B8 3C048024 */ lui $a0, %hi(D_8023D2BC)
/* 70C0CC 802383BC 8C84D2BC */ lw $a0, %lo(D_8023D2BC)($a0)
/* 70C0D0 802383C0 24020050 */ addiu $v0, $zero, 0x50
/* 70C0D4 802383C4 0C0511FF */ jal set_menu_icon_script
/* 70C0D8 802383C8 AC620000 */ sw $v0, ($v1)
/* 70C0DC 802383CC 44800000 */ mtc1 $zero, $f0
/* 70C0E0 802383D0 24040312 */ addiu $a0, $zero, 0x312
/* 70C0E4 802383D4 44060000 */ mfc1 $a2, $f0
/* 70C0E8 802383D8 0000282D */ daddu $a1, $zero, $zero
/* 70C0EC 802383DC 00C0382D */ daddu $a3, $a2, $zero
/* 70C0F0 802383E0 0C052757 */ jal play_sound_at_position
/* 70C0F4 802383E4 AFA60010 */ sw $a2, 0x10($sp)
/* 70C0F8 802383E8 8FA80068 */ lw $t0, 0x68($sp)
/* 70C0FC 802383EC 24020002 */ addiu $v0, $zero, 2
/* 70C100 802383F0 0808E21D */ j .L80238874
/* 70C104 802383F4 AD020070 */ sw $v0, 0x70($t0)
.L802383F8:
/* 70C108 802383F8 8E05022C */ lw $a1, 0x22c($s0)
/* 70C10C 802383FC 28A20051 */ slti $v0, $a1, 0x51
/* 70C110 80238400 50400001 */ beql $v0, $zero, .L80238408
/* 70C114 80238404 24050050 */ addiu $a1, $zero, 0x50
.L80238408:
/* 70C118 80238408 C6160228 */ lwc1 $f22, 0x228($s0)
/* 70C11C 8023840C 4680B5A0 */ cvt.s.w $f22, $f22
/* 70C120 80238410 28A20023 */ slti $v0, $a1, 0x23
/* 70C124 80238414 10400014 */ beqz $v0, .L80238468
/* 70C128 80238418 00051040 */ sll $v0, $a1, 1
/* 70C12C 8023841C 3C0140C9 */ lui $at, 0x40c9
/* 70C130 80238420 34210FD0 */ ori $at, $at, 0xfd0
/* 70C134 80238424 44810000 */ mtc1 $at, $f0
/* 70C138 80238428 44826000 */ mtc1 $v0, $f12
/* 70C13C 8023842C 00000000 */ nop
/* 70C140 80238430 46806320 */ cvt.s.w $f12, $f12
/* 70C144 80238434 46006302 */ mul.s $f12, $f12, $f0
/* 70C148 80238438 00000000 */ nop
/* 70C14C 8023843C 3C0143B4 */ lui $at, 0x43b4
/* 70C150 80238440 44810000 */ mtc1 $at, $f0
/* 70C154 80238444 4485A000 */ mtc1 $a1, $f20
/* 70C158 80238448 00000000 */ nop
/* 70C15C 8023844C 4680A520 */ cvt.s.w $f20, $f20
/* 70C160 80238450 0C00A85B */ jal sin_rad
/* 70C164 80238454 46006303 */ div.s $f12, $f12, $f0
/* 70C168 80238458 4600A502 */ mul.s $f20, $f20, $f0
/* 70C16C 8023845C 00000000 */ nop
/* 70C170 80238460 4600A28D */ trunc.w.s $f10, $f20
/* 70C174 80238464 44055000 */ mfc1 $a1, $f10
.L80238468:
/* 70C178 80238468 3C038024 */ lui $v1, %hi(D_8023D2A0)
/* 70C17C 8023846C 2463D2A0 */ addiu $v1, $v1, %lo(D_8023D2A0)
/* 70C180 80238470 3C048024 */ lui $a0, %hi(D_8023D2A4)
/* 70C184 80238474 2484D2A4 */ addiu $a0, $a0, %lo(D_8023D2A4)
/* 70C188 80238478 C4680000 */ lwc1 $f8, ($v1)
/* 70C18C 8023847C C4860000 */ lwc1 $f6, ($a0)
/* 70C190 80238480 3C028024 */ lui $v0, %hi(D_8023D2A8)
/* 70C194 80238484 2442D2A8 */ addiu $v0, $v0, %lo(D_8023D2A8)
/* 70C198 80238488 46064080 */ add.s $f2, $f8, $f6
/* 70C19C 8023848C C4400000 */ lwc1 $f0, ($v0)
/* 70C1A0 80238490 3C014040 */ lui $at, 0x4040
/* 70C1A4 80238494 44812000 */ mtc1 $at, $f4
/* 70C1A8 80238498 46001080 */ add.s $f2, $f2, $f0
/* 70C1AC 8023849C 44850000 */ mtc1 $a1, $f0
/* 70C1B0 802384A0 00000000 */ nop
/* 70C1B4 802384A4 46800020 */ cvt.s.w $f0, $f0
/* 70C1B8 802384A8 E4600000 */ swc1 $f0, ($v1)
/* 70C1BC 802384AC 46041083 */ div.s $f2, $f2, $f4
/* 70C1C0 802384B0 46020001 */ sub.s $f0, $f0, $f2
/* 70C1C4 802384B4 E4460000 */ swc1 $f6, ($v0)
/* 70C1C8 802384B8 4600028D */ trunc.w.s $f10, $f0
/* 70C1CC 802384BC 44025000 */ mfc1 $v0, $f10
/* 70C1D0 802384C0 00000000 */ nop
/* 70C1D4 802384C4 1840002B */ blez $v0, .L80238574
/* 70C1D8 802384C8 E4880000 */ swc1 $f8, ($a0)
/* 70C1DC 802384CC C6E6004C */ lwc1 $f6, 0x4c($s7)
/* 70C1E0 802384D0 44800000 */ mtc1 $zero, $f0
/* 70C1E4 802384D4 44822000 */ mtc1 $v0, $f4
/* 70C1E8 802384D8 00000000 */ nop
/* 70C1EC 802384DC 46802120 */ cvt.s.w $f4, $f4
/* 70C1F0 802384E0 3C018024 */ lui $at, %hi(D_8023D2AC)
/* 70C1F4 802384E4 E424D2AC */ swc1 $f4, %lo(D_8023D2AC)($at)
/* 70C1F8 802384E8 46003032 */ c.eq.s $f6, $f0
/* 70C1FC 802384EC 00000000 */ nop
/* 70C200 802384F0 4503000F */ bc1tl .L80238530
/* 70C204 802384F4 460020A1 */ cvt.d.s $f2, $f4
/* 70C208 802384F8 460030A1 */ cvt.d.s $f2, $f6
/* 70C20C 802384FC 46002021 */ cvt.d.s $f0, $f4
/* 70C210 80238500 3C014021 */ lui $at, 0x4021
/* 70C214 80238504 44812800 */ mtc1 $at, $f5
/* 70C218 80238508 44802000 */ mtc1 $zero, $f4
/* 70C21C 8023850C 3C014008 */ lui $at, 0x4008
/* 70C220 80238510 44813800 */ mtc1 $at, $f7
/* 70C224 80238514 44803000 */ mtc1 $zero, $f6
/* 70C228 80238518 46240003 */ div.d $f0, $f0, $f4
/* 70C22C 8023851C 46260003 */ div.d $f0, $f0, $f6
/* 70C230 80238520 46201080 */ add.d $f2, $f2, $f0
/* 70C234 80238524 462010A0 */ cvt.s.d $f2, $f2
/* 70C238 80238528 0808E159 */ j .L80238564
/* 70C23C 8023852C E6E2004C */ swc1 $f2, 0x4c($s7)
.L80238530:
/* 70C240 80238530 3C014021 */ lui $at, 0x4021
/* 70C244 80238534 44810800 */ mtc1 $at, $f1
/* 70C248 80238538 44800000 */ mtc1 $zero, $f0
/* 70C24C 8023853C 3C013FE0 */ lui $at, 0x3fe0
/* 70C250 80238540 44812800 */ mtc1 $at, $f5
/* 70C254 80238544 44802000 */ mtc1 $zero, $f4
/* 70C258 80238548 46201083 */ div.d $f2, $f2, $f0
/* 70C25C 8023854C 46241082 */ mul.d $f2, $f2, $f4
/* 70C260 80238550 00000000 */ nop
/* 70C264 80238554 46003021 */ cvt.d.s $f0, $f6
/* 70C268 80238558 46220000 */ add.d $f0, $f0, $f2
/* 70C26C 8023855C 46200020 */ cvt.s.d $f0, $f0
/* 70C270 80238560 E6E0004C */ swc1 $f0, 0x4c($s7)
.L80238564:
/* 70C274 80238564 3C018024 */ lui $at, %hi(D_8023D2B4)
/* 70C278 80238568 E436D2B4 */ swc1 $f22, %lo(D_8023D2B4)($at)
/* 70C27C 8023856C 0808E163 */ j .L8023858C
/* 70C280 80238570 28A2001F */ slti $v0, $a1, 0x1f
.L80238574:
/* 70C284 80238574 44820000 */ mtc1 $v0, $f0
/* 70C288 80238578 00000000 */ nop
/* 70C28C 8023857C 46800020 */ cvt.s.w $f0, $f0
/* 70C290 80238580 3C018024 */ lui $at, %hi(D_8023D2AC)
/* 70C294 80238584 E420D2AC */ swc1 $f0, %lo(D_8023D2AC)($at)
/* 70C298 80238588 28A2001F */ slti $v0, $a1, 0x1f
.L8023858C:
/* 70C29C 8023858C 14400003 */ bnez $v0, .L8023859C
/* 70C2A0 80238590 00000000 */ nop
/* 70C2A4 80238594 3C018024 */ lui $at, %hi(D_8023D2B4)
/* 70C2A8 80238598 E436D2B4 */ swc1 $f22, %lo(D_8023D2B4)($at)
.L8023859C:
/* 70C2AC 8023859C C6C00040 */ lwc1 $f0, 0x40($s6)
/* 70C2B0 802385A0 3C018024 */ lui $at, %hi(D_8023D1B0_710EC0)
/* 70C2B4 802385A4 D422D1B0 */ ldc1 $f2, %lo(D_8023D1B0_710EC0)($at)
/* 70C2B8 802385A8 46000021 */ cvt.d.s $f0, $f0
/* 70C2BC 802385AC 4620103C */ c.lt.d $f2, $f0
/* 70C2C0 802385B0 00000000 */ nop
/* 70C2C4 802385B4 45000006 */ bc1f .L802385D0
/* 70C2C8 802385B8 24020028 */ addiu $v0, $zero, 0x28
/* 70C2CC 802385BC 3C0140D6 */ lui $at, 0x40d6
/* 70C2D0 802385C0 34216666 */ ori $at, $at, 0x6666
/* 70C2D4 802385C4 44810000 */ mtc1 $at, $f0
/* 70C2D8 802385C8 00000000 */ nop
/* 70C2DC 802385CC E6C00040 */ swc1 $f0, 0x40($s6)
.L802385D0:
/* 70C2E0 802385D0 00451023 */ subu $v0, $v0, $a1
/* 70C2E4 802385D4 44820000 */ mtc1 $v0, $f0
/* 70C2E8 802385D8 00000000 */ nop
/* 70C2EC 802385DC 46800021 */ cvt.d.w $f0, $f0
/* 70C2F0 802385E0 46200000 */ add.d $f0, $f0, $f0
/* 70C2F4 802385E4 3C014044 */ lui $at, 0x4044
/* 70C2F8 802385E8 44811800 */ mtc1 $at, $f3
/* 70C2FC 802385EC 44801000 */ mtc1 $zero, $f2
/* 70C300 802385F0 00000000 */ nop
/* 70C304 802385F4 46220003 */ div.d $f0, $f0, $f2
/* 70C308 802385F8 C6C20040 */ lwc1 $f2, 0x40($s6)
/* 70C30C 802385FC 46200020 */ cvt.s.d $f0, $f0
/* 70C310 80238600 46001081 */ sub.s $f2, $f2, $f0
/* 70C314 80238604 4480B000 */ mtc1 $zero, $f22
/* 70C318 80238608 00000000 */ nop
/* 70C31C 8023860C 4616103E */ c.le.s $f2, $f22
/* 70C320 80238610 00000000 */ nop
/* 70C324 80238614 45000004 */ bc1f .L80238628
/* 70C328 80238618 E6C20040 */ swc1 $f2, 0x40($s6)
/* 70C32C 8023861C E6D60040 */ swc1 $f22, 0x40($s6)
/* 70C330 80238620 3C018024 */ lui $at, %hi(D_8023D2AC)
/* 70C334 80238624 E436D2AC */ swc1 $f22, %lo(D_8023D2AC)($at)
.L80238628:
/* 70C338 80238628 3C018024 */ lui $at, %hi(D_8023D2B4)
/* 70C33C 8023862C C420D2B4 */ lwc1 $f0, %lo(D_8023D2B4)($at)
/* 70C340 80238630 4600B03E */ c.le.s $f22, $f0
/* 70C344 80238634 00000000 */ nop
/* 70C348 80238638 4500001B */ bc1f .L802386A8
/* 70C34C 8023863C 00000000 */ nop
/* 70C350 80238640 3C0140C9 */ lui $at, 0x40c9
/* 70C354 80238644 34210FD0 */ ori $at, $at, 0xfd0
/* 70C358 80238648 4481A000 */ mtc1 $at, $f20
/* 70C35C 8023864C 00000000 */ nop
/* 70C360 80238650 46140502 */ mul.s $f20, $f0, $f20
/* 70C364 80238654 00000000 */ nop
/* 70C368 80238658 3C0143B4 */ lui $at, 0x43b4
/* 70C36C 8023865C 44810000 */ mtc1 $at, $f0
/* 70C370 80238660 00000000 */ nop
/* 70C374 80238664 4600A503 */ div.s $f20, $f20, $f0
/* 70C378 80238668 0C00A85B */ jal sin_rad
/* 70C37C 8023866C 4600A306 */ mov.s $f12, $f20
/* 70C380 80238670 4600A306 */ mov.s $f12, $f20
/* 70C384 80238674 0C00A874 */ jal cos_rad
/* 70C388 80238678 46000506 */ mov.s $f20, $f0
/* 70C38C 8023867C C6C40040 */ lwc1 $f4, 0x40($s6)
/* 70C390 80238680 46142502 */ mul.s $f20, $f4, $f20
/* 70C394 80238684 00000000 */ nop
/* 70C398 80238688 46002102 */ mul.s $f4, $f4, $f0
/* 70C39C 8023868C 00000000 */ nop
/* 70C3A0 80238690 C6C20000 */ lwc1 $f2, ($s6)
/* 70C3A4 80238694 46141080 */ add.s $f2, $f2, $f20
/* 70C3A8 80238698 C6C00004 */ lwc1 $f0, 4($s6)
/* 70C3AC 8023869C 46040000 */ add.s $f0, $f0, $f4
/* 70C3B0 802386A0 E6C20000 */ swc1 $f2, ($s6)
/* 70C3B4 802386A4 E6C00004 */ swc1 $f0, 4($s6)
.L802386A8:
/* 70C3B8 802386A8 C6C00000 */ lwc1 $f0, ($s6)
/* 70C3BC 802386AC 3C01C1F0 */ lui $at, 0xc1f0
/* 70C3C0 802386B0 44811000 */ mtc1 $at, $f2
/* 70C3C4 802386B4 00000000 */ nop
/* 70C3C8 802386B8 4602003C */ c.lt.s $f0, $f2
/* 70C3CC 802386BC 00000000 */ nop
/* 70C3D0 802386C0 45030001 */ bc1tl .L802386C8
/* 70C3D4 802386C4 E6C20000 */ swc1 $f2, ($s6)
.L802386C8:
/* 70C3D8 802386C8 C6C00000 */ lwc1 $f0, ($s6)
/* 70C3DC 802386CC 3C01432A */ lui $at, 0x432a
/* 70C3E0 802386D0 44811000 */ mtc1 $at, $f2
/* 70C3E4 802386D4 00000000 */ nop
/* 70C3E8 802386D8 4600103C */ c.lt.s $f2, $f0
/* 70C3EC 802386DC 00000000 */ nop
/* 70C3F0 802386E0 45030001 */ bc1tl .L802386E8
/* 70C3F4 802386E4 E6C20000 */ swc1 $f2, ($s6)
.L802386E8:
/* 70C3F8 802386E8 C6C00004 */ lwc1 $f0, 4($s6)
/* 70C3FC 802386EC 3C014302 */ lui $at, 0x4302
/* 70C400 802386F0 44811000 */ mtc1 $at, $f2
/* 70C404 802386F4 00000000 */ nop
/* 70C408 802386F8 4600103C */ c.lt.s $f2, $f0
/* 70C40C 802386FC 00000000 */ nop
/* 70C410 80238700 45030001 */ bc1tl .L80238708
/* 70C414 80238704 E6C20004 */ swc1 $f2, 4($s6)
.L80238708:
/* 70C418 80238708 C6C00004 */ lwc1 $f0, 4($s6)
/* 70C41C 8023870C 4616003C */ c.lt.s $f0, $f22
/* 70C420 80238710 00000000 */ nop
/* 70C424 80238714 45030001 */ bc1tl .L8023871C
/* 70C428 80238718 E6D60004 */ swc1 $f22, 4($s6)
.L8023871C:
/* 70C42C 8023871C 8E020214 */ lw $v0, 0x214($s0)
/* 70C430 80238720 30428000 */ andi $v0, $v0, 0x8000
/* 70C434 80238724 10400003 */ beqz $v0, .L80238734
/* 70C438 80238728 00000000 */ nop
/* 70C43C 8023872C 3C018024 */ lui $at, %hi(D_8023D298)
/* 70C440 80238730 AC20D298 */ sw $zero, %lo(D_8023D298)($at)
.L80238734:
/* 70C444 80238734 3C108024 */ lui $s0, %hi(D_8023D298)
/* 70C448 80238738 2610D298 */ addiu $s0, $s0, %lo(D_8023D298)
/* 70C44C 8023873C 8E030000 */ lw $v1, ($s0)
/* 70C450 80238740 2402003C */ addiu $v0, $zero, 0x3c
/* 70C454 80238744 14620008 */ bne $v1, $v0, .L80238768
/* 70C458 80238748 2402001E */ addiu $v0, $zero, 0x1e
/* 70C45C 8023874C 24040100 */ addiu $a0, $zero, 0x100
/* 70C460 80238750 0000282D */ daddu $a1, $zero, $zero
/* 70C464 80238754 3C060010 */ lui $a2, 0x10
/* 70C468 80238758 0C098F3F */ jal set_animation
/* 70C46C 8023875C 34C60010 */ ori $a2, $a2, 0x10
/* 70C470 80238760 8E030000 */ lw $v1, ($s0)
/* 70C474 80238764 2402001E */ addiu $v0, $zero, 0x1e
.L80238768:
/* 70C478 80238768 14620005 */ bne $v1, $v0, .L80238780
/* 70C47C 8023876C 24040100 */ addiu $a0, $zero, 0x100
/* 70C480 80238770 0000282D */ daddu $a1, $zero, $zero
/* 70C484 80238774 3C060010 */ lui $a2, 0x10
/* 70C488 80238778 0C098F3F */ jal set_animation
/* 70C48C 8023877C 34C60011 */ ori $a2, $a2, 0x11
.L80238780:
/* 70C490 80238780 8E020000 */ lw $v0, ($s0)
/* 70C494 80238784 10400003 */ beqz $v0, .L80238794
/* 70C498 80238788 2442FFFF */ addiu $v0, $v0, -1
/* 70C49C 8023878C 0808E21D */ j .L80238874
/* 70C4A0 80238790 AE020000 */ sw $v0, ($s0)
.L80238794:
/* 70C4A4 80238794 8FA90068 */ lw $t1, 0x68($sp)
/* 70C4A8 80238798 AD2000BC */ sw $zero, 0xbc($t1)
/* 70C4AC 8023879C AD2000C0 */ sw $zero, 0xc0($t1)
/* 70C4B0 802387A0 C6C00000 */ lwc1 $f0, ($s6)
/* 70C4B4 802387A4 4600028D */ trunc.w.s $f10, $f0
/* 70C4B8 802387A8 E52A00A0 */ swc1 $f10, 0xa0($t1)
/* 70C4BC 802387AC C6C00004 */ lwc1 $f0, 4($s6)
/* 70C4C0 802387B0 4600028D */ trunc.w.s $f10, $f0
/* 70C4C4 802387B4 E52A00A4 */ swc1 $f10, 0xa4($t1)
/* 70C4C8 802387B8 C6C00008 */ lwc1 $f0, 8($s6)
/* 70C4CC 802387BC 4600028D */ trunc.w.s $f10, $f0
/* 70C4D0 802387C0 E52A00A8 */ swc1 $f10, 0xa8($t1)
/* 70C4D4 802387C4 C6CC0000 */ lwc1 $f12, ($s6)
/* 70C4D8 802387C8 C6CE0004 */ lwc1 $f14, 4($s6)
/* 70C4DC 802387CC 8EC6000C */ lw $a2, 0xc($s6)
/* 70C4E0 802387D0 0C00A7B5 */ jal dist2D
/* 70C4E4 802387D4 8EC70010 */ lw $a3, 0x10($s6)
/* 70C4E8 802387D8 C6C20024 */ lwc1 $f2, 0x24($s6)
/* 70C4EC 802387DC 3C014028 */ lui $at, 0x4028
/* 70C4F0 802387E0 44812800 */ mtc1 $at, $f5
/* 70C4F4 802387E4 44802000 */ mtc1 $zero, $f4
/* 70C4F8 802387E8 46020003 */ div.s $f0, $f0, $f2
/* 70C4FC 802387EC 460000A1 */ cvt.d.s $f2, $f0
/* 70C500 802387F0 4624103E */ c.le.d $f2, $f4
/* 70C504 802387F4 00000000 */ nop
/* 70C508 802387F8 45000004 */ bc1f .L8023880C
/* 70C50C 802387FC E6C0004C */ swc1 $f0, 0x4c($s6)
/* 70C510 80238800 8FA90068 */ lw $t1, 0x68($sp)
/* 70C514 80238804 24020001 */ addiu $v0, $zero, 1
/* 70C518 80238808 AD2200C0 */ sw $v0, 0xc0($t1)
.L8023880C:
/* 70C51C 8023880C 3C048024 */ lui $a0, %hi(D_8023D28C)
/* 70C520 80238810 8C84D28C */ lw $a0, %lo(D_8023D28C)($a0)
/* 70C524 80238814 0C05123D */ jal free_icon
/* 70C528 80238818 0000902D */ daddu $s2, $zero, $zero
/* 70C52C 8023881C 3C048024 */ lui $a0, %hi(D_8023D288)
/* 70C530 80238820 8C84D288 */ lw $a0, %lo(D_8023D288)($a0)
/* 70C534 80238824 0C05123D */ jal free_icon
/* 70C538 80238828 00000000 */ nop
/* 70C53C 8023882C 3C048024 */ lui $a0, %hi(D_8023D2BC)
/* 70C540 80238830 8C84D2BC */ lw $a0, %lo(D_8023D2BC)($a0)
/* 70C544 80238834 3C108024 */ lui $s0, %hi(D_8023D2B8)
/* 70C548 80238838 2610D2B8 */ addiu $s0, $s0, %lo(D_8023D2B8)
/* 70C54C 8023883C 0C05123D */ jal free_icon
/* 70C550 80238840 00000000 */ nop
.L80238844:
/* 70C554 80238844 8E040000 */ lw $a0, ($s0)
/* 70C558 80238848 26100004 */ addiu $s0, $s0, 4
/* 70C55C 8023884C 0C05123D */ jal free_icon
/* 70C560 80238850 26520001 */ addiu $s2, $s2, 1
/* 70C564 80238854 1A40FFFB */ blez $s2, .L80238844
/* 70C568 80238858 00000000 */ nop
/* 70C56C 8023885C 0C093EB1 */ jal set_popup_duration
/* 70C570 80238860 0000202D */ daddu $a0, $zero, $zero
/* 70C574 80238864 0C05271B */ jal stop_sound
/* 70C578 80238868 24040312 */ addiu $a0, $zero, 0x312
/* 70C57C 8023886C 0808E28D */ j .L80238A34
/* 70C580 80238870 24020002 */ addiu $v0, $zero, 2
.L80238874:
/* 70C584 80238874 3C148007 */ lui $s4, %hi(gCurrentCameraID)
/* 70C588 80238878 26947410 */ addiu $s4, $s4, %lo(gCurrentCameraID)
/* 70C58C 8023887C 27B30020 */ addiu $s3, $sp, 0x20
/* 70C590 80238880 27B20024 */ addiu $s2, $sp, 0x24
/* 70C594 80238884 8E840000 */ lw $a0, ($s4)
/* 70C598 80238888 27B10028 */ addiu $s1, $sp, 0x28
/* 70C59C 8023888C AFB30010 */ sw $s3, 0x10($sp)
/* 70C5A0 80238890 AFB20014 */ sw $s2, 0x14($sp)
/* 70C5A4 80238894 AFB10018 */ sw $s1, 0x18($sp)
/* 70C5A8 80238898 8EC5000C */ lw $a1, 0xc($s6)
/* 70C5AC 8023889C 8EC60010 */ lw $a2, 0x10($s6)
/* 70C5B0 802388A0 0C00B94E */ jal get_screen_coords
/* 70C5B4 802388A4 8EC70014 */ lw $a3, 0x14($s6)
/* 70C5B8 802388A8 3C158024 */ lui $s5, %hi(D_8023D28C)
/* 70C5BC 802388AC 8EB5D28C */ lw $s5, %lo(D_8023D28C)($s5)
/* 70C5C0 802388B0 8FA50020 */ lw $a1, 0x20($sp)
/* 70C5C4 802388B4 8FA60024 */ lw $a2, 0x24($sp)
/* 70C5C8 802388B8 0C051261 */ jal set_icon_render_pos
/* 70C5CC 802388BC 02A0202D */ daddu $a0, $s5, $zero
/* 70C5D0 802388C0 02A0202D */ daddu $a0, $s5, $zero
/* 70C5D4 802388C4 3C108024 */ lui $s0, %hi(D_8023D290)
/* 70C5D8 802388C8 2610D290 */ addiu $s0, $s0, %lo(D_8023D290)
/* 70C5DC 802388CC 44800000 */ mtc1 $zero, $f0
/* 70C5E0 802388D0 C60A0000 */ lwc1 $f10, ($s0)
/* 70C5E4 802388D4 468052A0 */ cvt.s.w $f10, $f10
/* 70C5E8 802388D8 44050000 */ mfc1 $a1, $f0
/* 70C5EC 802388DC 44075000 */ mfc1 $a3, $f10
/* 70C5F0 802388E0 0C051489 */ jal func_80145224
/* 70C5F4 802388E4 00A0302D */ daddu $a2, $a1, $zero
/* 70C5F8 802388E8 8E020000 */ lw $v0, ($s0)
/* 70C5FC 802388EC 2442FFF6 */ addiu $v0, $v0, -0xa
/* 70C600 802388F0 44826000 */ mtc1 $v0, $f12
/* 70C604 802388F4 00000000 */ nop
/* 70C608 802388F8 46806320 */ cvt.s.w $f12, $f12
/* 70C60C 802388FC 0C00A6C9 */ jal clamp_angle
/* 70C610 80238900 AE020000 */ sw $v0, ($s0)
/* 70C614 80238904 8E840000 */ lw $a0, ($s4)
/* 70C618 80238908 AFB30010 */ sw $s3, 0x10($sp)
/* 70C61C 8023890C AFB20014 */ sw $s2, 0x14($sp)
/* 70C620 80238910 AFB10018 */ sw $s1, 0x18($sp)
/* 70C624 80238914 8EC50000 */ lw $a1, ($s6)
/* 70C628 80238918 8EC60004 */ lw $a2, 4($s6)
/* 70C62C 8023891C 8EC70008 */ lw $a3, 8($s6)
/* 70C630 80238920 4600028D */ trunc.w.s $f10, $f0
/* 70C634 80238924 0C00B94E */ jal get_screen_coords
/* 70C638 80238928 E60A0000 */ swc1 $f10, ($s0)
/* 70C63C 8023892C 3C048024 */ lui $a0, %hi(D_8023D288)
/* 70C640 80238930 8C84D288 */ lw $a0, %lo(D_8023D288)($a0)
/* 70C644 80238934 8FA50020 */ lw $a1, 0x20($sp)
/* 70C648 80238938 0C051261 */ jal set_icon_render_pos
/* 70C64C 8023893C 8FA60024 */ lw $a2, 0x24($sp)
/* 70C650 80238940 8FA90068 */ lw $t1, 0x68($sp)
/* 70C654 80238944 8D230070 */ lw $v1, 0x70($t1)
/* 70C658 80238948 28620003 */ slti $v0, $v1, 3
/* 70C65C 8023894C 10400013 */ beqz $v0, .L8023899C
/* 70C660 80238950 00000000 */ nop
/* 70C664 80238954 18600011 */ blez $v1, .L8023899C
/* 70C668 80238958 00000000 */ nop
/* 70C66C 8023895C 3C058024 */ lui $a1, %hi(D_8023D2C0)
/* 70C670 80238960 24A5D2C0 */ addiu $a1, $a1, %lo(D_8023D2C0)
/* 70C674 80238964 8CA20000 */ lw $v0, ($a1)
/* 70C678 80238968 24420014 */ addiu $v0, $v0, 0x14
/* 70C67C 8023896C ACA20000 */ sw $v0, ($a1)
/* 70C680 80238970 28420033 */ slti $v0, $v0, 0x33
/* 70C684 80238974 14400002 */ bnez $v0, .L80238980
/* 70C688 80238978 24020032 */ addiu $v0, $zero, 0x32
/* 70C68C 8023897C ACA20000 */ sw $v0, ($a1)
.L80238980:
/* 70C690 80238980 3C048024 */ lui $a0, %hi(D_8023D2BC)
/* 70C694 80238984 8C84D2BC */ lw $a0, %lo(D_8023D2BC)($a0)
/* 70C698 80238988 8CA50000 */ lw $a1, ($a1)
/* 70C69C 8023898C 3C068024 */ lui $a2, %hi(D_8023D2C4)
/* 70C6A0 80238990 8CC6D2C4 */ lw $a2, %lo(D_8023D2C4)($a2)
/* 70C6A4 80238994 0C051261 */ jal set_icon_render_pos
/* 70C6A8 80238998 00000000 */ nop
.L8023899C:
/* 70C6AC 8023899C 8FA80068 */ lw $t0, 0x68($sp)
/* 70C6B0 802389A0 8D040070 */ lw $a0, 0x70($t0)
/* 70C6B4 802389A4 28820003 */ slti $v0, $a0, 3
/* 70C6B8 802389A8 1040001F */ beqz $v0, .L80238A28
/* 70C6BC 802389AC 00000000 */ nop
/* 70C6C0 802389B0 1880001D */ blez $a0, .L80238A28
/* 70C6C4 802389B4 0000902D */ daddu $s2, $zero, $zero
/* 70C6C8 802389B8 27B40020 */ addiu $s4, $sp, 0x20
/* 70C6CC 802389BC C6C00000 */ lwc1 $f0, ($s6)
/* 70C6D0 802389C0 27B30024 */ addiu $s3, $sp, 0x24
/* 70C6D4 802389C4 E7C00000 */ swc1 $f0, ($fp)
/* 70C6D8 802389C8 C6C00004 */ lwc1 $f0, 4($s6)
/* 70C6DC 802389CC 27B10028 */ addiu $s1, $sp, 0x28
/* 70C6E0 802389D0 E7C00004 */ swc1 $f0, 4($fp)
/* 70C6E4 802389D4 C6C00008 */ lwc1 $f0, 8($s6)
/* 70C6E8 802389D8 3C108024 */ lui $s0, %hi(D_8023D2B8)
/* 70C6EC 802389DC 2610D2B8 */ addiu $s0, $s0, %lo(D_8023D2B8)
/* 70C6F0 802389E0 E7C00008 */ swc1 $f0, 8($fp)
.L802389E4:
/* 70C6F4 802389E4 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 70C6F8 802389E8 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 70C6FC 802389EC AFB40010 */ sw $s4, 0x10($sp)
/* 70C700 802389F0 AFB30014 */ sw $s3, 0x14($sp)
/* 70C704 802389F4 AFB10018 */ sw $s1, 0x18($sp)
/* 70C708 802389F8 8FC50000 */ lw $a1, ($fp)
/* 70C70C 802389FC 8FC60004 */ lw $a2, 4($fp)
/* 70C710 80238A00 8FC70008 */ lw $a3, 8($fp)
/* 70C714 80238A04 0C00B94E */ jal get_screen_coords
/* 70C718 80238A08 26520001 */ addiu $s2, $s2, 1
/* 70C71C 80238A0C 8E040000 */ lw $a0, ($s0)
/* 70C720 80238A10 8FA50020 */ lw $a1, 0x20($sp)
/* 70C724 80238A14 8FA60024 */ lw $a2, 0x24($sp)
/* 70C728 80238A18 0C051261 */ jal set_icon_render_pos
/* 70C72C 80238A1C 26100004 */ addiu $s0, $s0, 4
/* 70C730 80238A20 1A40FFF0 */ blez $s2, .L802389E4
/* 70C734 80238A24 00000000 */ nop
.L80238A28:
/* 70C738 80238A28 0C093EB1 */ jal set_popup_duration
/* 70C73C 80238A2C 24040063 */ addiu $a0, $zero, 0x63
/* 70C740 80238A30 0000102D */ daddu $v0, $zero, $zero
.L80238A34:
/* 70C744 80238A34 8FBF0054 */ lw $ra, 0x54($sp)
/* 70C748 80238A38 8FBE0050 */ lw $fp, 0x50($sp)
/* 70C74C 80238A3C 8FB7004C */ lw $s7, 0x4c($sp)
/* 70C750 80238A40 8FB60048 */ lw $s6, 0x48($sp)
/* 70C754 80238A44 8FB50044 */ lw $s5, 0x44($sp)
/* 70C758 80238A48 8FB40040 */ lw $s4, 0x40($sp)
/* 70C75C 80238A4C 8FB3003C */ lw $s3, 0x3c($sp)
/* 70C760 80238A50 8FB20038 */ lw $s2, 0x38($sp)
/* 70C764 80238A54 8FB10034 */ lw $s1, 0x34($sp)
/* 70C768 80238A58 8FB00030 */ lw $s0, 0x30($sp)
/* 70C76C 80238A5C D7B60060 */ ldc1 $f22, 0x60($sp)
/* 70C770 80238A60 D7B40058 */ ldc1 $f20, 0x58($sp)
/* 70C774 80238A64 03E00008 */ jr $ra
/* 70C778 80238A68 27BD0068 */ addiu $sp, $sp, 0x68