//
// sub_100124BF4 from 0x100124bf4 to 0x100124c78 (132 bytes)
//
// 1 xrefs:
// > sub_100124B7C @ 0x100124b94
//
// 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
//
__int64 __usercall sub_100124BF4@(__int64 a1@, _QWORD *a2@, _QWORD *a3@)
{
_QWORD *v6; // x0
__int64 result; // x0
v6 = operator new(0x40u);
*a3 = v6;
a3[1] = a1;
a3[2] = 0;
v6[4] = *a2;
v6[5] = 0;
v6[6] = 0;
v6[7] = 0;
result = sub_100124C94(v6 + 5);
*((_BYTE *)a3 + 16) = 1;
return result;
}