// // sub_AB642 from 0xab642 to 0xab6ce (140 bytes) // // 1 xrefs: // > FMOD::DSP::getParameterBool @ 0xb1c62 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:41:38 +0000 // int __fastcall sub_AB642(_DWORD *a1, int a2, char *a3, int a4, int a5) { _DWORD *v6; // r2 int (__fastcall *v8)(_DWORD *, int, int *, char *); // r6 char *v9; // r8 int result; // r0 char v11; // r0 char v12; // [sp+4h] [bp-34h] BYREF int v13; // [sp+24h] [bp-14h] BYREF v13 = 0; if ( a2 < 0 ) return 31; v6 = (_DWORD *)a1[41]; if ( !v6 || v6[18] <= a2 ) return 31; v8 = (int (__fastcall *)(_DWORD *, int, int *, char *))v6[26]; if ( !v8 ) return 68; if ( **(_DWORD **)(v6[19] + 4 * a2) != 2 ) return 31; a1[33] = a1; v12 = 0; if ( a4 || !a1[45] ) v9 = &v12; else v9 = nullptr; result = v8(a1 + 33, a2, &v13, v9); if ( !result ) { if ( a3 ) { v11 = v13; if ( v13 ) v11 = 1; *a3 = v11; } if ( a4 ) sub_BE220(a4, v9, a5); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source