// // SetupAreaTintTriggerPopup::hsvPopupClosed from 0x1004d8fa0 to 0x1004d9068 (200 bytes) // // 2 xrefs: // > @ 0x100953b68 // > @ 0x100954ba0 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall SetupAreaTintTriggerPopup::hsvPopupClosed( SetupAreaTintTriggerPopup *a1, HSVWidgetPopup *a2, cocos2d::ccHSVValue a3) { __int64 v3; // rbx cocos2d::CCSpriteFrameCache *v4; // rax const char *v5; // rsi cocos2d::CCSpriteFrame *v6; // rax _mm_storel_ps((double *)&a1->m_hsvValue.h, (__m128)a3); *(_QWORD *)&a1->m_hsvValue.v = *(_QWORD *)&a3.v; a1->m_hsvChanged = 1; v3 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *, HSVWidgetPopup *))a1->m_hsvButton->getNormalImage)( a1->m_hsvButton, a2); v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = "GJ_hsv2Btn_001.png"; if ( a1->m_hsvValue.h == *(float *)&xmmword_1009A20E8 && a1->m_hsvValue.s == *((float *)&xmmword_1009A20E8 + 1) && a1->m_hsvValue.v == *((float *)&xmmword_1009A20E8 + 2) && a1->m_hsvValue.absoluteSaturation == BYTE12(xmmword_1009A20E8) ) { v5 = "GJ_hsv2Btn_001.png"; if ( a1->m_hsvValue.absoluteBrightness == BYTE13(xmmword_1009A20E8) ) v5 = "GJ_hsvBtn_001.png"; } v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v5); (*(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v3 + 1144LL))(v3, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source