// // sub_CF9734 from 0xcf9734 to 0xcf97ac (120 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_CF9734(_QWORD *a1) { unsigned __int64 v1; // x1 unsigned __int64 v2; // x2 unsigned __int8 *v4; // x1 __int64 result; // x0 bool v6; // zf v1 = a1[2]; v2 = a1[3]; if ( v1 >= v2 ) { v6 = (*(unsigned int (__fastcall **)(_QWORD *))(*a1 + 80LL))(a1) == -1; result = 0xFFFFFFFFLL; if ( v6 ) return result; v4 = (unsigned __int8 *)a1[2]; v2 = a1[3]; } else { v4 = (unsigned __int8 *)(v1 + 1); a1[2] = v4; } if ( v2 <= (unsigned __int64)v4 ) return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 72LL))(a1); else return *v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source