//
// AchievementManager::percentageForCount from 0x64328c to 0x6432bc (48 bytes)
//
// 1 xrefs:
// > ??> @ 0xbbb10
//
// This function is hookable on this platform (idp: arm, 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:50:18 +0000
//
__int64 __fastcall AchievementManager::percentageForCount(AchievementManager *this, int a2, int a3)
{
__int64 result; // x0
float v4; // s0
result = 100;
v4 = floorf((float)((float)a2 / (float)a3) * 100.0);
if ( v4 < 100.0 )
return (unsigned int)(int)v4;
return result;
}