{"type": "func", "start": 7284898, "end": 7284948, "name": "EditorUI::onCopyState", "pseudocode": "// \n// EditorUI::onCopyState from 0x6f28a2 to 0x6f28d4 (50 bytes)\n// \n// 1 xrefs:\n// > EditorUI::handleEditorAction @ 0x6f2404\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:57:36 +0000\n// \n\ncocos2d::CCArray **__fastcall EditorUI::onCopyState(cocos2d::CCArray **this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCArray **v2; // r4\n  EditorSFXManager *v3; // r0\n  GameManager *v4; // r0\n  int v5; // r0\n  int v6; // r2\n  int v7; // r3\n\n  v2 = this;\n  if ( *(this + 249) )\n  {\n    v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);\n    v4 = (GameManager *)EditorSFXManager::playAction(v3, 112, 110);\n    v5 = GameManager::sharedState(v4);\n    LevelEditorLayer::copyObjectState(*(_DWORD *)(v5 + 408), v2[249], v6, v7);\n    return (cocos2d::CCArray **)EditorUI::updateButtons(v2);\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::onCopyState from 0x6f28a2 to 0x6f28d4 (50 bytes)\n; \n; 1 xrefs:\n; > EditorUI::handleEditorAction @ 0x6f2404\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:57:36 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x6f28a2\nMOV             R4, R0                                                 ; +0x2, 0x6f28a4\nLDR.W           R3, [R0,#0x3E4]                                        ; +0x4, 0x6f28a6\nCBZ             R3, locret_6F28D2                                      ; +0x8, 0x6f28aa\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0xa, 0x6f28ac\nMOVS            R1, #0x70 ; 'p'; int                                   ; +0xe, 0x6f28b0\nMOVS            R2, #0x6E ; 'n'; int                                   ; +0x10, 0x6f28b2\nBL              _ZN16EditorSFXManager10playActionEii; EditorSFXManager::playAction(int,int) ; +0x12, 0x6f28b4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x16, 0x6f28b8\nLDR.W           R1, [R4,#0x3E4]; GameObject *                          ; +0x1a, 0x6f28bc\nLDR.W           R0, [R0,#0x198]; this                                  ; +0x1e, 0x6f28c0\nBL              _ZN16LevelEditorLayer15copyObjectStateEP10GameObject; LevelEditorLayer::copyObjectState(GameObject *) ; +0x22, 0x6f28c4\nMOV             R0, R4; this                                           ; +0x26, 0x6f28c8\nPOP.W           {R4,LR}                                                ; +0x28, 0x6f28ca\nB.W             _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x2c, 0x6f28ce\nPOP             {R4,PC}                                                ; +0x30, 0x6f28d2", "xrefs": ["EditorUI::handleEditorAction @ 0x6f2404"], "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"}