//
// sub_1004C6914 from 0x1004c6914 to 0x1004c694c (56 bytes)
//
// 4 xrefs:
// > ??> @ 0x100828708
// > ??> @ 0x1008288b0
// > ??> @ 0x100828a58
// > ??> @ 0x100828be8
//
// 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_1004C6914(__int64 a1, float a2)
{
__int64 v2; // x0
__int64 (__fastcall *v3)(float); // x1
v2 = *(_QWORD *)(a1 + 96);
if ( v2 && (v3 = *(__int64 (__fastcall **)(float))(v2 + 224)) != nullptr )
return v3(fminf(fmaxf(a2, 0.01), 100.0));
else
return 19;
}