//
// GJSpecialColorSelect::create from 0x1403be350 to 0x1403be46e (286 bytes)
//
// 5 xrefs:
// > ColorSelectPopup::onSelectSpecialColor @ 0x14012c49e
// > SetColorIDPopup::onSelectSpecialColor @ 0x1403a655e
// > SetupPulsePopup::onSelectSpecialColor @ 0x1405d10cf
// > SetupPulsePopup::onSelectSpecialTargetID @ 0x1405d111f
// > ??> @ 0x140923f60
//
// This function is hookable on this platform (idp: pc, 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 11:31:27 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall GJSpecialColorSelect::create(unsigned int a1, __int64 a2, unsigned int a3)
{
_QWORD *v6; // r14
v6 = operator new(0x2B0u);
FLAlertLayer::FLAlertLayer((__int64)v6);
*v6 = &GJSpecialColorSelect::`vftable';
v6[40] = &GJSpecialColorSelect::`vftable';
v6[41] = &GJSpecialColorSelect::`vftable';
v6[42] = &GJSpecialColorSelect::`vftable';
v6[43] = &GJSpecialColorSelect::`vftable';
v6[44] = &GJSpecialColorSelect::`vftable';
v6[51] = &GJSpecialColorSelect::`vftable';
v6[54] = &GJSpecialColorSelect::`vftable';
v6[68] = &GJSpecialColorSelect::`vftable';
v6[83] = 0;
*((_DWORD *)v6 + 168) = 0;
v6[85] = 0;
if ( (unsigned __int8)GJSpecialColorSelect::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v6 + 8LL))(v6, 1);
return nullptr;
}
}