// // EditorUI::moveObject from 0x68ef28 to 0x68f050 (296 bytes) // // 15 xrefs: // > EditorUI::repositionObjectsToCenter @ 0x68fc20 // > EditorUI::rotateObjects @ 0x68fdb8 // > EditorUI::transformObject @ 0x6936cc // > EditorUI::flipObjectsX @ 0x693cac // > EditorUI::flipObjectsY @ 0x693e68 // > EditorUI::alignObjects @ 0x6b6060 // > EditorUI::alignObjects @ 0x6b6160 // > EditorUI::scaleObjects @ 0x6b7b98 // > EditorUI::transformObjects @ 0x6b8218 // > EditorUI::moveObjectCall @ 0x6b93fc // > EditorUI::moveObjectCall @ 0x6b94dc // > EditorUI::ccTouchMoved @ 0x6c19a4 // > EditorUI::ccTouchMoved @ 0x6c1cb0 // > EditorUI::ccTouchEnded @ 0x6c2f0c // > @ 0x765a8 // // 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 // // local variable allocation has failed, the output may be wrong! void EditorUI::moveObject(EditorUI *a1, GameObject *a2, cocos2d::CCPoint a3) { __int64 v3; // x2 __int64 v6; // x0 _BOOL4 isSpeedObject; // w22 GameObject *v8; // x1 __int64 v9; // [xsp+48h] [xbp+48h] _BYTE v10[8]; // [xsp+58h] [xbp+58h] BYREF __int64 v11; // [xsp+60h] [xbp+60h] BYREF cocos2d::CCPoint LimitedPosition; // 0:kr00_8.8 cocos2d::CCPoint v13; // 0:s0.4,4:s1.4 v9 = v3; if ( a2 ) { v6 = ((__int64 (__fastcall *)(GameObject *, long double, long double))a2->getPosition)( a2, *(long double *)&a3.x, *(long double *)&a3.y); cocos2d::CCPoint::operator+(&v11, v6, v9); LimitedPosition = EditorUI::getLimitedPosition(a1, v13); ((void (__fastcall *)(GameObject *, _BYTE *, float, float))a2->setPosition)( a2, v10, LimitedPosition.x, LimitedPosition.y); a2->updateStartValues(a2); GJBaseGameLayer::reorderObjectSection(a1->m_editorLayer, a2); isSpeedObject = GameObject::isSpeedObject(a2); if ( a2->m_objectID == 747 ) { v8 = *(GameObject **)&a2[1].m_sQuad.bl.vertices.y; if ( v8 ) GJBaseGameLayer::reorderObjectSection(a1->m_editorLayer, v8); } LevelEditorLayer::objectMoved(a1->m_editorLayer, a2); if ( isSpeedObject || a2->canReverse(a2) ) a1->m_speedObjectsUpdated = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source