// // sub_748284 from 0x748284 to 0x748356 (210 bytes) // // 1 xrefs: // > sub_7483B4 @ 0x7483de // // 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_748284(int *a1, int *a2, int a3, int a4) { int v8; // r1 _DWORD *v9; // r4 int *v10; // r3 int v11; // r0 int *v12; // r3 unsigned int v13; // r1 bool v14; // zf bool v15; // r2 _BYTE v18[4]; // [sp+4h] [bp-4h] BYREF a1[1] = 0; sub_747D3C(v18, a1, 1); v8 = v18[0]; if ( v18[0] ) { v9 = *(_DWORD **)((char *)a1 + *(_DWORD *)(*a1 - 12) + 124); v10 = (int *)v9[2]; if ( (unsigned int)v10 < v9[3] ) goto LABEL_9; LABEL_3: v11 = (*(int (__fastcall **)(_DWORD *))(*v9 + 36))(v9); while ( 1 ) { v14 = v11 == -1; if ( v11 != -1 ) v14 = a4 == v11; v15 = !v14; if ( a1[1] + 1 >= a3 || !v15 ) break; v12 = (int *)v9[2]; v13 = v9[3]; *a2++ = v11; ++a1[1]; if ( (unsigned int)v12 >= v13 ) { v11 = (*(int (__fastcall **)(_DWORD *))(*v9 + 40))(v9); } else { v11 = *v12; v9[2] = v12 + 1; } if ( v11 != -1 ) { v10 = (int *)v9[2]; if ( (unsigned int)v10 >= v9[3] ) goto LABEL_3; LABEL_9: v11 = *v10; } } if ( v11 == -1 ) v8 = 2; else v8 = 0; } if ( a3 > 0 ) *a2 = 0; if ( !a1[1] ) { v8 |= 4u; LABEL_26: sub_744C5C((int *)((char *)a1 + *(_DWORD *)(*a1 - 12)), v8 | *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20)); return a1; } if ( v8 ) goto LABEL_26; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source