{"type": "func", "start": 4299052868, "end": 4299052928, "name": "EditorUI::onCopyState", "pseudocode": "// \n// EditorUI::onCopyState from 0x1003e5744 to 0x1003e5780 (60 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x1003c6634\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 __fastcall 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 0x1003e5744 to 0x1003e5780 (60 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x1003c6634\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\nLDR             X8, [X0,#0x520]                                        ; +0x0, 0x1003e5744\nCBZ             X8, locret_1003E577C                                   ; +0x4, 0x1003e5748\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x8, 0x1003e574c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x1003e5750\nADD             X29, SP, #0x10                                         ; +0x10, 0x1003e5754\nMOV             X19, X0                                                ; +0x14, 0x1003e5758\nBL              GameManager__sharedState                               ; +0x18, 0x1003e575c\nLDR             X0, [X0,#0x200]                                        ; +0x1c, 0x1003e5760\nLDR             X1, [X19,#0x520]                                       ; +0x20, 0x1003e5764\nBL              LevelEditorLayer__copyObjectState                      ; +0x24, 0x1003e5768\nMOV             X0, X19                                                ; +0x28, 0x1003e576c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x1003e5770\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x30, 0x1003e5774\nB               EditorUI__updateButtons                                ; +0x34, 0x1003e5778\nRET                                                                    ; +0x38, 0x1003e577c", "xrefs": ["EditorUI::init @ 0x1003c6634"], "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"}