//
// sub_10013F574 from 0x10013f574 to 0x10013f5e0 (108 bytes)
//
// 1 xrefs:
// > sub_10013F4F8 @ 0x10013f510
//
// 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 __usercall sub_10013F574@(__int64 a1@, __int64 a2@, _QWORD *a3@)
{
_QWORD *v6; // x20
__int64 result; // x0
v6 = operator new(0xD0u);
*a3 = v6;
a3[1] = a1;
a3[2] = 0;
*v6 = 0;
v6[1] = 0;
result = sub_10013F5FC(v6 + 2, a2);
*((_BYTE *)a3 + 16) = 1;
v6[1] = *((int *)v6 + 4);
return result;
}