// // sub_7128E from 0x7128e to 0x71346 (184 bytes) // // 0 xrefs: // // 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 // _DWORD *__fastcall sub_7128E(int a1, int a2, int a3) { _DWORD *result; // r0 int v6; // r2 __int64 v7; // kr00_8 int i; // r5 int v9; // r6 size_t v10; // r2 int v11; // r0 unsigned __int8 *v12; // r6 int v13; // t1 void (__fastcall *v14)(int, int, _BYTE *, unsigned __int8 *, int, int, _DWORD); // r10 int v15; // r0 _BYTE v16[4100]; // [sp+10h] [bp-1020h] BYREF result = *(_DWORD **)a2; if ( *(_DWORD *)a2 == 4 ) { for ( i = 0; ; ++i ) { result = *(_DWORD **)(a2 + 24); if ( i >= (int)result ) break; v9 = *(_DWORD *)(a2 + 28); v10 = *(_DWORD *)(v9 + 8 * i); if ( !(v10 >> 12) ) { qmemcpy(v16, *(const void **)(v9 + 8 * i + 4), v10); v11 = *(_DWORD *)(v9 + 8 * i); v12 = v16; v16[v11] = 0; do v13 = *v12++; while ( v13 != 61 ); *(v12 - 1) = 0; v14 = **(void (__fastcall ***)(int, int, _BYTE *, unsigned __int8 *, int, int, _DWORD))(a3 + 8); v15 = sub_BE198(v12); v14(a3, 3, v16, v12, v15 + 1, 6, 0); } } } else if ( !result ) { result = (_DWORD *)((int (__fastcall *)(_DWORD, int))loc_70150)(*(_DWORD *)(a2 + 40), *(_DWORD *)(a3 + 4) + 4); if ( !result ) { result = *(_DWORD **)(a3 + 4); result[2] = *(_DWORD *)(a2 + 36); result[3] = *(_DWORD *)(a2 + 32); v7 = *(_QWORD *)(a2 + 48); v6 = v7; if ( !v7 ) v6 = -1; result[5] = v6; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source