//
// FMOD::System::createGeometry from 0xde97c to 0xde9ec (112 bytes)
//
// 4 xrefs:
// > FMOD::System::createGeometry @ 0x10708c
// > ??> @ 0x2db8
// > FMOD::System::createGeometry @ 0x107084
// > ??> @ 0x110108
//
// 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:56 +0000
//
__int64 __fastcall FMOD::System::createGeometry(FMOD::System *this, int a2, int a3, FMOD::Geometry **a4)
{
unsigned int v4; // w20
__int64 v5; // x0
int v6; // w1
int v7; // w2
__int64 *v8; // x3
__int64 v9; // x0
char v10; // w8
__int64 v11; // x0
__int64 v12; // x0
__int64 v14; // [xsp+108h] [xbp-38h]
v4 = sub_DF0CC(this);
if ( v4 || (v5 = sub_DF218(v14), v9 = sub_6F850(v5, v6, v7, v8), (v4 = v9) != 0) )
{
v9 = sub_DEFD0();
if ( v10 < 0 )
{
v11 = sub_DF2A4(v9);
v12 = sub_DE9EC(v11);
v9 = sub_DEFE4(v12);
}
}
sub_DF27C(v9);
return v4;
}