{"type": "func", "start": 8657296, "end": 8657388, "name": "CustomizeObjectLayer::onPaste", "pseudocode": "// \n// CustomizeObjectLayer::onPaste from 0x841990 to 0x8419ec (92 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x48b70\n// > CustomizeObjectLayer::init @ 0x8432b8\n// > <???> @ 0x122a528\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; // x0\n  int ActiveMode; // w0\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 0x841990 to 0x8419ec (92 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x48b70\n; > CustomizeObjectLayer::init @ 0x8432b8\n; > <???> @ 0x122a528\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, 0x841990\nMOV             X29, SP                                                ; +0x4, 0x841994\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x841998\nMOV             X19, X0                                                ; +0xc, 0x84199c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x8419a0\nLDR             X0, [X0,#0x1E0]; int                                   ; +0x14, 0x8419a4\nLDR             X2, [X19,#0x2A0]                                       ; +0x18, 0x8419a8\nLDR             X1, [X19,#0x298]; this                                 ; +0x1c, 0x8419ac\nBL              _ZN16LevelEditorLayer15pasteColorStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteColorState(GameObject *,cocos2d::CCArray *) ; +0x20, 0x8419b0\nMOV             X0, X19; this                                          ; +0x24, 0x8419b4\nBL              _ZN20CustomizeObjectLayer22updateCurrentSelectionEv; CustomizeObjectLayer::updateCurrentSelection(void) ; +0x28, 0x8419b8\nMOV             X0, X19; this                                          ; +0x2c, 0x8419bc\nBL              _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x30, 0x8419c0\nMOV             X0, X19; this                                          ; +0x34, 0x8419c4\nMOV             W1, #1; bool                                           ; +0x38, 0x8419c8\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x3c, 0x8419cc\nMOV             W1, W0; GJSpecialColorSelect *                         ; +0x40, 0x8419d0\nMOV             X0, X19; this                                          ; +0x44, 0x8419d4\nBL              _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x48, 0x8419d8\nMOV             X0, X19; this                                          ; +0x4c, 0x8419dc\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x8419e0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x8419e4\nB               _ZN20CustomizeObjectLayer16updateHSVButtonsEv; CustomizeObjectLayer::updateHSVButtons(void) ; +0x58, 0x8419e8", "xrefs": ["<???> @ 0x48b70", "CustomizeObjectLayer::init @ 0x8432b8", "<???> @ 0x122a528"], "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"}