; ; sub_47A10 from 0x47a10 to 0x47a88 (120 bytes) ; ; 3 xrefs: ; > @ 0x47a0e ; > sub_46B58 @ 0x473e2 ; > sub_46B58 @ 0x476c6 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; VCMP.F32 S1, #0.0 ; +0x0, 0x47a10 MOVS R1, #0 ; +0x4, 0x47a14 VMRS APSR_nzcv, FPSCR ; +0x6, 0x47a16 VCMP.F32 S0, #0.0 ; +0xa, 0x47a1a IT EQ ; +0xe, 0x47a1e MOVEQ R1, #1 ; +0x10, 0x47a20 MOVS R0, #0 ; +0x12, 0x47a22 VMRS APSR_nzcv, FPSCR ; +0x14, 0x47a24 IT EQ ; +0x18, 0x47a28 MOVEQ R0, #1 ; +0x1a, 0x47a2a TST R0, R1 ; +0x1c, 0x47a2c ITT NE ; +0x1e, 0x47a2e VLDRNE S0, =0.0 ; +0x20, 0x47a30 BXNE LR ; +0x24, 0x47a34 VABS.F32 S2, S0 ; +0x26, 0x47a36 VABS.F32 S4, S1 ; +0x2a, 0x47a3a VCMPE.F32 S2, S4 ; +0x2e, 0x47a3e VMRS APSR_nzcv, FPSCR ; +0x32, 0x47a42 BLE loc_47A68 ; +0x36, 0x47a46 VCMPE.F32 S0, #0.0 ; +0x38, 0x47a48 VDIV.F32 S2, S1, S2 ; +0x3c, 0x47a4c VMRS APSR_nzcv, FPSCR ; +0x40, 0x47a50 ITTEE LT ; +0x44, 0x47a54 VMOVLT.F32 S0, #7.0 ; +0x46, 0x47a56 VADDLT.F32 S0, S2, S0 ; +0x4a, 0x47a5a VMOVGE.F32 S0, #3.0 ; +0x4e, 0x47a5e VSUBGE.F32 S0, S0, S2 ; +0x52, 0x47a62 BX LR ; +0x56, 0x47a66 VCMPE.F32 S1, #0.0 ; +0x58, 0x47a68 VDIV.F32 S0, S0, S4 ; +0x5c, 0x47a6c VMRS APSR_nzcv, FPSCR ; +0x60, 0x47a70 ITTEE LT ; +0x64, 0x47a74 VMOVLT.F32 S2, #5.0 ; +0x66, 0x47a76 VSUBLT.F32 S0, S2, S0 ; +0x6a, 0x47a7a VMOVGE.F32 S2, #1.0 ; +0x6e, 0x47a7e VADDGE.F32 S0, S0, S2 ; +0x72, 0x47a82 BX LR ; +0x76, 0x47a86