// // EditorUI::moveObject from 0x1003eef68 to 0x1003ef050 (232 bytes) // // 14 xrefs: // > EditorUI::repositionObjectsToCenter @ 0x1003eae74 // > EditorUI::rotateObjects @ 0x1003ed4d0 // > EditorUI::scaleObjects @ 0x1003efbb8 // > EditorUI::transformObjects @ 0x1003f04f4 // > EditorUI::flipObjectsY @ 0x1003f2088 // > EditorUI::flipObjectsX @ 0x1003f2210 // > EditorUI::moveObjectCall_1 @ 0x1003f5fb0 // > EditorUI::moveObjectCall_1 @ 0x1003f6004 // > EditorUI::transformObject @ 0x1003f74e0 // > EditorUI::alignObjects @ 0x1003f7cf0 // > EditorUI::alignObjects @ 0x1003f7d28 // > EditorUI::ccTouchMoved @ 0x1003f8f28 // > EditorUI::ccTouchMoved @ 0x1003f8fb4 // > EditorUI::ccTouchEnded @ 0x1003f93a8 // // 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 __fastcall EditorUI::moveObject(EditorUI *a1, GameObject *a2, cocos2d::CCPoint a3) { float32x2_t *v3; // x2 float32x2_t *v4; // x21 float32x2_t *v7; // x0 bool isSpeedObject; // w21 GameObject *v9; // x1 float32x2_t v10; // [xsp+0h] [xbp-30h] BYREF _BYTE v11[8]; // [xsp+8h] [xbp-28h] BYREF cocos2d::CCPoint LimitedPosition; // 0:kr00_8.8 cocos2d::CCPoint v13; // 0:s0.4,4:s1.4 if ( a2 ) { v4 = v3; v7 = (float32x2_t *)((__int64 (__fastcall *)(GameObject *, __n128, __n128))a2->getPosition)( a2, *(__n128 *)&a3.x, *(__n128 *)&a3.y); v13.x = sub_1000229DC(v7, v4, &v10).f32[0]; LimitedPosition = EditorUI::getLimitedPosition(a1, v13); ((void (__fastcall *)(GameObject *, _BYTE *, float, float))a2->setPosition)( a2, v11, LimitedPosition.x, LimitedPosition.y); ((void (__fastcall *)(GameObject *))a2->updateStartValues)(a2); GJBaseGameLayer::reorderObjectSection(a1->m_editorLayer, a2); isSpeedObject = GameObject::isSpeedObject(a2); if ( a2->m_objectID == 747 ) { v9 = *(GameObject **)&a2[1].m_sQuad.bl.vertices.y; if ( v9 ) GJBaseGameLayer::reorderObjectSection(a1->m_editorLayer, v9); } LevelEditorLayer::objectMoved(a1->m_editorLayer, a2); if ( isSpeedObject || ((unsigned int (__fastcall *)(GameObject *))a2->canReverse)(a2) ) a1->m_speedObjectsUpdated = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source