// // sub_7481B8 from 0x7481b8 to 0x748228 (112 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 // int *__fastcall sub_7481B8(int *a1, int *a2) { _DWORD *v4; // r2 int *v5; // r3 int v6; // r0 int v7; // r3 _BYTE v9[8]; // [sp+4h] [bp-8h] BYREF a1[1] = 0; sub_747D3C(v9, a1, 1); if ( v9[0] ) { v4 = *(_DWORD **)((char *)a1 + *(_DWORD *)(*a1 - 12) + 124); v5 = (int *)v4[2]; if ( (unsigned int)v5 >= v4[3] ) { v6 = (*(int (__fastcall **)(_DWORD))(*v4 + 40))(*(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 124)); } else { v6 = *v5; v4[2] = v5 + 1; } if ( v6 == -1 ) { if ( a1[1] ) v7 = 2; else v7 = 6; goto LABEL_8; } a1[1] = 1; *a2 = v6; } if ( !a1[1] ) { v7 = 4; LABEL_8: sub_744C5C((int *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20) | v7); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source