// // sub_7480E4 from 0x7480e4 to 0x74815e (122 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_7480E4(int *a1) { int v2; // r3 int result; // r0 _DWORD *v4; // r2 int *v5; // r3 _BYTE v6[4]; // [sp+4h] [bp-4h] BYREF a1[1] = 0; sub_747D3C(v6, a1, 1); if ( v6[0] ) { v4 = *(_DWORD **)((char *)a1 + *(_DWORD *)(*a1 - 12) + 124); v5 = (int *)v4[2]; if ( (unsigned int)v5 >= v4[3] ) { result = (*(int (__fastcall **)(_DWORD))(*v4 + 40))(*(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 124)); } else { result = *v5; v4[2] = v5 + 1; } if ( result == -1 ) { if ( a1[1] ) v2 = 2; else v2 = 6; goto LABEL_4; } a1[1] = 1; } else { if ( !a1[1] ) { v2 = 4; LABEL_4: sub_744C5C((int *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20) | v2); return -1; } return -1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source