//
// GJEffectManager::getMoveCommandNode from 0x100011458 to 0x1000114c0 (104 bytes)
//
// 4 xrefs:
// > GJEffectManager::createKeyframeCommand @ 0x100010bf0
// > GJEffectManager::prepareMoveActions @ 0x1000136e0
// > GJEffectManager::prepareMoveActions @ 0x1000137ac
// > GJBaseGameLayer::processDynamicObjectActions @ 0x1001f7220
//
// 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
//
CCMoveCNode *__fastcall GJEffectManager::getMoveCommandNode(GJEffectManager *a1, GroupCommandObject2 *a2)
{
GroupCommandObject2 **end; // x8
GroupCommandObject2 *v4; // x20
CCMoveCNode *v6; // [xsp+8h] [xbp-18h] BYREF
end = a1->m_unkVector530.__end_;
if ( a1->m_unkVector530.__begin_ == end )
{
v4 = (GroupCommandObject2 *)operator new(0x208u);
j_GroupCommandObject2::GroupCommandObject2(v4);
v6 = (CCMoveCNode *)v4;
}
else
{
v6 = (CCMoveCNode *)*(end - 1);
a1->m_unkVector530.__end_ = end - 1;
}
sub_1000115B8(&a1->m_unkVector518, &v6);
return v6;
}