//
// SetupEnterEffectPopup::updateHSVButton from 0x1003e04b0 to 0x1003e0563 (179 bytes)
//
// 0 xrefs:
//
// 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:29:45 +0000
//
__int64 __fastcall SetupEnterEffectPopup::updateHSVButton(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // rax
const char *v3; // rsi
__int64 v4; // rax
v1 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1056) + 1072LL))(*(_QWORD *)(a1 + 1056));
v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v3 = "GJ_hsv2Btn_001.png";
if ( *(float *)(a1 + 1064) == *(float *)&xmmword_100BE3760
&& *(float *)(a1 + 1068) == *((float *)&xmmword_100BE3760 + 1)
&& *(float *)(a1 + 1072) == *((float *)&xmmword_100BE3760 + 2)
&& *(_BYTE *)(a1 + 1076) == BYTE12(xmmword_100BE3760) )
{
v3 = "GJ_hsv2Btn_001.png";
if ( *(_BYTE *)(a1 + 1077) == BYTE13(xmmword_100BE3760) )
v3 = "GJ_hsvBtn_001.png";
}
v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 1160LL))(v1, v4);
}