// // SetupEnterEffectPopup::updateHSVButton from 0xa13138 to 0xa131ec (180 bytes) // // 3 xrefs: // > SetupEnterEffectPopup::hsvPopupClosed @ 0xa131fc // > SetupEnterEffectPopup::init @ 0xa145b8 // > @ 0xc9030 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void SetupEnterEffectPopup::updateHSVButton(SetupEnterEffectPopup *a1) { cocos2d::CCNode *v2; // x20 void (__fastcall *setSkewY)(cocos2d::CCNode *__hidden, float); // x21 cocos2d::CCSpriteFrameCache *v4; // x0 const char *v5; // x1 cocos2d::CCSpriteFrame *v6; // x0 v2 = a1->m_hsvButton->getNormalImage(a1->m_hsvButton); setSkewY = v2->__vftable[1].setSkewY; v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( a1->m_hsvValue.h == *(float *)&qword_1244078 && a1->m_hsvValue.s == *((float *)&qword_1244078 + 1) && a1->m_hsvValue.v == *(float *)&qword_1244080 && *(unsigned __int16 *)&a1->m_hsvValue.absoluteSaturation == WORD2(qword_1244080) ) { v5 = "GJ_hsvBtn_001.png"; } else { v5 = "GJ_hsv2Btn_001.png"; } v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v5); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSpriteFrame *))setSkewY)(v2, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source