{"type": "func", "start": 4039720, "end": 4039760, "name": "ColorSelectPopup::onCopy", "pseudocode": "// \n// ColorSelectPopup::onCopy from 0x3da428 to 0x3da450 (40 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 ColorSelectPopup::onCopy(ColorSelectPopup *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r4\n\n  v3 = GameManager::sharedState();\n  v3->m_copiedColor = ColorSelectPopup::getColorValue(a1);\n}", "assembly": "; \n; ColorSelectPopup::onCopy from 0x3da428 to 0x3da450 (40 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            {R0-R2,R4,R5,LR}                                       ; +0x0, 0x3da428\nMOV             R5, R0                                                 ; +0x2, 0x3da42a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x3da42c\nMOV             R4, R0                                                 ; +0x8, 0x3da430\nMOV             R0, R5; this                                           ; +0xa, 0x3da432\nBL              _ZN16ColorSelectPopup13getColorValueEv; ColorSelectPopup::getColorValue(void) ; +0xc, 0x3da434\nUBFX.W          R2, R0, #8, #8                                         ; +0x10, 0x3da438\nUBFX.W          R3, R0, #0x10, #8                                      ; +0x14, 0x3da43c\nSTRB.W          R0, [R4,#0x2B0]                                        ; +0x18, 0x3da440\nSTRB.W          R2, [R4,#0x2B1]                                        ; +0x1c, 0x3da444\nSTRB.W          R3, [R4,#0x2B2]                                        ; +0x20, 0x3da448\nADD             SP, SP, #0xC                                           ; +0x24, 0x3da44c\nPOP             {R4,R5,PC}                                             ; +0x26, 0x3da44e", "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"}