{"type": "func", "start": 4298929352, "end": 4298929452, "name": "EditorUI::redoLastAction", "pseudocode": "// \n// EditorUI::redoLastAction from 0x1003c74c8 to 0x1003c752c (100 bytes)\n// \n// 2 xrefs:\n// > EditorUI::keyDown @ 0x1003f9a10\n// > EditorUI::init @ 0x1003c5884\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::redoLastAction(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCObject *v3; // x1\n\n  LevelEditorLayer::redoLastAction(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::redoLastAction from 0x1003c74c8 to 0x1003c752c (100 bytes)\n; \n; 2 xrefs:\n; > EditorUI::keyDown @ 0x1003f9a10\n; > EditorUI::init @ 0x1003c5884\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, 0x1003c74c8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003c74cc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003c74d0\nMOV             X19, X0                                                ; +0xc, 0x1003c74d4\nLDR             X0, [X0,#0x4E8]                                        ; +0x10, 0x1003c74d8\nBL              LevelEditorLayer__redoLastAction                       ; +0x14, 0x1003c74dc\nMOV             X0, X19                                                ; +0x18, 0x1003c74e0\nBL              EditorUI__updateButtons                                ; +0x1c, 0x1003c74e4\nLDR             X0, [X19,#0x2A0]                                       ; +0x20, 0x1003c74e8\nLDR             X8, [X0]                                               ; +0x24, 0x1003c74ec\nLDR             X8, [X8,#0x150]                                        ; +0x28, 0x1003c74f0\nBLR             X8                                                     ; +0x2c, 0x1003c74f4\nCBZ             W0, loc_1003C750C                                      ; +0x30, 0x1003c74f8\nMOV             W8, #1                                                 ; +0x34, 0x1003c74fc\nSTRB            W8, [X19,#0x2B0]                                       ; +0x38, 0x1003c7500\nMOV             X0, X19                                                ; +0x3c, 0x1003c7504\nBL              EditorUI__activateRotationControl                      ; +0x40, 0x1003c7508\nMOV             X0, X19                                                ; +0x44, 0x1003c750c\nBL              EditorUI__updateObjectInfoLabel                        ; +0x48, 0x1003c7510\nLDR             X8, [X19]                                              ; +0x4c, 0x1003c7514\nLDR             X1, [X8,#0x530]                                        ; +0x50, 0x1003c7518\nMOV             X0, X19                                                ; +0x54, 0x1003c751c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x1003c7520\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x1003c7524\nBR              X1                                                     ; +0x60, 0x1003c7528", "xrefs": ["EditorUI::keyDown @ 0x1003f9a10", "EditorUI::init @ 0x1003c5884"], "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"}