//
// VideoOptionsLayer::updateTextureQuality from 0x1008816c0 to 0x100881728 (104 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:36:57 +0000
//
__int64 __fastcall VideoOptionsLayer::updateTextureQuality(__int64 a1, int a2)
{
int v2; // ecx
unsigned int v3; // eax
v2 = 3;
if ( a2 >= 0 )
v2 = a2;
v3 = 0;
if ( a2 < 4 )
v3 = v2;
*(_DWORD *)(a1 + 704) = v3;
if ( v3 <= 3 )
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 696) + 928LL))(*(_QWORD *)(a1 + 696), off_100BA66E0[v3]);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 696), 100.0, (__m128)0x3F400000u, (__m128)0LL);
}