// // VideoOptionsLayer::onTextureQualityPrev from 0x1007a0210 to 0x1007a0281 (113 bytes) // // 1 xrefs: // > VideoOptionsLayer::init @ 0x10079f9e7 // // 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::onTextureQualityPrev(VideoOptionsLayer *a1, cocos2d::CCObject *a2) { int m_textureQuality; // ecx __int64 v3; // rdx unsigned int v4; // eax m_textureQuality = a1->m_textureQuality; v3 = 3; if ( m_textureQuality > 0 ) v3 = (unsigned int)(m_textureQuality - 1); v4 = 0; if ( m_textureQuality < 5 ) v4 = v3; a1->m_textureQuality = v4; if ( v4 <= 3 ) ((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *, __int64))a1->m_qualityLabel->setString)( a1->m_qualityLabel, off_100990FD8[v4], v3); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_qualityLabel, 100.0, 0.75, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source