//
// sub_100508A30 from 0x100508a30 to 0x100508a64 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008279b8
// > ??> @ 0x100827be0
// > ??> @ 0x10082a498
//
// 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
//
float __fastcall sub_100508A30(__int64 a1, unsigned int a2, float *a3)
{
float result; // s0
if ( a3 )
{
if ( a2 <= 3 )
{
result = *(float *)(a1 + 4LL * a2 + 316);
*a3 = result;
}
}
return result;
}