//
// GJBaseGameLayer::processMoveActionsStep from 0x5bc820 to 0x5bc8d6 (182 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::loadUpToPosition @ 0x5bca94
// > GJBaseGameLayer::update @ 0x5bde70
//
// 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:43 +0000
//
void __fastcall GJBaseGameLayer::processMoveActionsStep(GJBaseGameLayer *this, float a2, int a3)
{
int v4; // r8
int v6; // r6
int MoveCommandNode; // r0
int v9; // r1
int v10; // r2
int i; // r5
int v12; // r3
GameObject *v13; // r0
v4 = *((_DWORD *)this + 315);
v6 = *((_DWORD *)this + 314);
*((_DWORD *)this + 558) = 0;
*((_DWORD *)this + 559) = 0;
*((_DWORD *)this + 560) = 0;
*((_DWORD *)this + 561) = 0;
while ( v6 != v4 )
{
MoveCommandNode = GJEffectManager::tryGetMoveCommandNode(
*((GJEffectManager **)this + 381),
*(_DWORD *)(*(_DWORD *)v6 + 1284));
if ( MoveCommandNode )
*(_BYTE *)(MoveCommandNode + 205) = 1;
v6 += 60;
}
GJBaseGameLayer::processDynamicObjectActions(this, 1, a2);
GJBaseGameLayer::processTransformActions(this, a3);
GJBaseGameLayer::processRotationActions(this);
GJBaseGameLayer::processDynamicObjectActions(this, 0, a2);
GJBaseGameLayer::processMoveActions((GJEffectManager **)this);
GJBaseGameLayer::processPlayerFollowActions((int)this, a2);
GJBaseGameLayer::processAdvancedFollowActions(this, a2);
GJBaseGameLayer::processFollowActions((int)this);
GJBaseGameLayer::processAreaActions(this, a2, a3);
if ( *((_BYTE *)this + 10612) )
{
for ( i = 0; i < *((_DWORD *)this + 559); ++i )
{
v12 = *((_DWORD *)this + 531);
v13 = *(GameObject **)(v12 + 4 * i);
GameObject::quickUpdatePosition(v13, v9, v10, v12);
}
}
}