// // FMOD::System::init from 0x1800af580 to 0x1800af6bb (315 bytes) // // 6 xrefs: // > FMOD_System_Init @ 0x1800c6ce9 // > @ 0x1801882bc // > @ 0x1801882cc // > @ 0x180194348 // > @ 0x1801fc7a4 // > @ 0x1801fc7b0 // // 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 FMOD::System::init(__int64 a1, unsigned int a2, unsigned int a3, __int64 a4) { int v7; // r15d unsigned int v8; // esi __int64 result; // rax int v10; // ebx int v11; // ebx int v12; // ebx int v13; // eax __int64 v14; // [rsp+30h] [rbp-158h] BYREF _BYTE v15[256]; // [rsp+40h] [rbp-148h] BYREF v7 = a1; v8 = FMOD::SystemI::validate(a1, &v14, 0); if ( v8 || (result = sub_1800E4E00(v14, a2, a3, a4), (v8 = result) != 0) ) { if ( *((char *)off_1801AED20 + 16) < 0 ) { v10 = sub_1800F2EC0(v15, 256, a2); v11 = sub_1800F2F70(&v15[v10]) + v10; v12 = sub_1800F2EF0(&v15[v11], (unsigned int)(256 - v11), a3) + v11; v13 = sub_1800F2F70(&v15[v12]); sub_1800F3230(&v15[v13 + v12], (unsigned int)(256 - (v13 + v12)), a4); sub_1800B20E0(v8, 1, v7, (unsigned int)"System::init", (__int64)v15); } return v8; } return result; }