// // FMOD::System::close from 0x1800abc00 to 0x1800abcd0 (208 bytes) // // 3 xrefs: // > FMOD_System_Close @ 0x1800c6859 // > @ 0x180194348 // > @ 0x1801fc06c // // 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::close(__int64 a1) { int v1; // edi unsigned int v2; // ebx __int64 v4; // [rsp+30h] [rbp-128h] BYREF __int64 v5; // [rsp+38h] [rbp-120h] BYREF _BYTE v6[256]; // [rsp+40h] [rbp-118h] BYREF v4 = 0; v1 = a1; v2 = FMOD::SystemI::validate(a1, &v5, &v4); if ( v2 ) goto LABEL_6; if ( !v4 || !(unsigned int)sub_180102320(v4) ) v4 = 0; v2 = sub_1800E25F0(v5); if ( v2 ) { LABEL_6: if ( *((char *)off_1801AED20 + 16) < 0 ) { v6[0] = 0; sub_1800B20E0(v2, 1, v1, (unsigned int)"System::close", (__int64)v6); } } if ( v4 ) sub_180102320(v4); return v2; }