{"type": "func", "start": 3788812, "end": 3788850, "name": "EditorUI::onCopyState", "pseudocode": "// \n// EditorUI::onCopyState from 0x39d00c to 0x39d032 (38 bytes)\n// \n// 0 xrefs:\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; // r0\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 0x39d00c to 0x39d032 (38 bytes)\n; \n; 0 xrefs:\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.W           R3, [R0,#0x374]                                        ; +0x0, 0x39d00c\nPUSH            {R4,LR}                                                ; +0x4, 0x39d010\nMOV             R4, R0                                                 ; +0x6, 0x39d012\nCBZ             R3, locret_39D030                                      ; +0x8, 0x39d014\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xa, 0x39d016\nLDR.W           R1, [R4,#0x374]; GameObject *                          ; +0xe, 0x39d01a\nLDR.W           R0, [R0,#0x170]; this                                  ; +0x12, 0x39d01e\nBL              _ZN16LevelEditorLayer15copyObjectStateEP10GameObject; LevelEditorLayer::copyObjectState(GameObject *) ; +0x16, 0x39d022\nMOV             R0, R4; this                                           ; +0x1a, 0x39d026\nPOP.W           {R4,LR}                                                ; +0x1c, 0x39d028\nB.W             _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x20, 0x39d02c\nPOP             {R4,PC}                                                ; +0x24, 0x39d030", "xrefs": [], "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"}