//
// GJBaseGameLayer::processMoveActions from 0x474cce to 0x474d88 (186 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processMoveActionsStep @ 0x496cf0
//
// 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; // r3
CCMoveCNode **m_finish; // r9
CCMoveCNode **m_start; // r7
int v5; // r4
int v6; // t1
int v7; // r5
bool v8; // r8
int v9; // r0
cocos2d::CCArray *OptimizedGroup; // r0
double v11; // d6
float v12; // s12
double v13; // d7
float v14; // s14
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;
while ( m_start != m_finish )
{
v6 = (int)*m_start++;
v5 = v6;
v7 = *(unsigned __int8 *)(v6 + 204);
if ( !*(_BYTE *)(v6 + 204) )
{
v8 = *(_DWORD *)(v5 + 24) == 13;
while ( 1 )
{
v9 = (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 32))(v5);
if ( v7 )
{
OptimizedGroup = GJBaseGameLayer::getOptimizedGroup(a1, v9);
v11 = *(double *)(v5 + 144);
}
else
{
OptimizedGroup = GJBaseGameLayer::getStaticGroup(a1, v9);
v11 = *(double *)(v5 + 56);
}
v12 = v11;
v13 = v7 ? *(double *)(v5 + 152) : *(double *)(v5 + 64);
v14 = v13;
if ( OptimizedGroup && (v12 != 0.0 || v14 != 0.0 || *(_BYTE *)(v5 + 120)) )
GJBaseGameLayer::moveObjects(a1, OptimizedGroup, v12, v14, v8);
if ( v7 == 1 )
break;
v7 = 1;
}
}
}
}