{"type": "func", "start": 4299624372, "end": 4299624472, "name": "EditorUI::redoLastAction", "pseudocode": "// \n// EditorUI::redoLastAction from 0x100470fb4 to 0x100471018 (100 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x1001630a0\n// > EditorUI::init @ 0x10046f108\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:05:38 +0000\n// \n\n__int64 __fastcall EditorUI::redoLastAction(__int64 a1, __n128 a2)\n{\n  __int64 v3; // x0\n  __n128 v4; // q0\n\n  v3 = EditorSFXManager::sharedState(a2);\n  EditorSFXManager::playAction_1(v3, 181);\n  LevelEditorLayer::redoLastAction(*(_QWORD *)(a1 + 1440));\n  EditorUI::updateButtons(a1);\n  if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)) )\n  {\n    *(_BYTE *)(a1 + 776) = 1;\n    EditorUI::activateRotationControl(a1);\n  }\n  return EditorUI::updateSpecialUIElements(a1, v4);\n}", "assembly": "; \n; EditorUI::redoLastAction from 0x100470fb4 to 0x100471018 (100 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x1001630a0\n; > EditorUI::init @ 0x10046f108\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:05:38 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100470fb4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100470fb8\nADD             X29, SP, #0x10                                         ; +0x8, 0x100470fbc\nMOV             X19, X0                                                ; +0xc, 0x100470fc0\nBL              EditorSFXManager__sharedState                          ; +0x10, 0x100470fc4\nMOV             W1, #0xB5                                              ; +0x14, 0x100470fc8\nBL              EditorSFXManager__playAction_1                         ; +0x18, 0x100470fcc\nLDR             X0, [X19,#0x5A0]                                       ; +0x1c, 0x100470fd0\nBL              LevelEditorLayer__redoLastAction                       ; +0x20, 0x100470fd4\nMOV             X0, X19                                                ; +0x24, 0x100470fd8\nBL              EditorUI__updateButtons                                ; +0x28, 0x100470fdc\nLDR             X0, [X19,#0x2F8]                                       ; +0x2c, 0x100470fe0\nLDR             X8, [X0]                                               ; +0x30, 0x100470fe4\nLDR             X8, [X8,#0x160]                                        ; +0x34, 0x100470fe8\nBLR             X8                                                     ; +0x38, 0x100470fec\nCBZ             W0, loc_100471008                                      ; +0x3c, 0x100470ff0\nMOV             W8, #1                                                 ; +0x40, 0x100470ff4\nSTRB            W8, [X19,#0x308]                                       ; +0x44, 0x100470ff8\nMOV             X0, X19                                                ; +0x48, 0x100470ffc\nMOV             X1, #0                                                 ; +0x4c, 0x100471000\nBL              EditorUI__activateRotationControl                      ; +0x50, 0x100471004\nMOV             X0, X19                                                ; +0x54, 0x100471008\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x10047100c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x100471010\nB               EditorUI__updateSpecialUIElements                      ; +0x60, 0x100471014", "xrefs": ["EditorUI::handleEditorAction @ 0x1001630a0", "EditorUI::init @ 0x10046f108"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}