//
// SetupEnterEffectPopup::updateHSVButton from 0x693b68 to 0x693bf4 (140 bytes)
//
// 2 xrefs:
// > SetupEnterEffectPopup::hsvPopupClosed @ 0x693c30
// > SetupEnterEffectPopup::init @ 0x694bf8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:13 +0000
//
int __fastcall SetupEnterEffectPopup::updateHSVButton(SetupEnterEffectPopup *this)
{
cocos2d::CCSpriteFrameCache *v2; // r5
int (__fastcall *v3)(cocos2d::CCSpriteFrameCache *, int); // r6
cocos2d::CCSpriteFrameCache *v4; // r0
const char *v5; // r1
int v6; // r0
v2 = (cocos2d::CCSpriteFrameCache *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 183) + 536))(*((_DWORD *)this + 183));
v3 = *(int (__fastcall **)(cocos2d::CCSpriteFrameCache *, int))(*(_DWORD *)v2 + 580);
v4 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);
if ( *((float *)this + 184) == flt_D2D430 )
{
if ( *((float *)this + 185) == flt_D2D434 )
{
if ( *((float *)this + 186) == flt_D2D438 )
{
if ( *((unsigned __int16 *)this + 374) == (unsigned __int16)word_D2D43C )
v5 = "GJ_hsvBtn_001.png";
else
v5 = "GJ_hsv2Btn_001.png";
}
else
{
v5 = "GJ_hsv2Btn_001.png";
}
}
else
{
v5 = "GJ_hsv2Btn_001.png";
}
}
else
{
v5 = "GJ_hsv2Btn_001.png";
}
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v5);
return v3(v2, v6);
}