// // VideoOptionsLayer::updateTextureQuality from 0x1000f0f2c to 0x1000f0f98 (108 bytes) // // 3 xrefs: // > VideoOptionsLayer::init @ 0x1000f08cc // > VideoOptionsLayer::onTextureQualityPrev @ 0x1000f0cc4 // > VideoOptionsLayer::onTextureQualityNext @ 0x1000f0cd0 // // 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 VideoOptionsLayer::updateTextureQuality(VideoOptionsLayer *a1, int a2) { unsigned int v3; // w8 if ( a2 >= 0 ) v3 = a2; else v3 = 3; if ( a2 > 3 ) v3 = 0; a1->m_textureQuality = v3; if ( v3 <= 3 ) ((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *))a1->m_qualityLabel->setString)( a1->m_qualityLabel, off_100784B40[v3]); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_qualityLabel, 100.0, 0.75, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source