//
// GJBaseGameLayer::processMoveActions from 0x863088 to 0x8631a0 (280 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processMoveActionsStep @ 0x89d258
// > ??> @ 0x3f348
//
// 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
//
void GJBaseGameLayer::processMoveActions(GJBaseGameLayer *a1)
{
GJEffectManager *m_effectManager; // x0
CCMoveCNode **m_finish; // x23
CCMoveCNode **m_start; // x20
CCMoveCNode *v5; // x19
int v6; // w21
bool v7; // w24
int (__fastcall *getTag)(const cocos2d::CCObject *__hidden); // x1
int v9; // w0
cocos2d::CCArray *StaticGroup; // x1
float m_unk038; // s0
float m_unk040; // s1
int v13; // w0
GJEffectManager::processMoveCalculations(a1->m_effectManager);
m_effectManager = a1->m_effectManager;
m_finish = m_effectManager->m_unkVector6c0.m_finish;
m_start = m_effectManager->m_unkVector6c0.m_start;
if ( m_finish != m_start )
{
while ( 1 )
{
v5 = *m_start;
if ( !(*m_start)->m_unk0d0 )
break;
LABEL_12:
if ( m_finish == ++m_start )
return;
}
v6 = 1;
v7 = v5->m_eObjType == GameObjectObjectType;
while ( 1 )
{
getTag = v5->getTag;
if ( v6 != 1 )
break;
v13 = getTag(v5);
StaticGroup = GJBaseGameLayer::getStaticGroup(a1, v13);
m_unk038 = v5->m_unk038;
m_unk040 = v5->m_unk040;
if ( StaticGroup )
{
LABEL_6:
if ( m_unk040 != 0.0 || m_unk038 != 0.0 || v5->m_unk078 )
GJBaseGameLayer::moveObjects(a1, StaticGroup, m_unk038, m_unk040, v7);
LABEL_10:
if ( v6 == 2 )
goto LABEL_12;
++v6;
}
else
{
v6 = 2;
}
}
v9 = getTag(v5);
StaticGroup = GJBaseGameLayer::getOptimizedGroup(a1, v9);
m_unk038 = v5->m_unk090;
m_unk040 = v5->m_unk098;
if ( !StaticGroup )
goto LABEL_10;
goto LABEL_6;
}
}