{"type": "func", "start": 8199852, "end": 8199960, "name": "EditorUI::undoLastAction", "pseudocode": "// \n// EditorUI::undoLastAction from 0x7d1eac to 0x7d1f18 (108 bytes)\n// \n// 4 xrefs:\n// > EditorUI::handleEditorAction @ 0xbd8410\n// > <???> @ 0xd1008\n// > EditorUI::init @ 0x7cf754\n// > <???> @ 0x15462d0\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 12:54:16 +0000\n// \n\n__int64 __fastcall EditorUI::undoLastAction(cocos2d::CCArray ***this, cocos2d::CCObject *a2)\n{\n  EditorSFXManager *v3; // x0\n\n  v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);\n  EditorSFXManager::playAction(v3, 180);\n  LevelEditorLayer::undoLastAction(*(this + 180));\n  EditorUI::updateButtons((EditorUI *)this);\n  if ( (*((unsigned __int8 (__fastcall **)(_QWORD))**(this + 95) + 44))(*(this + 95)) )\n  {\n    *((_BYTE *)this + 776) = 1;\n    EditorUI::activateRotationControl((EditorUI *)this, nullptr);\n  }\n  return EditorUI::updateSpecialUIElements((cocos2d::CCArray **)this);\n}", "assembly": "; \n; EditorUI::undoLastAction from 0x7d1eac to 0x7d1f18 (108 bytes)\n; \n; 4 xrefs:\n; > EditorUI::handleEditorAction @ 0xbd8410\n; > <???> @ 0xd1008\n; > EditorUI::init @ 0x7cf754\n; > <???> @ 0x15462d0\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 12:54:16 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7d1eac\nMOV             X29, SP                                                ; +0x4, 0x7d1eb0\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x7d1eb4\nMOV             X19, X0                                                ; +0xc, 0x7d1eb8\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x10, 0x7d1ebc\nMOV             W1, #0xB4; int                                         ; +0x14, 0x7d1ec0\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0x18, 0x7d1ec4\nLDR             X0, [X19,#0x5A0]; this                                 ; +0x1c, 0x7d1ec8\nBL              _ZN16LevelEditorLayer14undoLastActionEv; LevelEditorLayer::undoLastAction(void) ; +0x20, 0x7d1ecc\nMOV             X0, X19; this                                          ; +0x24, 0x7d1ed0\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x28, 0x7d1ed4\nLDR             X1, [X19,#0x2F8]                                       ; +0x2c, 0x7d1ed8\nMOV             X0, X1                                                 ; +0x30, 0x7d1edc\nLDR             X1, [X1]                                               ; +0x34, 0x7d1ee0\nLDR             X1, [X1,#0x160]                                        ; +0x38, 0x7d1ee4\nBLR             X1                                                     ; +0x3c, 0x7d1ee8\nUXTB            W0, W0                                                 ; +0x40, 0x7d1eec\nCBZ             W0, loc_7D1F08                                         ; +0x44, 0x7d1ef0\nMOV             W1, #1                                                 ; +0x48, 0x7d1ef4\nMOV             X0, X19; this                                          ; +0x4c, 0x7d1ef8\nSTRB            W1, [X19,#0x308]                                       ; +0x50, 0x7d1efc\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x54, 0x7d1f00\nBL              _ZN8EditorUI23activateRotationControlEPN7cocos2d8CCObjectE; EditorUI::activateRotationControl(cocos2d::CCObject *) ; +0x58, 0x7d1f04\nMOV             X0, X19; this                                          ; +0x5c, 0x7d1f08\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x60, 0x7d1f0c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x64, 0x7d1f10\nB               _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x68, 0x7d1f14", "xrefs": ["EditorUI::handleEditorAction @ 0xbd8410", "<???> @ 0xd1008", "EditorUI::init @ 0x7cf754", "<???> @ 0x15462d0"], "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"}