// // SetupEnterEffectPopup::updateHSVButton from 0x55c65c to 0x55c6e8 (140 bytes) // // 2 xrefs: // > SetupEnterEffectPopup::hsvPopupClosed @ 0x55c724 // > SetupEnterEffectPopup::init @ 0x55d38e // // 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; // r5 void (__fastcall *setSkewY)(cocos2d::CCNode *__hidden, float); // r6 cocos2d::CCSpriteFrameCache *v4; // r0 const char *v5; // r1 cocos2d::CCSpriteFrame *v6; // r0 v2 = a1->m_hsvButton->getNormalImage(a1->m_hsvButton); setSkewY = v2->__vftable[1].setSkewY; v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( a1->m_hsvValue.h == flt_AC7A4C ) { if ( a1->m_hsvValue.s == flt_AC7A50 ) { if ( a1->m_hsvValue.v == flt_AC7A54 ) { if ( *(unsigned __int16 *)&a1->m_hsvValue.absoluteSaturation == (unsigned __int16)word_AC7A58 ) 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); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSpriteFrame *))setSkewY)(v2, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source