// // SetupEnterEffectPopup::updateHSVButton from 0x1003f3220 to 0x1003f32d3 (179 bytes) // // 0 xrefs: // // 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 v1; // rbx cocos2d::CCSpriteFrameCache *v2; // rax const char *v3; // rsi cocos2d::CCSpriteFrame *v4; // rax v1 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_hsvButton->getNormalImage)(a1->m_hsvButton); v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v3 = "GJ_hsv2Btn_001.png"; if ( a1->m_hsvValue.h == *(float *)&xmmword_1009A14E0 && a1->m_hsvValue.s == *((float *)&xmmword_1009A14E0 + 1) && a1->m_hsvValue.v == *((float *)&xmmword_1009A14E0 + 2) && a1->m_hsvValue.absoluteSaturation == BYTE12(xmmword_1009A14E0) ) { v3 = "GJ_hsv2Btn_001.png"; if ( a1->m_hsvValue.absoluteBrightness == BYTE13(xmmword_1009A14E0) ) v3 = "GJ_hsvBtn_001.png"; } v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3); (*(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v1 + 1144LL))(v1, v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source