//
// sub_1800D2CC0 from 0x1800d2cc0 to 0x1800d2d20 (96 bytes)
//
// 2 xrefs:
// > FMOD::Geometry::save @ 0x1800a4639
// > ??> @ 0x1801fecb8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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);
}