{"type": "func", "start": 5369829408, "end": 5369829510, "name": "EditorUI::undoLastAction", "pseudocode": "// \n// EditorUI::undoLastAction from 0x140111820 to 0x140111886 (102 bytes)\n// \n// 3 xrefs:\n// > EditorUI::keyDown @ 0x140125426\n// > EditorUI::init @ 0x1400e01b9\n// > <???> @ 0x1406c8fa0\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::handleAction(a1->m_editorLayer, 1, a1->m_editorLayer->m_undoObjects);\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::updateObjectInfoLabel(a1);\n  a1->updateScaleControl(&a1->GJScaleControlDelegate);\n}", "assembly": "; \n; EditorUI::undoLastAction from 0x140111820 to 0x140111886 (102 bytes)\n; \n; 3 xrefs:\n; > EditorUI::keyDown @ 0x140125426\n; > EditorUI::init @ 0x1400e01b9\n; > <???> @ 0x1406c8fa0\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    rbx                                                            ; +0x0, 0x140111820\nsub     rsp, 20h                                                       ; +0x2, 0x140111822\nmov     rbx, rcx                                                       ; +0x6, 0x140111826\nmov     dl, 1                                                          ; +0x9, 0x140111829\nmov     rcx, [rcx+500h]                                                ; +0xb, 0x14011182b\nmov     r8, [rcx+38A8h]                                                ; +0x12, 0x140111832\ncall    LevelEditorLayer__handleAction                                 ; +0x19, 0x140111839\nmov     rcx, rbx                                                       ; +0x1e, 0x14011183e\ncall    EditorUI__updateButtons                                        ; +0x21, 0x140111841\nmov     rcx, [rbx+2B8h]                                                ; +0x26, 0x140111846\nmov     rax, [rcx]                                                     ; +0x2d, 0x14011184d\ncall    qword ptr [rax+148h]                                           ; +0x30, 0x140111850\ntest    al, al                                                         ; +0x36, 0x140111856\njz      short loc_14011186B                                            ; +0x38, 0x140111858\nxor     edx, edx                                                       ; +0x3a, 0x14011185a\nmov     byte ptr [rbx+2C8h], 1                                         ; +0x3c, 0x14011185c\nmov     rcx, rbx                                                       ; +0x43, 0x140111863\ncall    EditorUI__activateRotationControl                              ; +0x46, 0x140111866\nmov     rcx, rbx                                                       ; +0x4b, 0x14011186b\ncall    EditorUI__updateObjectInfoLabel                                ; +0x4e, 0x14011186e\nlea     rcx, [rbx+1B0h]                                                ; +0x53, 0x140111873\nmov     rax, [rcx]                                                     ; +0x5a, 0x14011187a\nadd     rsp, 20h                                                       ; +0x5d, 0x14011187d\npop     rbx                                                            ; +0x61, 0x140111881\njmp     qword ptr [rax+28h]                                            ; +0x62, 0x140111882", "xrefs": ["EditorUI::keyDown @ 0x140125426", "EditorUI::init @ 0x1400e01b9", "<???> @ 0x1406c8fa0"], "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"}