//
// GameSettingsLayer::toggleVisibility from 0xc050a0 to 0xc050f8 (88 bytes)
//
// 3 xrefs:
// > KeybindingsLayer::onClose @ 0x995148
// > GameSettingsLayer::onCustomButton @ 0xc0554c
// > ??> @ 0xed1a8
//
// 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 13:03:51 +0000
//
__int64 __fastcall GameSettingsLayer::toggleVisibility(GameSettingsLayer *this, unsigned __int8 a2)
{
unsigned int v2; // w20
v2 = a2;
(*(void (__fastcall **)(GameSettingsLayer *, _QWORD))(*(_QWORD *)this + 344LL))(this, a2);
(*(void (__fastcall **)(GameSettingsLayer *, _QWORD))(*(_QWORD *)this + 1000LL))(this, v2);
return (*(__int64 (__fastcall **)(GameSettingsLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, v2);
}