//
// sub_10001F000 from 0x10001f000 to 0x10001f064 (100 bytes)
//
// 3 xrefs:
// > sub_10001EEF0 @ 0x10001efa8
// > sub_100021F4C @ 0x100022004
// > sub_100126E38 @ 0x100126ef0
//
// 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_10001F000(_QWORD *a1, __int64 *a2)
{
_QWORD *v4; // x19
__int64 v5; // x8
_QWORD *v6; // x0
v4 = operator new(0x18u);
v5 = *a2;
v4[2] = *a2;
*v4 = 0;
v4[1] = (int)v5;
v6 = (_QWORD *)sub_10001ABFC((__int64)a1, (int)v5, (_DWORD *)v4 + 4);
sub_10001AD58(a1, v4, v6);
return v4;
}