// // VideoOptionsLayer::updateTextureQuality from 0x7cc2ac to 0x7cc3d0 (292 bytes) // // 4 xrefs: // > VideoOptionsLayer::onTextureQualityPrev @ 0x7cc3dc // > VideoOptionsLayer::onTextureQualityNext @ 0x7cc3e8 // > VideoOptionsLayer::init @ 0x7cd920 // > @ 0x2ef50 // // 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 VideoOptionsLayer::updateTextureQuality(VideoOptionsLayer *a1, int a2) { if ( a2 > 3 ) { a1->m_textureQuality = 0; goto LABEL_9; } if ( a2 < 0 ) { a1->m_textureQuality = 3; LABEL_12: a1->m_qualityLabel->setString(a1->m_qualityLabel, "High"); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_qualityLabel, 100.0, 0.75, 0.0); return; } a1->m_textureQuality = a2; if ( a2 == 2 ) { a1->m_qualityLabel->setString(a1->m_qualityLabel, "Medium"); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_qualityLabel, 100.0, 0.75, 0.0); return; } if ( a2 == 3 ) goto LABEL_12; if ( a2 != 1 ) { LABEL_9: a1->m_qualityLabel->setString(a1->m_qualityLabel, "Auto"); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_qualityLabel, 100.0, 0.75, 0.0); return; } a1->m_qualityLabel->setString(a1->m_qualityLabel, "Low"); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_qualityLabel, 100.0, 0.75, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source