//
// ColorSelectPopup::show from 0x100809b50 to 0x100809ba6 (86 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b9f1e8
//
// 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:41 +0000
//
__int64 __fastcall ColorSelectPopup::show(__int64 a1)
{
__int64 v1; // rax
int v2; // ecx
int v3; // esi
__int64 v4; // rsi
*(_BYTE *)(a1 + 1172) = 1;
v1 = *(_QWORD *)(a1 + 1032);
v2 = *(unsigned __int16 *)(v1 + 472);
v3 = *(unsigned __int8 *)(v1 + 474);
*(_BYTE *)(a1 + 1090) = v3;
v4 = v2 | (unsigned int)(v3 << 16);
*(_WORD *)(a1 + 1088) = v2;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1504LL))(a1, v4);
*(_BYTE *)(a1 + 1172) = 0;
return SetupTriggerPopup::show(a1, v4);
}