// // GJBaseGameLayer::moveObjectsSilent from 0x474d88 to 0x474e34 (172 bytes) // // 1 xrefs: // > GJBaseGameLayer::triggerMoveCommand @ 0x481b82 // // 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 GJBaseGameLayer::moveObjectsSilent(GJBaseGameLayer *a1, int a2, double a3, double a4) { cocos2d::CCArray *Group; // r0 cocos2d::ccArray *data; // r3 cocos2d::CCObject **arr; // r6 cocos2d::CCObject **v10; // r5 GameObject *v11; // r4 GameObject *v12; // t1 float m_positionX; // s14 float m_positionY; // s14 Group = GJBaseGameLayer::getGroup(a1, a2); if ( Group ) { data = Group->data; if ( data->num ) { arr = data->arr; v10 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v10 ) { v12 = (GameObject *)*arr++; v11 = v12; if ( !v12 ) break; if ( !v11->m_tempOffsetXRelated ) v11->m_positionX = v11->m_positionX + a3; v11->m_positionY = v11->m_positionY + a4; GameObject::dirtifyObjectRect(v11); GameObject::dirtifyObjectPos(v11); a1->updateObjectSection(a1, v11); m_positionX = v11->m_positionX; v11->m_lastPosition.x = m_positionX; m_positionY = v11->m_positionY; v11->m_lastPosition.y = m_positionY; } } } GJEffectManager::saveCompletedMove(a1->m_effectManager, a2, a3, a4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source