// // EditorUI::EditorUI from 0x100054440 to 0x100054797 (855 bytes) // // 1 xrefs: // > EditorUI::create @ 0x10000902a // // 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 // EditorUI *__fastcall EditorUI::EditorUI(EditorUI *a1) { cocos2d::CCLayer::CCLayer(a1); a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EditorUI_vtbl *)off_1008B0108; a1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008B0680; a1->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1008B06F0; a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1008B0708; a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1008B0728; a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1008B0748; a1->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_1008B0770; a1->ColorSelectDelegate::__vftable = (ColorSelectDelegate_vtbl *)&off_1008B0788; a1->GJRotationControlDelegate::__vftable = (GJRotationControlDelegate_vtbl *)off_1008B07A0; a1->GJScaleControlDelegate::__vftable = (GJScaleControlDelegate_vtbl *)off_1008B07C8; a1->GJTransformControlDelegate::__vftable = (GJTransformControlDelegate_vtbl *)off_1008B0810; a1->MusicDownloadDelegate::__vftable = (MusicDownloadDelegate_vtbl *)off_1008B08A0; a1->SetIDPopupDelegate::__vftable = (SetIDPopupDelegate_vtbl *)&off_1008B0900; a1->m_objectEditorStates.__table_.__bucket_list_ = 0; *(_OWORD *)&a1->m_objectEditorStates.__table_.__p1_.__value_.__next_ = 0; a1->m_objectEditorStates.__table_.__p3_.__value_ = 1.0; a1->m_transformState.m_transformRotation = 0.0; a1->m_transformState.m_transformReset = 0; sub_10028CC30(&a1->m_transformState.m_transformPosition); sub_10028CC30(&a1->m_transformState.m_transformSkewX); sub_10028CC30(&a1->m_transformState.m_transformSkewY); *(_QWORD *)&a1->m_transformState.m_scaleX = 0x3F8000003F800000LL; *(_OWORD *)&a1->m_transformState.m_angleX = 0; *(_OWORD *)&a1->m_transformState.m_transformRotationX = 0; *(_QWORD *)&a1->m_transformState.m_transformScaleX = 0x3F8000003F800000LL; a1->m_isPlayingMusic = 0; a1->m_customTabBar = nullptr; a1->m_alertShown = 0; *(_QWORD *)&a1->m_gridSize = -3188719616LL; a1->m_playerTouchID2 = -1; a1->m_playbackActive = 0; *(_OWORD *)&a1->m_playbackStartWarp = 0; *(UndoObject **)((char *)&a1->m_undoObject + 5) = nullptr; *(_OWORD *)&a1->m_rotationTouchID = -1; *(_OWORD *)&a1->m_objectInfoLabel = 0; sub_10028CC30(&a1->m_pivotPoint); a1->m_canActivateControls = 0; *(_OWORD *)&a1->m_scaleControl = 0; *(_OWORD *)&a1->m_editButtonDict = 0; *(_OWORD *)&a1->m_editButtonBar = 0; *(_OWORD *)((char *)&a1->m_positionSlider + 6) = 0; *(_DWORD *)&a1->m_freeMoveEnabled = 0; *(_WORD *)&a1->m_linkControlsDisabled = 0; sub_10028CC30(&a1->m_createPosition); sub_10028CC30(&a1->m_snapPosition); a1->m_deleteGroupSprite = nullptr; a1->m_createButtonArray = nullptr; a1->m_selectedMode = 0; a1->m_editorLayer = nullptr; *(_OWORD *)&a1->m_selectedObjects = 0; *(_OWORD *)&a1->m_customTabControls = 0; *(_OWORD *)&a1->m_buildModeBtn = 0; a1->m_swipeBtn = nullptr; *(_OWORD *)&a1->m_deselectBtn = 0; a1->m_rotateBtn = nullptr; *(_OWORD *)&a1->m_linkBtn = 0; *(_OWORD *)&a1->m_enableLinkBtn = 0; *(_OWORD *)&a1->m_redoBtn = 0; *(_OWORD *)&a1->m_editSpecialBtn = 0; a1->m_copyPasteBtn = nullptr; *(_OWORD *)&a1->m_unk4b8 = 0; sub_10028CC30(&a1->m_swipeStart); sub_10028CC30(&a1->m_swipeEnd); sub_10028CC30(&a1->m_swipePosition); sub_10028CC30(&a1->m_lastTouchPoint); sub_10028CC30(&a1->m_cameraTest); sub_10028CC30(&a1->m_clickAtPosition); a1->m_unk540 = nullptr; *(_QWORD *)&a1->m_selectedTab = &_mh_execute_header; *(_OWORD *)&a1->m_selectedObject = 0; *(_DWORD *)((char *)&a1->m_snapObject + 7) = 0; a1->m_pressedSpace = 0; *(_OWORD *)&a1->m_colorOverlay = 0; *(_OWORD *)&a1->m_keyTime = 0; a1->m_swipeModeTriggered = 0; a1->m_editorZoom = 1.0; *(_WORD *)&a1->m_isPaused = 0; return (EditorUI *)&_mh_execute_header; }