{"type": "func", "start": 7034992, "end": 7035060, "name": "EditorUI::onCopyState", "pseudocode": "// \n// EditorUI::onCopyState from 0x6b5870 to 0x6b58b4 (68 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x59b50\n// > EditorUI::init @ 0x6bd558\n// > <???> @ 0x122ae20\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 EditorUI::onCopyState(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n\n  if ( a1->m_selectedObject )\n  {\n    v3 = GameManager::sharedState();\n    LevelEditorLayer::copyObjectState(v3->m_levelEditorLayer, a1->m_selectedObject);\n    EditorUI::updateButtons(a1);\n  }\n}", "assembly": "; \n; EditorUI::onCopyState from 0x6b5870 to 0x6b58b4 (68 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x59b50\n; > EditorUI::init @ 0x6bd558\n; > <???> @ 0x122ae20\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6b5870\nMOV             X29, SP                                                ; +0x4, 0x6b5874\nLDR             X1, [X0,#0x530]                                        ; +0x8, 0x6b5878\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x6b587c\nCBZ             X1, loc_6B58A8                                         ; +0x10, 0x6b5880\nMOV             X19, X0                                                ; +0x14, 0x6b5884\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x6b5888\nLDR             X0, [X0,#0x1E0]; this                                  ; +0x1c, 0x6b588c\nLDR             X1, [X19,#0x530]; GameObject *                         ; +0x20, 0x6b5890\nBL              _ZN16LevelEditorLayer15copyObjectStateEP10GameObject; LevelEditorLayer::copyObjectState(GameObject *) ; +0x24, 0x6b5894\nMOV             X0, X19; this                                          ; +0x28, 0x6b5898\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x2c, 0x6b589c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x30, 0x6b58a0\nB               _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x34, 0x6b58a4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x38, 0x6b58a8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x3c, 0x6b58ac\nRET                                                                    ; +0x40, 0x6b58b0", "xrefs": ["<???> @ 0x59b50", "EditorUI::init @ 0x6bd558", "<???> @ 0x122ae20"], "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"}