//
// ColorSelectPopup::onSelectSpecialColor from 0x8625c0 to 0x862624 (100 bytes)
//
// 4 xrefs:
// > ??> @ 0xcafd8
// > ColorSelectPopup::init @ 0x864db0
// > ColorSelectPopup::init @ 0x8655b8
// > ??> @ 0x1545f58
//
// 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::onSelectSpecialColor(ColorSelectPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x19
cocos2d::CCObject *v4; // x0
__int64 (__fastcall *v5)(cocos2d::CCObject *); // x1
void (__fastcall *v6)(__int64, _QWORD); // x20
unsigned int v7; // w0
v3 = GJSpecialColorSelect::create(*((unsigned int *)this + 294), (char *)this + 1024, 1);
v4 = a2;
v5 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL);
v6 = *(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 72LL);
v7 = v5(v4);
v6(v3, v7);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}