// // sub_CD5E60 from 0xcd5e60 to 0xcd5fa4 (324 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 // _QWORD *__fastcall sub_CD5E60(_QWORD *a1) { __int64 v2; // x20 _QWORD *v3; // x19 _DWORD *v4; // x0 int *v6; // x1 int v7; // w0 char v8; // [xsp+38h] [xbp+38h] BYREF sub_CE9C80(&v8, (char *)a1 + *(_QWORD *)(*a1 - 24LL) + 208); v2 = sub_CFDB80(&v8); sub_CEA56C(&v8); v3 = *(_QWORD **)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 232); v4 = (_DWORD *)v3[2]; if ( (unsigned __int64)v4 >= v3[3] ) goto LABEL_9; LABEL_2: if ( *v4 == -1 ) { LABEL_10: sub_CCF1DC((__int64)a1 + *(_QWORD *)(*a1 - 24LL), *(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 32) | 2); return a1; } else { while ( (*(unsigned __int8 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 16LL))(v2, 8) ) { v6 = (int *)v3[2]; if ( (unsigned __int64)v6 >= v3[3] ) { v7 = (*(__int64 (__fastcall **)(_QWORD *))(*v3 + 80LL))(v3); } else { v7 = *v6; v3[2] = v6 + 1; } if ( v7 != -1 ) { v4 = (_DWORD *)v3[2]; if ( (unsigned __int64)v4 < v3[3] ) goto LABEL_2; LABEL_9: if ( (*(unsigned int (__fastcall **)(_QWORD *))(*v3 + 72LL))(v3) != -1 ) continue; } goto LABEL_10; } return a1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source