//
// FMOD_Geometry_GetActive from 0x5182c to 0x51860 (52 bytes)
//
// 4 xrefs:
// > .FMOD_Geometry_GetActive @ 0x10981c
// > ??> @ 0x5140
// > .FMOD_Geometry_GetActive @ 0x109814
// > ??> @ 0x1114d0
//
// 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 12:13:47 +0000
//
__int64 __fastcall FMOD_Geometry_GetActive(__int64 a1)
{
__int64 v1; // x19
FMOD::Geometry *v2; // x0
bool *v3; // x1
__int64 result; // x0
if ( !a1 )
return 31;
v2 = (FMOD::Geometry *)sub_519B8();
result = FMOD::Geometry::getActive(v2, v3);
if ( v1 )
{
if ( !(_DWORD)result )
return sub_519AC(result);
}
return result;
}