//
// HSVLiveOverlay::onSelectTab from 0x1403c1240 to 0x1403c126f (47 bytes)
//
// 3 xrefs:
// > HSVLiveOverlay::init @ 0x1403c0d95
// > HSVLiveOverlay::init @ 0x1403c0e77
// > ??> @ 0x14092405c
//
// 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 11:31:28 +0000
//
__int64 __fastcall HSVLiveOverlay::onSelectTab(__int64 a1, __int64 a2)
{
__int64 result; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
if ( *(_DWORD *)(a1 + 712) != (_DWORD)result )
return HSVLiveOverlay::createHSVWidget(a1, (unsigned int)result);
return result;
}