//
// GJEffectManager::getMoveCommandObject from 0x5c4270 to 0x5c42a0 (48 bytes)
//
// 3 xrefs:
// > GJEffectManager::getMoveCommandNode @ 0x5c8f7a
// > GJEffectManager::prepareMoveActions @ 0x5cdcfc
// > GJEffectManager::prepareMoveActions @ 0x5cdda8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:53:51 +0000
//
cocos2d::CCObject *__fastcall GJEffectManager::getMoveCommandObject(GJEffectManager *this)
{
int v1; // r3
int v2; // r3
cocos2d::CCObject *v3; // r4
cocos2d::CCObject *v4; // t1
int v5; // r2
v1 = *((_DWORD *)this + 178);
if ( *((_DWORD *)this + 177) == v1 )
{
v3 = CCMoveCNode::create(this);
cocos2d::CCObject::retain(v3);
}
else
{
v4 = *(cocos2d::CCObject **)(v1 - 4);
v2 = v1 - 4;
v3 = v4;
while ( 1 )
{
v5 = *((_DWORD *)this + 178);
if ( v2 == v5 )
break;
*((_DWORD *)this + 178) = v5 - 4;
}
}
return v3;
}