// // VideoOptionsLayer::toggleResolution from 0x8ef0d8 to 0x8ef2f0 (536 bytes) // // 4 xrefs: // > VideoOptionsLayer::onFullscreen @ 0x8ef2fc // > VideoOptionsLayer::onBorderless @ 0x8ef30c // > VideoOptionsLayer::updateResolution @ 0x8ef3c8 // > @ 0xb57b0 // // This function is hookable on this platform (idp: arm, 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:56:57 +0000 // __int64 __fastcall VideoOptionsLayer::toggleResolution(VideoOptionsLayer *this) { __int64 v2; // x0 __int64 *v3; // x1 __int64 *v4; // x1 __int64 v5; // x0 __int64 *v6; // x1 __int64 v7; // x0 __int64 *v8; // x1 __int64 *v9; // x1 __int64 *v10; // x1 v2 = *((_QWORD *)this + 86); if ( *((_BYTE *)this + 752) ) v3 = (__int64 *)&unk_114E8B0; else v3 = &qword_114E8B8; (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v2 + 1072LL))(v2, v3); v4 = (__int64 *)&unk_114E8B0; if ( !*((_BYTE *)this + 752) ) v4 = &qword_114E8B8; (*(void (__fastcall **)(_QWORD, __int64 *))(**((_QWORD **)this + 85) + 1072LL))(*((_QWORD *)this + 85), v4); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 83) + 1056LL))( *((_QWORD *)this + 83), *((unsigned __int8 *)this + 752) ^ 1u); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 84) + 1056LL))( *((_QWORD *)this + 84), *((unsigned __int8 *)this + 752) ^ 1u); v5 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 83) + 1072LL))(*((_QWORD *)this + 83)); v6 = (__int64 *)&unk_114E8B0; if ( !*((_BYTE *)this + 752) ) v6 = &qword_114E8B8; (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 960LL))(v5, v6); v7 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 84) + 1072LL))(*((_QWORD *)this + 84)); v8 = (__int64 *)&unk_114E8B0; if ( !*((_BYTE *)this + 752) ) v8 = &qword_114E8B8; (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v7 + 960LL))(v7, v8); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 90) + 1056LL))( *((_QWORD *)this + 90), *((unsigned __int8 *)this + 752)); v9 = (__int64 *)&unk_114E8B0; if ( *((_BYTE *)this + 752) ) v9 = &qword_114E8B8; CCMenuItemToggler::setSpriteColor(*((_QWORD *)this + 90), (__int64)v9); if ( *((_BYTE *)this + 752) ) v10 = &qword_114E8B8; else v10 = (__int64 *)&unk_114E8B0; (*(void (__fastcall **)(_QWORD, __int64 *))(**((_QWORD **)this + 91) + 1072LL))(*((_QWORD *)this + 91), v10); if ( *((_BYTE *)this + 752) && *((_BYTE *)this + 753) ) { (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 92) + 1056LL))(*((_QWORD *)this + 92), 1); CCMenuItemToggler::setSpriteColor(*((_QWORD *)this + 92), (__int64)&qword_114E8B8); return (*(__int64 (__fastcall **)(_QWORD, __int64 *))(**((_QWORD **)this + 93) + 1072LL))( *((_QWORD *)this + 93), &qword_114E8B8); } else { (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 92) + 1056LL))(*((_QWORD *)this + 92), 0); CCMenuItemToggler::setSpriteColor(*((_QWORD *)this + 92), (__int64)&unk_114E8B0); return (*(__int64 (__fastcall **)(_QWORD, void *))(**((_QWORD **)this + 93) + 1072LL))( *((_QWORD *)this + 93), &unk_114E8B0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source