//
// GJSpecialColorSelect::onSelectColor from 0x8e6904 to 0x8e6954 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x4a658
// > GJSpecialColorSelect::init @ 0x8e7080
// > ??> @ 0x122a5f8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJSpecialColorSelect::onSelectColor(GJSpecialColorSelect *a1, cocos2d::CCObject *a2)
{
int v3; // w0
cocos2d::CCObject_vtbl *v4; // x2
ButtonSprite *v5; // x0
v3 = a2->getTag(a2);
v4 = a2->__vftable;
a1->m_colorID = v3;
v5 = (ButtonSprite *)((__int64 (__fastcall *)(cocos2d::CCObject *))v4[13].~CCObject_0)(a2);
GJSpecialColorSelect::highlightSelected(a1, v5);
}