//
// sub_10001F998 from 0x10001f998 to 0x10001f9f8 (96 bytes)
//
// 1 xrefs:
// > sub_10001F890 @ 0x10001f940
//
// 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
//
_DWORD *__fastcall sub_10001F998(_QWORD *a1, int *a2)
{
_DWORD *v4; // x19
unsigned __int64 v5; // x1
_QWORD *v6; // x0
v4 = operator new(0x18u);
v5 = *a2;
v4[4] = v5;
*(_QWORD *)v4 = 0;
*((_QWORD *)v4 + 1) = v5;
v6 = (_QWORD *)sub_10001ABFC((__int64)a1, v5, v4 + 4);
sub_10001AD58(a1, v4, v6);
return v4;
}