//
// sub_CF9D90 from 0xcf9d90 to 0xcf9de4 (84 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_CF9D90(_QWORD *a1, unsigned int a2)
{
unsigned int *v2; // x2
v2 = (unsigned int *)a1[5];
if ( (unsigned __int64)v2 >= a1[6] )
return (*(unsigned int (__fastcall **)(_QWORD *))(*a1 + 104LL))(a1);
*v2 = a2;
a1[5] = v2 + 1;
return a2;
}