//
// TouchControlEditLayer::activeNode from 0xd04434 to 0xd0445c (40 bytes)
//
// 7 xrefs:
// > TouchControlEditLayer::getValue @ 0xd04470
// > TouchControlEditLayer::refreshHud @ 0xd04584
// > TouchControlEditLayer::updateHudVisibility @ 0xd04640
// > TouchControlEditLayer::updateHandles @ 0xd046c4
// > TouchControlEditLayer::ccTouchBegan @ 0xd04f10
// > TouchControlEditLayer::valueDidChange @ 0xd07398
// > ??> @ 0x993d0
//
// 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::activeNode(TouchControlEditLayer *this)
{
__int64 result; // x0
__int64 v3; // x2
result = *((_QWORD *)this + 156);
if ( !result )
{
v3 = *((_QWORD *)this + 153);
if ( v3 != *((_QWORD *)this + 154) )
return *(_QWORD *)v3;
}
return result;
}