{"type": "func", "start": 4298929252, "end": 4298929352, "name": "EditorUI::undoLastAction", "pseudocode": "// \n// EditorUI::undoLastAction from 0x1003c7464 to 0x1003c74c8 (100 bytes)\n// \n// 2 xrefs:\n// > EditorUI::keyDown @ 0x1003f9bb8\n// > EditorUI::init @ 0x1003c57e8\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  cocos2d::CCObject *v3; // x1\n\n  LevelEditorLayer::undoLastAction(a1->m_editorLayer);\n  EditorUI::updateButtons(a1);\n  if ( ((unsigned int (__fastcall *)(GJRotationControl *))a1->m_rotationControl->isVisible)(a1->m_rotationControl) )\n  {\n    a1->m_canActivateControls = 1;\n    EditorUI::activateRotationControl(a1, v3);\n  }\n  EditorUI::updateObjectInfoLabel(a1);\n  ((void (__fastcall *)(EditorUI *))a1->updateScaleControl)(a1);\n}", "assembly": "; \n; EditorUI::undoLastAction from 0x1003c7464 to 0x1003c74c8 (100 bytes)\n; \n; 2 xrefs:\n; > EditorUI::keyDown @ 0x1003f9bb8\n; > EditorUI::init @ 0x1003c57e8\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003c7464\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003c7468\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003c746c\nMOV             X19, X0                                                ; +0xc, 0x1003c7470\nLDR             X0, [X0,#0x4E8]                                        ; +0x10, 0x1003c7474\nBL              LevelEditorLayer__undoLastAction                       ; +0x14, 0x1003c7478\nMOV             X0, X19                                                ; +0x18, 0x1003c747c\nBL              EditorUI__updateButtons                                ; +0x1c, 0x1003c7480\nLDR             X0, [X19,#0x2A0]                                       ; +0x20, 0x1003c7484\nLDR             X8, [X0]                                               ; +0x24, 0x1003c7488\nLDR             X8, [X8,#0x150]                                        ; +0x28, 0x1003c748c\nBLR             X8                                                     ; +0x2c, 0x1003c7490\nCBZ             W0, loc_1003C74A8                                      ; +0x30, 0x1003c7494\nMOV             W8, #1                                                 ; +0x34, 0x1003c7498\nSTRB            W8, [X19,#0x2B0]                                       ; +0x38, 0x1003c749c\nMOV             X0, X19                                                ; +0x3c, 0x1003c74a0\nBL              EditorUI__activateRotationControl                      ; +0x40, 0x1003c74a4\nMOV             X0, X19                                                ; +0x44, 0x1003c74a8\nBL              EditorUI__updateObjectInfoLabel                        ; +0x48, 0x1003c74ac\nLDR             X8, [X19]                                              ; +0x4c, 0x1003c74b0\nLDR             X1, [X8,#0x530]                                        ; +0x50, 0x1003c74b4\nMOV             X0, X19                                                ; +0x54, 0x1003c74b8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x1003c74bc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x1003c74c0\nBR              X1                                                     ; +0x60, 0x1003c74c4", "xrefs": ["EditorUI::keyDown @ 0x1003f9bb8", "EditorUI::init @ 0x1003c57e8"], "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"}