//
// SetupEnterEffectPopup::updateHSVButton from 0xb43a58 to 0xb43b0c (180 bytes)
//
// 3 xrefs:
// > SetupEnterEffectPopup::hsvPopupClosed @ 0xb43b1c
// > SetupEnterEffectPopup::init @ 0xb44ee4
// > ??> @ 0x1055f8
//
// 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:52 +0000
//
__int64 __fastcall SetupEnterEffectPopup::updateHSVButton(SetupEnterEffectPopup *this)
{
cocos2d::CCSpriteFrameCache **v2; // x20
__int64 (__fastcall *v3)(cocos2d::CCSpriteFrameCache **, __int64); // x21
cocos2d::CCSpriteFrameCache *v4; // x0
const char *v5; // x1
__int64 v6; // x0
v2 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 132) + 1072LL))(*((_QWORD *)this + 132));
v3 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v2 + 145);
v4 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v2);
if ( *((float *)this + 266) == *(float *)&qword_155E2F8
&& *((float *)this + 267) == *((float *)&qword_155E2F8 + 1)
&& *((float *)this + 268) == *(float *)&qword_155E300
&& *((unsigned __int16 *)this + 538) == WORD2(qword_155E300) )
{
v5 = "GJ_hsvBtn_001.png";
}
else
{
v5 = "GJ_hsv2Btn_001.png";
}
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v5);
return v3(v2, v6);
}