//
// HSVLiveOverlay::onSelectTab from 0xb50fd0 to 0xb5101c (76 bytes)
//
// 4 xrefs:
// > ??> @ 0x76bb8
// > HSVLiveOverlay::init @ 0xb50bc4
// > HSVLiveOverlay::init @ 0xb50c74
// > ??> @ 0x1543030
//
// This function is hookable on this platform (idp: arm, 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 13:01:59 +0000
//
__int64 __fastcall HSVLiveOverlay::onSelectTab(HSVLiveOverlay *this, cocos2d::CCObject *a2)
{
unsigned int v3; // w1
__int64 result; // x0
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
result = *((unsigned int *)this + 178);
if ( v3 != (_DWORD)result )
return HSVLiveOverlay::createHSVWidget(this, v3);
return result;
}