// // sub_74635C from 0x74635c to 0x7463f2 (150 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_74635C(int *a1) { _DWORD *v2; // r2 unsigned __int8 *v3; // r3 int result; // r0 int v5; // r1 _BYTE v6[4]; // [sp+4h] [bp-4h] BYREF a1[1] = 0; sub_745FB8(v6, a1, 1); if ( !v6[0] ) { v5 = 4; if ( a1[1] ) return -1; goto LABEL_10; } v2 = *(_DWORD **)((char *)a1 + *(_DWORD *)(*a1 - 12) + 120); v3 = (unsigned __int8 *)v2[2]; if ( (unsigned int)v3 >= v2[3] ) { result = (*(int (__fastcall **)(_DWORD))(*v2 + 40))(*(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 120)); if ( result != -1 ) goto LABEL_4; if ( a1[1] ) v5 = 2; else v5 = 6; LABEL_10: sub_7446A4((int *)((char *)a1 + *(_DWORD *)(*a1 - 12)), v5 | *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20)); return -1; } result = *v3; v2[2] = v3 + 1; LABEL_4: a1[1] = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source