//
// VideoOptionsLayer::updateTextureQuality from 0x1007a05d0 to 0x1007a0638 (104 bytes)
//
// 0 xrefs:
//
// 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)
{
int v2; // ecx
unsigned int v3; // eax
v2 = 3;
if ( a2 >= 0 )
v2 = a2;
v3 = 0;
if ( a2 < 4 )
v3 = v2;
a1->m_textureQuality = v3;
if ( v3 <= 3 )
((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *))a1->m_qualityLabel->setString)(
a1->m_qualityLabel,
off_100990FD8[v3]);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_qualityLabel, 100.0, 0.75, 0.0);
}