{"type": "func", "start": 9977508, "end": 9977600, "name": "CustomizeObjectLayer::onPaste", "pseudocode": "// \n// CustomizeObjectLayer::onPaste from 0x983ea4 to 0x983f00 (92 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x66c10\n// > CustomizeObjectLayer::init @ 0x9864a0\n// > <???> @ 0x1542800\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:57:52 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::onPaste(CustomizeObjectLayer *this, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x0\n  unsigned int ActiveMode; // w0\n  __int64 v5; // x1\n  __int64 v6; // x2\n  int v7; // w3\n\n  v3 = GameManager::sharedState(this);\n  LevelEditorLayer::pasteColorState(*(_QWORD *)(v3 + 552), *((GameObject **)this + 86), *((_QWORD *)this + 87));\n  CustomizeObjectLayer::updateCurrentSelection(this);\n  CustomizeObjectLayer::updateColorSprite(this);\n  ActiveMode = CustomizeObjectLayer::getActiveMode(this, 1u);\n  CustomizeObjectLayer::updateChannelLabel(this, (GJSpecialColorSelect *)ActiveMode);\n  return CustomizeObjectLayer::updateHSVButtons(this, v5, v6, v7);\n}", "assembly": "; \n; CustomizeObjectLayer::onPaste from 0x983ea4 to 0x983f00 (92 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x66c10\n; > CustomizeObjectLayer::init @ 0x9864a0\n; > <???> @ 0x1542800\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:57:52 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x983ea4\nMOV             X29, SP                                                ; +0x4, 0x983ea8\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x983eac\nMOV             X19, X0                                                ; +0xc, 0x983eb0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x983eb4\nLDR             X0, [X0,#0x228]; int                                   ; +0x14, 0x983eb8\nLDR             X2, [X19,#0x2B8]                                       ; +0x18, 0x983ebc\nLDR             X1, [X19,#0x2B0]; this                                 ; +0x1c, 0x983ec0\nBL              _ZN16LevelEditorLayer15pasteColorStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteColorState(GameObject *,cocos2d::CCArray *) ; +0x20, 0x983ec4\nMOV             X0, X19; this                                          ; +0x24, 0x983ec8\nBL              _ZN20CustomizeObjectLayer22updateCurrentSelectionEv; CustomizeObjectLayer::updateCurrentSelection(void) ; +0x28, 0x983ecc\nMOV             X0, X19; this                                          ; +0x2c, 0x983ed0\nBL              _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x30, 0x983ed4\nMOV             X0, X19; this                                          ; +0x34, 0x983ed8\nMOV             W1, #1; bool                                           ; +0x38, 0x983edc\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x3c, 0x983ee0\nMOV             W1, W0; GJSpecialColorSelect *                         ; +0x40, 0x983ee4\nMOV             X0, X19; this                                          ; +0x44, 0x983ee8\nBL              _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x48, 0x983eec\nMOV             X0, X19; this                                          ; +0x4c, 0x983ef0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x983ef4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x983ef8\nB               _ZN20CustomizeObjectLayer16updateHSVButtonsEv; CustomizeObjectLayer::updateHSVButtons(void) ; +0x58, 0x983efc", "xrefs": ["<???> @ 0x66c10", "CustomizeObjectLayer::init @ 0x9864a0", "<???> @ 0x1542800"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}