// // sub_CF9BF0 from 0xcf9bf0 to 0xcf9c64 (116 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_CF9BF0(_QWORD *a1) { unsigned int *v1; // x1 __int64 result; // x0 unsigned int *v4; // x0 v1 = (unsigned int *)a1[2]; if ( (unsigned __int64)v1 >= a1[3] ) { result = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 80LL))(a1); } else { result = *v1; a1[2] = v1 + 1; } if ( (_DWORD)result != -1 ) { v4 = (unsigned int *)a1[2]; if ( (unsigned __int64)v4 >= a1[3] ) return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 72LL))(a1); else return *v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source