//
// GJBaseGameLayer::moveObjectsSilent from 0x1001eea84 to 0x1001eeb58 (212 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerMoveCommand @ 0x1001ee948
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::moveObjectsSilent(GJBaseGameLayer *a1, int a2, double a3, double a4)
{
cocos2d::CCArray *Group; // x0
cocos2d::ccArray *data; // x9
__int64 num; // x8
cocos2d::CCObject **arr; // x22
unsigned __int64 v12; // x23
cocos2d::CCObject *v13; // x21
Group = GJBaseGameLayer::getGroup(a1, a2);
if ( Group )
{
data = Group->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
v12 = (unsigned __int64)&arr[num - 1];
do
{
v13 = *arr;
if ( !*arr )
break;
if ( (v13[12].m_uUnknown & 1) == 0 )
*(double *)&v13[16].m_uOrderOfArrival = *(double *)&v13[16].m_uOrderOfArrival + a3;
*(double *)&v13[17].__vftable = *(double *)&v13[17].__vftable + a4;
GameObject::dirtifyObjectRect((GameObject *)v13);
GameObject::dirtifyObjectPos((GameObject *)v13);
((void (__fastcall *)(GJBaseGameLayer *, cocos2d::CCObject *))a1->updateObjectSection)(a1, v13);
*(float32x2_t *)&v13[21].m_uOrderOfArrival = vcvt_f32_f64(*(float64x2_t *)&v13[16].m_uOrderOfArrival);
++arr;
}
while ( (unsigned __int64)arr <= v12 );
}
}
GJEffectManager::saveCompletedMove(a1->m_effectManager, a2, a3, a4);
}