{"type": "func", "start": 7082336, "end": 7082440, "name": "EditorUI::undoLastAction", "pseudocode": "// \n// EditorUI::undoLastAction from 0x6c1160 to 0x6c11c8 (104 bytes)\n// \n// 4 xrefs:\n// > EditorUI::keyDown @ 0x6c5970\n// > <???> @ 0x9ec70\n// > EditorUI::init @ 0x6bc79c\n// > <???> @ 0x122d718\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::undoLastAction(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  LevelEditorLayer::undoLastAction(a1->m_editorLayer);\n  EditorUI::updateButtons(a1);\n  if ( a1->m_rotationControl->isVisible(a1->m_rotationControl) )\n  {\n    a1->m_canActivateControls = 1;\n    EditorUI::activateRotationControl(a1, nullptr);\n  }\n  EditorUI::tryUpdateTimeMarkers(a1);\n  EditorUI::updateSpecialUIElements(a1);\n}", "assembly": "; \n; EditorUI::undoLastAction from 0x6c1160 to 0x6c11c8 (104 bytes)\n; \n; 4 xrefs:\n; > EditorUI::keyDown @ 0x6c5970\n; > <???> @ 0x9ec70\n; > EditorUI::init @ 0x6bc79c\n; > <???> @ 0x122d718\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6c1160\nMOV             X29, SP                                                ; +0x4, 0x6c1164\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x6c1168\nMOV             X19, X0                                                ; +0xc, 0x6c116c\nLDR             X0, [X0,#0x4F8]; this                                  ; +0x10, 0x6c1170\nBL              _ZN16LevelEditorLayer14undoLastActionEv; LevelEditorLayer::undoLastAction(void) ; +0x14, 0x6c1174\nMOV             X0, X19; this                                          ; +0x18, 0x6c1178\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x1c, 0x6c117c\nLDR             X1, [X19,#0x2B0]                                       ; +0x20, 0x6c1180\nMOV             X0, X1                                                 ; +0x24, 0x6c1184\nLDR             X1, [X1]                                               ; +0x28, 0x6c1188\nLDR             X1, [X1,#0x150]                                        ; +0x2c, 0x6c118c\nBLR             X1                                                     ; +0x30, 0x6c1190\nUXTB            W0, W0                                                 ; +0x34, 0x6c1194\nCBZ             W0, loc_6C11B0                                         ; +0x38, 0x6c1198\nMOV             W1, #1                                                 ; +0x3c, 0x6c119c\nMOV             X0, X19; this                                          ; +0x40, 0x6c11a0\nSTRB            W1, [X19,#0x2C0]                                       ; +0x44, 0x6c11a4\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x48, 0x6c11a8\nBL              _ZN8EditorUI23activateRotationControlEPN7cocos2d8CCObjectE; EditorUI::activateRotationControl(cocos2d::CCObject *) ; +0x4c, 0x6c11ac\nMOV             X0, X19; this                                          ; +0x50, 0x6c11b0\nBL              _ZN8EditorUI20tryUpdateTimeMarkersEv; EditorUI::tryUpdateTimeMarkers(void) ; +0x54, 0x6c11b4\nMOV             X0, X19; this                                          ; +0x58, 0x6c11b8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x6c11bc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x6c11c0\nB               _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x64, 0x6c11c4", "xrefs": ["EditorUI::keyDown @ 0x6c5970", "<???> @ 0x9ec70", "EditorUI::init @ 0x6bc79c", "<???> @ 0x122d718"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}