{"type": "func", "start": 4299052928, "end": 4299053012, "name": "EditorUI::onPasteState", "pseudocode": "// \n// EditorUI::onPasteState from 0x1003e5780 to 0x1003e57d4 (84 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x1003c66cc\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::onPasteState(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n\n  if ( a1->m_selectedObject || (unsigned int)sub_10024A36C((__int64)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 0x1003e5780 to 0x1003e57d4 (84 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x1003c66cc\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003e5780\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003e5784\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003e5788\nMOV             X19, X0                                                ; +0xc, 0x1003e578c\nLDR             X8, [X0,#0x520]                                        ; +0x10, 0x1003e5790\nCBNZ            X8, loc_1003E57A4                                      ; +0x14, 0x1003e5794\nLDR             X0, [X19,#0x328]                                       ; +0x18, 0x1003e5798\nBL              sub_10024A36C                                          ; +0x1c, 0x1003e579c\nCBZ             W0, loc_1003E57C8                                      ; +0x20, 0x1003e57a0\nBL              GameManager__sharedState                               ; +0x24, 0x1003e57a4\nLDR             X0, [X0,#0x200]                                        ; +0x28, 0x1003e57a8\nLDR             X1, [X19,#0x520]                                       ; +0x2c, 0x1003e57ac\nLDR             X2, [X19,#0x328]                                       ; +0x30, 0x1003e57b0\nBL              LevelEditorLayer__pasteAttributeState                  ; +0x34, 0x1003e57b4\nMOV             X0, X19                                                ; +0x38, 0x1003e57b8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1003e57bc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1003e57c0\nB               EditorUI__updateObjectInfoLabel                        ; +0x44, 0x1003e57c4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x1003e57c8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x1003e57cc\nRET                                                                    ; +0x50, 0x1003e57d0", "xrefs": ["EditorUI::init @ 0x1003c66cc"], "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"}