//
// sub_10036E5D8 from 0x10036e5d8 to 0x10036e620 (72 bytes)
//
// 1 xrefs:
// > sub_100365184 @ 0x1003651a0
//
// 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
//
_QWORD *__fastcall sub_10036E5D8(__int64 a1, __int64 *a2)
{
_QWORD *v3; // x20
_QWORD *result; // x0
v3 = *(_QWORD **)(a1 + 8);
*v3 = 0;
v3[1] = 0;
v3[2] = 0;
result = sub_10036E11C(v3, *a2, a2[1], (a2[1] - *a2) >> 6);
*(_QWORD *)(a1 + 8) = v3 + 3;
return result;
}