//
// GJMGLayer::toggleVisible02 from 0x91783c to 0x917874 (56 bytes)
//
// 2 xrefs:
// > PlayLayer::toggleMGVisibility @ 0x6f2c60
// > ??> @ 0xc96a0
//
// 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:57:20 +0000
//
__int64 *__fastcall GJMGLayer::toggleVisible02(__int64 *this, unsigned __int8 a2)
{
__int64 v2; // x4
if ( *((unsigned __int8 *)this + 449) != a2 )
{
v2 = *this;
*((_BYTE *)this + 449) = a2;
return (__int64 *)(*(__int64 (__fastcall **)(__int64 *, _QWORD))(v2 + 344))(
this,
(unsigned __int8)(a2 & *(_BYTE *)(this + 56)));
}
return this;
}