//
// sub_1005FAEB8 from 0x1005faeb8 to 0x1005faf24 (108 bytes)
//
// 1 xrefs:
// > FMOD::System::getGeometryOcclusion @ 0x1005f3f00
//
// 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:09:53 +0000
//
float __fastcall sub_1005FAEB8(__int64 a1, __int64 *a2, __int64 *a3, _DWORD *a4, _DWORD *a5)
{
float result; // s0
__int64 v8; // [xsp+8h] [xbp-18h] BYREF
if ( a2 )
{
if ( a3 )
{
v8 = 0;
if ( !(unsigned int)sub_1005D42CC((_QWORD *)(a1 + 73144), a2, a3, (float *)&v8 + 1, (float *)&v8) )
{
if ( a4 )
{
result = *((float *)&v8 + 1);
*a4 = HIDWORD(v8);
}
if ( a5 )
{
result = *(float *)&v8;
*a5 = v8;
}
}
}
}
return result;
}