// // SetupAreaTintTriggerPopup::updateHSVButton from 0x55a4cc to 0x55a558 (140 bytes) // // 3 xrefs: // > SetupAreaTintTriggerPopup::hsvPopupClosed @ 0x55a594 // > SetupAreaTintTriggerPopup::init @ 0x55a99a // > SetupAreaAnimTriggerPopup::init @ 0x55be70 // // 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 SetupAreaTintTriggerPopup::updateHSVButton(SetupAreaTintTriggerPopup *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_AC7A18 ) { if ( a1->m_hsvValue.s == flt_AC7A1C ) { if ( a1->m_hsvValue.v == flt_AC7A20 ) { if ( *(unsigned __int16 *)&a1->m_hsvValue.absoluteSaturation == (unsigned __int16)word_AC7A24 ) 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