// // FMOD_Memory_GetStats from 0x43128 to 0x431ca (162 bytes) // // 1 xrefs: // > j_FMOD_Memory_GetStats @ 0xe1558 // // 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 // int __fastcall FMOD_Memory_GetStats(_DWORD *a1, _DWORD *a2, int a3) { int v3; // r11 int i; // r4 int v5; // r6 int v6; // r1 int v7; // r0 int v8; // r5 int v9; // r0 int v13; // [sp+10h] [bp-20h] BYREF if ( a3 ) { for ( i = 75; i != 83; ++i ) { v5 = *((_DWORD *)off_E8000 + i); if ( v5 && *(_BYTE *)(v5 + 4) ) { v6 = *((_DWORD *)off_E8000 + i); v13 = 0; v7 = sub_431D0(&v13, v6); v8 = 1; if ( v7 || (v7 = sub_61B58(v5, 1)) != 0 ) { v3 = v7; } else { v9 = sub_62170(v5); v8 = v9; if ( v9 ) { v3 = v9; v8 = 1; } } sub_444C0(&v13); if ( v8 ) return v3; } } } if ( a1 ) *a1 = *(_DWORD *)(*(int *)((char *)&dword_14C + (_DWORD)off_E8000) + 36); if ( a2 ) *a2 = *(_DWORD *)(*(int *)((char *)&dword_14C + (_DWORD)off_E8000) + 40); return 0; }