// // AchievementManager::percentageForCount from 0x1008642f0 to 0x10086431c (44 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:36:42 +0000 // __int64 __fastcall AchievementManager::percentageForCount(__m128 a1, __int64 a2, int a3, int a4) { a1.f32[0] = (float)((float)a3 / (float)a4) * 100.0; return (unsigned int)(int)fminf(_mm_round_ss(a1, a1, 9).f32[0], 100.0); }