//
// ColorSelectPopup::onSelectSpecialColor from 0x1008071f0 to 0x10080723a (74 bytes)
//
// 2 xrefs:
// > ColorSelectPopup::init @ 0x10080548c
// > ColorSelectPopup::init @ 0x100805b92
//
// 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 12:36:40 +0000
//
__int64 __fastcall ColorSelectPopup::onSelectSpecialColor(__int64 a1, __int64 a2)
{
char *v2; // r14
unsigned int v3; // eax
v2 = GJSpecialColorSelect::create(*(_DWORD *)(a1 + 1176), a1 + 1024, 1u);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
(*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v2 + 72LL))(v2, v3);
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v2 + 1312LL))(v2);
}