//
// sub_CF97AC from 0xcf97ac to 0xcf97ec (64 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_CF97AC(_QWORD *a1)
{
unsigned __int8 *v2; // x1
__int64 result; // x0
v2 = (unsigned __int8 *)a1[2];
if ( (unsigned __int64)v2 >= a1[3] )
return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 80LL))(a1);
result = *v2;
a1[2] = v2 + 1;
return result;
}