// // HSVLiveOverlay::createHSVWidget from 0xa23b74 to 0xa23cf8 (388 bytes) // // 3 xrefs: // > HSVLiveOverlay::init @ 0xa23e9c // > HSVLiveOverlay::onSelectTab @ 0xa24304 // > @ 0x7c620 // // 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 HSVLiveOverlay::createHSVWidget(HSVLiveOverlay *a1, int a2) { cocos2d::CCArray *m_unkArray; // x0 unsigned int v5; // w19 unsigned int v6; // w1 ButtonSprite *v7; // x21 const char *v8; // x1 ConfigureHSVWidget *m_widget; // x0 cocos2d::CCDirector *v10; // x0 HSVWidgetDelegate *v11; // x20 ConfigureHSVWidget *v12; // x0 ConfigureHSVWidget_vtbl *v13; // x2 HSVWidgetDelegate_vtbl *v14; // x21 void (__fastcall *v15)(HSVWidgetDelegate_vtbl *, cocos2d::CCPoint *); // x19 cocos2d::CCPoint v16; // [xsp+70h] [xbp+70h] BYREF cocos2d::ccHSVValue HSV; // 0:x0.16 m_unkArray = a1->m_unkArray; a1->m_activeTab = a2; if ( m_unkArray ) { v5 = 0; while ( v5 < (unsigned int)cocos2d::CCArray::count(m_unkArray) ) { v6 = v5++; v7 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_unkArray, v6); if ( a2 == v7->getTag(v7) ) v8 = "GJ_button_01.png"; else v8 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v7, v8); m_unkArray = a1->m_unkArray; } } m_widget = a1->m_widget; if ( m_widget ) { m_widget->removeMeAndCleanup(m_widget); a1->m_widget = nullptr; } v10 = cocos2d::CCDirector::sharedDirector(); v11 = &a1->HSVWidgetDelegate; cocos2d::CCDirector::getWinSize(v10); HSV = ConfigureHSVWidget::getHSV((GameObject *)v11[1].__vftable, (cocos2d::CCArray *)v11[2].__vftable, a2); v12 = ConfigureHSVWidget::create(HSV, 0, 0); v13 = v12->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v11[7].__vftable = (HSVWidgetDelegate_vtbl *)v12; v13->setTag(v12, a2); (*((void (__fastcall **)(HSVWidgetDelegate_vtbl *, HSVWidgetDelegate_vtbl *))v11[-7].hsvPopupClosed + 55))( v11[-7].__vftable, v11[7].__vftable); v14 = v11[7].__vftable; v15 = *((void (__fastcall **)(HSVWidgetDelegate_vtbl *, cocos2d::CCPoint *))v14->hsvPopupClosed + 23); cocos2d::CCPoint::CCPoint(&v16, 157.0, 163.0); v15(v14, &v16); (*((void (__fastcall **)(HSVWidgetDelegate_vtbl *, float))v11[7].hsvPopupClosed + 20))(v11[7].__vftable, 0.6); v11[7].__vftable[25].hsvPopupClosed = (void (__fastcall *)(HSVWidgetDelegate *__hidden, HSVWidgetPopup *, cocos2d::ccHSVValue))v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source