//
// sub_100426F88 from 0x100426f88 to 0x100426ffc (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x100826c90
//
// 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_100426F88(__int64 a1, __int64 a2)
{
int v2; // w9
__int64 result; // x0
if ( !*(_QWORD *)(a1 + 88) )
return 0;
v2 = *(_DWORD *)(a2 + 8);
if ( v2 > 0 )
return 28;
*(_DWORD *)(a2 + 8) = v2 + 1;
result = (***(__int64 (__fastcall ****)(_QWORD))a2)(*(_QWORD *)a2);
if ( (_DWORD)result == 45 || (_DWORD)result == 0 )
{
*(_QWORD *)(a1 + 88) = 0;
return 0;
}
return result;
}