//
// sub_10001FA54 from 0x10001fa54 to 0x10001fab8 (100 bytes)
//
// 3 xrefs:
// > sub_10001F944 @ 0x10001f9fc
// > sub_1000229A0 @ 0x100022a58
// > sub_1001510D4 @ 0x10015118c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:57:22 +0000
//
_QWORD *__fastcall sub_10001FA54(_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_10001B650((__int64)a1, (int)v5, (_DWORD *)v4 + 4);
sub_10001B7AC(a1, v4, v6);
return v4;
}