//
// sub_10001BAD8 from 0x10001bad8 to 0x10001bb44 (108 bytes)
//
// 1 xrefs:
// > sub_10001B540 @ 0x10001b5f8
//
// 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:21 +0000
//
int *__fastcall sub_10001BAD8(_QWORD *a1, __int64 a2)
{
int *v4; // x19
unsigned __int64 v5; // x1
_QWORD *v6; // x0
v4 = (int *)operator new(0x28u);
*((_OWORD *)v4 + 1) = *(_OWORD *)a2;
*((_QWORD *)v4 + 4) = *(_QWORD *)(a2 + 16);
v5 = v4[4];
*(_QWORD *)v4 = 0;
*((_QWORD *)v4 + 1) = v5;
v6 = (_QWORD *)sub_10001B650((__int64)a1, v5, v4 + 4);
sub_10001B7AC(a1, v4, v6);
return v4;
}