// // sub_CD5254 from 0xcd5254 to 0xcd5388 (308 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 // __int64 __fastcall sub_CD5254(__int64 a1) { unsigned int v2; // w20 _QWORD *v4; // x0 _DWORD *v5; // x1 char v6; // [xsp+38h] [xbp+38h] BYREF v2 = -1; *(_QWORD *)(a1 + 8) = 0; sub_CD43C0(&v6, (unsigned int **)a1, 1u); if ( !v6 ) return v2; v4 = *(_QWORD **)(a1 + *(_QWORD *)(*(_QWORD *)a1 - 24LL) + 232); v5 = (_DWORD *)v4[2]; v2 = (unsigned __int64)v5 >= v4[3] ? (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 72LL))(v4) : *v5; if ( v2 != -1 ) return v2; sub_CCF1DC(a1 + *(_QWORD *)(*(_QWORD *)a1 - 24LL), *(_DWORD *)(a1 + *(_QWORD *)(*(_QWORD *)a1 - 24LL) + 32) | 2); return 0xFFFFFFFFLL; }
GD Web Decomp Icon

GD Web Decomp

Raw Source