//
// sub_AAAE68 from 0xaaae68 to 0xaaaea4 (60 bytes)
//
// 2 xrefs:
// > sub_AAC850 @ 0xaacc20
// > sub_AAC850 @ 0xaacc2c
//
// 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
//
__int64 __fastcall sub_AAAE68(__int64 a1, double a2, double a3)
{
unsigned int v3; // w1
int v4; // w1
v3 = 1;
if ( !*(_BYTE *)(a1 + 164) )
{
if ( a2 <= 0.0 )
v4 = 0;
else
v4 = (int)(a3 / a2 * 100.0);
*(_DWORD *)(a1 + 168) = v4;
return 0;
}
return v3;
}