//
// GJBaseGameLayer::processMoveActions from 0x9a6578 to 0x9a6690 (280 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processMoveActionsStep @ 0x9ebb68
// > ??> @ 0x5b138
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:58:10 +0000
//
__int64 **__fastcall GJBaseGameLayer::processMoveActions(GJEffectManager **this)
{
__int64 **result; // x0
__int64 *v3; // x23
__int64 *v4; // x20
__int64 v5; // x19
int v6; // w21
__int64 (__fastcall *v7)(__int64); // x1
int v8; // w0
cocos2d::CCObject *StaticGroup; // x1
float v10; // s0
float v11; // s1
int v12; // w0
GJEffectManager::processMoveCalculations(*(this + 269));
result = (__int64 **)*(this + 269);
v3 = result[189];
v4 = result[188];
if ( v4 != v3 )
{
while ( 1 )
{
v5 = *v4;
result = (__int64 **)*(unsigned __int8 *)(*v4 + 208);
if ( !*(_BYTE *)(*v4 + 208) )
break;
LABEL_12:
if ( v3 == ++v4 )
return result;
}
v6 = 1;
while ( 1 )
{
v7 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 64LL);
if ( v6 != 1 )
break;
v12 = v7(v5);
StaticGroup = GJBaseGameLayer::getStaticGroup((GJBaseGameLayer *)this, v12);
v10 = *(double *)(v5 + 56);
v11 = *(double *)(v5 + 64);
if ( StaticGroup )
{
LABEL_6:
result = (__int64 **)this;
if ( v11 != 0.0 || v10 != 0.0 || *(_BYTE *)(v5 + 120) )
result = (__int64 **)GJBaseGameLayer::moveObjects(this, StaticGroup, v10, v11);
LABEL_10:
if ( v6 == 2 )
goto LABEL_12;
++v6;
}
else
{
v6 = 2;
}
}
v8 = v7(v5);
result = (__int64 **)GJBaseGameLayer::getOptimizedGroup((GJBaseGameLayer *)this, v8);
StaticGroup = (cocos2d::CCObject *)result;
v10 = *(double *)(v5 + 144);
v11 = *(double *)(v5 + 152);
if ( !result )
goto LABEL_10;
goto LABEL_6;
}
return result;
}