//
// FMOD::System::createGeometry from 0xba4e8 to 0xba560 (120 bytes)
//
// 1 xrefs:
// > FMOD::System::createGeometry @ 0xe03d8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:45 +0000
//
int __fastcall FMOD::System::createGeometry(FMOD::System *this, int a2, int a3, FMOD::Geometry **a4)
{
int v8; // r5
_BYTE v10[256]; // [sp+8h] [bp-120h] BYREF
int v11; // [sp+108h] [bp-20h] BYREF
int v12; // [sp+10Ch] [bp-1Ch] BYREF
v11 = 0;
v8 = FMOD::SystemI::validate((int)this, &v12, &v11);
if ( v8 || (v8 = sub_5B63C(v12, a2, a3, (int **)a4)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_BA568(v10, 256, a2, a3, a4);
sub_BAB40(v8, 1, this, "System::createGeometry", v10);
}
}
else
{
v8 = 0;
}
sub_444C0(&v11);
return v8;
}