{"type": "func", "start": 4770150, "end": 4770216, "name": "EditorUI::redoLastAction", "pseudocode": "// \n// EditorUI::redoLastAction from 0x48c966 to 0x48c9a8 (66 bytes)\n// \n// 1 xrefs:\n// > EditorUI::handleEditorAction @ 0x6f19b4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:31 +0000\n// \n\nint __fastcall EditorUI::redoLastAction(cocos2d::CCArray ***this, cocos2d::CCObject *a2)\n{\n  EditorSFXManager *v3; // r0\n\n  v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);\n  EditorSFXManager::playAction(v3, 181);\n  LevelEditorLayer::redoLastAction(*(this + 236));\n  EditorUI::updateButtons((cocos2d::CCArray **)this);\n  if ( (*((int (__fastcall **)(_DWORD))**(this + 144) + 44))(*(this + 144)) )\n  {\n    *((_BYTE *)this + 588) = 1;\n    EditorUI::activateRotationControl((EditorUI *)this, nullptr);\n  }\n  return EditorUI::updateSpecialUIElements((cocos2d::CCArray **)this);\n}", "assembly": "; \n; EditorUI::redoLastAction from 0x48c966 to 0x48c9a8 (66 bytes)\n; \n; 1 xrefs:\n; > EditorUI::handleEditorAction @ 0x6f19b4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:31 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x48c966\nMOV             R4, R0                                                 ; +0x2, 0x48c968\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x4, 0x48c96a\nMOVS            R1, #0xB5; int                                         ; +0x8, 0x48c96e\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0xa, 0x48c970\nLDR.W           R0, [R4,#0x3B0]; this                                  ; +0xe, 0x48c974\nBL              _ZN16LevelEditorLayer14redoLastActionEv; LevelEditorLayer::redoLastAction(void) ; +0x12, 0x48c978\nMOV             R0, R4; this                                           ; +0x16, 0x48c97c\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x18, 0x48c97e\nLDR.W           R0, [R4,#0x240]                                        ; +0x1c, 0x48c982\nLDR             R3, [R0]                                               ; +0x20, 0x48c986\nLDR.W           R3, [R3,#0xB0]                                         ; +0x22, 0x48c988\nBLX             R3                                                     ; +0x26, 0x48c98c\nCBZ             R0, loc_48C99E                                         ; +0x28, 0x48c98e\nMOVS            R3, #1                                                 ; +0x2a, 0x48c990\nMOV             R0, R4; this                                           ; +0x2c, 0x48c992\nSTRB.W          R3, [R4,#0x24C]                                        ; +0x2e, 0x48c994\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x32, 0x48c998\nBL              _ZN8EditorUI23activateRotationControlEPN7cocos2d8CCObjectE; EditorUI::activateRotationControl(cocos2d::CCObject *) ; +0x34, 0x48c99a\nMOV             R0, R4; this                                           ; +0x38, 0x48c99e\nPOP.W           {R4,LR}                                                ; +0x3a, 0x48c9a0\nB.W             _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x3e, 0x48c9a4", "xrefs": ["EditorUI::handleEditorAction @ 0x6f19b4"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}