//
// sub_100141AEC from 0x100141aec to 0x100141b78 (140 bytes)
//
// 1 xrefs:
// > sub_1001418C4 @ 0x100141994
//
// 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
//
_QWORD *__usercall sub_100141AEC@(__int64 a1@, __int64 a2@, _DWORD **a3@, _QWORD *a4@)
{
char *v8; // x20
_QWORD *result; // x0
v8 = (char *)operator new(0x48u);
*a4 = v8;
a4[1] = a1;
a4[2] = 0;
*(_QWORD *)v8 = 0;
*((_QWORD *)v8 + 1) = a2;
*((_DWORD *)v8 + 4) = **a3;
*(_OWORD *)(v8 + 24) = 0u;
*(_OWORD *)(v8 + 56) = 0u;
*(_OWORD *)(v8 + 40) = 0u;
result = sub_100009900((_QWORD *)v8 + 5, "");
*((_WORD *)v8 + 32) = 0;
*((_BYTE *)a4 + 16) = 1;
return result;
}