{"type": "func", "start": 5107810, "end": 5107850, "name": "ColorSelectPopup::onCopy", "pseudocode": "// \n// ColorSelectPopup::onCopy from 0x4df062 to 0x4df08a (40 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:50:59 +0000\n// \n\nint __fastcall ColorSelectPopup::onCopy(ColorSelectPopup *this, cocos2d::CCObject *a2)\n{\n  int v3; // r4\n  int result; // r0\n\n  v3 = GameManager::sharedState(this);\n  result = ColorSelectPopup::getColorValue(this);\n  *(_WORD *)(v3 + 748) = result;\n  *(_BYTE *)(v3 + 750) = BYTE2(result);\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::onCopy from 0x4df062 to 0x4df08a (40 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:50:59 +0000\n; \nPUSH            {R0-R2,R4,R5,LR}                                       ; +0x0, 0x4df062\nMOV             R5, R0                                                 ; +0x2, 0x4df064\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x4df066\nMOV             R4, R0                                                 ; +0x8, 0x4df06a\nMOV             R0, R5; this                                           ; +0xa, 0x4df06c\nBL              _ZN16ColorSelectPopup13getColorValueEv; ColorSelectPopup::getColorValue(void) ; +0xc, 0x4df06e\nUBFX.W          R2, R0, #8, #8                                         ; +0x10, 0x4df072\nUBFX.W          R3, R0, #0x10, #8                                      ; +0x14, 0x4df076\nSTRB.W          R0, [R4,#0x2EC]                                        ; +0x18, 0x4df07a\nSTRB.W          R2, [R4,#0x2ED]                                        ; +0x1c, 0x4df07e\nSTRB.W          R3, [R4,#0x2EE]                                        ; +0x20, 0x4df082\nADD             SP, SP, #0xC                                           ; +0x24, 0x4df086\nPOP             {R4,R5,PC}                                             ; +0x26, 0x4df088", "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"}