//
// GJEffectManager::getMoveCommandObject from 0x49ac08 to 0x49ac2e (38 bytes)
//
// 3 xrefs:
// > GJEffectManager::getMoveCommandNode @ 0x49cd54
// > GJEffectManager::prepareMoveActions @ 0x4a06b0
// > GJEffectManager::prepareMoveActions @ 0x4a0760
//
// 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 *GJEffectManager::getMoveCommandObject(GJEffectManager *a1)
{
cocos2d::CCObject **m_finish; // r3
CCMoveCNode *v2; // r4
m_finish = a1->m_unkVector548.m_finish;
if ( a1->m_unkVector548.m_start == m_finish )
{
v2 = CCMoveCNode::create();
cocos2d::CCObject::retain(v2);
}
else
{
v2 = (CCMoveCNode *)*(m_finish - 1);
a1->m_unkVector548.m_finish = m_finish - 1;
}
return v2;
}