{"type": "func", "start": 3824660, "end": 3824712, "name": "EditorUI::onPasteColor", "pseudocode": "// \n// EditorUI::onPasteColor from 0x3a5c14 to 0x3a5c48 (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::onPasteColor(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::pasteColorState(v3->m_levelEditorLayer, a1->m_selectedObject, a1->m_selectedObjects);\n    EditorUI::updateObjectInfoLabel(a1);\n  }\n}", "assembly": "; \n; EditorUI::onPasteColor from 0x3a5c14 to 0x3a5c48 (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, 0x3a5c14\nPUSH            {R4,LR}                                                ; +0x4, 0x3a5c18\nMOV             R4, R0                                                 ; +0x6, 0x3a5c1a\nCBNZ            R3, loc_3A5C28                                         ; +0x8, 0x3a5c1c\nLDR.W           R0, [R0,#0x260]; this                                  ; +0xa, 0x3a5c1e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe, 0x3a5c22\nCBZ             R0, locret_3A5C46                                      ; +0x12, 0x3a5c26\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x3a5c28\nLDR.W           R1, [R4,#0x374]; this                                  ; +0x18, 0x3a5c2c\nLDR.W           R2, [R4,#0x260]                                        ; +0x1c, 0x3a5c30\nLDR.W           R0, [R0,#0x170]; int                                   ; +0x20, 0x3a5c34\nBL              _ZN16LevelEditorLayer15pasteColorStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteColorState(GameObject *,cocos2d::CCArray *) ; +0x24, 0x3a5c38\nMOV             R0, R4; this                                           ; +0x28, 0x3a5c3c\nPOP.W           {R4,LR}                                                ; +0x2a, 0x3a5c3e\nB.W             _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0x2e, 0x3a5c42\nPOP             {R4,PC}                                                ; +0x32, 0x3a5c46", "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"}