//
// FMOD::System::setGeometrySettings from 0xdea88 to 0xdeb14 (140 bytes)
//
// 4 xrefs:
// > FMOD::System::setGeometrySettings @ 0x10709c
// > ??> @ 0x5068
// > FMOD::System::setGeometrySettings @ 0x107094
// > ??> @ 0x110110
//
// 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::setGeometrySettings(FMOD::System *this, float a2)
{
unsigned int v3; // w20
__int64 v4; // x0
char v5; // w8
__int16 *v6; // x0
__int64 v7; // x1
__int64 v8; // x0
__int64 v10; // [xsp+100h] [xbp-30h] BYREF
__int64 v11; // [xsp+108h] [xbp-28h] BYREF
v10 = 0;
v3 = FMOD::SystemI::validate((__int64)this, &v11, &v10);
if ( v3 || (v4 = sub_6F8F4(v11, a2), (v3 = v4) != 0) )
{
v4 = sub_DEFD0();
if ( v5 < 0 )
{
v6 = (__int16 *)sub_DF4C8(v4);
v8 = sub_7154C(v6, v7, a2);
v4 = sub_DEFE4(v8);
}
}
sub_DF11C(v4);
return v3;
}