{"type": "func", "start": 7091156, "end": 7091240, "name": "EditorUI::onPasteColor", "pseudocode": "// \n// EditorUI::onPasteColor from 0x6c33d4 to 0x6c3428 (84 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x36708\n// > EditorUI::init @ 0x6bd69c\n// > <???> @ 0x1229aa0\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::onPasteColor(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n\n  if ( a1->m_selectedObject || (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )\n  {\n    v3 = GameManager::sharedState();\n    LevelEditorLayer::pasteColorState(v3->m_levelEditorLayer, a1->m_selectedObject, a1->m_selectedObjects);\n    EditorUI::updateObjectInfoLabel(a1);\n  }\n}", "assembly": "; \n; EditorUI::onPasteColor from 0x6c33d4 to 0x6c3428 (84 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x36708\n; > EditorUI::init @ 0x6bd69c\n; > <???> @ 0x1229aa0\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6c33d4\nMOV             X29, SP                                                ; +0x4, 0x6c33d8\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x6c33dc\nMOV             X19, X0                                                ; +0xc, 0x6c33e0\nLDR             X0, [X0,#0x530]; this                                  ; +0x10, 0x6c33e4\nCBZ             X0, loc_6C3410                                         ; +0x14, 0x6c33e8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x6c33ec\nLDR             X0, [X0,#0x1E0]; int                                   ; +0x1c, 0x6c33f0\nLDR             X1, [X19,#0x530]; this                                 ; +0x20, 0x6c33f4\nLDR             X2, [X19,#0x338]                                       ; +0x24, 0x6c33f8\nBL              _ZN16LevelEditorLayer15pasteColorStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteColorState(GameObject *,cocos2d::CCArray *) ; +0x28, 0x6c33fc\nMOV             X0, X19; this                                          ; +0x2c, 0x6c3400\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x30, 0x6c3404\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x34, 0x6c3408\nB               _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0x38, 0x6c340c\nLDR             X0, [X19,#0x338]; this                                 ; +0x3c, 0x6c3410\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x40, 0x6c3414\nCBNZ            W0, loc_6C33EC                                         ; +0x44, 0x6c3418\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x48, 0x6c341c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x4c, 0x6c3420\nRET                                                                    ; +0x50, 0x6c3424", "xrefs": ["<???> @ 0x36708", "EditorUI::init @ 0x6bd69c", "<???> @ 0x1229aa0"], "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"}