//
// sub_10061C118 from 0x10061c118 to 0x10061c1e8 (208 bytes)
//
// 3 xrefs:
// > sub_10061BA8C @ 0x10061bbcc
// > sub_10061BA8C @ 0x10061bbd4
// > ??> @ 0x100868298
//
// 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
//
bool __fastcall sub_10061C118(
__int64 a1,
__int64 *a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
__int64 *a8)
{
_BOOL8 v15; // x19
__int64 v17[3]; // [xsp+8h] [xbp-58h] BYREF
sub_1005AAD28(v17);
if ( (unsigned int)sub_10061C4A0(a2, a3, a4, a7, a8) )
{
if ( (unsigned int)sub_10061C4A0(v17, a5, a6, a7, a8) )
v15 = sub_1005AD2C8((__int64)a2, a2, v17, a7, a8);
else
v15 = 0;
}
else
{
v15 = 0;
}
sub_1005AACD0(v17);
return v15;
}