//
// sub_1800E4340 from 0x1800e4340 to 0x1800e43b8 (120 bytes)
//
// 2 xrefs:
// > FMOD::System::getGeometryOcclusion @ 0x1800ad826
// > ??> @ 0x1801ffbb8
//
// This function is hookable on this platform (idp: pc, 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 10:54:17 +0000
//
__int64 __fastcall sub_1800E4340(__int64 a1, __int64 *a2, __int64 a3, _DWORD *a4, _DWORD *a5)
{
__int64 result; // rax
float v7[6]; // [rsp+30h] [rbp-18h] BYREF
int v8; // [rsp+60h] [rbp+18h] BYREF
if ( !a3 || !a2 )
return 31;
v8 = 0;
v7[0] = 0.0;
result = sub_1800D12F0((_QWORD *)(a1 + 73264), a2, a3, (float *)&v8, v7);
if ( !(_DWORD)result )
{
if ( a4 )
*a4 = v8;
if ( a5 )
*a5 = LODWORD(v7[0]);
return 0;
}
return result;
}