//
// sub_1006307FC from 0x1006307fc to 0x100630884 (136 bytes)
//
// 3 xrefs:
// > ??> @ 0x1009ab198
// > ??> @ 0x1009ab3c0
// > ??> @ 0x1009adc78
//
// This function is hookable on this platform (idp: arm, 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 11:10:28 +0000
//
float __fastcall sub_1006307FC(__int64 a1, bool *a2, float *a3, float *a4)
{
float result; // s0
_BYTE v9[4]; // [xsp+Ch] [xbp-24h] BYREF
if ( !(*(unsigned int (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 152LL))(a1, v9) && (v9[0] & 0x10) != 0 )
{
if ( a2 )
*a2 = (*(_DWORD *)(a1 + 72) & 0x100000) != 0;
if ( a3 )
{
result = *(float *)(a1 + 248);
*a3 = result;
}
if ( a4 )
{
result = *(float *)(a1 + 252);
*a4 = result;
}
}
return result;
}