{"type": "func", "start": 3819330, "end": 3819392, "name": "EditorUI::undoLastAction", "pseudocode": "// \n// EditorUI::undoLastAction from 0x3a4742 to 0x3a4780 (62 bytes)\n// \n// 1 xrefs:\n// > EditorUI::keyDown @ 0x3a7338\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 ( ((int (__fastcall *)(GJRotationControl *))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 0x3a4742 to 0x3a4780 (62 bytes)\n; \n; 1 xrefs:\n; > EditorUI::keyDown @ 0x3a7338\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\nPUSH            {R4,LR}                                                ; +0x0, 0x3a4742\nMOV             R4, R0                                                 ; +0x2, 0x3a4744\nLDR.W           R0, [R0,#0x340]; this                                  ; +0x4, 0x3a4746\nBL              _ZN16LevelEditorLayer14undoLastActionEv; LevelEditorLayer::undoLastAction(void) ; +0x8, 0x3a474a\nMOV             R0, R4; this                                           ; +0xc, 0x3a474e\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0xe, 0x3a4750\nLDR.W           R0, [R4,#0x204]                                        ; +0x12, 0x3a4754\nLDR             R3, [R0]                                               ; +0x16, 0x3a4758\nLDR.W           R3, [R3,#0xA8]                                         ; +0x18, 0x3a475a\nBLX             R3                                                     ; +0x1c, 0x3a475e\nCBZ             R0, loc_3A4770                                         ; +0x1e, 0x3a4760\nMOVS            R3, #1                                                 ; +0x20, 0x3a4762\nMOV             R0, R4; this                                           ; +0x22, 0x3a4764\nSTRB.W          R3, [R4,#0x210]                                        ; +0x24, 0x3a4766\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x28, 0x3a476a\nBL              _ZN8EditorUI23activateRotationControlEPN7cocos2d8CCObjectE; EditorUI::activateRotationControl(cocos2d::CCObject *) ; +0x2a, 0x3a476c\nMOV             R0, R4; this                                           ; +0x2e, 0x3a4770\nBL              _ZN8EditorUI20tryUpdateTimeMarkersEv; EditorUI::tryUpdateTimeMarkers(void) ; +0x30, 0x3a4772\nMOV             R0, R4; this                                           ; +0x34, 0x3a4776\nPOP.W           {R4,LR}                                                ; +0x36, 0x3a4778\nB.W             _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x3a, 0x3a477c", "xrefs": ["EditorUI::keyDown @ 0x3a7338"], "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"}