{"type": "func", "start": 5761974, "end": 5762036, "name": "CustomizeObjectLayer::onPaste", "pseudocode": "// \n// CustomizeObjectLayer::onPaste from 0x57ebb6 to 0x57ebf4 (62 bytes)\n// \n// 0 xrefs:\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:52:51 +0000\n// \n\nint __fastcall CustomizeObjectLayer::onPaste(CustomizeObjectLayer *this, cocos2d::CCObject *a2)\n{\n  int v3; // r0\n  GJSpecialColorSelect *ActiveMode; // r0\n\n  v3 = GameManager::sharedState(this);\n  LevelEditorLayer::pasteColorState(*(_DWORD *)(v3 + 408), *((GameObject **)this + 133), *((_DWORD *)this + 134));\n  CustomizeObjectLayer::updateCurrentSelection(this);\n  CustomizeObjectLayer::updateColorSprite((ColorChannelSprite **)this);\n  ActiveMode = (GJSpecialColorSelect *)CustomizeObjectLayer::getActiveMode(this, 1);\n  CustomizeObjectLayer::updateChannelLabel(this, ActiveMode);\n  return CustomizeObjectLayer::updateHSVButtons(this);\n}", "assembly": "; \n; CustomizeObjectLayer::onPaste from 0x57ebb6 to 0x57ebf4 (62 bytes)\n; \n; 0 xrefs:\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:52:51 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x57ebb6\nMOV             R4, R0                                                 ; +0x2, 0x57ebb8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x57ebba\nLDR.W           R2, [R4,#0x218]                                        ; +0x8, 0x57ebbe\nLDR.W           R1, [R4,#0x214]; this                                  ; +0xc, 0x57ebc2\nLDR.W           R0, [R0,#0x198]; int                                   ; +0x10, 0x57ebc6\nBL              _ZN16LevelEditorLayer15pasteColorStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteColorState(GameObject *,cocos2d::CCArray *) ; +0x14, 0x57ebca\nMOV             R0, R4; this                                           ; +0x18, 0x57ebce\nBL              _ZN20CustomizeObjectLayer22updateCurrentSelectionEv; CustomizeObjectLayer::updateCurrentSelection(void) ; +0x1a, 0x57ebd0\nMOV             R0, R4; this                                           ; +0x1e, 0x57ebd4\nBL              _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x20, 0x57ebd6\nMOV             R0, R4; this                                           ; +0x24, 0x57ebda\nMOVS            R1, #1; bool                                           ; +0x26, 0x57ebdc\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x28, 0x57ebde\nMOV             R1, R0; GJSpecialColorSelect *                         ; +0x2c, 0x57ebe2\nMOV             R0, R4; this                                           ; +0x2e, 0x57ebe4\nBL              _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x30, 0x57ebe6\nMOV             R0, R4; this                                           ; +0x34, 0x57ebea\nPOP.W           {R4,LR}                                                ; +0x36, 0x57ebec\nB.W             _ZN20CustomizeObjectLayer16updateHSVButtonsEv; CustomizeObjectLayer::updateHSVButtons(void) ; +0x3a, 0x57ebf0", "xrefs": [], "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"}