//
// GJMGLayer::toggleVisible01 from 0x5466e8 to 0x546704 (28 bytes)
//
// 0 xrefs:
//
// 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:23 +0000
//
int __fastcall GJMGLayer::toggleVisible01(int this, int a2)
{
int v2; // r3
int (__fastcall *v3)(int, int); // r3
if ( *(unsigned __int8 *)(this + 340) != a2 )
{
v2 = *(_DWORD *)this;
*(_BYTE *)(this + 340) = a2;
v3 = *(int (__fastcall **)(int, int))(v2 + 172);
if ( a2 )
a2 = *(unsigned __int8 *)(this + 341);
return v3(this, a2);
}
return this;
}