//
// sub_1001508DC from 0x1001508dc to 0x100150948 (108 bytes)
//
// 1 xrefs:
// > sub_1001507C4 @ 0x100150884
//
// 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:59:39 +0000
//
int *__fastcall sub_1001508DC(_QWORD *a1, __int64 a2)
{
int *v4; // x19
__int128 v5; // q1
unsigned __int64 v6; // x1
_QWORD *v7; // x0
v4 = (int *)operator new(0x38u);
v5 = *(_OWORD *)(a2 + 16);
*((_OWORD *)v4 + 1) = *(_OWORD *)a2;
*((_OWORD *)v4 + 2) = v5;
*((_QWORD *)v4 + 6) = *(_QWORD *)(a2 + 32);
v6 = v4[4];
*(_QWORD *)v4 = 0;
*((_QWORD *)v4 + 1) = v6;
v7 = (_QWORD *)sub_10001B650((__int64)a1, v6, v4 + 4);
sub_10001B7AC(a1, v4, v7);
return v4;
}