//
// sub_100606C80 from 0x100606c80 to 0x100606ca5 (37 bytes)
//
// 1 xrefs:
// > sub_100606EC0 @ 0x100606f0e
//
// 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_100606C80(__int64 a1, __int64 a2)
{
__int64 result; // rax
result = *(_QWORD *)(a1 + 408);
if ( result == *(_QWORD *)a2 && *(_DWORD *)(a2 + 8) == 1 )
{
*(_BYTE *)(a1 + 400) = 1;
return sub_100606CB0();
}
return result;
}