// // VideoOptionsLayer::updateTextureQuality from 0x1404cddc0 to 0x1404cde66 (166 bytes) // // 4 xrefs: // > VideoOptionsLayer::init @ 0x1404cda7f // > VideoOptionsLayer::onTextureQualityPrev @ 0x1404cdda8 // > VideoOptionsLayer::onTextureQualityNext @ 0x1404cddb8 // > @ 0x14092969c // // 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 11:32:59 +0000 // void __fastcall VideoOptionsLayer::updateTextureQuality(__int64 a1, int a2) { const char *v3; // rdx int v4; // edx int v5; // edx if ( a2 > 3 ) { *(_DWORD *)(a1 + 704) = 0; LABEL_3: v3 = "Auto"; goto LABEL_4; } if ( a2 < 0 ) { *(_DWORD *)(a1 + 704) = 3; v3 = "High"; goto LABEL_4; } *(_DWORD *)(a1 + 704) = a2; if ( !a2 ) goto LABEL_3; v4 = a2 - 1; if ( v4 ) { v5 = v4 - 1; if ( v5 ) { if ( v5 != 1 ) goto LABEL_5; v3 = "High"; } else { v3 = (const char *)&dword_14075AA18; } } else { v3 = "Low"; } LABEL_4: (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 696) + 360LL))(*(_QWORD *)(a1 + 696) + 360LL, v3); LABEL_5: cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 696), 100.0, 0.75, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source