//
// FMOD::System::init from 0xdc7a4 to 0xdc83c (152 bytes)
//
// 4 xrefs:
// > FMOD::System::init @ 0x106d8c
// > ??> @ 0x5698
// > FMOD::System::init @ 0x106d84
// > ??> @ 0x10ff88
//
// 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:55 +0000
//
__int64 __fastcall FMOD::System::init(FMOD::System *this, unsigned int a2, unsigned int a3, void *a4)
{
unsigned int v7; // w21
char v8; // w8
_BYTE v10[256]; // [xsp+8h] [xbp-138h] BYREF
__int64 v11; // [xsp+108h] [xbp-38h] BYREF
v7 = sub_DF284(this, &v11, 0);
if ( v7 || (v7 = sub_6C64C(v11, a2, a3)) != 0 )
{
sub_DEFD0();
if ( v8 < 0 )
{
sub_DC83C(v10, 256, a2, a3, a4);
sub_DF070(v7, 1);
}
}
return v7;
}