//
// GJBaseGameLayer::moveObjectsSilent from 0x594830 to 0x5948dc (172 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerMoveCommand @ 0x5a2286
//
// 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
//
int __fastcall GJBaseGameLayer::moveObjectsSilent(GJEffectManager **this, int a2, double a3, double a4)
{
cocos2d::CCObject *Group; // r0
_DWORD *v9; // r3
int *v10; // r6
int *v11; // r5
int v12; // r4
int v13; // t1
float v14; // s14
float v15; // s14
Group = GJBaseGameLayer::getGroup((GJBaseGameLayer *)this, a2);
if ( Group )
{
v9 = *((_DWORD **)Group + 13);
if ( *v9 )
{
v10 = (int *)v9[3];
v11 = &v10[*v9 - 1];
while ( v10 <= v11 )
{
v13 = *v10++;
v12 = v13;
if ( !v13 )
break;
if ( !*(_BYTE *)(v12 + 608) )
*(double *)(v12 + 808) = *(double *)(v12 + 808) + a3;
*(double *)(v12 + 816) = *(double *)(v12 + 816) + a4;
GameObject::dirtifyObjectRect(v12);
GameObject::dirtifyObjectPos(v12);
(*((void (__fastcall **)(GJEffectManager **, int))*this + 171))(this, v12);
v14 = *(double *)(v12 + 808);
*(float *)(v12 + 1060) = v14;
v15 = *(double *)(v12 + 816);
*(float *)(v12 + 1064) = v15;
}
}
}
return GJEffectManager::saveCompletedMove(*(this + 381), a2, a3, a4);
}