// // SetupEnterEffectPopup::updateHSVButton from 0x1004010c0 to 0x100401188 (200 bytes) // // 3 xrefs: // > SetupEnterEffectPopup::init @ 0x1003ffb7c // > SetupEnterEffectPopup::hsvPopupClosed @ 0x100401574 // > sub_100401578 @ 0x10040158c // // 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 __fastcall SetupEnterEffectPopup::updateHSVButton(SetupEnterEffectPopup *a1) { __int64 v2; // x19 cocos2d::CCSpriteFrameCache *v3; // x0 const char *v4; // x1 cocos2d::CCSpriteFrame *v5; // x1 v2 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_hsvButton->getNormalImage)(a1->m_hsvButton); v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( a1->m_hsvValue.h == *(float *)&xmmword_10086E9D0 && a1->m_hsvValue.s == *((float *)&xmmword_10086E9D0 + 1) && a1->m_hsvValue.v == *((float *)&xmmword_10086E9D0 + 2) ) { v4 = "GJ_hsv2Btn_001.png"; if ( __PAIR64__(a1->m_hsvValue.absoluteBrightness, a1->m_hsvValue.absoluteSaturation) == __PAIR64__( BYTE13(xmmword_10086E9D0), BYTE12(xmmword_10086E9D0)) ) v4 = "GJ_hsvBtn_001.png"; } else { v4 = "GJ_hsv2Btn_001.png"; } v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, v4); (*(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v2 + 1144LL))(v2, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source