// // sub_7511D8 from 0x7511d8 to 0x7512ba (226 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_7511D8(_DWORD *a1, int a2, _DWORD *a3, int a4, _DWORD *a5, int a6, int a7, int *a8, int *a9) { _DWORD *v11; // r0 _DWORD *v12; // r4 int v13; // r5 int v14; // r7 int v15; // r3 int v17; // r3 unsigned __int8 *v18; // r3 int v19; // r0 _DWORD *v20; // [sp+18h] [bp-10h] BYREF int v21; // [sp+1Ch] [bp-Ch] _DWORD *v22; // [sp+20h] [bp-8h] int v23; // [sp+24h] [bp-4h] v22 = a3; v23 = a4; v11 = sub_74D9E0(a7 + 108); sub_75072C(&v20, a2, v22, v23, a5, a6, a7, a8, a9, *(const char **)(v11[2] + 8)); v22 = v20; v23 = v21; v12 = v20; v13 = v21; if ( v20 ) { if ( v23 != -1 ) goto LABEL_3; v18 = (unsigned __int8 *)v22[2]; if ( (unsigned int)v18 < v22[3] ) { v13 = *v18; goto LABEL_3; } v19 = (*(int (__fastcall **)(_DWORD *))(*v22 + 36))(v22); if ( v19 != -1 ) { v13 = v19; LABEL_3: v14 = 0; if ( !a5 ) { LABEL_7: *a1 = v12; a1[1] = v13; return a1; } goto LABEL_4; } } v12 = a5; if ( !a5 ) goto LABEL_8; v12 = nullptr; v14 = 1; LABEL_4: v15 = a6 == -1 && a5[2] >= a5[3] && (*(int (__fastcall **)(_DWORD *))(*a5 + 36))(a5) == -1; if ( v14 != v15 ) goto LABEL_7; LABEL_8: v17 = *a8; *a1 = v12; a1[1] = v13; *a8 = v17 | 2; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source