{"type": "func", "start": 4295148368, "end": 4295148455, "name": "EditorUI::onPasteState", "pseudocode": "// \n// EditorUI::onPasteState from 0x10002c350 to 0x10002c3a7 (87 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x10000adc4\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 *v2; // rax\n\n  if ( a1->m_selectedObject || (unsigned int)sub_100720070(a1->m_selectedObjects) )\n  {\n    v2 = GameManager::sharedState();\n    LevelEditorLayer::pasteAttributeState(v2->m_levelEditorLayer, a1->m_selectedObject, a1->m_selectedObjects);\n    EditorUI::updateObjectInfoLabel(a1);\n  }\n}", "assembly": "; \n; EditorUI::onPasteState from 0x10002c350 to 0x10002c3a7 (87 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x10000adc4\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\npush    rbp                                                            ; +0x0, 0x10002c350\nmov     rbp, rsp                                                       ; +0x1, 0x10002c351\npush    rbx                                                            ; +0x4, 0x10002c354\npush    rax                                                            ; +0x5, 0x10002c355\nmov     rbx, rdi                                                       ; +0x6, 0x10002c356\ncmp     qword ptr [rdi+520h], 0                                        ; +0x9, 0x10002c359\njnz     short loc_10002C373                                            ; +0x11, 0x10002c361\nmov     rdi, [rbx+328h]                                                ; +0x13, 0x10002c363\ncall    sub_100720070                                                  ; +0x1a, 0x10002c36a\ntest    eax, eax                                                       ; +0x1f, 0x10002c36f\njz      short loc_10002C3A0                                            ; +0x21, 0x10002c371\ncall    GameManager__sharedState                                       ; +0x23, 0x10002c373\nmov     rdi, [rax+200h]                                                ; +0x28, 0x10002c378\nmov     rdx, [rbx+328h]                                                ; +0x2f, 0x10002c37f\nmov     rsi, [rbx+520h]                                                ; +0x36, 0x10002c386\ncall    LevelEditorLayer__pasteAttributeState                          ; +0x3d, 0x10002c38d\nmov     rdi, rbx                                                       ; +0x42, 0x10002c392\nadd     rsp, 8                                                         ; +0x45, 0x10002c395\npop     rbx                                                            ; +0x49, 0x10002c399\npop     rbp                                                            ; +0x4a, 0x10002c39a\njmp     EditorUI__updateObjectInfoLabel                                ; +0x4b, 0x10002c39b\nadd     rsp, 8                                                         ; +0x50, 0x10002c3a0\npop     rbx                                                            ; +0x54, 0x10002c3a4\npop     rbp                                                            ; +0x55, 0x10002c3a5\nretn                                                                   ; +0x56, 0x10002c3a6", "xrefs": ["EditorUI::init @ 0x10000adc4"], "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"}