// // VideoOptionsLayer::updateTextureQuality from 0x52cfc8 to 0x52d020 (88 bytes) // // 3 xrefs: // > VideoOptionsLayer::onTextureQualityPrev @ 0x52d03a // > VideoOptionsLayer::onTextureQualityNext @ 0x52d044 // > VideoOptionsLayer::init @ 0x5316e4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:01 +0000 // int __fastcall VideoOptionsLayer::updateTextureQuality(VideoOptionsLayer *this, int a2) { int v3; // r0 const char *v4; // r1 if ( a2 > 3 ) { a2 = 0; } else if ( a2 < 0 ) { a2 = 3; } v3 = *((_DWORD *)this + 134); *((_DWORD *)this + 135) = a2; switch ( a2 ) { case 2: v4 = "Medium"; break; case 3: v4 = "High"; break; case 1: v4 = "Low"; break; default: v4 = "Auto"; break; } (*(void (__fastcall **)(int, const char *))(*(_DWORD *)v3 + 464))(v3, v4); return cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 134), 100.0, 0.75, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source