//
// sub_5B818 from 0x5b818 to 0x5b84e (54 bytes)
//
// 1 xrefs:
// > FMOD::System::getGeometryOcclusion @ 0xba7b4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:40:48 +0000
//
int __fastcall sub_5B818(int a1, _DWORD *a2, _DWORD *a3, _DWORD *a4, _DWORD *a5)
{
int result; // r0
_DWORD *v8; // [sp+8h] [bp-10h] BYREF
_DWORD *v9; // [sp+Ch] [bp-Ch] BYREF
v8 = a3;
v9 = a4;
result = 31;
if ( a2 )
{
if ( a3 )
{
v8 = nullptr;
v9 = nullptr;
result = sub_4CE80(a1 + 71272, a2, a3, (float *)&v9, (float *)&v8);
if ( !result )
{
if ( a4 )
*a4 = v9;
if ( a5 )
*a5 = v8;
}
}
}
return result;
}