// // FMOD_Memory_GetStats from 0x50144 to 0x50238 (244 bytes) // // 4 xrefs: // > .FMOD_Memory_GetStats @ 0x10817c // > @ 0x7ca8 // > .FMOD_Memory_GetStats @ 0x108174 // > @ 0x110980 // // 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_Memory_GetStats(_DWORD *a1, _DWORD *a2, int a3) { unsigned int v3; // w21 __int64 i; // x24 __int64 v7; // x22 __int64 v8; // x1 unsigned int v9; // w0 _BOOL4 v10; // w25 unsigned int v11; // w0 __int64 v13; // [xsp+8h] [xbp-38h] BYREF if ( a3 ) { for ( i = 368; ; i += 8 ) { if ( i == 432 ) goto LABEL_14; v7 = *(_QWORD *)((char *)off_114000 + i); if ( v7 ) { if ( *(_BYTE *)(v7 + 8) ) break; } LABEL_11: ; } v8 = *(_QWORD *)((char *)off_114000 + i); v13 = 0; v9 = sub_50238(&v13, v8); if ( v9 ) { v10 = 1; } else { v10 = 1; v9 = sub_7755C(v7, 1); if ( !v9 ) { v11 = sub_77DB4(v7); v10 = v11 != 0; if ( v11 ) v3 = v11; LABEL_10: sub_51968(&v13); if ( v10 ) return v3; goto LABEL_11; } } v3 = v9; goto LABEL_10; } LABEL_14: if ( a1 ) *a1 = *(_DWORD *)(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000) + 56); v3 = 0; if ( a2 ) *a2 = *(_DWORD *)(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000) + 60); return v3; }