//
// GJBaseGameLayer::moveObjectsSilent from 0x100115660 to 0x1001157aa (330 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerMoveCommand @ 0x10011550c
//
// This function is hookable on this platform (idp: pc, 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:24:33 +0000
//
__int64 __fastcall GJBaseGameLayer::moveObjectsSilent(_QWORD *a1, int a2, double a3, double a4)
{
int v4; // eax
__int64 v5; // r15
__int64 v6; // r12
unsigned int *v7; // rax
__int64 *v8; // r12
unsigned __int64 v9; // r13
__int64 v10; // r15
v4 = 9999;
if ( a2 < 9999 )
v4 = a2;
v5 = 0;
if ( v4 > 0 )
v5 = (unsigned int)v4;
v6 = *(_QWORD *)(a1[452] + 8 * v5);
if ( v6
|| (v6 = sub_1007FE900(a1),
cocos2d::CCDictionary::setObject_1(a1[449], v6, v5),
(*(_QWORD *)(a1[452] + 8 * v5) = v6) != 0) )
{
v7 = *(unsigned int **)(v6 + 56);
if ( *v7 )
{
v8 = *((__int64 **)v7 + 2);
v9 = (unsigned __int64)&v8[*v7 - 1];
do
{
v10 = *v8;
if ( !*v8 )
break;
if ( !*(_BYTE *)(v10 + 708) )
*(double *)(v10 + 944) = *(double *)(v10 + 944) + a3;
*(double *)(v10 + 952) = *(double *)(v10 + 952) + a4;
GameObject::dirtifyObjectRect(v10);
GameObject::dirtifyObjectPos(v10);
(*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 1368LL))(a1, v10);
*(_QWORD *)(v10 + 1224) = *(_QWORD *)(v10 + 944);
++v8;
}
while ( (unsigned __int64)v8 <= v9 );
}
}
return GJEffectManager::saveCompletedMove(a1[269], (unsigned int)a2, a3, a4);
}