//
// sub_100606FF0 from 0x100606ff0 to 0x100607013 (35 bytes)
//
// 2 xrefs:
// > ??> @ 0x10097f160
// > ??> @ 0x10097f220
//
// 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_100606FF0(_QWORD *a1)
{
__int64 (__fastcall *v1)(_QWORD); // rcx
_QWORD *v2; // rdi
v1 = (__int64 (__fastcall *)(_QWORD))a1[3];
v2 = (_QWORD *)(a1[4] + a1[2]);
if ( ((unsigned __int8)v1 & 1) != 0 )
v1 = *(__int64 (__fastcall **)(_QWORD))((char *)v1 + *v2 - 1);
return v1(v2);
}