{"type": "func", "start": 7285012, "end": 7285076, "name": "EditorUI::onPasteColor", "pseudocode": "// \n// EditorUI::onPasteColor from 0x6f2914 to 0x6f2954 (64 bytes)\n// \n// 1 xrefs:\n// > EditorUI::handleEditorAction @ 0x6f2424\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:57:36 +0000\n// \n\nint __fastcall EditorUI::onPasteColor(int this, cocos2d::CCObject *a2)\n{\n  int v2; // r4\n  EditorSFXManager *v3; // r0\n  GameManager *v4; // r0\n  int v5; // r0\n\n  v2 = this;\n  if ( *(_DWORD *)(this + 996) || (this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(this + 668))) != 0 )\n  {\n    v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);\n    v4 = (GameManager *)EditorSFXManager::playAction(v3, 114, 111);\n    v5 = GameManager::sharedState(v4);\n    LevelEditorLayer::pasteColorState(*(_DWORD *)(v5 + 408), *(GameObject **)(v2 + 996), *(_DWORD *)(v2 + 668));\n    return EditorUI::updateObjectInfoLabel((cocos2d::CCArray **)v2);\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::onPasteColor from 0x6f2914 to 0x6f2954 (64 bytes)\n; \n; 1 xrefs:\n; > EditorUI::handleEditorAction @ 0x6f2424\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:57:36 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x6f2914\nMOV             R4, R0                                                 ; +0x2, 0x6f2916\nLDR.W           R3, [R0,#0x3E4]                                        ; +0x4, 0x6f2918\nCBNZ            R3, loc_6F2928                                         ; +0x8, 0x6f291c\nLDR.W           R0, [R0,#0x29C]; this                                  ; +0xa, 0x6f291e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe, 0x6f2922\nCBZ             R0, locret_6F2952                                      ; +0x12, 0x6f2926\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x14, 0x6f2928\nMOVS            R1, #0x72 ; 'r'; int                                   ; +0x18, 0x6f292c\nMOVS            R2, #0x6F ; 'o'; int                                   ; +0x1a, 0x6f292e\nBL              _ZN16EditorSFXManager10playActionEii; EditorSFXManager::playAction(int,int) ; +0x1c, 0x6f2930\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x20, 0x6f2934\nLDR.W           R1, [R4,#0x3E4]; this                                  ; +0x24, 0x6f2938\nLDR.W           R2, [R4,#0x29C]                                        ; +0x28, 0x6f293c\nLDR.W           R0, [R0,#0x198]; int                                   ; +0x2c, 0x6f2940\nBL              _ZN16LevelEditorLayer15pasteColorStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteColorState(GameObject *,cocos2d::CCArray *) ; +0x30, 0x6f2944\nMOV             R0, R4; this                                           ; +0x34, 0x6f2948\nPOP.W           {R4,LR}                                                ; +0x36, 0x6f294a\nB.W             _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0x3a, 0x6f294e\nPOP             {R4,PC}                                                ; +0x3e, 0x6f2952", "xrefs": ["EditorUI::handleEditorAction @ 0x6f2424"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}