//
// GJSpecialColorSelect::create from 0xa40704 to 0xa408c4 (448 bytes)
//
// 5 xrefs:
// > ColorSelectPopup::onSelectSpecialColor @ 0x8625dc
// > SetColorIDPopup::onSelectSpecialColor @ 0xa1df94
// > SetupPulsePopup::onSelectSpecialColor @ 0xa44898
// > SetupPulsePopup::onSelectSpecialTargetID @ 0xa448e4
// > ??> @ 0x560c8
//
// 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:59:56 +0000
//
__int64 __fastcall GJSpecialColorSelect::create(int a1, __int64 a2, int a3)
{
__int64 v6; // x19
v6 = operator new(0x2B0u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_QWORD *)(v6 + 552) = 0;
*(_QWORD *)v6 = &off_1419A40;
*(_QWORD *)(v6 + 320) = off_1419F90;
*(_QWORD *)(v6 + 328) = &off_141A000;
*(_QWORD *)(v6 + 336) = off_141A018;
*(_QWORD *)(v6 + 344) = off_141A038;
*(_QWORD *)(v6 + 352) = off_141A060;
*(_QWORD *)(v6 + 408) = &off_141A090;
*(_QWORD *)(v6 + 432) = &off_141A110;
*(_QWORD *)(v6 + 544) = off_141A130;
*(_QWORD *)(v6 + 560) = 0;
*(_QWORD *)(v6 + 568) = 0;
*(_BYTE *)(v6 + 576) = 0;
*(_QWORD *)(v6 + 584) = 0;
*(_DWORD *)(v6 + 592) = 0;
*(_BYTE *)(v6 + 596) = 0;
*(_BYTE *)(v6 + 597) = 0;
*(_BYTE *)(v6 + 598) = 0;
*(_BYTE *)(v6 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 600));
*(_DWORD *)(v6 + 632) = -1;
*(_DWORD *)(v6 + 640) = -1;
*(_QWORD *)(v6 + 608) = 0;
*(_QWORD *)(v6 + 616) = 0;
*(_QWORD *)(v6 + 624) = 0;
*(_BYTE *)(v6 + 636) = 0;
*(_BYTE *)(v6 + 637) = 0;
*(_BYTE *)(v6 + 644) = 0;
*(_BYTE *)(v6 + 656) = 0;
*(_DWORD *)(v6 + 648) = 0;
*(_DWORD *)(v6 + 652) = 0;
*(_QWORD *)(v6 + 664) = 0;
*(_QWORD *)v6 = &off_1488230;
*(_QWORD *)(v6 + 320) = off_1488780;
*(_QWORD *)(v6 + 328) = &off_14887F0;
*(_QWORD *)(v6 + 336) = off_1488808;
*(_QWORD *)(v6 + 344) = off_1488828;
*(_QWORD *)(v6 + 352) = off_1488850;
*(_QWORD *)(v6 + 408) = &off_1488880;
*(_QWORD *)(v6 + 432) = &off_1488900;
*(_QWORD *)(v6 + 544) = off_1488920;
*(_DWORD *)(v6 + 672) = 0;
*(_QWORD *)(v6 + 680) = 0;
if ( (unsigned __int8)GJSpecialColorSelect::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return 0;
}
}