//
// ColorSelectPopup::onCopy from 0x862ee4 to 0x862f28 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0xdfc60
// > ColorSelectPopup::init @ 0x864524
// > ??> @ 0x1546b78
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:55:37 +0000
//
__int64 __fastcall ColorSelectPopup::onCopy(ColorSelectPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x19
__int64 result; // x0
v3 = GameManager::sharedState(this);
result = (int)ColorSelectPopup::getColorValue(this);
*(_WORD *)(v3 + 960) = result;
*(_BYTE *)(v3 + 962) = BYTE2(result);
return result;
}