//
// sub_1800D2CC0 from 0x1800d2cc0 to 0x1800d2d20 (96 bytes)
//
// 2 xrefs:
// > FMOD::Geometry::save @ 0x1800a4639
// > ??> @ 0x1801fecb8
//
// 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:10 +0000
//
__int64 __fastcall sub_1800D2CC0(int a1, __int64 a2, int *a3)
{
int v4; // [rsp+50h] [rbp+18h] BYREF
if ( !a3 )
return 31;
if ( !a2 )
return sub_1800D2D70(a1, 0, (_DWORD)a3, 0, 0, (__int64)sub_1800D1DA0);
v4 = *a3;
return sub_1800D2D70(a1, a2, (unsigned int)&v4, 1, 0, (__int64)&sub_1800D2D20);
}