prime/asm/MetroidPrime/CTargetReticles.s

6578 lines
332 KiB
ArmAsm
Raw Permalink Normal View History

2022-04-12 09:14:24 +00:00
.include "macros.inc"
2022-08-10 05:34:11 +00:00
.section .ctors, "wa"
lbl_ctor:
.4byte __sinit_CTargetReticles_cpp
2022-04-21 06:32:43 +00:00
.section .sdata
.balign 8
2022-04-21 06:32:43 +00:00
.global lbl_805A7230
lbl_805A7230:
# ROM: 0x3F4BD0
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-21 06:32:43 +00:00
.global lbl_805A7234
lbl_805A7234:
# ROM: 0x3F4BD4
.4byte 0
.global lbl_805A7238
lbl_805A7238:
# ROM: 0x3F4BD8
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-21 06:32:43 +00:00
.global lbl_805A723C
lbl_805A723C:
# ROM: 0x3F4BDC
.4byte 0
.global lbl_805A7240
lbl_805A7240:
# ROM: 0x3F4BE0
.4byte 0
.global lbl_805A7244
lbl_805A7244:
# ROM: 0x3F4BE4
.4byte 0
.global lbl_805A7248
lbl_805A7248:
# ROM: 0x3F4BE8
.4byte 0
.global lbl_805A724C
lbl_805A724C:
# ROM: 0x3F4BEC
.4byte 0
.global lbl_805A7250
lbl_805A7250:
# ROM: 0x3F4BF0
.4byte 0
.global lbl_805A7254
lbl_805A7254:
# ROM: 0x3F4BF4
.4byte 0
.global lbl_805A7258
lbl_805A7258:
# ROM: 0x3F4BF8
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-21 06:32:43 +00:00
.global lbl_805A725C
lbl_805A725C:
# ROM: 0x3F4BFC
.4byte 0
.global lbl_805A7260
lbl_805A7260:
# ROM: 0x3F4C00
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-21 06:32:43 +00:00
.global lbl_805A7264
lbl_805A7264:
# ROM: 0x3F4C04
.4byte 0
.global lbl_805A7268
lbl_805A7268:
# ROM: 0x3F4C08
.4byte 0
.global lbl_805A726C
lbl_805A726C:
# ROM: 0x3F4C0C
.4byte 0
.global lbl_805A7270
lbl_805A7270:
# ROM: 0x3F4C10
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-21 06:32:43 +00:00
.global lbl_805A7274
lbl_805A7274:
# ROM: 0x3F4C14
.4byte 0
2022-04-16 23:18:42 +00:00
.section .bss
.balign 8
2022-04-16 23:18:42 +00:00
.lcomm lbl_8046C450, 0x20, 4
2022-07-14 05:48:03 +00:00
2022-07-18 05:20:04 +00:00
.section .sdata2, "a"
.balign 8
2022-07-18 05:20:04 +00:00
.global lbl_805AAA50
lbl_805AAA50:
# ROM: 0x3F72F0
.4byte 0
.global lbl_805AAA54
lbl_805AAA54:
# ROM: 0x3F72F4
.float 0.017453292
.global lbl_805AAA58
lbl_805AAA58:
# ROM: 0x3F72F8
.float 1.0
.global lbl_805AAA5C
lbl_805AAA5C:
# ROM: 0x3F72FC
.4byte 0x42C80000
.global lbl_805AAA60
lbl_805AAA60:
# ROM: 0x3F7300
.double 4.503601774854144E15
.global lbl_805AAA68
lbl_805AAA68:
# ROM: 0x3F7308
.4byte 0x43300000
.4byte 0
.global lbl_805AAA70
lbl_805AAA70:
# ROM: 0x3F7310
.float 0.7853982
.global lbl_805AAA74
lbl_805AAA74:
# ROM: 0x3F7314
.float 0.1
.global lbl_805AAA78
lbl_805AAA78:
# ROM: 0x3F7318
.4byte 0x43600000
.global lbl_805AAA7C
lbl_805AAA7C:
# ROM: 0x3F731C
.float 6.2831855
.global lbl_805AAA80
lbl_805AAA80:
# ROM: 0x3F7320
.4byte 0x3B360B61
.global lbl_805AAA84
lbl_805AAA84:
# ROM: 0x3F7324
.float 0.5
.global lbl_805AAA88
lbl_805AAA88:
# ROM: 0x3F7328
.float 0.16666667
.global lbl_805AAA8C
lbl_805AAA8C:
# ROM: 0x3F732C
.float 2.5
.global lbl_805AAA90
lbl_805AAA90:
# ROM: 0x3F7330
.4byte 0xBF000000
.global lbl_805AAA94
lbl_805AAA94:
# ROM: 0x3F7334
.4byte 0xC1A40000
.global lbl_805AAA98
lbl_805AAA98:
# ROM: 0x3F7338
.4byte 0x41A40000
.global lbl_805AAA9C
lbl_805AAA9C:
# ROM: 0x3F733C
.float -1.0
.global lbl_805AAAA0
lbl_805AAAA0:
# ROM: 0x3F7340
.float 0.35
.global lbl_805AAAA4
lbl_805AAAA4:
# ROM: 0x3F7344
.4byte 0x46FFFE00
.global lbl_805AAAA8
lbl_805AAAA8:
# ROM: 0x3F7348
.4byte 0x3F4CCCCD
.global lbl_805AAAAC
lbl_805AAAAC:
# ROM: 0x3F734C
.float 255.0
.global lbl_805AAAB0
lbl_805AAAB0:
# ROM: 0x3F7350
.float 0.3
.global lbl_805AAAB4
lbl_805AAAB4:
# ROM: 0x3F7354
.float 0.2
.global lbl_805AAAB8
lbl_805AAAB8:
# ROM: 0x3F7358
.float 0.75
.global lbl_805AAABC
lbl_805AAABC:
# ROM: 0x3F735C
.4byte 0x3F0CCCCD
.global lbl_805AAAC0
lbl_805AAAC0:
# ROM: 0x3F7360
.double 9.999999747378752E-6
.global lbl_805AAAC8
lbl_805AAAC8:
# ROM: 0x3F7368
.float 2.0
.global lbl_805AAACC
lbl_805AAACC:
# ROM: 0x3F736C
.4byte 0x3F266666
.global lbl_805AAAD0
lbl_805AAAD0:
# ROM: 0x3F7370
.float 1.1920929E-7
.global lbl_805AAAD4
lbl_805AAAD4:
# ROM: 0x3F7374
.4byte 0x3E22F983
.global lbl_805AAAD8
lbl_805AAAD8:
# ROM: 0x3F7378
.float 1.1920929E-7
.global lbl_805AAADC
lbl_805AAADC:
# ROM: 0x3F737C
.4byte 0x42652EE0
.global lbl_805AAAE0
lbl_805AAAE0:
# ROM: 0x3F7380
.4byte 0x42340000
.global lbl_805AAAE4
lbl_805AAAE4:
# ROM: 0x3F7384
.4byte 0x40490FDB
2022-04-12 09:14:24 +00:00
.section .text, "ax"
.global ResetInterpolationTimer__17COrbitPointMarkerFf
ResetInterpolationTimer__17COrbitPointMarkerFf:
/* 800BC2B0 000B9210 D0 23 00 20 */ stfs f1, 0x20(r3)
2022-07-14 05:48:03 +00:00
/* 800BC2B4 000B9214 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global Draw__17COrbitPointMarkerCFRC13CStateManager
Draw__17COrbitPointMarkerCFRC13CStateManager:
/* 800BC2B8 000B9218 94 21 FE 70 */ stwu r1, -0x190(r1)
/* 800BC2BC 000B921C 7C 08 02 A6 */ mflr r0
/* 800BC2C0 000B9220 90 01 01 94 */ stw r0, 0x194(r1)
/* 800BC2C4 000B9224 DB E1 01 80 */ stfd f31, 0x180(r1)
/* 800BC2C8 000B9228 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0
/* 800BC2CC 000B922C DB C1 01 70 */ stfd f30, 0x170(r1)
/* 800BC2D0 000B9230 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0
/* 800BC2D4 000B9234 93 E1 01 6C */ stw r31, 0x16c(r1)
/* 800BC2D8 000B9238 93 C1 01 68 */ stw r30, 0x168(r1)
/* 800BC2DC 000B923C 93 A1 01 64 */ stw r29, 0x164(r1)
/* 800BC2E0 000B9240 7C 7F 1B 78 */ mr r31, r3
/* 800BC2E4 000B9244 7C 9D 23 78 */ mr r29, r4
/* 800BC2E8 000B9248 88 03 00 1C */ lbz r0, 0x1c(r3)
/* 800BC2EC 000B924C 28 00 00 00 */ cmplwi r0, 0
/* 800BC2F0 000B9250 40 82 00 14 */ bne lbl_800BC304
/* 800BC2F4 000B9254 C0 3F 00 20 */ lfs f1, 0x20(r31)
/* 800BC2F8 000B9258 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BC2FC 000B925C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BC300 000B9260 40 81 02 9C */ ble lbl_800BC59C
lbl_800BC304:
/* 800BC304 000B9264 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BC308 000B9268 88 03 01 C8 */ lbz r0, 0x1c8(r3)
/* 800BC30C 000B926C 28 00 00 00 */ cmplwi r0, 0
/* 800BC310 000B9270 41 82 02 8C */ beq lbl_800BC59C
/* 800BC314 000B9274 80 1F 00 30 */ lwz r0, 0x30(r31)
/* 800BC318 000B9278 28 00 00 00 */ cmplwi r0, 0
/* 800BC31C 000B927C 40 82 00 30 */ bne lbl_800BC34C
/* 800BC320 000B9280 88 1F 00 2C */ lbz r0, 0x2c(r31)
/* 800BC324 000B9284 28 00 00 00 */ cmplwi r0, 0
/* 800BC328 000B9288 41 82 00 24 */ beq lbl_800BC34C
/* 800BC32C 000B928C 80 7F 00 28 */ lwz r3, 0x28(r31)
/* 800BC330 000B9290 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BC334 000B9294 28 00 00 00 */ cmplwi r0, 0
/* 800BC338 000B9298 41 82 00 14 */ beq lbl_800BC34C
/* 800BC33C 000B929C 38 7F 00 28 */ addi r3, r31, 0x28
/* 800BC340 000B92A0 48 28 4A CD */ bl GetObj__6CTokenFv
/* 800BC344 000B92A4 80 03 00 04 */ lwz r0, 4(r3)
/* 800BC348 000B92A8 90 1F 00 30 */ stw r0, 0x30(r31)
lbl_800BC34C:
/* 800BC34C 000B92AC 80 1F 00 30 */ lwz r0, 0x30(r31)
/* 800BC350 000B92B0 28 00 00 00 */ cmplwi r0, 0
/* 800BC354 000B92B4 41 82 02 48 */ beq lbl_800BC59C
/* 800BC358 000B92B8 80 7D 08 70 */ lwz r3, 0x870(r29)
/* 800BC35C 000B92BC 7F A4 EB 78 */ mr r4, r29
/* 800BC360 000B92C0 4B F4 F7 B9 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
2022-04-12 09:14:24 +00:00
/* 800BC364 000B92C4 80 9D 08 70 */ lwz r4, 0x870(r29)
/* 800BC368 000B92C8 7C 7E 1B 78 */ mr r30, r3
/* 800BC36C 000B92CC 7F A5 EB 78 */ mr r5, r29
/* 800BC370 000B92D0 38 61 00 50 */ addi r3, r1, 0x50
/* 800BC374 000B92D4 4B F4 E5 F5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager
/* 800BC378 000B92D8 38 61 00 B0 */ addi r3, r1, 0xb0
/* 800BC37C 000B92DC 38 81 00 50 */ addi r4, r1, 0x50
/* 800BC380 000B92E0 48 25 67 F5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800BC384 000B92E4 38 61 00 B0 */ addi r3, r1, 0xb0
/* 800BC388 000B92E8 48 25 03 C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 800BC38C 000B92EC C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2)
/* 800BC390 000B92F0 38 61 00 E0 */ addi r3, r1, 0xe0
/* 800BC394 000B92F4 C0 1E 01 5C */ lfs f0, 0x15c(r30)
/* 800BC398 000B92F8 38 81 00 B0 */ addi r4, r1, 0xb0
/* 800BC39C 000B92FC C0 5E 01 68 */ lfs f2, 0x168(r30)
/* 800BC3A0 000B9300 38 A0 00 00 */ li r5, 0
/* 800BC3A4 000B9304 EC 21 00 32 */ fmuls f1, f1, f0
/* 800BC3A8 000B9308 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2)
/* 800BC3AC 000B930C C0 82 8D 3C */ lfs f4, lbl_805AAA5C@sda21(r2)
/* 800BC3B0 000B9310 48 28 8E A5 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf
/* 800BC3B4 000B9314 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BC3B8 000B9318 38 81 00 E0 */ addi r4, r1, 0xe0
/* 800BC3BC 000B931C 81 83 00 00 */ lwz r12, 0(r3)
/* 800BC3C0 000B9320 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 800BC3C4 000B9324 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BC3C8 000B9328 4E 80 04 21 */ bctrl
2022-08-16 02:14:28 +00:00
/* 800BC3CC 000B932C 3C 60 80 3F */ lis r3, mViewport__9CGraphics@ha
2022-04-12 09:14:24 +00:00
/* 800BC3D0 000B9330 3C 80 43 30 */ lis r4, 0x4330
2022-08-16 02:14:28 +00:00
/* 800BC3D4 000B9334 38 C3 D9 10 */ addi r6, r3, mViewport__9CGraphics@l
2022-04-12 09:14:24 +00:00
/* 800BC3D8 000B9338 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BC3DC 000B933C 80 A6 00 08 */ lwz r5, 8(r6)
/* 800BC3E0 000B9340 80 06 00 0C */ lwz r0, 0xc(r6)
/* 800BC3E4 000B9344 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 800BC3E8 000B9348 81 83 00 00 */ lwz r12, 0(r3)
/* 800BC3EC 000B934C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800BC3F0 000B9350 90 A1 01 4C */ stw r5, 0x14c(r1)
/* 800BC3F4 000B9354 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2)
/* 800BC3F8 000B9358 90 81 01 48 */ stw r4, 0x148(r1)
/* 800BC3FC 000B935C 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 800BC400 000B9360 C8 01 01 48 */ lfd f0, 0x148(r1)
/* 800BC404 000B9364 90 01 01 54 */ stw r0, 0x154(r1)
/* 800BC408 000B9368 EC 40 18 28 */ fsubs f2, f0, f3
/* 800BC40C 000B936C C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 800BC410 000B9370 90 81 01 50 */ stw r4, 0x150(r1)
/* 800BC414 000B9374 C0 9E 01 60 */ lfs f4, 0x160(r30)
/* 800BC418 000B9378 C8 01 01 50 */ lfd f0, 0x150(r1)
/* 800BC41C 000B937C C0 BE 01 64 */ lfs f5, 0x164(r30)
/* 800BC420 000B9380 EC 60 18 28 */ fsubs f3, f0, f3
/* 800BC424 000B9384 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BC428 000B9388 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BC42C 000B938C 80 A1 00 E0 */ lwz r5, 0xe0(r1)
/* 800BC430 000B9390 38 60 00 00 */ li r3, 0
/* 800BC434 000B9394 2C 05 00 00 */ cmpwi r5, 0
/* 800BC438 000B9398 40 81 00 40 */ ble lbl_800BC478
/* 800BC43C 000B939C 2C 05 00 08 */ cmpwi r5, 8
/* 800BC440 000B93A0 38 85 FF F8 */ addi r4, r5, -8
/* 800BC444 000B93A4 40 81 00 20 */ ble lbl_800BC464
/* 800BC448 000B93A8 38 04 00 07 */ addi r0, r4, 7
/* 800BC44C 000B93AC 54 00 E8 FE */ srwi r0, r0, 3
/* 800BC450 000B93B0 7C 09 03 A6 */ mtctr r0
/* 800BC454 000B93B4 2C 04 00 00 */ cmpwi r4, 0
/* 800BC458 000B93B8 40 81 00 0C */ ble lbl_800BC464
lbl_800BC45C:
/* 800BC45C 000B93BC 38 63 00 08 */ addi r3, r3, 8
/* 800BC460 000B93C0 42 00 FF FC */ bdnz lbl_800BC45C
lbl_800BC464:
/* 800BC464 000B93C4 7C 03 28 50 */ subf r0, r3, r5
/* 800BC468 000B93C8 7C 09 03 A6 */ mtctr r0
/* 800BC46C 000B93CC 7C 03 28 00 */ cmpw r3, r5
/* 800BC470 000B93D0 40 80 00 08 */ bge lbl_800BC478
lbl_800BC474:
/* 800BC474 000B93D4 42 00 00 00 */ bdnz lbl_800BC474
lbl_800BC478:
/* 800BC478 000B93D8 88 1F 00 1C */ lbz r0, 0x1c(r31)
/* 800BC47C 000B93DC 38 60 00 00 */ li r3, 0
/* 800BC480 000B93E0 90 61 00 E0 */ stw r3, 0xe0(r1)
/* 800BC484 000B93E4 28 00 00 00 */ cmplwi r0, 0
/* 800BC488 000B93E8 41 82 00 20 */ beq lbl_800BC4A8
/* 800BC48C 000B93EC 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BC490 000B93F0 C0 3F 00 20 */ lfs f1, 0x20(r31)
/* 800BC494 000B93F4 C0 03 00 54 */ lfs f0, 0x54(r3)
/* 800BC498 000B93F8 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2)
/* 800BC49C 000B93FC EC 01 00 24 */ fdivs f0, f1, f0
/* 800BC4A0 000B9400 EF C2 00 28 */ fsubs f30, f2, f0
/* 800BC4A4 000B9404 48 00 00 14 */ b lbl_800BC4B8
lbl_800BC4A8:
/* 800BC4A8 000B9408 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BC4AC 000B940C C0 3F 00 20 */ lfs f1, 0x20(r31)
/* 800BC4B0 000B9410 C0 03 00 58 */ lfs f0, 0x58(r3)
/* 800BC4B4 000B9414 EF C1 00 24 */ fdivs f30, f1, f0
lbl_800BC4B8:
/* 800BC4B8 000B9418 C0 1F 00 08 */ lfs f0, 8(r31)
/* 800BC4BC 000B941C 38 61 00 20 */ addi r3, r1, 0x20
/* 800BC4C0 000B9420 83 CD A1 40 */ lwz r30, gpTweakTargeting@sda21(r13)
/* 800BC4C4 000B9424 38 81 00 0C */ addi r4, r1, 0xc
/* 800BC4C8 000B9428 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 800BC4CC 000B942C 48 25 73 45 */ bl RotateZ__12CTransform4fFRC9CRelAngle
/* 800BC4D0 000B9430 38 61 00 80 */ addi r3, r1, 0x80
/* 800BC4D4 000B9434 38 81 00 20 */ addi r4, r1, 0x20
/* 800BC4D8 000B9438 48 25 66 9D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800BC4DC 000B943C FC 20 F0 90 */ fmr f1, f30
/* 800BC4E0 000B9440 38 61 00 80 */ addi r3, r1, 0x80
/* 800BC4E4 000B9444 48 25 69 DD */ bl ScaleBy__12CTransform4fFf
/* 800BC4E8 000B9448 C0 21 00 8C */ lfs f1, 0x8c(r1)
/* 800BC4EC 000B944C 38 81 00 80 */ addi r4, r1, 0x80
/* 800BC4F0 000B9450 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 800BC4F4 000B9454 C0 61 00 9C */ lfs f3, 0x9c(r1)
/* 800BC4F8 000B9458 C0 5F 00 14 */ lfs f2, 0x14(r31)
/* 800BC4FC 000B945C EC 81 00 2A */ fadds f4, f1, f0
/* 800BC500 000B9460 C0 21 00 AC */ lfs f1, 0xac(r1)
/* 800BC504 000B9464 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 800BC508 000B9468 EC 43 10 2A */ fadds f2, f3, f2
/* 800BC50C 000B946C D0 81 00 8C */ stfs f4, 0x8c(r1)
/* 800BC510 000B9470 EC 01 00 2A */ fadds f0, f1, f0
/* 800BC514 000B9474 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BC518 000B9478 D0 41 00 9C */ stfs f2, 0x9c(r1)
/* 800BC51C 000B947C D0 01 00 AC */ stfs f0, 0xac(r1)
/* 800BC520 000B9480 81 83 00 00 */ lwz r12, 0(r3)
/* 800BC524 000B9484 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BC528 000B9488 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BC52C 000B948C 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BC530 000B9490 88 7E 01 BF */ lbz r3, 0x1bf(r30)
/* 800BC534 000B9494 3C 00 43 30 */ lis r0, 0x4330
/* 800BC538 000B9498 90 01 01 50 */ stw r0, 0x150(r1)
/* 800BC53C 000B949C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BC540 000B94A0 90 61 01 54 */ stw r3, 0x154(r1)
/* 800BC544 000B94A4 80 7F 00 30 */ lwz r3, 0x30(r31)
/* 800BC548 000B94A8 C8 01 01 50 */ lfd f0, 0x150(r1)
/* 800BC54C 000B94AC EC 00 08 28 */ fsubs f0, f0, f1
/* 800BC550 000B94B0 EF FE 00 32 */ fmuls f31, f30, f0
/* 800BC554 000B94B4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 800BC558 000B94B8 38 80 00 03 */ li r4, 3
/* 800BC55C 000B94BC 80 FE 01 BC */ lwz r7, 0x1bc(r30)
/* 800BC560 000B94C0 38 C0 00 07 */ li r6, 7
/* 800BC564 000B94C4 38 A0 00 00 */ li r5, 0
/* 800BC568 000B94C8 89 01 00 08 */ lbz r8, 8(r1)
/* 800BC56C 000B94CC 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17
/* 800BC570 000B94D0 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d
/* 800BC574 000B94D4 B0 81 00 12 */ sth r4, 0x12(r1)
/* 800BC578 000B94D8 38 81 00 18 */ addi r4, r1, 0x18
/* 800BC57C 000B94DC 98 C1 00 10 */ stb r6, 0x10(r1)
/* 800BC580 000B94E0 98 A1 00 11 */ stb r5, 0x11(r1)
/* 800BC584 000B94E4 91 01 00 14 */ stw r8, 0x14(r1)
/* 800BC588 000B94E8 98 C1 00 18 */ stb r6, 0x18(r1)
/* 800BC58C 000B94EC 98 A1 00 19 */ stb r5, 0x19(r1)
/* 800BC590 000B94F0 B0 01 00 1A */ sth r0, 0x1a(r1)
/* 800BC594 000B94F4 91 01 00 1C */ stw r8, 0x1c(r1)
/* 800BC598 000B94F8 48 29 96 3D */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BC59C:
/* 800BC59C 000B94FC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0
/* 800BC5A0 000B9500 CB E1 01 80 */ lfd f31, 0x180(r1)
/* 800BC5A4 000B9504 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0
/* 800BC5A8 000B9508 CB C1 01 70 */ lfd f30, 0x170(r1)
/* 800BC5AC 000B950C 83 E1 01 6C */ lwz r31, 0x16c(r1)
/* 800BC5B0 000B9510 83 C1 01 68 */ lwz r30, 0x168(r1)
/* 800BC5B4 000B9514 80 01 01 94 */ lwz r0, 0x194(r1)
/* 800BC5B8 000B9518 83 A1 01 64 */ lwz r29, 0x164(r1)
/* 800BC5BC 000B951C 7C 08 03 A6 */ mtlr r0
/* 800BC5C0 000B9520 38 21 01 90 */ addi r1, r1, 0x190
2022-07-14 05:48:03 +00:00
/* 800BC5C4 000B9524 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global Update__17COrbitPointMarkerFfRC13CStateManager
Update__17COrbitPointMarkerFfRC13CStateManager:
/* 800BC5C8 000B9528 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 800BC5CC 000B952C 7C 08 02 A6 */ mflr r0
/* 800BC5D0 000B9530 90 01 01 14 */ stw r0, 0x114(r1)
/* 800BC5D4 000B9534 DB E1 01 00 */ stfd f31, 0x100(r1)
/* 800BC5D8 000B9538 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0
/* 800BC5DC 000B953C DB C1 00 F0 */ stfd f30, 0xf0(r1)
/* 800BC5E0 000B9540 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0
/* 800BC5E4 000B9544 DB A1 00 E0 */ stfd f29, 0xe0(r1)
/* 800BC5E8 000B9548 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0
/* 800BC5EC 000B954C BF 61 00 CC */ stmw r27, 0xcc(r1)
/* 800BC5F0 000B9550 7C 7C 1B 78 */ mr r28, r3
/* 800BC5F4 000B9554 FF E0 08 90 */ fmr f31, f1
/* 800BC5F8 000B9558 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 800BC5FC 000B955C 7C 9D 23 78 */ mr r29, r4
/* 800BC600 000B9560 EC 00 F8 2A */ fadds f0, f0, f31
/* 800BC604 000B9564 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 800BC608 000B9568 83 C4 08 4C */ lwz r30, 0x84c(r4)
/* 800BC60C 000B956C 80 64 08 70 */ lwz r3, 0x870(r4)
/* 800BC610 000B9570 83 7E 03 04 */ lwz r27, 0x304(r30)
/* 800BC614 000B9574 4B F4 F5 05 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
2022-04-12 09:14:24 +00:00
/* 800BC618 000B9578 38 9B FF FE */ addi r4, r27, -2
/* 800BC61C 000B957C 38 A0 00 01 */ li r5, 1
/* 800BC620 000B9580 20 04 00 01 */ subfic r0, r4, 1
/* 800BC624 000B9584 7C 7F 1B 78 */ mr r31, r3
/* 800BC628 000B9588 7C A3 23 38 */ orc r3, r5, r4
/* 800BC62C 000B958C 54 00 F8 7E */ srwi r0, r0, 1
/* 800BC630 000B9590 7C 00 18 50 */ subf r0, r0, r3
/* 800BC634 000B9594 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f
/* 800BC638 000B9598 40 82 00 08 */ bne lbl_800BC640
/* 800BC63C 000B959C 38 A0 00 00 */ li r5, 0
lbl_800BC640:
/* 800BC640 000B95A0 88 7C 00 1C */ lbz r3, 0x1c(r28)
/* 800BC644 000B95A4 54 A0 06 3E */ clrlwi r0, r5, 0x18
/* 800BC648 000B95A8 7C 03 00 40 */ cmplw r3, r0
/* 800BC64C 000B95AC 41 82 01 24 */ beq lbl_800BC770
/* 800BC650 000B95B0 2C 1B 00 02 */ cmpwi r27, 2
/* 800BC654 000B95B4 41 82 00 0C */ beq lbl_800BC660
/* 800BC658 000B95B8 2C 1B 00 03 */ cmpwi r27, 3
/* 800BC65C 000B95BC 40 82 00 F4 */ bne lbl_800BC750
lbl_800BC660:
/* 800BC660 000B95C0 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13)
/* 800BC664 000B95C4 7F 83 E3 78 */ mr r3, r28
/* 800BC668 000B95C8 C0 24 00 54 */ lfs f1, 0x54(r4)
/* 800BC66C 000B95CC 4B FF FC 45 */ bl ResetInterpolationTimer__17COrbitPointMarkerFf
/* 800BC670 000B95D0 88 1C 00 04 */ lbz r0, 4(r28)
/* 800BC674 000B95D4 28 00 00 00 */ cmplwi r0, 0
/* 800BC678 000B95D8 40 82 00 44 */ bne lbl_800BC6BC
/* 800BC67C 000B95DC C3 DC 00 00 */ lfs f30, 0(r28)
/* 800BC680 000B95E0 7F C4 F3 78 */ mr r4, r30
/* 800BC684 000B95E4 38 61 00 B0 */ addi r3, r1, 0xb0
/* 800BC688 000B95E8 48 0B ED 9D */ bl GetHUDOrbitTargetPosition__7CPlayerCFv
/* 800BC68C 000B95EC C0 01 00 B8 */ lfs f0, 0xb8(r1)
/* 800BC690 000B95F0 38 A1 00 A4 */ addi r5, r1, 0xa4
/* 800BC694 000B95F4 C0 41 00 B0 */ lfs f2, 0xb0(r1)
/* 800BC698 000B95F8 C0 62 8D 30 */ lfs f3, lbl_805AAA50@sda21(r2)
/* 800BC69C 000B95FC EC 00 F0 2A */ fadds f0, f0, f30
/* 800BC6A0 000B9600 C0 21 00 B4 */ lfs f1, 0xb4(r1)
/* 800BC6A4 000B9604 EC 42 18 2A */ fadds f2, f2, f3
/* 800BC6A8 000B9608 EC 21 18 2A */ fadds f1, f1, f3
/* 800BC6AC 000B960C D0 01 00 AC */ stfs f0, 0xac(r1)
/* 800BC6B0 000B9610 D0 41 00 A4 */ stfs f2, 0xa4(r1)
/* 800BC6B4 000B9614 D0 21 00 A8 */ stfs f1, 0xa8(r1)
/* 800BC6B8 000B9618 48 00 00 54 */ b lbl_800BC70C
lbl_800BC6BC:
/* 800BC6BC 000B961C C0 7F 00 60 */ lfs f3, 0x60(r31)
/* 800BC6C0 000B9620 7F C4 F3 78 */ mr r4, r30
/* 800BC6C4 000B9624 C0 1C 00 00 */ lfs f0, 0(r28)
/* 800BC6C8 000B9628 38 61 00 8C */ addi r3, r1, 0x8c
/* 800BC6CC 000B962C C0 5F 00 50 */ lfs f2, 0x50(r31)
/* 800BC6D0 000B9630 C0 3F 00 40 */ lfs f1, 0x40(r31)
/* 800BC6D4 000B9634 EF C0 18 2A */ fadds f30, f0, f3
/* 800BC6D8 000B9638 D0 41 00 9C */ stfs f2, 0x9c(r1)
/* 800BC6DC 000B963C D0 21 00 98 */ stfs f1, 0x98(r1)
/* 800BC6E0 000B9640 D0 61 00 A0 */ stfs f3, 0xa0(r1)
/* 800BC6E4 000B9644 48 0B ED 41 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv
/* 800BC6E8 000B9648 C3 A1 00 90 */ lfs f29, 0x90(r1)
/* 800BC6EC 000B964C 7F C4 F3 78 */ mr r4, r30
/* 800BC6F0 000B9650 38 61 00 80 */ addi r3, r1, 0x80
/* 800BC6F4 000B9654 48 0B ED 31 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv
/* 800BC6F8 000B9658 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 800BC6FC 000B965C 38 A1 00 74 */ addi r5, r1, 0x74
/* 800BC700 000B9660 D3 A1 00 78 */ stfs f29, 0x78(r1)
/* 800BC704 000B9664 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 800BC708 000B9668 D3 C1 00 7C */ stfs f30, 0x7c(r1)
lbl_800BC70C:
/* 800BC70C 000B966C C0 05 00 00 */ lfs f0, 0(r5)
/* 800BC710 000B9670 38 61 00 58 */ addi r3, r1, 0x58
/* 800BC714 000B9674 38 9F 00 34 */ addi r4, r31, 0x34
/* 800BC718 000B9678 D0 1C 00 10 */ stfs f0, 0x10(r28)
/* 800BC71C 000B967C C0 05 00 04 */ lfs f0, 4(r5)
/* 800BC720 000B9680 D0 1C 00 14 */ stfs f0, 0x14(r28)
/* 800BC724 000B9684 C0 05 00 08 */ lfs f0, 8(r5)
/* 800BC728 000B9688 D0 1C 00 18 */ stfs f0, 0x18(r28)
/* 800BC72C 000B968C 48 25 59 FD */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 800BC730 000B9690 38 61 00 68 */ addi r3, r1, 0x68
/* 800BC734 000B9694 38 81 00 58 */ addi r4, r1, 0x58
/* 800BC738 000B9698 4B F5 EE 8D */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion
/* 800BC73C 000B969C C0 22 8D 50 */ lfs f1, lbl_805AAA70@sda21(r2)
/* 800BC740 000B96A0 C0 01 00 70 */ lfs f0, 0x70(r1)
/* 800BC744 000B96A4 EC 01 00 2A */ fadds f0, f1, f0
/* 800BC748 000B96A8 D0 1C 00 08 */ stfs f0, 8(r28)
/* 800BC74C 000B96AC 48 00 00 14 */ b lbl_800BC760
lbl_800BC750:
/* 800BC750 000B96B0 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13)
/* 800BC754 000B96B4 7F 83 E3 78 */ mr r3, r28
/* 800BC758 000B96B8 C0 24 00 58 */ lfs f1, 0x58(r4)
/* 800BC75C 000B96BC 4B FF FB 55 */ bl ResetInterpolationTimer__17COrbitPointMarkerFf
lbl_800BC760:
/* 800BC760 000B96C0 88 1C 00 1C */ lbz r0, 0x1c(r28)
/* 800BC764 000B96C4 7C 00 00 34 */ cntlzw r0, r0
/* 800BC768 000B96C8 54 00 D9 7E */ srwi r0, r0, 5
/* 800BC76C 000B96CC 98 1C 00 1C */ stb r0, 0x1c(r28)
lbl_800BC770:
/* 800BC770 000B96D0 C0 3C 00 20 */ lfs f1, 0x20(r28)
/* 800BC774 000B96D4 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BC778 000B96D8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BC77C 000B96DC 40 81 00 2C */ ble lbl_800BC7A8
/* 800BC780 000B96E0 EC 21 F8 28 */ fsubs f1, f1, f31
/* 800BC784 000B96E4 C0 0D 86 B4 */ lfs f0, lbl_805A7274@sda21(r13)
/* 800BC788 000B96E8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800BC78C 000B96EC D0 21 00 08 */ stfs f1, 8(r1)
/* 800BC790 000B96F0 40 80 00 0C */ bge lbl_800BC79C
/* 800BC794 000B96F4 38 61 00 08 */ addi r3, r1, 8
/* 800BC798 000B96F8 48 00 00 08 */ b lbl_800BC7A0
lbl_800BC79C:
/* 800BC79C 000B96FC 38 6D 86 B4 */ addi r3, r13, lbl_805A7274@sda21
lbl_800BC7A0:
/* 800BC7A0 000B9700 C0 03 00 00 */ lfs f0, 0(r3)
/* 800BC7A4 000B9704 D0 1C 00 20 */ stfs f0, 0x20(r28)
lbl_800BC7A8:
/* 800BC7A8 000B9708 88 1C 00 04 */ lbz r0, 4(r28)
/* 800BC7AC 000B970C 28 00 00 00 */ cmplwi r0, 0
/* 800BC7B0 000B9710 40 82 00 88 */ bne lbl_800BC838
/* 800BC7B4 000B9714 7F C4 F3 78 */ mr r4, r30
/* 800BC7B8 000B9718 38 61 00 4C */ addi r3, r1, 0x4c
/* 800BC7BC 000B971C 48 0B EC 69 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv
/* 800BC7C0 000B9720 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 800BC7C4 000B9724 C0 3C 00 00 */ lfs f1, 0(r28)
/* 800BC7C8 000B9728 C0 BC 00 18 */ lfs f5, 0x18(r28)
/* 800BC7CC 000B972C EC 41 00 2A */ fadds f2, f1, f0
/* 800BC7D0 000B9730 C0 22 8D 54 */ lfs f1, lbl_805AAA74@sda21(r2)
/* 800BC7D4 000B9734 C0 61 00 4C */ lfs f3, 0x4c(r1)
/* 800BC7D8 000B9738 C0 81 00 50 */ lfs f4, 0x50(r1)
/* 800BC7DC 000B973C EC C2 28 28 */ fsubs f6, f2, f5
/* 800BC7E0 000B9740 FC 06 08 40 */ fcmpo cr0, f6, f1
/* 800BC7E4 000B9744 40 80 00 20 */ bge lbl_800BC804
/* 800BC7E8 000B9748 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BC7EC 000B974C EC 23 00 2A */ fadds f1, f3, f0
/* 800BC7F0 000B9750 EC 04 00 2A */ fadds f0, f4, f0
/* 800BC7F4 000B9754 D0 3C 00 10 */ stfs f1, 0x10(r28)
/* 800BC7F8 000B9758 D0 1C 00 14 */ stfs f0, 0x14(r28)
/* 800BC7FC 000B975C D0 5C 00 18 */ stfs f2, 0x18(r28)
/* 800BC800 000B9760 48 00 00 7C */ b lbl_800BC87C
lbl_800BC804:
/* 800BC804 000B9764 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BC808 000B9768 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 800BC80C 000B976C 40 80 00 18 */ bge lbl_800BC824
/* 800BC810 000B9770 D0 7C 00 10 */ stfs f3, 0x10(r28)
/* 800BC814 000B9774 EC 05 08 28 */ fsubs f0, f5, f1
/* 800BC818 000B9778 D0 9C 00 14 */ stfs f4, 0x14(r28)
/* 800BC81C 000B977C D0 1C 00 18 */ stfs f0, 0x18(r28)
/* 800BC820 000B9780 48 00 00 5C */ b lbl_800BC87C
lbl_800BC824:
/* 800BC824 000B9784 D0 7C 00 10 */ stfs f3, 0x10(r28)
/* 800BC828 000B9788 EC 01 28 2A */ fadds f0, f1, f5
/* 800BC82C 000B978C D0 9C 00 14 */ stfs f4, 0x14(r28)
/* 800BC830 000B9790 D0 1C 00 18 */ stfs f0, 0x18(r28)
/* 800BC834 000B9794 48 00 00 48 */ b lbl_800BC87C
lbl_800BC838:
/* 800BC838 000B9798 7F C4 F3 78 */ mr r4, r30
/* 800BC83C 000B979C 38 61 00 28 */ addi r3, r1, 0x28
/* 800BC840 000B97A0 48 0B EB E5 */ bl GetHUDOrbitTargetPosition__7CPlayerCFv
/* 800BC844 000B97A4 C0 3C 00 00 */ lfs f1, 0(r28)
/* 800BC848 000B97A8 7F C4 F3 78 */ mr r4, r30
/* 800BC84C 000B97AC C0 01 00 30 */ lfs f0, 0x30(r1)
/* 800BC850 000B97B0 38 61 00 34 */ addi r3, r1, 0x34
/* 800BC854 000B97B4 EF C1 00 2A */ fadds f30, f1, f0
/* 800BC858 000B97B8 48 0B EB CD */ bl GetHUDOrbitTargetPosition__7CPlayerCFv
/* 800BC85C 000B97BC C3 A1 00 38 */ lfs f29, 0x38(r1)
/* 800BC860 000B97C0 7F C4 F3 78 */ mr r4, r30
/* 800BC864 000B97C4 38 61 00 40 */ addi r3, r1, 0x40
/* 800BC868 000B97C8 48 0B EB BD */ bl GetHUDOrbitTargetPosition__7CPlayerCFv
/* 800BC86C 000B97CC C0 01 00 40 */ lfs f0, 0x40(r1)
/* 800BC870 000B97D0 D0 1C 00 10 */ stfs f0, 0x10(r28)
/* 800BC874 000B97D4 D3 BC 00 14 */ stfs f29, 0x14(r28)
/* 800BC878 000B97D8 D3 DC 00 18 */ stfs f30, 0x18(r28)
lbl_800BC87C:
/* 800BC87C 000B97DC 88 1C 00 1C */ lbz r0, 0x1c(r28)
/* 800BC880 000B97E0 28 00 00 00 */ cmplwi r0, 0
/* 800BC884 000B97E4 41 82 00 50 */ beq lbl_800BC8D4
/* 800BC888 000B97E8 38 61 00 0C */ addi r3, r1, 0xc
/* 800BC88C 000B97EC 38 9F 00 34 */ addi r4, r31, 0x34
/* 800BC890 000B97F0 48 25 58 99 */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 800BC894 000B97F4 38 61 00 1C */ addi r3, r1, 0x1c
/* 800BC898 000B97F8 38 81 00 0C */ addi r4, r1, 0xc
/* 800BC89C 000B97FC 4B F5 ED 29 */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion
/* 800BC8A0 000B9800 C0 22 8D 50 */ lfs f1, lbl_805AAA70@sda21(r2)
/* 800BC8A4 000B9804 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 800BC8A8 000B9808 80 7D 08 4C */ lwz r3, 0x84c(r29)
/* 800BC8AC 000B980C EC 21 00 2A */ fadds f1, f1, f0
/* 800BC8B0 000B9810 C0 1C 00 0C */ lfs f0, 0xc(r28)
/* 800BC8B4 000B9814 88 03 03 DC */ lbz r0, 0x3dc(r3)
/* 800BC8B8 000B9818 28 00 00 00 */ cmplwi r0, 0
/* 800BC8BC 000B981C EC 41 00 28 */ fsubs f2, f1, f0
/* 800BC8C0 000B9820 41 82 00 10 */ beq lbl_800BC8D0
/* 800BC8C4 000B9824 C0 1C 00 08 */ lfs f0, 8(r28)
/* 800BC8C8 000B9828 EC 00 10 2A */ fadds f0, f0, f2
/* 800BC8CC 000B982C D0 1C 00 08 */ stfs f0, 8(r28)
lbl_800BC8D0:
/* 800BC8D0 000B9830 D0 3C 00 0C */ stfs f1, 0xc(r28)
lbl_800BC8D4:
/* 800BC8D4 000B9834 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0
/* 800BC8D8 000B9838 CB E1 01 00 */ lfd f31, 0x100(r1)
/* 800BC8DC 000B983C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0
/* 800BC8E0 000B9840 CB C1 00 F0 */ lfd f30, 0xf0(r1)
/* 800BC8E4 000B9844 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0
/* 800BC8E8 000B9848 CB A1 00 E0 */ lfd f29, 0xe0(r1)
/* 800BC8EC 000B984C BB 61 00 CC */ lmw r27, 0xcc(r1)
/* 800BC8F0 000B9850 80 01 01 14 */ lwz r0, 0x114(r1)
/* 800BC8F4 000B9854 7C 08 03 A6 */ mtlr r0
/* 800BC8F8 000B9858 38 21 01 10 */ addi r1, r1, 0x110
2022-07-14 05:48:03 +00:00
/* 800BC8FC 000B985C 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global CheckLoadComplete__17COrbitPointMarkerFv
CheckLoadComplete__17COrbitPointMarkerFv:
/* 800BC900 000B9860 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800BC904 000B9864 7C 08 02 A6 */ mflr r0
/* 800BC908 000B9868 90 01 00 14 */ stw r0, 0x14(r1)
/* 800BC90C 000B986C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800BC910 000B9870 7C 7F 1B 78 */ mr r31, r3
/* 800BC914 000B9874 80 03 00 30 */ lwz r0, 0x30(r3)
/* 800BC918 000B9878 28 00 00 00 */ cmplwi r0, 0
/* 800BC91C 000B987C 41 82 00 0C */ beq lbl_800BC928
/* 800BC920 000B9880 38 60 00 01 */ li r3, 1
/* 800BC924 000B9884 48 00 00 3C */ b lbl_800BC960
lbl_800BC928:
/* 800BC928 000B9888 88 1F 00 2C */ lbz r0, 0x2c(r31)
/* 800BC92C 000B988C 28 00 00 00 */ cmplwi r0, 0
/* 800BC930 000B9890 41 82 00 2C */ beq lbl_800BC95C
/* 800BC934 000B9894 80 7F 00 28 */ lwz r3, 0x28(r31)
/* 800BC938 000B9898 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BC93C 000B989C 28 00 00 00 */ cmplwi r0, 0
/* 800BC940 000B98A0 41 82 00 1C */ beq lbl_800BC95C
/* 800BC944 000B98A4 38 7F 00 28 */ addi r3, r31, 0x28
/* 800BC948 000B98A8 48 28 44 C5 */ bl GetObj__6CTokenFv
/* 800BC94C 000B98AC 80 03 00 04 */ lwz r0, 4(r3)
/* 800BC950 000B98B0 38 60 00 01 */ li r3, 1
/* 800BC954 000B98B4 90 1F 00 30 */ stw r0, 0x30(r31)
/* 800BC958 000B98B8 48 00 00 08 */ b lbl_800BC960
lbl_800BC95C:
/* 800BC95C 000B98BC 38 60 00 00 */ li r3, 0
lbl_800BC960:
/* 800BC960 000B98C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800BC964 000B98C4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800BC968 000B98C8 7C 08 03 A6 */ mtlr r0
/* 800BC96C 000B98CC 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 800BC970 000B98D0 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global __ct__17COrbitPointMarkerFv
__ct__17COrbitPointMarkerFv:
/* 800BC974 000B98D4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800BC978 000B98D8 7C 08 02 A6 */ mflr r0
/* 800BC97C 000B98DC C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800BC980 000B98E0 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-12 09:14:24 +00:00
/* 800BC984 000B98E4 90 01 00 24 */ stw r0, 0x24(r1)
/* 800BC988 000B98E8 38 00 00 00 */ li r0, 0
/* 800BC98C 000B98EC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800BC990 000B98F0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800BC994 000B98F4 7C 7E 1B 78 */ mr r30, r3
/* 800BC998 000B98F8 3C 60 80 3D */ lis r3, lbl_803CDFF8@ha
/* 800BC99C 000B98FC 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13)
/* 800BC9A0 000B9900 C0 05 00 50 */ lfs f0, 0x50(r5)
/* 800BC9A4 000B9904 38 A3 DF F8 */ addi r5, r3, lbl_803CDFF8@l
/* 800BC9A8 000B9908 38 60 00 01 */ li r3, 1
/* 800BC9AC 000B990C D0 1E 00 00 */ stfs f0, 0(r30)
/* 800BC9B0 000B9910 98 7E 00 04 */ stb r3, 4(r30)
/* 800BC9B4 000B9914 38 61 00 08 */ addi r3, r1, 8
/* 800BC9B8 000B9918 D0 3E 00 08 */ stfs f1, 8(r30)
/* 800BC9BC 000B991C D0 3E 00 0C */ stfs f1, 0xc(r30)
/* 800BC9C0 000B9920 C4 04 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r4)
2022-04-12 09:14:24 +00:00
/* 800BC9C4 000B9924 D0 1E 00 10 */ stfs f0, 0x10(r30)
/* 800BC9C8 000B9928 C0 04 00 04 */ lfs f0, 4(r4)
/* 800BC9CC 000B992C D0 1E 00 14 */ stfs f0, 0x14(r30)
/* 800BC9D0 000B9930 C0 04 00 08 */ lfs f0, 8(r4)
/* 800BC9D4 000B9934 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 800BC9D8 000B9938 98 1E 00 1C */ stb r0, 0x1c(r30)
/* 800BC9DC 000B993C D0 3E 00 20 */ stfs f1, 0x20(r30)
/* 800BC9E0 000B9940 D0 3E 00 24 */ stfs f1, 0x24(r30)
/* 800BC9E4 000B9944 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800BC9E8 000B9948 81 84 00 00 */ lwz r12, 0(r4)
/* 800BC9EC 000B994C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800BC9F0 000B9950 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BC9F4 000B9954 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BC9F8 000B9958 3B FE 00 28 */ addi r31, r30, 0x28
/* 800BC9FC 000B995C 38 81 00 08 */ addi r4, r1, 8
/* 800BCA00 000B9960 7F E3 FB 78 */ mr r3, r31
/* 800BCA04 000B9964 48 28 44 A5 */ bl __ct__6CTokenFRC6CToken
/* 800BCA08 000B9968 38 00 00 00 */ li r0, 0
/* 800BCA0C 000B996C 38 61 00 08 */ addi r3, r1, 8
/* 800BCA10 000B9970 90 1F 00 08 */ stw r0, 8(r31)
/* 800BCA14 000B9974 38 80 FF FF */ li r4, -1
/* 800BCA18 000B9978 48 28 44 29 */ bl __dt__6CTokenFv
/* 800BCA1C 000B997C 7F E3 FB 78 */ mr r3, r31
/* 800BCA20 000B9980 48 28 43 65 */ bl Lock__6CTokenFv
/* 800BCA24 000B9984 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800BCA28 000B9988 7F C3 F3 78 */ mr r3, r30
/* 800BCA2C 000B998C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800BCA30 000B9990 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800BCA34 000B9994 7C 08 03 A6 */ mtlr r0
/* 800BCA38 000B9998 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 800BCA3C 000B999C 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global Touch__17CTargetingManagerCFv
Touch__17CTargetingManagerCFv:
/* 800BCA40 000B99A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800BCA44 000B99A4 7C 08 02 A6 */ mflr r0
/* 800BCA48 000B99A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800BCA4C 000B99AC 48 00 00 15 */ bl Touch__22CCompoundTargetReticleCFv
/* 800BCA50 000B99B0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800BCA54 000B99B4 7C 08 03 A6 */ mtlr r0
/* 800BCA58 000B99B8 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 800BCA5C 000B99BC 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global Touch__22CCompoundTargetReticleCFv
Touch__22CCompoundTargetReticleCFv:
/* 800BCA60 000B99C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800BCA64 000B99C4 7C 08 02 A6 */ mflr r0
/* 800BCA68 000B99C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800BCA6C 000B99CC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800BCA70 000B99D0 7C 7F 1B 78 */ mr r31, r3
/* 800BCA74 000B99D4 93 C1 00 08 */ stw r30, 8(r1)
/* 800BCA78 000B99D8 80 63 00 3C */ lwz r3, 0x3c(r3)
/* 800BCA7C 000B99DC 28 03 00 00 */ cmplwi r3, 0
/* 800BCA80 000B99E0 41 82 00 0C */ beq lbl_800BCA8C
/* 800BCA84 000B99E4 38 80 00 00 */ li r4, 0
/* 800BCA88 000B99E8 48 29 8B AD */ bl Touch__6CModelCFi
lbl_800BCA8C:
/* 800BCA8C 000B99EC 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800BCA90 000B99F0 28 03 00 00 */ cmplwi r3, 0
/* 800BCA94 000B99F4 41 82 00 0C */ beq lbl_800BCAA0
/* 800BCA98 000B99F8 38 80 00 00 */ li r4, 0
/* 800BCA9C 000B99FC 48 29 8B 99 */ bl Touch__6CModelCFi
lbl_800BCAA0:
/* 800BCAA0 000B9A00 80 7F 00 54 */ lwz r3, 0x54(r31)
/* 800BCAA4 000B9A04 28 03 00 00 */ cmplwi r3, 0
/* 800BCAA8 000B9A08 41 82 00 0C */ beq lbl_800BCAB4
/* 800BCAAC 000B9A0C 38 80 00 00 */ li r4, 0
/* 800BCAB0 000B9A10 48 29 8B 85 */ bl Touch__6CModelCFi
lbl_800BCAB4:
/* 800BCAB4 000B9A14 80 7F 00 60 */ lwz r3, 0x60(r31)
/* 800BCAB8 000B9A18 28 03 00 00 */ cmplwi r3, 0
/* 800BCABC 000B9A1C 41 82 00 0C */ beq lbl_800BCAC8
/* 800BCAC0 000B9A20 38 80 00 00 */ li r4, 0
/* 800BCAC4 000B9A24 48 29 8B 71 */ bl Touch__6CModelCFi
lbl_800BCAC8:
/* 800BCAC8 000B9A28 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 800BCACC 000B9A2C 28 03 00 00 */ cmplwi r3, 0
/* 800BCAD0 000B9A30 41 82 00 0C */ beq lbl_800BCADC
/* 800BCAD4 000B9A34 38 80 00 00 */ li r4, 0
/* 800BCAD8 000B9A38 48 29 8B 5D */ bl Touch__6CModelCFi
lbl_800BCADC:
/* 800BCADC 000B9A3C 80 7F 00 78 */ lwz r3, 0x78(r31)
/* 800BCAE0 000B9A40 28 03 00 00 */ cmplwi r3, 0
/* 800BCAE4 000B9A44 41 82 00 0C */ beq lbl_800BCAF0
/* 800BCAE8 000B9A48 38 80 00 00 */ li r4, 0
/* 800BCAEC 000B9A4C 48 29 8B 49 */ bl Touch__6CModelCFi
lbl_800BCAF0:
/* 800BCAF0 000B9A50 80 7F 00 84 */ lwz r3, 0x84(r31)
/* 800BCAF4 000B9A54 28 03 00 00 */ cmplwi r3, 0
/* 800BCAF8 000B9A58 41 82 00 0C */ beq lbl_800BCB04
/* 800BCAFC 000B9A5C 38 80 00 00 */ li r4, 0
/* 800BCB00 000B9A60 48 29 8B 35 */ bl Touch__6CModelCFi
lbl_800BCB04:
/* 800BCB04 000B9A64 80 7F 00 90 */ lwz r3, 0x90(r31)
/* 800BCB08 000B9A68 28 03 00 00 */ cmplwi r3, 0
/* 800BCB0C 000B9A6C 41 82 00 0C */ beq lbl_800BCB18
/* 800BCB10 000B9A70 38 80 00 00 */ li r4, 0
/* 800BCB14 000B9A74 48 29 8B 21 */ bl Touch__6CModelCFi
lbl_800BCB18:
/* 800BCB18 000B9A78 80 7F 00 9C */ lwz r3, 0x9c(r31)
/* 800BCB1C 000B9A7C 28 03 00 00 */ cmplwi r3, 0
/* 800BCB20 000B9A80 41 82 00 0C */ beq lbl_800BCB2C
/* 800BCB24 000B9A84 38 80 00 00 */ li r4, 0
/* 800BCB28 000B9A88 48 29 8B 0D */ bl Touch__6CModelCFi
lbl_800BCB2C:
/* 800BCB2C 000B9A8C 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 800BCB30 000B9A90 28 03 00 00 */ cmplwi r3, 0
/* 800BCB34 000B9A94 41 82 00 0C */ beq lbl_800BCB40
/* 800BCB38 000B9A98 38 80 00 00 */ li r4, 0
/* 800BCB3C 000B9A9C 48 29 8A F9 */ bl Touch__6CModelCFi
lbl_800BCB40:
/* 800BCB40 000B9AA0 80 7F 00 B4 */ lwz r3, 0xb4(r31)
/* 800BCB44 000B9AA4 28 03 00 00 */ cmplwi r3, 0
/* 800BCB48 000B9AA8 41 82 00 0C */ beq lbl_800BCB54
/* 800BCB4C 000B9AAC 38 80 00 00 */ li r4, 0
/* 800BCB50 000B9AB0 48 29 8A E5 */ bl Touch__6CModelCFi
lbl_800BCB54:
/* 800BCB54 000B9AB4 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 800BCB58 000B9AB8 28 03 00 00 */ cmplwi r3, 0
/* 800BCB5C 000B9ABC 41 82 00 0C */ beq lbl_800BCB68
/* 800BCB60 000B9AC0 38 80 00 00 */ li r4, 0
/* 800BCB64 000B9AC4 48 29 8A D1 */ bl Touch__6CModelCFi
lbl_800BCB68:
/* 800BCB68 000B9AC8 80 7F 00 CC */ lwz r3, 0xcc(r31)
/* 800BCB6C 000B9ACC 28 03 00 00 */ cmplwi r3, 0
/* 800BCB70 000B9AD0 41 82 00 0C */ beq lbl_800BCB7C
/* 800BCB74 000B9AD4 38 80 00 00 */ li r4, 0
/* 800BCB78 000B9AD8 48 29 8A BD */ bl Touch__6CModelCFi
lbl_800BCB7C:
/* 800BCB7C 000B9ADC 83 DF 00 EC */ lwz r30, 0xec(r31)
/* 800BCB80 000B9AE0 48 00 00 1C */ b lbl_800BCB9C
lbl_800BCB84:
/* 800BCB84 000B9AE4 80 7E 00 08 */ lwz r3, 8(r30)
/* 800BCB88 000B9AE8 28 03 00 00 */ cmplwi r3, 0
/* 800BCB8C 000B9AEC 41 82 00 0C */ beq lbl_800BCB98
/* 800BCB90 000B9AF0 38 80 00 00 */ li r4, 0
/* 800BCB94 000B9AF4 48 29 8A A1 */ bl Touch__6CModelCFi
lbl_800BCB98:
/* 800BCB98 000B9AF8 3B DE 00 1C */ addi r30, r30, 0x1c
lbl_800BCB9C:
/* 800BCB9C 000B9AFC 80 1F 00 E4 */ lwz r0, 0xe4(r31)
/* 800BCBA0 000B9B00 80 7F 00 EC */ lwz r3, 0xec(r31)
/* 800BCBA4 000B9B04 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800BCBA8 000B9B08 7C 03 02 14 */ add r0, r3, r0
/* 800BCBAC 000B9B0C 7C 1E 00 40 */ cmplw r30, r0
/* 800BCBB0 000B9B10 40 82 FF D4 */ bne lbl_800BCB84
/* 800BCBB4 000B9B14 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800BCBB8 000B9B18 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800BCBBC 000B9B1C 83 C1 00 08 */ lwz r30, 8(r1)
/* 800BCBC0 000B9B20 7C 08 03 A6 */ mtlr r0
/* 800BCBC4 000B9B24 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 800BCBC8 000B9B28 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global Draw__17CTargetingManagerCFRC13CStateManager
Draw__17CTargetingManagerCFRC13CStateManager:
/* 800BCBCC 000B9B2C 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 800BCBD0 000B9B30 7C 08 02 A6 */ mflr r0
/* 800BCBD4 000B9B34 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 800BCBD8 000B9B38 93 E1 00 EC */ stw r31, 0xec(r1)
/* 800BCBDC 000B9B3C 93 C1 00 E8 */ stw r30, 0xe8(r1)
/* 800BCBE0 000B9B40 7C BE 2B 78 */ mr r30, r5
/* 800BCBE4 000B9B44 93 A1 00 E4 */ stw r29, 0xe4(r1)
/* 800BCBE8 000B9B48 7C 9D 23 78 */ mr r29, r4
/* 800BCBEC 000B9B4C 93 81 00 E0 */ stw r28, 0xe0(r1)
/* 800BCBF0 000B9B50 7C 7C 1B 78 */ mr r28, r3
/* 800BCBF4 000B9B54 48 28 D3 B9 */ bl White__6CColorFv
/* 800BCBF8 000B9B58 48 24 F4 25 */ bl SetAmbientColor__9CGraphicsFRC6CColor
/* 800BCBFC 000B9B5C 48 24 FD 81 */ bl DisableAllLights__9CGraphicsFv
/* 800BCC00 000B9B60 7F A4 EB 78 */ mr r4, r29
/* 800BCC04 000B9B64 38 7C 02 1C */ addi r3, r28, 0x21c
/* 800BCC08 000B9B68 4B FF F6 B1 */ bl Draw__17COrbitPointMarkerCFRC13CStateManager
/* 800BCC0C 000B9B6C 80 7D 08 70 */ lwz r3, 0x870(r29)
/* 800BCC10 000B9B70 7F A4 EB 78 */ mr r4, r29
/* 800BCC14 000B9B74 4B F4 EF 05 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
2022-04-12 09:14:24 +00:00
/* 800BCC18 000B9B78 80 9D 08 70 */ lwz r4, 0x870(r29)
/* 800BCC1C 000B9B7C 7C 7F 1B 78 */ mr r31, r3
/* 800BCC20 000B9B80 7F A5 EB 78 */ mr r5, r29
/* 800BCC24 000B9B84 38 61 00 08 */ addi r3, r1, 8
/* 800BCC28 000B9B88 4B F4 DD 41 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager
/* 800BCC2C 000B9B8C 38 61 00 38 */ addi r3, r1, 0x38
/* 800BCC30 000B9B90 38 81 00 08 */ addi r4, r1, 8
/* 800BCC34 000B9B94 48 25 5F 41 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800BCC38 000B9B98 38 61 00 38 */ addi r3, r1, 0x38
/* 800BCC3C 000B9B9C 48 24 FB 11 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 800BCC40 000B9BA0 C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2)
/* 800BCC44 000B9BA4 38 61 00 68 */ addi r3, r1, 0x68
/* 800BCC48 000B9BA8 C0 1F 01 5C */ lfs f0, 0x15c(r31)
/* 800BCC4C 000B9BAC 38 81 00 38 */ addi r4, r1, 0x38
/* 800BCC50 000B9BB0 C0 5F 01 68 */ lfs f2, 0x168(r31)
/* 800BCC54 000B9BB4 38 A0 00 00 */ li r5, 0
/* 800BCC58 000B9BB8 EC 21 00 32 */ fmuls f1, f1, f0
/* 800BCC5C 000B9BBC C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2)
/* 800BCC60 000B9BC0 C0 82 8D 3C */ lfs f4, lbl_805AAA5C@sda21(r2)
/* 800BCC64 000B9BC4 48 28 85 F1 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf
/* 800BCC68 000B9BC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BCC6C 000B9BCC 38 81 00 68 */ addi r4, r1, 0x68
/* 800BCC70 000B9BD0 81 83 00 00 */ lwz r12, 0(r3)
/* 800BCC74 000B9BD4 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 800BCC78 000B9BD8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BCC7C 000B9BDC 4E 80 04 21 */ bctrl
2022-08-16 02:14:28 +00:00
/* 800BCC80 000B9BE0 3C 60 80 3F */ lis r3, mViewport__9CGraphics@ha
2022-04-12 09:14:24 +00:00
/* 800BCC84 000B9BE4 3C 80 43 30 */ lis r4, 0x4330
2022-08-16 02:14:28 +00:00
/* 800BCC88 000B9BE8 38 C3 D9 10 */ addi r6, r3, mViewport__9CGraphics@l
2022-04-12 09:14:24 +00:00
/* 800BCC8C 000B9BEC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BCC90 000B9BF0 80 A6 00 08 */ lwz r5, 8(r6)
/* 800BCC94 000B9BF4 80 06 00 0C */ lwz r0, 0xc(r6)
/* 800BCC98 000B9BF8 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 800BCC9C 000B9BFC 81 83 00 00 */ lwz r12, 0(r3)
/* 800BCCA0 000B9C00 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800BCCA4 000B9C04 90 A1 00 D4 */ stw r5, 0xd4(r1)
/* 800BCCA8 000B9C08 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2)
/* 800BCCAC 000B9C0C 90 81 00 D0 */ stw r4, 0xd0(r1)
/* 800BCCB0 000B9C10 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 800BCCB4 000B9C14 C8 01 00 D0 */ lfd f0, 0xd0(r1)
/* 800BCCB8 000B9C18 90 01 00 DC */ stw r0, 0xdc(r1)
/* 800BCCBC 000B9C1C EC 40 18 28 */ fsubs f2, f0, f3
/* 800BCCC0 000B9C20 C0 3F 01 5C */ lfs f1, 0x15c(r31)
/* 800BCCC4 000B9C24 90 81 00 D8 */ stw r4, 0xd8(r1)
/* 800BCCC8 000B9C28 C0 9F 01 60 */ lfs f4, 0x160(r31)
/* 800BCCCC 000B9C2C C8 01 00 D8 */ lfd f0, 0xd8(r1)
/* 800BCCD0 000B9C30 C0 BF 01 64 */ lfs f5, 0x164(r31)
/* 800BCCD4 000B9C34 EC 60 18 28 */ fsubs f3, f0, f3
/* 800BCCD8 000B9C38 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BCCDC 000B9C3C 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BCCE0 000B9C40 7F 83 E3 78 */ mr r3, r28
/* 800BCCE4 000B9C44 7F A4 EB 78 */ mr r4, r29
/* 800BCCE8 000B9C48 7F C5 F3 78 */ mr r5, r30
/* 800BCCEC 000B9C4C 48 00 2F 69 */ bl Draw__22CCompoundTargetReticleCFRC13CStateManager
/* 800BCCF0 000B9C50 80 A1 00 68 */ lwz r5, 0x68(r1)
/* 800BCCF4 000B9C54 38 60 00 00 */ li r3, 0
/* 800BCCF8 000B9C58 2C 05 00 00 */ cmpwi r5, 0
/* 800BCCFC 000B9C5C 40 81 00 40 */ ble lbl_800BCD3C
/* 800BCD00 000B9C60 2C 05 00 08 */ cmpwi r5, 8
/* 800BCD04 000B9C64 38 85 FF F8 */ addi r4, r5, -8
/* 800BCD08 000B9C68 40 81 00 20 */ ble lbl_800BCD28
/* 800BCD0C 000B9C6C 38 04 00 07 */ addi r0, r4, 7
/* 800BCD10 000B9C70 54 00 E8 FE */ srwi r0, r0, 3
/* 800BCD14 000B9C74 7C 09 03 A6 */ mtctr r0
/* 800BCD18 000B9C78 2C 04 00 00 */ cmpwi r4, 0
/* 800BCD1C 000B9C7C 40 81 00 0C */ ble lbl_800BCD28
lbl_800BCD20:
/* 800BCD20 000B9C80 38 63 00 08 */ addi r3, r3, 8
/* 800BCD24 000B9C84 42 00 FF FC */ bdnz lbl_800BCD20
lbl_800BCD28:
/* 800BCD28 000B9C88 7C 03 28 50 */ subf r0, r3, r5
/* 800BCD2C 000B9C8C 7C 09 03 A6 */ mtctr r0
/* 800BCD30 000B9C90 7C 03 28 00 */ cmpw r3, r5
/* 800BCD34 000B9C94 40 80 00 08 */ bge lbl_800BCD3C
lbl_800BCD38:
/* 800BCD38 000B9C98 42 00 00 00 */ bdnz lbl_800BCD38
lbl_800BCD3C:
/* 800BCD3C 000B9C9C 38 00 00 00 */ li r0, 0
/* 800BCD40 000B9CA0 90 01 00 68 */ stw r0, 0x68(r1)
/* 800BCD44 000B9CA4 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 800BCD48 000B9CA8 83 E1 00 EC */ lwz r31, 0xec(r1)
/* 800BCD4C 000B9CAC 83 C1 00 E8 */ lwz r30, 0xe8(r1)
/* 800BCD50 000B9CB0 83 A1 00 E4 */ lwz r29, 0xe4(r1)
/* 800BCD54 000B9CB4 83 81 00 E0 */ lwz r28, 0xe0(r1)
/* 800BCD58 000B9CB8 7C 08 03 A6 */ mtlr r0
/* 800BCD5C 000B9CBC 38 21 00 F0 */ addi r1, r1, 0xf0
2022-07-14 05:48:03 +00:00
/* 800BCD60 000B9CC0 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global Update__17CTargetingManagerFfRC13CStateManager
Update__17CTargetingManagerFfRC13CStateManager:
/* 800BCD64 000B9CC4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800BCD68 000B9CC8 7C 08 02 A6 */ mflr r0
/* 800BCD6C 000B9CCC 90 01 00 24 */ stw r0, 0x24(r1)
/* 800BCD70 000B9CD0 DB E1 00 18 */ stfd f31, 0x18(r1)
/* 800BCD74 000B9CD4 FF E0 08 90 */ fmr f31, f1
/* 800BCD78 000B9CD8 93 E1 00 14 */ stw r31, 0x14(r1)
/* 800BCD7C 000B9CDC 7C 9F 23 78 */ mr r31, r4
/* 800BCD80 000B9CE0 93 C1 00 10 */ stw r30, 0x10(r1)
/* 800BCD84 000B9CE4 7C 7E 1B 78 */ mr r30, r3
/* 800BCD88 000B9CE8 48 00 3B 51 */ bl Update__22CCompoundTargetReticleFfRC13CStateManager
/* 800BCD8C 000B9CEC FC 20 F8 90 */ fmr f1, f31
/* 800BCD90 000B9CF0 7F E4 FB 78 */ mr r4, r31
/* 800BCD94 000B9CF4 38 7E 02 1C */ addi r3, r30, 0x21c
/* 800BCD98 000B9CF8 4B FF F8 31 */ bl Update__17COrbitPointMarkerFfRC13CStateManager
/* 800BCD9C 000B9CFC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800BCDA0 000B9D00 CB E1 00 18 */ lfd f31, 0x18(r1)
/* 800BCDA4 000B9D04 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 800BCDA8 000B9D08 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 800BCDAC 000B9D0C 7C 08 03 A6 */ mtlr r0
/* 800BCDB0 000B9D10 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 800BCDB4 000B9D14 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global CheckLoadComplete__17CTargetingManagerFv
CheckLoadComplete__17CTargetingManagerFv:
/* 800BCDB8 000B9D18 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800BCDBC 000B9D1C 7C 08 02 A6 */ mflr r0
/* 800BCDC0 000B9D20 90 01 00 14 */ stw r0, 0x14(r1)
/* 800BCDC4 000B9D24 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800BCDC8 000B9D28 3B E0 00 00 */ li r31, 0
/* 800BCDCC 000B9D2C 93 C1 00 08 */ stw r30, 8(r1)
/* 800BCDD0 000B9D30 7C 7E 1B 78 */ mr r30, r3
/* 800BCDD4 000B9D34 48 00 45 51 */ bl CheckLoadComplete__22CCompoundTargetReticleFv
/* 800BCDD8 000B9D38 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800BCDDC 000B9D3C 41 82 00 18 */ beq lbl_800BCDF4
/* 800BCDE0 000B9D40 38 7E 02 1C */ addi r3, r30, 0x21c
/* 800BCDE4 000B9D44 4B FF FB 1D */ bl CheckLoadComplete__17COrbitPointMarkerFv
/* 800BCDE8 000B9D48 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800BCDEC 000B9D4C 41 82 00 08 */ beq lbl_800BCDF4
/* 800BCDF0 000B9D50 3B E0 00 01 */ li r31, 1
lbl_800BCDF4:
/* 800BCDF4 000B9D54 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800BCDF8 000B9D58 7F E3 FB 78 */ mr r3, r31
/* 800BCDFC 000B9D5C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800BCE00 000B9D60 83 C1 00 08 */ lwz r30, 8(r1)
/* 800BCE04 000B9D64 7C 08 03 A6 */ mtlr r0
/* 800BCE08 000B9D68 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 800BCE0C 000B9D6C 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global __ct__17CTargetingManagerFRC13CStateManager
__ct__17CTargetingManagerFRC13CStateManager:
/* 800BCE10 000B9D70 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800BCE14 000B9D74 7C 08 02 A6 */ mflr r0
/* 800BCE18 000B9D78 90 01 00 14 */ stw r0, 0x14(r1)
/* 800BCE1C 000B9D7C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800BCE20 000B9D80 7C 7F 1B 78 */ mr r31, r3
/* 800BCE24 000B9D84 48 00 45 09 */ bl __ct__22CCompoundTargetReticleFRC13CStateManager
/* 800BCE28 000B9D88 38 7F 02 1C */ addi r3, r31, 0x21c
/* 800BCE2C 000B9D8C 4B FF FB 49 */ bl __ct__17COrbitPointMarkerFv
/* 800BCE30 000B9D90 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800BCE34 000B9D94 7F E3 FB 78 */ mr r3, r31
/* 800BCE38 000B9D98 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800BCE3C 000B9D9C 7C 08 03 A6 */ mtlr r0
/* 800BCE40 000B9DA0 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 800BCE44 000B9DA4 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef
InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef:
/* 800BCE48 000B9DA8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800BCE4C 000B9DAC 7C 08 02 A6 */ mflr r0
/* 800BCE50 000B9DB0 90 01 00 34 */ stw r0, 0x34(r1)
/* 800BCE54 000B9DB4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800BCE58 000B9DB8 7C BF 2B 78 */ mr r31, r5
/* 800BCE5C 000B9DBC 38 AD 86 B0 */ addi r5, r13, lbl_805A7270@sda21
/* 800BCE60 000B9DC0 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800BCE64 000B9DC4 7C 9E 23 78 */ mr r30, r4
/* 800BCE68 000B9DC8 38 81 00 08 */ addi r4, r1, 8
/* 800BCE6C 000B9DCC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800BCE70 000B9DD0 7C 7D 1B 78 */ mr r29, r3
/* 800BCE74 000B9DD4 38 6D 86 AC */ addi r3, r13, lbl_805A726C@sda21
/* 800BCE78 000B9DD8 D0 21 00 08 */ stfs f1, 8(r1)
/* 800BCE7C 000B9DDC 4B F4 F4 39 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 800BCE80 000B9DE0 C0 E3 00 00 */ lfs f7, 0(r3)
/* 800BCE84 000B9DE4 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2)
/* 800BCE88 000B9DE8 C0 1F 00 04 */ lfs f0, 4(r31)
/* 800BCE8C 000B9DEC EC C2 38 28 */ fsubs f6, f2, f7
/* 800BCE90 000B9DF0 C0 3D 00 04 */ lfs f1, 4(r29)
/* 800BCE94 000B9DF4 EC 07 00 32 */ fmuls f0, f7, f0
/* 800BCE98 000B9DF8 FC 02 38 00 */ fcmpu cr0, f2, f7
/* 800BCE9C 000B9DFC EC 06 00 7A */ fmadds f0, f6, f1, f0
/* 800BCEA0 000B9E00 D0 1E 00 04 */ stfs f0, 4(r30)
/* 800BCEA4 000B9E04 C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 800BCEA8 000B9E08 C0 3D 00 14 */ lfs f1, 0x14(r29)
/* 800BCEAC 000B9E0C EC 07 00 32 */ fmuls f0, f7, f0
/* 800BCEB0 000B9E10 EC 06 00 7A */ fmadds f0, f6, f1, f0
/* 800BCEB4 000B9E14 D0 1E 00 14 */ stfs f0, 0x14(r30)
/* 800BCEB8 000B9E18 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 800BCEBC 000B9E1C C0 3D 00 18 */ lfs f1, 0x18(r29)
/* 800BCEC0 000B9E20 EC 07 00 32 */ fmuls f0, f7, f0
/* 800BCEC4 000B9E24 EC 06 00 7A */ fmadds f0, f6, f1, f0
/* 800BCEC8 000B9E28 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 800BCECC 000B9E2C C0 1F 00 08 */ lfs f0, 8(r31)
/* 800BCED0 000B9E30 C0 7F 00 0C */ lfs f3, 0xc(r31)
/* 800BCED4 000B9E34 C0 5F 00 10 */ lfs f2, 0x10(r31)
/* 800BCED8 000B9E38 EC 00 01 F2 */ fmuls f0, f0, f7
/* 800BCEDC 000B9E3C C0 3D 00 08 */ lfs f1, 8(r29)
/* 800BCEE0 000B9E40 EC 83 01 F2 */ fmuls f4, f3, f7
/* 800BCEE4 000B9E44 C0 BD 00 0C */ lfs f5, 0xc(r29)
/* 800BCEE8 000B9E48 EC 42 01 F2 */ fmuls f2, f2, f7
/* 800BCEEC 000B9E4C C0 7D 00 10 */ lfs f3, 0x10(r29)
/* 800BCEF0 000B9E50 EC 01 01 BA */ fmadds f0, f1, f6, f0
/* 800BCEF4 000B9E54 EC 85 21 BA */ fmadds f4, f5, f6, f4
/* 800BCEF8 000B9E58 EC 23 11 BA */ fmadds f1, f3, f6, f2
/* 800BCEFC 000B9E5C D0 1E 00 08 */ stfs f0, 8(r30)
/* 800BCF00 000B9E60 D0 9E 00 0C */ stfs f4, 0xc(r30)
/* 800BCF04 000B9E64 D0 3E 00 10 */ stfs f1, 0x10(r30)
/* 800BCF08 000B9E68 40 82 00 18 */ bne lbl_800BCF20
/* 800BCF0C 000B9E6C A0 1F 00 00 */ lhz r0, 0(r31)
/* 800BCF10 000B9E70 B0 01 00 18 */ sth r0, 0x18(r1)
/* 800BCF14 000B9E74 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 800BCF18 000B9E78 B0 1E 00 00 */ sth r0, 0(r30)
/* 800BCF1C 000B9E7C 48 00 00 30 */ b lbl_800BCF4C
lbl_800BCF20:
/* 800BCF20 000B9E80 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BCF24 000B9E84 FC 00 38 00 */ fcmpu cr0, f0, f7
/* 800BCF28 000B9E88 40 82 00 18 */ bne lbl_800BCF40
/* 800BCF2C 000B9E8C A0 1D 00 00 */ lhz r0, 0(r29)
/* 800BCF30 000B9E90 B0 01 00 10 */ sth r0, 0x10(r1)
/* 800BCF34 000B9E94 B0 01 00 14 */ sth r0, 0x14(r1)
/* 800BCF38 000B9E98 B0 1E 00 00 */ sth r0, 0(r30)
/* 800BCF3C 000B9E9C 48 00 00 10 */ b lbl_800BCF4C
lbl_800BCF40:
2022-04-24 01:54:45 +00:00
/* 800BCF40 000B9EA0 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800BCF44 000B9EA4 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800BCF48 000B9EA8 B0 1E 00 00 */ sth r0, 0(r30)
lbl_800BCF4C:
/* 800BCF4C 000B9EAC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800BCF50 000B9EB0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800BCF54 000B9EB4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800BCF58 000B9EB8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800BCF5C 000B9EBC 7C 08 03 A6 */ mtlr r0
/* 800BCF60 000B9EC0 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 800BCF64 000B9EC4 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb
__ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb:
/* 800BCF68 000B9EC8 A0 04 00 00 */ lhz r0, 0(r4)
/* 800BCF6C 000B9ECC B0 03 00 00 */ sth r0, 0(r3)
/* 800BCF70 000B9ED0 D0 23 00 04 */ stfs f1, 4(r3)
/* 800BCF74 000B9ED4 C0 05 00 00 */ lfs f0, 0(r5)
/* 800BCF78 000B9ED8 D0 03 00 08 */ stfs f0, 8(r3)
/* 800BCF7C 000B9EDC C0 05 00 04 */ lfs f0, 4(r5)
/* 800BCF80 000B9EE0 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 800BCF84 000B9EE4 C0 05 00 08 */ lfs f0, 8(r5)
/* 800BCF88 000B9EE8 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 800BCF8C 000B9EEC D0 43 00 14 */ stfs f2, 0x14(r3)
/* 800BCF90 000B9EF0 D0 63 00 18 */ stfs f3, 0x18(r3)
/* 800BCF94 000B9EF4 98 C3 00 1C */ stb r6, 0x1c(r3)
2022-07-14 05:48:03 +00:00
/* 800BCF98 000B9EF8 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager:
/* 800BCF9C 000B9EFC 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 800BCFA0 000B9F00 7C 08 02 A6 */ mflr r0
/* 800BCFA4 000B9F04 90 01 01 04 */ stw r0, 0x104(r1)
/* 800BCFA8 000B9F08 DB E1 00 F0 */ stfd f31, 0xf0(r1)
/* 800BCFAC 000B9F0C F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0
/* 800BCFB0 000B9F10 DB C1 00 E0 */ stfd f30, 0xe0(r1)
/* 800BCFB4 000B9F14 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0
/* 800BCFB8 000B9F18 93 E1 00 DC */ stw r31, 0xdc(r1)
/* 800BCFBC 000B9F1C 93 C1 00 D8 */ stw r30, 0xd8(r1)
/* 800BCFC0 000B9F20 93 A1 00 D4 */ stw r29, 0xd4(r1)
/* 800BCFC4 000B9F24 FF E0 08 90 */ fmr f31, f1
/* 800BCFC8 000B9F28 7C 9E 23 78 */ mr r30, r4
/* 800BCFCC 000B9F2C 7C 7D 1B 78 */ mr r29, r3
/* 800BCFD0 000B9F30 D0 41 00 08 */ stfs f2, 8(r1)
/* 800BCFD4 000B9F34 80 64 08 70 */ lwz r3, 0x870(r4)
/* 800BCFD8 000B9F38 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 800BCFDC 000B9F3C 4B F4 EB 3D */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
2022-04-12 09:14:24 +00:00
/* 800BCFE0 000B9F40 80 9E 08 70 */ lwz r4, 0x870(r30)
/* 800BCFE4 000B9F44 7C 7F 1B 78 */ mr r31, r3
/* 800BCFE8 000B9F48 7F C5 F3 78 */ mr r5, r30
/* 800BCFEC 000B9F4C 38 61 00 5C */ addi r3, r1, 0x5c
/* 800BCFF0 000B9F50 4B F4 D9 79 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager
/* 800BCFF4 000B9F54 38 61 00 8C */ addi r3, r1, 0x8c
/* 800BCFF8 000B9F58 38 81 00 5C */ addi r4, r1, 0x5c
/* 800BCFFC 000B9F5C 48 25 5B 79 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800BD000 000B9F60 C0 3D 00 08 */ lfs f1, 8(r29)
/* 800BD004 000B9F64 38 9F 00 34 */ addi r4, r31, 0x34
/* 800BD008 000B9F68 C0 1F 00 60 */ lfs f0, 0x60(r31)
/* 800BD00C 000B9F6C 38 61 00 44 */ addi r3, r1, 0x44
/* 800BD010 000B9F70 C0 7D 00 04 */ lfs f3, 4(r29)
/* 800BD014 000B9F74 38 A1 00 14 */ addi r5, r1, 0x14
/* 800BD018 000B9F78 EC 81 00 28 */ fsubs f4, f1, f0
/* 800BD01C 000B9F7C C0 5F 00 50 */ lfs f2, 0x50(r31)
/* 800BD020 000B9F80 C0 1F 00 40 */ lfs f0, 0x40(r31)
/* 800BD024 000B9F84 C0 3D 00 00 */ lfs f1, 0(r29)
/* 800BD028 000B9F88 EC 43 10 28 */ fsubs f2, f3, f2
/* 800BD02C 000B9F8C D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 800BD030 000B9F90 EC 01 00 28 */ fsubs f0, f1, f0
/* 800BD034 000B9F94 D0 41 00 18 */ stfs f2, 0x18(r1)
/* 800BD038 000B9F98 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 800BD03C 000B9F9C 48 25 59 E9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 800BD040 000B9FA0 C0 41 00 44 */ lfs f2, 0x44(r1)
/* 800BD044 000B9FA4 7F E3 FB 78 */ mr r3, r31
/* 800BD048 000B9FA8 C0 21 00 48 */ lfs f1, 0x48(r1)
/* 800BD04C 000B9FAC C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 800BD050 000B9FB0 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 800BD054 000B9FB4 D0 21 00 54 */ stfs f1, 0x54(r1)
/* 800BD058 000B9FB8 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 800BD05C 000B9FBC 4B FA 09 1D */ bl GetPerspectiveMatrix__11CGameCameraCFv
/* 800BD060 000B9FC0 7C 64 1B 78 */ mr r4, r3
/* 800BD064 000B9FC4 38 61 00 38 */ addi r3, r1, 0x38
/* 800BD068 000B9FC8 38 A1 00 50 */ addi r5, r1, 0x50
/* 800BD06C 000B9FCC 48 25 36 E5 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f
/* 800BD070 000B9FD0 C0 01 00 50 */ lfs f0, 0x50(r1)
/* 800BD074 000B9FD4 7F E3 FB 78 */ mr r3, r31
/* 800BD078 000B9FD8 C0 61 00 54 */ lfs f3, 0x54(r1)
/* 800BD07C 000B9FDC C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2)
/* 800BD080 000B9FE0 EC 00 F8 2A */ fadds f0, f0, f31
/* 800BD084 000B9FE4 C0 21 00 58 */ lfs f1, 0x58(r1)
/* 800BD088 000B9FE8 EC 63 10 2A */ fadds f3, f3, f2
/* 800BD08C 000B9FEC C3 C1 00 38 */ lfs f30, 0x38(r1)
/* 800BD090 000B9FF0 EC 21 10 2A */ fadds f1, f1, f2
/* 800BD094 000B9FF4 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 800BD098 000B9FF8 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 800BD09C 000B9FFC D0 21 00 28 */ stfs f1, 0x28(r1)
/* 800BD0A0 000BA000 4B FA 08 D9 */ bl GetPerspectiveMatrix__11CGameCameraCFv
/* 800BD0A4 000BA004 7C 64 1B 78 */ mr r4, r3
/* 800BD0A8 000BA008 38 61 00 2C */ addi r3, r1, 0x2c
/* 800BD0AC 000BA00C 38 A1 00 20 */ addi r5, r1, 0x20
/* 800BD0B0 000BA010 48 25 36 A1 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f
2022-08-16 02:14:28 +00:00
/* 800BD0B4 000BA014 3C 60 80 3F */ lis r3, mViewport__9CGraphics@ha
2022-04-12 09:14:24 +00:00
/* 800BD0B8 000BA018 3C 00 43 30 */ lis r0, 0x4330
2022-08-16 02:14:28 +00:00
/* 800BD0BC 000BA01C 38 63 D9 10 */ addi r3, r3, mViewport__9CGraphics@l
2022-04-12 09:14:24 +00:00
/* 800BD0C0 000BA020 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 800BD0C4 000BA024 80 83 00 08 */ lwz r4, 8(r3)
/* 800BD0C8 000BA028 38 61 00 08 */ addi r3, r1, 8
/* 800BD0CC 000BA02C EC 40 F0 28 */ fsubs f2, f0, f30
/* 800BD0D0 000BA030 90 01 00 C0 */ stw r0, 0xc0(r1)
/* 800BD0D4 000BA034 6C 80 80 00 */ xoris r0, r4, 0x8000
/* 800BD0D8 000BA038 C8 22 8D 40 */ lfd f1, lbl_805AAA60@sda21(r2)
/* 800BD0DC 000BA03C 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 800BD0E0 000BA040 38 81 00 10 */ addi r4, r1, 0x10
/* 800BD0E4 000BA044 C8 01 00 C0 */ lfd f0, 0xc0(r1)
/* 800BD0E8 000BA048 38 A1 00 0C */ addi r5, r1, 0xc
/* 800BD0EC 000BA04C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 800BD0F0 000BA050 EC 00 08 28 */ fsubs f0, f0, f1
/* 800BD0F4 000BA054 EC 02 00 32 */ fmuls f0, f2, f0
/* 800BD0F8 000BA058 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 800BD0FC 000BA05C 4B F4 F1 B9 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 800BD100 000BA060 C0 23 00 00 */ lfs f1, 0(r3)
/* 800BD104 000BA064 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 800BD108 000BA068 EC 01 00 24 */ fdivs f0, f1, f0
/* 800BD10C 000BA06C EC 3F 00 32 */ fmuls f1, f31, f0
/* 800BD110 000BA070 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0
/* 800BD114 000BA074 CB E1 00 F0 */ lfd f31, 0xf0(r1)
/* 800BD118 000BA078 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0
/* 800BD11C 000BA07C CB C1 00 E0 */ lfd f30, 0xe0(r1)
/* 800BD120 000BA080 83 E1 00 DC */ lwz r31, 0xdc(r1)
/* 800BD124 000BA084 83 C1 00 D8 */ lwz r30, 0xd8(r1)
/* 800BD128 000BA088 80 01 01 04 */ lwz r0, 0x104(r1)
/* 800BD12C 000BA08C 83 A1 00 D4 */ lwz r29, 0xd4(r1)
/* 800BD130 000BA090 7C 08 03 A6 */ mtlr r0
/* 800BD134 000BA094 38 21 01 00 */ addi r1, r1, 0x100
2022-07-14 05:48:03 +00:00
/* 800BD138 000BA098 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager
IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager:
/* 800BD13C 000BA09C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800BD140 000BA0A0 7C 08 02 A6 */ mflr r0
/* 800BD144 000BA0A4 90 01 00 24 */ stw r0, 0x24(r1)
/* 800BD148 000BA0A8 A0 03 00 00 */ lhz r0, 0(r3)
/* 800BD14C 000BA0AC 80 64 08 10 */ lwz r3, 0x810(r4)
/* 800BD150 000BA0B0 38 81 00 08 */ addi r4, r1, 8
/* 800BD154 000BA0B4 B0 01 00 08 */ sth r0, 8(r1)
/* 800BD158 000BA0B8 4B F5 2C 95 */ bl GetObjectById__11CObjectListCF9TUniqueId
/* 800BD15C 000BA0BC 7C 64 1B 78 */ mr r4, r3
/* 800BD160 000BA0C0 38 61 00 0C */ addi r3, r1, 0xc
/* 800BD164 000BA0C4 4B FE C9 65 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity"
/* 800BD168 000BA0C8 80 63 00 04 */ lwz r3, 4(r3)
/* 800BD16C 000BA0CC 7C 03 00 D0 */ neg r0, r3
/* 800BD170 000BA0D0 7C 00 1B 78 */ or r0, r0, r3
/* 800BD174 000BA0D4 54 03 0F FE */ srwi r3, r0, 0x1f
/* 800BD178 000BA0D8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800BD17C 000BA0DC 7C 08 03 A6 */ mtlr r0
/* 800BD180 000BA0E0 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 800BD184 000BA0E4 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb
CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb:
/* 800BD188 000BA0E8 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 800BD18C 000BA0EC 7C 08 02 A6 */ mflr r0
/* 800BD190 000BA0F0 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 800BD194 000BA0F4 DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 800BD198 000BA0F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 800BD19C 000BA0FC 93 E1 00 9C */ stw r31, 0x9c(r1)
/* 800BD1A0 000BA100 93 C1 00 98 */ stw r30, 0x98(r1)
/* 800BD1A4 000BA104 93 A1 00 94 */ stw r29, 0x94(r1)
/* 800BD1A8 000BA108 93 81 00 90 */ stw r28, 0x90(r1)
/* 800BD1AC 000BA10C 7C BE 2B 78 */ mr r30, r5
/* 800BD1B0 000BA110 7C 7C 1B 78 */ mr r28, r3
/* 800BD1B4 000BA114 80 65 08 70 */ lwz r3, 0x870(r5)
/* 800BD1B8 000BA118 7C 9D 23 78 */ mr r29, r4
/* 800BD1BC 000BA11C 7C DF 33 78 */ mr r31, r6
/* 800BD1C0 000BA120 7F C4 F3 78 */ mr r4, r30
/* 800BD1C4 000BA124 4B F4 E9 55 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
2022-04-12 09:14:24 +00:00
/* 800BD1C8 000BA128 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13)
/* 800BD1CC 000BA12C 3C 00 43 30 */ lis r0, 0x4330
/* 800BD1D0 000BA130 90 01 00 80 */ stw r0, 0x80(r1)
/* 800BD1D4 000BA134 80 04 01 B0 */ lwz r0, 0x1b0(r4)
/* 800BD1D8 000BA138 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2)
/* 800BD1DC 000BA13C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800BD1E0 000BA140 C0 82 8D 58 */ lfs f4, lbl_805AAA78@sda21(r2)
/* 800BD1E4 000BA144 90 01 00 84 */ stw r0, 0x84(r1)
/* 800BD1E8 000BA148 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2)
/* 800BD1EC 000BA14C C8 41 00 80 */ lfd f2, 0x80(r1)
/* 800BD1F0 000BA150 C0 03 01 5C */ lfs f0, 0x15c(r3)
/* 800BD1F4 000BA154 EC 62 18 28 */ fsubs f3, f2, f3
/* 800BD1F8 000BA158 C0 42 8D 60 */ lfs f2, lbl_805AAA80@sda21(r2)
/* 800BD1FC 000BA15C EC 01 00 32 */ fmuls f0, f1, f0
/* 800BD200 000BA160 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2)
/* 800BD204 000BA164 EF E4 18 24 */ fdivs f31, f4, f3
/* 800BD208 000BA168 EC 02 00 32 */ fmuls f0, f2, f0
/* 800BD20C 000BA16C EC 21 00 32 */ fmuls f1, f1, f0
/* 800BD210 000BA170 48 25 80 B1 */ bl SlowTangentR__5CMathFf
/* 800BD214 000BA174 EF FF 08 24 */ fdivs f31, f31, f1
/* 800BD218 000BA178 80 9E 08 70 */ lwz r4, 0x870(r30)
/* 800BD21C 000BA17C 7F C5 F3 78 */ mr r5, r30
/* 800BD220 000BA180 38 61 00 20 */ addi r3, r1, 0x20
/* 800BD224 000BA184 4B F4 D7 45 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager
/* 800BD228 000BA188 38 61 00 50 */ addi r3, r1, 0x50
/* 800BD22C 000BA18C 38 81 00 20 */ addi r4, r1, 0x20
/* 800BD230 000BA190 48 25 59 45 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800BD234 000BA194 C0 41 00 74 */ lfs f2, 0x74(r1)
/* 800BD238 000BA198 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800BD23C 000BA19C C0 21 00 54 */ lfs f1, 0x54(r1)
/* 800BD240 000BA1A0 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 800BD244 000BA1A4 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 800BD248 000BA1A8 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 800BD24C 000BA1AC D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 800BD250 000BA1B0 41 82 00 2C */ beq lbl_800BD27C
/* 800BD254 000BA1B4 38 61 00 08 */ addi r3, r1, 8
/* 800BD258 000BA1B8 38 9D 00 10 */ addi r4, r29, 0x10
/* 800BD25C 000BA1BC 38 A1 00 14 */ addi r5, r1, 0x14
/* 800BD260 000BA1C0 48 25 40 05 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 800BD264 000BA1C4 C0 41 00 08 */ lfs f2, 8(r1)
/* 800BD268 000BA1C8 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 800BD26C 000BA1CC C0 01 00 10 */ lfs f0, 0x10(r1)
/* 800BD270 000BA1D0 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 800BD274 000BA1D4 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 800BD278 000BA1D8 D0 01 00 1C */ stfs f0, 0x1c(r1)
lbl_800BD27C:
/* 800BD27C 000BA1DC C0 01 00 14 */ lfs f0, 0x14(r1)
/* 800BD280 000BA1E0 C0 61 00 18 */ lfs f3, 0x18(r1)
/* 800BD284 000BA1E4 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800BD288 000BA1E8 C0 21 00 5C */ lfs f1, 0x5c(r1)
/* 800BD28C 000BA1EC EC 9F 00 F2 */ fmuls f4, f31, f3
/* 800BD290 000BA1F0 C0 41 00 1C */ lfs f2, 0x1c(r1)
/* 800BD294 000BA1F4 C0 A1 00 6C */ lfs f5, 0x6c(r1)
/* 800BD298 000BA1F8 EC 01 00 2A */ fadds f0, f1, f0
/* 800BD29C 000BA1FC C0 61 00 7C */ lfs f3, 0x7c(r1)
/* 800BD2A0 000BA200 EC 3F 00 B2 */ fmuls f1, f31, f2
/* 800BD2A4 000BA204 EC 45 20 2A */ fadds f2, f5, f4
/* 800BD2A8 000BA208 D0 1C 00 00 */ stfs f0, 0(r28)
/* 800BD2AC 000BA20C EC 03 08 2A */ fadds f0, f3, f1
/* 800BD2B0 000BA210 D0 5C 00 04 */ stfs f2, 4(r28)
/* 800BD2B4 000BA214 D0 1C 00 08 */ stfs f0, 8(r28)
/* 800BD2B8 000BA218 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 800BD2BC 000BA21C 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 800BD2C0 000BA220 CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 800BD2C4 000BA224 83 E1 00 9C */ lwz r31, 0x9c(r1)
/* 800BD2C8 000BA228 83 C1 00 98 */ lwz r30, 0x98(r1)
/* 800BD2CC 000BA22C 83 A1 00 94 */ lwz r29, 0x94(r1)
/* 800BD2D0 000BA230 83 81 00 90 */ lwz r28, 0x90(r1)
/* 800BD2D4 000BA234 7C 08 03 A6 */ mtlr r0
/* 800BD2D8 000BA238 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 800BD2DC 000BA23C 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager
CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager:
/* 800BD2E0 000BA240 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800BD2E4 000BA244 7C 08 02 A6 */ mflr r0
/* 800BD2E8 000BA248 90 01 00 34 */ stw r0, 0x34(r1)
/* 800BD2EC 000BA24C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800BD2F0 000BA250 7C 7F 1B 78 */ mr r31, r3
/* 800BD2F4 000BA254 80 04 00 20 */ lwz r0, 0x20(r4)
/* 800BD2F8 000BA258 2C 00 00 01 */ cmpwi r0, 1
/* 800BD2FC 000BA25C 40 82 00 28 */ bne lbl_800BD324
/* 800BD300 000BA260 7C A4 2B 78 */ mr r4, r5
/* 800BD304 000BA264 7C C5 33 78 */ mr r5, r6
/* 800BD308 000BA268 81 84 00 00 */ lwz r12, 0(r4)
/* 800BD30C 000BA26C 38 61 00 14 */ addi r3, r1, 0x14
/* 800BD310 000BA270 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 800BD314 000BA274 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BD318 000BA278 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BD31C 000BA27C 38 61 00 14 */ addi r3, r1, 0x14
/* 800BD320 000BA280 48 00 00 28 */ b lbl_800BD348
lbl_800BD324:
/* 800BD324 000BA284 7C A4 2B 78 */ mr r4, r5
/* 800BD328 000BA288 7C C5 33 78 */ mr r5, r6
/* 800BD32C 000BA28C 81 84 00 00 */ lwz r12, 0(r4)
/* 800BD330 000BA290 38 61 00 08 */ addi r3, r1, 8
/* 800BD334 000BA294 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800BD338 000BA298 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 800BD33C 000BA29C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BD340 000BA2A0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BD344 000BA2A4 38 61 00 08 */ addi r3, r1, 8
lbl_800BD348:
/* 800BD348 000BA2A8 C0 03 00 00 */ lfs f0, 0(r3)
/* 800BD34C 000BA2AC D0 1F 00 00 */ stfs f0, 0(r31)
/* 800BD350 000BA2B0 C0 03 00 04 */ lfs f0, 4(r3)
/* 800BD354 000BA2B4 D0 1F 00 04 */ stfs f0, 4(r31)
/* 800BD358 000BA2B8 C0 03 00 08 */ lfs f0, 8(r3)
/* 800BD35C 000BA2BC D0 1F 00 08 */ stfs f0, 8(r31)
/* 800BD360 000BA2C0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800BD364 000BA2C4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800BD368 000BA2C8 7C 08 03 A6 */ mtlr r0
/* 800BD36C 000BA2CC 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 800BD370 000BA2D0 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager
CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager:
/* 800BD374 000BA2D4 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 800BD378 000BA2D8 7C 08 02 A6 */ mflr r0
/* 800BD37C 000BA2DC 90 01 00 94 */ stw r0, 0x94(r1)
/* 800BD380 000BA2E0 38 61 00 50 */ addi r3, r1, 0x50
/* 800BD384 000BA2E4 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 800BD388 000BA2E8 7C BF 2B 78 */ mr r31, r5
/* 800BD38C 000BA2EC 93 C1 00 88 */ stw r30, 0x88(r1)
/* 800BD390 000BA2F0 7C 9E 23 78 */ mr r30, r4
/* 800BD394 000BA2F4 81 84 00 00 */ lwz r12, 0(r4)
/* 800BD398 000BA2F8 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 800BD39C 000BA2FC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BD3A0 000BA300 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BD3A4 000BA304 88 01 00 68 */ lbz r0, 0x68(r1)
/* 800BD3A8 000BA308 28 00 00 00 */ cmplwi r0, 0
/* 800BD3AC 000BA30C 98 01 00 84 */ stb r0, 0x84(r1)
/* 800BD3B0 000BA310 41 82 00 3C */ beq lbl_800BD3EC
/* 800BD3B4 000BA314 34 61 00 6C */ addic. r3, r1, 0x6c
/* 800BD3B8 000BA318 41 82 00 34 */ beq lbl_800BD3EC
/* 800BD3BC 000BA31C C0 01 00 50 */ lfs f0, 0x50(r1)
/* 800BD3C0 000BA320 D0 03 00 00 */ stfs f0, 0(r3)
/* 800BD3C4 000BA324 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 800BD3C8 000BA328 D0 03 00 04 */ stfs f0, 4(r3)
/* 800BD3CC 000BA32C C0 01 00 58 */ lfs f0, 0x58(r1)
/* 800BD3D0 000BA330 D0 03 00 08 */ stfs f0, 8(r3)
/* 800BD3D4 000BA334 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 800BD3D8 000BA338 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 800BD3DC 000BA33C C0 01 00 60 */ lfs f0, 0x60(r1)
/* 800BD3E0 000BA340 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 800BD3E4 000BA344 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 800BD3E8 000BA348 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_800BD3EC:
/* 800BD3EC 000BA34C 88 01 00 84 */ lbz r0, 0x84(r1)
/* 800BD3F0 000BA350 38 60 00 00 */ li r3, 0
/* 800BD3F4 000BA354 98 61 00 68 */ stb r3, 0x68(r1)
/* 800BD3F8 000BA358 28 00 00 00 */ cmplwi r0, 0
/* 800BD3FC 000BA35C 41 82 00 0C */ beq lbl_800BD408
/* 800BD400 000BA360 38 61 00 6C */ addi r3, r1, 0x6c
/* 800BD404 000BA364 48 00 00 54 */ b lbl_800BD458
lbl_800BD408:
/* 800BD408 000BA368 7F C4 F3 78 */ mr r4, r30
/* 800BD40C 000BA36C 7F E5 FB 78 */ mr r5, r31
/* 800BD410 000BA370 81 9E 00 00 */ lwz r12, 0(r30)
/* 800BD414 000BA374 38 61 00 2C */ addi r3, r1, 0x2c
/* 800BD418 000BA378 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800BD41C 000BA37C 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 800BD420 000BA380 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BD424 000BA384 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BD428 000BA388 7F C4 F3 78 */ mr r4, r30
/* 800BD42C 000BA38C 7F E5 FB 78 */ mr r5, r31
/* 800BD430 000BA390 81 9E 00 00 */ lwz r12, 0(r30)
/* 800BD434 000BA394 38 61 00 20 */ addi r3, r1, 0x20
/* 800BD438 000BA398 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800BD43C 000BA39C 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 800BD440 000BA3A0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BD444 000BA3A4 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BD448 000BA3A8 38 61 00 38 */ addi r3, r1, 0x38
/* 800BD44C 000BA3AC 38 81 00 20 */ addi r4, r1, 0x20
/* 800BD450 000BA3B0 38 A1 00 2C */ addi r5, r1, 0x2c
/* 800BD454 000BA3B4 48 27 B0 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
lbl_800BD458:
/* 800BD458 000BA3B8 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13)
/* 800BD45C 000BA3BC C0 43 00 00 */ lfs f2, 0(r3)
/* 800BD460 000BA3C0 80 04 00 04 */ lwz r0, 4(r4)
/* 800BD464 000BA3C4 C0 83 00 04 */ lfs f4, 4(r3)
/* 800BD468 000BA3C8 2C 00 00 01 */ cmpwi r0, 1
/* 800BD46C 000BA3CC C0 A3 00 08 */ lfs f5, 8(r3)
/* 800BD470 000BA3D0 C0 63 00 0C */ lfs f3, 0xc(r3)
/* 800BD474 000BA3D4 C0 C3 00 10 */ lfs f6, 0x10(r3)
/* 800BD478 000BA3D8 C0 E3 00 14 */ lfs f7, 0x14(r3)
/* 800BD47C 000BA3DC 41 82 00 68 */ beq lbl_800BD4E4
/* 800BD480 000BA3E0 40 80 00 B4 */ bge lbl_800BD534
/* 800BD484 000BA3E4 2C 00 00 00 */ cmpwi r0, 0
/* 800BD488 000BA3E8 40 80 00 0C */ bge lbl_800BD494
/* 800BD48C 000BA3EC 48 00 00 A8 */ b lbl_800BD534
/* 800BD490 000BA3F0 48 00 00 A4 */ b lbl_800BD534
lbl_800BD494:
/* 800BD494 000BA3F4 EC 06 20 28 */ fsubs f0, f6, f4
/* 800BD498 000BA3F8 EC 27 28 28 */ fsubs f1, f7, f5
/* 800BD49C 000BA3FC D0 01 00 14 */ stfs f0, 0x14(r1)
/* 800BD4A0 000BA400 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800BD4A4 000BA404 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 800BD4A8 000BA408 40 80 00 0C */ bge lbl_800BD4B4
/* 800BD4AC 000BA40C 38 61 00 14 */ addi r3, r1, 0x14
/* 800BD4B0 000BA410 48 00 00 08 */ b lbl_800BD4B8
lbl_800BD4B4:
/* 800BD4B4 000BA414 38 61 00 18 */ addi r3, r1, 0x18
lbl_800BD4B8:
/* 800BD4B8 000BA418 EC 23 10 28 */ fsubs f1, f3, f2
/* 800BD4BC 000BA41C D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 800BD4C0 000BA420 C0 03 00 00 */ lfs f0, 0(r3)
/* 800BD4C4 000BA424 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800BD4C8 000BA428 40 80 00 08 */ bge lbl_800BD4D0
/* 800BD4CC 000BA42C 48 00 00 08 */ b lbl_800BD4D4
lbl_800BD4D0:
/* 800BD4D0 000BA430 38 61 00 1C */ addi r3, r1, 0x1c
lbl_800BD4D4:
/* 800BD4D4 000BA434 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2)
/* 800BD4D8 000BA438 C0 03 00 00 */ lfs f0, 0(r3)
/* 800BD4DC 000BA43C EC 21 00 32 */ fmuls f1, f1, f0
/* 800BD4E0 000BA440 48 00 00 70 */ b lbl_800BD550
lbl_800BD4E4:
/* 800BD4E4 000BA444 EC 06 20 28 */ fsubs f0, f6, f4
/* 800BD4E8 000BA448 EC 27 28 28 */ fsubs f1, f7, f5
/* 800BD4EC 000BA44C D0 01 00 08 */ stfs f0, 8(r1)
/* 800BD4F0 000BA450 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BD4F4 000BA454 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 800BD4F8 000BA458 40 80 00 0C */ bge lbl_800BD504
/* 800BD4FC 000BA45C 38 61 00 08 */ addi r3, r1, 8
/* 800BD500 000BA460 48 00 00 08 */ b lbl_800BD508
lbl_800BD504:
/* 800BD504 000BA464 38 61 00 0C */ addi r3, r1, 0xc
lbl_800BD508:
/* 800BD508 000BA468 EC 23 10 28 */ fsubs f1, f3, f2
/* 800BD50C 000BA46C D0 21 00 10 */ stfs f1, 0x10(r1)
/* 800BD510 000BA470 C0 03 00 00 */ lfs f0, 0(r3)
/* 800BD514 000BA474 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BD518 000BA478 40 80 00 08 */ bge lbl_800BD520
/* 800BD51C 000BA47C 48 00 00 08 */ b lbl_800BD524
lbl_800BD520:
/* 800BD520 000BA480 38 61 00 10 */ addi r3, r1, 0x10
lbl_800BD524:
/* 800BD524 000BA484 C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2)
/* 800BD528 000BA488 C0 03 00 00 */ lfs f0, 0(r3)
/* 800BD52C 000BA48C EC 21 00 32 */ fmuls f1, f1, f0
/* 800BD530 000BA490 48 00 00 20 */ b lbl_800BD550
lbl_800BD534:
/* 800BD534 000BA494 EC 23 10 28 */ fsubs f1, f3, f2
/* 800BD538 000BA498 C0 62 8D 68 */ lfs f3, lbl_805AAA88@sda21(r2)
/* 800BD53C 000BA49C EC 07 28 28 */ fsubs f0, f7, f5
/* 800BD540 000BA4A0 EC 46 20 28 */ fsubs f2, f6, f4
/* 800BD544 000BA4A4 EC 01 00 2A */ fadds f0, f1, f0
/* 800BD548 000BA4A8 EC 02 00 2A */ fadds f0, f2, f0
/* 800BD54C 000BA4AC EC 23 00 32 */ fmuls f1, f3, f0
lbl_800BD550:
/* 800BD550 000BA4B0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BD554 000BA4B4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BD558 000BA4B8 40 81 00 08 */ ble lbl_800BD560
/* 800BD55C 000BA4BC 48 00 00 08 */ b lbl_800BD564
lbl_800BD560:
/* 800BD560 000BA4C0 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
lbl_800BD564:
/* 800BD564 000BA4C4 38 00 00 00 */ li r0, 0
/* 800BD568 000BA4C8 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 800BD56C 000BA4CC 98 01 00 84 */ stb r0, 0x84(r1)
/* 800BD570 000BA4D0 80 01 00 94 */ lwz r0, 0x94(r1)
/* 800BD574 000BA4D4 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 800BD578 000BA4D8 7C 08 03 A6 */ mtlr r0
/* 800BD57C 000BA4DC 38 21 00 90 */ addi r1, r1, 0x90
2022-07-14 05:48:03 +00:00
/* 800BD580 000BA4E0 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager
UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager:
/* 800BD584 000BA4E4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800BD588 000BA4E8 7C 08 02 A6 */ mflr r0
/* 800BD58C 000BA4EC 90 01 00 44 */ stw r0, 0x44(r1)
/* 800BD590 000BA4F0 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 800BD594 000BA4F4 93 C1 00 38 */ stw r30, 0x38(r1)
/* 800BD598 000BA4F8 7C BE 2B 78 */ mr r30, r5
/* 800BD59C 000BA4FC 93 A1 00 34 */ stw r29, 0x34(r1)
/* 800BD5A0 000BA500 7C 9D 23 78 */ mr r29, r4
/* 800BD5A4 000BA504 93 81 00 30 */ stw r28, 0x30(r1)
/* 800BD5A8 000BA508 7C 7C 1B 78 */ mr r28, r3
/* 800BD5AC 000BA50C A0 04 00 00 */ lhz r0, 0(r4)
/* 800BD5B0 000BA510 38 81 00 0C */ addi r4, r1, 0xc
/* 800BD5B4 000BA514 80 65 08 10 */ lwz r3, 0x810(r5)
/* 800BD5B8 000BA518 B0 01 00 08 */ sth r0, 8(r1)
/* 800BD5BC 000BA51C B0 01 00 0C */ sth r0, 0xc(r1)
/* 800BD5C0 000BA520 4B F5 28 2D */ bl GetObjectById__11CObjectListCF9TUniqueId
/* 800BD5C4 000BA524 7C 64 1B 78 */ mr r4, r3
/* 800BD5C8 000BA528 38 61 00 10 */ addi r3, r1, 0x10
/* 800BD5CC 000BA52C 4B FF 26 C5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800BD5D0 000BA530 83 E3 00 04 */ lwz r31, 4(r3)
/* 800BD5D4 000BA534 28 1F 00 00 */ cmplwi r31, 0
/* 800BD5D8 000BA538 41 82 00 48 */ beq lbl_800BD620
/* 800BD5DC 000BA53C 7F 83 E3 78 */ mr r3, r28
/* 800BD5E0 000BA540 7F E4 FB 78 */ mr r4, r31
/* 800BD5E4 000BA544 7F C5 F3 78 */ mr r5, r30
/* 800BD5E8 000BA548 4B FF FD 8D */ bl CalculateRadiusWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager
/* 800BD5EC 000BA54C D0 3D 00 04 */ stfs f1, 4(r29)
/* 800BD5F0 000BA550 7F 84 E3 78 */ mr r4, r28
/* 800BD5F4 000BA554 7F E5 FB 78 */ mr r5, r31
/* 800BD5F8 000BA558 7F C6 F3 78 */ mr r6, r30
/* 800BD5FC 000BA55C 38 61 00 18 */ addi r3, r1, 0x18
/* 800BD600 000BA560 4B FF FC E1 */ bl CalculatePositionWorld__22CCompoundTargetReticleCFRC6CActorRC13CStateManager
/* 800BD604 000BA564 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 800BD608 000BA568 C0 41 00 20 */ lfs f2, 0x20(r1)
/* 800BD60C 000BA56C C0 01 00 18 */ lfs f0, 0x18(r1)
/* 800BD610 000BA570 D0 1D 00 08 */ stfs f0, 8(r29)
/* 800BD614 000BA574 D0 3D 00 0C */ stfs f1, 0xc(r29)
/* 800BD618 000BA578 D0 5D 00 10 */ stfs f2, 0x10(r29)
/* 800BD61C 000BA57C 48 00 00 60 */ b lbl_800BD67C
lbl_800BD620:
/* 800BD620 000BA580 88 1D 00 1C */ lbz r0, 0x1c(r29)
/* 800BD624 000BA584 28 00 00 00 */ cmplwi r0, 0
/* 800BD628 000BA588 41 82 00 54 */ beq lbl_800BD67C
/* 800BD62C 000BA58C C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2)
/* 800BD630 000BA590 38 00 00 00 */ li r0, 0
/* 800BD634 000BA594 D0 1D 00 04 */ stfs f0, 4(r29)
/* 800BD638 000BA598 80 7C 00 20 */ lwz r3, 0x20(r28)
/* 800BD63C 000BA59C 2C 03 00 02 */ cmpwi r3, 2
/* 800BD640 000BA5A0 41 82 00 0C */ beq lbl_800BD64C
/* 800BD644 000BA5A4 2C 03 00 03 */ cmpwi r3, 3
/* 800BD648 000BA5A8 40 82 00 08 */ bne lbl_800BD650
lbl_800BD64C:
/* 800BD64C 000BA5AC 38 00 00 01 */ li r0, 1
lbl_800BD650:
/* 800BD650 000BA5B0 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800BD654 000BA5B4 41 82 00 0C */ beq lbl_800BD660
/* 800BD658 000BA5B8 38 7C 01 00 */ addi r3, r28, 0x100
/* 800BD65C 000BA5BC 48 00 00 08 */ b lbl_800BD664
lbl_800BD660:
/* 800BD660 000BA5C0 38 7C 00 F4 */ addi r3, r28, 0xf4
lbl_800BD664:
/* 800BD664 000BA5C4 C0 03 00 00 */ lfs f0, 0(r3)
/* 800BD668 000BA5C8 D0 1D 00 08 */ stfs f0, 8(r29)
/* 800BD66C 000BA5CC C0 03 00 04 */ lfs f0, 4(r3)
/* 800BD670 000BA5D0 D0 1D 00 0C */ stfs f0, 0xc(r29)
/* 800BD674 000BA5D4 C0 03 00 08 */ lfs f0, 8(r3)
/* 800BD678 000BA5D8 D0 1D 00 10 */ stfs f0, 0x10(r29)
lbl_800BD67C:
/* 800BD67C 000BA5DC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800BD680 000BA5E0 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 800BD684 000BA5E4 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 800BD688 000BA5E8 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 800BD68C 000BA5EC 83 81 00 30 */ lwz r28, 0x30(r1)
/* 800BD690 000BA5F0 7C 08 03 A6 */ mtlr r0
/* 800BD694 000BA5F4 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 800BD698 000BA5F8 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager
DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager:
/* 800BD69C 000BA5FC 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 800BD6A0 000BA600 7C 08 02 A6 */ mflr r0
/* 800BD6A4 000BA604 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 800BD6A8 000BA608 DB E1 00 D0 */ stfd f31, 0xd0(r1)
/* 800BD6AC 000BA60C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0
/* 800BD6B0 000BA610 93 E1 00 CC */ stw r31, 0xcc(r1)
/* 800BD6B4 000BA614 93 C1 00 C8 */ stw r30, 0xc8(r1)
/* 800BD6B8 000BA618 93 A1 00 C4 */ stw r29, 0xc4(r1)
/* 800BD6BC 000BA61C 93 81 00 C0 */ stw r28, 0xc0(r1)
/* 800BD6C0 000BA620 7C 7C 1B 78 */ mr r28, r3
/* 800BD6C4 000BA624 7C 9D 23 78 */ mr r29, r4
/* 800BD6C8 000BA628 80 03 00 28 */ lwz r0, 0x28(r3)
/* 800BD6CC 000BA62C 2C 00 00 00 */ cmpwi r0, 0
/* 800BD6D0 000BA630 41 81 01 10 */ bgt lbl_800BD7E0
/* 800BD6D4 000BA634 C0 3C 01 E8 */ lfs f1, 0x1e8(r28)
/* 800BD6D8 000BA638 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BD6DC 000BA63C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BD6E0 000BA640 40 81 01 00 */ ble lbl_800BD7E0
/* 800BD6E4 000BA644 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 800BD6E8 000BA648 28 00 00 00 */ cmplwi r0, 0
/* 800BD6EC 000BA64C 40 82 00 30 */ bne lbl_800BD71C
/* 800BD6F0 000BA650 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800BD6F4 000BA654 28 00 00 00 */ cmplwi r0, 0
/* 800BD6F8 000BA658 41 82 00 24 */ beq lbl_800BD71C
/* 800BD6FC 000BA65C 80 7C 00 34 */ lwz r3, 0x34(r28)
/* 800BD700 000BA660 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BD704 000BA664 28 00 00 00 */ cmplwi r0, 0
/* 800BD708 000BA668 41 82 00 14 */ beq lbl_800BD71C
/* 800BD70C 000BA66C 38 7C 00 34 */ addi r3, r28, 0x34
/* 800BD710 000BA670 48 28 36 FD */ bl GetObj__6CTokenFv
/* 800BD714 000BA674 80 03 00 04 */ lwz r0, 4(r3)
/* 800BD718 000BA678 90 1C 00 3C */ stw r0, 0x3c(r28)
lbl_800BD71C:
/* 800BD71C 000BA67C 83 DC 00 3C */ lwz r30, 0x3c(r28)
/* 800BD720 000BA680 28 1E 00 00 */ cmplwi r30, 0
/* 800BD724 000BA684 41 82 00 BC */ beq lbl_800BD7E0
/* 800BD728 000BA688 83 ED A1 40 */ lwz r31, gpTweakTargeting@sda21(r13)
/* 800BD72C 000BA68C 38 61 00 1C */ addi r3, r1, 0x1c
/* 800BD730 000BA690 C0 3C 01 E8 */ lfs f1, 0x1e8(r28)
/* 800BD734 000BA694 48 25 5B 0D */ bl Scale__12CTransform4fFf
/* 800BD738 000BA698 7F A4 EB 78 */ mr r4, r29
/* 800BD73C 000BA69C 38 61 00 4C */ addi r3, r1, 0x4c
/* 800BD740 000BA6A0 38 BC 00 F4 */ addi r5, r28, 0xf4
/* 800BD744 000BA6A4 48 25 5B 35 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BD748 000BA6A8 7C 64 1B 78 */ mr r4, r3
/* 800BD74C 000BA6AC 38 61 00 7C */ addi r3, r1, 0x7c
/* 800BD750 000BA6B0 38 A1 00 1C */ addi r5, r1, 0x1c
/* 800BD754 000BA6B4 48 25 51 FD */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 800BD758 000BA6B8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BD75C 000BA6BC 38 81 00 7C */ addi r4, r1, 0x7c
/* 800BD760 000BA6C0 81 83 00 00 */ lwz r12, 0(r3)
/* 800BD764 000BA6C4 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BD768 000BA6C8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BD76C 000BA6CC 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BD770 000BA6D0 88 7F 01 C3 */ lbz r3, 0x1c3(r31)
/* 800BD774 000BA6D4 3C 00 43 30 */ lis r0, 0x4330
/* 800BD778 000BA6D8 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 800BD77C 000BA6DC C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BD780 000BA6E0 90 61 00 B4 */ stw r3, 0xb4(r1)
/* 800BD784 000BA6E4 C0 5C 01 E8 */ lfs f2, 0x1e8(r28)
/* 800BD788 000BA6E8 C8 01 00 B0 */ lfd f0, 0xb0(r1)
/* 800BD78C 000BA6EC EC 00 08 28 */ fsubs f0, f0, f1
/* 800BD790 000BA6F0 EF E2 00 32 */ fmuls f31, f2, f0
/* 800BD794 000BA6F4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 800BD798 000BA6F8 38 80 00 03 */ li r4, 3
/* 800BD79C 000BA6FC 80 FF 01 C0 */ lwz r7, 0x1c0(r31)
/* 800BD7A0 000BA700 38 C0 00 07 */ li r6, 7
/* 800BD7A4 000BA704 38 A0 00 00 */ li r5, 0
/* 800BD7A8 000BA708 89 01 00 08 */ lbz r8, 8(r1)
/* 800BD7AC 000BA70C 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17
/* 800BD7B0 000BA710 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d
/* 800BD7B4 000BA714 B0 81 00 0E */ sth r4, 0xe(r1)
/* 800BD7B8 000BA718 7F C3 F3 78 */ mr r3, r30
/* 800BD7BC 000BA71C 38 81 00 14 */ addi r4, r1, 0x14
/* 800BD7C0 000BA720 98 C1 00 0C */ stb r6, 0xc(r1)
/* 800BD7C4 000BA724 98 A1 00 0D */ stb r5, 0xd(r1)
/* 800BD7C8 000BA728 91 01 00 10 */ stw r8, 0x10(r1)
/* 800BD7CC 000BA72C 98 C1 00 14 */ stb r6, 0x14(r1)
/* 800BD7D0 000BA730 98 A1 00 15 */ stb r5, 0x15(r1)
/* 800BD7D4 000BA734 B0 01 00 16 */ sth r0, 0x16(r1)
/* 800BD7D8 000BA738 91 01 00 18 */ stw r8, 0x18(r1)
/* 800BD7DC 000BA73C 48 29 83 F9 */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BD7E0:
/* 800BD7E0 000BA740 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0
/* 800BD7E4 000BA744 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 800BD7E8 000BA748 CB E1 00 D0 */ lfd f31, 0xd0(r1)
/* 800BD7EC 000BA74C 83 E1 00 CC */ lwz r31, 0xcc(r1)
/* 800BD7F0 000BA750 83 C1 00 C8 */ lwz r30, 0xc8(r1)
/* 800BD7F4 000BA754 83 A1 00 C4 */ lwz r29, 0xc4(r1)
/* 800BD7F8 000BA758 83 81 00 C0 */ lwz r28, 0xc0(r1)
/* 800BD7FC 000BA75C 7C 08 03 A6 */ mtlr r0
/* 800BD800 000BA760 38 21 00 E0 */ addi r1, r1, 0xe0
2022-07-14 05:48:03 +00:00
/* 800BD804 000BA764 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager
DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager:
/* 800BD808 000BA768 94 21 FA C0 */ stwu r1, -0x540(r1)
/* 800BD80C 000BA76C 7C 08 02 A6 */ mflr r0
/* 800BD810 000BA770 90 01 05 44 */ stw r0, 0x544(r1)
/* 800BD814 000BA774 DB E1 05 30 */ stfd f31, 0x530(r1)
/* 800BD818 000BA778 F3 E1 05 38 */ psq_st f31, 1336(r1), 0, qr0
/* 800BD81C 000BA77C DB C1 05 20 */ stfd f30, 0x520(r1)
/* 800BD820 000BA780 F3 C1 05 28 */ psq_st f30, 1320(r1), 0, qr0
/* 800BD824 000BA784 DB A1 05 10 */ stfd f29, 0x510(r1)
/* 800BD828 000BA788 F3 A1 05 18 */ psq_st f29, 1304(r1), 0, qr0
/* 800BD82C 000BA78C DB 81 05 00 */ stfd f28, 0x500(r1)
/* 800BD830 000BA790 F3 81 05 08 */ psq_st f28, 1288(r1), 0, qr0
/* 800BD834 000BA794 DB 61 04 F0 */ stfd f27, 0x4f0(r1)
/* 800BD838 000BA798 F3 61 04 F8 */ psq_st f27, 1272(r1), 0, qr0
/* 800BD83C 000BA79C DB 41 04 E0 */ stfd f26, 0x4e0(r1)
/* 800BD840 000BA7A0 F3 41 04 E8 */ psq_st f26, 1256(r1), 0, qr0
/* 800BD844 000BA7A4 DB 21 04 D0 */ stfd f25, 0x4d0(r1)
/* 800BD848 000BA7A8 F3 21 04 D8 */ psq_st f25, 1240(r1), 0, qr0
/* 800BD84C 000BA7AC DB 01 04 C0 */ stfd f24, 0x4c0(r1)
/* 800BD850 000BA7B0 F3 01 04 C8 */ psq_st f24, 1224(r1), 0, qr0
/* 800BD854 000BA7B4 DA E1 04 B0 */ stfd f23, 0x4b0(r1)
/* 800BD858 000BA7B8 F2 E1 04 B8 */ psq_st f23, 1208(r1), 0, qr0
/* 800BD85C 000BA7BC DA C1 04 A0 */ stfd f22, 0x4a0(r1)
/* 800BD860 000BA7C0 F2 C1 04 A8 */ psq_st f22, 1192(r1), 0, qr0
/* 800BD864 000BA7C4 DA A1 04 90 */ stfd f21, 0x490(r1)
/* 800BD868 000BA7C8 F2 A1 04 98 */ psq_st f21, 1176(r1), 0, qr0
/* 800BD86C 000BA7CC DA 81 04 80 */ stfd f20, 0x480(r1)
/* 800BD870 000BA7D0 F2 81 04 88 */ psq_st f20, 1160(r1), 0, qr0
/* 800BD874 000BA7D4 DA 61 04 70 */ stfd f19, 0x470(r1)
/* 800BD878 000BA7D8 F2 61 04 78 */ psq_st f19, 1144(r1), 0, qr0
/* 800BD87C 000BA7DC BF 01 04 50 */ stmw r24, 0x450(r1)
/* 800BD880 000BA7E0 7C 79 1B 78 */ mr r25, r3
/* 800BD884 000BA7E4 7C 9A 23 78 */ mr r26, r4
/* 800BD888 000BA7E8 80 03 00 28 */ lwz r0, 0x28(r3)
/* 800BD88C 000BA7EC 7C BB 2B 78 */ mr r27, r5
/* 800BD890 000BA7F0 2C 00 00 00 */ cmpwi r0, 0
/* 800BD894 000BA7F4 41 81 09 4C */ bgt lbl_800BE1E0
/* 800BD898 000BA7F8 C0 59 01 7C */ lfs f2, 0x17c(r25)
/* 800BD89C 000BA7FC C0 39 01 80 */ lfs f1, 0x180(r25)
/* 800BD8A0 000BA800 C0 19 01 84 */ lfs f0, 0x184(r25)
/* 800BD8A4 000BA804 80 7B 08 B8 */ lwz r3, 0x8b8(r27)
/* 800BD8A8 000BA808 D0 41 01 38 */ stfs f2, 0x138(r1)
/* 800BD8AC 000BA80C C3 59 01 78 */ lfs f26, 0x178(r25)
/* 800BD8B0 000BA810 D0 21 01 3C */ stfs f1, 0x13c(r1)
/* 800BD8B4 000BA814 C3 39 01 88 */ lfs f25, 0x188(r25)
/* 800BD8B8 000BA818 D0 01 01 40 */ stfs f0, 0x140(r1)
/* 800BD8BC 000BA81C 80 63 00 00 */ lwz r3, 0(r3)
/* 800BD8C0 000BA820 4B FD 3F A5 */ bl GetVisorTransitionFactor__12CPlayerStateCFv
/* 800BD8C4 000BA824 80 19 00 20 */ lwz r0, 0x20(r25)
/* 800BD8C8 000BA828 FF E0 08 90 */ fmr f31, f1
/* 800BD8CC 000BA82C 3B E0 00 00 */ li r31, 0
/* 800BD8D0 000BA830 3B C0 00 00 */ li r30, 0
/* 800BD8D4 000BA834 2C 00 00 02 */ cmpwi r0, 2
/* 800BD8D8 000BA838 3B A0 00 00 */ li r29, 0
/* 800BD8DC 000BA83C 41 82 00 2C */ beq lbl_800BD908
/* 800BD8E0 000BA840 40 80 00 14 */ bge lbl_800BD8F4
/* 800BD8E4 000BA844 2C 00 00 00 */ cmpwi r0, 0
/* 800BD8E8 000BA848 41 82 00 2C */ beq lbl_800BD914
/* 800BD8EC 000BA84C 40 80 00 14 */ bge lbl_800BD900
/* 800BD8F0 000BA850 48 00 00 24 */ b lbl_800BD914
lbl_800BD8F4:
/* 800BD8F4 000BA854 2C 00 00 04 */ cmpwi r0, 4
/* 800BD8F8 000BA858 40 80 00 1C */ bge lbl_800BD914
/* 800BD8FC 000BA85C 48 00 00 14 */ b lbl_800BD910
lbl_800BD900:
/* 800BD900 000BA860 3B E0 00 01 */ li r31, 1
/* 800BD904 000BA864 48 00 00 10 */ b lbl_800BD914
lbl_800BD908:
/* 800BD908 000BA868 3B C0 00 01 */ li r30, 1
/* 800BD90C 000BA86C 48 00 00 08 */ b lbl_800BD914
lbl_800BD910:
/* 800BD910 000BA870 3B A0 00 01 */ li r29, 1
lbl_800BD914:
/* 800BD914 000BA874 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 800BD918 000BA878 C3 19 01 8C */ lfs f24, 0x18c(r25)
/* 800BD91C 000BA87C 40 82 01 AC */ bne lbl_800BDAC8
/* 800BD920 000BA880 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BD924 000BA884 FC 19 00 40 */ fcmpo cr0, f25, f0
/* 800BD928 000BA888 40 81 01 A0 */ ble lbl_800BDAC8
/* 800BD92C 000BA88C 80 19 00 48 */ lwz r0, 0x48(r25)
/* 800BD930 000BA890 28 00 00 00 */ cmplwi r0, 0
/* 800BD934 000BA894 40 82 00 30 */ bne lbl_800BD964
/* 800BD938 000BA898 88 19 00 44 */ lbz r0, 0x44(r25)
/* 800BD93C 000BA89C 28 00 00 00 */ cmplwi r0, 0
/* 800BD940 000BA8A0 41 82 00 24 */ beq lbl_800BD964
/* 800BD944 000BA8A4 80 79 00 40 */ lwz r3, 0x40(r25)
/* 800BD948 000BA8A8 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BD94C 000BA8AC 28 00 00 00 */ cmplwi r0, 0
/* 800BD950 000BA8B0 41 82 00 14 */ beq lbl_800BD964
/* 800BD954 000BA8B4 38 79 00 40 */ addi r3, r25, 0x40
/* 800BD958 000BA8B8 48 28 34 B5 */ bl GetObj__6CTokenFv
/* 800BD95C 000BA8BC 80 03 00 04 */ lwz r0, 4(r3)
/* 800BD960 000BA8C0 90 19 00 48 */ stw r0, 0x48(r25)
lbl_800BD964:
/* 800BD964 000BA8C4 83 99 00 48 */ lwz r28, 0x48(r25)
/* 800BD968 000BA8C8 28 1C 00 00 */ cmplwi r28, 0
/* 800BD96C 000BA8CC 41 82 01 5C */ beq lbl_800BDAC8
/* 800BD970 000BA8D0 80 C1 01 38 */ lwz r6, 0x138(r1)
/* 800BD974 000BA8D4 FC 20 D0 90 */ fmr f1, f26
/* 800BD978 000BA8D8 80 A1 01 3C */ lwz r5, 0x13c(r1)
/* 800BD97C 000BA8DC 7F 64 DB 78 */ mr r4, r27
/* 800BD980 000BA8E0 80 01 01 40 */ lwz r0, 0x140(r1)
/* 800BD984 000BA8E4 38 61 01 2C */ addi r3, r1, 0x12c
/* 800BD988 000BA8E8 90 C1 01 2C */ stw r6, 0x12c(r1)
/* 800BD98C 000BA8EC 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BD990 000BA8F0 90 A1 01 30 */ stw r5, 0x130(r1)
/* 800BD994 000BA8F4 90 01 01 34 */ stw r0, 0x134(r1)
/* 800BD998 000BA8F8 C0 06 01 64 */ lfs f0, 0x164(r6)
/* 800BD99C 000BA8FC C0 66 01 68 */ lfs f3, 0x168(r6)
/* 800BD9A0 000BA900 EC 58 00 32 */ fmuls f2, f24, f0
/* 800BD9A4 000BA904 4B FF F5 F9 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BD9A8 000BA908 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13)
/* 800BD9AC 000BA90C 38 61 03 48 */ addi r3, r1, 0x348
/* 800BD9B0 000BA910 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2)
/* 800BD9B4 000BA914 38 81 00 10 */ addi r4, r1, 0x10
/* 800BD9B8 000BA918 C0 78 00 24 */ lfs f3, 0x24(r24)
/* 800BD9BC 000BA91C C0 19 01 EC */ lfs f0, 0x1ec(r25)
/* 800BD9C0 000BA920 EC 21 00 F2 */ fmuls f1, f1, f3
/* 800BD9C4 000BA924 D0 41 03 28 */ stfs f2, 0x328(r1)
/* 800BD9C8 000BA928 D0 41 03 2C */ stfs f2, 0x32c(r1)
/* 800BD9CC 000BA92C D0 21 03 24 */ stfs f1, 0x324(r1)
/* 800BD9D0 000BA930 D0 41 03 30 */ stfs f2, 0x330(r1)
/* 800BD9D4 000BA934 D0 21 03 34 */ stfs f1, 0x334(r1)
/* 800BD9D8 000BA938 D0 41 03 38 */ stfs f2, 0x338(r1)
/* 800BD9DC 000BA93C D0 41 03 3C */ stfs f2, 0x33c(r1)
/* 800BD9E0 000BA940 D0 41 03 40 */ stfs f2, 0x340(r1)
/* 800BD9E4 000BA944 D0 21 03 44 */ stfs f1, 0x344(r1)
/* 800BD9E8 000BA948 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 800BD9EC 000BA94C 48 25 2A A9 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800BD9F0 000BA950 7F 44 D3 78 */ mr r4, r26
/* 800BD9F4 000BA954 38 61 03 6C */ addi r3, r1, 0x36c
/* 800BD9F8 000BA958 38 A1 03 48 */ addi r5, r1, 0x348
/* 800BD9FC 000BA95C 48 25 27 35 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BDA00 000BA960 38 61 03 90 */ addi r3, r1, 0x390
/* 800BDA04 000BA964 38 81 03 6C */ addi r4, r1, 0x36c
/* 800BDA08 000BA968 38 A1 03 24 */ addi r5, r1, 0x324
/* 800BDA0C 000BA96C 48 25 27 25 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BDA10 000BA970 38 61 04 20 */ addi r3, r1, 0x420
/* 800BDA14 000BA974 38 81 03 90 */ addi r4, r1, 0x390
/* 800BDA18 000BA978 48 25 26 0D */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BDA1C 000BA97C C0 59 01 7C */ lfs f2, 0x17c(r25)
/* 800BDA20 000BA980 38 61 02 F4 */ addi r3, r1, 0x2f4
/* 800BDA24 000BA984 C0 39 01 80 */ lfs f1, 0x180(r25)
/* 800BDA28 000BA988 38 81 04 20 */ addi r4, r1, 0x420
/* 800BDA2C 000BA98C C0 19 01 84 */ lfs f0, 0x184(r25)
/* 800BDA30 000BA990 38 A1 01 20 */ addi r5, r1, 0x120
/* 800BDA34 000BA994 D0 41 01 20 */ stfs f2, 0x120(r1)
/* 800BDA38 000BA998 D0 21 01 24 */ stfs f1, 0x124(r1)
/* 800BDA3C 000BA99C D0 01 01 28 */ stfs f0, 0x128(r1)
/* 800BDA40 000BA9A0 48 25 58 39 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BDA44 000BA9A4 7C 64 1B 78 */ mr r4, r3
/* 800BDA48 000BA9A8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDA4C 000BA9AC 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDA50 000BA9B0 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BDA54 000BA9B4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDA58 000BA9B8 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDA5C 000BA9BC 88 78 01 53 */ lbz r3, 0x153(r24)
/* 800BDA60 000BA9C0 3C 00 43 30 */ lis r0, 0x4330
/* 800BDA64 000BA9C4 90 01 04 48 */ stw r0, 0x448(r1)
/* 800BDA68 000BA9C8 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BDA6C 000BA9CC 90 61 04 4C */ stw r3, 0x44c(r1)
/* 800BDA70 000BA9D0 C8 01 04 48 */ lfd f0, 0x448(r1)
/* 800BDA74 000BA9D4 EC 00 08 28 */ fsubs f0, f0, f1
/* 800BDA78 000BA9D8 EF D9 00 32 */ fmuls f30, f25, f0
/* 800BDA7C 000BA9DC F3 C1 A0 0B */ psq_st f30, 11(r1), 1, qr2
/* 800BDA80 000BA9E0 38 80 00 03 */ li r4, 3
/* 800BDA84 000BA9E4 80 F8 01 50 */ lwz r7, 0x150(r24)
/* 800BDA88 000BA9E8 38 C0 00 07 */ li r6, 7
/* 800BDA8C 000BA9EC 38 A0 00 00 */ li r5, 0
/* 800BDA90 000BA9F0 89 01 00 0B */ lbz r8, 0xb(r1)
/* 800BDA94 000BA9F4 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17
/* 800BDA98 000BA9F8 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d
/* 800BDA9C 000BA9FC B0 81 00 3A */ sth r4, 0x3a(r1)
/* 800BDAA0 000BAA00 7F 83 E3 78 */ mr r3, r28
/* 800BDAA4 000BAA04 38 81 00 40 */ addi r4, r1, 0x40
/* 800BDAA8 000BAA08 98 C1 00 38 */ stb r6, 0x38(r1)
/* 800BDAAC 000BAA0C 98 A1 00 39 */ stb r5, 0x39(r1)
/* 800BDAB0 000BAA10 91 01 00 3C */ stw r8, 0x3c(r1)
/* 800BDAB4 000BAA14 98 C1 00 40 */ stb r6, 0x40(r1)
/* 800BDAB8 000BAA18 98 A1 00 41 */ stb r5, 0x41(r1)
/* 800BDABC 000BAA1C B0 01 00 42 */ sth r0, 0x42(r1)
/* 800BDAC0 000BAA20 91 01 00 44 */ stw r8, 0x44(r1)
/* 800BDAC4 000BAA24 48 29 81 11 */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BDAC8:
/* 800BDAC8 000BAA28 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 800BDACC 000BAA2C 41 82 01 A0 */ beq lbl_800BDC6C
/* 800BDAD0 000BAA30 80 19 00 B4 */ lwz r0, 0xb4(r25)
/* 800BDAD4 000BAA34 28 00 00 00 */ cmplwi r0, 0
/* 800BDAD8 000BAA38 40 82 00 30 */ bne lbl_800BDB08
/* 800BDADC 000BAA3C 88 19 00 B0 */ lbz r0, 0xb0(r25)
/* 800BDAE0 000BAA40 28 00 00 00 */ cmplwi r0, 0
/* 800BDAE4 000BAA44 41 82 00 24 */ beq lbl_800BDB08
/* 800BDAE8 000BAA48 80 79 00 AC */ lwz r3, 0xac(r25)
/* 800BDAEC 000BAA4C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BDAF0 000BAA50 28 00 00 00 */ cmplwi r0, 0
/* 800BDAF4 000BAA54 41 82 00 14 */ beq lbl_800BDB08
/* 800BDAF8 000BAA58 38 79 00 AC */ addi r3, r25, 0xac
/* 800BDAFC 000BAA5C 48 28 33 11 */ bl GetObj__6CTokenFv
/* 800BDB00 000BAA60 80 03 00 04 */ lwz r0, 4(r3)
/* 800BDB04 000BAA64 90 19 00 B4 */ stw r0, 0xb4(r25)
lbl_800BDB08:
/* 800BDB08 000BAA68 83 99 00 B4 */ lwz r28, 0xb4(r25)
/* 800BDB0C 000BAA6C 28 1C 00 00 */ cmplwi r28, 0
/* 800BDB10 000BAA70 41 82 01 5C */ beq lbl_800BDC6C
/* 800BDB14 000BAA74 80 C1 01 38 */ lwz r6, 0x138(r1)
/* 800BDB18 000BAA78 FC 20 D0 90 */ fmr f1, f26
/* 800BDB1C 000BAA7C 80 A1 01 3C */ lwz r5, 0x13c(r1)
/* 800BDB20 000BAA80 7F 64 DB 78 */ mr r4, r27
/* 800BDB24 000BAA84 80 01 01 40 */ lwz r0, 0x140(r1)
/* 800BDB28 000BAA88 38 61 01 14 */ addi r3, r1, 0x114
/* 800BDB2C 000BAA8C 90 C1 01 14 */ stw r6, 0x114(r1)
/* 800BDB30 000BAA90 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BDB34 000BAA94 90 A1 01 18 */ stw r5, 0x118(r1)
/* 800BDB38 000BAA98 90 01 01 1C */ stw r0, 0x11c(r1)
/* 800BDB3C 000BAA9C C0 06 02 0C */ lfs f0, 0x20c(r6)
/* 800BDB40 000BAAA0 C0 66 02 10 */ lfs f3, 0x210(r6)
/* 800BDB44 000BAAA4 EC 58 00 32 */ fmuls f2, f24, f0
/* 800BDB48 000BAAA8 4B FF F4 55 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BDB4C 000BAAAC 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13)
/* 800BDB50 000BAAB0 38 61 02 64 */ addi r3, r1, 0x264
/* 800BDB54 000BAAB4 C0 59 01 F0 */ lfs f2, 0x1f0(r25)
/* 800BDB58 000BAAB8 38 81 00 0C */ addi r4, r1, 0xc
/* 800BDB5C 000BAABC C0 78 02 18 */ lfs f3, 0x218(r24)
/* 800BDB60 000BAAC0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BDB64 000BAAC4 EC 21 00 F2 */ fmuls f1, f1, f3
/* 800BDB68 000BAAC8 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 800BDB6C 000BAACC D0 01 02 8C */ stfs f0, 0x28c(r1)
/* 800BDB70 000BAAD0 D0 21 02 88 */ stfs f1, 0x288(r1)
/* 800BDB74 000BAAD4 D0 01 02 90 */ stfs f0, 0x290(r1)
/* 800BDB78 000BAAD8 D0 01 02 94 */ stfs f0, 0x294(r1)
/* 800BDB7C 000BAADC D0 21 02 98 */ stfs f1, 0x298(r1)
/* 800BDB80 000BAAE0 D0 01 02 9C */ stfs f0, 0x29c(r1)
/* 800BDB84 000BAAE4 D0 01 02 A0 */ stfs f0, 0x2a0(r1)
/* 800BDB88 000BAAE8 D0 01 02 A4 */ stfs f0, 0x2a4(r1)
/* 800BDB8C 000BAAEC D0 21 02 A8 */ stfs f1, 0x2a8(r1)
/* 800BDB90 000BAAF0 48 25 29 05 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800BDB94 000BAAF4 7F 44 D3 78 */ mr r4, r26
/* 800BDB98 000BAAF8 38 61 02 AC */ addi r3, r1, 0x2ac
/* 800BDB9C 000BAAFC 38 A1 02 88 */ addi r5, r1, 0x288
/* 800BDBA0 000BAB00 48 25 25 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BDBA4 000BAB04 38 61 02 D0 */ addi r3, r1, 0x2d0
/* 800BDBA8 000BAB08 38 81 02 AC */ addi r4, r1, 0x2ac
/* 800BDBAC 000BAB0C 38 A1 02 64 */ addi r5, r1, 0x264
/* 800BDBB0 000BAB10 48 25 25 81 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BDBB4 000BAB14 38 61 03 FC */ addi r3, r1, 0x3fc
/* 800BDBB8 000BAB18 38 81 02 D0 */ addi r4, r1, 0x2d0
/* 800BDBBC 000BAB1C 48 25 24 69 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BDBC0 000BAB20 C0 59 01 7C */ lfs f2, 0x17c(r25)
/* 800BDBC4 000BAB24 38 61 02 34 */ addi r3, r1, 0x234
/* 800BDBC8 000BAB28 C0 39 01 80 */ lfs f1, 0x180(r25)
/* 800BDBCC 000BAB2C 38 81 03 FC */ addi r4, r1, 0x3fc
/* 800BDBD0 000BAB30 C0 19 01 84 */ lfs f0, 0x184(r25)
/* 800BDBD4 000BAB34 38 A1 01 08 */ addi r5, r1, 0x108
/* 800BDBD8 000BAB38 D0 41 01 08 */ stfs f2, 0x108(r1)
/* 800BDBDC 000BAB3C D0 21 01 0C */ stfs f1, 0x10c(r1)
/* 800BDBE0 000BAB40 D0 01 01 10 */ stfs f0, 0x110(r1)
/* 800BDBE4 000BAB44 48 25 56 95 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BDBE8 000BAB48 7C 64 1B 78 */ mr r4, r3
/* 800BDBEC 000BAB4C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDBF0 000BAB50 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDBF4 000BAB54 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BDBF8 000BAB58 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDBFC 000BAB5C 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDC00 000BAB60 88 78 02 17 */ lbz r3, 0x217(r24)
/* 800BDC04 000BAB64 3C 00 43 30 */ lis r0, 0x4330
/* 800BDC08 000BAB68 90 01 04 48 */ stw r0, 0x448(r1)
/* 800BDC0C 000BAB6C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BDC10 000BAB70 90 61 04 4C */ stw r3, 0x44c(r1)
/* 800BDC14 000BAB74 C8 01 04 48 */ lfd f0, 0x448(r1)
/* 800BDC18 000BAB78 EC 00 08 28 */ fsubs f0, f0, f1
/* 800BDC1C 000BAB7C EF BF 00 32 */ fmuls f29, f31, f0
/* 800BDC20 000BAB80 F3 A1 A0 0A */ psq_st f29, 10(r1), 1, qr2
/* 800BDC24 000BAB84 38 80 00 03 */ li r4, 3
/* 800BDC28 000BAB88 80 F8 02 14 */ lwz r7, 0x214(r24)
/* 800BDC2C 000BAB8C 38 C0 00 07 */ li r6, 7
/* 800BDC30 000BAB90 38 A0 00 00 */ li r5, 0
/* 800BDC34 000BAB94 89 01 00 0A */ lbz r8, 0xa(r1)
/* 800BDC38 000BAB98 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17
/* 800BDC3C 000BAB9C 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d
/* 800BDC40 000BABA0 B0 81 00 2A */ sth r4, 0x2a(r1)
/* 800BDC44 000BABA4 7F 83 E3 78 */ mr r3, r28
/* 800BDC48 000BABA8 38 81 00 30 */ addi r4, r1, 0x30
/* 800BDC4C 000BABAC 98 C1 00 28 */ stb r6, 0x28(r1)
/* 800BDC50 000BABB0 98 A1 00 29 */ stb r5, 0x29(r1)
/* 800BDC54 000BABB4 91 01 00 2C */ stw r8, 0x2c(r1)
/* 800BDC58 000BABB8 98 C1 00 30 */ stb r6, 0x30(r1)
/* 800BDC5C 000BABBC 98 A1 00 31 */ stb r5, 0x31(r1)
/* 800BDC60 000BABC0 B0 01 00 32 */ sth r0, 0x32(r1)
/* 800BDC64 000BABC4 91 01 00 34 */ stw r8, 0x34(r1)
/* 800BDC68 000BABC8 48 29 7F 6D */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BDC6C:
/* 800BDC6C 000BABCC 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 800BDC70 000BABD0 41 82 01 7C */ beq lbl_800BDDEC
/* 800BDC74 000BABD4 80 19 00 C0 */ lwz r0, 0xc0(r25)
/* 800BDC78 000BABD8 28 00 00 00 */ cmplwi r0, 0
/* 800BDC7C 000BABDC 40 82 00 30 */ bne lbl_800BDCAC
/* 800BDC80 000BABE0 88 19 00 BC */ lbz r0, 0xbc(r25)
/* 800BDC84 000BABE4 28 00 00 00 */ cmplwi r0, 0
/* 800BDC88 000BABE8 41 82 00 24 */ beq lbl_800BDCAC
/* 800BDC8C 000BABEC 80 79 00 B8 */ lwz r3, 0xb8(r25)
/* 800BDC90 000BABF0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BDC94 000BABF4 28 00 00 00 */ cmplwi r0, 0
/* 800BDC98 000BABF8 41 82 00 14 */ beq lbl_800BDCAC
/* 800BDC9C 000BABFC 38 79 00 B8 */ addi r3, r25, 0xb8
/* 800BDCA0 000BAC00 48 28 31 6D */ bl GetObj__6CTokenFv
/* 800BDCA4 000BAC04 80 03 00 04 */ lwz r0, 4(r3)
/* 800BDCA8 000BAC08 90 19 00 C0 */ stw r0, 0xc0(r25)
lbl_800BDCAC:
/* 800BDCAC 000BAC0C 83 99 00 C0 */ lwz r28, 0xc0(r25)
/* 800BDCB0 000BAC10 28 1C 00 00 */ cmplwi r28, 0
/* 800BDCB4 000BAC14 41 82 01 38 */ beq lbl_800BDDEC
/* 800BDCB8 000BAC18 80 C1 01 38 */ lwz r6, 0x138(r1)
/* 800BDCBC 000BAC1C FC 20 D0 90 */ fmr f1, f26
/* 800BDCC0 000BAC20 80 A1 01 3C */ lwz r5, 0x13c(r1)
/* 800BDCC4 000BAC24 7F 64 DB 78 */ mr r4, r27
/* 800BDCC8 000BAC28 80 01 01 40 */ lwz r0, 0x140(r1)
/* 800BDCCC 000BAC2C 38 61 00 FC */ addi r3, r1, 0xfc
/* 800BDCD0 000BAC30 90 C1 00 FC */ stw r6, 0xfc(r1)
/* 800BDCD4 000BAC34 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BDCD8 000BAC38 90 A1 01 00 */ stw r5, 0x100(r1)
/* 800BDCDC 000BAC3C 90 01 01 04 */ stw r0, 0x104(r1)
/* 800BDCE0 000BAC40 C0 06 02 0C */ lfs f0, 0x20c(r6)
/* 800BDCE4 000BAC44 C0 66 02 10 */ lfs f3, 0x210(r6)
/* 800BDCE8 000BAC48 EC 58 00 32 */ fmuls f2, f24, f0
/* 800BDCEC 000BAC4C 4B FF F2 B1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BDCF0 000BAC50 83 0D A1 40 */ lwz r24, gpTweakTargeting@sda21(r13)
/* 800BDCF4 000BAC54 7F 44 D3 78 */ mr r4, r26
/* 800BDCF8 000BAC58 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BDCFC 000BAC5C 38 61 02 10 */ addi r3, r1, 0x210
/* 800BDD00 000BAC60 C0 58 02 18 */ lfs f2, 0x218(r24)
/* 800BDD04 000BAC64 38 A1 01 EC */ addi r5, r1, 0x1ec
/* 800BDD08 000BAC68 EC 21 00 B2 */ fmuls f1, f1, f2
/* 800BDD0C 000BAC6C D0 01 01 F0 */ stfs f0, 0x1f0(r1)
/* 800BDD10 000BAC70 D0 01 01 F4 */ stfs f0, 0x1f4(r1)
/* 800BDD14 000BAC74 D0 21 01 EC */ stfs f1, 0x1ec(r1)
/* 800BDD18 000BAC78 D0 01 01 F8 */ stfs f0, 0x1f8(r1)
/* 800BDD1C 000BAC7C D0 21 01 FC */ stfs f1, 0x1fc(r1)
/* 800BDD20 000BAC80 D0 01 02 00 */ stfs f0, 0x200(r1)
/* 800BDD24 000BAC84 D0 01 02 04 */ stfs f0, 0x204(r1)
/* 800BDD28 000BAC88 D0 01 02 08 */ stfs f0, 0x208(r1)
/* 800BDD2C 000BAC8C D0 21 02 0C */ stfs f1, 0x20c(r1)
/* 800BDD30 000BAC90 48 25 24 01 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BDD34 000BAC94 38 61 03 D8 */ addi r3, r1, 0x3d8
/* 800BDD38 000BAC98 38 81 02 10 */ addi r4, r1, 0x210
/* 800BDD3C 000BAC9C 48 25 22 E9 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BDD40 000BACA0 C0 59 01 7C */ lfs f2, 0x17c(r25)
/* 800BDD44 000BACA4 38 61 01 BC */ addi r3, r1, 0x1bc
/* 800BDD48 000BACA8 C0 39 01 80 */ lfs f1, 0x180(r25)
/* 800BDD4C 000BACAC 38 81 03 D8 */ addi r4, r1, 0x3d8
/* 800BDD50 000BACB0 C0 19 01 84 */ lfs f0, 0x184(r25)
/* 800BDD54 000BACB4 38 A1 00 F0 */ addi r5, r1, 0xf0
/* 800BDD58 000BACB8 D0 41 00 F0 */ stfs f2, 0xf0(r1)
/* 800BDD5C 000BACBC D0 21 00 F4 */ stfs f1, 0xf4(r1)
/* 800BDD60 000BACC0 D0 01 00 F8 */ stfs f0, 0xf8(r1)
/* 800BDD64 000BACC4 48 25 55 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BDD68 000BACC8 7C 64 1B 78 */ mr r4, r3
/* 800BDD6C 000BACCC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDD70 000BACD0 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDD74 000BACD4 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BDD78 000BACD8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDD7C 000BACDC 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDD80 000BACE0 88 78 00 B3 */ lbz r3, 0xb3(r24)
/* 800BDD84 000BACE4 3C 00 43 30 */ lis r0, 0x4330
/* 800BDD88 000BACE8 90 01 04 48 */ stw r0, 0x448(r1)
/* 800BDD8C 000BACEC C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BDD90 000BACF0 90 61 04 4C */ stw r3, 0x44c(r1)
/* 800BDD94 000BACF4 C8 01 04 48 */ lfd f0, 0x448(r1)
/* 800BDD98 000BACF8 EC 00 08 28 */ fsubs f0, f0, f1
/* 800BDD9C 000BACFC EF 9F 00 32 */ fmuls f28, f31, f0
/* 800BDDA0 000BAD00 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2
/* 800BDDA4 000BAD04 38 80 00 03 */ li r4, 3
/* 800BDDA8 000BAD08 80 F8 00 B0 */ lwz r7, 0xb0(r24)
/* 800BDDAC 000BAD0C 38 C0 00 07 */ li r6, 7
/* 800BDDB0 000BAD10 38 A0 00 00 */ li r5, 0
/* 800BDDB4 000BAD14 89 01 00 09 */ lbz r8, 9(r1)
/* 800BDDB8 000BAD18 50 E8 00 2E */ rlwimi r8, r7, 0, 0, 0x17
/* 800BDDBC 000BAD1C 54 80 04 3A */ rlwinm r0, r4, 0, 0x10, 0x1d
/* 800BDDC0 000BAD20 B0 81 00 1A */ sth r4, 0x1a(r1)
/* 800BDDC4 000BAD24 7F 83 E3 78 */ mr r3, r28
/* 800BDDC8 000BAD28 38 81 00 20 */ addi r4, r1, 0x20
/* 800BDDCC 000BAD2C 98 C1 00 18 */ stb r6, 0x18(r1)
/* 800BDDD0 000BAD30 98 A1 00 19 */ stb r5, 0x19(r1)
/* 800BDDD4 000BAD34 91 01 00 1C */ stw r8, 0x1c(r1)
/* 800BDDD8 000BAD38 98 C1 00 20 */ stb r6, 0x20(r1)
/* 800BDDDC 000BAD3C 98 A1 00 21 */ stb r5, 0x21(r1)
/* 800BDDE0 000BAD40 B0 01 00 22 */ sth r0, 0x22(r1)
/* 800BDDE4 000BAD44 91 01 00 24 */ stw r8, 0x24(r1)
/* 800BDDE8 000BAD48 48 29 7D ED */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BDDEC:
/* 800BDDEC 000BAD4C 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800BDDF0 000BAD50 41 82 03 F0 */ beq lbl_800BE1E0
/* 800BDDF4 000BAD54 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BDDF8 000BAD58 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 800BDDFC 000BAD5C 40 81 03 E4 */ ble lbl_800BE1E0
/* 800BDE00 000BAD60 80 C1 01 38 */ lwz r6, 0x138(r1)
/* 800BDE04 000BAD64 FC 20 D0 90 */ fmr f1, f26
/* 800BDE08 000BAD68 80 A1 01 3C */ lwz r5, 0x13c(r1)
/* 800BDE0C 000BAD6C 7F 64 DB 78 */ mr r4, r27
/* 800BDE10 000BAD70 80 01 01 40 */ lwz r0, 0x140(r1)
/* 800BDE14 000BAD74 38 61 00 E4 */ addi r3, r1, 0xe4
/* 800BDE18 000BAD78 90 C1 00 E4 */ stw r6, 0xe4(r1)
/* 800BDE1C 000BAD7C 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BDE20 000BAD80 90 A1 00 E8 */ stw r5, 0xe8(r1)
/* 800BDE24 000BAD84 C2 F9 01 88 */ lfs f23, 0x188(r25)
/* 800BDE28 000BAD88 90 01 00 EC */ stw r0, 0xec(r1)
/* 800BDE2C 000BAD8C C0 06 02 1C */ lfs f0, 0x21c(r6)
/* 800BDE30 000BAD90 C0 66 02 20 */ lfs f3, 0x220(r6)
/* 800BDE34 000BAD94 EC 58 00 32 */ fmuls f2, f24, f0
/* 800BDE38 000BAD98 4B FF F1 65 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BDE3C 000BAD9C EE 9F 05 F2 */ fmuls f20, f31, f23
/* 800BDE40 000BADA0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BDE44 000BADA4 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2)
/* 800BDE48 000BADA8 7F 44 D3 78 */ mr r4, r26
/* 800BDE4C 000BADAC D0 01 01 78 */ stfs f0, 0x178(r1)
/* 800BDE50 000BADB0 38 61 01 98 */ addi r3, r1, 0x198
/* 800BDE54 000BADB4 EC 42 A0 24 */ fdivs f2, f2, f20
/* 800BDE58 000BADB8 D0 01 01 7C */ stfs f0, 0x17c(r1)
/* 800BDE5C 000BADBC 83 4D A1 3C */ lwz r26, gpTweakGuiColors@sda21(r13)
/* 800BDE60 000BADC0 38 A1 01 74 */ addi r5, r1, 0x174
/* 800BDE64 000BADC4 D0 01 01 80 */ stfs f0, 0x180(r1)
/* 800BDE68 000BADC8 D0 01 01 88 */ stfs f0, 0x188(r1)
/* 800BDE6C 000BADCC EC 21 00 B2 */ fmuls f1, f1, f2
/* 800BDE70 000BADD0 D0 01 01 8C */ stfs f0, 0x18c(r1)
/* 800BDE74 000BADD4 D0 01 01 90 */ stfs f0, 0x190(r1)
/* 800BDE78 000BADD8 D0 21 01 74 */ stfs f1, 0x174(r1)
/* 800BDE7C 000BADDC D0 21 01 84 */ stfs f1, 0x184(r1)
/* 800BDE80 000BADE0 D0 21 01 94 */ stfs f1, 0x194(r1)
/* 800BDE84 000BADE4 48 25 22 AD */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BDE88 000BADE8 38 61 03 B4 */ addi r3, r1, 0x3b4
/* 800BDE8C 000BADEC 38 81 01 98 */ addi r4, r1, 0x198
/* 800BDE90 000BADF0 48 25 21 95 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BDE94 000BADF4 C0 59 01 7C */ lfs f2, 0x17c(r25)
/* 800BDE98 000BADF8 38 61 01 44 */ addi r3, r1, 0x144
/* 800BDE9C 000BADFC C0 39 01 80 */ lfs f1, 0x180(r25)
/* 800BDEA0 000BAE00 38 81 03 B4 */ addi r4, r1, 0x3b4
/* 800BDEA4 000BAE04 C0 19 01 84 */ lfs f0, 0x184(r25)
/* 800BDEA8 000BAE08 38 A1 00 D8 */ addi r5, r1, 0xd8
/* 800BDEAC 000BAE0C D0 41 00 D8 */ stfs f2, 0xd8(r1)
/* 800BDEB0 000BAE10 D0 21 00 DC */ stfs f1, 0xdc(r1)
/* 800BDEB4 000BAE14 D0 01 00 E0 */ stfs f0, 0xe0(r1)
/* 800BDEB8 000BAE18 48 25 53 C1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BDEBC 000BAE1C 7C 64 1B 78 */ mr r4, r3
/* 800BDEC0 000BAE20 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDEC4 000BAE24 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDEC8 000BAE28 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BDECC 000BAE2C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDED0 000BAE30 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDED4 000BAE34 38 60 00 01 */ li r3, 1
/* 800BDED8 000BAE38 38 80 00 01 */ li r4, 1
/* 800BDEDC 000BAE3C 38 A0 00 00 */ li r5, 0
/* 800BDEE0 000BAE40 48 24 DB B5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 800BDEE4 000BAE44 C2 E2 8D 64 */ lfs f23, lbl_805AAA84@sda21(r2)
/* 800BDEE8 000BAE48 3B 00 00 00 */ li r24, 0
/* 800BDEEC 000BAE4C C3 42 8D 30 */ lfs f26, lbl_805AAA50@sda21(r2)
/* 800BDEF0 000BAE50 3F 20 43 30 */ lis r25, 0x4330
/* 800BDEF4 000BAE54 EE 97 05 32 */ fmuls f20, f23, f20
/* 800BDEF8 000BAE58 C3 22 8D 54 */ lfs f25, lbl_805AAA74@sda21(r2)
/* 800BDEFC 000BAE5C C3 02 8D 80 */ lfs f24, lbl_805AAAA0@sda21(r2)
/* 800BDF00 000BAE60 CB E2 8D 48 */ lfd f31, lbl_805AAA68@sda21(r2)
/* 800BDF04 000BAE64 C3 C2 8D 70 */ lfs f30, lbl_805AAA90@sda21(r2)
/* 800BDF08 000BAE68 C3 A2 8D 74 */ lfs f29, lbl_805AAA94@sda21(r2)
/* 800BDF0C 000BAE6C C3 82 8D 78 */ lfs f28, lbl_805AAA98@sda21(r2)
lbl_800BDF10:
/* 800BDF10 000BAE70 2C 18 00 00 */ cmpwi r24, 0
/* 800BDF14 000BAE74 40 82 00 0C */ bne lbl_800BDF20
/* 800BDF18 000BAE78 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800BDF1C 000BAE7C 48 00 00 08 */ b lbl_800BDF24
lbl_800BDF20:
/* 800BDF20 000BAE80 C0 22 8D 6C */ lfs f1, lbl_805AAA8C@sda21(r2)
lbl_800BDF24:
/* 800BDF24 000BAE84 38 60 00 00 */ li r3, 0
/* 800BDF28 000BAE88 48 24 D4 B1 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset
/* 800BDF2C 000BAE8C 88 1A 01 9B */ lbz r0, 0x19b(r26)
/* 800BDF30 000BAE90 93 21 04 48 */ stw r25, 0x448(r1)
/* 800BDF34 000BAE94 90 01 04 4C */ stw r0, 0x44c(r1)
/* 800BDF38 000BAE98 C8 01 04 48 */ lfd f0, 0x448(r1)
/* 800BDF3C 000BAE9C EC 00 F8 28 */ fsubs f0, f0, f31
/* 800BDF40 000BAEA0 EF 74 00 32 */ fmuls f27, f20, f0
/* 800BDF44 000BAEA4 F3 61 A0 08 */ psq_st f27, 8(r1), 1, qr2
/* 800BDF48 000BAEA8 38 80 00 08 */ li r4, 8
/* 800BDF4C 000BAEAC 80 BA 01 98 */ lwz r5, 0x198(r26)
/* 800BDF50 000BAEB0 88 01 00 08 */ lbz r0, 8(r1)
/* 800BDF54 000BAEB4 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17
/* 800BDF58 000BAEB8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDF5C 000BAEBC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800BDF60 000BAEC0 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDF64 000BAEC4 81 8C 00 94 */ lwz r12, 0x94(r12)
/* 800BDF68 000BAEC8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDF6C 000BAECC 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDF70 000BAED0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDF74 000BAED4 38 81 00 14 */ addi r4, r1, 0x14
/* 800BDF78 000BAED8 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDF7C 000BAEDC 81 8C 00 B4 */ lwz r12, 0xb4(r12)
/* 800BDF80 000BAEE0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDF84 000BAEE4 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDF88 000BAEE8 D3 C1 00 CC */ stfs f30, 0xcc(r1)
/* 800BDF8C 000BAEEC 38 81 00 CC */ addi r4, r1, 0xcc
/* 800BDF90 000BAEF0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDF94 000BAEF4 D3 41 00 D0 */ stfs f26, 0xd0(r1)
/* 800BDF98 000BAEF8 D3 41 00 D4 */ stfs f26, 0xd4(r1)
/* 800BDF9C 000BAEFC 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDFA0 000BAF00 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BDFA4 000BAF04 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDFA8 000BAF08 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDFAC 000BAF0C D3 A1 00 C0 */ stfs f29, 0xc0(r1)
/* 800BDFB0 000BAF10 38 81 00 C0 */ addi r4, r1, 0xc0
/* 800BDFB4 000BAF14 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDFB8 000BAF18 D3 41 00 C4 */ stfs f26, 0xc4(r1)
/* 800BDFBC 000BAF1C D3 41 00 C8 */ stfs f26, 0xc8(r1)
/* 800BDFC0 000BAF20 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDFC4 000BAF24 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BDFC8 000BAF28 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDFCC 000BAF2C 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDFD0 000BAF30 D2 E1 00 B4 */ stfs f23, 0xb4(r1)
/* 800BDFD4 000BAF34 38 81 00 B4 */ addi r4, r1, 0xb4
/* 800BDFD8 000BAF38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BDFDC 000BAF3C D3 41 00 B8 */ stfs f26, 0xb8(r1)
/* 800BDFE0 000BAF40 D3 41 00 BC */ stfs f26, 0xbc(r1)
/* 800BDFE4 000BAF44 81 83 00 00 */ lwz r12, 0(r3)
/* 800BDFE8 000BAF48 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BDFEC 000BAF4C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BDFF0 000BAF50 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BDFF4 000BAF54 D3 81 00 A8 */ stfs f28, 0xa8(r1)
/* 800BDFF8 000BAF58 38 81 00 A8 */ addi r4, r1, 0xa8
/* 800BDFFC 000BAF5C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE000 000BAF60 D3 41 00 AC */ stfs f26, 0xac(r1)
/* 800BE004 000BAF64 D3 41 00 B0 */ stfs f26, 0xb0(r1)
/* 800BE008 000BAF68 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE00C 000BAF6C 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE010 000BAF70 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE014 000BAF74 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE018 000BAF78 D3 41 00 9C */ stfs f26, 0x9c(r1)
/* 800BE01C 000BAF7C 38 81 00 9C */ addi r4, r1, 0x9c
/* 800BE020 000BAF80 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE024 000BAF84 D3 41 00 A0 */ stfs f26, 0xa0(r1)
/* 800BE028 000BAF88 D3 C1 00 A4 */ stfs f30, 0xa4(r1)
/* 800BE02C 000BAF8C 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE030 000BAF90 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE034 000BAF94 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE038 000BAF98 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE03C 000BAF9C D3 41 00 90 */ stfs f26, 0x90(r1)
/* 800BE040 000BAFA0 38 81 00 90 */ addi r4, r1, 0x90
/* 800BE044 000BAFA4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE048 000BAFA8 D3 41 00 94 */ stfs f26, 0x94(r1)
/* 800BE04C 000BAFAC D3 A1 00 98 */ stfs f29, 0x98(r1)
/* 800BE050 000BAFB0 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE054 000BAFB4 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE058 000BAFB8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE05C 000BAFBC 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE060 000BAFC0 D3 41 00 84 */ stfs f26, 0x84(r1)
/* 800BE064 000BAFC4 38 81 00 84 */ addi r4, r1, 0x84
/* 800BE068 000BAFC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE06C 000BAFCC D3 41 00 88 */ stfs f26, 0x88(r1)
/* 800BE070 000BAFD0 D2 E1 00 8C */ stfs f23, 0x8c(r1)
/* 800BE074 000BAFD4 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE078 000BAFD8 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE07C 000BAFDC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE080 000BAFE0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE084 000BAFE4 D3 41 00 78 */ stfs f26, 0x78(r1)
/* 800BE088 000BAFE8 38 81 00 78 */ addi r4, r1, 0x78
/* 800BE08C 000BAFEC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE090 000BAFF0 D3 41 00 7C */ stfs f26, 0x7c(r1)
/* 800BE094 000BAFF4 D3 81 00 80 */ stfs f28, 0x80(r1)
/* 800BE098 000BAFF8 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE09C 000BAFFC 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE0A0 000BB000 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE0A4 000BB004 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE0A8 000BB008 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE0AC 000BB00C 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE0B0 000BB010 81 8C 00 B8 */ lwz r12, 0xb8(r12)
/* 800BE0B4 000BB014 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE0B8 000BB018 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE0BC 000BB01C 3B 60 00 00 */ li r27, 0
lbl_800BE0C0:
/* 800BE0C0 000BB020 2C 1B 00 02 */ cmpwi r27, 2
/* 800BE0C4 000BB024 40 80 00 0C */ bge lbl_800BE0D0
/* 800BE0C8 000BB028 C2 C2 8D 7C */ lfs f22, lbl_805AAA9C@sda21(r2)
/* 800BE0CC 000BB02C 48 00 00 08 */ b lbl_800BE0D4
lbl_800BE0D0:
/* 800BE0D0 000BB030 C2 C2 8D 38 */ lfs f22, lbl_805AAA58@sda21(r2)
lbl_800BE0D4:
/* 800BE0D4 000BB034 57 60 07 FF */ clrlwi. r0, r27, 0x1f
/* 800BE0D8 000BB038 41 82 00 0C */ beq lbl_800BE0E4
/* 800BE0DC 000BB03C C2 A2 8D 7C */ lfs f21, lbl_805AAA9C@sda21(r2)
/* 800BE0E0 000BB040 48 00 00 08 */ b lbl_800BE0E8
lbl_800BE0E4:
/* 800BE0E4 000BB044 C2 A2 8D 38 */ lfs f21, lbl_805AAA58@sda21(r2)
lbl_800BE0E8:
/* 800BE0E8 000BB048 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE0EC 000BB04C 38 80 00 04 */ li r4, 4
/* 800BE0F0 000BB050 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE0F4 000BB054 81 8C 00 98 */ lwz r12, 0x98(r12)
/* 800BE0F8 000BB058 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE0FC 000BB05C 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE100 000BB060 EE 77 05 B2 */ fmuls f19, f23, f22
/* 800BE104 000BB064 D3 41 00 70 */ stfs f26, 0x70(r1)
/* 800BE108 000BB068 EC 19 05 72 */ fmuls f0, f25, f21
/* 800BE10C 000BB06C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE110 000BB070 38 81 00 6C */ addi r4, r1, 0x6c
/* 800BE114 000BB074 D2 61 00 6C */ stfs f19, 0x6c(r1)
/* 800BE118 000BB078 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 800BE11C 000BB07C 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE120 000BB080 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE124 000BB084 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE128 000BB088 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE12C 000BB08C EC 18 05 72 */ fmuls f0, f24, f21
/* 800BE130 000BB090 D2 61 00 60 */ stfs f19, 0x60(r1)
/* 800BE134 000BB094 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE138 000BB098 38 81 00 60 */ addi r4, r1, 0x60
/* 800BE13C 000BB09C D3 41 00 64 */ stfs f26, 0x64(r1)
/* 800BE140 000BB0A0 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 800BE144 000BB0A4 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE148 000BB0A8 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE14C 000BB0AC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE150 000BB0B0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE154 000BB0B4 EC 18 05 B2 */ fmuls f0, f24, f22
/* 800BE158 000BB0B8 D3 41 00 58 */ stfs f26, 0x58(r1)
/* 800BE15C 000BB0BC EE 77 05 72 */ fmuls f19, f23, f21
/* 800BE160 000BB0C0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE164 000BB0C4 38 81 00 54 */ addi r4, r1, 0x54
/* 800BE168 000BB0C8 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 800BE16C 000BB0CC D2 61 00 5C */ stfs f19, 0x5c(r1)
/* 800BE170 000BB0D0 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE174 000BB0D4 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE178 000BB0D8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE17C 000BB0DC 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE180 000BB0E0 EC 19 05 B2 */ fmuls f0, f25, f22
/* 800BE184 000BB0E4 D3 41 00 4C */ stfs f26, 0x4c(r1)
/* 800BE188 000BB0E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE18C 000BB0EC 38 81 00 48 */ addi r4, r1, 0x48
/* 800BE190 000BB0F0 D2 61 00 50 */ stfs f19, 0x50(r1)
/* 800BE194 000BB0F4 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 800BE198 000BB0F8 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE19C 000BB0FC 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 800BE1A0 000BB100 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE1A4 000BB104 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE1A8 000BB108 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE1AC 000BB10C 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE1B0 000BB110 81 8C 00 B8 */ lwz r12, 0xb8(r12)
/* 800BE1B4 000BB114 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE1B8 000BB118 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE1BC 000BB11C 3B 7B 00 01 */ addi r27, r27, 1
/* 800BE1C0 000BB120 2C 1B 00 04 */ cmpwi r27, 4
/* 800BE1C4 000BB124 41 80 FE FC */ blt lbl_800BE0C0
/* 800BE1C8 000BB128 3B 18 00 01 */ addi r24, r24, 1
/* 800BE1CC 000BB12C 2C 18 00 02 */ cmpwi r24, 2
/* 800BE1D0 000BB130 41 80 FD 40 */ blt lbl_800BDF10
/* 800BE1D4 000BB134 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800BE1D8 000BB138 38 60 00 00 */ li r3, 0
/* 800BE1DC 000BB13C 48 24 D1 FD */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset
lbl_800BE1E0:
/* 800BE1E0 000BB140 E3 E1 05 38 */ psq_l f31, 1336(r1), 0, qr0
/* 800BE1E4 000BB144 CB E1 05 30 */ lfd f31, 0x530(r1)
/* 800BE1E8 000BB148 E3 C1 05 28 */ psq_l f30, 1320(r1), 0, qr0
/* 800BE1EC 000BB14C CB C1 05 20 */ lfd f30, 0x520(r1)
/* 800BE1F0 000BB150 E3 A1 05 18 */ psq_l f29, 1304(r1), 0, qr0
/* 800BE1F4 000BB154 CB A1 05 10 */ lfd f29, 0x510(r1)
/* 800BE1F8 000BB158 E3 81 05 08 */ psq_l f28, 1288(r1), 0, qr0
/* 800BE1FC 000BB15C CB 81 05 00 */ lfd f28, 0x500(r1)
/* 800BE200 000BB160 E3 61 04 F8 */ psq_l f27, 1272(r1), 0, qr0
/* 800BE204 000BB164 CB 61 04 F0 */ lfd f27, 0x4f0(r1)
/* 800BE208 000BB168 E3 41 04 E8 */ psq_l f26, 1256(r1), 0, qr0
/* 800BE20C 000BB16C CB 41 04 E0 */ lfd f26, 0x4e0(r1)
/* 800BE210 000BB170 E3 21 04 D8 */ psq_l f25, 1240(r1), 0, qr0
/* 800BE214 000BB174 CB 21 04 D0 */ lfd f25, 0x4d0(r1)
/* 800BE218 000BB178 E3 01 04 C8 */ psq_l f24, 1224(r1), 0, qr0
/* 800BE21C 000BB17C CB 01 04 C0 */ lfd f24, 0x4c0(r1)
/* 800BE220 000BB180 E2 E1 04 B8 */ psq_l f23, 1208(r1), 0, qr0
/* 800BE224 000BB184 CA E1 04 B0 */ lfd f23, 0x4b0(r1)
/* 800BE228 000BB188 E2 C1 04 A8 */ psq_l f22, 1192(r1), 0, qr0
/* 800BE22C 000BB18C CA C1 04 A0 */ lfd f22, 0x4a0(r1)
/* 800BE230 000BB190 E2 A1 04 98 */ psq_l f21, 1176(r1), 0, qr0
/* 800BE234 000BB194 CA A1 04 90 */ lfd f21, 0x490(r1)
/* 800BE238 000BB198 E2 81 04 88 */ psq_l f20, 1160(r1), 0, qr0
/* 800BE23C 000BB19C CA 81 04 80 */ lfd f20, 0x480(r1)
/* 800BE240 000BB1A0 E2 61 04 78 */ psq_l f19, 1144(r1), 0, qr0
/* 800BE244 000BB1A4 CA 61 04 70 */ lfd f19, 0x470(r1)
/* 800BE248 000BB1A8 BB 01 04 50 */ lmw r24, 0x450(r1)
/* 800BE24C 000BB1AC 80 01 05 44 */ lwz r0, 0x544(r1)
/* 800BE250 000BB1B0 7C 08 03 A6 */ mtlr r0
/* 800BE254 000BB1B4 38 21 05 40 */ addi r1, r1, 0x540
2022-07-14 05:48:03 +00:00
/* 800BE258 000BB1B8 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager
DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager:
/* 800BE25C 000BB1BC 94 21 F3 A0 */ stwu r1, -0xc60(r1)
/* 800BE260 000BB1C0 7C 08 02 A6 */ mflr r0
/* 800BE264 000BB1C4 90 01 0C 64 */ stw r0, 0xc64(r1)
/* 800BE268 000BB1C8 DB E1 0C 50 */ stfd f31, 0xc50(r1)
/* 800BE26C 000BB1CC F3 E1 0C 58 */ psq_st f31, -936(r1), 0, qr0
/* 800BE270 000BB1D0 DB C1 0C 40 */ stfd f30, 0xc40(r1)
/* 800BE274 000BB1D4 F3 C1 0C 48 */ psq_st f30, -952(r1), 0, qr0
/* 800BE278 000BB1D8 DB A1 0C 30 */ stfd f29, 0xc30(r1)
/* 800BE27C 000BB1DC F3 A1 0C 38 */ psq_st f29, -968(r1), 0, qr0
/* 800BE280 000BB1E0 DB 81 0C 20 */ stfd f28, 0xc20(r1)
/* 800BE284 000BB1E4 F3 81 0C 28 */ psq_st f28, -984(r1), 0, qr0
/* 800BE288 000BB1E8 DB 61 0C 10 */ stfd f27, 0xc10(r1)
/* 800BE28C 000BB1EC F3 61 0C 18 */ psq_st f27, -1000(r1), 0, qr0
/* 800BE290 000BB1F0 DB 41 0C 00 */ stfd f26, 0xc00(r1)
/* 800BE294 000BB1F4 F3 41 0C 08 */ psq_st f26, -1016(r1), 0, qr0
/* 800BE298 000BB1F8 DB 21 0B F0 */ stfd f25, 0xbf0(r1)
/* 800BE29C 000BB1FC F3 21 0B F8 */ psq_st f25, -1032(r1), 0, qr0
/* 800BE2A0 000BB200 DB 01 0B E0 */ stfd f24, 0xbe0(r1)
/* 800BE2A4 000BB204 F3 01 0B E8 */ psq_st f24, -1048(r1), 0, qr0
/* 800BE2A8 000BB208 DA E1 0B D0 */ stfd f23, 0xbd0(r1)
/* 800BE2AC 000BB20C F2 E1 0B D8 */ psq_st f23, -1064(r1), 0, qr0
/* 800BE2B0 000BB210 DA C1 0B C0 */ stfd f22, 0xbc0(r1)
/* 800BE2B4 000BB214 F2 C1 0B C8 */ psq_st f22, -1080(r1), 0, qr0
/* 800BE2B8 000BB218 DA A1 0B B0 */ stfd f21, 0xbb0(r1)
/* 800BE2BC 000BB21C F2 A1 0B B8 */ psq_st f21, -1096(r1), 0, qr0
/* 800BE2C0 000BB220 DA 81 0B A0 */ stfd f20, 0xba0(r1)
/* 800BE2C4 000BB224 F2 81 0B A8 */ psq_st f20, -1112(r1), 0, qr0
/* 800BE2C8 000BB228 DA 61 0B 90 */ stfd f19, 0xb90(r1)
/* 800BE2CC 000BB22C F2 61 0B 98 */ psq_st f19, -1128(r1), 0, qr0
/* 800BE2D0 000BB230 DA 41 0B 80 */ stfd f18, 0xb80(r1)
/* 800BE2D4 000BB234 F2 41 0B 88 */ psq_st f18, -1144(r1), 0, qr0
/* 800BE2D8 000BB238 DA 21 0B 70 */ stfd f17, 0xb70(r1)
/* 800BE2DC 000BB23C F2 21 0B 78 */ psq_st f17, -1160(r1), 0, qr0
/* 800BE2E0 000BB240 DA 01 0B 60 */ stfd f16, 0xb60(r1)
/* 800BE2E4 000BB244 F2 01 0B 68 */ psq_st f16, -1176(r1), 0, qr0
/* 800BE2E8 000BB248 D9 E1 0B 50 */ stfd f15, 0xb50(r1)
/* 800BE2EC 000BB24C F1 E1 0B 58 */ psq_st f15, -1192(r1), 0, qr0
/* 800BE2F0 000BB250 BE A1 0B 24 */ stmw r21, 0xb24(r1)
/* 800BE2F4 000BB254 7C 7F 1B 78 */ mr r31, r3
/* 800BE2F8 000BB258 7C 9E 23 78 */ mr r30, r4
/* 800BE2FC 000BB25C 80 03 00 28 */ lwz r0, 0x28(r3)
/* 800BE300 000BB260 7C BD 2B 78 */ mr r29, r5
/* 800BE304 000BB264 2C 00 00 00 */ cmpwi r0, 0
/* 800BE308 000BB268 41 81 14 B0 */ bgt lbl_800BF7B8
/* 800BE30C 000BB26C C0 3F 01 E0 */ lfs f1, 0x1e0(r31)
/* 800BE310 000BB270 C0 1F 01 E4 */ lfs f0, 0x1e4(r31)
/* 800BE314 000BB274 C0 9F 01 14 */ lfs f4, 0x114(r31)
/* 800BE318 000BB278 EC 21 00 2A */ fadds f1, f1, f0
/* 800BE31C 000BB27C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BE320 000BB280 C0 7F 01 18 */ lfs f3, 0x118(r31)
/* 800BE324 000BB284 C0 5F 01 1C */ lfs f2, 0x11c(r31)
/* 800BE328 000BB288 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BE32C 000BB28C D0 81 01 E0 */ stfs f4, 0x1e0(r1)
/* 800BE330 000BB290 C3 3F 01 10 */ lfs f25, 0x110(r31)
/* 800BE334 000BB294 D0 61 01 E4 */ stfs f3, 0x1e4(r1)
/* 800BE338 000BB298 D0 41 01 E8 */ stfs f2, 0x1e8(r1)
/* 800BE33C 000BB29C 41 81 14 7C */ bgt lbl_800BF7B8
/* 800BE340 000BB2A0 C3 1F 01 20 */ lfs f24, 0x120(r31)
/* 800BE344 000BB2A4 FE A0 C0 90 */ fmr f21, f24
/* 800BE348 000BB2A8 FC 00 C0 00 */ fcmpu cr0, f0, f24
/* 800BE34C 000BB2AC 41 82 14 6C */ beq lbl_800BF7B8
/* 800BE350 000BB2B0 80 7D 08 B8 */ lwz r3, 0x8b8(r29)
/* 800BE354 000BB2B4 80 63 00 00 */ lwz r3, 0(r3)
/* 800BE358 000BB2B8 4B FD 35 0D */ bl GetVisorTransitionFactor__12CPlayerStateCFv
/* 800BE35C 000BB2BC 80 1F 00 20 */ lwz r0, 0x20(r31)
/* 800BE360 000BB2C0 FE 40 08 90 */ fmr f18, f1
/* 800BE364 000BB2C4 C2 FF 01 24 */ lfs f23, 0x124(r31)
/* 800BE368 000BB2C8 3B 40 00 00 */ li r26, 0
/* 800BE36C 000BB2CC 2C 00 00 01 */ cmpwi r0, 1
/* 800BE370 000BB2D0 3B 20 00 00 */ li r25, 0
/* 800BE374 000BB2D4 41 82 00 24 */ beq lbl_800BE398
/* 800BE378 000BB2D8 40 80 00 24 */ bge lbl_800BE39C
/* 800BE37C 000BB2DC 2C 00 00 00 */ cmpwi r0, 0
/* 800BE380 000BB2E0 40 80 00 0C */ bge lbl_800BE38C
/* 800BE384 000BB2E4 48 00 00 18 */ b lbl_800BE39C
/* 800BE388 000BB2E8 48 00 00 14 */ b lbl_800BE39C
lbl_800BE38C:
/* 800BE38C 000BB2EC 3B 40 00 01 */ li r26, 1
/* 800BE390 000BB2F0 3B 20 00 01 */ li r25, 1
/* 800BE394 000BB2F4 48 00 00 08 */ b lbl_800BE39C
lbl_800BE398:
/* 800BE398 000BB2F8 3B 40 00 01 */ li r26, 1
lbl_800BE39C:
2022-10-05 16:28:37 +00:00
/* 800BE39C 000BB2FC 3C 80 80 5A */ lis r4, sIdentity__9CMatrix3f@ha
2022-04-12 09:14:24 +00:00
/* 800BE3A0 000BB300 38 61 0A EC */ addi r3, r1, 0xaec
2022-10-05 16:28:37 +00:00
/* 800BE3A4 000BB304 38 84 65 FC */ addi r4, r4, sIdentity__9CMatrix3f@l
2022-04-12 09:14:24 +00:00
/* 800BE3A8 000BB308 48 25 1C 7D */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BE3AC 000BB30C 38 00 00 00 */ li r0, 0
/* 800BE3B0 000BB310 80 7D 08 4C */ lwz r3, 0x84c(r29)
/* 800BE3B4 000BB314 90 01 00 8C */ stw r0, 0x8c(r1)
/* 800BE3B8 000BB318 80 63 03 0C */ lwz r3, 0x30c(r3)
/* 800BE3BC 000BB31C 48 00 37 AD */ bl IsDamageOrbit__F19EPlayerOrbitRequest
/* 800BE3C0 000BB320 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800BE3C4 000BB324 41 82 01 BC */ beq lbl_800BE580
/* 800BE3C8 000BB328 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800BE3CC 000BB32C C0 1F 01 60 */ lfs f0, 0x160(r31)
/* 800BE3D0 000BB330 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800BE3D4 000BB334 40 82 01 AC */ bne lbl_800BE580
/* 800BE3D8 000BB338 3C 60 80 5A */ lis r3, sRightVector__9CVector3f@ha
/* 800BE3DC 000BB33C 3C 80 80 5A */ lis r4, sForwardVector__9CVector3f@ha
/* 800BE3E0 000BB340 38 E3 67 18 */ addi r7, r3, sRightVector__9CVector3f@l
/* 800BE3E4 000BB344 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
/* 800BE3E8 000BB348 38 C4 67 24 */ addi r6, r4, sForwardVector__9CVector3f@l
2022-04-12 09:14:24 +00:00
/* 800BE3EC 000BB34C C1 07 00 00 */ lfs f8, 0(r7)
/* 800BE3F0 000BB350 38 A3 66 F4 */ addi r5, r3, sUpVector__9CVector3f@l
2022-04-12 09:14:24 +00:00
/* 800BE3F4 000BB354 C0 E7 00 04 */ lfs f7, 4(r7)
/* 800BE3F8 000BB358 C0 C7 00 08 */ lfs f6, 8(r7)
/* 800BE3FC 000BB35C 3C 80 38 E4 */ lis r4, 0x38E38E39@ha
/* 800BE400 000BB360 C0 A6 00 00 */ lfs f5, 0(r6)
/* 800BE404 000BB364 3C 60 55 55 */ lis r3, 0x55555556@ha
/* 800BE408 000BB368 C0 86 00 04 */ lfs f4, 4(r6)
/* 800BE40C 000BB36C 3B 64 8E 39 */ addi r27, r4, 0x38E38E39@l
/* 800BE410 000BB370 C0 66 00 08 */ lfs f3, 8(r6)
/* 800BE414 000BB374 3B 83 55 56 */ addi r28, r3, 0x55555556@l
/* 800BE418 000BB378 C0 45 00 00 */ lfs f2, 0(r5)
/* 800BE41C 000BB37C 3A C1 0A C8 */ addi r22, r1, 0xac8
/* 800BE420 000BB380 C0 25 00 04 */ lfs f1, 4(r5)
/* 800BE424 000BB384 3B 00 00 00 */ li r24, 0
/* 800BE428 000BB388 C0 05 00 08 */ lfs f0, 8(r5)
/* 800BE42C 000BB38C 3E E0 43 30 */ lis r23, 0x4330
/* 800BE430 000BB390 D1 01 0A C8 */ stfs f8, 0xac8(r1)
/* 800BE434 000BB394 CA A2 8D 40 */ lfd f21, lbl_805AAA60@sda21(r2)
/* 800BE438 000BB398 D0 E1 0A CC */ stfs f7, 0xacc(r1)
/* 800BE43C 000BB39C C2 82 8D 84 */ lfs f20, lbl_805AAAA4@sda21(r2)
/* 800BE440 000BB3A0 D0 C1 0A D0 */ stfs f6, 0xad0(r1)
/* 800BE444 000BB3A4 C2 62 8D 64 */ lfs f19, lbl_805AAA84@sda21(r2)
/* 800BE448 000BB3A8 D0 A1 0A D4 */ stfs f5, 0xad4(r1)
/* 800BE44C 000BB3AC D0 81 0A D8 */ stfs f4, 0xad8(r1)
/* 800BE450 000BB3B0 D0 61 0A DC */ stfs f3, 0xadc(r1)
/* 800BE454 000BB3B4 D0 41 0A E0 */ stfs f2, 0xae0(r1)
/* 800BE458 000BB3B8 D0 21 0A E4 */ stfs f1, 0xae4(r1)
/* 800BE45C 000BB3BC D0 01 0A E8 */ stfs f0, 0xae8(r1)
lbl_800BE460:
/* 800BE460 000BB3C0 48 2D 1A 1D */ bl rand
/* 800BE464 000BB3C4 7C 75 1B 78 */ mr r21, r3
/* 800BE468 000BB3C8 48 2D 1A 15 */ bl rand
/* 800BE46C 000BB3CC 7C 9B 18 96 */ mulhw r4, r27, r3
/* 800BE470 000BB3D0 6E A0 80 00 */ xoris r0, r21, 0x8000
/* 800BE474 000BB3D4 90 01 0B 14 */ stw r0, 0xb14(r1)
/* 800BE478 000BB3D8 3B 18 00 01 */ addi r24, r24, 1
/* 800BE47C 000BB3DC 92 E1 0B 10 */ stw r23, 0xb10(r1)
/* 800BE480 000BB3E0 2C 18 00 04 */ cmpwi r24, 4
/* 800BE484 000BB3E4 C8 01 0B 10 */ lfd f0, 0xb10(r1)
/* 800BE488 000BB3E8 7C 80 0E 70 */ srawi r0, r4, 1
/* 800BE48C 000BB3EC 54 04 0F FE */ srwi r4, r0, 0x1f
/* 800BE490 000BB3F0 EC 00 A8 28 */ fsubs f0, f0, f21
/* 800BE494 000BB3F4 7C 00 22 14 */ add r0, r0, r4
/* 800BE498 000BB3F8 1C 00 00 09 */ mulli r0, r0, 9
/* 800BE49C 000BB3FC EC 00 A0 24 */ fdivs f0, f0, f20
/* 800BE4A0 000BB400 7C A0 18 50 */ subf r5, r0, r3
/* 800BE4A4 000BB404 7C 7C 28 96 */ mulhw r3, r28, r5
/* 800BE4A8 000BB408 54 60 0F FE */ srwi r0, r3, 0x1f
/* 800BE4AC 000BB40C 7C 83 02 14 */ add r4, r3, r0
/* 800BE4B0 000BB410 1C 04 00 03 */ mulli r0, r4, 3
/* 800BE4B4 000BB414 7C 60 28 50 */ subf r3, r0, r5
/* 800BE4B8 000BB418 54 80 10 3A */ slwi r0, r4, 2
/* 800BE4BC 000BB41C 1C 63 00 0C */ mulli r3, r3, 0xc
/* 800BE4C0 000BB420 EC 00 98 28 */ fsubs f0, f0, f19
/* 800BE4C4 000BB424 7C 03 02 14 */ add r0, r3, r0
/* 800BE4C8 000BB428 7C 36 04 2E */ lfsx f1, r22, r0
/* 800BE4CC 000BB42C EC 01 00 2A */ fadds f0, f1, f0
/* 800BE4D0 000BB430 7C 16 05 2E */ stfsx f0, r22, r0
/* 800BE4D4 000BB434 41 80 FF 8C */ blt lbl_800BE460
/* 800BE4D8 000BB438 38 61 08 C4 */ addi r3, r1, 0x8c4
/* 800BE4DC 000BB43C 38 81 0A C8 */ addi r4, r1, 0xac8
/* 800BE4E0 000BB440 38 A1 0A D4 */ addi r5, r1, 0xad4
/* 800BE4E4 000BB444 38 C1 0A E0 */ addi r6, r1, 0xae0
/* 800BE4E8 000BB448 48 25 21 95 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 800BE4EC 000BB44C 7C 64 1B 78 */ mr r4, r3
/* 800BE4F0 000BB450 38 61 0A EC */ addi r3, r1, 0xaec
/* 800BE4F4 000BB454 48 25 1B 05 */ bl __as__9CMatrix3fFRC9CMatrix3f
/* 800BE4F8 000BB458 C0 02 8D 88 */ lfs f0, lbl_805AAAA8@sda21(r2)
/* 800BE4FC 000BB45C FC 18 00 40 */ fcmpo cr0, f24, f0
/* 800BE500 000BB460 40 81 00 3C */ ble lbl_800BE53C
/* 800BE504 000BB464 48 28 BA A9 */ bl White__6CColorFv
/* 800BE508 000BB468 C0 02 8D 88 */ lfs f0, lbl_805AAAA8@sda21(r2)
/* 800BE50C 000BB46C C0 42 8D 90 */ lfs f2, lbl_805AAAB0@sda21(r2)
/* 800BE510 000BB470 EC 38 00 28 */ fsubs f1, f24, f0
/* 800BE514 000BB474 C0 02 8D 94 */ lfs f0, lbl_805AAAB4@sda21(r2)
/* 800BE518 000BB478 C0 62 8D 8C */ lfs f3, lbl_805AAAAC@sda21(r2)
/* 800BE51C 000BB47C EC 22 00 72 */ fmuls f1, f2, f1
/* 800BE520 000BB480 EC 01 00 24 */ fdivs f0, f1, f0
/* 800BE524 000BB484 ED E3 00 32 */ fmuls f15, f3, f0
/* 800BE528 000BB488 F1 E1 A0 08 */ psq_st f15, 8(r1), 1, qr2
/* 800BE52C 000BB48C 80 63 00 00 */ lwz r3, 0(r3)
/* 800BE530 000BB490 88 01 00 08 */ lbz r0, 8(r1)
/* 800BE534 000BB494 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 800BE538 000BB498 90 01 00 8C */ stw r0, 0x8c(r1)
lbl_800BE53C:
/* 800BE53C 000BB49C C0 02 8D 98 */ lfs f0, lbl_805AAAB8@sda21(r2)
/* 800BE540 000BB4A0 FC 18 00 40 */ fcmpo cr0, f24, f0
/* 800BE544 000BB4A4 40 81 00 0C */ ble lbl_800BE550
/* 800BE548 000BB4A8 C2 A2 8D 38 */ lfs f21, lbl_805AAA58@sda21(r2)
/* 800BE54C 000BB4AC 48 00 00 34 */ b lbl_800BE580
lbl_800BE550:
/* 800BE550 000BB4B0 C0 02 8D 9C */ lfs f0, lbl_805AAABC@sda21(r2)
/* 800BE554 000BB4B4 C0 22 8D 94 */ lfs f1, lbl_805AAAB4@sda21(r2)
/* 800BE558 000BB4B8 EC 58 00 28 */ fsubs f2, f24, f0
/* 800BE55C 000BB4BC C0 0D 86 A8 */ lfs f0, lbl_805A7268@sda21(r13)
/* 800BE560 000BB4C0 EC 22 08 24 */ fdivs f1, f2, f1
/* 800BE564 000BB4C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BE568 000BB4C8 D0 21 00 78 */ stfs f1, 0x78(r1)
/* 800BE56C 000BB4CC 40 80 00 0C */ bge lbl_800BE578
/* 800BE570 000BB4D0 38 6D 86 A8 */ addi r3, r13, lbl_805A7268@sda21
/* 800BE574 000BB4D4 48 00 00 08 */ b lbl_800BE57C
lbl_800BE578:
/* 800BE578 000BB4D8 38 61 00 78 */ addi r3, r1, 0x78
lbl_800BE57C:
/* 800BE57C 000BB4DC C2 A3 00 00 */ lfs f21, 0(r3)
lbl_800BE580:
/* 800BE580 000BB4E0 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 800BE584 000BB4E4 41 82 01 CC */ beq lbl_800BE750
/* 800BE588 000BB4E8 80 1F 00 54 */ lwz r0, 0x54(r31)
/* 800BE58C 000BB4EC 28 00 00 00 */ cmplwi r0, 0
/* 800BE590 000BB4F0 40 82 00 30 */ bne lbl_800BE5C0
/* 800BE594 000BB4F4 88 1F 00 50 */ lbz r0, 0x50(r31)
/* 800BE598 000BB4F8 28 00 00 00 */ cmplwi r0, 0
/* 800BE59C 000BB4FC 41 82 00 24 */ beq lbl_800BE5C0
/* 800BE5A0 000BB500 80 7F 00 4C */ lwz r3, 0x4c(r31)
/* 800BE5A4 000BB504 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BE5A8 000BB508 28 00 00 00 */ cmplwi r0, 0
/* 800BE5AC 000BB50C 41 82 00 14 */ beq lbl_800BE5C0
/* 800BE5B0 000BB510 38 7F 00 4C */ addi r3, r31, 0x4c
/* 800BE5B4 000BB514 48 28 28 59 */ bl GetObj__6CTokenFv
/* 800BE5B8 000BB518 80 03 00 04 */ lwz r0, 4(r3)
/* 800BE5BC 000BB51C 90 1F 00 54 */ stw r0, 0x54(r31)
lbl_800BE5C0:
/* 800BE5C0 000BB520 83 1F 00 54 */ lwz r24, 0x54(r31)
/* 800BE5C4 000BB524 28 18 00 00 */ cmplwi r24, 0
/* 800BE5C8 000BB528 41 82 01 88 */ beq lbl_800BE750
/* 800BE5CC 000BB52C 80 C1 01 E0 */ lwz r6, 0x1e0(r1)
/* 800BE5D0 000BB530 FC 20 C8 90 */ fmr f1, f25
/* 800BE5D4 000BB534 80 A1 01 E4 */ lwz r5, 0x1e4(r1)
/* 800BE5D8 000BB538 7F A4 EB 78 */ mr r4, r29
/* 800BE5DC 000BB53C 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 800BE5E0 000BB540 38 61 01 D4 */ addi r3, r1, 0x1d4
/* 800BE5E4 000BB544 90 C1 01 D4 */ stw r6, 0x1d4(r1)
/* 800BE5E8 000BB548 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13)
/* 800BE5EC 000BB54C 90 A1 01 D8 */ stw r5, 0x1d8(r1)
/* 800BE5F0 000BB550 90 01 01 DC */ stw r0, 0x1dc(r1)
/* 800BE5F4 000BB554 C0 15 01 54 */ lfs f0, 0x154(r21)
/* 800BE5F8 000BB558 C0 75 01 58 */ lfs f3, 0x158(r21)
/* 800BE5FC 000BB55C EC 57 00 32 */ fmuls f2, f23, f0
/* 800BE600 000BB560 4B FF E9 9D */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BE604 000BB564 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13)
/* 800BE608 000BB568 38 61 08 58 */ addi r3, r1, 0x858
/* 800BE60C 000BB56C C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2)
/* 800BE610 000BB570 38 81 00 74 */ addi r4, r1, 0x74
/* 800BE614 000BB574 C0 65 00 14 */ lfs f3, 0x14(r5)
/* 800BE618 000BB578 C0 1F 01 EC */ lfs f0, 0x1ec(r31)
/* 800BE61C 000BB57C EC 21 00 F2 */ fmuls f1, f1, f3
/* 800BE620 000BB580 D0 41 08 38 */ stfs f2, 0x838(r1)
/* 800BE624 000BB584 D0 41 08 3C */ stfs f2, 0x83c(r1)
/* 800BE628 000BB588 EC 21 C0 24 */ fdivs f1, f1, f24
/* 800BE62C 000BB58C D0 41 08 40 */ stfs f2, 0x840(r1)
/* 800BE630 000BB590 D0 41 08 48 */ stfs f2, 0x848(r1)
/* 800BE634 000BB594 D0 41 08 4C */ stfs f2, 0x84c(r1)
/* 800BE638 000BB598 D0 41 08 50 */ stfs f2, 0x850(r1)
/* 800BE63C 000BB59C D0 01 00 74 */ stfs f0, 0x74(r1)
/* 800BE640 000BB5A0 D0 21 08 34 */ stfs f1, 0x834(r1)
/* 800BE644 000BB5A4 D0 21 08 44 */ stfs f1, 0x844(r1)
/* 800BE648 000BB5A8 D0 21 08 54 */ stfs f1, 0x854(r1)
/* 800BE64C 000BB5AC 48 25 1E 49 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800BE650 000BB5B0 7F C4 F3 78 */ mr r4, r30
/* 800BE654 000BB5B4 38 61 08 7C */ addi r3, r1, 0x87c
/* 800BE658 000BB5B8 38 A1 08 58 */ addi r5, r1, 0x858
/* 800BE65C 000BB5BC 48 25 1A D5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BE660 000BB5C0 38 61 08 A0 */ addi r3, r1, 0x8a0
/* 800BE664 000BB5C4 38 81 08 7C */ addi r4, r1, 0x87c
/* 800BE668 000BB5C8 38 A1 08 34 */ addi r5, r1, 0x834
/* 800BE66C 000BB5CC 48 25 1A C5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BE670 000BB5D0 38 61 0A A4 */ addi r3, r1, 0xaa4
/* 800BE674 000BB5D4 38 81 08 A0 */ addi r4, r1, 0x8a0
/* 800BE678 000BB5D8 48 25 19 AD */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BE67C 000BB5DC C0 5F 01 14 */ lfs f2, 0x114(r31)
/* 800BE680 000BB5E0 38 61 07 E0 */ addi r3, r1, 0x7e0
/* 800BE684 000BB5E4 C0 3F 01 18 */ lfs f1, 0x118(r31)
/* 800BE688 000BB5E8 38 81 0A EC */ addi r4, r1, 0xaec
/* 800BE68C 000BB5EC C0 1F 01 1C */ lfs f0, 0x11c(r31)
/* 800BE690 000BB5F0 38 A1 0A A4 */ addi r5, r1, 0xaa4
/* 800BE694 000BB5F4 D0 41 01 C8 */ stfs f2, 0x1c8(r1)
/* 800BE698 000BB5F8 D0 21 01 CC */ stfs f1, 0x1cc(r1)
/* 800BE69C 000BB5FC D0 01 01 D0 */ stfs f0, 0x1d0(r1)
/* 800BE6A0 000BB600 48 25 1A 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BE6A4 000BB604 38 61 08 04 */ addi r3, r1, 0x804
/* 800BE6A8 000BB608 38 81 07 E0 */ addi r4, r1, 0x7e0
/* 800BE6AC 000BB60C 38 A1 01 C8 */ addi r5, r1, 0x1c8
/* 800BE6B0 000BB610 48 25 4B C9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BE6B4 000BB614 7C 64 1B 78 */ mr r4, r3
/* 800BE6B8 000BB618 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE6BC 000BB61C 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE6C0 000BB620 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BE6C4 000BB624 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE6C8 000BB628 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE6CC 000BB62C 88 75 01 4F */ lbz r3, 0x14f(r21)
/* 800BE6D0 000BB630 3C 00 43 30 */ lis r0, 0x4330
/* 800BE6D4 000BB634 90 01 0B 10 */ stw r0, 0xb10(r1)
/* 800BE6D8 000BB638 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BE6DC 000BB63C 90 61 0B 14 */ stw r3, 0xb14(r1)
/* 800BE6E0 000BB640 C8 01 0B 10 */ lfd f0, 0xb10(r1)
/* 800BE6E4 000BB644 EC 00 08 28 */ fsubs f0, f0, f1
/* 800BE6E8 000BB648 EE 35 00 32 */ fmuls f17, f21, f0
/* 800BE6EC 000BB64C F2 21 A0 11 */ psq_st f17, 17(r1), 1, qr2
/* 800BE6F0 000BB650 38 61 00 70 */ addi r3, r1, 0x70
/* 800BE6F4 000BB654 80 D5 01 4C */ lwz r6, 0x14c(r21)
/* 800BE6F8 000BB658 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BE6FC 000BB65C 88 01 00 11 */ lbz r0, 0x11(r1)
/* 800BE700 000BB660 38 A1 00 6C */ addi r5, r1, 0x6c
/* 800BE704 000BB664 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 800BE708 000BB668 90 01 00 6C */ stw r0, 0x6c(r1)
/* 800BE70C 000BB66C 48 2A 49 A5 */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BE710 000BB670 38 C0 00 03 */ li r6, 3
/* 800BE714 000BB674 80 A1 00 70 */ lwz r5, 0x70(r1)
/* 800BE718 000BB678 39 00 00 07 */ li r8, 7
/* 800BE71C 000BB67C 38 E0 00 00 */ li r7, 0
/* 800BE720 000BB680 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d
/* 800BE724 000BB684 99 01 01 10 */ stb r8, 0x110(r1)
/* 800BE728 000BB688 7F 03 C3 78 */ mr r3, r24
/* 800BE72C 000BB68C 38 81 01 18 */ addi r4, r1, 0x118
/* 800BE730 000BB690 98 E1 01 11 */ stb r7, 0x111(r1)
/* 800BE734 000BB694 B0 C1 01 12 */ sth r6, 0x112(r1)
/* 800BE738 000BB698 90 A1 01 14 */ stw r5, 0x114(r1)
/* 800BE73C 000BB69C 99 01 01 18 */ stb r8, 0x118(r1)
/* 800BE740 000BB6A0 98 E1 01 19 */ stb r7, 0x119(r1)
/* 800BE744 000BB6A4 B0 01 01 1A */ sth r0, 0x11a(r1)
/* 800BE748 000BB6A8 90 A1 01 1C */ stw r5, 0x11c(r1)
/* 800BE74C 000BB6AC 48 29 74 89 */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BE750:
/* 800BE750 000BB6B0 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 800BE754 000BB6B4 41 82 10 64 */ beq lbl_800BF7B8
/* 800BE758 000BB6B8 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 800BE75C 000BB6BC 28 00 00 00 */ cmplwi r0, 0
/* 800BE760 000BB6C0 40 82 00 30 */ bne lbl_800BE790
/* 800BE764 000BB6C4 88 1F 00 5C */ lbz r0, 0x5c(r31)
/* 800BE768 000BB6C8 28 00 00 00 */ cmplwi r0, 0
/* 800BE76C 000BB6CC 41 82 00 24 */ beq lbl_800BE790
/* 800BE770 000BB6D0 80 7F 00 58 */ lwz r3, 0x58(r31)
/* 800BE774 000BB6D4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BE778 000BB6D8 28 00 00 00 */ cmplwi r0, 0
/* 800BE77C 000BB6DC 41 82 00 14 */ beq lbl_800BE790
/* 800BE780 000BB6E0 38 7F 00 58 */ addi r3, r31, 0x58
/* 800BE784 000BB6E4 48 28 26 89 */ bl GetObj__6CTokenFv
/* 800BE788 000BB6E8 80 03 00 04 */ lwz r0, 4(r3)
/* 800BE78C 000BB6EC 90 1F 00 60 */ stw r0, 0x60(r31)
lbl_800BE790:
/* 800BE790 000BB6F0 83 1F 00 60 */ lwz r24, 0x60(r31)
/* 800BE794 000BB6F4 28 18 00 00 */ cmplwi r24, 0
/* 800BE798 000BB6F8 41 82 01 90 */ beq lbl_800BE928
/* 800BE79C 000BB6FC 80 C1 01 E0 */ lwz r6, 0x1e0(r1)
/* 800BE7A0 000BB700 FC 20 C8 90 */ fmr f1, f25
/* 800BE7A4 000BB704 80 A1 01 E4 */ lwz r5, 0x1e4(r1)
/* 800BE7A8 000BB708 7F A4 EB 78 */ mr r4, r29
/* 800BE7AC 000BB70C 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 800BE7B0 000BB710 38 61 01 BC */ addi r3, r1, 0x1bc
/* 800BE7B4 000BB714 90 C1 01 BC */ stw r6, 0x1bc(r1)
/* 800BE7B8 000BB718 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BE7BC 000BB71C 90 A1 01 C0 */ stw r5, 0x1c0(r1)
/* 800BE7C0 000BB720 90 01 01 C4 */ stw r0, 0x1c4(r1)
/* 800BE7C4 000BB724 C0 06 01 5C */ lfs f0, 0x15c(r6)
/* 800BE7C8 000BB728 C0 66 01 60 */ lfs f3, 0x160(r6)
/* 800BE7CC 000BB72C EC 57 00 32 */ fmuls f2, f23, f0
/* 800BE7D0 000BB730 4B FF E7 CD */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BE7D4 000BB734 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13)
/* 800BE7D8 000BB738 38 61 07 74 */ addi r3, r1, 0x774
/* 800BE7DC 000BB73C C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2)
/* 800BE7E0 000BB740 38 81 00 68 */ addi r4, r1, 0x68
/* 800BE7E4 000BB744 C0 75 00 B4 */ lfs f3, 0xb4(r21)
/* 800BE7E8 000BB748 C0 1F 01 F0 */ lfs f0, 0x1f0(r31)
/* 800BE7EC 000BB74C EC 21 00 F2 */ fmuls f1, f1, f3
/* 800BE7F0 000BB750 D0 41 07 54 */ stfs f2, 0x754(r1)
/* 800BE7F4 000BB754 D0 41 07 58 */ stfs f2, 0x758(r1)
/* 800BE7F8 000BB758 EC 21 A8 24 */ fdivs f1, f1, f21
/* 800BE7FC 000BB75C D0 41 07 5C */ stfs f2, 0x75c(r1)
/* 800BE800 000BB760 D0 41 07 64 */ stfs f2, 0x764(r1)
/* 800BE804 000BB764 D0 41 07 68 */ stfs f2, 0x768(r1)
/* 800BE808 000BB768 D0 41 07 6C */ stfs f2, 0x76c(r1)
/* 800BE80C 000BB76C D0 01 00 68 */ stfs f0, 0x68(r1)
/* 800BE810 000BB770 D0 21 07 50 */ stfs f1, 0x750(r1)
/* 800BE814 000BB774 D0 21 07 60 */ stfs f1, 0x760(r1)
/* 800BE818 000BB778 D0 21 07 70 */ stfs f1, 0x770(r1)
/* 800BE81C 000BB77C 48 25 1C 79 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800BE820 000BB780 7F C4 F3 78 */ mr r4, r30
/* 800BE824 000BB784 38 61 07 98 */ addi r3, r1, 0x798
/* 800BE828 000BB788 38 A1 07 74 */ addi r5, r1, 0x774
/* 800BE82C 000BB78C 48 25 19 05 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BE830 000BB790 38 61 07 BC */ addi r3, r1, 0x7bc
/* 800BE834 000BB794 38 81 07 98 */ addi r4, r1, 0x798
/* 800BE838 000BB798 38 A1 07 50 */ addi r5, r1, 0x750
/* 800BE83C 000BB79C 48 25 18 F5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BE840 000BB7A0 38 61 0A 80 */ addi r3, r1, 0xa80
/* 800BE844 000BB7A4 38 81 07 BC */ addi r4, r1, 0x7bc
/* 800BE848 000BB7A8 48 25 17 DD */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BE84C 000BB7AC C0 5F 01 14 */ lfs f2, 0x114(r31)
/* 800BE850 000BB7B0 38 61 06 FC */ addi r3, r1, 0x6fc
/* 800BE854 000BB7B4 C0 3F 01 18 */ lfs f1, 0x118(r31)
/* 800BE858 000BB7B8 38 81 0A EC */ addi r4, r1, 0xaec
/* 800BE85C 000BB7BC C0 1F 01 1C */ lfs f0, 0x11c(r31)
/* 800BE860 000BB7C0 38 A1 0A 80 */ addi r5, r1, 0xa80
/* 800BE864 000BB7C4 D0 41 01 B0 */ stfs f2, 0x1b0(r1)
/* 800BE868 000BB7C8 D0 21 01 B4 */ stfs f1, 0x1b4(r1)
/* 800BE86C 000BB7CC D0 01 01 B8 */ stfs f0, 0x1b8(r1)
/* 800BE870 000BB7D0 48 25 18 C1 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BE874 000BB7D4 38 61 07 20 */ addi r3, r1, 0x720
/* 800BE878 000BB7D8 38 81 06 FC */ addi r4, r1, 0x6fc
/* 800BE87C 000BB7DC 38 A1 01 B0 */ addi r5, r1, 0x1b0
/* 800BE880 000BB7E0 48 25 49 F9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BE884 000BB7E4 7C 64 1B 78 */ mr r4, r3
/* 800BE888 000BB7E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BE88C 000BB7EC 81 83 00 00 */ lwz r12, 0(r3)
/* 800BE890 000BB7F0 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BE894 000BB7F4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BE898 000BB7F8 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BE89C 000BB7FC 88 75 00 BB */ lbz r3, 0xbb(r21)
/* 800BE8A0 000BB800 3C 00 43 30 */ lis r0, 0x4330
/* 800BE8A4 000BB804 90 01 0B 10 */ stw r0, 0xb10(r1)
/* 800BE8A8 000BB808 EC 55 04 B2 */ fmuls f2, f21, f18
/* 800BE8AC 000BB80C C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BE8B0 000BB810 90 61 0B 14 */ stw r3, 0xb14(r1)
/* 800BE8B4 000BB814 C8 01 0B 10 */ lfd f0, 0xb10(r1)
/* 800BE8B8 000BB818 EC 00 08 28 */ fsubs f0, f0, f1
/* 800BE8BC 000BB81C EE 02 00 32 */ fmuls f16, f2, f0
/* 800BE8C0 000BB820 F2 01 A0 10 */ psq_st f16, 16(r1), 1, qr2
/* 800BE8C4 000BB824 38 61 00 64 */ addi r3, r1, 0x64
/* 800BE8C8 000BB828 80 D5 00 B8 */ lwz r6, 0xb8(r21)
/* 800BE8CC 000BB82C 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BE8D0 000BB830 88 01 00 10 */ lbz r0, 0x10(r1)
/* 800BE8D4 000BB834 38 A1 00 60 */ addi r5, r1, 0x60
/* 800BE8D8 000BB838 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 800BE8DC 000BB83C 90 01 00 60 */ stw r0, 0x60(r1)
/* 800BE8E0 000BB840 48 2A 47 D1 */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BE8E4 000BB844 38 C0 00 03 */ li r6, 3
/* 800BE8E8 000BB848 80 A1 00 64 */ lwz r5, 0x64(r1)
/* 800BE8EC 000BB84C 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d
/* 800BE8F0 000BB850 39 00 00 07 */ li r8, 7
/* 800BE8F4 000BB854 38 E0 00 00 */ li r7, 0
/* 800BE8F8 000BB858 99 01 01 00 */ stb r8, 0x100(r1)
/* 800BE8FC 000BB85C 60 00 00 01 */ ori r0, r0, 1
/* 800BE900 000BB860 7F 03 C3 78 */ mr r3, r24
/* 800BE904 000BB864 98 E1 01 01 */ stb r7, 0x101(r1)
/* 800BE908 000BB868 38 81 01 08 */ addi r4, r1, 0x108
/* 800BE90C 000BB86C B0 C1 01 02 */ sth r6, 0x102(r1)
/* 800BE910 000BB870 90 A1 01 04 */ stw r5, 0x104(r1)
/* 800BE914 000BB874 99 01 01 08 */ stb r8, 0x108(r1)
/* 800BE918 000BB878 98 E1 01 09 */ stb r7, 0x109(r1)
/* 800BE91C 000BB87C B0 01 01 0A */ sth r0, 0x10a(r1)
/* 800BE920 000BB880 90 A1 01 0C */ stw r5, 0x10c(r1)
/* 800BE924 000BB884 48 29 72 B1 */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BE928:
/* 800BE928 000BB888 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800BE92C 000BB88C C0 1F 01 F8 */ lfs f0, 0x1f8(r31)
/* 800BE930 000BB890 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800BE934 000BB894 41 82 02 78 */ beq lbl_800BEBAC
/* 800BE938 000BB898 80 1F 00 6C */ lwz r0, 0x6c(r31)
/* 800BE93C 000BB89C 28 00 00 00 */ cmplwi r0, 0
/* 800BE940 000BB8A0 40 82 00 30 */ bne lbl_800BE970
/* 800BE944 000BB8A4 88 1F 00 68 */ lbz r0, 0x68(r31)
/* 800BE948 000BB8A8 28 00 00 00 */ cmplwi r0, 0
/* 800BE94C 000BB8AC 41 82 00 24 */ beq lbl_800BE970
/* 800BE950 000BB8B0 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 800BE954 000BB8B4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BE958 000BB8B8 28 00 00 00 */ cmplwi r0, 0
/* 800BE95C 000BB8BC 41 82 00 14 */ beq lbl_800BE970
/* 800BE960 000BB8C0 38 7F 00 64 */ addi r3, r31, 0x64
/* 800BE964 000BB8C4 48 28 24 A9 */ bl GetObj__6CTokenFv
/* 800BE968 000BB8C8 80 03 00 04 */ lwz r0, 4(r3)
/* 800BE96C 000BB8CC 90 1F 00 6C */ stw r0, 0x6c(r31)
lbl_800BE970:
/* 800BE970 000BB8D0 83 1F 00 6C */ lwz r24, 0x6c(r31)
/* 800BE974 000BB8D4 28 18 00 00 */ cmplwi r24, 0
/* 800BE978 000BB8D8 41 82 02 34 */ beq lbl_800BEBAC
/* 800BE97C 000BB8DC 80 C1 01 E0 */ lwz r6, 0x1e0(r1)
/* 800BE980 000BB8E0 FC 20 C8 90 */ fmr f1, f25
/* 800BE984 000BB8E4 80 A1 01 E4 */ lwz r5, 0x1e4(r1)
/* 800BE988 000BB8E8 7F A4 EB 78 */ mr r4, r29
/* 800BE98C 000BB8EC 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 800BE990 000BB8F0 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 800BE994 000BB8F4 90 C1 01 A4 */ stw r6, 0x1a4(r1)
/* 800BE998 000BB8F8 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BE99C 000BB8FC 90 A1 01 A8 */ stw r5, 0x1a8(r1)
/* 800BE9A0 000BB900 90 01 01 AC */ stw r0, 0x1ac(r1)
/* 800BE9A4 000BB904 C0 06 01 6C */ lfs f0, 0x16c(r6)
/* 800BE9A8 000BB908 C0 66 01 70 */ lfs f3, 0x170(r6)
/* 800BE9AC 000BB90C EC 57 00 32 */ fmuls f2, f23, f0
/* 800BE9B0 000BB910 4B FF E5 ED */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BE9B4 000BB914 83 8D A1 40 */ lwz r28, gpTweakTargeting@sda21(r13)
/* 800BE9B8 000BB918 38 61 0A 5C */ addi r3, r1, 0xa5c
/* 800BE9BC 000BB91C C0 1F 01 F8 */ lfs f0, 0x1f8(r31)
/* 800BE9C0 000BB920 38 81 06 D8 */ addi r4, r1, 0x6d8
/* 800BE9C4 000BB924 C0 62 8D 64 */ lfs f3, lbl_805AAA84@sda21(r2)
/* 800BE9C8 000BB928 C0 5C 00 C8 */ lfs f2, 0xc8(r28)
/* 800BE9CC 000BB92C FC A0 02 10 */ fabs f5, f0
/* 800BE9D0 000BB930 C0 9F 01 FC */ lfs f4, 0x1fc(r31)
/* 800BE9D4 000BB934 EC E3 00 B2 */ fmuls f7, f3, f2
/* 800BE9D8 000BB938 C0 1C 00 BC */ lfs f0, 0xbc(r28)
/* 800BE9DC 000BB93C FC 40 28 18 */ frsp f2, f5
/* 800BE9E0 000BB940 C0 A2 8D 38 */ lfs f5, lbl_805AAA58@sda21(r2)
/* 800BE9E4 000BB944 C0 7C 00 C0 */ lfs f3, 0xc0(r28)
/* 800BE9E8 000BB948 EC C4 38 28 */ fsubs f6, f4, f7
/* 800BE9EC 000BB94C EC 42 00 24 */ fdivs f2, f2, f0
/* 800BE9F0 000BB950 C0 9C 00 C4 */ lfs f4, 0xc4(r28)
/* 800BE9F4 000BB954 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BE9F8 000BB958 D0 01 06 DC */ stfs f0, 0x6dc(r1)
/* 800BE9FC 000BB95C D0 01 06 E0 */ stfs f0, 0x6e0(r1)
/* 800BEA00 000BB960 D0 01 06 E4 */ stfs f0, 0x6e4(r1)
/* 800BEA04 000BB964 EC C6 38 24 */ fdivs f6, f6, f7
/* 800BEA08 000BB968 D0 01 06 EC */ stfs f0, 0x6ec(r1)
/* 800BEA0C 000BB96C D0 01 06 F0 */ stfs f0, 0x6f0(r1)
/* 800BEA10 000BB970 D0 01 06 F4 */ stfs f0, 0x6f4(r1)
/* 800BEA14 000BB974 FC C0 32 10 */ fabs f6, f6
/* 800BEA18 000BB978 EC 02 00 72 */ fmuls f0, f2, f1
/* 800BEA1C 000BB97C FC 20 30 18 */ frsp f1, f6
/* 800BEA20 000BB980 EC 45 08 28 */ fsubs f2, f5, f1
/* 800BEA24 000BB984 EC 21 00 F2 */ fmuls f1, f1, f3
/* 800BEA28 000BB988 EC 22 09 3A */ fmadds f1, f2, f4, f1
/* 800BEA2C 000BB98C EC 01 00 32 */ fmuls f0, f1, f0
/* 800BEA30 000BB990 EC 00 C0 24 */ fdivs f0, f0, f24
/* 800BEA34 000BB994 D0 01 06 D8 */ stfs f0, 0x6d8(r1)
/* 800BEA38 000BB998 D0 01 06 E8 */ stfs f0, 0x6e8(r1)
/* 800BEA3C 000BB99C D0 01 06 F8 */ stfs f0, 0x6f8(r1)
/* 800BEA40 000BB9A0 48 25 15 E5 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BEA44 000BB9A4 ED F5 04 B2 */ fmuls f15, f21, f18
/* 800BEA48 000BB9A8 C2 62 8D 30 */ lfs f19, lbl_805AAA50@sda21(r2)
/* 800BEA4C 000BB9AC C2 82 8D 38 */ lfs f20, lbl_805AAA58@sda21(r2)
/* 800BEA50 000BB9B0 3B 20 00 00 */ li r25, 0
/* 800BEA54 000BB9B4 CA 02 8D 48 */ lfd f16, lbl_805AAA68@sda21(r2)
/* 800BEA58 000BB9B8 3F 40 43 30 */ lis r26, 0x4330
lbl_800BEA5C:
/* 800BEA5C 000BB9BC 2C 19 00 02 */ cmpwi r25, 2
/* 800BEA60 000BB9C0 40 80 00 0C */ bge lbl_800BEA6C
/* 800BEA64 000BB9C4 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2)
/* 800BEA68 000BB9C8 48 00 00 08 */ b lbl_800BEA70
lbl_800BEA6C:
/* 800BEA6C 000BB9CC C0 02 8D 7C */ lfs f0, lbl_805AAA9C@sda21(r2)
lbl_800BEA70:
/* 800BEA70 000BB9D0 57 20 07 FF */ clrlwi. r0, r25, 0x1f
/* 800BEA74 000BB9D4 41 82 00 0C */ beq lbl_800BEA80
/* 800BEA78 000BB9D8 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800BEA7C 000BB9DC 48 00 00 08 */ b lbl_800BEA84
lbl_800BEA80:
/* 800BEA80 000BB9E0 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2)
lbl_800BEA84:
/* 800BEA84 000BB9E4 D0 01 06 48 */ stfs f0, 0x648(r1)
/* 800BEA88 000BB9E8 7F C5 F3 78 */ mr r5, r30
/* 800BEA8C 000BB9EC 38 61 06 6C */ addi r3, r1, 0x66c
/* 800BEA90 000BB9F0 38 81 0A EC */ addi r4, r1, 0xaec
/* 800BEA94 000BB9F4 D2 61 06 4C */ stfs f19, 0x64c(r1)
/* 800BEA98 000BB9F8 D2 61 06 50 */ stfs f19, 0x650(r1)
/* 800BEA9C 000BB9FC D2 61 06 54 */ stfs f19, 0x654(r1)
/* 800BEAA0 000BBA00 D2 81 06 58 */ stfs f20, 0x658(r1)
/* 800BEAA4 000BBA04 D2 61 06 5C */ stfs f19, 0x65c(r1)
/* 800BEAA8 000BBA08 D2 61 06 60 */ stfs f19, 0x660(r1)
/* 800BEAAC 000BBA0C D2 61 06 64 */ stfs f19, 0x664(r1)
/* 800BEAB0 000BBA10 D0 21 06 68 */ stfs f1, 0x668(r1)
/* 800BEAB4 000BBA14 48 25 16 7D */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BEAB8 000BBA18 38 61 06 90 */ addi r3, r1, 0x690
/* 800BEABC 000BBA1C 38 81 06 6C */ addi r4, r1, 0x66c
/* 800BEAC0 000BBA20 38 A1 06 48 */ addi r5, r1, 0x648
/* 800BEAC4 000BBA24 48 25 16 6D */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BEAC8 000BBA28 38 61 06 B4 */ addi r3, r1, 0x6b4
/* 800BEACC 000BBA2C 38 81 06 90 */ addi r4, r1, 0x690
/* 800BEAD0 000BBA30 38 A1 0A 5C */ addi r5, r1, 0xa5c
/* 800BEAD4 000BBA34 48 25 16 5D */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BEAD8 000BBA38 38 61 0A 38 */ addi r3, r1, 0xa38
/* 800BEADC 000BBA3C 38 81 06 B4 */ addi r4, r1, 0x6b4
/* 800BEAE0 000BBA40 48 25 15 45 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BEAE4 000BBA44 C0 5F 01 14 */ lfs f2, 0x114(r31)
/* 800BEAE8 000BBA48 38 61 06 18 */ addi r3, r1, 0x618
/* 800BEAEC 000BBA4C C0 3F 01 18 */ lfs f1, 0x118(r31)
/* 800BEAF0 000BBA50 38 81 0A 38 */ addi r4, r1, 0xa38
/* 800BEAF4 000BBA54 C0 1F 01 1C */ lfs f0, 0x11c(r31)
/* 800BEAF8 000BBA58 38 A1 01 98 */ addi r5, r1, 0x198
/* 800BEAFC 000BBA5C D0 41 01 98 */ stfs f2, 0x198(r1)
/* 800BEB00 000BBA60 D0 21 01 9C */ stfs f1, 0x19c(r1)
/* 800BEB04 000BBA64 D0 01 01 A0 */ stfs f0, 0x1a0(r1)
/* 800BEB08 000BBA68 48 25 47 71 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BEB0C 000BBA6C 7C 64 1B 78 */ mr r4, r3
/* 800BEB10 000BBA70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BEB14 000BBA74 81 83 00 00 */ lwz r12, 0(r3)
/* 800BEB18 000BBA78 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BEB1C 000BBA7C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BEB20 000BBA80 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BEB24 000BBA84 88 1C 00 CF */ lbz r0, 0xcf(r28)
/* 800BEB28 000BBA88 93 41 0B 10 */ stw r26, 0xb10(r1)
/* 800BEB2C 000BBA8C 90 01 0B 14 */ stw r0, 0xb14(r1)
/* 800BEB30 000BBA90 C8 01 0B 10 */ lfd f0, 0xb10(r1)
/* 800BEB34 000BBA94 EC 00 80 28 */ fsubs f0, f0, f16
/* 800BEB38 000BBA98 EF EF 00 32 */ fmuls f31, f15, f0
/* 800BEB3C 000BBA9C F3 E1 A0 0F */ psq_st f31, 15(r1), 1, qr2
/* 800BEB40 000BBAA0 38 61 00 5C */ addi r3, r1, 0x5c
/* 800BEB44 000BBAA4 80 DC 00 CC */ lwz r6, 0xcc(r28)
/* 800BEB48 000BBAA8 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BEB4C 000BBAAC 88 01 00 0F */ lbz r0, 0xf(r1)
/* 800BEB50 000BBAB0 38 A1 00 58 */ addi r5, r1, 0x58
/* 800BEB54 000BBAB4 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 800BEB58 000BBAB8 90 01 00 58 */ stw r0, 0x58(r1)
/* 800BEB5C 000BBABC 48 2A 45 55 */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BEB60 000BBAC0 38 C0 00 03 */ li r6, 3
/* 800BEB64 000BBAC4 80 A1 00 5C */ lwz r5, 0x5c(r1)
/* 800BEB68 000BBAC8 39 00 00 07 */ li r8, 7
/* 800BEB6C 000BBACC 38 E0 00 00 */ li r7, 0
/* 800BEB70 000BBAD0 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d
/* 800BEB74 000BBAD4 99 01 00 F0 */ stb r8, 0xf0(r1)
/* 800BEB78 000BBAD8 7F 03 C3 78 */ mr r3, r24
/* 800BEB7C 000BBADC 38 81 00 F8 */ addi r4, r1, 0xf8
/* 800BEB80 000BBAE0 98 E1 00 F1 */ stb r7, 0xf1(r1)
/* 800BEB84 000BBAE4 B0 C1 00 F2 */ sth r6, 0xf2(r1)
/* 800BEB88 000BBAE8 90 A1 00 F4 */ stw r5, 0xf4(r1)
/* 800BEB8C 000BBAEC 99 01 00 F8 */ stb r8, 0xf8(r1)
/* 800BEB90 000BBAF0 98 E1 00 F9 */ stb r7, 0xf9(r1)
/* 800BEB94 000BBAF4 B0 01 00 FA */ sth r0, 0xfa(r1)
/* 800BEB98 000BBAF8 90 A1 00 FC */ stw r5, 0xfc(r1)
/* 800BEB9C 000BBAFC 48 29 70 39 */ bl Draw__6CModelCFRC11CModelFlags
/* 800BEBA0 000BBB00 3B 39 00 01 */ addi r25, r25, 1
/* 800BEBA4 000BBB04 2C 19 00 04 */ cmpwi r25, 4
/* 800BEBA8 000BBB08 41 80 FE B4 */ blt lbl_800BEA5C
lbl_800BEBAC:
/* 800BEBAC 000BBB0C 80 C1 01 E0 */ lwz r6, 0x1e0(r1)
/* 800BEBB0 000BBB10 FC 20 C8 90 */ fmr f1, f25
/* 800BEBB4 000BBB14 80 A1 01 E4 */ lwz r5, 0x1e4(r1)
/* 800BEBB8 000BBB18 7F A4 EB 78 */ mr r4, r29
/* 800BEBBC 000BBB1C 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 800BEBC0 000BBB20 38 61 01 8C */ addi r3, r1, 0x18c
/* 800BEBC4 000BBB24 90 C1 01 8C */ stw r6, 0x18c(r1)
/* 800BEBC8 000BBB28 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BEBCC 000BBB2C 90 A1 01 90 */ stw r5, 0x190(r1)
/* 800BEBD0 000BBB30 90 01 01 94 */ stw r0, 0x194(r1)
/* 800BEBD4 000BBB34 C0 06 01 7C */ lfs f0, 0x17c(r6)
/* 800BEBD8 000BBB38 C0 66 01 80 */ lfs f3, 0x180(r6)
/* 800BEBDC 000BBB3C EC 57 00 32 */ fmuls f2, f23, f0
/* 800BEBE0 000BBB40 4B FF E3 BD */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BEBE4 000BBB44 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2)
/* 800BEBE8 000BBB48 7F C4 F3 78 */ mr r4, r30
/* 800BEBEC 000BBB4C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13)
/* 800BEBF0 000BBB50 38 61 05 F4 */ addi r3, r1, 0x5f4
/* 800BEBF4 000BBB54 EC 40 C0 24 */ fdivs f2, f0, f24
/* 800BEBF8 000BBB58 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BEBFC 000BBB5C C0 65 00 F0 */ lfs f3, 0xf0(r5)
/* 800BEC00 000BBB60 38 A1 05 D0 */ addi r5, r1, 0x5d0
/* 800BEC04 000BBB64 D0 01 05 D4 */ stfs f0, 0x5d4(r1)
/* 800BEC08 000BBB68 D0 01 05 D8 */ stfs f0, 0x5d8(r1)
/* 800BEC0C 000BBB6C EC 22 00 72 */ fmuls f1, f2, f1
/* 800BEC10 000BBB70 D0 01 05 DC */ stfs f0, 0x5dc(r1)
/* 800BEC14 000BBB74 D0 01 05 E4 */ stfs f0, 0x5e4(r1)
/* 800BEC18 000BBB78 EC 23 00 72 */ fmuls f1, f3, f1
/* 800BEC1C 000BBB7C D0 01 05 E8 */ stfs f0, 0x5e8(r1)
/* 800BEC20 000BBB80 D0 21 05 D0 */ stfs f1, 0x5d0(r1)
/* 800BEC24 000BBB84 D0 21 05 E0 */ stfs f1, 0x5e0(r1)
/* 800BEC28 000BBB88 D0 01 05 EC */ stfs f0, 0x5ec(r1)
/* 800BEC2C 000BBB8C D0 21 05 F0 */ stfs f1, 0x5f0(r1)
/* 800BEC30 000BBB90 48 25 15 01 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BEC34 000BBB94 38 61 0A 14 */ addi r3, r1, 0xa14
/* 800BEC38 000BBB98 38 81 05 F4 */ addi r4, r1, 0x5f4
/* 800BEC3C 000BBB9C 48 25 13 E9 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BEC40 000BBBA0 ED F5 04 B2 */ fmuls f15, f21, f18
/* 800BEC44 000BBBA4 83 8D A1 40 */ lwz r28, gpTweakTargeting@sda21(r13)
/* 800BEC48 000BBBA8 3B 00 00 00 */ li r24, 0
/* 800BEC4C 000BBBAC 3B 60 00 00 */ li r27, 0
lbl_800BEC50:
/* 800BEC50 000BBBB0 80 1F 00 EC */ lwz r0, 0xec(r31)
/* 800BEC54 000BBBB4 7E A0 DA 14 */ add r21, r0, r27
/* 800BEC58 000BBBB8 80 15 00 08 */ lwz r0, 8(r21)
/* 800BEC5C 000BBBBC 28 00 00 00 */ cmplwi r0, 0
/* 800BEC60 000BBBC0 40 82 00 30 */ bne lbl_800BEC90
/* 800BEC64 000BBBC4 88 15 00 04 */ lbz r0, 4(r21)
/* 800BEC68 000BBBC8 28 00 00 00 */ cmplwi r0, 0
/* 800BEC6C 000BBBCC 41 82 00 24 */ beq lbl_800BEC90
/* 800BEC70 000BBBD0 80 75 00 00 */ lwz r3, 0(r21)
/* 800BEC74 000BBBD4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BEC78 000BBBD8 28 00 00 00 */ cmplwi r0, 0
/* 800BEC7C 000BBBDC 41 82 00 14 */ beq lbl_800BEC90
/* 800BEC80 000BBBE0 7E A3 AB 78 */ mr r3, r21
/* 800BEC84 000BBBE4 48 28 21 89 */ bl GetObj__6CTokenFv
/* 800BEC88 000BBBE8 80 03 00 04 */ lwz r0, 4(r3)
/* 800BEC8C 000BBBEC 90 15 00 08 */ stw r0, 8(r21)
lbl_800BEC90:
/* 800BEC90 000BBBF0 83 35 00 08 */ lwz r25, 8(r21)
/* 800BEC94 000BBBF4 28 19 00 00 */ cmplwi r25, 0
/* 800BEC98 000BBBF8 41 82 01 08 */ beq lbl_800BEDA0
/* 800BEC9C 000BBBFC C0 15 00 10 */ lfs f0, 0x10(r21)
/* 800BECA0 000BBC00 38 61 05 88 */ addi r3, r1, 0x588
/* 800BECA4 000BBC04 38 81 00 88 */ addi r4, r1, 0x88
/* 800BECA8 000BBC08 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 800BECAC 000BBC0C 48 25 17 E9 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800BECB0 000BBC10 38 61 05 AC */ addi r3, r1, 0x5ac
/* 800BECB4 000BBC14 38 81 0A 14 */ addi r4, r1, 0xa14
/* 800BECB8 000BBC18 38 A1 05 88 */ addi r5, r1, 0x588
/* 800BECBC 000BBC1C 48 25 14 75 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BECC0 000BBC20 38 61 09 F0 */ addi r3, r1, 0x9f0
/* 800BECC4 000BBC24 38 81 05 AC */ addi r4, r1, 0x5ac
/* 800BECC8 000BBC28 48 25 13 5D */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BECCC 000BBC2C C0 5F 01 14 */ lfs f2, 0x114(r31)
/* 800BECD0 000BBC30 38 61 05 34 */ addi r3, r1, 0x534
/* 800BECD4 000BBC34 C0 3F 01 18 */ lfs f1, 0x118(r31)
/* 800BECD8 000BBC38 38 81 0A EC */ addi r4, r1, 0xaec
/* 800BECDC 000BBC3C C0 1F 01 1C */ lfs f0, 0x11c(r31)
/* 800BECE0 000BBC40 38 A1 09 F0 */ addi r5, r1, 0x9f0
/* 800BECE4 000BBC44 D0 41 01 80 */ stfs f2, 0x180(r1)
/* 800BECE8 000BBC48 D0 21 01 84 */ stfs f1, 0x184(r1)
/* 800BECEC 000BBC4C D0 01 01 88 */ stfs f0, 0x188(r1)
/* 800BECF0 000BBC50 48 25 14 41 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BECF4 000BBC54 38 61 05 58 */ addi r3, r1, 0x558
/* 800BECF8 000BBC58 38 81 05 34 */ addi r4, r1, 0x534
/* 800BECFC 000BBC5C 38 A1 01 80 */ addi r5, r1, 0x180
/* 800BED00 000BBC60 48 25 45 79 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BED04 000BBC64 7C 64 1B 78 */ mr r4, r3
/* 800BED08 000BBC68 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BED0C 000BBC6C 81 83 00 00 */ lwz r12, 0(r3)
/* 800BED10 000BBC70 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BED14 000BBC74 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BED18 000BBC78 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BED1C 000BBC7C 88 7C 00 F7 */ lbz r3, 0xf7(r28)
/* 800BED20 000BBC80 3C 00 43 30 */ lis r0, 0x4330
/* 800BED24 000BBC84 90 01 0B 10 */ stw r0, 0xb10(r1)
/* 800BED28 000BBC88 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BED2C 000BBC8C 90 61 0B 14 */ stw r3, 0xb14(r1)
/* 800BED30 000BBC90 C8 01 0B 10 */ lfd f0, 0xb10(r1)
/* 800BED34 000BBC94 EC 00 08 28 */ fsubs f0, f0, f1
/* 800BED38 000BBC98 EF CF 00 32 */ fmuls f30, f15, f0
/* 800BED3C 000BBC9C F3 C1 A0 0E */ psq_st f30, 14(r1), 1, qr2
/* 800BED40 000BBCA0 38 61 00 54 */ addi r3, r1, 0x54
/* 800BED44 000BBCA4 80 DC 00 F4 */ lwz r6, 0xf4(r28)
/* 800BED48 000BBCA8 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BED4C 000BBCAC 88 01 00 0E */ lbz r0, 0xe(r1)
/* 800BED50 000BBCB0 38 A1 00 50 */ addi r5, r1, 0x50
/* 800BED54 000BBCB4 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 800BED58 000BBCB8 90 01 00 50 */ stw r0, 0x50(r1)
/* 800BED5C 000BBCBC 48 2A 43 55 */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BED60 000BBCC0 38 C0 00 03 */ li r6, 3
/* 800BED64 000BBCC4 80 A1 00 54 */ lwz r5, 0x54(r1)
/* 800BED68 000BBCC8 39 00 00 07 */ li r8, 7
/* 800BED6C 000BBCCC 38 E0 00 00 */ li r7, 0
/* 800BED70 000BBCD0 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d
/* 800BED74 000BBCD4 99 01 00 E0 */ stb r8, 0xe0(r1)
/* 800BED78 000BBCD8 7F 23 CB 78 */ mr r3, r25
/* 800BED7C 000BBCDC 38 81 00 E8 */ addi r4, r1, 0xe8
/* 800BED80 000BBCE0 98 E1 00 E1 */ stb r7, 0xe1(r1)
/* 800BED84 000BBCE4 B0 C1 00 E2 */ sth r6, 0xe2(r1)
/* 800BED88 000BBCE8 90 A1 00 E4 */ stw r5, 0xe4(r1)
/* 800BED8C 000BBCEC 99 01 00 E8 */ stb r8, 0xe8(r1)
/* 800BED90 000BBCF0 98 E1 00 E9 */ stb r7, 0xe9(r1)
/* 800BED94 000BBCF4 B0 01 00 EA */ sth r0, 0xea(r1)
/* 800BED98 000BBCF8 90 A1 00 EC */ stw r5, 0xec(r1)
/* 800BED9C 000BBCFC 48 29 6E 39 */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BEDA0:
/* 800BEDA0 000BBD00 3B 18 00 01 */ addi r24, r24, 1
/* 800BEDA4 000BBD04 3B 7B 00 1C */ addi r27, r27, 0x1c
/* 800BEDA8 000BBD08 2C 18 00 09 */ cmpwi r24, 9
/* 800BEDAC 000BBD0C 41 80 FE A4 */ blt lbl_800BEC50
/* 800BEDB0 000BBD10 80 1F 00 CC */ lwz r0, 0xcc(r31)
/* 800BEDB4 000BBD14 28 00 00 00 */ cmplwi r0, 0
/* 800BEDB8 000BBD18 40 82 00 30 */ bne lbl_800BEDE8
/* 800BEDBC 000BBD1C 88 1F 00 C8 */ lbz r0, 0xc8(r31)
/* 800BEDC0 000BBD20 28 00 00 00 */ cmplwi r0, 0
/* 800BEDC4 000BBD24 41 82 00 24 */ beq lbl_800BEDE8
/* 800BEDC8 000BBD28 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 800BEDCC 000BBD2C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BEDD0 000BBD30 28 00 00 00 */ cmplwi r0, 0
/* 800BEDD4 000BBD34 41 82 00 14 */ beq lbl_800BEDE8
/* 800BEDD8 000BBD38 38 7F 00 C4 */ addi r3, r31, 0xc4
/* 800BEDDC 000BBD3C 48 28 20 31 */ bl GetObj__6CTokenFv
/* 800BEDE0 000BBD40 80 03 00 04 */ lwz r0, 4(r3)
/* 800BEDE4 000BBD44 90 1F 00 CC */ stw r0, 0xcc(r31)
lbl_800BEDE8:
/* 800BEDE8 000BBD48 83 1F 00 CC */ lwz r24, 0xcc(r31)
/* 800BEDEC 000BBD4C 28 18 00 00 */ cmplwi r24, 0
/* 800BEDF0 000BBD50 41 82 03 6C */ beq lbl_800BF15C
/* 800BEDF4 000BBD54 80 C1 01 E0 */ lwz r6, 0x1e0(r1)
/* 800BEDF8 000BBD58 FC 20 C8 90 */ fmr f1, f25
/* 800BEDFC 000BBD5C 80 A1 01 E4 */ lwz r5, 0x1e4(r1)
/* 800BEE00 000BBD60 7F A4 EB 78 */ mr r4, r29
/* 800BEE04 000BBD64 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 800BEE08 000BBD68 38 61 01 74 */ addi r3, r1, 0x174
/* 800BEE0C 000BBD6C 90 C1 01 74 */ stw r6, 0x174(r1)
/* 800BEE10 000BBD70 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BEE14 000BBD74 90 A1 01 78 */ stw r5, 0x178(r1)
/* 800BEE18 000BBD78 90 01 01 7C */ stw r0, 0x17c(r1)
/* 800BEE1C 000BBD7C C0 06 01 7C */ lfs f0, 0x17c(r6)
/* 800BEE20 000BBD80 C0 66 01 80 */ lfs f3, 0x180(r6)
/* 800BEE24 000BBD84 EC 57 00 32 */ fmuls f2, f23, f0
/* 800BEE28 000BBD88 4B FF E1 75 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BEE2C 000BBD8C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13)
/* 800BEE30 000BBD90 7F C4 F3 78 */ mr r4, r30
/* 800BEE34 000BBD94 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BEE38 000BBD98 38 61 05 10 */ addi r3, r1, 0x510
/* 800BEE3C 000BBD9C C0 45 01 18 */ lfs f2, 0x118(r5)
/* 800BEE40 000BBDA0 38 A1 04 EC */ addi r5, r1, 0x4ec
/* 800BEE44 000BBDA4 EC 21 00 B2 */ fmuls f1, f1, f2
/* 800BEE48 000BBDA8 D0 01 04 F0 */ stfs f0, 0x4f0(r1)
/* 800BEE4C 000BBDAC D0 01 04 F4 */ stfs f0, 0x4f4(r1)
/* 800BEE50 000BBDB0 EC 21 C0 24 */ fdivs f1, f1, f24
/* 800BEE54 000BBDB4 D0 01 04 F8 */ stfs f0, 0x4f8(r1)
/* 800BEE58 000BBDB8 D0 01 05 00 */ stfs f0, 0x500(r1)
/* 800BEE5C 000BBDBC D0 01 05 04 */ stfs f0, 0x504(r1)
/* 800BEE60 000BBDC0 D0 01 05 08 */ stfs f0, 0x508(r1)
/* 800BEE64 000BBDC4 D0 21 04 EC */ stfs f1, 0x4ec(r1)
/* 800BEE68 000BBDC8 D0 21 04 FC */ stfs f1, 0x4fc(r1)
/* 800BEE6C 000BBDCC D0 21 05 0C */ stfs f1, 0x50c(r1)
/* 800BEE70 000BBDD0 48 25 12 C1 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BEE74 000BBDD4 38 61 09 CC */ addi r3, r1, 0x9cc
/* 800BEE78 000BBDD8 38 81 05 10 */ addi r4, r1, 0x510
/* 800BEE7C 000BBDDC 48 25 11 A9 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BEE80 000BBDE0 C0 1F 00 D4 */ lfs f0, 0xd4(r31)
/* 800BEE84 000BBDE4 38 61 04 A4 */ addi r3, r1, 0x4a4
/* 800BEE88 000BBDE8 38 81 00 84 */ addi r4, r1, 0x84
/* 800BEE8C 000BBDEC D0 01 00 84 */ stfs f0, 0x84(r1)
/* 800BEE90 000BBDF0 48 25 16 05 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800BEE94 000BBDF4 38 61 04 C8 */ addi r3, r1, 0x4c8
/* 800BEE98 000BBDF8 38 81 09 CC */ addi r4, r1, 0x9cc
/* 800BEE9C 000BBDFC 38 A1 04 A4 */ addi r5, r1, 0x4a4
/* 800BEEA0 000BBE00 48 25 12 91 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BEEA4 000BBE04 38 61 09 A8 */ addi r3, r1, 0x9a8
/* 800BEEA8 000BBE08 38 81 04 C8 */ addi r4, r1, 0x4c8
/* 800BEEAC 000BBE0C 48 25 11 79 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BEEB0 000BBE10 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BEEB4 000BBE14 C0 3F 02 14 */ lfs f1, 0x214(r31)
/* 800BEEB8 000BBE18 C0 03 01 B8 */ lfs f0, 0x1b8(r3)
/* 800BEEBC 000BBE1C C2 23 01 D0 */ lfs f17, 0x1d0(r3)
/* 800BEEC0 000BBE20 EE 01 00 24 */ fdivs f16, f1, f0
/* 800BEEC4 000BBE24 48 24 B0 1D */ bl GetSecondsMod900__9CGraphicsFv
/* 800BEEC8 000BBE28 FC 40 88 90 */ fmr f2, f17
/* 800BEECC 000BBE2C 48 2D 5D E1 */ bl fmod
/* 800BEED0 000BBE30 FC 20 08 18 */ frsp f1, f1
/* 800BEED4 000BBE34 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2)
/* 800BEED8 000BBE38 EC 40 04 72 */ fmuls f2, f0, f17
/* 800BEEDC 000BBE3C FC 00 0A 10 */ fabs f0, f1
/* 800BEEE0 000BBE40 FC 00 00 18 */ frsp f0, f0
/* 800BEEE4 000BBE44 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 800BEEE8 000BBE48 40 80 00 0C */ bge lbl_800BEEF4
/* 800BEEEC 000BBE4C EC 20 10 24 */ fdivs f1, f0, f2
/* 800BEEF0 000BBE50 48 00 00 0C */ b lbl_800BEEFC
lbl_800BEEF4:
/* 800BEEF4 000BBE54 EC 11 00 28 */ fsubs f0, f17, f0
/* 800BEEF8 000BBE58 EC 20 10 24 */ fdivs f1, f0, f2
lbl_800BEEFC:
/* 800BEEFC 000BBE5C 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13)
/* 800BEF00 000BBE60 38 61 00 4C */ addi r3, r1, 0x4c
/* 800BEF04 000BBE64 38 85 01 B4 */ addi r4, r5, 0x1b4
/* 800BEF08 000BBE68 38 A5 01 CC */ addi r5, r5, 0x1cc
/* 800BEF0C 000BBE6C 48 2A 43 A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 800BEF10 000BBE70 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 800BEF14 000BBE74 FC 20 80 90 */ fmr f1, f16
/* 800BEF18 000BBE78 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13)
/* 800BEF1C 000BBE7C 38 61 00 48 */ addi r3, r1, 0x48
/* 800BEF20 000BBE80 90 01 00 80 */ stw r0, 0x80(r1)
/* 800BEF24 000BBE84 38 A1 00 80 */ addi r5, r1, 0x80
/* 800BEF28 000BBE88 38 84 01 1C */ addi r4, r4, 0x11c
/* 800BEF2C 000BBE8C 48 2A 43 81 */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 800BEF30 000BBE90 80 01 00 48 */ lwz r0, 0x48(r1)
/* 800BEF34 000BBE94 38 61 04 50 */ addi r3, r1, 0x450
/* 800BEF38 000BBE98 C0 5F 01 14 */ lfs f2, 0x114(r31)
/* 800BEF3C 000BBE9C 38 81 0A EC */ addi r4, r1, 0xaec
/* 800BEF40 000BBEA0 C0 3F 01 18 */ lfs f1, 0x118(r31)
/* 800BEF44 000BBEA4 38 A1 09 A8 */ addi r5, r1, 0x9a8
/* 800BEF48 000BBEA8 C0 1F 01 1C */ lfs f0, 0x11c(r31)
/* 800BEF4C 000BBEAC 90 01 00 7C */ stw r0, 0x7c(r1)
/* 800BEF50 000BBEB0 D0 41 01 68 */ stfs f2, 0x168(r1)
/* 800BEF54 000BBEB4 D0 21 01 6C */ stfs f1, 0x16c(r1)
/* 800BEF58 000BBEB8 D0 01 01 70 */ stfs f0, 0x170(r1)
/* 800BEF5C 000BBEBC 48 25 11 D5 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BEF60 000BBEC0 38 61 04 74 */ addi r3, r1, 0x474
/* 800BEF64 000BBEC4 38 81 04 50 */ addi r4, r1, 0x450
/* 800BEF68 000BBEC8 38 A1 01 68 */ addi r5, r1, 0x168
/* 800BEF6C 000BBECC 48 25 43 0D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BEF70 000BBED0 7C 64 1B 78 */ mr r4, r3
/* 800BEF74 000BBED4 38 61 09 78 */ addi r3, r1, 0x978
/* 800BEF78 000BBED8 48 25 3B FD */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800BEF7C 000BBEDC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BEF80 000BBEE0 38 81 09 78 */ addi r4, r1, 0x978
/* 800BEF84 000BBEE4 81 83 00 00 */ lwz r12, 0(r3)
/* 800BEF88 000BBEE8 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BEF8C 000BBEEC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BEF90 000BBEF0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BEF94 000BBEF4 88 61 00 7F */ lbz r3, 0x7f(r1)
/* 800BEF98 000BBEF8 3C 00 43 30 */ lis r0, 0x4330
/* 800BEF9C 000BBEFC 90 01 0B 10 */ stw r0, 0xb10(r1)
/* 800BEFA0 000BBF00 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BEFA4 000BBF04 90 61 0B 14 */ stw r3, 0xb14(r1)
/* 800BEFA8 000BBF08 C8 01 0B 10 */ lfd f0, 0xb10(r1)
/* 800BEFAC 000BBF0C EC 00 08 28 */ fsubs f0, f0, f1
/* 800BEFB0 000BBF10 EE CF 00 32 */ fmuls f22, f15, f0
/* 800BEFB4 000BBF14 FF A0 B0 90 */ fmr f29, f22
/* 800BEFB8 000BBF18 F3 A1 A0 0D */ psq_st f29, 13(r1), 1, qr2
/* 800BEFBC 000BBF1C 38 61 00 44 */ addi r3, r1, 0x44
/* 800BEFC0 000BBF20 80 C1 00 7C */ lwz r6, 0x7c(r1)
/* 800BEFC4 000BBF24 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BEFC8 000BBF28 88 01 00 0D */ lbz r0, 0xd(r1)
/* 800BEFCC 000BBF2C 38 A1 00 40 */ addi r5, r1, 0x40
/* 800BEFD0 000BBF30 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 800BEFD4 000BBF34 54 DB 00 2E */ rlwinm r27, r6, 0, 0, 0x17
/* 800BEFD8 000BBF38 90 01 00 40 */ stw r0, 0x40(r1)
/* 800BEFDC 000BBF3C 48 2A 40 D5 */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BEFE0 000BBF40 38 C0 00 03 */ li r6, 3
/* 800BEFE4 000BBF44 80 A1 00 44 */ lwz r5, 0x44(r1)
/* 800BEFE8 000BBF48 39 00 00 07 */ li r8, 7
/* 800BEFEC 000BBF4C 38 E0 00 00 */ li r7, 0
/* 800BEFF0 000BBF50 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d
/* 800BEFF4 000BBF54 99 01 00 D0 */ stb r8, 0xd0(r1)
/* 800BEFF8 000BBF58 7F 03 C3 78 */ mr r3, r24
/* 800BEFFC 000BBF5C 38 81 00 D8 */ addi r4, r1, 0xd8
/* 800BF000 000BBF60 98 E1 00 D1 */ stb r7, 0xd1(r1)
/* 800BF004 000BBF64 B0 C1 00 D2 */ sth r6, 0xd2(r1)
/* 800BF008 000BBF68 90 A1 00 D4 */ stw r5, 0xd4(r1)
/* 800BF00C 000BBF6C 99 01 00 D8 */ stb r8, 0xd8(r1)
/* 800BF010 000BBF70 98 E1 00 D9 */ stb r7, 0xd9(r1)
/* 800BF014 000BBF74 B0 01 00 DA */ sth r0, 0xda(r1)
/* 800BF018 000BBF78 90 A1 00 DC */ stw r5, 0xdc(r1)
/* 800BF01C 000BBF7C 48 29 6B B9 */ bl Draw__6CModelCFRC11CModelFlags
/* 800BF020 000BBF80 80 1F 00 A8 */ lwz r0, 0xa8(r31)
/* 800BF024 000BBF84 28 00 00 00 */ cmplwi r0, 0
/* 800BF028 000BBF88 40 82 00 30 */ bne lbl_800BF058
/* 800BF02C 000BBF8C 88 1F 00 A4 */ lbz r0, 0xa4(r31)
/* 800BF030 000BBF90 28 00 00 00 */ cmplwi r0, 0
/* 800BF034 000BBF94 41 82 00 24 */ beq lbl_800BF058
/* 800BF038 000BBF98 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 800BF03C 000BBF9C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BF040 000BBFA0 28 00 00 00 */ cmplwi r0, 0
/* 800BF044 000BBFA4 41 82 00 14 */ beq lbl_800BF058
/* 800BF048 000BBFA8 38 7F 00 A0 */ addi r3, r31, 0xa0
/* 800BF04C 000BBFAC 48 28 1D C1 */ bl GetObj__6CTokenFv
/* 800BF050 000BBFB0 80 03 00 04 */ lwz r0, 4(r3)
/* 800BF054 000BBFB4 90 1F 00 A8 */ stw r0, 0xa8(r31)
lbl_800BF058:
/* 800BF058 000BBFB8 83 1F 00 A8 */ lwz r24, 0xa8(r31)
/* 800BF05C 000BBFBC 28 18 00 00 */ cmplwi r24, 0
/* 800BF060 000BBFC0 41 82 00 FC */ beq lbl_800BF15C
/* 800BF064 000BBFC4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF068 000BBFC8 3C 00 43 30 */ lis r0, 0x4330
/* 800BF06C 000BBFCC 80 9D 08 4C */ lwz r4, 0x84c(r29)
/* 800BF070 000BBFD0 80 63 01 20 */ lwz r3, 0x120(r3)
/* 800BF074 000BBFD4 80 84 04 90 */ lwz r4, 0x490(r4)
/* 800BF078 000BBFD8 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 800BF07C 000BBFDC 90 01 0B 10 */ stw r0, 0xb10(r1)
/* 800BF080 000BBFE0 88 04 08 34 */ lbz r0, 0x834(r4)
/* 800BF084 000BBFE4 90 61 0B 14 */ stw r3, 0xb14(r1)
/* 800BF088 000BBFE8 C8 22 8D 40 */ lfd f1, lbl_805AAA60@sda21(r2)
/* 800BF08C 000BBFEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800BF090 000BBFF0 C8 01 0B 10 */ lfd f0, 0xb10(r1)
/* 800BF094 000BBFF4 EC 20 08 28 */ fsubs f1, f0, f1
/* 800BF098 000BBFF8 41 82 00 0C */ beq lbl_800BF0A4
/* 800BF09C 000BBFFC C0 04 03 40 */ lfs f0, 0x340(r4)
/* 800BF0A0 000BC000 48 00 00 08 */ b lbl_800BF0A8
lbl_800BF0A4:
/* 800BF0A4 000BC004 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
lbl_800BF0A8:
/* 800BF0A8 000BC008 EC 01 00 32 */ fmuls f0, f1, f0
/* 800BF0AC 000BC00C 3A C0 00 00 */ li r22, 0
/* 800BF0B0 000BC010 FC 00 00 1E */ fctiwz f0, f0
/* 800BF0B4 000BC014 D8 01 0B 18 */ stfd f0, 0xb18(r1)
/* 800BF0B8 000BC018 82 A1 0B 1C */ lwz r21, 0xb1c(r1)
/* 800BF0BC 000BC01C 48 00 00 98 */ b lbl_800BF154
lbl_800BF0C0:
/* 800BF0C0 000BC020 F2 C1 A0 0C */ psq_st f22, 12(r1), 1, qr2
/* 800BF0C4 000BC024 38 61 00 3C */ addi r3, r1, 0x3c
/* 800BF0C8 000BC028 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BF0CC 000BC02C 38 A1 00 38 */ addi r5, r1, 0x38
/* 800BF0D0 000BC030 88 01 00 0C */ lbz r0, 0xc(r1)
/* 800BF0D4 000BC034 7F 60 03 78 */ or r0, r27, r0
/* 800BF0D8 000BC038 90 01 00 38 */ stw r0, 0x38(r1)
/* 800BF0DC 000BC03C 48 2A 3F D5 */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BF0E0 000BC040 38 C0 00 03 */ li r6, 3
/* 800BF0E4 000BC044 80 A1 00 3C */ lwz r5, 0x3c(r1)
/* 800BF0E8 000BC048 39 00 00 07 */ li r8, 7
/* 800BF0EC 000BC04C 38 E0 00 00 */ li r7, 0
/* 800BF0F0 000BC050 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d
/* 800BF0F4 000BC054 99 01 00 C0 */ stb r8, 0xc0(r1)
/* 800BF0F8 000BC058 7F 03 C3 78 */ mr r3, r24
/* 800BF0FC 000BC05C 38 81 00 C8 */ addi r4, r1, 0xc8
/* 800BF100 000BC060 98 E1 00 C1 */ stb r7, 0xc1(r1)
/* 800BF104 000BC064 B0 C1 00 C2 */ sth r6, 0xc2(r1)
/* 800BF108 000BC068 90 A1 00 C4 */ stw r5, 0xc4(r1)
/* 800BF10C 000BC06C 99 01 00 C8 */ stb r8, 0xc8(r1)
/* 800BF110 000BC070 98 E1 00 C9 */ stb r7, 0xc9(r1)
/* 800BF114 000BC074 B0 01 00 CA */ sth r0, 0xca(r1)
/* 800BF118 000BC078 90 A1 00 CC */ stw r5, 0xcc(r1)
/* 800BF11C 000BC07C 48 29 6A B9 */ bl Draw__6CModelCFRC11CModelFlags
/* 800BF120 000BC080 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13)
/* 800BF124 000BC084 38 61 09 78 */ addi r3, r1, 0x978
/* 800BF128 000BC088 38 81 00 34 */ addi r4, r1, 0x34
/* 800BF12C 000BC08C C0 05 01 24 */ lfs f0, 0x124(r5)
/* 800BF130 000BC090 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 800BF134 000BC094 48 25 44 A5 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle
/* 800BF138 000BC098 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BF13C 000BC09C 38 81 09 78 */ addi r4, r1, 0x978
/* 800BF140 000BC0A0 81 83 00 00 */ lwz r12, 0(r3)
/* 800BF144 000BC0A4 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BF148 000BC0A8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BF14C 000BC0AC 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BF150 000BC0B0 3A D6 00 01 */ addi r22, r22, 1
lbl_800BF154:
/* 800BF154 000BC0B4 7C 16 A8 00 */ cmpw r22, r21
/* 800BF158 000BC0B8 41 80 FF 68 */ blt lbl_800BF0C0
lbl_800BF15C:
/* 800BF15C 000BC0BC C0 3F 02 08 */ lfs f1, 0x208(r31)
/* 800BF160 000BC0C0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BF164 000BC0C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BF168 000BC0C8 40 81 02 00 */ ble lbl_800BF368
/* 800BF16C 000BC0CC 80 1F 00 78 */ lwz r0, 0x78(r31)
/* 800BF170 000BC0D0 28 00 00 00 */ cmplwi r0, 0
/* 800BF174 000BC0D4 40 82 00 30 */ bne lbl_800BF1A4
/* 800BF178 000BC0D8 88 1F 00 74 */ lbz r0, 0x74(r31)
/* 800BF17C 000BC0DC 28 00 00 00 */ cmplwi r0, 0
/* 800BF180 000BC0E0 41 82 00 24 */ beq lbl_800BF1A4
/* 800BF184 000BC0E4 80 7F 00 70 */ lwz r3, 0x70(r31)
/* 800BF188 000BC0E8 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BF18C 000BC0EC 28 00 00 00 */ cmplwi r0, 0
/* 800BF190 000BC0F0 41 82 00 14 */ beq lbl_800BF1A4
/* 800BF194 000BC0F4 38 7F 00 70 */ addi r3, r31, 0x70
/* 800BF198 000BC0F8 48 28 1C 75 */ bl GetObj__6CTokenFv
/* 800BF19C 000BC0FC 80 03 00 04 */ lwz r0, 4(r3)
/* 800BF1A0 000BC100 90 1F 00 78 */ stw r0, 0x78(r31)
lbl_800BF1A4:
/* 800BF1A4 000BC104 83 1F 00 78 */ lwz r24, 0x78(r31)
/* 800BF1A8 000BC108 28 18 00 00 */ cmplwi r24, 0
/* 800BF1AC 000BC10C 41 82 01 BC */ beq lbl_800BF368
/* 800BF1B0 000BC110 80 1F 02 00 */ lwz r0, 0x200(r31)
/* 800BF1B4 000BC114 2C 00 00 00 */ cmpwi r0, 0
/* 800BF1B8 000BC118 40 82 00 10 */ bne lbl_800BF1C8
/* 800BF1BC 000BC11C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF1C0 000BC120 3A A3 00 D8 */ addi r21, r3, 0xd8
/* 800BF1C4 000BC124 48 00 00 34 */ b lbl_800BF1F8
lbl_800BF1C8:
/* 800BF1C8 000BC128 2C 00 00 01 */ cmpwi r0, 1
/* 800BF1CC 000BC12C 40 82 00 10 */ bne lbl_800BF1DC
/* 800BF1D0 000BC130 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF1D4 000BC134 3A A3 00 DC */ addi r21, r3, 0xdc
/* 800BF1D8 000BC138 48 00 00 20 */ b lbl_800BF1F8
lbl_800BF1DC:
/* 800BF1DC 000BC13C 2C 00 00 02 */ cmpwi r0, 2
/* 800BF1E0 000BC140 40 82 00 10 */ bne lbl_800BF1F0
/* 800BF1E4 000BC144 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF1E8 000BC148 3A A3 00 E0 */ addi r21, r3, 0xe0
/* 800BF1EC 000BC14C 48 00 00 0C */ b lbl_800BF1F8
lbl_800BF1F0:
/* 800BF1F0 000BC150 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF1F4 000BC154 3A A3 00 E4 */ addi r21, r3, 0xe4
lbl_800BF1F8:
/* 800BF1F8 000BC158 80 C1 01 E0 */ lwz r6, 0x1e0(r1)
/* 800BF1FC 000BC15C FC 20 C8 90 */ fmr f1, f25
/* 800BF200 000BC160 80 A1 01 E4 */ lwz r5, 0x1e4(r1)
/* 800BF204 000BC164 7F A4 EB 78 */ mr r4, r29
/* 800BF208 000BC168 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 800BF20C 000BC16C 38 61 01 5C */ addi r3, r1, 0x15c
/* 800BF210 000BC170 90 C1 01 5C */ stw r6, 0x15c(r1)
/* 800BF214 000BC174 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BF218 000BC178 90 A1 01 60 */ stw r5, 0x160(r1)
/* 800BF21C 000BC17C 90 01 01 64 */ stw r0, 0x164(r1)
/* 800BF220 000BC180 C0 06 01 74 */ lfs f0, 0x174(r6)
/* 800BF224 000BC184 C0 66 01 78 */ lfs f3, 0x178(r6)
/* 800BF228 000BC188 EC 57 00 32 */ fmuls f2, f23, f0
/* 800BF22C 000BC18C 4B FF DD 71 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BF230 000BC190 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BF234 000BC194 7F C4 F3 78 */ mr r4, r30
/* 800BF238 000BC198 C0 5F 02 08 */ lfs f2, 0x208(r31)
/* 800BF23C 000BC19C 38 61 04 2C */ addi r3, r1, 0x42c
/* 800BF240 000BC1A0 C0 06 00 D0 */ lfs f0, 0xd0(r6)
/* 800BF244 000BC1A4 38 A1 04 08 */ addi r5, r1, 0x408
/* 800BF248 000BC1A8 C0 66 00 D4 */ lfs f3, 0xd4(r6)
/* 800BF24C 000BC1AC EC 42 00 24 */ fdivs f2, f2, f0
/* 800BF250 000BC1B0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BF254 000BC1B4 D0 01 04 0C */ stfs f0, 0x40c(r1)
/* 800BF258 000BC1B8 D0 01 04 10 */ stfs f0, 0x410(r1)
/* 800BF25C 000BC1BC D0 01 04 14 */ stfs f0, 0x414(r1)
/* 800BF260 000BC1C0 D0 01 04 1C */ stfs f0, 0x41c(r1)
/* 800BF264 000BC1C4 EC 21 00 F2 */ fmuls f1, f1, f3
/* 800BF268 000BC1C8 D0 01 04 20 */ stfs f0, 0x420(r1)
/* 800BF26C 000BC1CC D0 01 04 24 */ stfs f0, 0x424(r1)
/* 800BF270 000BC1D0 EC 01 00 B2 */ fmuls f0, f1, f2
/* 800BF274 000BC1D4 EC 00 C0 24 */ fdivs f0, f0, f24
/* 800BF278 000BC1D8 D0 01 04 08 */ stfs f0, 0x408(r1)
/* 800BF27C 000BC1DC D0 01 04 18 */ stfs f0, 0x418(r1)
/* 800BF280 000BC1E0 D0 01 04 28 */ stfs f0, 0x428(r1)
/* 800BF284 000BC1E4 48 25 0E AD */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF288 000BC1E8 38 61 09 54 */ addi r3, r1, 0x954
/* 800BF28C 000BC1EC 38 81 04 2C */ addi r4, r1, 0x42c
/* 800BF290 000BC1F0 48 25 0D 95 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BF294 000BC1F4 C0 5F 01 14 */ lfs f2, 0x114(r31)
/* 800BF298 000BC1F8 38 61 03 B4 */ addi r3, r1, 0x3b4
/* 800BF29C 000BC1FC C0 3F 01 18 */ lfs f1, 0x118(r31)
/* 800BF2A0 000BC200 38 81 0A EC */ addi r4, r1, 0xaec
/* 800BF2A4 000BC204 C0 1F 01 1C */ lfs f0, 0x11c(r31)
/* 800BF2A8 000BC208 38 A1 09 54 */ addi r5, r1, 0x954
/* 800BF2AC 000BC20C D0 41 01 50 */ stfs f2, 0x150(r1)
/* 800BF2B0 000BC210 D0 21 01 54 */ stfs f1, 0x154(r1)
/* 800BF2B4 000BC214 D0 01 01 58 */ stfs f0, 0x158(r1)
/* 800BF2B8 000BC218 48 25 0E 79 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF2BC 000BC21C 38 61 03 D8 */ addi r3, r1, 0x3d8
/* 800BF2C0 000BC220 38 81 03 B4 */ addi r4, r1, 0x3b4
/* 800BF2C4 000BC224 38 A1 01 50 */ addi r5, r1, 0x150
/* 800BF2C8 000BC228 48 25 3F B1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BF2CC 000BC22C 7C 64 1B 78 */ mr r4, r3
/* 800BF2D0 000BC230 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BF2D4 000BC234 81 83 00 00 */ lwz r12, 0(r3)
/* 800BF2D8 000BC238 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BF2DC 000BC23C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BF2E0 000BC240 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BF2E4 000BC244 88 75 00 03 */ lbz r3, 3(r21)
/* 800BF2E8 000BC248 3C 00 43 30 */ lis r0, 0x4330
/* 800BF2EC 000BC24C 90 01 0B 18 */ stw r0, 0xb18(r1)
/* 800BF2F0 000BC250 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BF2F4 000BC254 90 61 0B 1C */ stw r3, 0xb1c(r1)
/* 800BF2F8 000BC258 C8 01 0B 18 */ lfd f0, 0xb18(r1)
/* 800BF2FC 000BC25C EC 00 08 28 */ fsubs f0, f0, f1
/* 800BF300 000BC260 EF 8F 00 32 */ fmuls f28, f15, f0
/* 800BF304 000BC264 F3 81 A0 0B */ psq_st f28, 11(r1), 1, qr2
/* 800BF308 000BC268 38 61 00 30 */ addi r3, r1, 0x30
/* 800BF30C 000BC26C 80 D5 00 00 */ lwz r6, 0(r21)
/* 800BF310 000BC270 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BF314 000BC274 88 01 00 0B */ lbz r0, 0xb(r1)
/* 800BF318 000BC278 38 A1 00 2C */ addi r5, r1, 0x2c
/* 800BF31C 000BC27C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 800BF320 000BC280 90 01 00 2C */ stw r0, 0x2c(r1)
/* 800BF324 000BC284 48 2A 3D 8D */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BF328 000BC288 38 C0 00 03 */ li r6, 3
/* 800BF32C 000BC28C 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 800BF330 000BC290 39 00 00 07 */ li r8, 7
/* 800BF334 000BC294 38 E0 00 00 */ li r7, 0
/* 800BF338 000BC298 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d
/* 800BF33C 000BC29C 99 01 00 B0 */ stb r8, 0xb0(r1)
/* 800BF340 000BC2A0 7F 03 C3 78 */ mr r3, r24
/* 800BF344 000BC2A4 38 81 00 B8 */ addi r4, r1, 0xb8
/* 800BF348 000BC2A8 98 E1 00 B1 */ stb r7, 0xb1(r1)
/* 800BF34C 000BC2AC B0 C1 00 B2 */ sth r6, 0xb2(r1)
/* 800BF350 000BC2B0 90 A1 00 B4 */ stw r5, 0xb4(r1)
/* 800BF354 000BC2B4 99 01 00 B8 */ stb r8, 0xb8(r1)
/* 800BF358 000BC2B8 98 E1 00 B9 */ stb r7, 0xb9(r1)
/* 800BF35C 000BC2BC B0 01 00 BA */ sth r0, 0xba(r1)
/* 800BF360 000BC2C0 90 A1 00 BC */ stw r5, 0xbc(r1)
/* 800BF364 000BC2C4 48 29 68 71 */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BF368:
/* 800BF368 000BC2C8 C0 3F 02 10 */ lfs f1, 0x210(r31)
/* 800BF36C 000BC2CC C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BF370 000BC2D0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BF374 000BC2D4 40 81 01 E0 */ ble lbl_800BF554
/* 800BF378 000BC2D8 80 1F 00 84 */ lwz r0, 0x84(r31)
/* 800BF37C 000BC2DC 28 00 00 00 */ cmplwi r0, 0
/* 800BF380 000BC2E0 40 82 00 30 */ bne lbl_800BF3B0
/* 800BF384 000BC2E4 88 1F 00 80 */ lbz r0, 0x80(r31)
/* 800BF388 000BC2E8 28 00 00 00 */ cmplwi r0, 0
/* 800BF38C 000BC2EC 41 82 00 24 */ beq lbl_800BF3B0
/* 800BF390 000BC2F0 80 7F 00 7C */ lwz r3, 0x7c(r31)
/* 800BF394 000BC2F4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BF398 000BC2F8 28 00 00 00 */ cmplwi r0, 0
/* 800BF39C 000BC2FC 41 82 00 14 */ beq lbl_800BF3B0
/* 800BF3A0 000BC300 38 7F 00 7C */ addi r3, r31, 0x7c
/* 800BF3A4 000BC304 48 28 1A 69 */ bl GetObj__6CTokenFv
/* 800BF3A8 000BC308 80 03 00 04 */ lwz r0, 4(r3)
/* 800BF3AC 000BC30C 90 1F 00 84 */ stw r0, 0x84(r31)
lbl_800BF3B0:
/* 800BF3B0 000BC310 83 1F 00 84 */ lwz r24, 0x84(r31)
/* 800BF3B4 000BC314 28 18 00 00 */ cmplwi r24, 0
/* 800BF3B8 000BC318 41 82 01 9C */ beq lbl_800BF554
/* 800BF3BC 000BC31C 82 AD A1 40 */ lwz r21, gpTweakTargeting@sda21(r13)
/* 800BF3C0 000BC320 FC 20 C8 90 */ fmr f1, f25
/* 800BF3C4 000BC324 C0 5F 02 10 */ lfs f2, 0x210(r31)
/* 800BF3C8 000BC328 7F A4 EB 78 */ mr r4, r29
/* 800BF3CC 000BC32C C0 15 01 2C */ lfs f0, 0x12c(r21)
/* 800BF3D0 000BC330 38 61 01 44 */ addi r3, r1, 0x144
/* 800BF3D4 000BC334 80 C1 01 E0 */ lwz r6, 0x1e0(r1)
/* 800BF3D8 000BC338 EE 02 00 24 */ fdivs f16, f2, f0
/* 800BF3DC 000BC33C 80 A1 01 E4 */ lwz r5, 0x1e4(r1)
/* 800BF3E0 000BC340 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 800BF3E4 000BC344 90 C1 01 44 */ stw r6, 0x144(r1)
/* 800BF3E8 000BC348 90 A1 01 48 */ stw r5, 0x148(r1)
/* 800BF3EC 000BC34C 90 01 01 4C */ stw r0, 0x14c(r1)
/* 800BF3F0 000BC350 C0 15 01 84 */ lfs f0, 0x184(r21)
/* 800BF3F4 000BC354 C0 75 01 88 */ lfs f3, 0x188(r21)
/* 800BF3F8 000BC358 EC 57 00 32 */ fmuls f2, f23, f0
/* 800BF3FC 000BC35C 4B FF DB A1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BF400 000BC360 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13)
/* 800BF404 000BC364 38 61 03 24 */ addi r3, r1, 0x324
/* 800BF408 000BC368 C0 5F 01 F0 */ lfs f2, 0x1f0(r31)
/* 800BF40C 000BC36C 38 81 00 28 */ addi r4, r1, 0x28
/* 800BF410 000BC370 C0 65 01 28 */ lfs f3, 0x128(r5)
/* 800BF414 000BC374 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BF418 000BC378 EC 21 00 F2 */ fmuls f1, f1, f3
/* 800BF41C 000BC37C D0 41 00 28 */ stfs f2, 0x28(r1)
/* 800BF420 000BC380 D0 01 03 4C */ stfs f0, 0x34c(r1)
/* 800BF424 000BC384 EC 21 C0 24 */ fdivs f1, f1, f24
/* 800BF428 000BC388 D0 01 03 50 */ stfs f0, 0x350(r1)
/* 800BF42C 000BC38C D0 01 03 54 */ stfs f0, 0x354(r1)
/* 800BF430 000BC390 D0 01 03 5C */ stfs f0, 0x35c(r1)
/* 800BF434 000BC394 D0 01 03 60 */ stfs f0, 0x360(r1)
/* 800BF438 000BC398 D0 01 03 64 */ stfs f0, 0x364(r1)
/* 800BF43C 000BC39C D0 21 03 48 */ stfs f1, 0x348(r1)
/* 800BF440 000BC3A0 D0 21 03 58 */ stfs f1, 0x358(r1)
/* 800BF444 000BC3A4 D0 21 03 68 */ stfs f1, 0x368(r1)
/* 800BF448 000BC3A8 48 25 10 4D */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800BF44C 000BC3AC 7F C4 F3 78 */ mr r4, r30
/* 800BF450 000BC3B0 38 61 03 6C */ addi r3, r1, 0x36c
/* 800BF454 000BC3B4 38 A1 03 48 */ addi r5, r1, 0x348
/* 800BF458 000BC3B8 48 25 0C D9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF45C 000BC3BC 38 61 03 90 */ addi r3, r1, 0x390
/* 800BF460 000BC3C0 38 81 03 6C */ addi r4, r1, 0x36c
/* 800BF464 000BC3C4 38 A1 03 24 */ addi r5, r1, 0x324
/* 800BF468 000BC3C8 48 25 0C C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF46C 000BC3CC 38 61 09 30 */ addi r3, r1, 0x930
/* 800BF470 000BC3D0 38 81 03 90 */ addi r4, r1, 0x390
/* 800BF474 000BC3D4 48 25 0B B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BF478 000BC3D8 C0 5F 01 14 */ lfs f2, 0x114(r31)
/* 800BF47C 000BC3DC 38 61 02 D0 */ addi r3, r1, 0x2d0
/* 800BF480 000BC3E0 C0 3F 01 18 */ lfs f1, 0x118(r31)
/* 800BF484 000BC3E4 38 81 0A EC */ addi r4, r1, 0xaec
/* 800BF488 000BC3E8 C0 1F 01 1C */ lfs f0, 0x11c(r31)
/* 800BF48C 000BC3EC 38 A1 09 30 */ addi r5, r1, 0x930
/* 800BF490 000BC3F0 D0 41 01 38 */ stfs f2, 0x138(r1)
/* 800BF494 000BC3F4 D0 21 01 3C */ stfs f1, 0x13c(r1)
/* 800BF498 000BC3F8 D0 01 01 40 */ stfs f0, 0x140(r1)
/* 800BF49C 000BC3FC 48 25 0C 95 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF4A0 000BC400 38 61 02 F4 */ addi r3, r1, 0x2f4
/* 800BF4A4 000BC404 38 81 02 D0 */ addi r4, r1, 0x2d0
/* 800BF4A8 000BC408 38 A1 01 38 */ addi r5, r1, 0x138
/* 800BF4AC 000BC40C 48 25 3D CD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BF4B0 000BC410 7C 64 1B 78 */ mr r4, r3
/* 800BF4B4 000BC414 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BF4B8 000BC418 81 83 00 00 */ lwz r12, 0(r3)
/* 800BF4BC 000BC41C 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BF4C0 000BC420 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BF4C4 000BC424 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BF4C8 000BC428 88 75 01 33 */ lbz r3, 0x133(r21)
/* 800BF4CC 000BC42C 3C 00 43 30 */ lis r0, 0x4330
/* 800BF4D0 000BC430 EC 15 04 32 */ fmuls f0, f21, f16
/* 800BF4D4 000BC434 90 01 0B 18 */ stw r0, 0xb18(r1)
/* 800BF4D8 000BC438 C8 22 8D 48 */ lfd f1, lbl_805AAA68@sda21(r2)
/* 800BF4DC 000BC43C 90 61 0B 1C */ stw r3, 0xb1c(r1)
/* 800BF4E0 000BC440 EC 52 00 32 */ fmuls f2, f18, f0
/* 800BF4E4 000BC444 C8 01 0B 18 */ lfd f0, 0xb18(r1)
/* 800BF4E8 000BC448 EC 00 08 28 */ fsubs f0, f0, f1
/* 800BF4EC 000BC44C EF 62 00 32 */ fmuls f27, f2, f0
/* 800BF4F0 000BC450 F3 61 A0 0A */ psq_st f27, 10(r1), 1, qr2
/* 800BF4F4 000BC454 38 61 00 24 */ addi r3, r1, 0x24
/* 800BF4F8 000BC458 80 D5 01 30 */ lwz r6, 0x130(r21)
/* 800BF4FC 000BC45C 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BF500 000BC460 88 01 00 0A */ lbz r0, 0xa(r1)
/* 800BF504 000BC464 38 A1 00 20 */ addi r5, r1, 0x20
/* 800BF508 000BC468 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 800BF50C 000BC46C 90 01 00 20 */ stw r0, 0x20(r1)
/* 800BF510 000BC470 48 2A 3B A1 */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BF514 000BC474 38 C0 00 03 */ li r6, 3
/* 800BF518 000BC478 80 A1 00 24 */ lwz r5, 0x24(r1)
/* 800BF51C 000BC47C 39 00 00 07 */ li r8, 7
/* 800BF520 000BC480 38 E0 00 00 */ li r7, 0
/* 800BF524 000BC484 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d
/* 800BF528 000BC488 99 01 00 A0 */ stb r8, 0xa0(r1)
/* 800BF52C 000BC48C 7F 03 C3 78 */ mr r3, r24
/* 800BF530 000BC490 38 81 00 A8 */ addi r4, r1, 0xa8
/* 800BF534 000BC494 98 E1 00 A1 */ stb r7, 0xa1(r1)
/* 800BF538 000BC498 B0 C1 00 A2 */ sth r6, 0xa2(r1)
/* 800BF53C 000BC49C 90 A1 00 A4 */ stw r5, 0xa4(r1)
/* 800BF540 000BC4A0 99 01 00 A8 */ stb r8, 0xa8(r1)
/* 800BF544 000BC4A4 98 E1 00 A9 */ stb r7, 0xa9(r1)
/* 800BF548 000BC4A8 B0 01 00 AA */ sth r0, 0xaa(r1)
/* 800BF54C 000BC4AC 90 A1 00 AC */ stw r5, 0xac(r1)
/* 800BF550 000BC4B0 48 29 66 85 */ bl Draw__6CModelCFRC11CModelFlags
lbl_800BF554:
/* 800BF554 000BC4B4 C0 3F 02 08 */ lfs f1, 0x208(r31)
/* 800BF558 000BC4B8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BF55C 000BC4BC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BF560 000BC4C0 40 81 02 58 */ ble lbl_800BF7B8
/* 800BF564 000BC4C4 80 1F 00 90 */ lwz r0, 0x90(r31)
/* 800BF568 000BC4C8 28 00 00 00 */ cmplwi r0, 0
/* 800BF56C 000BC4CC 40 82 00 30 */ bne lbl_800BF59C
/* 800BF570 000BC4D0 88 1F 00 8C */ lbz r0, 0x8c(r31)
/* 800BF574 000BC4D4 28 00 00 00 */ cmplwi r0, 0
/* 800BF578 000BC4D8 41 82 00 24 */ beq lbl_800BF59C
/* 800BF57C 000BC4DC 80 7F 00 88 */ lwz r3, 0x88(r31)
/* 800BF580 000BC4E0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BF584 000BC4E4 28 00 00 00 */ cmplwi r0, 0
/* 800BF588 000BC4E8 41 82 00 14 */ beq lbl_800BF59C
/* 800BF58C 000BC4EC 38 7F 00 88 */ addi r3, r31, 0x88
/* 800BF590 000BC4F0 48 28 18 7D */ bl GetObj__6CTokenFv
/* 800BF594 000BC4F4 80 03 00 04 */ lwz r0, 4(r3)
/* 800BF598 000BC4F8 90 1F 00 90 */ stw r0, 0x90(r31)
lbl_800BF59C:
/* 800BF59C 000BC4FC 83 1F 00 90 */ lwz r24, 0x90(r31)
/* 800BF5A0 000BC500 28 18 00 00 */ cmplwi r24, 0
/* 800BF5A4 000BC504 41 82 02 14 */ beq lbl_800BF7B8
/* 800BF5A8 000BC508 80 C1 01 E0 */ lwz r6, 0x1e0(r1)
/* 800BF5AC 000BC50C FC 20 C8 90 */ fmr f1, f25
/* 800BF5B0 000BC510 80 A1 01 E4 */ lwz r5, 0x1e4(r1)
/* 800BF5B4 000BC514 7F A4 EB 78 */ mr r4, r29
/* 800BF5B8 000BC518 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 800BF5BC 000BC51C 38 61 01 2C */ addi r3, r1, 0x12c
/* 800BF5C0 000BC520 90 C1 01 2C */ stw r6, 0x12c(r1)
/* 800BF5C4 000BC524 80 CD A1 40 */ lwz r6, gpTweakTargeting@sda21(r13)
/* 800BF5C8 000BC528 90 A1 01 30 */ stw r5, 0x130(r1)
/* 800BF5CC 000BC52C 90 01 01 34 */ stw r0, 0x134(r1)
/* 800BF5D0 000BC530 C0 06 01 8C */ lfs f0, 0x18c(r6)
/* 800BF5D4 000BC534 C0 66 01 90 */ lfs f3, 0x190(r6)
/* 800BF5D8 000BC538 EC 57 00 32 */ fmuls f2, f23, f0
/* 800BF5DC 000BC53C 4B FF D9 C1 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BF5E0 000BC540 83 AD A1 40 */ lwz r29, gpTweakTargeting@sda21(r13)
/* 800BF5E4 000BC544 7F C4 F3 78 */ mr r4, r30
/* 800BF5E8 000BC548 C0 42 8D 64 */ lfs f2, lbl_805AAA84@sda21(r2)
/* 800BF5EC 000BC54C 38 61 02 AC */ addi r3, r1, 0x2ac
/* 800BF5F0 000BC550 C0 1D 01 2C */ lfs f0, 0x12c(r29)
/* 800BF5F4 000BC554 38 A1 02 88 */ addi r5, r1, 0x288
/* 800BF5F8 000BC558 C0 7F 02 10 */ lfs f3, 0x210(r31)
/* 800BF5FC 000BC55C EC E2 00 32 */ fmuls f7, f2, f0
/* 800BF600 000BC560 C0 5F 02 08 */ lfs f2, 0x208(r31)
/* 800BF604 000BC564 C0 1D 00 D0 */ lfs f0, 0xd0(r29)
/* 800BF608 000BC568 C0 A2 8D 38 */ lfs f5, lbl_805AAA58@sda21(r2)
/* 800BF60C 000BC56C EC C3 38 28 */ fsubs f6, f3, f7
/* 800BF610 000BC570 C0 7D 01 34 */ lfs f3, 0x134(r29)
/* 800BF614 000BC574 EC 42 00 24 */ fdivs f2, f2, f0
/* 800BF618 000BC578 C0 9D 01 38 */ lfs f4, 0x138(r29)
/* 800BF61C 000BC57C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BF620 000BC580 D0 01 02 8C */ stfs f0, 0x28c(r1)
/* 800BF624 000BC584 D0 01 02 90 */ stfs f0, 0x290(r1)
/* 800BF628 000BC588 D0 01 02 94 */ stfs f0, 0x294(r1)
/* 800BF62C 000BC58C EC C6 38 24 */ fdivs f6, f6, f7
/* 800BF630 000BC590 D0 01 02 9C */ stfs f0, 0x29c(r1)
/* 800BF634 000BC594 D0 01 02 A0 */ stfs f0, 0x2a0(r1)
/* 800BF638 000BC598 D0 01 02 A4 */ stfs f0, 0x2a4(r1)
/* 800BF63C 000BC59C FC 00 32 10 */ fabs f0, f6
/* 800BF640 000BC5A0 FC 00 00 18 */ frsp f0, f0
/* 800BF644 000BC5A4 EC A5 00 28 */ fsubs f5, f5, f0
/* 800BF648 000BC5A8 EC 00 00 F2 */ fmuls f0, f0, f3
/* 800BF64C 000BC5AC EC 05 01 3A */ fmadds f0, f5, f4, f0
/* 800BF650 000BC5B0 EC 01 00 32 */ fmuls f0, f1, f0
/* 800BF654 000BC5B4 EC 00 00 B2 */ fmuls f0, f0, f2
/* 800BF658 000BC5B8 EC 00 C0 24 */ fdivs f0, f0, f24
/* 800BF65C 000BC5BC D0 01 02 88 */ stfs f0, 0x288(r1)
/* 800BF660 000BC5C0 D0 01 02 98 */ stfs f0, 0x298(r1)
/* 800BF664 000BC5C4 D0 01 02 A8 */ stfs f0, 0x2a8(r1)
/* 800BF668 000BC5C8 48 25 0A C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF66C 000BC5CC 38 61 09 0C */ addi r3, r1, 0x90c
/* 800BF670 000BC5D0 38 81 02 AC */ addi r4, r1, 0x2ac
/* 800BF674 000BC5D4 48 25 09 B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BF678 000BC5D8 CA 02 8D 48 */ lfd f16, lbl_805AAA68@sda21(r2)
/* 800BF67C 000BC5DC 3B 20 00 00 */ li r25, 0
/* 800BF680 000BC5E0 3F 40 43 30 */ lis r26, 0x4330
lbl_800BF684:
/* 800BF684 000BC5E4 2C 19 00 00 */ cmpwi r25, 0
/* 800BF688 000BC5E8 40 82 00 10 */ bne lbl_800BF698
/* 800BF68C 000BC5EC 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF690 000BC5F0 C0 03 01 40 */ lfs f0, 0x140(r3)
/* 800BF694 000BC5F4 48 00 00 20 */ b lbl_800BF6B4
lbl_800BF698:
/* 800BF698 000BC5F8 2C 19 00 01 */ cmpwi r25, 1
/* 800BF69C 000BC5FC 40 82 00 10 */ bne lbl_800BF6AC
/* 800BF6A0 000BC600 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF6A4 000BC604 C0 03 01 44 */ lfs f0, 0x144(r3)
/* 800BF6A8 000BC608 48 00 00 0C */ b lbl_800BF6B4
lbl_800BF6AC:
/* 800BF6AC 000BC60C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF6B0 000BC610 C0 03 01 48 */ lfs f0, 0x148(r3)
lbl_800BF6B4:
/* 800BF6B4 000BC614 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 800BF6B8 000BC618 38 61 02 40 */ addi r3, r1, 0x240
/* 800BF6BC 000BC61C 38 81 00 1C */ addi r4, r1, 0x1c
/* 800BF6C0 000BC620 48 25 0D D5 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800BF6C4 000BC624 38 61 02 64 */ addi r3, r1, 0x264
/* 800BF6C8 000BC628 38 81 09 0C */ addi r4, r1, 0x90c
/* 800BF6CC 000BC62C 38 A1 02 40 */ addi r5, r1, 0x240
/* 800BF6D0 000BC630 48 25 0A 61 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF6D4 000BC634 38 61 08 E8 */ addi r3, r1, 0x8e8
/* 800BF6D8 000BC638 38 81 02 64 */ addi r4, r1, 0x264
/* 800BF6DC 000BC63C 48 25 09 49 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BF6E0 000BC640 C0 5F 01 14 */ lfs f2, 0x114(r31)
/* 800BF6E4 000BC644 38 61 01 EC */ addi r3, r1, 0x1ec
/* 800BF6E8 000BC648 C0 3F 01 18 */ lfs f1, 0x118(r31)
/* 800BF6EC 000BC64C 38 81 0A EC */ addi r4, r1, 0xaec
/* 800BF6F0 000BC650 C0 1F 01 1C */ lfs f0, 0x11c(r31)
/* 800BF6F4 000BC654 38 A1 08 E8 */ addi r5, r1, 0x8e8
/* 800BF6F8 000BC658 D0 41 01 20 */ stfs f2, 0x120(r1)
/* 800BF6FC 000BC65C D0 21 01 24 */ stfs f1, 0x124(r1)
/* 800BF700 000BC660 D0 01 01 28 */ stfs f0, 0x128(r1)
/* 800BF704 000BC664 48 25 0A 2D */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF708 000BC668 38 61 02 10 */ addi r3, r1, 0x210
/* 800BF70C 000BC66C 38 81 01 EC */ addi r4, r1, 0x1ec
/* 800BF710 000BC670 38 A1 01 20 */ addi r5, r1, 0x120
/* 800BF714 000BC674 48 25 3B 65 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BF718 000BC678 7C 64 1B 78 */ mr r4, r3
/* 800BF71C 000BC67C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BF720 000BC680 81 83 00 00 */ lwz r12, 0(r3)
/* 800BF724 000BC684 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BF728 000BC688 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BF72C 000BC68C 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BF730 000BC690 88 1D 01 3F */ lbz r0, 0x13f(r29)
/* 800BF734 000BC694 93 41 0B 18 */ stw r26, 0xb18(r1)
/* 800BF738 000BC698 90 01 0B 1C */ stw r0, 0xb1c(r1)
/* 800BF73C 000BC69C C8 01 0B 18 */ lfd f0, 0xb18(r1)
/* 800BF740 000BC6A0 EC 00 80 28 */ fsubs f0, f0, f16
/* 800BF744 000BC6A4 EF 4F 00 32 */ fmuls f26, f15, f0
/* 800BF748 000BC6A8 F3 41 A0 09 */ psq_st f26, 9(r1), 1, qr2
/* 800BF74C 000BC6AC 38 61 00 18 */ addi r3, r1, 0x18
/* 800BF750 000BC6B0 80 DD 01 3C */ lwz r6, 0x13c(r29)
/* 800BF754 000BC6B4 38 81 00 8C */ addi r4, r1, 0x8c
/* 800BF758 000BC6B8 88 01 00 09 */ lbz r0, 9(r1)
/* 800BF75C 000BC6BC 38 A1 00 14 */ addi r5, r1, 0x14
/* 800BF760 000BC6C0 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 800BF764 000BC6C4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800BF768 000BC6C8 48 2A 39 49 */ bl Add__6CColorFRC6CColorRC6CColor
/* 800BF76C 000BC6CC 38 C0 00 03 */ li r6, 3
/* 800BF770 000BC6D0 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 800BF774 000BC6D4 39 00 00 07 */ li r8, 7
/* 800BF778 000BC6D8 38 E0 00 00 */ li r7, 0
/* 800BF77C 000BC6DC 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d
/* 800BF780 000BC6E0 99 01 00 90 */ stb r8, 0x90(r1)
/* 800BF784 000BC6E4 7F 03 C3 78 */ mr r3, r24
/* 800BF788 000BC6E8 38 81 00 98 */ addi r4, r1, 0x98
/* 800BF78C 000BC6EC 98 E1 00 91 */ stb r7, 0x91(r1)
/* 800BF790 000BC6F0 B0 C1 00 92 */ sth r6, 0x92(r1)
/* 800BF794 000BC6F4 90 A1 00 94 */ stw r5, 0x94(r1)
/* 800BF798 000BC6F8 99 01 00 98 */ stb r8, 0x98(r1)
/* 800BF79C 000BC6FC 98 E1 00 99 */ stb r7, 0x99(r1)
/* 800BF7A0 000BC700 B0 01 00 9A */ sth r0, 0x9a(r1)
/* 800BF7A4 000BC704 90 A1 00 9C */ stw r5, 0x9c(r1)
/* 800BF7A8 000BC708 48 29 64 2D */ bl Draw__6CModelCFRC11CModelFlags
/* 800BF7AC 000BC70C 3B 39 00 01 */ addi r25, r25, 1
/* 800BF7B0 000BC710 2C 19 00 03 */ cmpwi r25, 3
/* 800BF7B4 000BC714 41 80 FE D0 */ blt lbl_800BF684
lbl_800BF7B8:
/* 800BF7B8 000BC718 E3 E1 0C 58 */ psq_l f31, -936(r1), 0, qr0
/* 800BF7BC 000BC71C CB E1 0C 50 */ lfd f31, 0xc50(r1)
/* 800BF7C0 000BC720 E3 C1 0C 48 */ psq_l f30, -952(r1), 0, qr0
/* 800BF7C4 000BC724 CB C1 0C 40 */ lfd f30, 0xc40(r1)
/* 800BF7C8 000BC728 E3 A1 0C 38 */ psq_l f29, -968(r1), 0, qr0
/* 800BF7CC 000BC72C CB A1 0C 30 */ lfd f29, 0xc30(r1)
/* 800BF7D0 000BC730 E3 81 0C 28 */ psq_l f28, -984(r1), 0, qr0
/* 800BF7D4 000BC734 CB 81 0C 20 */ lfd f28, 0xc20(r1)
/* 800BF7D8 000BC738 E3 61 0C 18 */ psq_l f27, -1000(r1), 0, qr0
/* 800BF7DC 000BC73C CB 61 0C 10 */ lfd f27, 0xc10(r1)
/* 800BF7E0 000BC740 E3 41 0C 08 */ psq_l f26, -1016(r1), 0, qr0
/* 800BF7E4 000BC744 CB 41 0C 00 */ lfd f26, 0xc00(r1)
/* 800BF7E8 000BC748 E3 21 0B F8 */ psq_l f25, -1032(r1), 0, qr0
/* 800BF7EC 000BC74C CB 21 0B F0 */ lfd f25, 0xbf0(r1)
/* 800BF7F0 000BC750 E3 01 0B E8 */ psq_l f24, -1048(r1), 0, qr0
/* 800BF7F4 000BC754 CB 01 0B E0 */ lfd f24, 0xbe0(r1)
/* 800BF7F8 000BC758 E2 E1 0B D8 */ psq_l f23, -1064(r1), 0, qr0
/* 800BF7FC 000BC75C CA E1 0B D0 */ lfd f23, 0xbd0(r1)
/* 800BF800 000BC760 E2 C1 0B C8 */ psq_l f22, -1080(r1), 0, qr0
/* 800BF804 000BC764 CA C1 0B C0 */ lfd f22, 0xbc0(r1)
/* 800BF808 000BC768 E2 A1 0B B8 */ psq_l f21, -1096(r1), 0, qr0
/* 800BF80C 000BC76C CA A1 0B B0 */ lfd f21, 0xbb0(r1)
/* 800BF810 000BC770 E2 81 0B A8 */ psq_l f20, -1112(r1), 0, qr0
/* 800BF814 000BC774 CA 81 0B A0 */ lfd f20, 0xba0(r1)
/* 800BF818 000BC778 E2 61 0B 98 */ psq_l f19, -1128(r1), 0, qr0
/* 800BF81C 000BC77C CA 61 0B 90 */ lfd f19, 0xb90(r1)
/* 800BF820 000BC780 E2 41 0B 88 */ psq_l f18, -1144(r1), 0, qr0
/* 800BF824 000BC784 CA 41 0B 80 */ lfd f18, 0xb80(r1)
/* 800BF828 000BC788 E2 21 0B 78 */ psq_l f17, -1160(r1), 0, qr0
/* 800BF82C 000BC78C CA 21 0B 70 */ lfd f17, 0xb70(r1)
/* 800BF830 000BC790 E2 01 0B 68 */ psq_l f16, -1176(r1), 0, qr0
/* 800BF834 000BC794 CA 01 0B 60 */ lfd f16, 0xb60(r1)
/* 800BF838 000BC798 E1 E1 0B 58 */ psq_l f15, -1192(r1), 0, qr0
/* 800BF83C 000BC79C C9 E1 0B 50 */ lfd f15, 0xb50(r1)
/* 800BF840 000BC7A0 BA A1 0B 24 */ lmw r21, 0xb24(r1)
/* 800BF844 000BC7A4 80 01 0C 64 */ lwz r0, 0xc64(r1)
/* 800BF848 000BC7A8 7C 08 03 A6 */ mtlr r0
/* 800BF84C 000BC7AC 38 21 0C 60 */ addi r1, r1, 0xc60
2022-07-14 05:48:03 +00:00
/* 800BF850 000BC7B0 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb
DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb:
/* 800BF854 000BC7B4 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 800BF858 000BC7B8 7C 08 02 A6 */ mflr r0
/* 800BF85C 000BC7BC 90 01 01 14 */ stw r0, 0x114(r1)
/* 800BF860 000BC7C0 DB E1 01 00 */ stfd f31, 0x100(r1)
/* 800BF864 000BC7C4 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0
/* 800BF868 000BC7C8 BF 61 00 EC */ stmw r27, 0xec(r1)
/* 800BF86C 000BC7CC 81 84 00 00 */ lwz r12, 0(r4)
/* 800BF870 000BC7D0 7C 7F 1B 78 */ mr r31, r3
/* 800BF874 000BC7D4 FF E0 08 90 */ fmr f31, f1
/* 800BF878 000BC7D8 7C 9B 23 78 */ mr r27, r4
/* 800BF87C 000BC7DC 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 800BF880 000BC7E0 7C BE 2B 78 */ mr r30, r5
/* 800BF884 000BC7E4 7C DC 33 78 */ mr r28, r6
/* 800BF888 000BC7E8 7C FD 3B 78 */ mr r29, r7
/* 800BF88C 000BC7EC 38 61 00 28 */ addi r3, r1, 0x28
/* 800BF890 000BC7F0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BF894 000BC7F4 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BF898 000BC7F8 88 1B 01 2C */ lbz r0, 0x12c(r27)
/* 800BF89C 000BC7FC C0 41 00 28 */ lfs f2, 0x28(r1)
/* 800BF8A0 000BC800 C0 21 00 2C */ lfs f1, 0x2c(r1)
/* 800BF8A4 000BC804 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800BF8A8 000BC808 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 800BF8AC 000BC80C D0 41 00 34 */ stfs f2, 0x34(r1)
/* 800BF8B0 000BC810 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 800BF8B4 000BC814 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 800BF8B8 000BC818 41 82 00 10 */ beq lbl_800BF8C8
/* 800BF8BC 000BC81C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF8C0 000BC820 38 A3 01 AC */ addi r5, r3, 0x1ac
/* 800BF8C4 000BC824 48 00 00 0C */ b lbl_800BF8D0
lbl_800BF8C8:
/* 800BF8C8 000BC828 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BF8CC 000BC82C 38 A3 01 A4 */ addi r5, r3, 0x1a4
lbl_800BF8D0:
/* 800BF8D0 000BC830 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13)
/* 800BF8D4 000BC834 FC 20 F8 90 */ fmr f1, f31
/* 800BF8D8 000BC838 38 61 00 08 */ addi r3, r1, 8
/* 800BF8DC 000BC83C 38 84 01 A8 */ addi r4, r4, 0x1a8
/* 800BF8E0 000BC840 48 2A 39 CD */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 800BF8E4 000BC844 80 ED A1 40 */ lwz r7, gpTweakTargeting@sda21(r13)
/* 800BF8E8 000BC848 7F C4 F3 78 */ mr r4, r30
/* 800BF8EC 000BC84C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800BF8F0 000BC850 38 61 00 1C */ addi r3, r1, 0x1c
/* 800BF8F4 000BC854 C0 07 01 94 */ lfs f0, 0x194(r7)
/* 800BF8F8 000BC858 EC 61 F8 28 */ fsubs f3, f1, f31
/* 800BF8FC 000BC85C C0 47 01 98 */ lfs f2, 0x198(r7)
/* 800BF900 000BC860 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800BF904 000BC864 80 C1 00 34 */ lwz r6, 0x34(r1)
/* 800BF908 000BC868 80 A1 00 38 */ lwz r5, 0x38(r1)
/* 800BF90C 000BC86C 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 800BF910 000BC870 90 C1 00 1C */ stw r6, 0x1c(r1)
/* 800BF914 000BC874 EF E3 00 BA */ fmadds f31, f3, f2, f0
/* 800BF918 000BC878 83 C1 00 08 */ lwz r30, 8(r1)
/* 800BF91C 000BC87C 90 A1 00 20 */ stw r5, 0x20(r1)
/* 800BF920 000BC880 90 01 00 24 */ stw r0, 0x24(r1)
/* 800BF924 000BC884 C0 47 01 9C */ lfs f2, 0x19c(r7)
/* 800BF928 000BC888 C0 67 01 A0 */ lfs f3, 0x1a0(r7)
/* 800BF92C 000BC88C 4B FF D6 71 */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager
/* 800BF930 000BC890 EC 21 07 F2 */ fmuls f1, f1, f31
/* 800BF934 000BC894 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800BF938 000BC898 7F 84 E3 78 */ mr r4, r28
/* 800BF93C 000BC89C 38 61 00 94 */ addi r3, r1, 0x94
/* 800BF940 000BC8A0 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 800BF944 000BC8A4 38 A1 00 70 */ addi r5, r1, 0x70
/* 800BF948 000BC8A8 D0 21 00 70 */ stfs f1, 0x70(r1)
/* 800BF94C 000BC8AC D0 01 00 78 */ stfs f0, 0x78(r1)
/* 800BF950 000BC8B0 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 800BF954 000BC8B4 D0 21 00 80 */ stfs f1, 0x80(r1)
/* 800BF958 000BC8B8 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 800BF95C 000BC8BC D0 01 00 88 */ stfs f0, 0x88(r1)
/* 800BF960 000BC8C0 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 800BF964 000BC8C4 D0 21 00 90 */ stfs f1, 0x90(r1)
/* 800BF968 000BC8C8 48 25 07 C9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f
/* 800BF96C 000BC8CC 38 61 00 B8 */ addi r3, r1, 0xb8
/* 800BF970 000BC8D0 38 81 00 94 */ addi r4, r1, 0x94
/* 800BF974 000BC8D4 48 25 06 B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BF978 000BC8D8 38 61 00 40 */ addi r3, r1, 0x40
/* 800BF97C 000BC8DC 38 81 00 B8 */ addi r4, r1, 0xb8
/* 800BF980 000BC8E0 38 A1 00 34 */ addi r5, r1, 0x34
/* 800BF984 000BC8E4 48 25 38 F5 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800BF988 000BC8E8 7C 64 1B 78 */ mr r4, r3
/* 800BF98C 000BC8EC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 800BF990 000BC8F0 81 83 00 00 */ lwz r12, 0(r3)
/* 800BF994 000BC8F4 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 800BF998 000BC8F8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800BF99C 000BC8FC 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800BF9A0 000BC900 38 A0 00 03 */ li r5, 3
/* 800BF9A4 000BC904 38 E0 00 07 */ li r7, 7
/* 800BF9A8 000BC908 38 C0 00 00 */ li r6, 0
/* 800BF9AC 000BC90C 57 A0 06 3E */ clrlwi r0, r29, 0x18
/* 800BF9B0 000BC910 50 A0 00 3A */ rlwimi r0, r5, 0, 0, 0x1d
/* 800BF9B4 000BC914 80 7F 00 9C */ lwz r3, 0x9c(r31)
/* 800BF9B8 000BC918 98 E1 00 0C */ stb r7, 0xc(r1)
/* 800BF9BC 000BC91C 38 81 00 14 */ addi r4, r1, 0x14
/* 800BF9C0 000BC920 98 C1 00 0D */ stb r6, 0xd(r1)
/* 800BF9C4 000BC924 B0 A1 00 0E */ sth r5, 0xe(r1)
/* 800BF9C8 000BC928 93 C1 00 10 */ stw r30, 0x10(r1)
/* 800BF9CC 000BC92C 98 E1 00 14 */ stb r7, 0x14(r1)
/* 800BF9D0 000BC930 98 C1 00 15 */ stb r6, 0x15(r1)
/* 800BF9D4 000BC934 B0 01 00 16 */ sth r0, 0x16(r1)
/* 800BF9D8 000BC938 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800BF9DC 000BC93C 48 29 61 F9 */ bl Draw__6CModelCFRC11CModelFlags
/* 800BF9E0 000BC940 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0
/* 800BF9E4 000BC944 CB E1 01 00 */ lfd f31, 0x100(r1)
/* 800BF9E8 000BC948 BB 61 00 EC */ lmw r27, 0xec(r1)
/* 800BF9EC 000BC94C 80 01 01 14 */ lwz r0, 0x114(r1)
/* 800BF9F0 000BC950 7C 08 03 A6 */ mtlr r0
/* 800BF9F4 000BC954 38 21 01 10 */ addi r1, r1, 0x110
2022-07-14 05:48:03 +00:00
/* 800BF9F8 000BC958 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager
DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager:
/* 800BF9FC 000BC95C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800BFA00 000BC960 7C 08 02 A6 */ mflr r0
/* 800BFA04 000BC964 90 01 00 54 */ stw r0, 0x54(r1)
/* 800BFA08 000BC968 BF 41 00 38 */ stmw r26, 0x38(r1)
/* 800BFA0C 000BC96C 7C 7B 1B 78 */ mr r27, r3
/* 800BFA10 000BC970 7C 9C 23 78 */ mr r28, r4
/* 800BFA14 000BC974 7C BD 2B 78 */ mr r29, r5
/* 800BFA18 000BC978 7C DA 33 78 */ mr r26, r6
/* 800BFA1C 000BC97C 80 03 00 28 */ lwz r0, 0x28(r3)
/* 800BFA20 000BC980 2C 00 00 00 */ cmpwi r0, 0
/* 800BFA24 000BC984 41 81 02 1C */ bgt lbl_800BFC40
/* 800BFA28 000BC988 80 7D 08 B8 */ lwz r3, 0x8b8(r29)
/* 800BFA2C 000BC98C 38 80 00 0C */ li r4, 0xc
/* 800BFA30 000BC990 80 63 00 00 */ lwz r3, 0(r3)
/* 800BFA34 000BC994 4B FD 20 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 800BFA38 000BC998 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800BFA3C 000BC99C 41 82 02 04 */ beq lbl_800BFC40
/* 800BFA40 000BC9A0 80 1B 00 9C */ lwz r0, 0x9c(r27)
/* 800BFA44 000BC9A4 28 00 00 00 */ cmplwi r0, 0
/* 800BFA48 000BC9A8 40 82 00 30 */ bne lbl_800BFA78
/* 800BFA4C 000BC9AC 88 1B 00 98 */ lbz r0, 0x98(r27)
/* 800BFA50 000BC9B0 28 00 00 00 */ cmplwi r0, 0
/* 800BFA54 000BC9B4 41 82 00 24 */ beq lbl_800BFA78
/* 800BFA58 000BC9B8 80 7B 00 94 */ lwz r3, 0x94(r27)
/* 800BFA5C 000BC9BC 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800BFA60 000BC9C0 28 00 00 00 */ cmplwi r0, 0
/* 800BFA64 000BC9C4 41 82 00 14 */ beq lbl_800BFA78
/* 800BFA68 000BC9C8 38 7B 00 94 */ addi r3, r27, 0x94
/* 800BFA6C 000BC9CC 48 28 13 A1 */ bl GetObj__6CTokenFv
/* 800BFA70 000BC9D0 80 03 00 04 */ lwz r0, 4(r3)
/* 800BFA74 000BC9D4 90 1B 00 9C */ stw r0, 0x9c(r27)
lbl_800BFA78:
/* 800BFA78 000BC9D8 80 1B 00 9C */ lwz r0, 0x9c(r27)
/* 800BFA7C 000BC9DC 28 00 00 00 */ cmplwi r0, 0
/* 800BFA80 000BC9E0 41 82 01 C0 */ beq lbl_800BFC40
/* 800BFA84 000BC9E4 80 1B 00 20 */ lwz r0, 0x20(r27)
/* 800BFA88 000BC9E8 2C 00 00 01 */ cmpwi r0, 1
/* 800BFA8C 000BC9EC 41 82 01 B4 */ beq lbl_800BFC40
/* 800BFA90 000BC9F0 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 800BFA94 000BC9F4 83 FD 08 10 */ lwz r31, 0x810(r29)
/* 800BFA98 000BC9F8 41 82 01 0C */ beq lbl_800BFBA4
/* 800BFA9C 000BC9FC AB DF 20 08 */ lha r30, 0x2008(r31)
/* 800BFAA0 000BCA00 48 00 00 F8 */ b lbl_800BFB98
lbl_800BFAA4:
/* 800BFAA4 000BCA04 7F E3 FB 78 */ mr r3, r31
/* 800BFAA8 000BCA08 7F C4 F3 78 */ mr r4, r30
/* 800BFAAC 000BCA0C 4B F5 02 31 */ bl __vc__11CObjectListCFi
/* 800BFAB0 000BCA10 7C 64 1B 78 */ mr r4, r3
/* 800BFAB4 000BCA14 38 61 00 28 */ addi r3, r1, 0x28
/* 800BFAB8 000BCA18 4B FE A0 11 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity"
/* 800BFABC 000BCA1C 80 83 00 04 */ lwz r4, 4(r3)
/* 800BFAC0 000BCA20 28 04 00 00 */ cmplwi r4, 0
/* 800BFAC4 000BCA24 41 82 00 B8 */ beq lbl_800BFB7C
/* 800BFAC8 000BCA28 88 04 00 30 */ lbz r0, 0x30(r4)
/* 800BFACC 000BCA2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800BFAD0 000BCA30 41 82 00 AC */ beq lbl_800BFB7C
/* 800BFAD4 000BCA34 80 C4 00 04 */ lwz r6, 4(r4)
2022-04-24 01:54:45 +00:00
/* 800BFAD8 000BCA38 80 0D A3 90 */ lwz r0, kInvalidAreaId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800BFADC 000BCA3C 90 C1 00 14 */ stw r6, 0x14(r1)
/* 800BFAE0 000BCA40 7C 06 00 00 */ cmpw r6, r0
/* 800BFAE4 000BCA44 41 82 00 40 */ beq lbl_800BFB24
/* 800BFAE8 000BCA48 80 BD 08 50 */ lwz r5, 0x850(r29)
/* 800BFAEC 000BCA4C 54 C3 18 38 */ slwi r3, r6, 3
/* 800BFAF0 000BCA50 38 03 00 04 */ addi r0, r3, 4
/* 800BFAF4 000BCA54 90 C1 00 10 */ stw r6, 0x10(r1)
/* 800BFAF8 000BCA58 80 65 00 20 */ lwz r3, 0x20(r5)
/* 800BFAFC 000BCA5C 7C 63 00 2E */ lwzx r3, r3, r0
/* 800BFB00 000BCA60 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 800BFB04 000BCA64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800BFB08 000BCA68 41 82 00 10 */ beq lbl_800BFB18
/* 800BFB0C 000BCA6C 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 800BFB10 000BCA70 80 03 10 DC */ lwz r0, 0x10dc(r3)
/* 800BFB14 000BCA74 48 00 00 08 */ b lbl_800BFB1C
lbl_800BFB18:
/* 800BFB18 000BCA78 38 00 00 00 */ li r0, 0
lbl_800BFB1C:
/* 800BFB1C 000BCA7C 2C 00 00 01 */ cmpwi r0, 1
/* 800BFB20 000BCA80 40 82 00 5C */ bne lbl_800BFB7C
lbl_800BFB24:
/* 800BFB24 000BCA84 A0 64 00 08 */ lhz r3, 8(r4)
/* 800BFB28 000BCA88 A0 1B 01 DC */ lhz r0, 0x1dc(r27)
/* 800BFB2C 000BCA8C C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800BFB30 000BCA90 7C 03 00 40 */ cmplw r3, r0
/* 800BFB34 000BCA94 40 82 00 0C */ bne lbl_800BFB40
/* 800BFB38 000BCA98 C0 3B 01 E0 */ lfs f1, 0x1e0(r27)
/* 800BFB3C 000BCA9C 48 00 00 14 */ b lbl_800BFB50
lbl_800BFB40:
/* 800BFB40 000BCAA0 A0 1B 01 DE */ lhz r0, 0x1de(r27)
/* 800BFB44 000BCAA4 7C 03 00 40 */ cmplw r3, r0
/* 800BFB48 000BCAA8 40 82 00 08 */ bne lbl_800BFB50
/* 800BFB4C 000BCAAC C0 3B 01 E4 */ lfs f1, 0x1e4(r27)
lbl_800BFB50:
/* 800BFB50 000BCAB0 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2)
/* 800BFB54 000BCAB4 C8 02 8D A0 */ lfd f0, lbl_805AAAC0@sda21(r2)
/* 800BFB58 000BCAB8 EC 41 10 28 */ fsubs f2, f1, f2
/* 800BFB5C 000BCABC FC 40 12 10 */ fabs f2, f2
/* 800BFB60 000BCAC0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800BFB64 000BCAC4 40 80 00 18 */ bge lbl_800BFB7C
/* 800BFB68 000BCAC8 7F 63 DB 78 */ mr r3, r27
/* 800BFB6C 000BCACC 7F A5 EB 78 */ mr r5, r29
/* 800BFB70 000BCAD0 7F 86 E3 78 */ mr r6, r28
/* 800BFB74 000BCAD4 38 E0 00 01 */ li r7, 1
/* 800BFB78 000BCAD8 4B FF FC DD */ bl DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb
lbl_800BFB7C:
/* 800BFB7C 000BCADC 2C 1E FF FF */ cmpwi r30, -1
/* 800BFB80 000BCAE0 41 82 00 14 */ beq lbl_800BFB94
/* 800BFB84 000BCAE4 57 C3 18 38 */ slwi r3, r30, 3
/* 800BFB88 000BCAE8 38 03 00 08 */ addi r0, r3, 8
/* 800BFB8C 000BCAEC 7F DF 02 AE */ lhax r30, r31, r0
/* 800BFB90 000BCAF0 48 00 00 08 */ b lbl_800BFB98
lbl_800BFB94:
/* 800BFB94 000BCAF4 3B C0 FF FF */ li r30, -1
lbl_800BFB98:
/* 800BFB98 000BCAF8 2C 1E FF FF */ cmpwi r30, -1
/* 800BFB9C 000BCAFC 40 82 FF 08 */ bne lbl_800BFAA4
/* 800BFBA0 000BCB00 48 00 00 A0 */ b lbl_800BFC40
lbl_800BFBA4:
/* 800BFBA4 000BCB04 A0 1B 01 DC */ lhz r0, 0x1dc(r27)
/* 800BFBA8 000BCB08 7F A3 EB 78 */ mr r3, r29
/* 800BFBAC 000BCB0C 38 81 00 0C */ addi r4, r1, 0xc
/* 800BFBB0 000BCB10 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800BFBB4 000BCB14 4B F8 C9 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800BFBB8 000BCB18 7C 64 1B 78 */ mr r4, r3
/* 800BFBBC 000BCB1C 38 61 00 20 */ addi r3, r1, 0x20
/* 800BFBC0 000BCB20 4B FE 9F 09 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity"
/* 800BFBC4 000BCB24 83 C3 00 04 */ lwz r30, 4(r3)
/* 800BFBC8 000BCB28 7F A3 EB 78 */ mr r3, r29
/* 800BFBCC 000BCB2C A0 1B 01 DE */ lhz r0, 0x1de(r27)
/* 800BFBD0 000BCB30 38 81 00 08 */ addi r4, r1, 8
/* 800BFBD4 000BCB34 B0 01 00 08 */ sth r0, 8(r1)
/* 800BFBD8 000BCB38 4B F8 C9 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800BFBDC 000BCB3C 7C 64 1B 78 */ mr r4, r3
/* 800BFBE0 000BCB40 38 61 00 18 */ addi r3, r1, 0x18
/* 800BFBE4 000BCB44 4B FE 9E E5 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity"
/* 800BFBE8 000BCB48 83 E3 00 04 */ lwz r31, 4(r3)
/* 800BFBEC 000BCB4C 3B 40 00 00 */ li r26, 0
lbl_800BFBF0:
/* 800BFBF0 000BCB50 2C 1A 00 00 */ cmpwi r26, 0
/* 800BFBF4 000BCB54 40 82 00 0C */ bne lbl_800BFC00
/* 800BFBF8 000BCB58 7F C4 F3 78 */ mr r4, r30
/* 800BFBFC 000BCB5C 48 00 00 08 */ b lbl_800BFC04
lbl_800BFC00:
/* 800BFC00 000BCB60 7F E4 FB 78 */ mr r4, r31
lbl_800BFC04:
/* 800BFC04 000BCB64 2C 1A 00 00 */ cmpwi r26, 0
/* 800BFC08 000BCB68 40 82 00 0C */ bne lbl_800BFC14
/* 800BFC0C 000BCB6C C0 3B 01 E0 */ lfs f1, 0x1e0(r27)
/* 800BFC10 000BCB70 48 00 00 08 */ b lbl_800BFC18
lbl_800BFC14:
/* 800BFC14 000BCB74 C0 3B 01 E4 */ lfs f1, 0x1e4(r27)
lbl_800BFC18:
/* 800BFC18 000BCB78 28 04 00 00 */ cmplwi r4, 0
/* 800BFC1C 000BCB7C 41 82 00 18 */ beq lbl_800BFC34
/* 800BFC20 000BCB80 7F 63 DB 78 */ mr r3, r27
/* 800BFC24 000BCB84 7F A5 EB 78 */ mr r5, r29
/* 800BFC28 000BCB88 7F 86 E3 78 */ mr r6, r28
/* 800BFC2C 000BCB8C 38 E0 00 00 */ li r7, 0
/* 800BFC30 000BCB90 4B FF FC 25 */ bl DrawGrapplePoint__22CCompoundTargetReticleFRC19CScriptGrapplePointRC13CStateManagerRC9CMatrix3fb
lbl_800BFC34:
/* 800BFC34 000BCB94 3B 5A 00 01 */ addi r26, r26, 1
/* 800BFC38 000BCB98 2C 1A 00 02 */ cmpwi r26, 2
/* 800BFC3C 000BCB9C 41 80 FF B4 */ blt lbl_800BFBF0
lbl_800BFC40:
/* 800BFC40 000BCBA0 BB 41 00 38 */ lmw r26, 0x38(r1)
/* 800BFC44 000BCBA4 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800BFC48 000BCBA8 7C 08 03 A6 */ mtlr r0
/* 800BFC4C 000BCBAC 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 800BFC50 000BCBB0 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global Draw__22CCompoundTargetReticleCFRC13CStateManager
Draw__22CCompoundTargetReticleCFRC13CStateManager:
/* 800BFC54 000BCBB4 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 800BFC58 000BCBB8 7C 08 02 A6 */ mflr r0
/* 800BFC5C 000BCBBC 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 800BFC60 000BCBC0 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 800BFC64 000BCBC4 7C BF 2B 78 */ mr r31, r5
/* 800BFC68 000BCBC8 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 800BFC6C 000BCBCC 7C 9E 23 78 */ mr r30, r4
/* 800BFC70 000BCBD0 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 800BFC74 000BCBD4 7C 7D 1B 78 */ mr r29, r3
/* 800BFC78 000BCBD8 80 64 08 4C */ lwz r3, 0x84c(r4)
/* 800BFC7C 000BCBDC 80 03 02 F8 */ lwz r0, 0x2f8(r3)
/* 800BFC80 000BCBE0 2C 00 00 00 */ cmpwi r0, 0
/* 800BFC84 000BCBE4 40 82 00 AC */ bne lbl_800BFD30
/* 800BFC88 000BCBE8 80 7E 08 70 */ lwz r3, 0x870(r30)
/* 800BFC8C 000BCBEC 4B F4 AC 75 */ bl IsInCinematicCamera__14CCameraManagerCFv
/* 800BFC90 000BCBF0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800BFC94 000BCBF4 40 82 00 9C */ bne lbl_800BFD30
/* 800BFC98 000BCBF8 80 9E 08 70 */ lwz r4, 0x870(r30)
/* 800BFC9C 000BCBFC 7F C5 F3 78 */ mr r5, r30
/* 800BFCA0 000BCC00 38 61 00 2C */ addi r3, r1, 0x2c
/* 800BFCA4 000BCC04 4B F4 AC C5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager
/* 800BFCA8 000BCC08 38 61 00 80 */ addi r3, r1, 0x80
/* 800BFCAC 000BCC0C 38 81 00 2C */ addi r4, r1, 0x2c
/* 800BFCB0 000BCC10 48 25 2E C5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800BFCB4 000BCC14 38 61 00 80 */ addi r3, r1, 0x80
/* 800BFCB8 000BCC18 48 24 CA 95 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 800BFCBC 000BCC1C 38 61 00 08 */ addi r3, r1, 8
/* 800BFCC0 000BCC20 38 81 00 80 */ addi r4, r1, 0x80
/* 800BFCC4 000BCC24 48 25 34 31 */ bl BuildMatrix3f__12CTransform4fCFv
/* 800BFCC8 000BCC28 38 61 00 5C */ addi r3, r1, 0x5c
/* 800BFCCC 000BCC2C 38 81 00 08 */ addi r4, r1, 8
/* 800BFCD0 000BCC30 48 25 03 55 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 800BFCD4 000BCC34 38 60 00 00 */ li r3, 0
/* 800BFCD8 000BCC38 48 24 BD 99 */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 800BFCDC 000BCC3C 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800BFCE0 000BCC40 40 82 00 34 */ bne lbl_800BFD14
/* 800BFCE4 000BCC44 7F A3 EB 78 */ mr r3, r29
/* 800BFCE8 000BCC48 7F C5 F3 78 */ mr r5, r30
/* 800BFCEC 000BCC4C 38 81 00 5C */ addi r4, r1, 0x5c
/* 800BFCF0 000BCC50 4B FF E5 6D */ bl DrawCurrLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager
/* 800BFCF4 000BCC54 7F A3 EB 78 */ mr r3, r29
/* 800BFCF8 000BCC58 7F C5 F3 78 */ mr r5, r30
/* 800BFCFC 000BCC5C 38 81 00 5C */ addi r4, r1, 0x5c
/* 800BFD00 000BCC60 4B FF DB 09 */ bl DrawNextLockOnGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager
/* 800BFD04 000BCC64 7F A3 EB 78 */ mr r3, r29
/* 800BFD08 000BCC68 7F C5 F3 78 */ mr r5, r30
/* 800BFD0C 000BCC6C 38 81 00 5C */ addi r4, r1, 0x5c
/* 800BFD10 000BCC70 4B FF D9 8D */ bl DrawOrbitZoneGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager
lbl_800BFD14:
/* 800BFD14 000BCC74 7F A3 EB 78 */ mr r3, r29
/* 800BFD18 000BCC78 7F C5 F3 78 */ mr r5, r30
/* 800BFD1C 000BCC7C 7F E6 FB 78 */ mr r6, r31
/* 800BFD20 000BCC80 38 81 00 5C */ addi r4, r1, 0x5c
/* 800BFD24 000BCC84 4B FF FC D9 */ bl DrawGrappleGroup__22CCompoundTargetReticleCFRC9CMatrix3fRC13CStateManager
/* 800BFD28 000BCC88 38 60 00 01 */ li r3, 1
/* 800BFD2C 000BCC8C 48 24 BD 45 */ bl SetCullMode__9CGraphicsF12ERglCullMode
lbl_800BFD30:
/* 800BFD30 000BCC90 80 7D 00 28 */ lwz r3, 0x28(r29)
/* 800BFD34 000BCC94 2C 03 00 00 */ cmpwi r3, 0
/* 800BFD38 000BCC98 40 81 00 0C */ ble lbl_800BFD44
/* 800BFD3C 000BCC9C 38 03 FF FF */ addi r0, r3, -1
/* 800BFD40 000BCCA0 90 1D 00 28 */ stw r0, 0x28(r29)
lbl_800BFD44:
/* 800BFD44 000BCCA4 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 800BFD48 000BCCA8 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 800BFD4C 000BCCAC 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 800BFD50 000BCCB0 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 800BFD54 000BCCB4 7C 08 03 A6 */ mtlr r0
/* 800BFD58 000BCCB8 38 21 00 C0 */ addi r1, r1, 0xc0
2022-07-14 05:48:03 +00:00
/* 800BFD5C 000BCCBC 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager
UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager:
/* 800BFD60 000BCCC0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800BFD64 000BCCC4 A0 03 00 F0 */ lhz r0, 0xf0(r3)
2022-04-24 01:54:45 +00:00
/* 800BFD68 000BCCC8 A0 AD A3 8C */ lhz r5, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800BFD6C 000BCCCC 7C 00 28 40 */ cmplw r0, r5
/* 800BFD70 000BCCD0 40 82 00 44 */ bne lbl_800BFDB4
/* 800BFD74 000BCCD4 A0 03 00 F2 */ lhz r0, 0xf2(r3)
/* 800BFD78 000BCCD8 7C 00 28 40 */ cmplw r0, r5
/* 800BFD7C 000BCCDC 41 82 00 38 */ beq lbl_800BFDB4
/* 800BFD80 000BCCE0 C0 62 8D A8 */ lfs f3, lbl_805AAAC8@sda21(r2)
/* 800BFD84 000BCCE4 C0 43 02 0C */ lfs f2, 0x20c(r3)
/* 800BFD88 000BCCE8 C0 0D 86 98 */ lfs f0, lbl_805A7258@sda21(r13)
/* 800BFD8C 000BCCEC EC 43 10 7A */ fmadds f2, f3, f1, f2
/* 800BFD90 000BCCF0 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 800BFD94 000BCCF4 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 800BFD98 000BCCF8 40 80 00 0C */ bge lbl_800BFDA4
/* 800BFD9C 000BCCFC 38 AD 86 98 */ addi r5, r13, lbl_805A7258@sda21
/* 800BFDA0 000BCD00 48 00 00 08 */ b lbl_800BFDA8
lbl_800BFDA4:
/* 800BFDA4 000BCD04 38 A1 00 14 */ addi r5, r1, 0x14
lbl_800BFDA8:
/* 800BFDA8 000BCD08 C0 05 00 00 */ lfs f0, 0(r5)
/* 800BFDAC 000BCD0C D0 03 02 0C */ stfs f0, 0x20c(r3)
/* 800BFDB0 000BCD10 48 00 00 34 */ b lbl_800BFDE4
lbl_800BFDB4:
/* 800BFDB4 000BCD14 C0 62 8D A8 */ lfs f3, lbl_805AAAC8@sda21(r2)
/* 800BFDB8 000BCD18 C0 43 02 0C */ lfs f2, 0x20c(r3)
/* 800BFDBC 000BCD1C C0 0D 86 9C */ lfs f0, lbl_805A725C@sda21(r13)
/* 800BFDC0 000BCD20 EC 43 10 7C */ fnmsubs f2, f3, f1, f2
/* 800BFDC4 000BCD24 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800BFDC8 000BCD28 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 800BFDCC 000BCD2C 40 80 00 0C */ bge lbl_800BFDD8
/* 800BFDD0 000BCD30 38 AD 86 9C */ addi r5, r13, lbl_805A725C@sda21
/* 800BFDD4 000BCD34 48 00 00 08 */ b lbl_800BFDDC
lbl_800BFDD8:
/* 800BFDD8 000BCD38 38 A1 00 10 */ addi r5, r1, 0x10
lbl_800BFDDC:
/* 800BFDDC 000BCD3C C0 05 00 00 */ lfs f0, 0(r5)
/* 800BFDE0 000BCD40 D0 03 02 0C */ stfs f0, 0x20c(r3)
lbl_800BFDE4:
/* 800BFDE4 000BCD44 80 A4 08 4C */ lwz r5, 0x84c(r4)
/* 800BFDE8 000BCD48 88 05 09 C4 */ lbz r0, 0x9c4(r5)
/* 800BFDEC 000BCD4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800BFDF0 000BCD50 41 82 00 54 */ beq lbl_800BFE44
/* 800BFDF4 000BCD54 80 84 08 B8 */ lwz r4, 0x8b8(r4)
/* 800BFDF8 000BCD58 80 84 00 00 */ lwz r4, 0(r4)
/* 800BFDFC 000BCD5C 80 04 00 14 */ lwz r0, 0x14(r4)
/* 800BFE00 000BCD60 2C 00 00 02 */ cmpwi r0, 2
/* 800BFE04 000BCD64 41 82 00 40 */ beq lbl_800BFE44
/* 800BFE08 000BCD68 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13)
/* 800BFE0C 000BCD6C C0 63 01 E8 */ lfs f3, 0x1e8(r3)
/* 800BFE10 000BCD70 C0 44 01 C4 */ lfs f2, 0x1c4(r4)
/* 800BFE14 000BCD74 C0 0D 86 A0 */ lfs f0, lbl_805A7260@sda21(r13)
/* 800BFE18 000BCD78 EC 21 10 24 */ fdivs f1, f1, f2
/* 800BFE1C 000BCD7C EC 23 08 2A */ fadds f1, f3, f1
/* 800BFE20 000BCD80 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800BFE24 000BCD84 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 800BFE28 000BCD88 40 80 00 0C */ bge lbl_800BFE34
/* 800BFE2C 000BCD8C 38 8D 86 A0 */ addi r4, r13, lbl_805A7260@sda21
/* 800BFE30 000BCD90 48 00 00 08 */ b lbl_800BFE38
lbl_800BFE34:
/* 800BFE34 000BCD94 38 81 00 0C */ addi r4, r1, 0xc
lbl_800BFE38:
/* 800BFE38 000BCD98 C0 04 00 00 */ lfs f0, 0(r4)
/* 800BFE3C 000BCD9C D0 03 01 E8 */ stfs f0, 0x1e8(r3)
/* 800BFE40 000BCDA0 48 00 00 3C */ b lbl_800BFE7C
lbl_800BFE44:
/* 800BFE44 000BCDA4 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13)
/* 800BFE48 000BCDA8 C0 63 01 E8 */ lfs f3, 0x1e8(r3)
/* 800BFE4C 000BCDAC C0 44 01 C4 */ lfs f2, 0x1c4(r4)
/* 800BFE50 000BCDB0 C0 0D 86 A4 */ lfs f0, lbl_805A7264@sda21(r13)
/* 800BFE54 000BCDB4 EC 21 10 24 */ fdivs f1, f1, f2
/* 800BFE58 000BCDB8 EC 23 08 28 */ fsubs f1, f3, f1
/* 800BFE5C 000BCDBC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800BFE60 000BCDC0 D0 21 00 08 */ stfs f1, 8(r1)
/* 800BFE64 000BCDC4 40 80 00 0C */ bge lbl_800BFE70
/* 800BFE68 000BCDC8 38 8D 86 A4 */ addi r4, r13, lbl_805A7264@sda21
/* 800BFE6C 000BCDCC 48 00 00 08 */ b lbl_800BFE74
lbl_800BFE70:
/* 800BFE70 000BCDD0 38 81 00 08 */ addi r4, r1, 8
lbl_800BFE74:
/* 800BFE74 000BCDD4 C0 04 00 00 */ lfs f0, 0(r4)
/* 800BFE78 000BCDD8 D0 03 01 E8 */ stfs f0, 0x1e8(r3)
lbl_800BFE7C:
/* 800BFE7C 000BCDDC 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 800BFE80 000BCDE0 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager
UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager:
/* 800BFE84 000BCDE4 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 800BFE88 000BCDE8 7C 08 02 A6 */ mflr r0
/* 800BFE8C 000BCDEC 90 01 00 94 */ stw r0, 0x94(r1)
/* 800BFE90 000BCDF0 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 800BFE94 000BCDF4 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 800BFE98 000BCDF8 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 800BFE9C 000BCDFC 93 C1 00 78 */ stw r30, 0x78(r1)
/* 800BFEA0 000BCE00 7C 9F 23 78 */ mr r31, r4
/* 800BFEA4 000BCE04 FF E0 08 90 */ fmr f31, f1
/* 800BFEA8 000BCE08 80 84 08 B8 */ lwz r4, 0x8b8(r4)
/* 800BFEAC 000BCE0C 7C 7E 1B 78 */ mr r30, r3
/* 800BFEB0 000BCE10 80 BF 08 4C */ lwz r5, 0x84c(r31)
/* 800BFEB4 000BCE14 80 64 00 00 */ lwz r3, 0(r4)
/* 800BFEB8 000BCE18 A0 05 03 3C */ lhz r0, 0x33c(r5)
/* 800BFEBC 000BCE1C 80 63 00 14 */ lwz r3, 0x14(r3)
/* 800BFEC0 000BCE20 B0 01 00 14 */ sth r0, 0x14(r1)
/* 800BFEC4 000BCE24 2C 03 00 02 */ cmpwi r3, 2
/* 800BFEC8 000BCE28 40 82 00 18 */ bne lbl_800BFEE0
/* 800BFECC 000BCE2C A0 65 03 10 */ lhz r3, 0x310(r5)
2022-04-24 01:54:45 +00:00
/* 800BFED0 000BCE30 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800BFED4 000BCE34 7C 03 00 40 */ cmplw r3, r0
/* 800BFED8 000BCE38 41 82 00 08 */ beq lbl_800BFEE0
/* 800BFEDC 000BCE3C B0 61 00 14 */ sth r3, 0x14(r1)
lbl_800BFEE0:
/* 800BFEE0 000BCE40 A0 61 00 14 */ lhz r3, 0x14(r1)
/* 800BFEE4 000BCE44 A0 1E 00 F2 */ lhz r0, 0xf2(r30)
/* 800BFEE8 000BCE48 7C 03 00 40 */ cmplw r3, r0
/* 800BFEEC 000BCE4C 41 82 02 50 */ beq lbl_800C013C
2022-04-24 01:54:45 +00:00
/* 800BFEF0 000BCE50 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800BFEF4 000BCE54 7C 00 18 40 */ cmplw r0, r3
/* 800BFEF8 000BCE58 40 82 01 18 */ bne lbl_800C0010
/* 800BFEFC 000BCE5C A0 7E 01 74 */ lhz r3, 0x174(r30)
/* 800BFF00 000BCE60 38 00 00 00 */ li r0, 0
/* 800BFF04 000BCE64 B0 7E 01 94 */ sth r3, 0x194(r30)
/* 800BFF08 000BCE68 C0 1E 01 78 */ lfs f0, 0x178(r30)
/* 800BFF0C 000BCE6C D0 1E 01 98 */ stfs f0, 0x198(r30)
/* 800BFF10 000BCE70 80 9E 01 7C */ lwz r4, 0x17c(r30)
/* 800BFF14 000BCE74 80 7E 01 80 */ lwz r3, 0x180(r30)
/* 800BFF18 000BCE78 90 9E 01 9C */ stw r4, 0x19c(r30)
/* 800BFF1C 000BCE7C 90 7E 01 A0 */ stw r3, 0x1a0(r30)
/* 800BFF20 000BCE80 80 7E 01 84 */ lwz r3, 0x184(r30)
/* 800BFF24 000BCE84 90 7E 01 A4 */ stw r3, 0x1a4(r30)
/* 800BFF28 000BCE88 C0 1E 01 88 */ lfs f0, 0x188(r30)
/* 800BFF2C 000BCE8C D0 1E 01 A8 */ stfs f0, 0x1a8(r30)
/* 800BFF30 000BCE90 C0 1E 01 8C */ lfs f0, 0x18c(r30)
/* 800BFF34 000BCE94 D0 1E 01 AC */ stfs f0, 0x1ac(r30)
/* 800BFF38 000BCE98 88 7E 01 90 */ lbz r3, 0x190(r30)
/* 800BFF3C 000BCE9C 98 7E 01 B0 */ stb r3, 0x1b0(r30)
/* 800BFF40 000BCEA0 98 1E 01 B0 */ stb r0, 0x1b0(r30)
/* 800BFF44 000BCEA4 80 7E 00 20 */ lwz r3, 0x20(r30)
/* 800BFF48 000BCEA8 2C 03 00 02 */ cmpwi r3, 2
/* 800BFF4C 000BCEAC 41 82 00 0C */ beq lbl_800BFF58
/* 800BFF50 000BCEB0 2C 03 00 03 */ cmpwi r3, 3
/* 800BFF54 000BCEB4 40 82 00 08 */ bne lbl_800BFF5C
lbl_800BFF58:
/* 800BFF58 000BCEB8 38 00 00 01 */ li r0, 1
lbl_800BFF5C:
/* 800BFF5C 000BCEBC 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800BFF60 000BCEC0 41 82 00 0C */ beq lbl_800BFF6C
/* 800BFF64 000BCEC4 39 1E 01 00 */ addi r8, r30, 0x100
/* 800BFF68 000BCEC8 48 00 00 08 */ b lbl_800BFF70
lbl_800BFF6C:
/* 800BFF6C 000BCECC 39 1E 00 F4 */ addi r8, r30, 0xf4
lbl_800BFF70:
/* 800BFF70 000BCED0 80 08 00 00 */ lwz r0, 0(r8)
/* 800BFF74 000BCED4 38 61 00 54 */ addi r3, r1, 0x54
/* 800BFF78 000BCED8 80 E8 00 04 */ lwz r7, 4(r8)
/* 800BFF7C 000BCEDC 38 81 00 10 */ addi r4, r1, 0x10
/* 800BFF80 000BCEE0 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800BFF84 000BCEE4 38 A1 00 28 */ addi r5, r1, 0x28
/* 800BFF88 000BCEE8 90 01 00 28 */ stw r0, 0x28(r1)
/* 800BFF8C 000BCEEC 38 C0 00 01 */ li r6, 1
2022-04-24 01:54:45 +00:00
/* 800BFF90 000BCEF0 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800BFF94 000BCEF4 FC 60 08 90 */ fmr f3, f1
/* 800BFF98 000BCEF8 90 E1 00 2C */ stw r7, 0x2c(r1)
/* 800BFF9C 000BCEFC C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2)
/* 800BFFA0 000BCF00 80 E8 00 08 */ lwz r7, 8(r8)
/* 800BFFA4 000BCF04 90 E1 00 30 */ stw r7, 0x30(r1)
/* 800BFFA8 000BCF08 B0 01 00 10 */ sth r0, 0x10(r1)
/* 800BFFAC 000BCF0C 4B FF CF BD */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb
/* 800BFFB0 000BCF10 A0 61 00 54 */ lhz r3, 0x54(r1)
/* 800BFFB4 000BCF14 A0 01 00 14 */ lhz r0, 0x14(r1)
/* 800BFFB8 000BCF18 B0 7E 01 B4 */ sth r3, 0x1b4(r30)
/* 800BFFBC 000BCF1C C0 01 00 58 */ lfs f0, 0x58(r1)
/* 800BFFC0 000BCF20 D0 1E 01 B8 */ stfs f0, 0x1b8(r30)
/* 800BFFC4 000BCF24 80 81 00 5C */ lwz r4, 0x5c(r1)
/* 800BFFC8 000BCF28 80 61 00 60 */ lwz r3, 0x60(r1)
/* 800BFFCC 000BCF2C 90 9E 01 BC */ stw r4, 0x1bc(r30)
/* 800BFFD0 000BCF30 90 7E 01 C0 */ stw r3, 0x1c0(r30)
/* 800BFFD4 000BCF34 80 61 00 64 */ lwz r3, 0x64(r1)
/* 800BFFD8 000BCF38 90 7E 01 C4 */ stw r3, 0x1c4(r30)
/* 800BFFDC 000BCF3C C0 01 00 68 */ lfs f0, 0x68(r1)
/* 800BFFE0 000BCF40 D0 1E 01 C8 */ stfs f0, 0x1c8(r30)
/* 800BFFE4 000BCF44 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 800BFFE8 000BCF48 D0 1E 01 CC */ stfs f0, 0x1cc(r30)
/* 800BFFEC 000BCF4C 88 61 00 70 */ lbz r3, 0x70(r1)
/* 800BFFF0 000BCF50 98 7E 01 D0 */ stb r3, 0x1d0(r30)
/* 800BFFF4 000BCF54 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800BFFF8 000BCF58 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 800BFFFC 000BCF5C D0 1E 01 D4 */ stfs f0, 0x1d4(r30)
/* 800C0000 000BCF60 C0 1E 01 D4 */ lfs f0, 0x1d4(r30)
/* 800C0004 000BCF64 D0 1E 01 D8 */ stfs f0, 0x1d8(r30)
/* 800C0008 000BCF68 B0 1E 00 F2 */ sth r0, 0xf2(r30)
/* 800C000C 000BCF6C 48 00 01 30 */ b lbl_800C013C
lbl_800C0010:
/* 800C0010 000BCF70 A0 7E 01 74 */ lhz r3, 0x174(r30)
/* 800C0014 000BCF74 38 A0 00 00 */ li r5, 0
/* 800C0018 000BCF78 A0 01 00 14 */ lhz r0, 0x14(r1)
/* 800C001C 000BCF7C 7F E4 FB 78 */ mr r4, r31
/* 800C0020 000BCF80 B0 7E 01 94 */ sth r3, 0x194(r30)
/* 800C0024 000BCF84 38 61 00 0C */ addi r3, r1, 0xc
/* 800C0028 000BCF88 C0 1E 01 78 */ lfs f0, 0x178(r30)
/* 800C002C 000BCF8C D0 1E 01 98 */ stfs f0, 0x198(r30)
/* 800C0030 000BCF90 80 FE 01 7C */ lwz r7, 0x17c(r30)
/* 800C0034 000BCF94 80 DE 01 80 */ lwz r6, 0x180(r30)
/* 800C0038 000BCF98 90 FE 01 9C */ stw r7, 0x19c(r30)
/* 800C003C 000BCF9C 90 DE 01 A0 */ stw r6, 0x1a0(r30)
/* 800C0040 000BCFA0 80 DE 01 84 */ lwz r6, 0x184(r30)
/* 800C0044 000BCFA4 90 DE 01 A4 */ stw r6, 0x1a4(r30)
/* 800C0048 000BCFA8 C0 1E 01 88 */ lfs f0, 0x188(r30)
/* 800C004C 000BCFAC D0 1E 01 A8 */ stfs f0, 0x1a8(r30)
/* 800C0050 000BCFB0 C0 1E 01 8C */ lfs f0, 0x18c(r30)
/* 800C0054 000BCFB4 D0 1E 01 AC */ stfs f0, 0x1ac(r30)
/* 800C0058 000BCFB8 88 DE 01 90 */ lbz r6, 0x190(r30)
/* 800C005C 000BCFBC 98 DE 01 B0 */ stb r6, 0x1b0(r30)
/* 800C0060 000BCFC0 98 BE 01 B0 */ stb r5, 0x1b0(r30)
/* 800C0064 000BCFC4 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800C0068 000BCFC8 4B FF D0 D5 */ bl IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager
/* 800C006C 000BCFCC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800C0070 000BCFD0 41 82 00 10 */ beq lbl_800C0080
/* 800C0074 000BCFD4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0078 000BCFD8 C0 63 01 B0 */ lfs f3, 0x1b0(r3)
/* 800C007C 000BCFDC 48 00 00 08 */ b lbl_800C0084
lbl_800C0080:
/* 800C0080 000BCFE0 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2)
lbl_800C0084:
2022-08-21 01:40:40 +00:00
/* 800C0084 000BCFE4 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 800C0088 000BCFE8 84 83 66 A0 */ lwzu r4, sZeroVector__9CVector3f@l(r3)
2022-04-12 09:14:24 +00:00
/* 800C008C 000BCFEC C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800C0090 000BCFF0 38 A1 00 1C */ addi r5, r1, 0x1c
/* 800C0094 000BCFF4 A0 01 00 14 */ lhz r0, 0x14(r1)
2022-08-21 01:40:40 +00:00
/* 800C0098 000BCFF8 80 C3 00 04 */ lwz r6, 4(r3)
2022-04-12 09:14:24 +00:00
/* 800C009C 000BCFFC FC 40 08 90 */ fmr f2, f1
/* 800C00A0 000BD000 80 E3 00 08 */ lwz r7, 8(r3)
/* 800C00A4 000BD004 38 61 00 34 */ addi r3, r1, 0x34
/* 800C00A8 000BD008 90 81 00 1C */ stw r4, 0x1c(r1)
/* 800C00AC 000BD00C 38 81 00 08 */ addi r4, r1, 8
/* 800C00B0 000BD010 90 C1 00 20 */ stw r6, 0x20(r1)
/* 800C00B4 000BD014 38 C0 00 01 */ li r6, 1
/* 800C00B8 000BD018 90 E1 00 24 */ stw r7, 0x24(r1)
/* 800C00BC 000BD01C B0 01 00 08 */ sth r0, 8(r1)
/* 800C00C0 000BD020 4B FF CE A9 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb
/* 800C00C4 000BD024 A0 01 00 34 */ lhz r0, 0x34(r1)
/* 800C00C8 000BD028 B0 1E 01 B4 */ sth r0, 0x1b4(r30)
/* 800C00CC 000BD02C C0 01 00 38 */ lfs f0, 0x38(r1)
/* 800C00D0 000BD030 D0 1E 01 B8 */ stfs f0, 0x1b8(r30)
/* 800C00D4 000BD034 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 800C00D8 000BD038 80 01 00 40 */ lwz r0, 0x40(r1)
/* 800C00DC 000BD03C 90 7E 01 BC */ stw r3, 0x1bc(r30)
/* 800C00E0 000BD040 90 1E 01 C0 */ stw r0, 0x1c0(r30)
/* 800C00E4 000BD044 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800C00E8 000BD048 90 1E 01 C4 */ stw r0, 0x1c4(r30)
/* 800C00EC 000BD04C C0 01 00 48 */ lfs f0, 0x48(r1)
/* 800C00F0 000BD050 D0 1E 01 C8 */ stfs f0, 0x1c8(r30)
/* 800C00F4 000BD054 C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 800C00F8 000BD058 D0 1E 01 CC */ stfs f0, 0x1cc(r30)
/* 800C00FC 000BD05C 88 01 00 50 */ lbz r0, 0x50(r1)
/* 800C0100 000BD060 98 1E 01 D0 */ stb r0, 0x1d0(r30)
2022-04-24 01:54:45 +00:00
/* 800C0104 000BD064 A0 6D A3 8C */ lhz r3, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C0108 000BD068 A0 1E 00 F2 */ lhz r0, 0xf2(r30)
/* 800C010C 000BD06C 7C 03 00 40 */ cmplw r3, r0
/* 800C0110 000BD070 40 82 00 10 */ bne lbl_800C0120
/* 800C0114 000BD074 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0118 000BD078 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 800C011C 000BD07C 48 00 00 0C */ b lbl_800C0128
lbl_800C0120:
/* 800C0120 000BD080 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0124 000BD084 C0 03 00 20 */ lfs f0, 0x20(r3)
lbl_800C0128:
/* 800C0128 000BD088 D0 1E 01 D4 */ stfs f0, 0x1d4(r30)
/* 800C012C 000BD08C A0 01 00 14 */ lhz r0, 0x14(r1)
/* 800C0130 000BD090 C0 1E 01 D4 */ lfs f0, 0x1d4(r30)
/* 800C0134 000BD094 D0 1E 01 D8 */ stfs f0, 0x1d8(r30)
/* 800C0138 000BD098 B0 1E 00 F2 */ sth r0, 0xf2(r30)
lbl_800C013C:
/* 800C013C 000BD09C C0 3E 01 D8 */ lfs f1, 0x1d8(r30)
/* 800C0140 000BD0A0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0144 000BD0A4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C0148 000BD0A8 40 81 00 78 */ ble lbl_800C01C0
/* 800C014C 000BD0AC 7F C3 F3 78 */ mr r3, r30
/* 800C0150 000BD0B0 7F E5 FB 78 */ mr r5, r31
/* 800C0154 000BD0B4 38 9E 01 94 */ addi r4, r30, 0x194
/* 800C0158 000BD0B8 4B FF D4 2D */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager
/* 800C015C 000BD0BC 7F C3 F3 78 */ mr r3, r30
/* 800C0160 000BD0C0 7F E5 FB 78 */ mr r5, r31
/* 800C0164 000BD0C4 38 9E 01 B4 */ addi r4, r30, 0x1b4
/* 800C0168 000BD0C8 4B FF D4 1D */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager
/* 800C016C 000BD0CC C0 3E 01 D8 */ lfs f1, 0x1d8(r30)
/* 800C0170 000BD0D0 C0 0D 86 94 */ lfs f0, lbl_805A7254@sda21(r13)
/* 800C0174 000BD0D4 EC 21 F8 28 */ fsubs f1, f1, f31
/* 800C0178 000BD0D8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C017C 000BD0DC D0 21 00 18 */ stfs f1, 0x18(r1)
/* 800C0180 000BD0E0 40 80 00 0C */ bge lbl_800C018C
/* 800C0184 000BD0E4 38 61 00 18 */ addi r3, r1, 0x18
/* 800C0188 000BD0E8 48 00 00 08 */ b lbl_800C0190
lbl_800C018C:
/* 800C018C 000BD0EC 38 6D 86 94 */ addi r3, r13, lbl_805A7254@sda21
lbl_800C0190:
/* 800C0190 000BD0F0 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C0194 000BD0F4 38 7E 01 94 */ addi r3, r30, 0x194
/* 800C0198 000BD0F8 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2)
/* 800C019C 000BD0FC 38 9E 01 74 */ addi r4, r30, 0x174
/* 800C01A0 000BD100 D0 1E 01 D8 */ stfs f0, 0x1d8(r30)
/* 800C01A4 000BD104 38 BE 01 B4 */ addi r5, r30, 0x1b4
/* 800C01A8 000BD108 C0 3E 01 D8 */ lfs f1, 0x1d8(r30)
/* 800C01AC 000BD10C C0 1E 01 D4 */ lfs f0, 0x1d4(r30)
/* 800C01B0 000BD110 EC 01 00 24 */ fdivs f0, f1, f0
/* 800C01B4 000BD114 EC 22 00 28 */ fsubs f1, f2, f0
/* 800C01B8 000BD118 4B FF CC 91 */ bl InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef
/* 800C01BC 000BD11C 48 00 00 14 */ b lbl_800C01D0
lbl_800C01C0:
/* 800C01C0 000BD120 7F C3 F3 78 */ mr r3, r30
/* 800C01C4 000BD124 7F E5 FB 78 */ mr r5, r31
/* 800C01C8 000BD128 38 9E 01 74 */ addi r4, r30, 0x174
/* 800C01CC 000BD12C 4B FF D3 B9 */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager
lbl_800C01D0:
/* 800C01D0 000BD130 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 800C01D4 000BD134 80 01 00 94 */ lwz r0, 0x94(r1)
/* 800C01D8 000BD138 CB E1 00 80 */ lfd f31, 0x80(r1)
/* 800C01DC 000BD13C 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 800C01E0 000BD140 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 800C01E4 000BD144 7C 08 03 A6 */ mtlr r0
/* 800C01E8 000BD148 38 21 00 90 */ addi r1, r1, 0x90
2022-07-14 05:48:03 +00:00
/* 800C01EC 000BD14C 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager
UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager:
/* 800C01F0 000BD150 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 800C01F4 000BD154 7C 08 02 A6 */ mflr r0
/* 800C01F8 000BD158 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 800C01FC 000BD15C DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 800C0200 000BD160 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 800C0204 000BD164 93 E1 00 9C */ stw r31, 0x9c(r1)
/* 800C0208 000BD168 93 C1 00 98 */ stw r30, 0x98(r1)
/* 800C020C 000BD16C 93 A1 00 94 */ stw r29, 0x94(r1)
/* 800C0210 000BD170 7C 9F 23 78 */ mr r31, r4
/* 800C0214 000BD174 7C 7E 1B 78 */ mr r30, r3
/* 800C0218 000BD178 83 A4 08 4C */ lwz r29, 0x84c(r4)
/* 800C021C 000BD17C FF E0 08 90 */ fmr f31, f1
/* 800C0220 000BD180 A0 03 00 F0 */ lhz r0, 0xf0(r3)
/* 800C0224 000BD184 A0 9D 03 10 */ lhz r4, 0x310(r29)
/* 800C0228 000BD188 54 83 04 3E */ clrlwi r3, r4, 0x10
/* 800C022C 000BD18C B0 81 00 18 */ sth r4, 0x18(r1)
/* 800C0230 000BD190 7C 03 00 40 */ cmplw r3, r0
/* 800C0234 000BD194 41 82 02 58 */ beq lbl_800C048C
/* 800C0238 000BD198 7C 00 20 40 */ cmplw r0, r4
/* 800C023C 000BD19C 41 82 00 84 */ beq lbl_800C02C0
2022-04-24 01:54:45 +00:00
/* 800C0240 000BD1A0 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C0244 000BD1A4 7C 03 00 40 */ cmplw r3, r0
/* 800C0248 000BD1A8 41 82 00 78 */ beq lbl_800C02C0
/* 800C024C 000BD1AC B0 81 00 14 */ sth r4, 0x14(r1)
/* 800C0250 000BD1B0 7F E3 FB 78 */ mr r3, r31
/* 800C0254 000BD1B4 38 81 00 14 */ addi r4, r1, 0x14
/* 800C0258 000BD1B8 4B F8 C3 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800C025C 000BD1BC 7C 64 1B 78 */ mr r4, r3
/* 800C0260 000BD1C0 38 61 00 40 */ addi r3, r1, 0x40
/* 800C0264 000BD1C4 4B FE 98 65 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity"
/* 800C0268 000BD1C8 80 03 00 04 */ lwz r0, 4(r3)
/* 800C026C 000BD1CC 28 00 00 00 */ cmplwi r0, 0
/* 800C0270 000BD1D0 41 82 00 2C */ beq lbl_800C029C
/* 800C0274 000BD1D4 A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
2022-04-12 09:14:24 +00:00
/* 800C0278 000BD1D8 38 61 00 3C */ addi r3, r1, 0x3c
/* 800C027C 000BD1DC 81 42 C6 00 */ lwz r10, kAllAreas__11CSfxManager@sda21(r2)
2022-04-12 09:14:24 +00:00
/* 800C0280 000BD1E0 38 80 05 71 */ li r4, 0x571
/* 800C0284 000BD1E4 38 A0 00 7F */ li r5, 0x7f
/* 800C0288 000BD1E8 38 C0 00 40 */ li r6, 0x40
/* 800C028C 000BD1EC 38 E0 00 00 */ li r7, 0
/* 800C0290 000BD1F0 39 20 00 00 */ li r9, 0
/* 800C0294 000BD1F4 48 22 9A E1 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 800C0298 000BD1F8 48 00 00 28 */ b lbl_800C02C0
lbl_800C029C:
/* 800C029C 000BD1FC A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
2022-04-12 09:14:24 +00:00
/* 800C02A0 000BD200 38 61 00 38 */ addi r3, r1, 0x38
/* 800C02A4 000BD204 81 42 C6 00 */ lwz r10, kAllAreas__11CSfxManager@sda21(r2)
2022-04-12 09:14:24 +00:00
/* 800C02A8 000BD208 38 80 05 61 */ li r4, 0x561
/* 800C02AC 000BD20C 38 A0 00 7F */ li r5, 0x7f
/* 800C02B0 000BD210 38 C0 00 40 */ li r6, 0x40
/* 800C02B4 000BD214 38 E0 00 00 */ li r7, 0
/* 800C02B8 000BD218 39 20 00 00 */ li r9, 0
/* 800C02BC 000BD21C 48 22 9A B9 */ bl SfxStart__11CSfxManagerFUsssbsbi
lbl_800C02C0:
2022-04-24 01:54:45 +00:00
/* 800C02C0 000BD220 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C02C4 000BD224 A0 A1 00 18 */ lhz r5, 0x18(r1)
/* 800C02C8 000BD228 7C 00 28 40 */ cmplw r0, r5
/* 800C02CC 000BD22C 40 82 00 7C */ bne lbl_800C0348
/* 800C02D0 000BD230 80 7D 03 0C */ lwz r3, 0x30c(r29)
/* 800C02D4 000BD234 38 00 00 00 */ li r0, 0
/* 800C02D8 000BD238 A0 9E 01 0C */ lhz r4, 0x10c(r30)
/* 800C02DC 000BD23C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C02E0 000BD240 B0 9E 01 2C */ sth r4, 0x12c(r30)
/* 800C02E4 000BD244 C0 3E 01 10 */ lfs f1, 0x110(r30)
/* 800C02E8 000BD248 D0 3E 01 30 */ stfs f1, 0x130(r30)
/* 800C02EC 000BD24C 80 BE 01 14 */ lwz r5, 0x114(r30)
/* 800C02F0 000BD250 80 9E 01 18 */ lwz r4, 0x118(r30)
/* 800C02F4 000BD254 90 BE 01 34 */ stw r5, 0x134(r30)
/* 800C02F8 000BD258 90 9E 01 38 */ stw r4, 0x138(r30)
/* 800C02FC 000BD25C 80 9E 01 1C */ lwz r4, 0x11c(r30)
/* 800C0300 000BD260 90 9E 01 3C */ stw r4, 0x13c(r30)
/* 800C0304 000BD264 C0 3E 01 20 */ lfs f1, 0x120(r30)
/* 800C0308 000BD268 D0 3E 01 40 */ stfs f1, 0x140(r30)
/* 800C030C 000BD26C C0 3E 01 24 */ lfs f1, 0x124(r30)
/* 800C0310 000BD270 D0 3E 01 44 */ stfs f1, 0x144(r30)
/* 800C0314 000BD274 88 9E 01 28 */ lbz r4, 0x128(r30)
/* 800C0318 000BD278 98 9E 01 48 */ stb r4, 0x148(r30)
/* 800C031C 000BD27C 98 1E 01 48 */ stb r0, 0x148(r30)
/* 800C0320 000BD280 D0 1E 01 60 */ stfs f0, 0x160(r30)
/* 800C0324 000BD284 48 00 18 45 */ bl IsDamageOrbit__F19EPlayerOrbitRequest
/* 800C0328 000BD288 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800C032C 000BD28C 41 82 00 0C */ beq lbl_800C0338
/* 800C0330 000BD290 C0 02 8D AC */ lfs f0, lbl_805AAACC@sda21(r2)
/* 800C0334 000BD294 48 00 00 0C */ b lbl_800C0340
lbl_800C0338:
/* 800C0338 000BD298 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C033C 000BD29C C0 03 00 0C */ lfs f0, 0xc(r3)
lbl_800C0340:
/* 800C0340 000BD2A0 D0 1E 01 6C */ stfs f0, 0x16c(r30)
/* 800C0344 000BD2A4 48 00 01 38 */ b lbl_800C047C
lbl_800C0348:
/* 800C0348 000BD2A8 A0 7E 01 0C */ lhz r3, 0x10c(r30)
/* 800C034C 000BD2AC 38 00 00 00 */ li r0, 0
/* 800C0350 000BD2B0 B0 7E 01 2C */ sth r3, 0x12c(r30)
/* 800C0354 000BD2B4 C0 1E 01 10 */ lfs f0, 0x110(r30)
/* 800C0358 000BD2B8 D0 1E 01 30 */ stfs f0, 0x130(r30)
/* 800C035C 000BD2BC 80 9E 01 14 */ lwz r4, 0x114(r30)
/* 800C0360 000BD2C0 80 7E 01 18 */ lwz r3, 0x118(r30)
/* 800C0364 000BD2C4 90 9E 01 34 */ stw r4, 0x134(r30)
/* 800C0368 000BD2C8 90 7E 01 38 */ stw r3, 0x138(r30)
/* 800C036C 000BD2CC 80 7E 01 1C */ lwz r3, 0x11c(r30)
/* 800C0370 000BD2D0 90 7E 01 3C */ stw r3, 0x13c(r30)
/* 800C0374 000BD2D4 C0 1E 01 20 */ lfs f0, 0x120(r30)
/* 800C0378 000BD2D8 D0 1E 01 40 */ stfs f0, 0x140(r30)
/* 800C037C 000BD2DC C0 1E 01 24 */ lfs f0, 0x124(r30)
/* 800C0380 000BD2E0 D0 1E 01 44 */ stfs f0, 0x144(r30)
/* 800C0384 000BD2E4 88 7E 01 28 */ lbz r3, 0x128(r30)
/* 800C0388 000BD2E8 98 7E 01 48 */ stb r3, 0x148(r30)
/* 800C038C 000BD2EC 98 1E 01 48 */ stb r0, 0x148(r30)
/* 800C0390 000BD2F0 A0 7E 00 F0 */ lhz r3, 0xf0(r30)
2022-04-24 01:54:45 +00:00
/* 800C0394 000BD2F4 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C0398 000BD2F8 7C 03 00 40 */ cmplw r3, r0
/* 800C039C 000BD2FC 40 82 00 0C */ bne lbl_800C03A8
/* 800C03A0 000BD300 B0 A1 00 10 */ sth r5, 0x10(r1)
/* 800C03A4 000BD304 B0 BE 01 2C */ sth r5, 0x12c(r30)
lbl_800C03A8:
/* 800C03A8 000BD308 A0 01 00 18 */ lhz r0, 0x18(r1)
/* 800C03AC 000BD30C 7F E4 FB 78 */ mr r4, r31
/* 800C03B0 000BD310 38 61 00 0C */ addi r3, r1, 0xc
/* 800C03B4 000BD314 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800C03B8 000BD318 4B FF CD 85 */ bl IsGrappleTarget__22CCompoundTargetReticleF9TUniqueIdRC13CStateManager
/* 800C03BC 000BD31C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800C03C0 000BD320 41 82 00 10 */ beq lbl_800C03D0
/* 800C03C4 000BD324 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C03C8 000BD328 C0 63 01 B0 */ lfs f3, 0x1b0(r3)
/* 800C03CC 000BD32C 48 00 00 08 */ b lbl_800C03D4
lbl_800C03D0:
/* 800C03D0 000BD330 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2)
lbl_800C03D4:
2022-08-21 01:40:40 +00:00
/* 800C03D4 000BD334 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 800C03D8 000BD338 84 83 66 A0 */ lwzu r4, sZeroVector__9CVector3f@l(r3)
2022-04-12 09:14:24 +00:00
/* 800C03DC 000BD33C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800C03E0 000BD340 38 A1 00 48 */ addi r5, r1, 0x48
/* 800C03E4 000BD344 A0 01 00 18 */ lhz r0, 0x18(r1)
2022-08-21 01:40:40 +00:00
/* 800C03E8 000BD348 80 C3 00 04 */ lwz r6, 4(r3)
2022-04-12 09:14:24 +00:00
/* 800C03EC 000BD34C FC 40 08 90 */ fmr f2, f1
/* 800C03F0 000BD350 80 E3 00 08 */ lwz r7, 8(r3)
/* 800C03F4 000BD354 38 61 00 54 */ addi r3, r1, 0x54
/* 800C03F8 000BD358 90 81 00 48 */ stw r4, 0x48(r1)
/* 800C03FC 000BD35C 38 81 00 08 */ addi r4, r1, 8
/* 800C0400 000BD360 90 C1 00 4C */ stw r6, 0x4c(r1)
/* 800C0404 000BD364 38 C0 00 00 */ li r6, 0
/* 800C0408 000BD368 90 E1 00 50 */ stw r7, 0x50(r1)
/* 800C040C 000BD36C B0 01 00 08 */ sth r0, 8(r1)
/* 800C0410 000BD370 4B FF CB 59 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb
/* 800C0414 000BD374 A0 01 00 54 */ lhz r0, 0x54(r1)
/* 800C0418 000BD378 B0 1E 01 4C */ sth r0, 0x14c(r30)
/* 800C041C 000BD37C C0 01 00 58 */ lfs f0, 0x58(r1)
/* 800C0420 000BD380 D0 1E 01 50 */ stfs f0, 0x150(r30)
/* 800C0424 000BD384 80 61 00 5C */ lwz r3, 0x5c(r1)
/* 800C0428 000BD388 80 01 00 60 */ lwz r0, 0x60(r1)
/* 800C042C 000BD38C 90 7E 01 54 */ stw r3, 0x154(r30)
/* 800C0430 000BD390 90 1E 01 58 */ stw r0, 0x158(r30)
/* 800C0434 000BD394 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800C0438 000BD398 90 1E 01 5C */ stw r0, 0x15c(r30)
/* 800C043C 000BD39C C0 01 00 68 */ lfs f0, 0x68(r1)
/* 800C0440 000BD3A0 D0 1E 01 60 */ stfs f0, 0x160(r30)
/* 800C0444 000BD3A4 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 800C0448 000BD3A8 D0 1E 01 64 */ stfs f0, 0x164(r30)
/* 800C044C 000BD3AC 88 01 00 70 */ lbz r0, 0x70(r1)
/* 800C0450 000BD3B0 98 1E 01 68 */ stb r0, 0x168(r30)
2022-04-24 01:54:45 +00:00
/* 800C0454 000BD3B4 A0 6D A3 8C */ lhz r3, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C0458 000BD3B8 A0 1E 00 F0 */ lhz r0, 0xf0(r30)
/* 800C045C 000BD3BC 7C 03 00 40 */ cmplw r3, r0
/* 800C0460 000BD3C0 40 82 00 10 */ bne lbl_800C0470
/* 800C0464 000BD3C4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0468 000BD3C8 C0 03 00 08 */ lfs f0, 8(r3)
/* 800C046C 000BD3CC 48 00 00 0C */ b lbl_800C0478
lbl_800C0470:
/* 800C0470 000BD3D0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0474 000BD3D4 C0 03 00 10 */ lfs f0, 0x10(r3)
lbl_800C0478:
/* 800C0478 000BD3D8 D0 1E 01 6C */ stfs f0, 0x16c(r30)
lbl_800C047C:
/* 800C047C 000BD3DC C0 1E 01 6C */ lfs f0, 0x16c(r30)
/* 800C0480 000BD3E0 A0 01 00 18 */ lhz r0, 0x18(r1)
/* 800C0484 000BD3E4 D0 1E 01 70 */ stfs f0, 0x170(r30)
/* 800C0488 000BD3E8 B0 1E 00 F0 */ sth r0, 0xf0(r30)
lbl_800C048C:
/* 800C048C 000BD3EC C0 3E 01 70 */ lfs f1, 0x170(r30)
/* 800C0490 000BD3F0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0494 000BD3F4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C0498 000BD3F8 40 81 00 78 */ ble lbl_800C0510
/* 800C049C 000BD3FC 7F C3 F3 78 */ mr r3, r30
/* 800C04A0 000BD400 7F E5 FB 78 */ mr r5, r31
/* 800C04A4 000BD404 38 9E 01 2C */ addi r4, r30, 0x12c
/* 800C04A8 000BD408 4B FF D0 DD */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager
/* 800C04AC 000BD40C 7F C3 F3 78 */ mr r3, r30
/* 800C04B0 000BD410 7F E5 FB 78 */ mr r5, r31
/* 800C04B4 000BD414 38 9E 01 4C */ addi r4, r30, 0x14c
/* 800C04B8 000BD418 4B FF D0 CD */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager
/* 800C04BC 000BD41C C0 3E 01 70 */ lfs f1, 0x170(r30)
/* 800C04C0 000BD420 C0 0D 86 80 */ lfs f0, lbl_805A7240@sda21(r13)
/* 800C04C4 000BD424 EC 21 F8 28 */ fsubs f1, f1, f31
/* 800C04C8 000BD428 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C04CC 000BD42C D0 21 00 34 */ stfs f1, 0x34(r1)
/* 800C04D0 000BD430 40 80 00 0C */ bge lbl_800C04DC
/* 800C04D4 000BD434 38 61 00 34 */ addi r3, r1, 0x34
/* 800C04D8 000BD438 48 00 00 08 */ b lbl_800C04E0
lbl_800C04DC:
/* 800C04DC 000BD43C 38 6D 86 80 */ addi r3, r13, lbl_805A7240@sda21
lbl_800C04E0:
/* 800C04E0 000BD440 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C04E4 000BD444 38 7E 01 2C */ addi r3, r30, 0x12c
/* 800C04E8 000BD448 C0 42 8D 38 */ lfs f2, lbl_805AAA58@sda21(r2)
/* 800C04EC 000BD44C 38 9E 01 0C */ addi r4, r30, 0x10c
/* 800C04F0 000BD450 D0 1E 01 70 */ stfs f0, 0x170(r30)
/* 800C04F4 000BD454 38 BE 01 4C */ addi r5, r30, 0x14c
/* 800C04F8 000BD458 C0 3E 01 70 */ lfs f1, 0x170(r30)
/* 800C04FC 000BD45C C0 1E 01 6C */ lfs f0, 0x16c(r30)
/* 800C0500 000BD460 EC 01 00 24 */ fdivs f0, f1, f0
/* 800C0504 000BD464 EC 22 00 28 */ fsubs f1, f2, f0
/* 800C0508 000BD468 4B FF C9 41 */ bl InterpolateWithClamp__25CTargetReticleRenderStateFRC25CTargetReticleRenderStateR25CTargetReticleRenderStateRC25CTargetReticleRenderStatef
/* 800C050C 000BD46C 48 00 00 14 */ b lbl_800C0520
lbl_800C0510:
/* 800C0510 000BD470 7F C3 F3 78 */ mr r3, r30
/* 800C0514 000BD474 7F E5 FB 78 */ mr r5, r31
/* 800C0518 000BD478 38 9E 01 0C */ addi r4, r30, 0x10c
/* 800C051C 000BD47C 4B FF D0 69 */ bl UpdateTargetParameters__22CCompoundTargetReticleFR25CTargetReticleRenderStateRC13CStateManager
lbl_800C0520:
/* 800C0520 000BD480 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800C0524 000BD484 C0 5E 01 F8 */ lfs f2, 0x1f8(r30)
/* 800C0528 000BD488 FC 01 10 00 */ fcmpu cr0, f1, f2
/* 800C052C 000BD48C 41 82 00 6C */ beq lbl_800C0598
/* 800C0530 000BD490 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0534 000BD494 C4 03 00 BC */ lfsu f0, 0xbc(r3)
/* 800C0538 000BD498 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C053C 000BD49C 40 80 00 5C */ bge lbl_800C0598
/* 800C0540 000BD4A0 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 800C0544 000BD4A4 40 80 00 30 */ bge lbl_800C0574
/* 800C0548 000BD4A8 EC 22 F8 2A */ fadds f1, f2, f31
/* 800C054C 000BD4AC C0 0D 86 84 */ lfs f0, lbl_805A7244@sda21(r13)
/* 800C0550 000BD4B0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C0554 000BD4B4 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 800C0558 000BD4B8 40 80 00 0C */ bge lbl_800C0564
/* 800C055C 000BD4BC 38 6D 86 84 */ addi r3, r13, lbl_805A7244@sda21
/* 800C0560 000BD4C0 48 00 00 08 */ b lbl_800C0568
lbl_800C0564:
/* 800C0564 000BD4C4 38 61 00 30 */ addi r3, r1, 0x30
lbl_800C0568:
/* 800C0568 000BD4C8 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C056C 000BD4CC D0 1E 01 F8 */ stfs f0, 0x1f8(r30)
/* 800C0570 000BD4D0 48 00 00 28 */ b lbl_800C0598
lbl_800C0574:
/* 800C0574 000BD4D4 EC 22 F8 2A */ fadds f1, f2, f31
/* 800C0578 000BD4D8 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 800C057C 000BD4DC C0 03 00 00 */ lfs f0, 0(r3)
/* 800C0580 000BD4E0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C0584 000BD4E4 40 80 00 08 */ bge lbl_800C058C
/* 800C0588 000BD4E8 48 00 00 08 */ b lbl_800C0590
lbl_800C058C:
/* 800C058C 000BD4EC 38 61 00 2C */ addi r3, r1, 0x2c
lbl_800C0590:
/* 800C0590 000BD4F0 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C0594 000BD4F4 D0 1E 01 F8 */ stfs f0, 0x1f8(r30)
lbl_800C0598:
/* 800C0598 000BD4F8 C0 3E 02 04 */ lfs f1, 0x204(r30)
/* 800C059C 000BD4FC C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C05A0 000BD500 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C05A4 000BD504 40 81 02 5C */ ble lbl_800C0800
/* 800C05A8 000BD508 EC 21 F8 28 */ fsubs f1, f1, f31
/* 800C05AC 000BD50C C0 0D 86 88 */ lfs f0, lbl_805A7248@sda21(r13)
/* 800C05B0 000BD510 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C05B4 000BD514 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 800C05B8 000BD518 40 80 00 0C */ bge lbl_800C05C4
/* 800C05BC 000BD51C 38 6D 86 88 */ addi r3, r13, lbl_805A7248@sda21
/* 800C05C0 000BD520 48 00 00 08 */ b lbl_800C05C8
lbl_800C05C4:
/* 800C05C4 000BD524 38 61 00 28 */ addi r3, r1, 0x28
lbl_800C05C8:
/* 800C05C8 000BD528 C0 23 00 00 */ lfs f1, 0(r3)
/* 800C05CC 000BD52C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C05D0 000BD530 D0 3E 02 04 */ stfs f1, 0x204(r30)
/* 800C05D4 000BD534 C0 5E 02 04 */ lfs f2, 0x204(r30)
/* 800C05D8 000BD538 FC 00 10 00 */ fcmpu cr0, f0, f2
/* 800C05DC 000BD53C 40 82 00 84 */ bne lbl_800C0660
/* 800C05E0 000BD540 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C05E4 000BD544 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2)
/* 800C05E8 000BD548 C0 23 00 14 */ lfs f1, 0x14(r3)
/* 800C05EC 000BD54C D0 23 00 10 */ stfs f1, 0x10(r3)
/* 800C05F0 000BD550 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C05F4 000BD554 C0 23 00 30 */ lfs f1, 0x30(r3)
/* 800C05F8 000BD558 D0 23 00 2C */ stfs f1, 0x2c(r3)
/* 800C05FC 000BD55C 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C0600 000BD560 C0 23 00 4C */ lfs f1, 0x4c(r3)
/* 800C0604 000BD564 D0 23 00 48 */ stfs f1, 0x48(r3)
/* 800C0608 000BD568 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C060C 000BD56C C0 23 00 68 */ lfs f1, 0x68(r3)
/* 800C0610 000BD570 D0 23 00 64 */ stfs f1, 0x64(r3)
/* 800C0614 000BD574 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C0618 000BD578 C0 23 00 84 */ lfs f1, 0x84(r3)
/* 800C061C 000BD57C D0 23 00 80 */ stfs f1, 0x80(r3)
/* 800C0620 000BD580 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C0624 000BD584 C0 23 00 A0 */ lfs f1, 0xa0(r3)
/* 800C0628 000BD588 D0 23 00 9C */ stfs f1, 0x9c(r3)
/* 800C062C 000BD58C 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C0630 000BD590 C0 23 00 BC */ lfs f1, 0xbc(r3)
/* 800C0634 000BD594 D0 23 00 B8 */ stfs f1, 0xb8(r3)
/* 800C0638 000BD598 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C063C 000BD59C C0 23 00 D8 */ lfs f1, 0xd8(r3)
/* 800C0640 000BD5A0 D0 23 00 D4 */ stfs f1, 0xd4(r3)
/* 800C0644 000BD5A4 80 7E 00 EC */ lwz r3, 0xec(r30)
/* 800C0648 000BD5A8 C0 23 00 F4 */ lfs f1, 0xf4(r3)
/* 800C064C 000BD5AC D0 23 00 F0 */ stfs f1, 0xf0(r3)
/* 800C0650 000BD5B0 C0 3E 00 D8 */ lfs f1, 0xd8(r30)
/* 800C0654 000BD5B4 D0 3E 00 D4 */ stfs f1, 0xd4(r30)
/* 800C0658 000BD5B8 D0 1E 02 08 */ stfs f0, 0x208(r30)
/* 800C065C 000BD5BC 48 00 01 A4 */ b lbl_800C0800
lbl_800C0660:
/* 800C0660 000BD5C0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0664 000BD5C4 C0 62 8D 38 */ lfs f3, lbl_805AAA58@sda21(r2)
/* 800C0668 000BD5C8 C0 03 00 EC */ lfs f0, 0xec(r3)
/* 800C066C 000BD5CC C0 3E 00 2C */ lfs f1, 0x2c(r30)
/* 800C0670 000BD5D0 EC 02 00 24 */ fdivs f0, f2, f0
/* 800C0674 000BD5D4 C0 5E 00 30 */ lfs f2, 0x30(r30)
/* 800C0678 000BD5D8 EC 63 00 28 */ fsubs f3, f3, f0
/* 800C067C 000BD5DC 48 00 14 A5 */ bl offshoot_func__Ffff
/* 800C0680 000BD5E0 38 00 00 03 */ li r0, 3
/* 800C0684 000BD5E4 C0 A2 8D B4 */ lfs f5, lbl_805AAAD4@sda21(r2)
/* 800C0688 000BD5E8 C8 82 8D 40 */ lfd f4, lbl_805AAA60@sda21(r2)
/* 800C068C 000BD5EC 38 C0 00 00 */ li r6, 0
/* 800C0690 000BD5F0 C0 42 8D 5C */ lfs f2, lbl_805AAA7C@sda21(r2)
/* 800C0694 000BD5F4 38 A0 00 00 */ li r5, 0
/* 800C0698 000BD5F8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C069C 000BD5FC 3C 60 43 30 */ lis r3, 0x4330
/* 800C06A0 000BD600 7C 09 03 A6 */ mtctr r0
lbl_800C06A4:
/* 800C06A4 000BD604 80 1E 00 EC */ lwz r0, 0xec(r30)
/* 800C06A8 000BD608 90 61 00 80 */ stw r3, 0x80(r1)
/* 800C06AC 000BD60C 7C 80 2A 14 */ add r4, r0, r5
/* 800C06B0 000BD610 C0 C4 00 18 */ lfs f6, 0x18(r4)
/* 800C06B4 000BD614 C0 64 00 0C */ lfs f3, 0xc(r4)
/* 800C06B8 000BD618 EC C1 01 B2 */ fmuls f6, f1, f6
/* 800C06BC 000BD61C EC C6 18 2A */ fadds f6, f6, f3
/* 800C06C0 000BD620 EC 66 01 72 */ fmuls f3, f6, f5
/* 800C06C4 000BD624 FC 60 18 1E */ fctiwz f3, f3
/* 800C06C8 000BD628 D8 61 00 78 */ stfd f3, 0x78(r1)
/* 800C06CC 000BD62C 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 800C06D0 000BD630 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C06D4 000BD634 90 01 00 84 */ stw r0, 0x84(r1)
/* 800C06D8 000BD638 C8 61 00 80 */ lfd f3, 0x80(r1)
/* 800C06DC 000BD63C EC 63 20 28 */ fsubs f3, f3, f4
/* 800C06E0 000BD640 EC 63 30 BC */ fnmsubs f3, f3, f2, f6
/* 800C06E4 000BD644 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 800C06E8 000BD648 40 80 00 08 */ bge lbl_800C06F0
/* 800C06EC 000BD64C EC 63 10 2A */ fadds f3, f3, f2
lbl_800C06F0:
/* 800C06F0 000BD650 D0 64 00 10 */ stfs f3, 0x10(r4)
/* 800C06F4 000BD654 38 A5 00 1C */ addi r5, r5, 0x1c
/* 800C06F8 000BD658 80 1E 00 EC */ lwz r0, 0xec(r30)
/* 800C06FC 000BD65C 90 61 00 80 */ stw r3, 0x80(r1)
/* 800C0700 000BD660 7C 80 2A 14 */ add r4, r0, r5
/* 800C0704 000BD664 C0 C4 00 18 */ lfs f6, 0x18(r4)
/* 800C0708 000BD668 C0 64 00 0C */ lfs f3, 0xc(r4)
/* 800C070C 000BD66C EC C1 01 B2 */ fmuls f6, f1, f6
/* 800C0710 000BD670 EC C6 18 2A */ fadds f6, f6, f3
/* 800C0714 000BD674 EC 66 01 72 */ fmuls f3, f6, f5
/* 800C0718 000BD678 FC 60 18 1E */ fctiwz f3, f3
/* 800C071C 000BD67C D8 61 00 78 */ stfd f3, 0x78(r1)
/* 800C0720 000BD680 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 800C0724 000BD684 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C0728 000BD688 90 01 00 84 */ stw r0, 0x84(r1)
/* 800C072C 000BD68C C8 61 00 80 */ lfd f3, 0x80(r1)
/* 800C0730 000BD690 EC 63 20 28 */ fsubs f3, f3, f4
/* 800C0734 000BD694 EC 63 30 BC */ fnmsubs f3, f3, f2, f6
/* 800C0738 000BD698 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 800C073C 000BD69C 40 80 00 08 */ bge lbl_800C0744
/* 800C0740 000BD6A0 EC 63 10 2A */ fadds f3, f3, f2
lbl_800C0744:
/* 800C0744 000BD6A4 D0 64 00 10 */ stfs f3, 0x10(r4)
/* 800C0748 000BD6A8 38 A5 00 1C */ addi r5, r5, 0x1c
/* 800C074C 000BD6AC 80 1E 00 EC */ lwz r0, 0xec(r30)
/* 800C0750 000BD6B0 90 61 00 80 */ stw r3, 0x80(r1)
/* 800C0754 000BD6B4 7C 80 2A 14 */ add r4, r0, r5
/* 800C0758 000BD6B8 C0 C4 00 18 */ lfs f6, 0x18(r4)
/* 800C075C 000BD6BC C0 64 00 0C */ lfs f3, 0xc(r4)
/* 800C0760 000BD6C0 EC C1 01 B2 */ fmuls f6, f1, f6
/* 800C0764 000BD6C4 EC C6 18 2A */ fadds f6, f6, f3
/* 800C0768 000BD6C8 EC 66 01 72 */ fmuls f3, f6, f5
/* 800C076C 000BD6CC FC 60 18 1E */ fctiwz f3, f3
/* 800C0770 000BD6D0 D8 61 00 78 */ stfd f3, 0x78(r1)
/* 800C0774 000BD6D4 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 800C0778 000BD6D8 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C077C 000BD6DC 90 01 00 84 */ stw r0, 0x84(r1)
/* 800C0780 000BD6E0 C8 61 00 80 */ lfd f3, 0x80(r1)
/* 800C0784 000BD6E4 EC 63 20 28 */ fsubs f3, f3, f4
/* 800C0788 000BD6E8 EC 63 30 BC */ fnmsubs f3, f3, f2, f6
/* 800C078C 000BD6EC FC 03 00 40 */ fcmpo cr0, f3, f0
/* 800C0790 000BD6F0 40 80 00 08 */ bge lbl_800C0798
/* 800C0794 000BD6F4 EC 63 10 2A */ fadds f3, f3, f2
lbl_800C0798:
/* 800C0798 000BD6F8 D0 64 00 10 */ stfs f3, 0x10(r4)
/* 800C079C 000BD6FC 38 A5 00 1C */ addi r5, r5, 0x1c
/* 800C07A0 000BD700 38 C6 00 02 */ addi r6, r6, 2
/* 800C07A4 000BD704 42 00 FF 00 */ bdnz lbl_800C06A4
/* 800C07A8 000BD708 C0 7E 00 DC */ lfs f3, 0xdc(r30)
/* 800C07AC 000BD70C 3C 00 43 30 */ lis r0, 0x4330
/* 800C07B0 000BD710 C0 5E 00 D0 */ lfs f2, 0xd0(r30)
/* 800C07B4 000BD714 C0 02 8D B4 */ lfs f0, lbl_805AAAD4@sda21(r2)
/* 800C07B8 000BD718 EC 81 10 FA */ fmadds f4, f1, f3, f2
/* 800C07BC 000BD71C 90 01 00 78 */ stw r0, 0x78(r1)
/* 800C07C0 000BD720 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2)
/* 800C07C4 000BD724 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2)
/* 800C07C8 000BD728 EC 44 00 32 */ fmuls f2, f4, f0
/* 800C07CC 000BD72C C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C07D0 000BD730 FC 40 10 1E */ fctiwz f2, f2
/* 800C07D4 000BD734 D8 41 00 80 */ stfd f2, 0x80(r1)
/* 800C07D8 000BD738 80 01 00 84 */ lwz r0, 0x84(r1)
/* 800C07DC 000BD73C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C07E0 000BD740 90 01 00 7C */ stw r0, 0x7c(r1)
/* 800C07E4 000BD744 C8 41 00 78 */ lfd f2, 0x78(r1)
/* 800C07E8 000BD748 EC 42 18 28 */ fsubs f2, f2, f3
/* 800C07EC 000BD74C EC 42 20 7C */ fnmsubs f2, f2, f1, f4
/* 800C07F0 000BD750 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C07F4 000BD754 40 80 00 08 */ bge lbl_800C07FC
/* 800C07F8 000BD758 EC 42 08 2A */ fadds f2, f2, f1
lbl_800C07FC:
/* 800C07FC 000BD75C D0 5E 00 D4 */ stfs f2, 0xd4(r30)
lbl_800C0800:
/* 800C0800 000BD760 C0 3E 02 08 */ lfs f1, 0x208(r30)
/* 800C0804 000BD764 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0808 000BD768 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C080C 000BD76C 40 81 00 38 */ ble lbl_800C0844
/* 800C0810 000BD770 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0814 000BD774 C4 03 00 D0 */ lfsu f0, 0xd0(r3)
/* 800C0818 000BD778 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C081C 000BD77C 40 80 00 28 */ bge lbl_800C0844
/* 800C0820 000BD780 EC 21 F8 2A */ fadds f1, f1, f31
/* 800C0824 000BD784 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 800C0828 000BD788 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C082C 000BD78C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C0830 000BD790 40 80 00 08 */ bge lbl_800C0838
/* 800C0834 000BD794 48 00 00 08 */ b lbl_800C083C
lbl_800C0838:
/* 800C0838 000BD798 38 61 00 24 */ addi r3, r1, 0x24
lbl_800C083C:
/* 800C083C 000BD79C C0 03 00 00 */ lfs f0, 0(r3)
/* 800C0840 000BD7A0 D0 1E 02 08 */ stfs f0, 0x208(r30)
lbl_800C0844:
/* 800C0844 000BD7A4 C0 3E 02 10 */ lfs f1, 0x210(r30)
/* 800C0848 000BD7A8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C084C 000BD7AC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C0850 000BD7B0 40 81 00 2C */ ble lbl_800C087C
/* 800C0854 000BD7B4 EC 21 F8 28 */ fsubs f1, f1, f31
/* 800C0858 000BD7B8 C0 0D 86 8C */ lfs f0, lbl_805A724C@sda21(r13)
/* 800C085C 000BD7BC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C0860 000BD7C0 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 800C0864 000BD7C4 40 80 00 0C */ bge lbl_800C0870
/* 800C0868 000BD7C8 38 61 00 20 */ addi r3, r1, 0x20
/* 800C086C 000BD7CC 48 00 00 08 */ b lbl_800C0874
lbl_800C0870:
/* 800C0870 000BD7D0 38 6D 86 8C */ addi r3, r13, lbl_805A724C@sda21
lbl_800C0874:
/* 800C0874 000BD7D4 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C0878 000BD7D8 D0 1E 02 10 */ stfs f0, 0x210(r30)
lbl_800C087C:
/* 800C087C 000BD7DC C0 3E 01 FC */ lfs f1, 0x1fc(r30)
/* 800C0880 000BD7E0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0884 000BD7E4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C0888 000BD7E8 40 81 00 2C */ ble lbl_800C08B4
/* 800C088C 000BD7EC EC 21 F8 28 */ fsubs f1, f1, f31
/* 800C0890 000BD7F0 C0 0D 86 90 */ lfs f0, lbl_805A7250@sda21(r13)
/* 800C0894 000BD7F4 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C0898 000BD7F8 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 800C089C 000BD7FC 40 80 00 0C */ bge lbl_800C08A8
/* 800C08A0 000BD800 38 61 00 1C */ addi r3, r1, 0x1c
/* 800C08A4 000BD804 48 00 00 08 */ b lbl_800C08AC
lbl_800C08A8:
/* 800C08A8 000BD808 38 6D 86 90 */ addi r3, r13, lbl_805A7250@sda21
lbl_800C08AC:
/* 800C08AC 000BD80C C0 03 00 00 */ lfs f0, 0(r3)
/* 800C08B0 000BD810 D0 1E 01 FC */ stfs f0, 0x1fc(r30)
lbl_800C08B4:
/* 800C08B4 000BD814 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 800C08B8 000BD818 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 800C08BC 000BD81C CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 800C08C0 000BD820 83 E1 00 9C */ lwz r31, 0x9c(r1)
/* 800C08C4 000BD824 83 C1 00 98 */ lwz r30, 0x98(r1)
/* 800C08C8 000BD828 83 A1 00 94 */ lwz r29, 0x94(r1)
/* 800C08CC 000BD82C 7C 08 03 A6 */ mtlr r0
/* 800C08D0 000BD830 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 800C08D4 000BD834 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global Update__22CCompoundTargetReticleFfRC13CStateManager
Update__22CCompoundTargetReticleFfRC13CStateManager:
/* 800C08D8 000BD838 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 800C08DC 000BD83C 7C 08 02 A6 */ mflr r0
/* 800C08E0 000BD840 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 800C08E4 000BD844 DB E1 00 B0 */ stfd f31, 0xb0(r1)
/* 800C08E8 000BD848 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0
/* 800C08EC 000BD84C DB C1 00 A0 */ stfd f30, 0xa0(r1)
/* 800C08F0 000BD850 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0
/* 800C08F4 000BD854 BF 41 00 88 */ stmw r26, 0x88(r1)
/* 800C08F8 000BD858 FF E0 08 90 */ fmr f31, f1
/* 800C08FC 000BD85C 7C 7A 1B 78 */ mr r26, r3
/* 800C0900 000BD860 7C 9B 23 78 */ mr r27, r4
/* 800C0904 000BD864 38 61 00 30 */ addi r3, r1, 0x30
/* 800C0908 000BD868 7F 45 D3 78 */ mr r5, r26
/* 800C090C 000BD86C 38 9A 00 10 */ addi r4, r26, 0x10
/* 800C0910 000BD870 48 25 0C 15 */ bl AngleFrom__11CQuaternionCFRC11CQuaternion
/* 800C0914 000BD874 C0 42 8D BC */ lfs f2, lbl_805AAADC@sda21(r2)
/* 800C0918 000BD878 38 00 00 00 */ li r0, 0
/* 800C091C 000BD87C C0 21 00 30 */ lfs f1, 0x30(r1)
/* 800C0920 000BD880 C0 02 8D 54 */ lfs f0, lbl_805AAA74@sda21(r2)
/* 800C0924 000BD884 EC 42 00 72 */ fmuls f2, f2, f1
/* 800C0928 000BD888 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C092C 000BD88C 41 80 00 10 */ blt lbl_800C093C
/* 800C0930 000BD890 C0 02 8D C0 */ lfs f0, lbl_805AAAE0@sda21(r2)
/* 800C0934 000BD894 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C0938 000BD898 40 81 00 08 */ ble lbl_800C0940
lbl_800C093C:
/* 800C093C 000BD89C 38 00 00 01 */ li r0, 1
lbl_800C0940:
/* 800C0940 000BD8A0 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800C0944 000BD8A4 41 82 00 0C */ beq lbl_800C0950
/* 800C0948 000BD8A8 C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800C094C 000BD8AC 48 00 00 34 */ b lbl_800C0980
lbl_800C0950:
/* 800C0950 000BD8B0 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0954 000BD8B4 C0 0D 86 70 */ lfs f0, lbl_805A7230@sda21(r13)
/* 800C0958 000BD8B8 C0 23 02 24 */ lfs f1, 0x224(r3)
/* 800C095C 000BD8BC EC 21 07 F2 */ fmuls f1, f1, f31
/* 800C0960 000BD8C0 EC 21 10 24 */ fdivs f1, f1, f2
/* 800C0964 000BD8C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C0968 000BD8C8 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 800C096C 000BD8CC 40 80 00 0C */ bge lbl_800C0978
/* 800C0970 000BD8D0 38 61 00 2C */ addi r3, r1, 0x2c
/* 800C0974 000BD8D4 48 00 00 08 */ b lbl_800C097C
lbl_800C0978:
/* 800C0978 000BD8D8 38 6D 86 70 */ addi r3, r13, lbl_805A7230@sda21
lbl_800C097C:
/* 800C097C 000BD8DC C0 23 00 00 */ lfs f1, 0(r3)
lbl_800C0980:
/* 800C0980 000BD8E0 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2)
/* 800C0984 000BD8E4 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 800C0988 000BD8E8 40 82 00 0C */ bne lbl_800C0994
/* 800C098C 000BD8EC 7F 48 D3 78 */ mr r8, r26
/* 800C0990 000BD8F0 48 00 00 18 */ b lbl_800C09A8
lbl_800C0994:
/* 800C0994 000BD8F4 7F 45 D3 78 */ mr r5, r26
/* 800C0998 000BD8F8 38 61 00 54 */ addi r3, r1, 0x54
/* 800C099C 000BD8FC 38 9A 00 10 */ addi r4, r26, 0x10
/* 800C09A0 000BD900 48 25 13 59 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf
/* 800C09A4 000BD904 39 01 00 54 */ addi r8, r1, 0x54
lbl_800C09A8:
/* 800C09A8 000BD908 C0 08 00 00 */ lfs f0, 0(r8)
/* 800C09AC 000BD90C 7F 44 D3 78 */ mr r4, r26
/* 800C09B0 000BD910 7F 65 DB 78 */ mr r5, r27
/* 800C09B4 000BD914 38 61 00 48 */ addi r3, r1, 0x48
/* 800C09B8 000BD918 D0 1A 00 10 */ stfs f0, 0x10(r26)
/* 800C09BC 000BD91C 38 C0 00 00 */ li r6, 0
/* 800C09C0 000BD920 80 E8 00 04 */ lwz r7, 4(r8)
/* 800C09C4 000BD924 80 08 00 08 */ lwz r0, 8(r8)
/* 800C09C8 000BD928 90 FA 00 14 */ stw r7, 0x14(r26)
/* 800C09CC 000BD92C 90 1A 00 18 */ stw r0, 0x18(r26)
/* 800C09D0 000BD930 80 08 00 0C */ lwz r0, 0xc(r8)
/* 800C09D4 000BD934 90 1A 00 1C */ stw r0, 0x1c(r26)
/* 800C09D8 000BD938 4B FF C7 B1 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb
/* 800C09DC 000BD93C C0 01 00 48 */ lfs f0, 0x48(r1)
/* 800C09E0 000BD940 7F 44 D3 78 */ mr r4, r26
/* 800C09E4 000BD944 7F 65 DB 78 */ mr r5, r27
/* 800C09E8 000BD948 38 61 00 3C */ addi r3, r1, 0x3c
/* 800C09EC 000BD94C D0 1A 00 F4 */ stfs f0, 0xf4(r26)
/* 800C09F0 000BD950 38 C0 00 01 */ li r6, 1
/* 800C09F4 000BD954 C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 800C09F8 000BD958 D0 1A 00 F8 */ stfs f0, 0xf8(r26)
/* 800C09FC 000BD95C C0 01 00 50 */ lfs f0, 0x50(r1)
/* 800C0A00 000BD960 D0 1A 00 FC */ stfs f0, 0xfc(r26)
/* 800C0A04 000BD964 4B FF C7 85 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb
/* 800C0A08 000BD968 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 800C0A0C 000BD96C FC 20 F8 90 */ fmr f1, f31
/* 800C0A10 000BD970 7F 43 D3 78 */ mr r3, r26
/* 800C0A14 000BD974 7F 64 DB 78 */ mr r4, r27
/* 800C0A18 000BD978 D0 1A 01 00 */ stfs f0, 0x100(r26)
/* 800C0A1C 000BD97C C0 01 00 40 */ lfs f0, 0x40(r1)
/* 800C0A20 000BD980 D0 1A 01 04 */ stfs f0, 0x104(r26)
/* 800C0A24 000BD984 C0 01 00 44 */ lfs f0, 0x44(r1)
/* 800C0A28 000BD988 D0 1A 01 08 */ stfs f0, 0x108(r26)
/* 800C0A2C 000BD98C 4B FF F7 C5 */ bl UpdateCurrLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager
/* 800C0A30 000BD990 FC 20 F8 90 */ fmr f1, f31
/* 800C0A34 000BD994 7F 43 D3 78 */ mr r3, r26
/* 800C0A38 000BD998 7F 64 DB 78 */ mr r4, r27
/* 800C0A3C 000BD99C 4B FF F4 49 */ bl UpdateNextLockOnGroup__22CCompoundTargetReticleFfRC13CStateManager
/* 800C0A40 000BD9A0 FC 20 F8 90 */ fmr f1, f31
/* 800C0A44 000BD9A4 7F 43 D3 78 */ mr r3, r26
/* 800C0A48 000BD9A8 7F 64 DB 78 */ mr r4, r27
/* 800C0A4C 000BD9AC 4B FF F3 15 */ bl UpdateOrbitZoneGroup__22CCompoundTargetReticleFfRC13CStateManager
/* 800C0A50 000BD9B0 7F 43 D3 78 */ mr r3, r26
/* 800C0A54 000BD9B4 7F 64 DB 78 */ mr r4, r27
/* 800C0A58 000BD9B8 48 00 08 71 */ bl GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager
/* 800C0A5C 000BD9BC 80 9A 00 20 */ lwz r4, 0x20(r26)
/* 800C0A60 000BD9C0 7C 03 20 00 */ cmpw r3, r4
/* 800C0A64 000BD9C4 41 82 00 1C */ beq lbl_800C0A80
/* 800C0A68 000BD9C8 80 1A 00 24 */ lwz r0, 0x24(r26)
/* 800C0A6C 000BD9CC 7C 04 00 00 */ cmpw r4, r0
/* 800C0A70 000BD9D0 40 82 00 10 */ bne lbl_800C0A80
/* 800C0A74 000BD9D4 90 7A 00 24 */ stw r3, 0x24(r26)
/* 800C0A78 000BD9D8 38 00 00 02 */ li r0, 2
/* 800C0A7C 000BD9DC 90 1A 00 28 */ stw r0, 0x28(r26)
lbl_800C0A80:
/* 800C0A80 000BD9E0 80 1A 00 20 */ lwz r0, 0x20(r26)
/* 800C0A84 000BD9E4 80 7A 00 24 */ lwz r3, 0x24(r26)
/* 800C0A88 000BD9E8 7C 00 18 00 */ cmpw r0, r3
/* 800C0A8C 000BD9EC 41 82 02 68 */ beq lbl_800C0CF4
/* 800C0A90 000BD9F0 80 1A 00 28 */ lwz r0, 0x28(r26)
/* 800C0A94 000BD9F4 2C 00 00 00 */ cmpwi r0, 0
/* 800C0A98 000BD9F8 41 81 02 5C */ bgt lbl_800C0CF4
/* 800C0A9C 000BD9FC 90 7A 00 20 */ stw r3, 0x20(r26)
/* 800C0AA0 000BDA00 3B E0 00 00 */ li r31, 0
/* 800C0AA4 000BDA04 3B C0 00 00 */ li r30, 0
/* 800C0AA8 000BDA08 3B A0 00 00 */ li r29, 0
/* 800C0AAC 000BDA0C 80 1A 00 24 */ lwz r0, 0x24(r26)
/* 800C0AB0 000BDA10 3B 80 00 00 */ li r28, 0
/* 800C0AB4 000BDA14 2C 00 00 02 */ cmpwi r0, 2
/* 800C0AB8 000BDA18 41 82 00 34 */ beq lbl_800C0AEC
/* 800C0ABC 000BDA1C 40 80 00 14 */ bge lbl_800C0AD0
/* 800C0AC0 000BDA20 2C 00 00 00 */ cmpwi r0, 0
/* 800C0AC4 000BDA24 41 82 00 18 */ beq lbl_800C0ADC
/* 800C0AC8 000BDA28 40 80 00 1C */ bge lbl_800C0AE4
/* 800C0ACC 000BDA2C 48 00 00 2C */ b lbl_800C0AF8
lbl_800C0AD0:
/* 800C0AD0 000BDA30 2C 00 00 04 */ cmpwi r0, 4
/* 800C0AD4 000BDA34 40 80 00 24 */ bge lbl_800C0AF8
/* 800C0AD8 000BDA38 48 00 00 1C */ b lbl_800C0AF4
lbl_800C0ADC:
/* 800C0ADC 000BDA3C 3B E0 00 01 */ li r31, 1
/* 800C0AE0 000BDA40 48 00 00 18 */ b lbl_800C0AF8
lbl_800C0AE4:
/* 800C0AE4 000BDA44 3B C0 00 01 */ li r30, 1
/* 800C0AE8 000BDA48 48 00 00 10 */ b lbl_800C0AF8
lbl_800C0AEC:
/* 800C0AEC 000BDA4C 3B A0 00 01 */ li r29, 1
/* 800C0AF0 000BDA50 48 00 00 08 */ b lbl_800C0AF8
lbl_800C0AF4:
/* 800C0AF4 000BDA54 3B 80 00 01 */ li r28, 1
lbl_800C0AF8:
/* 800C0AF8 000BDA58 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0AFC 000BDA5C 41 82 00 10 */ beq lbl_800C0B0C
/* 800C0B00 000BDA60 38 7A 00 40 */ addi r3, r26, 0x40
/* 800C0B04 000BDA64 48 28 02 81 */ bl Lock__6CTokenFv
/* 800C0B08 000BDA68 48 00 00 14 */ b lbl_800C0B1C
lbl_800C0B0C:
/* 800C0B0C 000BDA6C 38 00 00 00 */ li r0, 0
/* 800C0B10 000BDA70 38 7A 00 40 */ addi r3, r26, 0x40
/* 800C0B14 000BDA74 90 1A 00 48 */ stw r0, 0x48(r26)
/* 800C0B18 000BDA78 48 28 02 29 */ bl Unlock__6CTokenFv
lbl_800C0B1C:
/* 800C0B1C 000BDA7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0B20 000BDA80 41 82 00 10 */ beq lbl_800C0B30
/* 800C0B24 000BDA84 38 7A 00 4C */ addi r3, r26, 0x4c
/* 800C0B28 000BDA88 48 28 02 5D */ bl Lock__6CTokenFv
/* 800C0B2C 000BDA8C 48 00 00 14 */ b lbl_800C0B40
lbl_800C0B30:
/* 800C0B30 000BDA90 38 00 00 00 */ li r0, 0
/* 800C0B34 000BDA94 38 7A 00 4C */ addi r3, r26, 0x4c
/* 800C0B38 000BDA98 90 1A 00 54 */ stw r0, 0x54(r26)
/* 800C0B3C 000BDA9C 48 28 02 05 */ bl Unlock__6CTokenFv
lbl_800C0B40:
/* 800C0B40 000BDAA0 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0B44 000BDAA4 41 82 00 10 */ beq lbl_800C0B54
/* 800C0B48 000BDAA8 38 7A 00 58 */ addi r3, r26, 0x58
/* 800C0B4C 000BDAAC 48 28 02 39 */ bl Lock__6CTokenFv
/* 800C0B50 000BDAB0 48 00 00 14 */ b lbl_800C0B64
lbl_800C0B54:
/* 800C0B54 000BDAB4 38 00 00 00 */ li r0, 0
/* 800C0B58 000BDAB8 38 7A 00 58 */ addi r3, r26, 0x58
/* 800C0B5C 000BDABC 90 1A 00 60 */ stw r0, 0x60(r26)
/* 800C0B60 000BDAC0 48 28 01 E1 */ bl Unlock__6CTokenFv
lbl_800C0B64:
/* 800C0B64 000BDAC4 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0B68 000BDAC8 41 82 00 10 */ beq lbl_800C0B78
/* 800C0B6C 000BDACC 38 7A 00 64 */ addi r3, r26, 0x64
/* 800C0B70 000BDAD0 48 28 02 15 */ bl Lock__6CTokenFv
/* 800C0B74 000BDAD4 48 00 00 14 */ b lbl_800C0B88
lbl_800C0B78:
/* 800C0B78 000BDAD8 38 00 00 00 */ li r0, 0
/* 800C0B7C 000BDADC 38 7A 00 64 */ addi r3, r26, 0x64
/* 800C0B80 000BDAE0 90 1A 00 6C */ stw r0, 0x6c(r26)
/* 800C0B84 000BDAE4 48 28 01 BD */ bl Unlock__6CTokenFv
lbl_800C0B88:
/* 800C0B88 000BDAE8 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0B8C 000BDAEC 41 82 00 10 */ beq lbl_800C0B9C
/* 800C0B90 000BDAF0 38 7A 00 70 */ addi r3, r26, 0x70
/* 800C0B94 000BDAF4 48 28 01 F1 */ bl Lock__6CTokenFv
/* 800C0B98 000BDAF8 48 00 00 14 */ b lbl_800C0BAC
lbl_800C0B9C:
/* 800C0B9C 000BDAFC 38 00 00 00 */ li r0, 0
/* 800C0BA0 000BDB00 38 7A 00 70 */ addi r3, r26, 0x70
/* 800C0BA4 000BDB04 90 1A 00 78 */ stw r0, 0x78(r26)
/* 800C0BA8 000BDB08 48 28 01 99 */ bl Unlock__6CTokenFv
lbl_800C0BAC:
/* 800C0BAC 000BDB0C 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0BB0 000BDB10 41 82 00 10 */ beq lbl_800C0BC0
/* 800C0BB4 000BDB14 38 7A 00 7C */ addi r3, r26, 0x7c
/* 800C0BB8 000BDB18 48 28 01 CD */ bl Lock__6CTokenFv
/* 800C0BBC 000BDB1C 48 00 00 14 */ b lbl_800C0BD0
lbl_800C0BC0:
/* 800C0BC0 000BDB20 38 00 00 00 */ li r0, 0
/* 800C0BC4 000BDB24 38 7A 00 7C */ addi r3, r26, 0x7c
/* 800C0BC8 000BDB28 90 1A 00 84 */ stw r0, 0x84(r26)
/* 800C0BCC 000BDB2C 48 28 01 75 */ bl Unlock__6CTokenFv
lbl_800C0BD0:
/* 800C0BD0 000BDB30 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0BD4 000BDB34 41 82 00 10 */ beq lbl_800C0BE4
/* 800C0BD8 000BDB38 38 7A 00 88 */ addi r3, r26, 0x88
/* 800C0BDC 000BDB3C 48 28 01 A9 */ bl Lock__6CTokenFv
/* 800C0BE0 000BDB40 48 00 00 14 */ b lbl_800C0BF4
lbl_800C0BE4:
/* 800C0BE4 000BDB44 38 00 00 00 */ li r0, 0
/* 800C0BE8 000BDB48 38 7A 00 88 */ addi r3, r26, 0x88
/* 800C0BEC 000BDB4C 90 1A 00 90 */ stw r0, 0x90(r26)
/* 800C0BF0 000BDB50 48 28 01 51 */ bl Unlock__6CTokenFv
lbl_800C0BF4:
/* 800C0BF4 000BDB54 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0BF8 000BDB58 41 82 00 10 */ beq lbl_800C0C08
/* 800C0BFC 000BDB5C 38 7A 00 A0 */ addi r3, r26, 0xa0
/* 800C0C00 000BDB60 48 28 01 85 */ bl Lock__6CTokenFv
/* 800C0C04 000BDB64 48 00 00 14 */ b lbl_800C0C18
lbl_800C0C08:
/* 800C0C08 000BDB68 38 00 00 00 */ li r0, 0
/* 800C0C0C 000BDB6C 38 7A 00 A0 */ addi r3, r26, 0xa0
/* 800C0C10 000BDB70 90 1A 00 A8 */ stw r0, 0xa8(r26)
/* 800C0C14 000BDB74 48 28 01 2D */ bl Unlock__6CTokenFv
lbl_800C0C18:
/* 800C0C18 000BDB78 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 800C0C1C 000BDB7C 41 82 00 10 */ beq lbl_800C0C2C
/* 800C0C20 000BDB80 38 7A 00 AC */ addi r3, r26, 0xac
/* 800C0C24 000BDB84 48 28 01 61 */ bl Lock__6CTokenFv
/* 800C0C28 000BDB88 48 00 00 14 */ b lbl_800C0C3C
lbl_800C0C2C:
/* 800C0C2C 000BDB8C 38 00 00 00 */ li r0, 0
/* 800C0C30 000BDB90 38 7A 00 AC */ addi r3, r26, 0xac
/* 800C0C34 000BDB94 90 1A 00 B4 */ stw r0, 0xb4(r26)
/* 800C0C38 000BDB98 48 28 01 09 */ bl Unlock__6CTokenFv
lbl_800C0C3C:
/* 800C0C3C 000BDB9C 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 800C0C40 000BDBA0 41 82 00 10 */ beq lbl_800C0C50
/* 800C0C44 000BDBA4 38 7A 00 B8 */ addi r3, r26, 0xb8
/* 800C0C48 000BDBA8 48 28 01 3D */ bl Lock__6CTokenFv
/* 800C0C4C 000BDBAC 48 00 00 14 */ b lbl_800C0C60
lbl_800C0C50:
/* 800C0C50 000BDBB0 38 00 00 00 */ li r0, 0
/* 800C0C54 000BDBB4 38 7A 00 B8 */ addi r3, r26, 0xb8
/* 800C0C58 000BDBB8 90 1A 00 C0 */ stw r0, 0xc0(r26)
/* 800C0C5C 000BDBBC 48 28 00 E5 */ bl Unlock__6CTokenFv
lbl_800C0C60:
/* 800C0C60 000BDBC0 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800C0C64 000BDBC4 41 82 00 10 */ beq lbl_800C0C74
/* 800C0C68 000BDBC8 38 7A 00 C4 */ addi r3, r26, 0xc4
/* 800C0C6C 000BDBCC 48 28 01 19 */ bl Lock__6CTokenFv
/* 800C0C70 000BDBD0 48 00 00 14 */ b lbl_800C0C84
lbl_800C0C74:
/* 800C0C74 000BDBD4 38 00 00 00 */ li r0, 0
/* 800C0C78 000BDBD8 38 7A 00 C4 */ addi r3, r26, 0xc4
/* 800C0C7C 000BDBDC 90 1A 00 CC */ stw r0, 0xcc(r26)
/* 800C0C80 000BDBE0 48 28 00 C1 */ bl Unlock__6CTokenFv
lbl_800C0C84:
/* 800C0C84 000BDBE4 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 800C0C88 000BDBE8 41 82 00 18 */ beq lbl_800C0CA0
/* 800C0C8C 000BDBEC 38 00 00 00 */ li r0, 0
/* 800C0C90 000BDBF0 38 7A 00 94 */ addi r3, r26, 0x94
/* 800C0C94 000BDBF4 90 1A 00 9C */ stw r0, 0x9c(r26)
/* 800C0C98 000BDBF8 48 28 00 A9 */ bl Unlock__6CTokenFv
/* 800C0C9C 000BDBFC 48 00 00 0C */ b lbl_800C0CA8
lbl_800C0CA0:
/* 800C0CA0 000BDC00 38 7A 00 94 */ addi r3, r26, 0x94
/* 800C0CA4 000BDC04 48 28 00 E1 */ bl Lock__6CTokenFv
lbl_800C0CA8:
/* 800C0CA8 000BDC08 83 DA 00 EC */ lwz r30, 0xec(r26)
/* 800C0CAC 000BDC0C 57 FD 06 3E */ clrlwi r29, r31, 0x18
/* 800C0CB0 000BDC10 3B 80 00 00 */ li r28, 0
/* 800C0CB4 000BDC14 48 00 00 28 */ b lbl_800C0CDC
lbl_800C0CB8:
/* 800C0CB8 000BDC18 28 1D 00 00 */ cmplwi r29, 0
/* 800C0CBC 000BDC1C 41 82 00 10 */ beq lbl_800C0CCC
/* 800C0CC0 000BDC20 7F C3 F3 78 */ mr r3, r30
/* 800C0CC4 000BDC24 48 28 00 C1 */ bl Lock__6CTokenFv
/* 800C0CC8 000BDC28 48 00 00 10 */ b lbl_800C0CD8
lbl_800C0CCC:
/* 800C0CCC 000BDC2C 93 9E 00 08 */ stw r28, 8(r30)
/* 800C0CD0 000BDC30 7F C3 F3 78 */ mr r3, r30
/* 800C0CD4 000BDC34 48 28 00 6D */ bl Unlock__6CTokenFv
lbl_800C0CD8:
/* 800C0CD8 000BDC38 3B DE 00 1C */ addi r30, r30, 0x1c
lbl_800C0CDC:
/* 800C0CDC 000BDC3C 80 1A 00 E4 */ lwz r0, 0xe4(r26)
/* 800C0CE0 000BDC40 80 7A 00 EC */ lwz r3, 0xec(r26)
/* 800C0CE4 000BDC44 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800C0CE8 000BDC48 7C 03 02 14 */ add r0, r3, r0
/* 800C0CEC 000BDC4C 7C 1E 00 40 */ cmplw r30, r0
/* 800C0CF0 000BDC50 40 82 FF C8 */ bne lbl_800C0CB8
lbl_800C0CF4:
/* 800C0CF4 000BDC54 80 7B 08 4C */ lwz r3, 0x84c(r27)
/* 800C0CF8 000BDC58 80 63 04 90 */ lwz r3, 0x490(r3)
/* 800C0CFC 000BDC5C 88 03 08 34 */ lbz r0, 0x834(r3)
/* 800C0D00 000BDC60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800C0D04 000BDC64 41 82 00 0C */ beq lbl_800C0D10
/* 800C0D08 000BDC68 C0 23 03 40 */ lfs f1, 0x340(r3)
/* 800C0D0C 000BDC6C 48 00 00 08 */ b lbl_800C0D14
lbl_800C0D10:
/* 800C0D10 000BDC70 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
lbl_800C0D14:
/* 800C0D14 000BDC74 C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2)
/* 800C0D18 000BDC78 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C0D1C 000BDC7C 4C 41 13 82 */ cror 2, 1, 2
/* 800C0D20 000BDC80 7C 60 00 26 */ mfcr r3
/* 800C0D24 000BDC84 88 1A 02 1A */ lbz r0, 0x21a(r26)
/* 800C0D28 000BDC88 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f
/* 800C0D2C 000BDC8C 7C 03 00 40 */ cmplw r3, r0
/* 800C0D30 000BDC90 41 82 00 08 */ beq lbl_800C0D38
/* 800C0D34 000BDC94 98 7A 02 1A */ stb r3, 0x21a(r26)
lbl_800C0D38:
/* 800C0D38 000BDC98 88 1A 02 1A */ lbz r0, 0x21a(r26)
/* 800C0D3C 000BDC9C 28 00 00 00 */ cmplwi r0, 0
/* 800C0D40 000BDCA0 41 82 00 38 */ beq lbl_800C0D78
/* 800C0D44 000BDCA4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0D48 000BDCA8 C4 03 01 B8 */ lfsu f0, 0x1b8(r3)
/* 800C0D4C 000BDCAC C0 3A 02 14 */ lfs f1, 0x214(r26)
/* 800C0D50 000BDCB0 EC 1F 00 24 */ fdivs f0, f31, f0
/* 800C0D54 000BDCB4 EC 21 00 2A */ fadds f1, f1, f0
/* 800C0D58 000BDCB8 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 800C0D5C 000BDCBC C0 03 00 00 */ lfs f0, 0(r3)
/* 800C0D60 000BDCC0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C0D64 000BDCC4 40 80 00 08 */ bge lbl_800C0D6C
/* 800C0D68 000BDCC8 38 61 00 28 */ addi r3, r1, 0x28
lbl_800C0D6C:
/* 800C0D6C 000BDCCC C0 03 00 00 */ lfs f0, 0(r3)
/* 800C0D70 000BDCD0 D0 1A 02 14 */ stfs f0, 0x214(r26)
/* 800C0D74 000BDCD4 48 00 00 3C */ b lbl_800C0DB0
lbl_800C0D78:
/* 800C0D78 000BDCD8 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0D7C 000BDCDC C0 5A 02 14 */ lfs f2, 0x214(r26)
/* 800C0D80 000BDCE0 C0 23 01 B8 */ lfs f1, 0x1b8(r3)
/* 800C0D84 000BDCE4 C0 0D 86 74 */ lfs f0, lbl_805A7234@sda21(r13)
/* 800C0D88 000BDCE8 EC 3F 08 24 */ fdivs f1, f31, f1
/* 800C0D8C 000BDCEC EC 22 08 28 */ fsubs f1, f2, f1
/* 800C0D90 000BDCF0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C0D94 000BDCF4 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 800C0D98 000BDCF8 40 80 00 0C */ bge lbl_800C0DA4
/* 800C0D9C 000BDCFC 38 61 00 24 */ addi r3, r1, 0x24
/* 800C0DA0 000BDD00 48 00 00 08 */ b lbl_800C0DA8
lbl_800C0DA4:
/* 800C0DA4 000BDD04 38 6D 86 74 */ addi r3, r13, lbl_805A7234@sda21
lbl_800C0DA8:
/* 800C0DA8 000BDD08 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C0DAC 000BDD0C D0 1A 02 14 */ stfs f0, 0x214(r26)
lbl_800C0DB0:
/* 800C0DB0 000BDD10 80 7B 08 4C */ lwz r3, 0x84c(r27)
/* 800C0DB4 000BDD14 88 1A 01 F4 */ lbz r0, 0x1f4(r26)
/* 800C0DB8 000BDD18 80 63 04 90 */ lwz r3, 0x490(r3)
/* 800C0DBC 000BDD1C 80 63 03 1C */ lwz r3, 0x31c(r3)
/* 800C0DC0 000BDD20 20 63 00 01 */ subfic r3, r3, 1
/* 800C0DC4 000BDD24 7C 64 00 34 */ cntlzw r4, r3
/* 800C0DC8 000BDD28 54 83 DE 3E */ rlwinm r3, r4, 0x1b, 0x18, 0x1f
/* 800C0DCC 000BDD2C 7C 03 00 40 */ cmplw r3, r0
/* 800C0DD0 000BDD30 54 80 D9 7E */ srwi r0, r4, 5
/* 800C0DD4 000BDD34 41 82 00 30 */ beq lbl_800C0E04
/* 800C0DD8 000BDD38 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0DDC 000BDD3C C0 3A 01 F8 */ lfs f1, 0x1f8(r26)
/* 800C0DE0 000BDD40 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 800C0DE4 000BDD44 41 82 00 14 */ beq lbl_800C0DF8
/* 800C0DE8 000BDD48 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2)
/* 800C0DEC 000BDD4C EC 00 08 28 */ fsubs f0, f0, f1
/* 800C0DF0 000BDD50 D0 1A 01 F8 */ stfs f0, 0x1f8(r26)
/* 800C0DF4 000BDD54 48 00 00 0C */ b lbl_800C0E00
lbl_800C0DF8:
/* 800C0DF8 000BDD58 C0 02 8D B0 */ lfs f0, lbl_805AAAD0@sda21(r2)
/* 800C0DFC 000BDD5C D0 1A 01 F8 */ stfs f0, 0x1f8(r26)
lbl_800C0E00:
/* 800C0E00 000BDD60 98 1A 01 F4 */ stb r0, 0x1f4(r26)
lbl_800C0E04:
/* 800C0E04 000BDD64 80 7B 08 4C */ lwz r3, 0x84c(r27)
/* 800C0E08 000BDD68 80 1A 02 00 */ lwz r0, 0x200(r26)
/* 800C0E0C 000BDD6C 80 63 04 90 */ lwz r3, 0x490(r3)
/* 800C0E10 000BDD70 83 E3 03 10 */ lwz r31, 0x310(r3)
/* 800C0E14 000BDD74 7C 1F 00 00 */ cmpw r31, r0
/* 800C0E18 000BDD78 41 82 01 E4 */ beq lbl_800C0FFC
/* 800C0E1C 000BDD7C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0E20 000BDD80 57 E4 20 36 */ slwi r4, r31, 4
/* 800C0E24 000BDD84 38 E0 00 00 */ li r7, 0
/* 800C0E28 000BDD88 38 00 00 09 */ li r0, 9
/* 800C0E2C 000BDD8C C0 03 00 EC */ lfs f0, 0xec(r3)
/* 800C0E30 000BDD90 7C E8 3B 78 */ mr r8, r7
/* 800C0E34 000BDD94 38 A4 00 0C */ addi r5, r4, 0xc
/* 800C0E38 000BDD98 C0 A2 8D B4 */ lfs f5, lbl_805AAAD4@sda21(r2)
/* 800C0E3C 000BDD9C D0 1A 02 04 */ stfs f0, 0x204(r26)
/* 800C0E40 000BDDA0 39 20 00 00 */ li r9, 0
/* 800C0E44 000BDDA4 C8 82 8D 40 */ lfd f4, lbl_805AAA60@sda21(r2)
/* 800C0E48 000BDDA8 3C 80 43 30 */ lis r4, 0x4330
/* 800C0E4C 000BDDAC C0 62 8D 5C */ lfs f3, lbl_805AAA7C@sda21(r2)
/* 800C0E50 000BDDB0 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2)
/* 800C0E54 000BDDB4 7C 09 03 A6 */ mtctr r0
lbl_800C0E58:
/* 800C0E58 000BDDB8 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C0E5C 000BDDBC 80 1A 00 EC */ lwz r0, 0xec(r26)
/* 800C0E60 000BDDC0 80 63 01 04 */ lwz r3, 0x104(r3)
/* 800C0E64 000BDDC4 7C C0 3A 14 */ add r6, r0, r7
/* 800C0E68 000BDDC8 90 81 00 70 */ stw r4, 0x70(r1)
/* 800C0E6C 000BDDCC 7C 63 28 2E */ lwzx r3, r3, r5
/* 800C0E70 000BDDD0 7C 23 44 2E */ lfsx f1, r3, r8
/* 800C0E74 000BDDD4 EC 01 01 72 */ fmuls f0, f1, f5
/* 800C0E78 000BDDD8 FC 00 00 1E */ fctiwz f0, f0
/* 800C0E7C 000BDDDC D8 01 00 68 */ stfd f0, 0x68(r1)
/* 800C0E80 000BDDE0 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 800C0E84 000BDDE4 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C0E88 000BDDE8 90 01 00 74 */ stw r0, 0x74(r1)
/* 800C0E8C 000BDDEC C8 01 00 70 */ lfd f0, 0x70(r1)
/* 800C0E90 000BDDF0 EC 00 20 28 */ fsubs f0, f0, f4
/* 800C0E94 000BDDF4 EC C0 08 FC */ fnmsubs f6, f0, f3, f1
/* 800C0E98 000BDDF8 FC 06 10 40 */ fcmpo cr0, f6, f2
/* 800C0E9C 000BDDFC 40 80 00 08 */ bge lbl_800C0EA4
/* 800C0EA0 000BDE00 EC C6 18 2A */ fadds f6, f6, f3
lbl_800C0EA4:
/* 800C0EA4 000BDE04 55 23 0F FE */ srwi r3, r9, 0x1f
/* 800C0EA8 000BDE08 55 20 07 FE */ clrlwi r0, r9, 0x1f
/* 800C0EAC 000BDE0C C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800C0EB0 000BDE10 7C 00 1A 78 */ xor r0, r0, r3
/* 800C0EB4 000BDE14 7C 03 00 50 */ subf r0, r3, r0
/* 800C0EB8 000BDE18 EC E6 00 28 */ fsubs f7, f6, f0
/* 800C0EBC 000BDE1C 2C 00 00 01 */ cmpwi r0, 1
/* 800C0EC0 000BDE20 40 82 00 40 */ bne lbl_800C0F00
/* 800C0EC4 000BDE24 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0EC8 000BDE28 FC 07 00 40 */ fcmpo cr0, f7, f0
/* 800C0ECC 000BDE2C 40 81 00 20 */ ble lbl_800C0EEC
/* 800C0ED0 000BDE30 C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2)
/* 800C0ED4 000BDE34 38 61 00 20 */ addi r3, r1, 0x20
/* 800C0ED8 000BDE38 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2)
/* 800C0EDC 000BDE3C EC 00 38 28 */ fsubs f0, f0, f7
/* 800C0EE0 000BDE40 EC 01 00 32 */ fmuls f0, f1, f0
/* 800C0EE4 000BDE44 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 800C0EE8 000BDE48 48 00 00 14 */ b lbl_800C0EFC
lbl_800C0EEC:
/* 800C0EEC 000BDE4C C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2)
/* 800C0EF0 000BDE50 38 61 00 1C */ addi r3, r1, 0x1c
/* 800C0EF4 000BDE54 EC 00 38 2A */ fadds f0, f0, f7
/* 800C0EF8 000BDE58 D0 01 00 1C */ stfs f0, 0x1c(r1)
lbl_800C0EFC:
/* 800C0EFC 000BDE5C C0 E3 00 00 */ lfs f7, 0(r3)
lbl_800C0F00:
/* 800C0F00 000BDE60 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800C0F04 000BDE64 39 29 00 01 */ addi r9, r9, 1
/* 800C0F08 000BDE68 38 E7 00 1C */ addi r7, r7, 0x1c
/* 800C0F0C 000BDE6C 39 08 00 04 */ addi r8, r8, 4
/* 800C0F10 000BDE70 D0 06 00 0C */ stfs f0, 0xc(r6)
/* 800C0F14 000BDE74 D0 E6 00 18 */ stfs f7, 0x18(r6)
/* 800C0F18 000BDE78 D0 C6 00 14 */ stfs f6, 0x14(r6)
/* 800C0F1C 000BDE7C 42 00 FF 3C */ bdnz lbl_800C0E58
/* 800C0F20 000BDE80 80 8D A1 40 */ lwz r4, gpTweakTargeting@sda21(r13)
/* 800C0F24 000BDE84 3C 00 43 30 */ lis r0, 0x4330
/* 800C0F28 000BDE88 57 E3 10 3A */ slwi r3, r31, 2
/* 800C0F2C 000BDE8C C0 02 8D B4 */ lfs f0, lbl_805AAAD4@sda21(r2)
/* 800C0F30 000BDE90 80 84 01 14 */ lwz r4, 0x114(r4)
/* 800C0F34 000BDE94 90 01 00 68 */ stw r0, 0x68(r1)
/* 800C0F38 000BDE98 7C 84 1C 2E */ lfsx f4, r4, r3
/* 800C0F3C 000BDE9C C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2)
/* 800C0F40 000BDEA0 EC 44 00 32 */ fmuls f2, f4, f0
/* 800C0F44 000BDEA4 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2)
/* 800C0F48 000BDEA8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0F4C 000BDEAC FC 40 10 1E */ fctiwz f2, f2
/* 800C0F50 000BDEB0 D8 41 00 70 */ stfd f2, 0x70(r1)
/* 800C0F54 000BDEB4 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800C0F58 000BDEB8 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C0F5C 000BDEBC 90 01 00 6C */ stw r0, 0x6c(r1)
/* 800C0F60 000BDEC0 C8 41 00 68 */ lfd f2, 0x68(r1)
/* 800C0F64 000BDEC4 EC 42 18 28 */ fsubs f2, f2, f3
/* 800C0F68 000BDEC8 EF C2 20 7C */ fnmsubs f30, f2, f1, f4
/* 800C0F6C 000BDECC FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 800C0F70 000BDED0 40 80 00 08 */ bge lbl_800C0F78
/* 800C0F74 000BDED4 EF DE 08 2A */ fadds f30, f30, f1
lbl_800C0F78:
/* 800C0F78 000BDED8 48 2C EF 05 */ bl rand
/* 800C0F7C 000BDEDC 54 64 0F FE */ srwi r4, r3, 0x1f
/* 800C0F80 000BDEE0 54 60 07 FE */ clrlwi r0, r3, 0x1f
/* 800C0F84 000BDEE4 7C 00 22 78 */ xor r0, r0, r4
/* 800C0F88 000BDEE8 C0 1A 00 D4 */ lfs f0, 0xd4(r26)
/* 800C0F8C 000BDEEC 7C 04 00 50 */ subf r0, r4, r0
/* 800C0F90 000BDEF0 20 00 00 01 */ subfic r0, r0, 1
/* 800C0F94 000BDEF4 EC 5E 00 28 */ fsubs f2, f30, f0
/* 800C0F98 000BDEF8 7C 00 00 34 */ cntlzw r0, r0
/* 800C0F9C 000BDEFC 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f
/* 800C0FA0 000BDF00 41 82 00 40 */ beq lbl_800C0FE0
/* 800C0FA4 000BDF04 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0FA8 000BDF08 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C0FAC 000BDF0C 40 81 00 20 */ ble lbl_800C0FCC
/* 800C0FB0 000BDF10 C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2)
/* 800C0FB4 000BDF14 38 61 00 18 */ addi r3, r1, 0x18
/* 800C0FB8 000BDF18 C0 22 8D 7C */ lfs f1, lbl_805AAA9C@sda21(r2)
/* 800C0FBC 000BDF1C EC 00 10 28 */ fsubs f0, f0, f2
/* 800C0FC0 000BDF20 EC 01 00 32 */ fmuls f0, f1, f0
/* 800C0FC4 000BDF24 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 800C0FC8 000BDF28 48 00 00 14 */ b lbl_800C0FDC
lbl_800C0FCC:
/* 800C0FCC 000BDF2C C0 02 8D 5C */ lfs f0, lbl_805AAA7C@sda21(r2)
/* 800C0FD0 000BDF30 38 61 00 14 */ addi r3, r1, 0x14
/* 800C0FD4 000BDF34 EC 00 10 2A */ fadds f0, f0, f2
/* 800C0FD8 000BDF38 D0 01 00 14 */ stfs f0, 0x14(r1)
lbl_800C0FDC:
/* 800C0FDC 000BDF3C C0 43 00 00 */ lfs f2, 0(r3)
lbl_800C0FE0:
/* 800C0FE0 000BDF40 C0 3A 00 D4 */ lfs f1, 0xd4(r26)
/* 800C0FE4 000BDF44 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C0FE8 000BDF48 D0 3A 00 D0 */ stfs f1, 0xd0(r26)
/* 800C0FEC 000BDF4C D0 5A 00 DC */ stfs f2, 0xdc(r26)
/* 800C0FF0 000BDF50 D3 DA 00 D8 */ stfs f30, 0xd8(r26)
/* 800C0FF4 000BDF54 93 FA 02 00 */ stw r31, 0x200(r26)
/* 800C0FF8 000BDF58 D0 1A 02 08 */ stfs f0, 0x208(r26)
lbl_800C0FFC:
/* 800C0FFC 000BDF5C 80 7B 08 4C */ lwz r3, 0x84c(r27)
/* 800C1000 000BDF60 80 83 04 90 */ lwz r4, 0x490(r3)
/* 800C1004 000BDF64 80 04 02 EC */ lwz r0, 0x2ec(r4)
/* 800C1008 000BDF68 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 800C100C 000BDF6C 41 82 00 28 */ beq lbl_800C1034
/* 800C1010 000BDF70 88 1A 02 18 */ lbz r0, 0x218(r26)
/* 800C1014 000BDF74 28 00 00 00 */ cmplwi r0, 0
/* 800C1018 000BDF78 40 82 00 10 */ bne lbl_800C1028
/* 800C101C 000BDF7C 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C1020 000BDF80 C0 03 01 2C */ lfs f0, 0x12c(r3)
/* 800C1024 000BDF84 D0 1A 02 10 */ stfs f0, 0x210(r26)
lbl_800C1028:
/* 800C1028 000BDF88 38 00 00 01 */ li r0, 1
/* 800C102C 000BDF8C 98 1A 02 18 */ stb r0, 0x218(r26)
/* 800C1030 000BDF90 48 00 00 0C */ b lbl_800C103C
lbl_800C1034:
/* 800C1034 000BDF94 38 00 00 00 */ li r0, 0
/* 800C1038 000BDF98 98 1A 02 18 */ stb r0, 0x218(r26)
lbl_800C103C:
/* 800C103C 000BDF9C 80 04 02 EC */ lwz r0, 0x2ec(r4)
/* 800C1040 000BDFA0 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e
/* 800C1044 000BDFA4 41 82 00 28 */ beq lbl_800C106C
/* 800C1048 000BDFA8 88 1A 02 19 */ lbz r0, 0x219(r26)
/* 800C104C 000BDFAC 28 00 00 00 */ cmplwi r0, 0
/* 800C1050 000BDFB0 40 82 00 10 */ bne lbl_800C1060
/* 800C1054 000BDFB4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C1058 000BDFB8 C0 03 00 C8 */ lfs f0, 0xc8(r3)
/* 800C105C 000BDFBC D0 1A 01 FC */ stfs f0, 0x1fc(r26)
lbl_800C1060:
/* 800C1060 000BDFC0 38 00 00 01 */ li r0, 1
/* 800C1064 000BDFC4 98 1A 02 19 */ stb r0, 0x219(r26)
/* 800C1068 000BDFC8 48 00 00 0C */ b lbl_800C1074
lbl_800C106C:
/* 800C106C 000BDFCC 38 00 00 00 */ li r0, 0
/* 800C1070 000BDFD0 98 1A 02 19 */ stb r0, 0x219(r26)
lbl_800C1074:
/* 800C1074 000BDFD4 A0 1A 00 F2 */ lhz r0, 0xf2(r26)
/* 800C1078 000BDFD8 38 81 00 08 */ addi r4, r1, 8
/* 800C107C 000BDFDC 80 7B 08 10 */ lwz r3, 0x810(r27)
/* 800C1080 000BDFE0 B0 01 00 08 */ sth r0, 8(r1)
/* 800C1084 000BDFE4 4B F4 ED 69 */ bl GetObjectById__11CObjectListCF9TUniqueId
/* 800C1088 000BDFE8 7C 64 1B 78 */ mr r4, r3
/* 800C108C 000BDFEC 38 61 00 34 */ addi r3, r1, 0x34
/* 800C1090 000BDFF0 4B FE 8A 39 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity"
/* 800C1094 000BDFF4 A0 1A 00 F2 */ lhz r0, 0xf2(r26)
/* 800C1098 000BDFF8 38 A0 00 00 */ li r5, 0
2022-04-24 01:54:45 +00:00
/* 800C109C 000BDFFC A0 8D A3 8C */ lhz r4, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C10A0 000BE000 80 63 00 04 */ lwz r3, 4(r3)
/* 800C10A4 000BE004 7C 00 20 40 */ cmplw r0, r4
/* 800C10A8 000BE008 41 82 00 08 */ beq lbl_800C10B0
/* 800C10AC 000BE00C 7C 65 1B 78 */ mr r5, r3
lbl_800C10B0:
/* 800C10B0 000BE010 28 05 00 00 */ cmplwi r5, 0
/* 800C10B4 000BE014 41 82 00 60 */ beq lbl_800C1114
/* 800C10B8 000BE018 A0 85 00 08 */ lhz r4, 8(r5)
/* 800C10BC 000BE01C A0 BA 01 DC */ lhz r5, 0x1dc(r26)
/* 800C10C0 000BE020 7C 04 28 40 */ cmplw r4, r5
/* 800C10C4 000BE024 41 82 00 78 */ beq lbl_800C113C
/* 800C10C8 000BE028 A0 1A 01 DE */ lhz r0, 0x1de(r26)
/* 800C10CC 000BE02C 7C 04 00 40 */ cmplw r4, r0
/* 800C10D0 000BE030 40 82 00 28 */ bne lbl_800C10F8
/* 800C10D4 000BE034 C0 22 8D B8 */ lfs f1, lbl_805AAAD8@sda21(r2)
/* 800C10D8 000BE038 C0 1A 01 E4 */ lfs f0, 0x1e4(r26)
/* 800C10DC 000BE03C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C10E0 000BE040 40 80 00 0C */ bge lbl_800C10EC
/* 800C10E4 000BE044 38 7A 01 E4 */ addi r3, r26, 0x1e4
/* 800C10E8 000BE048 48 00 00 08 */ b lbl_800C10F0
lbl_800C10EC:
/* 800C10EC 000BE04C 38 62 8D B8 */ addi r3, r2, lbl_805AAAD8@sda21
lbl_800C10F0:
/* 800C10F0 000BE050 C0 23 00 00 */ lfs f1, 0(r3)
/* 800C10F4 000BE054 48 00 00 08 */ b lbl_800C10FC
lbl_800C10F8:
/* 800C10F8 000BE058 C0 22 8D B0 */ lfs f1, lbl_805AAAD0@sda21(r2)
lbl_800C10FC:
/* 800C10FC 000BE05C B0 BA 01 DE */ sth r5, 0x1de(r26)
/* 800C1100 000BE060 C0 1A 01 E0 */ lfs f0, 0x1e0(r26)
/* 800C1104 000BE064 D0 1A 01 E4 */ stfs f0, 0x1e4(r26)
/* 800C1108 000BE068 D0 3A 01 E0 */ stfs f1, 0x1e0(r26)
/* 800C110C 000BE06C B0 9A 01 DC */ sth r4, 0x1dc(r26)
/* 800C1110 000BE070 48 00 00 2C */ b lbl_800C113C
lbl_800C1114:
/* 800C1114 000BE074 A0 1A 01 DC */ lhz r0, 0x1dc(r26)
/* 800C1118 000BE078 7C 00 20 40 */ cmplw r0, r4
/* 800C111C 000BE07C 41 82 00 20 */ beq lbl_800C113C
/* 800C1120 000BE080 B0 1A 01 DE */ sth r0, 0x1de(r26)
/* 800C1124 000BE084 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C1128 000BE088 C0 3A 01 E0 */ lfs f1, 0x1e0(r26)
/* 800C112C 000BE08C D0 3A 01 E4 */ stfs f1, 0x1e4(r26)
/* 800C1130 000BE090 D0 1A 01 E0 */ stfs f0, 0x1e0(r26)
2022-04-24 01:54:45 +00:00
/* 800C1134 000BE094 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C1138 000BE098 B0 1A 01 DC */ sth r0, 0x1dc(r26)
lbl_800C113C:
/* 800C113C 000BE09C C0 5A 01 E0 */ lfs f2, 0x1e0(r26)
/* 800C1140 000BE0A0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C1144 000BE0A4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C1148 000BE0A8 40 81 00 34 */ ble lbl_800C117C
/* 800C114C 000BE0AC C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2)
/* 800C1150 000BE0B0 C0 0D 86 78 */ lfs f0, lbl_805A7238@sda21(r13)
/* 800C1154 000BE0B4 EC 3F 08 24 */ fdivs f1, f31, f1
/* 800C1158 000BE0B8 EC 22 08 2A */ fadds f1, f2, f1
/* 800C115C 000BE0BC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C1160 000BE0C0 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 800C1164 000BE0C4 40 80 00 0C */ bge lbl_800C1170
/* 800C1168 000BE0C8 38 61 00 10 */ addi r3, r1, 0x10
/* 800C116C 000BE0CC 48 00 00 08 */ b lbl_800C1174
lbl_800C1170:
/* 800C1170 000BE0D0 38 6D 86 78 */ addi r3, r13, lbl_805A7238@sda21
lbl_800C1174:
/* 800C1174 000BE0D4 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C1178 000BE0D8 D0 1A 01 E0 */ stfs f0, 0x1e0(r26)
lbl_800C117C:
/* 800C117C 000BE0DC C0 5A 01 E4 */ lfs f2, 0x1e4(r26)
/* 800C1180 000BE0E0 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C1184 000BE0E4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C1188 000BE0E8 40 81 00 4C */ ble lbl_800C11D4
/* 800C118C 000BE0EC C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2)
/* 800C1190 000BE0F0 C0 0D 86 7C */ lfs f0, lbl_805A723C@sda21(r13)
/* 800C1194 000BE0F4 EC 3F 08 24 */ fdivs f1, f31, f1
/* 800C1198 000BE0F8 EC 22 08 28 */ fsubs f1, f2, f1
/* 800C119C 000BE0FC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C11A0 000BE100 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 800C11A4 000BE104 40 80 00 0C */ bge lbl_800C11B0
/* 800C11A8 000BE108 38 61 00 0C */ addi r3, r1, 0xc
/* 800C11AC 000BE10C 48 00 00 08 */ b lbl_800C11B4
lbl_800C11B0:
/* 800C11B0 000BE110 38 6D 86 7C */ addi r3, r13, lbl_805A723C@sda21
lbl_800C11B4:
/* 800C11B4 000BE114 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C11B8 000BE118 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800C11BC 000BE11C D0 1A 01 E4 */ stfs f0, 0x1e4(r26)
/* 800C11C0 000BE120 C0 1A 01 E4 */ lfs f0, 0x1e4(r26)
/* 800C11C4 000BE124 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800C11C8 000BE128 40 82 00 0C */ bne lbl_800C11D4
2022-04-24 01:54:45 +00:00
/* 800C11CC 000BE12C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C11D0 000BE130 B0 1A 01 DE */ sth r0, 0x1de(r26)
lbl_800C11D4:
/* 800C11D4 000BE134 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C11D8 000BE138 3C 00 43 30 */ lis r0, 0x4330
/* 800C11DC 000BE13C C0 22 8D 34 */ lfs f1, lbl_805AAA54@sda21(r2)
/* 800C11E0 000BE140 C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 800C11E4 000BE144 C0 BA 01 F0 */ lfs f5, 0x1f0(r26)
/* 800C11E8 000BE148 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800C11EC 000BE14C C0 42 8D B4 */ lfs f2, lbl_805AAAD4@sda21(r2)
/* 800C11F0 000BE150 90 01 00 68 */ stw r0, 0x68(r1)
/* 800C11F4 000BE154 C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2)
/* 800C11F8 000BE158 EC 81 00 32 */ fmuls f4, f1, f0
/* 800C11FC 000BE15C C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2)
/* 800C1200 000BE160 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C1204 000BE164 EC 85 20 2A */ fadds f4, f5, f4
/* 800C1208 000BE168 EC 44 00 B2 */ fmuls f2, f4, f2
/* 800C120C 000BE16C FC 40 10 1E */ fctiwz f2, f2
/* 800C1210 000BE170 D8 41 00 70 */ stfd f2, 0x70(r1)
/* 800C1214 000BE174 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800C1218 000BE178 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C121C 000BE17C 90 01 00 6C */ stw r0, 0x6c(r1)
/* 800C1220 000BE180 C8 41 00 68 */ lfd f2, 0x68(r1)
/* 800C1224 000BE184 EC 42 18 28 */ fsubs f2, f2, f3
/* 800C1228 000BE188 EC 42 20 7C */ fnmsubs f2, f2, f1, f4
/* 800C122C 000BE18C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C1230 000BE190 40 80 00 08 */ bge lbl_800C1238
/* 800C1234 000BE194 EC 42 08 2A */ fadds f2, f2, f1
lbl_800C1238:
/* 800C1238 000BE198 D0 5A 01 F0 */ stfs f2, 0x1f0(r26)
/* 800C123C 000BE19C 3C 00 43 30 */ lis r0, 0x4330
/* 800C1240 000BE1A0 C0 82 8D 34 */ lfs f4, lbl_805AAA54@sda21(r2)
/* 800C1244 000BE1A4 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C1248 000BE1A8 C0 BA 01 EC */ lfs f5, 0x1ec(r26)
/* 800C124C 000BE1AC C0 03 00 28 */ lfs f0, 0x28(r3)
/* 800C1250 000BE1B0 C0 42 8D B4 */ lfs f2, lbl_805AAAD4@sda21(r2)
/* 800C1254 000BE1B4 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800C1258 000BE1B8 90 01 00 80 */ stw r0, 0x80(r1)
/* 800C125C 000BE1BC C8 62 8D 40 */ lfd f3, lbl_805AAA60@sda21(r2)
/* 800C1260 000BE1C0 C0 22 8D 5C */ lfs f1, lbl_805AAA7C@sda21(r2)
/* 800C1264 000BE1C4 EC 84 00 32 */ fmuls f4, f4, f0
/* 800C1268 000BE1C8 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C126C 000BE1CC EC 85 20 2A */ fadds f4, f5, f4
/* 800C1270 000BE1D0 EC 44 00 B2 */ fmuls f2, f4, f2
/* 800C1274 000BE1D4 FC 40 10 1E */ fctiwz f2, f2
/* 800C1278 000BE1D8 D8 41 00 78 */ stfd f2, 0x78(r1)
/* 800C127C 000BE1DC 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 800C1280 000BE1E0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C1284 000BE1E4 90 01 00 84 */ stw r0, 0x84(r1)
/* 800C1288 000BE1E8 C8 41 00 80 */ lfd f2, 0x80(r1)
/* 800C128C 000BE1EC EC 42 18 28 */ fsubs f2, f2, f3
/* 800C1290 000BE1F0 EC 42 20 7C */ fnmsubs f2, f2, f1, f4
/* 800C1294 000BE1F4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 800C1298 000BE1F8 40 80 00 08 */ bge lbl_800C12A0
/* 800C129C 000BE1FC EC 42 08 2A */ fadds f2, f2, f1
lbl_800C12A0:
/* 800C12A0 000BE200 D0 5A 01 EC */ stfs f2, 0x1ec(r26)
/* 800C12A4 000BE204 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0
/* 800C12A8 000BE208 CB E1 00 B0 */ lfd f31, 0xb0(r1)
/* 800C12AC 000BE20C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0
/* 800C12B0 000BE210 CB C1 00 A0 */ lfd f30, 0xa0(r1)
/* 800C12B4 000BE214 BB 41 00 88 */ lmw r26, 0x88(r1)
/* 800C12B8 000BE218 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 800C12BC 000BE21C 7C 08 03 A6 */ mtlr r0
/* 800C12C0 000BE220 38 21 00 C0 */ addi r1, r1, 0xc0
2022-07-14 05:48:03 +00:00
/* 800C12C4 000BE224 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager
GetDesiredReticleState__22CCompoundTargetReticleCFRC13CStateManager:
/* 800C12C8 000BE228 80 64 08 B8 */ lwz r3, 0x8b8(r4)
/* 800C12CC 000BE22C 80 63 00 00 */ lwz r3, 0(r3)
/* 800C12D0 000BE230 80 03 00 14 */ lwz r0, 0x14(r3)
/* 800C12D4 000BE234 2C 00 00 02 */ cmpwi r0, 2
/* 800C12D8 000BE238 41 82 00 24 */ beq lbl_800C12FC
/* 800C12DC 000BE23C 40 80 00 14 */ bge lbl_800C12F0
/* 800C12E0 000BE240 2C 00 00 00 */ cmpwi r0, 0
/* 800C12E4 000BE244 41 82 00 28 */ beq lbl_800C130C
/* 800C12E8 000BE248 40 80 00 1C */ bge lbl_800C1304
/* 800C12EC 000BE24C 48 00 00 30 */ b lbl_800C131C
lbl_800C12F0:
/* 800C12F0 000BE250 2C 00 00 04 */ cmpwi r0, 4
/* 800C12F4 000BE254 40 80 00 28 */ bge lbl_800C131C
/* 800C12F8 000BE258 48 00 00 1C */ b lbl_800C1314
lbl_800C12FC:
/* 800C12FC 000BE25C 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 800C1300 000BE260 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
lbl_800C1304:
/* 800C1304 000BE264 38 60 00 02 */ li r3, 2
2022-07-14 05:48:03 +00:00
/* 800C1308 000BE268 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
lbl_800C130C:
/* 800C130C 000BE26C 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 800C1310 000BE270 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
lbl_800C1314:
/* 800C1314 000BE274 38 60 00 03 */ li r3, 3
2022-07-14 05:48:03 +00:00
/* 800C1318 000BE278 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
lbl_800C131C:
/* 800C131C 000BE27C 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 800C1320 000BE280 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global CheckLoadComplete__22CCompoundTargetReticleFv
CheckLoadComplete__22CCompoundTargetReticleFv:
/* 800C1324 000BE284 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 800C1328 000BE288 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global __ct__22CCompoundTargetReticleFRC13CStateManager
__ct__22CCompoundTargetReticleFRC13CStateManager:
/* 800C132C 000BE28C 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 800C1330 000BE290 7C 08 02 A6 */ mflr r0
/* 800C1334 000BE294 3C A0 80 3D */ lis r5, lbl_803CDEE8@ha
/* 800C1338 000BE298 90 01 01 24 */ stw r0, 0x124(r1)
/* 800C133C 000BE29C BF 61 01 0C */ stmw r27, 0x10c(r1)
/* 800C1340 000BE2A0 7C 7D 1B 78 */ mr r29, r3
/* 800C1344 000BE2A4 7C 9E 23 78 */ mr r30, r4
/* 800C1348 000BE2A8 3B E5 DE E8 */ addi r31, r5, lbl_803CDEE8@l
/* 800C134C 000BE2AC 80 64 08 70 */ lwz r3, 0x870(r4)
/* 800C1350 000BE2B0 4B F4 A7 C9 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
2022-04-12 09:14:24 +00:00
/* 800C1354 000BE2B4 7C 64 1B 78 */ mr r4, r3
/* 800C1358 000BE2B8 38 61 00 90 */ addi r3, r1, 0x90
/* 800C135C 000BE2BC 38 84 00 34 */ addi r4, r4, 0x34
/* 800C1360 000BE2C0 48 25 0D C9 */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 800C1364 000BE2C4 C0 01 00 90 */ lfs f0, 0x90(r1)
/* 800C1368 000BE2C8 7F C4 F3 78 */ mr r4, r30
/* 800C136C 000BE2CC D0 1D 00 00 */ stfs f0, 0(r29)
/* 800C1370 000BE2D0 C0 01 00 94 */ lfs f0, 0x94(r1)
/* 800C1374 000BE2D4 D0 1D 00 04 */ stfs f0, 4(r29)
/* 800C1378 000BE2D8 C0 01 00 98 */ lfs f0, 0x98(r1)
/* 800C137C 000BE2DC D0 1D 00 08 */ stfs f0, 8(r29)
/* 800C1380 000BE2E0 C0 01 00 9C */ lfs f0, 0x9c(r1)
/* 800C1384 000BE2E4 D0 1D 00 0C */ stfs f0, 0xc(r29)
/* 800C1388 000BE2E8 80 7E 08 70 */ lwz r3, 0x870(r30)
/* 800C138C 000BE2EC 4B F4 A7 8D */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
2022-04-12 09:14:24 +00:00
/* 800C1390 000BE2F0 7C 64 1B 78 */ mr r4, r3
/* 800C1394 000BE2F4 38 61 00 80 */ addi r3, r1, 0x80
/* 800C1398 000BE2F8 38 84 00 34 */ addi r4, r4, 0x34
/* 800C139C 000BE2FC 48 25 0D 8D */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 800C13A0 000BE300 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 800C13A4 000BE304 38 60 00 05 */ li r3, 5
/* 800C13A8 000BE308 38 00 00 00 */ li r0, 0
/* 800C13AC 000BE30C C0 22 8D 64 */ lfs f1, lbl_805AAA84@sda21(r2)
/* 800C13B0 000BE310 D0 1D 00 10 */ stfs f0, 0x10(r29)
/* 800C13B4 000BE314 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 800C13B8 000BE318 D0 1D 00 14 */ stfs f0, 0x14(r29)
/* 800C13BC 000BE31C C0 01 00 88 */ lfs f0, 0x88(r1)
/* 800C13C0 000BE320 D0 1D 00 18 */ stfs f0, 0x18(r29)
/* 800C13C4 000BE324 C0 01 00 8C */ lfs f0, 0x8c(r1)
/* 800C13C8 000BE328 D0 1D 00 1C */ stfs f0, 0x1c(r29)
/* 800C13CC 000BE32C 90 7D 00 20 */ stw r3, 0x20(r29)
/* 800C13D0 000BE330 90 7D 00 24 */ stw r3, 0x24(r29)
/* 800C13D4 000BE334 90 1D 00 28 */ stw r0, 0x28(r29)
/* 800C13D8 000BE338 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C13DC 000BE33C C0 03 00 E8 */ lfs f0, 0xe8(r3)
/* 800C13E0 000BE340 EC 01 00 32 */ fmuls f0, f1, f0
/* 800C13E4 000BE344 D0 1D 00 2C */ stfs f0, 0x2c(r29)
/* 800C13E8 000BE348 80 6D A1 40 */ lwz r3, gpTweakTargeting@sda21(r13)
/* 800C13EC 000BE34C C0 23 00 E8 */ lfs f1, 0xe8(r3)
/* 800C13F0 000BE350 48 00 06 F5 */ bl calculate_premultiplied_overshoot_offset__Ff
/* 800C13F4 000BE354 D0 3D 00 30 */ stfs f1, 0x30(r29)
/* 800C13F8 000BE358 38 61 00 60 */ addi r3, r1, 0x60
/* 800C13FC 000BE35C 38 BF 00 00 */ addi r5, r31, 0
/* 800C1400 000BE360 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C1404 000BE364 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1408 000BE368 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C140C 000BE36C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1410 000BE370 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1414 000BE374 3B 7D 00 34 */ addi r27, r29, 0x34
/* 800C1418 000BE378 38 81 00 60 */ addi r4, r1, 0x60
/* 800C141C 000BE37C 7F 63 DB 78 */ mr r3, r27
/* 800C1420 000BE380 48 27 FA 89 */ bl __ct__6CTokenFRC6CToken
/* 800C1424 000BE384 38 00 00 00 */ li r0, 0
/* 800C1428 000BE388 38 61 00 60 */ addi r3, r1, 0x60
/* 800C142C 000BE38C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C1430 000BE390 38 80 FF FF */ li r4, -1
/* 800C1434 000BE394 48 27 FA 0D */ bl __dt__6CTokenFv
/* 800C1438 000BE398 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C143C 000BE39C 38 61 00 58 */ addi r3, r1, 0x58
/* 800C1440 000BE3A0 38 BF 00 20 */ addi r5, r31, 0x20
/* 800C1444 000BE3A4 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1448 000BE3A8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C144C 000BE3AC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1450 000BE3B0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1454 000BE3B4 3B 7D 00 40 */ addi r27, r29, 0x40
/* 800C1458 000BE3B8 38 81 00 58 */ addi r4, r1, 0x58
/* 800C145C 000BE3BC 7F 63 DB 78 */ mr r3, r27
/* 800C1460 000BE3C0 48 27 FA 49 */ bl __ct__6CTokenFRC6CToken
/* 800C1464 000BE3C4 38 00 00 00 */ li r0, 0
/* 800C1468 000BE3C8 38 61 00 58 */ addi r3, r1, 0x58
/* 800C146C 000BE3CC 90 1B 00 08 */ stw r0, 8(r27)
/* 800C1470 000BE3D0 38 80 FF FF */ li r4, -1
/* 800C1474 000BE3D4 48 27 F9 CD */ bl __dt__6CTokenFv
/* 800C1478 000BE3D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C147C 000BE3DC 38 61 00 50 */ addi r3, r1, 0x50
/* 800C1480 000BE3E0 38 BF 00 2C */ addi r5, r31, 0x2c
/* 800C1484 000BE3E4 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1488 000BE3E8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C148C 000BE3EC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1490 000BE3F0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1494 000BE3F4 3B 7D 00 4C */ addi r27, r29, 0x4c
/* 800C1498 000BE3F8 38 81 00 50 */ addi r4, r1, 0x50
/* 800C149C 000BE3FC 7F 63 DB 78 */ mr r3, r27
/* 800C14A0 000BE400 48 27 FA 09 */ bl __ct__6CTokenFRC6CToken
/* 800C14A4 000BE404 38 00 00 00 */ li r0, 0
/* 800C14A8 000BE408 38 61 00 50 */ addi r3, r1, 0x50
/* 800C14AC 000BE40C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C14B0 000BE410 38 80 FF FF */ li r4, -1
/* 800C14B4 000BE414 48 27 F9 8D */ bl __dt__6CTokenFv
/* 800C14B8 000BE418 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C14BC 000BE41C 38 61 00 48 */ addi r3, r1, 0x48
/* 800C14C0 000BE420 38 BF 00 40 */ addi r5, r31, 0x40
/* 800C14C4 000BE424 81 84 00 00 */ lwz r12, 0(r4)
/* 800C14C8 000BE428 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C14CC 000BE42C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C14D0 000BE430 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C14D4 000BE434 3B 7D 00 58 */ addi r27, r29, 0x58
/* 800C14D8 000BE438 38 81 00 48 */ addi r4, r1, 0x48
/* 800C14DC 000BE43C 7F 63 DB 78 */ mr r3, r27
/* 800C14E0 000BE440 48 27 F9 C9 */ bl __ct__6CTokenFRC6CToken
/* 800C14E4 000BE444 38 00 00 00 */ li r0, 0
/* 800C14E8 000BE448 38 61 00 48 */ addi r3, r1, 0x48
/* 800C14EC 000BE44C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C14F0 000BE450 38 80 FF FF */ li r4, -1
/* 800C14F4 000BE454 48 27 F9 4D */ bl __dt__6CTokenFv
/* 800C14F8 000BE458 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C14FC 000BE45C 38 61 00 40 */ addi r3, r1, 0x40
/* 800C1500 000BE460 38 BF 00 54 */ addi r5, r31, 0x54
/* 800C1504 000BE464 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1508 000BE468 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C150C 000BE46C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1510 000BE470 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1514 000BE474 3B 7D 00 64 */ addi r27, r29, 0x64
/* 800C1518 000BE478 38 81 00 40 */ addi r4, r1, 0x40
/* 800C151C 000BE47C 7F 63 DB 78 */ mr r3, r27
/* 800C1520 000BE480 48 27 F9 89 */ bl __ct__6CTokenFRC6CToken
/* 800C1524 000BE484 38 00 00 00 */ li r0, 0
/* 800C1528 000BE488 38 61 00 40 */ addi r3, r1, 0x40
/* 800C152C 000BE48C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C1530 000BE490 38 80 FF FF */ li r4, -1
/* 800C1534 000BE494 48 27 F9 0D */ bl __dt__6CTokenFv
/* 800C1538 000BE498 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C153C 000BE49C 38 61 00 38 */ addi r3, r1, 0x38
/* 800C1540 000BE4A0 38 BF 00 A4 */ addi r5, r31, 0xa4
/* 800C1544 000BE4A4 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1548 000BE4A8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C154C 000BE4AC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1550 000BE4B0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1554 000BE4B4 3B 7D 00 70 */ addi r27, r29, 0x70
/* 800C1558 000BE4B8 38 81 00 38 */ addi r4, r1, 0x38
/* 800C155C 000BE4BC 7F 63 DB 78 */ mr r3, r27
/* 800C1560 000BE4C0 48 27 F9 49 */ bl __ct__6CTokenFRC6CToken
/* 800C1564 000BE4C4 38 00 00 00 */ li r0, 0
/* 800C1568 000BE4C8 38 61 00 38 */ addi r3, r1, 0x38
/* 800C156C 000BE4CC 90 1B 00 08 */ stw r0, 8(r27)
/* 800C1570 000BE4D0 38 80 FF FF */ li r4, -1
/* 800C1574 000BE4D4 48 27 F8 CD */ bl __dt__6CTokenFv
/* 800C1578 000BE4D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C157C 000BE4DC 38 61 00 30 */ addi r3, r1, 0x30
/* 800C1580 000BE4E0 38 BF 00 B8 */ addi r5, r31, 0xb8
/* 800C1584 000BE4E4 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1588 000BE4E8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C158C 000BE4EC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1590 000BE4F0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1594 000BE4F4 3B 7D 00 7C */ addi r27, r29, 0x7c
/* 800C1598 000BE4F8 38 81 00 30 */ addi r4, r1, 0x30
/* 800C159C 000BE4FC 7F 63 DB 78 */ mr r3, r27
/* 800C15A0 000BE500 48 27 F9 09 */ bl __ct__6CTokenFRC6CToken
/* 800C15A4 000BE504 38 00 00 00 */ li r0, 0
/* 800C15A8 000BE508 38 61 00 30 */ addi r3, r1, 0x30
/* 800C15AC 000BE50C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C15B0 000BE510 38 80 FF FF */ li r4, -1
/* 800C15B4 000BE514 48 27 F8 8D */ bl __dt__6CTokenFv
/* 800C15B8 000BE518 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C15BC 000BE51C 38 61 00 28 */ addi r3, r1, 0x28
/* 800C15C0 000BE520 38 BF 00 C8 */ addi r5, r31, 0xc8
/* 800C15C4 000BE524 81 84 00 00 */ lwz r12, 0(r4)
/* 800C15C8 000BE528 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C15CC 000BE52C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C15D0 000BE530 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C15D4 000BE534 3B 7D 00 88 */ addi r27, r29, 0x88
/* 800C15D8 000BE538 38 81 00 28 */ addi r4, r1, 0x28
/* 800C15DC 000BE53C 7F 63 DB 78 */ mr r3, r27
/* 800C15E0 000BE540 48 27 F8 C9 */ bl __ct__6CTokenFRC6CToken
/* 800C15E4 000BE544 38 00 00 00 */ li r0, 0
/* 800C15E8 000BE548 38 61 00 28 */ addi r3, r1, 0x28
/* 800C15EC 000BE54C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C15F0 000BE550 38 80 FF FF */ li r4, -1
/* 800C15F4 000BE554 48 27 F8 4D */ bl __dt__6CTokenFv
/* 800C15F8 000BE558 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C15FC 000BE55C 38 61 00 20 */ addi r3, r1, 0x20
/* 800C1600 000BE560 38 BF 00 DC */ addi r5, r31, 0xdc
/* 800C1604 000BE564 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1608 000BE568 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C160C 000BE56C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1610 000BE570 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1614 000BE574 3B 7D 00 94 */ addi r27, r29, 0x94
/* 800C1618 000BE578 38 81 00 20 */ addi r4, r1, 0x20
/* 800C161C 000BE57C 7F 63 DB 78 */ mr r3, r27
/* 800C1620 000BE580 48 27 F8 89 */ bl __ct__6CTokenFRC6CToken
/* 800C1624 000BE584 38 00 00 00 */ li r0, 0
/* 800C1628 000BE588 38 61 00 20 */ addi r3, r1, 0x20
/* 800C162C 000BE58C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C1630 000BE590 38 80 FF FF */ li r4, -1
/* 800C1634 000BE594 48 27 F8 0D */ bl __dt__6CTokenFv
/* 800C1638 000BE598 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C163C 000BE59C 38 61 00 18 */ addi r3, r1, 0x18
/* 800C1640 000BE5A0 38 BF 00 7C */ addi r5, r31, 0x7c
/* 800C1644 000BE5A4 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1648 000BE5A8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C164C 000BE5AC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1650 000BE5B0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1654 000BE5B4 3B 7D 00 A0 */ addi r27, r29, 0xa0
/* 800C1658 000BE5B8 38 81 00 18 */ addi r4, r1, 0x18
/* 800C165C 000BE5BC 7F 63 DB 78 */ mr r3, r27
/* 800C1660 000BE5C0 48 27 F8 49 */ bl __ct__6CTokenFRC6CToken
/* 800C1664 000BE5C4 38 00 00 00 */ li r0, 0
/* 800C1668 000BE5C8 38 61 00 18 */ addi r3, r1, 0x18
/* 800C166C 000BE5CC 90 1B 00 08 */ stw r0, 8(r27)
/* 800C1670 000BE5D0 38 80 FF FF */ li r4, -1
/* 800C1674 000BE5D4 48 27 F7 CD */ bl __dt__6CTokenFv
/* 800C1678 000BE5D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C167C 000BE5DC 38 61 00 10 */ addi r3, r1, 0x10
/* 800C1680 000BE5E0 38 BF 00 EC */ addi r5, r31, 0xec
/* 800C1684 000BE5E4 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1688 000BE5E8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C168C 000BE5EC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1690 000BE5F0 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1694 000BE5F4 3B 7D 00 AC */ addi r27, r29, 0xac
/* 800C1698 000BE5F8 38 81 00 10 */ addi r4, r1, 0x10
/* 800C169C 000BE5FC 7F 63 DB 78 */ mr r3, r27
/* 800C16A0 000BE600 48 27 F8 09 */ bl __ct__6CTokenFRC6CToken
/* 800C16A4 000BE604 38 00 00 00 */ li r0, 0
/* 800C16A8 000BE608 38 61 00 10 */ addi r3, r1, 0x10
/* 800C16AC 000BE60C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C16B0 000BE610 38 80 FF FF */ li r4, -1
/* 800C16B4 000BE614 48 27 F7 8D */ bl __dt__6CTokenFv
/* 800C16B8 000BE618 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C16BC 000BE61C 38 61 00 08 */ addi r3, r1, 8
/* 800C16C0 000BE620 38 BF 01 00 */ addi r5, r31, 0x100
/* 800C16C4 000BE624 81 84 00 00 */ lwz r12, 0(r4)
/* 800C16C8 000BE628 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C16CC 000BE62C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C16D0 000BE630 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C16D4 000BE634 3B 7D 00 B8 */ addi r27, r29, 0xb8
/* 800C16D8 000BE638 38 81 00 08 */ addi r4, r1, 8
/* 800C16DC 000BE63C 7F 63 DB 78 */ mr r3, r27
/* 800C16E0 000BE640 48 27 F7 C9 */ bl __ct__6CTokenFRC6CToken
/* 800C16E4 000BE644 38 00 00 00 */ li r0, 0
/* 800C16E8 000BE648 38 61 00 08 */ addi r3, r1, 8
/* 800C16EC 000BE64C 90 1B 00 08 */ stw r0, 8(r27)
/* 800C16F0 000BE650 38 80 FF FF */ li r4, -1
/* 800C16F4 000BE654 48 27 F7 4D */ bl __dt__6CTokenFv
/* 800C16F8 000BE658 38 7D 00 C4 */ addi r3, r29, 0xc4
/* 800C16FC 000BE65C 38 9F 00 68 */ addi r4, r31, 0x68
/* 800C1700 000BE660 48 00 03 69 */ bl __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc
/* 800C1704 000BE664 38 00 00 00 */ li r0, 0
/* 800C1708 000BE668 7F A4 EB 78 */ mr r4, r29
/* 800C170C 000BE66C 90 1D 00 E4 */ stw r0, 0xe4(r29)
/* 800C1710 000BE670 7F C5 F3 78 */ mr r5, r30
/* 800C1714 000BE674 38 61 00 74 */ addi r3, r1, 0x74
/* 800C1718 000BE678 38 C0 00 00 */ li r6, 0
/* 800C171C 000BE67C 90 1D 00 E8 */ stw r0, 0xe8(r29)
/* 800C1720 000BE680 90 1D 00 EC */ stw r0, 0xec(r29)
2022-04-24 01:54:45 +00:00
/* 800C1724 000BE684 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C1728 000BE688 B0 1D 00 F0 */ sth r0, 0xf0(r29)
2022-04-24 01:54:45 +00:00
/* 800C172C 000BE68C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C1730 000BE690 B0 1D 00 F2 */ sth r0, 0xf2(r29)
/* 800C1734 000BE694 4B FF BA 55 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb
/* 800C1738 000BE698 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 800C173C 000BE69C 7F A4 EB 78 */ mr r4, r29
/* 800C1740 000BE6A0 7F C5 F3 78 */ mr r5, r30
/* 800C1744 000BE6A4 38 61 00 68 */ addi r3, r1, 0x68
/* 800C1748 000BE6A8 D0 1D 00 F4 */ stfs f0, 0xf4(r29)
/* 800C174C 000BE6AC 38 C0 00 01 */ li r6, 1
/* 800C1750 000BE6B0 C0 01 00 78 */ lfs f0, 0x78(r1)
/* 800C1754 000BE6B4 D0 1D 00 F8 */ stfs f0, 0xf8(r29)
/* 800C1758 000BE6B8 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 800C175C 000BE6BC D0 1D 00 FC */ stfs f0, 0xfc(r29)
/* 800C1760 000BE6C0 4B FF BA 29 */ bl CalculateOrbitZoneReticlePosition__22CCompoundTargetReticleCFRC13CStateManagerb
/* 800C1764 000BE6C4 C0 01 00 68 */ lfs f0, 0x68(r1)
/* 800C1768 000BE6C8 3C 60 80 47 */ lis r3, lbl_8046C450@ha
/* 800C176C 000BE6CC 38 C3 C4 50 */ addi r6, r3, lbl_8046C450@l
/* 800C1770 000BE6D0 C0 22 8D 30 */ lfs f1, lbl_805AAA50@sda21(r2)
/* 800C1774 000BE6D4 D0 1D 01 00 */ stfs f0, 0x100(r29)
/* 800C1778 000BE6D8 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 800C177C 000BE6DC D0 1D 01 04 */ stfs f0, 0x104(r29)
/* 800C1780 000BE6E0 C0 01 00 70 */ lfs f0, 0x70(r1)
/* 800C1784 000BE6E4 D0 1D 01 08 */ stfs f0, 0x108(r29)
/* 800C1788 000BE6E8 A0 06 00 00 */ lhz r0, 0(r6)
/* 800C178C 000BE6EC B0 1D 01 0C */ sth r0, 0x10c(r29)
/* 800C1790 000BE6F0 C0 06 00 04 */ lfs f0, 4(r6)
/* 800C1794 000BE6F4 D0 1D 01 10 */ stfs f0, 0x110(r29)
/* 800C1798 000BE6F8 C0 06 00 08 */ lfs f0, 8(r6)
/* 800C179C 000BE6FC D0 1D 01 14 */ stfs f0, 0x114(r29)
/* 800C17A0 000BE700 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800C17A4 000BE704 D0 1D 01 18 */ stfs f0, 0x118(r29)
/* 800C17A8 000BE708 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800C17AC 000BE70C D0 1D 01 1C */ stfs f0, 0x11c(r29)
/* 800C17B0 000BE710 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 800C17B4 000BE714 D0 1D 01 20 */ stfs f0, 0x120(r29)
/* 800C17B8 000BE718 C0 06 00 18 */ lfs f0, 0x18(r6)
/* 800C17BC 000BE71C D0 1D 01 24 */ stfs f0, 0x124(r29)
/* 800C17C0 000BE720 88 06 00 1C */ lbz r0, 0x1c(r6)
/* 800C17C4 000BE724 98 1D 01 28 */ stb r0, 0x128(r29)
/* 800C17C8 000BE728 A0 06 00 00 */ lhz r0, 0(r6)
/* 800C17CC 000BE72C B0 1D 01 2C */ sth r0, 0x12c(r29)
/* 800C17D0 000BE730 C0 06 00 04 */ lfs f0, 4(r6)
/* 800C17D4 000BE734 D0 1D 01 30 */ stfs f0, 0x130(r29)
/* 800C17D8 000BE738 C0 06 00 08 */ lfs f0, 8(r6)
/* 800C17DC 000BE73C D0 1D 01 34 */ stfs f0, 0x134(r29)
/* 800C17E0 000BE740 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800C17E4 000BE744 D0 1D 01 38 */ stfs f0, 0x138(r29)
/* 800C17E8 000BE748 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800C17EC 000BE74C D0 1D 01 3C */ stfs f0, 0x13c(r29)
/* 800C17F0 000BE750 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 800C17F4 000BE754 D0 1D 01 40 */ stfs f0, 0x140(r29)
/* 800C17F8 000BE758 C0 06 00 18 */ lfs f0, 0x18(r6)
/* 800C17FC 000BE75C D0 1D 01 44 */ stfs f0, 0x144(r29)
/* 800C1800 000BE760 88 06 00 1C */ lbz r0, 0x1c(r6)
/* 800C1804 000BE764 98 1D 01 48 */ stb r0, 0x148(r29)
/* 800C1808 000BE768 A0 06 00 00 */ lhz r0, 0(r6)
/* 800C180C 000BE76C B0 1D 01 4C */ sth r0, 0x14c(r29)
/* 800C1810 000BE770 C0 06 00 04 */ lfs f0, 4(r6)
/* 800C1814 000BE774 D0 1D 01 50 */ stfs f0, 0x150(r29)
/* 800C1818 000BE778 C0 06 00 08 */ lfs f0, 8(r6)
/* 800C181C 000BE77C D0 1D 01 54 */ stfs f0, 0x154(r29)
/* 800C1820 000BE780 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800C1824 000BE784 D0 1D 01 58 */ stfs f0, 0x158(r29)
/* 800C1828 000BE788 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800C182C 000BE78C D0 1D 01 5C */ stfs f0, 0x15c(r29)
/* 800C1830 000BE790 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 800C1834 000BE794 D0 1D 01 60 */ stfs f0, 0x160(r29)
/* 800C1838 000BE798 C0 06 00 18 */ lfs f0, 0x18(r6)
/* 800C183C 000BE79C D0 1D 01 64 */ stfs f0, 0x164(r29)
/* 800C1840 000BE7A0 88 06 00 1C */ lbz r0, 0x1c(r6)
/* 800C1844 000BE7A4 98 1D 01 68 */ stb r0, 0x168(r29)
/* 800C1848 000BE7A8 D0 3D 01 6C */ stfs f1, 0x16c(r29)
/* 800C184C 000BE7AC D0 3D 01 70 */ stfs f1, 0x170(r29)
/* 800C1850 000BE7B0 A0 06 00 00 */ lhz r0, 0(r6)
/* 800C1854 000BE7B4 B0 1D 01 74 */ sth r0, 0x174(r29)
/* 800C1858 000BE7B8 C0 06 00 04 */ lfs f0, 4(r6)
/* 800C185C 000BE7BC D0 1D 01 78 */ stfs f0, 0x178(r29)
/* 800C1860 000BE7C0 C0 06 00 08 */ lfs f0, 8(r6)
/* 800C1864 000BE7C4 D0 1D 01 7C */ stfs f0, 0x17c(r29)
/* 800C1868 000BE7C8 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800C186C 000BE7CC D0 1D 01 80 */ stfs f0, 0x180(r29)
/* 800C1870 000BE7D0 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800C1874 000BE7D4 D0 1D 01 84 */ stfs f0, 0x184(r29)
/* 800C1878 000BE7D8 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 800C187C 000BE7DC D0 1D 01 88 */ stfs f0, 0x188(r29)
/* 800C1880 000BE7E0 C0 06 00 18 */ lfs f0, 0x18(r6)
/* 800C1884 000BE7E4 D0 1D 01 8C */ stfs f0, 0x18c(r29)
/* 800C1888 000BE7E8 88 A6 00 1C */ lbz r5, 0x1c(r6)
/* 800C188C 000BE7EC 38 00 00 00 */ li r0, 0
/* 800C1890 000BE7F0 38 7D 00 E0 */ addi r3, r29, 0xe0
/* 800C1894 000BE7F4 38 80 00 09 */ li r4, 9
/* 800C1898 000BE7F8 98 BD 01 90 */ stb r5, 0x190(r29)
/* 800C189C 000BE7FC A0 A6 00 00 */ lhz r5, 0(r6)
/* 800C18A0 000BE800 B0 BD 01 94 */ sth r5, 0x194(r29)
/* 800C18A4 000BE804 C0 06 00 04 */ lfs f0, 4(r6)
/* 800C18A8 000BE808 D0 1D 01 98 */ stfs f0, 0x198(r29)
/* 800C18AC 000BE80C C0 06 00 08 */ lfs f0, 8(r6)
/* 800C18B0 000BE810 D0 1D 01 9C */ stfs f0, 0x19c(r29)
/* 800C18B4 000BE814 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800C18B8 000BE818 D0 1D 01 A0 */ stfs f0, 0x1a0(r29)
/* 800C18BC 000BE81C C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800C18C0 000BE820 D0 1D 01 A4 */ stfs f0, 0x1a4(r29)
/* 800C18C4 000BE824 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 800C18C8 000BE828 D0 1D 01 A8 */ stfs f0, 0x1a8(r29)
/* 800C18CC 000BE82C C0 06 00 18 */ lfs f0, 0x18(r6)
/* 800C18D0 000BE830 D0 1D 01 AC */ stfs f0, 0x1ac(r29)
/* 800C18D4 000BE834 88 A6 00 1C */ lbz r5, 0x1c(r6)
/* 800C18D8 000BE838 98 BD 01 B0 */ stb r5, 0x1b0(r29)
/* 800C18DC 000BE83C A0 A6 00 00 */ lhz r5, 0(r6)
/* 800C18E0 000BE840 B0 BD 01 B4 */ sth r5, 0x1b4(r29)
/* 800C18E4 000BE844 C0 06 00 04 */ lfs f0, 4(r6)
/* 800C18E8 000BE848 D0 1D 01 B8 */ stfs f0, 0x1b8(r29)
/* 800C18EC 000BE84C C0 06 00 08 */ lfs f0, 8(r6)
/* 800C18F0 000BE850 D0 1D 01 BC */ stfs f0, 0x1bc(r29)
/* 800C18F4 000BE854 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800C18F8 000BE858 D0 1D 01 C0 */ stfs f0, 0x1c0(r29)
/* 800C18FC 000BE85C C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800C1900 000BE860 D0 1D 01 C4 */ stfs f0, 0x1c4(r29)
/* 800C1904 000BE864 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 800C1908 000BE868 D0 1D 01 C8 */ stfs f0, 0x1c8(r29)
/* 800C190C 000BE86C C0 06 00 18 */ lfs f0, 0x18(r6)
/* 800C1910 000BE870 D0 1D 01 CC */ stfs f0, 0x1cc(r29)
/* 800C1914 000BE874 88 A6 00 1C */ lbz r5, 0x1c(r6)
/* 800C1918 000BE878 98 BD 01 D0 */ stb r5, 0x1d0(r29)
/* 800C191C 000BE87C D0 3D 01 D4 */ stfs f1, 0x1d4(r29)
/* 800C1920 000BE880 D0 3D 01 D8 */ stfs f1, 0x1d8(r29)
2022-04-24 01:54:45 +00:00
/* 800C1924 000BE884 A0 AD A3 8C */ lhz r5, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C1928 000BE888 B0 BD 01 DC */ sth r5, 0x1dc(r29)
2022-04-24 01:54:45 +00:00
/* 800C192C 000BE88C A0 AD A3 8C */ lhz r5, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C1930 000BE890 B0 BD 01 DE */ sth r5, 0x1de(r29)
/* 800C1934 000BE894 D0 3D 01 E0 */ stfs f1, 0x1e0(r29)
/* 800C1938 000BE898 D0 3D 01 E4 */ stfs f1, 0x1e4(r29)
/* 800C193C 000BE89C D0 3D 01 E8 */ stfs f1, 0x1e8(r29)
/* 800C1940 000BE8A0 D0 3D 01 EC */ stfs f1, 0x1ec(r29)
/* 800C1944 000BE8A4 D0 3D 01 F0 */ stfs f1, 0x1f0(r29)
/* 800C1948 000BE8A8 98 1D 01 F4 */ stb r0, 0x1f4(r29)
/* 800C194C 000BE8AC D0 3D 01 F8 */ stfs f1, 0x1f8(r29)
/* 800C1950 000BE8B0 D0 3D 01 FC */ stfs f1, 0x1fc(r29)
/* 800C1954 000BE8B4 90 1D 02 00 */ stw r0, 0x200(r29)
/* 800C1958 000BE8B8 D0 3D 02 04 */ stfs f1, 0x204(r29)
/* 800C195C 000BE8BC 80 AD A1 40 */ lwz r5, gpTweakTargeting@sda21(r13)
/* 800C1960 000BE8C0 C0 05 00 D0 */ lfs f0, 0xd0(r5)
/* 800C1964 000BE8C4 D0 1D 02 08 */ stfs f0, 0x208(r29)
/* 800C1968 000BE8C8 D0 3D 02 0C */ stfs f1, 0x20c(r29)
/* 800C196C 000BE8CC D0 3D 02 10 */ stfs f1, 0x210(r29)
/* 800C1970 000BE8D0 D0 3D 02 14 */ stfs f1, 0x214(r29)
/* 800C1974 000BE8D4 98 1D 02 18 */ stb r0, 0x218(r29)
/* 800C1978 000BE8D8 98 1D 02 19 */ stb r0, 0x219(r29)
/* 800C197C 000BE8DC 98 1D 02 1A */ stb r0, 0x21a(r29)
/* 800C1980 000BE8E0 48 00 02 15 */ bl "reserve__Q24rstl77vector<Q222CCompoundTargetReticle14SOuterItemInfo,Q24rstl17rmemory_allocator>Fi"
/* 800C1984 000BE8E4 3C 60 80 3D */ lis r3, lbl_803CE008@ha
/* 800C1988 000BE8E8 3B 60 00 00 */ li r27, 0
/* 800C198C 000BE8EC 3B C3 E0 08 */ addi r30, r3, lbl_803CE008@l
lbl_800C1990:
/* 800C1990 000BE8F0 7F C4 F3 78 */ mr r4, r30
/* 800C1994 000BE8F4 7F 66 DB 78 */ mr r6, r27
/* 800C1998 000BE8F8 38 61 00 BC */ addi r3, r1, 0xbc
/* 800C199C 000BE8FC 38 BF 00 94 */ addi r5, r31, 0x94
/* 800C19A0 000BE900 4C C6 31 82 */ crclr 6
/* 800C19A4 000BE904 48 2C C3 39 */ bl sprintf
/* 800C19A8 000BE908 38 61 00 A0 */ addi r3, r1, 0xa0
/* 800C19AC 000BE90C 38 81 00 BC */ addi r4, r1, 0xbc
/* 800C19B0 000BE910 48 00 00 B9 */ bl __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc
/* 800C19B4 000BE914 80 1D 00 E4 */ lwz r0, 0xe4(r29)
/* 800C19B8 000BE918 80 BD 00 E8 */ lwz r5, 0xe8(r29)
/* 800C19BC 000BE91C 7C 00 28 00 */ cmpw r0, r5
/* 800C19C0 000BE920 41 80 00 1C */ blt lbl_800C19DC
/* 800C19C4 000BE924 2C 05 00 00 */ cmpwi r5, 0
/* 800C19C8 000BE928 38 7D 00 E0 */ addi r3, r29, 0xe0
/* 800C19CC 000BE92C 38 80 00 04 */ li r4, 4
/* 800C19D0 000BE930 41 82 00 08 */ beq lbl_800C19D8
/* 800C19D4 000BE934 54 A4 08 3C */ slwi r4, r5, 1
lbl_800C19D8:
/* 800C19D8 000BE938 48 00 01 BD */ bl "reserve__Q24rstl77vector<Q222CCompoundTargetReticle14SOuterItemInfo,Q24rstl17rmemory_allocator>Fi"
lbl_800C19DC:
/* 800C19DC 000BE93C 80 1D 00 E4 */ lwz r0, 0xe4(r29)
/* 800C19E0 000BE940 80 7D 00 EC */ lwz r3, 0xec(r29)
/* 800C19E4 000BE944 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800C19E8 000BE948 7F 83 02 15 */ add. r28, r3, r0
/* 800C19EC 000BE94C 41 82 00 38 */ beq lbl_800C1A24
/* 800C19F0 000BE950 7F 83 E3 78 */ mr r3, r28
/* 800C19F4 000BE954 38 81 00 A0 */ addi r4, r1, 0xa0
/* 800C19F8 000BE958 48 27 F4 B1 */ bl __ct__6CTokenFRC6CToken
/* 800C19FC 000BE95C 80 01 00 A8 */ lwz r0, 0xa8(r1)
/* 800C1A00 000BE960 90 1C 00 08 */ stw r0, 8(r28)
/* 800C1A04 000BE964 C0 01 00 AC */ lfs f0, 0xac(r1)
/* 800C1A08 000BE968 D0 1C 00 0C */ stfs f0, 0xc(r28)
/* 800C1A0C 000BE96C C0 01 00 B0 */ lfs f0, 0xb0(r1)
/* 800C1A10 000BE970 D0 1C 00 10 */ stfs f0, 0x10(r28)
/* 800C1A14 000BE974 C0 01 00 B4 */ lfs f0, 0xb4(r1)
/* 800C1A18 000BE978 D0 1C 00 14 */ stfs f0, 0x14(r28)
/* 800C1A1C 000BE97C C0 01 00 B8 */ lfs f0, 0xb8(r1)
/* 800C1A20 000BE980 D0 1C 00 18 */ stfs f0, 0x18(r28)
lbl_800C1A24:
/* 800C1A24 000BE984 80 BD 00 E4 */ lwz r5, 0xe4(r29)
/* 800C1A28 000BE988 38 61 00 A0 */ addi r3, r1, 0xa0
/* 800C1A2C 000BE98C 38 80 00 00 */ li r4, 0
/* 800C1A30 000BE990 38 05 00 01 */ addi r0, r5, 1
/* 800C1A34 000BE994 90 1D 00 E4 */ stw r0, 0xe4(r29)
/* 800C1A38 000BE998 48 27 F4 09 */ bl __dt__6CTokenFv
/* 800C1A3C 000BE99C 3B 7B 00 01 */ addi r27, r27, 1
/* 800C1A40 000BE9A0 2C 1B 00 09 */ cmpwi r27, 9
/* 800C1A44 000BE9A4 41 80 FF 4C */ blt lbl_800C1990
/* 800C1A48 000BE9A8 38 7D 00 34 */ addi r3, r29, 0x34
/* 800C1A4C 000BE9AC 48 27 F3 39 */ bl Lock__6CTokenFv
/* 800C1A50 000BE9B0 7F A3 EB 78 */ mr r3, r29
/* 800C1A54 000BE9B4 BB 61 01 0C */ lmw r27, 0x10c(r1)
/* 800C1A58 000BE9B8 80 01 01 24 */ lwz r0, 0x124(r1)
/* 800C1A5C 000BE9BC 7C 08 03 A6 */ mtlr r0
/* 800C1A60 000BE9C0 38 21 01 20 */ addi r1, r1, 0x120
2022-07-14 05:48:03 +00:00
/* 800C1A64 000BE9C4 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global __ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc
__ct__Q222CCompoundTargetReticle14SOuterItemInfoFPCc:
/* 800C1A68 000BE9C8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800C1A6C 000BE9CC 7C 08 02 A6 */ mflr r0
/* 800C1A70 000BE9D0 7C 85 23 78 */ mr r5, r4
/* 800C1A74 000BE9D4 90 01 00 24 */ stw r0, 0x24(r1)
/* 800C1A78 000BE9D8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800C1A7C 000BE9DC 7C 7F 1B 78 */ mr r31, r3
/* 800C1A80 000BE9E0 38 61 00 08 */ addi r3, r1, 8
/* 800C1A84 000BE9E4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C1A88 000BE9E8 81 84 00 00 */ lwz r12, 0(r4)
/* 800C1A8C 000BE9EC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800C1A90 000BE9F0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 800C1A94 000BE9F4 4E 80 04 21 */ bctrl
2022-04-12 09:14:24 +00:00
/* 800C1A98 000BE9F8 7F E3 FB 78 */ mr r3, r31
/* 800C1A9C 000BE9FC 38 81 00 08 */ addi r4, r1, 8
/* 800C1AA0 000BEA00 48 27 F4 09 */ bl __ct__6CTokenFRC6CToken
/* 800C1AA4 000BEA04 38 00 00 00 */ li r0, 0
/* 800C1AA8 000BEA08 38 61 00 08 */ addi r3, r1, 8
/* 800C1AAC 000BEA0C 90 1F 00 08 */ stw r0, 8(r31)
/* 800C1AB0 000BEA10 38 80 FF FF */ li r4, -1
/* 800C1AB4 000BEA14 48 27 F3 8D */ bl __dt__6CTokenFv
/* 800C1AB8 000BEA18 C0 02 8D 30 */ lfs f0, lbl_805AAA50@sda21(r2)
/* 800C1ABC 000BEA1C 7F E3 FB 78 */ mr r3, r31
/* 800C1AC0 000BEA20 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 800C1AC4 000BEA24 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 800C1AC8 000BEA28 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 800C1ACC 000BEA2C D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 800C1AD0 000BEA30 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800C1AD4 000BEA34 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800C1AD8 000BEA38 7C 08 03 A6 */ mtlr r0
/* 800C1ADC 000BEA3C 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 800C1AE0 000BEA40 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global calculate_premultiplied_overshoot_offset__Ff
calculate_premultiplied_overshoot_offset__Ff:
/* 800C1AE4 000BEA44 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800C1AE8 000BEA48 7C 08 02 A6 */ mflr r0
/* 800C1AEC 000BEA4C C0 02 8D 38 */ lfs f0, lbl_805AAA58@sda21(r2)
/* 800C1AF0 000BEA50 90 01 00 14 */ stw r0, 0x14(r1)
/* 800C1AF4 000BEA54 EC 20 08 24 */ fdivs f1, f0, f1
/* 800C1AF8 000BEA58 48 2D 31 55 */ bl asin
/* 800C1AFC 000BEA5C FC 40 08 18 */ frsp f2, f1
/* 800C1B00 000BEA60 C0 02 8D C4 */ lfs f0, lbl_805AAAE4@sda21(r2)
/* 800C1B04 000BEA64 C0 22 8D A8 */ lfs f1, lbl_805AAAC8@sda21(r2)
/* 800C1B08 000BEA68 EC 00 10 28 */ fsubs f0, f0, f2
/* 800C1B0C 000BEA6C EC 21 00 32 */ fmuls f1, f1, f0
/* 800C1B10 000BEA70 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800C1B14 000BEA74 7C 08 03 A6 */ mtlr r0
/* 800C1B18 000BEA78 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 800C1B1C 000BEA7C 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global offshoot_func__Ffff
offshoot_func__Ffff:
/* 800C1B20 000BEA80 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800C1B24 000BEA84 7C 08 02 A6 */ mflr r0
/* 800C1B28 000BEA88 90 01 00 24 */ stw r0, 0x24(r1)
/* 800C1B2C 000BEA8C DB E1 00 10 */ stfd f31, 0x10(r1)
/* 800C1B30 000BEA90 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 800C1B34 000BEA94 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2)
/* 800C1B38 000BEA98 FF E0 08 90 */ fmr f31, f1
/* 800C1B3C 000BEA9C EC 03 00 28 */ fsubs f0, f3, f0
/* 800C1B40 000BEAA0 EC 20 00 B2 */ fmuls f1, f0, f2
/* 800C1B44 000BEAA4 48 25 32 AD */ bl FastSinR__5CMathFf
/* 800C1B48 000BEAA8 C0 02 8D 64 */ lfs f0, lbl_805AAA84@sda21(r2)
/* 800C1B4C 000BEAAC EC 3F 00 7A */ fmadds f1, f31, f1, f0
/* 800C1B50 000BEAB0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 800C1B54 000BEAB4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800C1B58 000BEAB8 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 800C1B5C 000BEABC 7C 08 03 A6 */ mtlr r0
/* 800C1B60 000BEAC0 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 800C1B64 000BEAC4 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global IsDamageOrbit__F19EPlayerOrbitRequest
IsDamageOrbit__F19EPlayerOrbitRequest:
/* 800C1B68 000BEAC8 2C 03 00 08 */ cmpwi r3, 8
/* 800C1B6C 000BEACC 40 80 00 10 */ bge lbl_800C1B7C
/* 800C1B70 000BEAD0 2C 03 00 05 */ cmpwi r3, 5
/* 800C1B74 000BEAD4 41 82 00 10 */ beq lbl_800C1B84
/* 800C1B78 000BEAD8 48 00 00 14 */ b lbl_800C1B8C
lbl_800C1B7C:
/* 800C1B7C 000BEADC 2C 03 00 0C */ cmpwi r3, 0xc
/* 800C1B80 000BEAE0 40 80 00 0C */ bge lbl_800C1B8C
lbl_800C1B84:
/* 800C1B84 000BEAE4 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 800C1B88 000BEAE8 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
lbl_800C1B8C:
/* 800C1B8C 000BEAEC 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 800C1B90 000BEAF0 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global "reserve__Q24rstl77vector<Q222CCompoundTargetReticle14SOuterItemInfo,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl77vector<Q222CCompoundTargetReticle14SOuterItemInfo,Q24rstl17rmemory_allocator>Fi":
/* 800C1B94 000BEAF4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800C1B98 000BEAF8 7C 08 02 A6 */ mflr r0
/* 800C1B9C 000BEAFC 90 01 00 34 */ stw r0, 0x34(r1)
/* 800C1BA0 000BEB00 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 800C1BA4 000BEB04 7C 9F 23 78 */ mr r31, r4
/* 800C1BA8 000BEB08 7C 7E 1B 78 */ mr r30, r3
/* 800C1BAC 000BEB0C 80 03 00 08 */ lwz r0, 8(r3)
/* 800C1BB0 000BEB10 7C 1F 00 00 */ cmpw r31, r0
/* 800C1BB4 000BEB14 40 81 00 F8 */ ble lbl_800C1CAC
/* 800C1BB8 000BEB18 1C 7F 00 1C */ mulli r3, r31, 0x1c
/* 800C1BBC 000BEB1C 2C 03 00 00 */ cmpwi r3, 0
/* 800C1BC0 000BEB20 40 82 00 0C */ bne lbl_800C1BCC
/* 800C1BC4 000BEB24 3B 80 00 00 */ li r28, 0
/* 800C1BC8 000BEB28 48 00 00 1C */ b lbl_800C1BE4
lbl_800C1BCC:
/* 800C1BCC 000BEB2C 3C 80 80 3D */ lis r4, lbl_803CE008@ha
/* 800C1BD0 000BEB30 38 A0 00 00 */ li r5, 0
/* 800C1BD4 000BEB34 38 84 E0 08 */ addi r4, r4, lbl_803CE008@l
/* 800C1BD8 000BEB38 38 84 00 05 */ addi r4, r4, 5
/* 800C1BDC 000BEB3C 48 25 3C 3D */ bl __nwa__FUlPCcPCc
/* 800C1BE0 000BEB40 7C 7C 1B 78 */ mr r28, r3
lbl_800C1BE4:
/* 800C1BE4 000BEB44 80 1E 00 04 */ lwz r0, 4(r30)
/* 800C1BE8 000BEB48 7F 9B E3 78 */ mr r27, r28
/* 800C1BEC 000BEB4C 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 800C1BF0 000BEB50 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800C1BF4 000BEB54 93 41 00 10 */ stw r26, 0x10(r1)
/* 800C1BF8 000BEB58 7F BA 02 14 */ add r29, r26, r0
/* 800C1BFC 000BEB5C 93 41 00 14 */ stw r26, 0x14(r1)
/* 800C1C00 000BEB60 93 A1 00 08 */ stw r29, 8(r1)
/* 800C1C04 000BEB64 93 A1 00 0C */ stw r29, 0xc(r1)
/* 800C1C08 000BEB68 48 00 00 48 */ b lbl_800C1C50
lbl_800C1C0C:
/* 800C1C0C 000BEB6C 28 1B 00 00 */ cmplwi r27, 0
/* 800C1C10 000BEB70 41 82 00 38 */ beq lbl_800C1C48
/* 800C1C14 000BEB74 7F 63 DB 78 */ mr r3, r27
/* 800C1C18 000BEB78 7F 44 D3 78 */ mr r4, r26
/* 800C1C1C 000BEB7C 48 27 F2 8D */ bl __ct__6CTokenFRC6CToken
/* 800C1C20 000BEB80 80 1A 00 08 */ lwz r0, 8(r26)
/* 800C1C24 000BEB84 90 1B 00 08 */ stw r0, 8(r27)
/* 800C1C28 000BEB88 C0 1A 00 0C */ lfs f0, 0xc(r26)
/* 800C1C2C 000BEB8C D0 1B 00 0C */ stfs f0, 0xc(r27)
/* 800C1C30 000BEB90 C0 1A 00 10 */ lfs f0, 0x10(r26)
/* 800C1C34 000BEB94 D0 1B 00 10 */ stfs f0, 0x10(r27)
/* 800C1C38 000BEB98 C0 1A 00 14 */ lfs f0, 0x14(r26)
/* 800C1C3C 000BEB9C D0 1B 00 14 */ stfs f0, 0x14(r27)
/* 800C1C40 000BEBA0 C0 1A 00 18 */ lfs f0, 0x18(r26)
/* 800C1C44 000BEBA4 D0 1B 00 18 */ stfs f0, 0x18(r27)
lbl_800C1C48:
/* 800C1C48 000BEBA8 3B 7B 00 1C */ addi r27, r27, 0x1c
/* 800C1C4C 000BEBAC 3B 5A 00 1C */ addi r26, r26, 0x1c
lbl_800C1C50:
/* 800C1C50 000BEBB0 7C 1A E8 40 */ cmplw r26, r29
/* 800C1C54 000BEBB4 40 82 FF B8 */ bne lbl_800C1C0C
/* 800C1C58 000BEBB8 80 1E 00 04 */ lwz r0, 4(r30)
/* 800C1C5C 000BEBBC 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 800C1C60 000BEBC0 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800C1C64 000BEBC4 7F 7A 02 14 */ add r27, r26, r0
/* 800C1C68 000BEBC8 48 00 00 24 */ b lbl_800C1C8C
lbl_800C1C6C:
/* 800C1C6C 000BEBCC 28 1A 00 00 */ cmplwi r26, 0
/* 800C1C70 000BEBD0 41 82 00 18 */ beq lbl_800C1C88
/* 800C1C74 000BEBD4 41 82 00 14 */ beq lbl_800C1C88
/* 800C1C78 000BEBD8 41 82 00 10 */ beq lbl_800C1C88
/* 800C1C7C 000BEBDC 7F 43 D3 78 */ mr r3, r26
/* 800C1C80 000BEBE0 38 80 00 00 */ li r4, 0
/* 800C1C84 000BEBE4 48 27 F1 BD */ bl __dt__6CTokenFv
lbl_800C1C88:
/* 800C1C88 000BEBE8 3B 5A 00 1C */ addi r26, r26, 0x1c
lbl_800C1C8C:
/* 800C1C8C 000BEBEC 7C 1A D8 40 */ cmplw r26, r27
/* 800C1C90 000BEBF0 40 82 FF DC */ bne lbl_800C1C6C
/* 800C1C94 000BEBF4 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800C1C98 000BEBF8 28 03 00 00 */ cmplwi r3, 0
/* 800C1C9C 000BEBFC 41 82 00 08 */ beq lbl_800C1CA4
/* 800C1CA0 000BEC00 48 25 3C 91 */ bl Free__7CMemoryFPCv
lbl_800C1CA4:
/* 800C1CA4 000BEC04 93 9E 00 0C */ stw r28, 0xc(r30)
/* 800C1CA8 000BEC08 93 FE 00 08 */ stw r31, 8(r30)
lbl_800C1CAC:
/* 800C1CAC 000BEC0C BB 41 00 18 */ lmw r26, 0x18(r1)
/* 800C1CB0 000BEC10 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800C1CB4 000BEC14 7C 08 03 A6 */ mtlr r0
/* 800C1CB8 000BEC18 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 800C1CBC 000BEC1C 4E 80 00 20 */ blr
2022-04-12 09:14:24 +00:00
.global __sinit_CTargetReticles_cpp
__sinit_CTargetReticles_cpp:
/* 800C1CC0 000BEC20 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800C1CC4 000BEC24 7C 08 02 A6 */ mflr r0
/* 800C1CC8 000BEC28 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
2022-04-12 09:14:24 +00:00
/* 800C1CCC 000BEC2C C0 22 8D 38 */ lfs f1, lbl_805AAA58@sda21(r2)
/* 800C1CD0 000BEC30 90 01 00 24 */ stw r0, 0x24(r1)
/* 800C1CD4 000BEC34 38 C3 66 A0 */ addi r6, r3, sZeroVector__9CVector3f@l
2022-04-12 09:14:24 +00:00
/* 800C1CD8 000BEC38 3C 60 80 47 */ lis r3, lbl_8046C450@ha
/* 800C1CDC 000BEC3C FC 60 08 90 */ fmr f3, f1
2022-04-24 01:54:45 +00:00
/* 800C1CE0 000BEC40 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-12 09:14:24 +00:00
/* 800C1CE4 000BEC44 38 63 C4 50 */ addi r3, r3, lbl_8046C450@l
/* 800C1CE8 000BEC48 80 A6 00 00 */ lwz r5, 0(r6)
/* 800C1CEC 000BEC4C 80 86 00 04 */ lwz r4, 4(r6)
/* 800C1CF0 000BEC50 80 E6 00 08 */ lwz r7, 8(r6)
/* 800C1CF4 000BEC54 38 C0 00 01 */ li r6, 1
/* 800C1CF8 000BEC58 90 A1 00 0C */ stw r5, 0xc(r1)
/* 800C1CFC 000BEC5C 38 A1 00 0C */ addi r5, r1, 0xc
/* 800C1D00 000BEC60 C0 42 8D 30 */ lfs f2, lbl_805AAA50@sda21(r2)
/* 800C1D04 000BEC64 90 81 00 10 */ stw r4, 0x10(r1)
/* 800C1D08 000BEC68 38 81 00 08 */ addi r4, r1, 8
/* 800C1D0C 000BEC6C 90 E1 00 14 */ stw r7, 0x14(r1)
/* 800C1D10 000BEC70 B0 01 00 08 */ sth r0, 8(r1)
/* 800C1D14 000BEC74 4B FF B2 55 */ bl __ct__25CTargetReticleRenderStateF9TUniqueIdf9CVector3fffb
/* 800C1D18 000BEC78 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800C1D1C 000BEC7C 7C 08 03 A6 */ mtlr r0
/* 800C1D20 000BEC80 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 800C1D24 000BEC84 4E 80 00 20 */ blr
2022-07-18 05:21:27 +00:00
.section .rodata
.balign 8
2022-07-18 05:21:27 +00:00
.global lbl_803CDEE8
lbl_803CDEE8:
# ROM: 0x3CAEE8
.asciz "CMDL_Crosshairs"
.asciz "CMDL_OrbitZone"
.balign 4
.asciz "CMDL_Seeker"
.asciz "CMDL_LockConfirm"
.balign 4
.asciz "CMDL_TargetFlower"
.balign 4
.asciz "CMDL_MissileBracket"
.asciz "CMDL_ChargeGauge"
.balign 4
.asciz "CMDL_ChargeTickFirst"
.balign 4
.asciz "CMDL_BeamSquare"
.asciz "CMDL_InnerBeamIcon"
.balign 4
.asciz "CMDL_LockFire"
.balign 4
.asciz "CMDL_LockDagger0"
.balign 4
.asciz "CMDL_Grapple"
.balign 4
.asciz "CMDL_XRayRetRing"
.balign 4
.asciz "CMDL_ThermalRet"
.global lbl_803CDFF8
lbl_803CDFF8:
# ROM: 0x3CAFF8
.asciz "CMDL_OrbitPoint"
.global lbl_803CE008
lbl_803CE008:
# ROM: 0x3CB008
.asciz "%s%d"
.byte 0x3F, 0x3F, 0x28
.4byte 0x3F3F2900
.4byte 0