{"type": "func", "start": 8793828, "end": 8793896, "name": "ColorSelectPopup::onCopy", "pseudocode": "// \n// ColorSelectPopup::onCopy from 0x862ee4 to 0x862f28 (68 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xdfc60\n// > ColorSelectPopup::init @ 0x864524\n// > <???> @ 0x1546b78\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:55:37 +0000\n// \n\n__int64 __fastcall ColorSelectPopup::onCopy(ColorSelectPopup *this, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x19\n  __int64 result; // x0\n\n  v3 = GameManager::sharedState(this);\n  result = (int)ColorSelectPopup::getColorValue(this);\n  *(_WORD *)(v3 + 960) = result;\n  *(_BYTE *)(v3 + 962) = BYTE2(result);\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::onCopy from 0x862ee4 to 0x862f28 (68 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xdfc60\n; > ColorSelectPopup::init @ 0x864524\n; > <???> @ 0x1546b78\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:55:37 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x862ee4\nMOV             X29, SP                                                ; +0x4, 0x862ee8\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x862eec\nMOV             X20, X0                                                ; +0xc, 0x862ef0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x862ef4\nMOV             X19, X0                                                ; +0x14, 0x862ef8\nMOV             X0, X20; this                                          ; +0x18, 0x862efc\nBL              _ZN16ColorSelectPopup13getColorValueEv; ColorSelectPopup::getColorValue(void) ; +0x1c, 0x862f00\nSXTW            X0, W0                                                 ; +0x20, 0x862f04\nUBFX            X2, X0, #8, #8                                         ; +0x24, 0x862f08\nSTRB            W0, [X19,#0x3C0]                                       ; +0x28, 0x862f0c\nSTRB            W2, [X19,#0x3C1]                                       ; +0x2c, 0x862f10\nUBFX            X1, X0, #0x10, #8                                      ; +0x30, 0x862f14\nSTRB            W1, [X19,#0x3C2]                                       ; +0x34, 0x862f18\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x38, 0x862f1c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x3c, 0x862f20\nRET                                                                    ; +0x40, 0x862f24", "xrefs": ["<???> @ 0xdfc60", "ColorSelectPopup::init @ 0x864524", "<???> @ 0x1546b78"], "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"}