//
// sub_CF98D8 from 0xcf98d8 to 0xcf9928 (80 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_CF98D8(_QWORD *a1, unsigned __int8 a2)
{
unsigned __int8 *v3; // x3
v3 = (unsigned __int8 *)a1[5];
if ( (unsigned __int64)v3 >= a1[6] )
return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 104LL))(a1, a2);
*v3 = a2;
++a1[5];
return a2;
}