{"type": "func", "start": 4295148464, "end": 4295148551, "name": "EditorUI::onPasteColor", "pseudocode": "// \n// EditorUI::onPasteColor from 0x10002c3b0 to 0x10002c407 (87 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x10000ae66\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::onPasteColor(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::pasteColorState(v2->m_levelEditorLayer, a1->m_selectedObject, a1->m_selectedObjects);\n    EditorUI::updateObjectInfoLabel(a1);\n  }\n}", "assembly": "; \n; EditorUI::onPasteColor from 0x10002c3b0 to 0x10002c407 (87 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x10000ae66\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, 0x10002c3b0\nmov     rbp, rsp                                                       ; +0x1, 0x10002c3b1\npush    rbx                                                            ; +0x4, 0x10002c3b4\npush    rax                                                            ; +0x5, 0x10002c3b5\nmov     rbx, rdi                                                       ; +0x6, 0x10002c3b6\ncmp     qword ptr [rdi+520h], 0                                        ; +0x9, 0x10002c3b9\njnz     short loc_10002C3D3                                            ; +0x11, 0x10002c3c1\nmov     rdi, [rbx+328h]                                                ; +0x13, 0x10002c3c3\ncall    sub_100720070                                                  ; +0x1a, 0x10002c3ca\ntest    eax, eax                                                       ; +0x1f, 0x10002c3cf\njz      short loc_10002C400                                            ; +0x21, 0x10002c3d1\ncall    GameManager__sharedState                                       ; +0x23, 0x10002c3d3\nmov     rdi, [rax+200h]                                                ; +0x28, 0x10002c3d8\nmov     rdx, [rbx+328h]                                                ; +0x2f, 0x10002c3df\nmov     rsi, [rbx+520h]                                                ; +0x36, 0x10002c3e6\ncall    LevelEditorLayer__pasteColorState                              ; +0x3d, 0x10002c3ed\nmov     rdi, rbx                                                       ; +0x42, 0x10002c3f2\nadd     rsp, 8                                                         ; +0x45, 0x10002c3f5\npop     rbx                                                            ; +0x49, 0x10002c3f9\npop     rbp                                                            ; +0x4a, 0x10002c3fa\njmp     EditorUI__updateObjectInfoLabel                                ; +0x4b, 0x10002c3fb\nadd     rsp, 8                                                         ; +0x50, 0x10002c400\npop     rbx                                                            ; +0x54, 0x10002c404\npop     rbp                                                            ; +0x55, 0x10002c405\nretn                                                                   ; +0x56, 0x10002c406", "xrefs": ["EditorUI::init @ 0x10000ae66"], "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"}