//
// sub_100427F20 from 0x100427f20 to 0x100427f57 (55 bytes)
//
// 1 xrefs:
// > sub_1004273E0 @ 0x10042788c
//
// 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:30:18 +0000
//
__int64 __fastcall sub_100427F20(__int64 a1, double a2, double a3)
{
__int64 result; // rax
int v4; // ecx
result = 1;
if ( !*(_BYTE *)(a1 + 196) )
{
result = 0;
v4 = (int)(a3 / a2 * 100.0);
if ( a2 <= 0.0 )
v4 = 0;
*(_DWORD *)(a1 + 200) = v4;
}
return result;
}