// // EditorUI::moveObject from 0x381030 to 0x3810e2 (178 bytes) // // 14 xrefs: // > EditorUI::repositionObjectsToCenter @ 0x38192a // > EditorUI::rotateObjects @ 0x381bf2 // > EditorUI::transformObject @ 0x385a70 // > EditorUI::flipObjectsX @ 0x385b9c // > EditorUI::flipObjectsY @ 0x385cc4 // > EditorUI::alignObjects @ 0x39d52e // > EditorUI::alignObjects @ 0x39d544 // > EditorUI::scaleObjects @ 0x39e692 // > EditorUI::transformObjects @ 0x39eade // > EditorUI::moveObjectCall @ 0x39f7d4 // > EditorUI::moveObjectCall @ 0x39f804 // > EditorUI::ccTouchMoved @ 0x3a4c90 // > EditorUI::ccTouchMoved @ 0x3a4ca8 // > EditorUI::ccTouchEnded @ 0x3a59c6 // // 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 EditorUI::moveObject(EditorUI *a1, GameObject *a2, cocos2d::CCPoint a3) { float x; // r7 const cocos2d::CCPoint *v6; // r0 cocos2d::CCPoint v7; // r2 _BOOL4 isSpeedObject; // r7 float m_fTrVertexMod; // r1 cocos2d::CCPoint v10; // [sp+4h] [bp-14h] BYREF _BYTE v11[8]; // [sp+Ch] [bp-Ch] BYREF x = a3.x; if ( a2 ) { v6 = a2->getPosition(a2); cocos2d::CCPoint::operator+(v11, v6, LODWORD(x)); LODWORD(v7.x) = v11; EditorUI::getLimitedPosition(&v10, a1, v7); a2->setPosition(a2, &v10); a2->updateStartValues(a2); GJBaseGameLayer::reorderObjectSection(a1->m_editorLayer, a2); isSpeedObject = GameObject::isSpeedObject(a2); if ( a2->m_objectID == 747 ) { m_fTrVertexMod = a2[1].m_fTrVertexMod; if ( m_fTrVertexMod != 0.0 ) GJBaseGameLayer::reorderObjectSection(a1->m_editorLayer, (GameObject *)LODWORD(m_fTrVertexMod)); } LevelEditorLayer::objectMoved(a1->m_editorLayer, a2); if ( isSpeedObject || ((int (__fastcall *)(GameObject *))a2->canReverse)(a2) ) a1->m_speedObjectsUpdated = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source