//
// sub_10012439C from 0x10012439c to 0x100124400 (100 bytes)
//
// 2 xrefs:
// > sub_10012428C @ 0x100124344
// > sub_100126D28 @ 0x100126de0
//
// 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
//
int *__fastcall sub_10012439C(_QWORD *a1, _OWORD *a2)
{
int *v4; // x19
unsigned __int64 v5; // x1
_QWORD *v6; // x0
v4 = (int *)operator new(0x20u);
*((_OWORD *)v4 + 1) = *a2;
v5 = v4[4];
*(_QWORD *)v4 = 0;
*((_QWORD *)v4 + 1) = v5;
v6 = (_QWORD *)sub_10001ABFC((__int64)a1, v5, v4 + 4);
sub_10001AD58(a1, v4, v6);
return v4;
}