{"type": "func", "start": 4595986, "end": 4596048, "name": "CustomizeObjectLayer::onPaste", "pseudocode": "// \n// CustomizeObjectLayer::onPaste from 0x462112 to 0x462150 (62 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 CustomizeObjectLayer::onPaste(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  int ActiveMode; // r0\n\n  v3 = GameManager::sharedState();\n  LevelEditorLayer::pasteColorState(v3->m_levelEditorLayer, a1->m_targetObject, a1->m_targetObjects);\n  CustomizeObjectLayer::updateCurrentSelection(a1);\n  CustomizeObjectLayer::updateColorSprite(a1);\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);\n  CustomizeObjectLayer::updateChannelLabel(a1, ActiveMode);\n  CustomizeObjectLayer::updateHSVButtons(a1);\n}", "assembly": "; \n; CustomizeObjectLayer::onPaste from 0x462112 to 0x462150 (62 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\nPUSH            {R4,LR}                                                ; +0x0, 0x462112\nMOV             R4, R0                                                 ; +0x2, 0x462114\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x462116\nLDR.W           R2, [R4,#0x204]                                        ; +0x8, 0x46211a\nLDR.W           R1, [R4,#0x200]; this                                  ; +0xc, 0x46211e\nLDR.W           R0, [R0,#0x170]; int                                   ; +0x10, 0x462122\nBL              _ZN16LevelEditorLayer15pasteColorStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteColorState(GameObject *,cocos2d::CCArray *) ; +0x14, 0x462126\nMOV             R0, R4; this                                           ; +0x18, 0x46212a\nBL              _ZN20CustomizeObjectLayer22updateCurrentSelectionEv; CustomizeObjectLayer::updateCurrentSelection(void) ; +0x1a, 0x46212c\nMOV             R0, R4; this                                           ; +0x1e, 0x462130\nBL              _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x20, 0x462132\nMOV             R0, R4; this                                           ; +0x24, 0x462136\nMOVS            R1, #1; bool                                           ; +0x26, 0x462138\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x28, 0x46213a\nMOV             R1, R0; GJSpecialColorSelect *                         ; +0x2c, 0x46213e\nMOV             R0, R4; this                                           ; +0x2e, 0x462140\nBL              _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x30, 0x462142\nMOV             R0, R4; this                                           ; +0x34, 0x462146\nPOP.W           {R4,LR}                                                ; +0x36, 0x462148\nB.W             _ZN20CustomizeObjectLayer16updateHSVButtonsEv; CustomizeObjectLayer::updateHSVButtons(void) ; +0x3a, 0x46214c", "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"}