//
// FMOD::Geometry::addPolygon from 0x1800a4300 to 0x1800a4371 (113 bytes)
//
// 3 xrefs:
// > FMOD_Geometry_AddPolygon @ 0x1800c5f20
// > ??> @ 0x180194348
// > ??> @ 0x1801fb58c
//
// 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:53:53 +0000
//
__int64 __fastcall FMOD::Geometry::addPolygon(
__int64 a1,
__int64 a2,
__int64 a3,
unsigned __int8 a4,
int a5,
__int64 a6,
__int64 a7)
{
__int64 result; // rax
int v9; // edx
int v10; // r8d
__int64 v11; // [rsp+40h] [rbp-38h] BYREF
result = sub_1800D4500(a1, &v11);
if ( !(_DWORD)result )
return sub_1800D1800(v11, v9, v10, a4, a5, a6, a7);
return result;
}