//
// ColorSelectPopup::onToggleHSVMode from 0x100807080 to 0x1008070b5 (53 bytes)
//
// 1 xrefs:
// > ColorSelectPopup::init @ 0x100804ab0
//
// 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::onToggleHSVMode(__int64 a1)
{
*(_BYTE *)(a1 + 1256) ^= 1u;
*(_DWORD *)(a1 + 1176) = 0;
ColorSelectPopup::updateCopyColorTextInputLabel(a1);
ColorSelectPopup::updateCopyColor(a1);
return ColorSelectPopup::updateHSVMode(a1);
}