//
// GJBaseGameLayer::processMoveActions from 0x594776 to 0x594830 (186 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processMoveActionsStep @ 0x5bc888
//
// 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:08 +0000
//
cocos2d::CCArray *__fastcall GJBaseGameLayer::processMoveActions(GJEffectManager **this)
{
cocos2d::CCArray *result; // r0
int v3; // r3
int *v4; // r9
int *v5; // r7
int v6; // r4
int v7; // t1
int v8; // r5
bool v9; // r8
int v10; // r0
double v11; // d6
float v12; // s12
double v13; // d7
float v14; // s14
result = (cocos2d::CCArray *)GJEffectManager::processMoveCalculations(*(this + 381));
v3 = (int)*(this + 381);
v4 = *(int **)(v3 + 860);
v5 = *(int **)(v3 + 856);
while ( v5 != v4 )
{
v7 = *v5++;
v6 = v7;
v8 = *(unsigned __int8 *)(v7 + 204);
if ( !*(_BYTE *)(v7 + 204) )
{
v9 = *(_DWORD *)(v6 + 24) == 13;
while ( 1 )
{
v10 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 32))(v6);
if ( v8 )
{
result = GJBaseGameLayer::getOptimizedGroup((GJBaseGameLayer *)this, v10);
v11 = *(double *)(v6 + 144);
}
else
{
result = GJBaseGameLayer::getStaticGroup((GJBaseGameLayer *)this, v10);
v11 = *(double *)(v6 + 56);
}
v12 = v11;
v13 = v8 ? *(double *)(v6 + 152) : *(double *)(v6 + 64);
v14 = v13;
if ( result && (v12 != 0.0 || v14 != 0.0 || *(_BYTE *)(v6 + 120)) )
result = (cocos2d::CCArray *)GJBaseGameLayer::moveObjects((int)this, result, v12, v14, v9);
if ( v8 == 1 )
break;
v8 = 1;
}
}
}
return result;
}