//
// TouchControlEditLayer::updateHudVisibility from 0xd04630 to 0xd04694 (100 bytes)
//
// 5 xrefs:
// > TouchControlEditLayer::ccTouchBegan @ 0xd05074
// > TouchControlEditLayer::init @ 0xd069a8
// > TouchControlEditLayer::reloadNodes @ 0xd06e48
// > TouchControlEditLayer::valueDidChange @ 0xd07458
// > ??> @ 0xc0af0
//
// 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:06:55 +0000
//
__int64 __fastcall TouchControlEditLayer::updateHudVisibility(TouchControlEditLayer *this)
{
__int64 active; // x0
__int64 v3; // x2
active = TouchControlEditLayer::activeNode(this);
if ( active )
v3 = *(unsigned __int8 *)(active + 381) ^ 1u;
else
v3 = 1;
(*(void (__fastcall **)(TouchControlEditLayer *, __int64, __int64))(*(_QWORD *)this + 1352LL))(this, 1, v3);
return (*(__int64 (__fastcall **)(TouchControlEditLayer *, __int64, _QWORD))(*(_QWORD *)this + 1352LL))(
this,
2,
*((unsigned __int8 *)this + 1012) ^ 1u);
}