//
// sub_100601580 from 0x100601580 to 0x1006015f4 (116 bytes)
//
// 2 xrefs:
// > sub_1006012E4 @ 0x1006013c8
// > sub_1006012E4 @ 0x1006014b4
//
// 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_100601580(__int64 a1, __int64 a2, __int64 a3)
{
int v6; // w0
v6 = sub_10060D070(a3, a2);
if ( !v6 )
return 1;
if ( (*(_BYTE *)(*(_QWORD *)(a1 + 40) + 24LL) & 1) == 0 )
return 0;
*(_DWORD *)(a1 + 184) = v6;
*(_QWORD *)(a1 + 192) = a2;
*(_QWORD *)(a1 + 200) = a3;
return (*(__int64 (__fastcall **)(_QWORD, __int64))(a1 + 64))(0, a1);
}