//
// sub_1002425E8 from 0x1002425e8 to 0x10024262c (68 bytes)
//
// 1 xrefs:
// > sub_100241B28 @ 0x1002420d0
//
// 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_1002425E8(__int64 a1, double a2, double a3)
{
__int64 v3; // x8
int v4; // w9
if ( (*(_BYTE *)(a1 + 196) & 1) != 0 )
return 1;
if ( a2 <= 0.0 )
v4 = 0;
else
v4 = (int)(a3 / a2 * 100.0);
v3 = 0;
*(_DWORD *)(a1 + 200) = v4;
return v3;
}