//
// sub_100617D2C from 0x100617d2c to 0x100617d88 (92 bytes)
//
// 1 xrefs:
// > sub_100617BCC @ 0x100617c00
//
// 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_100617D2C(__int64 a1, __int64 a2, __int64 a3)
{
unsigned int (__fastcall *v3)(__int64, _QWORD *); // x8
_QWORD v5[8]; // [xsp+0h] [xbp-40h] BYREF
memset(&v5[2], 0, 48);
v5[0] = 5;
v5[1] = a1;
v3 = *(unsigned int (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a3 + 16LL);
if ( v3 && !v3(a3, v5) )
return 0xFFFFFFFFLL;
else
return 0;
}