{"type": "func", "start": 4295016592, "end": 4295016682, "name": "EditorUI::undoLastAction", "pseudocode": "// \n// EditorUI::undoLastAction from 0x10000c090 to 0x10000c0ea (90 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x100009e19\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 __fastcall EditorUI::undoLastAction(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  LevelEditorLayer::undoLastAction(a1->m_editorLayer);\n  EditorUI::updateButtons(a1);\n  if ( ((unsigned __int8 (__fastcall *)(GJRotationControl *, cocos2d::CCObject *))a1->m_rotationControl->isVisible)(\n         a1->m_rotationControl,\n         a2) )\n  {\n    a1->m_canActivateControls = 1;\n    EditorUI::activateRotationControl(a1, a2);\n  }\n  EditorUI::updateObjectInfoLabel(a1);\n  ((void (__fastcall *)(EditorUI *))a1->updateScaleControl)(a1);\n}", "assembly": "; \n; EditorUI::undoLastAction from 0x10000c090 to 0x10000c0ea (90 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x100009e19\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    rbp                                                            ; +0x0, 0x10000c090\nmov     rbp, rsp                                                       ; +0x1, 0x10000c091\npush    rbx                                                            ; +0x4, 0x10000c094\npush    rax                                                            ; +0x5, 0x10000c095\nmov     rbx, rdi                                                       ; +0x6, 0x10000c096\nmov     rdi, [rdi+4E8h]                                                ; +0x9, 0x10000c099\ncall    LevelEditorLayer__undoLastAction                               ; +0x10, 0x10000c0a0\nmov     rdi, rbx                                                       ; +0x15, 0x10000c0a5\ncall    EditorUI__updateButtons                                        ; +0x18, 0x10000c0a8\nmov     rdi, [rbx+2A0h]                                                ; +0x1d, 0x10000c0ad\nmov     rax, [rdi]                                                     ; +0x24, 0x10000c0b4\ncall    qword ptr [rax+150h]                                           ; +0x27, 0x10000c0b7\ntest    al, al                                                         ; +0x2d, 0x10000c0bd\njz      short loc_10000C0D0                                            ; +0x2f, 0x10000c0bf\nmov     byte ptr [rbx+2B0h], 1                                         ; +0x31, 0x10000c0c1\nmov     rdi, rbx                                                       ; +0x38, 0x10000c0c8\ncall    EditorUI__activateRotationControl                              ; +0x3b, 0x10000c0cb\nmov     rdi, rbx                                                       ; +0x40, 0x10000c0d0\ncall    EditorUI__updateObjectInfoLabel                                ; +0x43, 0x10000c0d3\nmov     rax, [rbx]                                                     ; +0x48, 0x10000c0d8\nmov     rdi, rbx                                                       ; +0x4b, 0x10000c0db\nadd     rsp, 8                                                         ; +0x4e, 0x10000c0de\npop     rbx                                                            ; +0x52, 0x10000c0e2\npop     rbp                                                            ; +0x53, 0x10000c0e3\njmp     qword ptr [rax+530h]                                           ; +0x54, 0x10000c0e4", "xrefs": ["EditorUI::init @ 0x100009e19"], "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"}