// // sub_7483E8 from 0x7483e8 to 0x7484ac (196 bytes) // // 1 xrefs: // > sub_748508 @ 0x74852e // // 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 sub_7483E8(int *a1, _DWORD *a2, int a3) { _DWORD *v6; // r4 int *v7; // r3 int v8; // r0 bool v9; // zf int v10; // r3 bool v12; // zf int *v13; // r3 int *v14; // r3 unsigned int v15; // r1 _BYTE v16[8]; // [sp+4h] [bp-8h] BYREF a1[1] = 0; sub_747D3C(v16, a1, 1); if ( v16[0] ) { v6 = *(_DWORD **)((char *)a1 + *(_DWORD *)(*a1 - 12) + 124); v7 = (int *)v6[2]; if ( (unsigned int)v7 < v6[3] ) goto LABEL_15; LABEL_3: v8 = (*(int (__fastcall **)(_DWORD *))(*v6 + 36))(v6); v9 = v8 == -1; if ( v8 != -1 ) v9 = v8 == a3; if ( !v9 ) { do { v13 = (int *)a2[5]; if ( (unsigned int)v13 >= a2[6] ) { if ( (*(int (__fastcall **)(_DWORD *, int))(*a2 + 52))(a2, v8) == -1 ) goto LABEL_8; } else { *v13 = v8; a2[5] = v13 + 1; } v14 = (int *)v6[2]; v15 = v6[3]; ++a1[1]; if ( (unsigned int)v14 < v15 ) { v8 = *v14; v6[2] = v14 + 1; } else { v8 = (*(int (__fastcall **)(_DWORD *))(*v6 + 40))(v6); } if ( v8 != -1 ) { v7 = (int *)v6[2]; if ( (unsigned int)v7 >= v6[3] ) goto LABEL_3; LABEL_15: v8 = *v7; } v12 = v8 == -1; if ( v8 != -1 ) v12 = v8 == a3; } while ( !v12 ); } if ( v8 == -1 ) { if ( a1[1] ) v10 = 2; else v10 = 6; goto LABEL_10; } } LABEL_8: if ( !a1[1] ) { v10 = 4; LABEL_10: sub_744C5C((int *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20) | v10); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source