; ; AchievementManager::percentageForCount from 0x396070 to 0x3960b8 (72 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:46:20 +0000 ; VMOV S15, R1 ; +0x0, 0x396070 VMOV S14, R2 ; +0x4, 0x396074 VCVT.F32.S32 S15, S15 ; +0x8, 0x396078 PUSH {R3,LR} ; +0xc, 0x39607c VPUSH {D8} ; +0xe, 0x39607e VLDR S16, =100.0 ; +0x12, 0x396082 VCVT.F32.S32 S14, S14 ; +0x16, 0x396086 VDIV.F32 S15, S15, S14 ; +0x1a, 0x39608a VMUL.F32 S15, S15, S16 ; +0x1e, 0x39608e VMOV R0, S15; x ; +0x22, 0x396092 BLX floorf ; +0x26, 0x396096 VMOV S15, R0 ; +0x2a, 0x39609a VCMPE.F32 S15, S16 ; +0x2e, 0x39609e VPOP {D8} ; +0x32, 0x3960a2 VMRS APSR_nzcv, FPSCR ; +0x36, 0x3960a6 ITET MI ; +0x3a, 0x3960aa VCVTMI.S32.F32 S15, S15 ; +0x3c, 0x3960ac MOVPL R0, #0x64 ; 'd' ; +0x40, 0x3960b0 VMOVMI R0, S15 ; +0x42, 0x3960b2 POP {R3,PC} ; +0x46, 0x3960b6