//
// FMOD::Geometry::addPolygon from 0xd509c to 0xd5108 (108 bytes)
//
// 4 xrefs:
// > FMOD::Geometry::addPolygon @ 0x107cbc
// > ??> @ 0x3f40
// > FMOD::Geometry::addPolygon @ 0x107cb4
// > ??> @ 0x110720
//
// 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:14:52 +0000
//
__int64 __fastcall FMOD::Geometry::addPolygon(__int64 a1)
{
__int64 result; // x0
__int64 v2; // [xsp+8h] [xbp-38h] BYREF
result = sub_D54C8(a1, &v2);
if ( !(_DWORD)result )
return sub_5DCA0();
return result;
}