{"type": "func", "start": 3824608, "end": 3824660, "name": "EditorUI::onPasteState", "pseudocode": "// \n// EditorUI::onPasteState from 0x3a5be0 to 0x3a5c14 (52 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::onPasteState(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n\n  if ( a1->m_selectedObject || cocos2d::CCArray::count(a1->m_selectedObjects) )\n  {\n    v3 = GameManager::sharedState();\n    LevelEditorLayer::pasteAttributeState(v3->m_levelEditorLayer, a1->m_selectedObject, a1->m_selectedObjects);\n    EditorUI::updateObjectInfoLabel(a1);\n  }\n}", "assembly": "; \n; EditorUI::onPasteState from 0x3a5be0 to 0x3a5c14 (52 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, 0x3a5be0\nPUSH            {R4,LR}                                                ; +0x4, 0x3a5be4\nMOV             R4, R0                                                 ; +0x6, 0x3a5be6\nCBNZ            R3, loc_3A5BF4                                         ; +0x8, 0x3a5be8\nLDR.W           R0, [R0,#0x260]; this                                  ; +0xa, 0x3a5bea\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe, 0x3a5bee\nCBZ             R0, locret_3A5C12                                      ; +0x12, 0x3a5bf2\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x3a5bf4\nLDR.W           R1, [R4,#0x374]; GameObject *                          ; +0x18, 0x3a5bf8\nLDR.W           R2, [R4,#0x260]; cocos2d::CCArray *                    ; +0x1c, 0x3a5bfc\nLDR.W           R0, [R0,#0x170]; this                                  ; +0x20, 0x3a5c00\nBL              _ZN16LevelEditorLayer19pasteAttributeStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteAttributeState(GameObject *,cocos2d::CCArray *) ; +0x24, 0x3a5c04\nMOV             R0, R4; this                                           ; +0x28, 0x3a5c08\nPOP.W           {R4,LR}                                                ; +0x2a, 0x3a5c0a\nB.W             _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0x2e, 0x3a5c0e\nPOP             {R4,PC}                                                ; +0x32, 0x3a5c12", "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"}