//
// TouchControlEditLayer::updateHudVisibility from 0x7a2af0 to 0x7a2b2a (58 bytes)
//
// 4 xrefs:
// > TouchControlEditLayer::ccTouchBegan @ 0x7a327e
// > TouchControlEditLayer::init @ 0x7a42b6
// > TouchControlEditLayer::reloadNodes @ 0x7a44f6
// > TouchControlEditLayer::valueDidChange @ 0x7a4f34
//
// 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:59:55 +0000
//
int __fastcall TouchControlEditLayer::updateHudVisibility(TouchControlEditLayer *this)
{
int active; // r0
int v3; // r2
active = TouchControlEditLayer::activeNode(this);
if ( active )
v3 = *(unsigned __int8 *)(active + 317) ^ 1;
else
v3 = 1;
(*(void (__fastcall **)(TouchControlEditLayer *, int, int))(*(_DWORD *)this + 676))(this, 1, v3);
return (*(int (__fastcall **)(TouchControlEditLayer *, int, int))(*(_DWORD *)this + 676))(
this,
2,
*((unsigned __int8 *)this + 712) ^ 1);
}