//
// GameSettingsLayer::toggleVisibility from 0x7108c0 to 0x7108ea (42 bytes)
//
// 2 xrefs:
// > KeybindingsLayer::onClose @ 0x5891a8
// > GameSettingsLayer::onCustomButton @ 0x710c0e
//
// 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:57:44 +0000
//
int __fastcall GameSettingsLayer::toggleVisibility(GameSettingsLayer *this, int a2)
{
(*(void (__fastcall **)(GameSettingsLayer *))(*(_DWORD *)this + 172))(this);
(*(void (__fastcall **)(GameSettingsLayer *, int))(*(_DWORD *)this + 500))(this, a2);
return (*(int (__fastcall **)(GameSettingsLayer *, int))(*(_DWORD *)this + 536))(this, a2);
}