// // sub_6B114 from 0x6b114 to 0x6b1ae (154 bytes) // // 3 xrefs: // > sub_527B6 @ 0x52824 // > sub_6B070 @ 0x6b0b8 // > sub_6B444 @ 0x6b5e4 // // 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:40:58 +0000 // int __fastcall sub_6B114(int a1, int a2, int a3, int a4) { int v8; // r4 int i; // r0 int v11; // r2 bool v12; // zf int j; // r0 int v14; // r1 int v15; // r0 int v16; // [sp+0h] [bp-18h] BYREF char v17; // [sp+4h] [bp-14h] v16 = *(_DWORD *)(a1 + 20); j_FMOD_OS_CriticalSection_Enter(v16); v17 = 1; if ( *(_BYTE *)(a1 + 624) ) goto LABEL_2; for ( i = 0; i != 512; i += 16 ) { v11 = *(unsigned __int8 *)(a1 + i + 628); v12 = v11 == a2; if ( v11 == a2 ) v12 = *(unsigned __int8 *)(a1 + i + 629) == a3; if ( v12 ) goto LABEL_2; } for ( j = 0; ; j += 16 ) { if ( j == 512 ) { v8 = 28; goto LABEL_3; } v14 = a1 + j; if ( *(unsigned __int8 *)(a1 + j + 628) == 255 ) break; } *(_DWORD *)(v14 + 632) = a4; *(_DWORD *)(v14 + 636) = 0; *(_BYTE *)(v14 + 629) = a3; *(_BYTE *)(v14 + 628) = a2; v15 = *(_DWORD *)(a1 + 12); if ( !v15 || (v8 = (*(int (__fastcall **)(int, int, int, int))(*(_DWORD *)v15 + 28))(v15, a1, a2, a3)) == 0 ) LABEL_2: v8 = 0; LABEL_3: sub_44984((int)&v16); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source