//
// SetColorIDPopup::onSelectSpecialColor from 0x100299760 to 0x1002997aa (74 bytes)
//
// 1 xrefs:
// > SetColorIDPopup::init @ 0x1002995b2
//
// 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:27:52 +0000
//
__int64 __fastcall SetColorIDPopup::onSelectSpecialColor(__int64 a1, __int64 a2)
{
__int64 v2; // r14
unsigned int v3; // eax
v2 = GJSpecialColorSelect::create(*(unsigned int *)(a1 + 672), a1 + 704, 2);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 72LL))(v2, v3);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);
}