//
// sub_10001A144 from 0x10001a144 to 0x10001a1cc (136 bytes)
//
// 5 xrefs:
// > GJEffectManager::registerRotationCommand @ 0x100012b14
// > GJEffectManager::registerRotationCommand @ 0x100012b60
// > GJBaseGameLayer::gameEventTriggered @ 0x1001e46cc
// > GJBaseGameLayer::activateEventTrigger @ 0x1001fb0f0
// > GJBaseGameLayer::activateEventTrigger @ 0x1001fb190
//
// 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 *__fastcall sub_10001A144(__int64 **a1, __int64 a2, __int64 a3, __int64 **a4)
{
_QWORD **v6; // x0
_QWORD *v7; // x19
_QWORD *v8; // x21
__int64 v9; // x8
__int64 v11; // [xsp+8h] [xbp-28h] BYREF
v6 = (_QWORD **)sub_10001A1CC(a1, &v11, a2);
v7 = *v6;
if ( !*v6 )
{
v8 = v6;
v7 = operator new(0x40u);
v9 = **a4;
v7[6] = 0;
v7[7] = 0;
v7[4] = v9;
v7[5] = 0;
sub_10000A0F0(a1, v11, v8, v7);
}
return v7;
}