//
// sub_CF95B4 from 0xcf95b4 to 0xcf95f4 (64 bytes)
//
// 4 xrefs:
// > ??> @ 0x111ea00
// > ??> @ 0x121dab0
// > ??> @ 0x121e710
// > ??> @ 0x121f0e0
//
// 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_CF95B4(_QWORD *a1)
{
bool v2; // zf
__int64 result; // x0
unsigned int *v4; // x1
v2 = (*(unsigned int (__fastcall **)(_QWORD *))(*a1 + 72LL))(a1) == -1;
result = 0xFFFFFFFFLL;
if ( !v2 )
{
v4 = (unsigned int *)a1[2];
result = *v4;
a1[2] = v4 + 1;
}
return result;
}