//
// TouchControlEditLayer::refreshHud from 0xd04570 to 0xd0462c (188 bytes)
//
// 5 xrefs:
// > TouchControlEditLayer::ccTouchBegan @ 0xd05064
// > TouchControlEditLayer::init @ 0xd069a0
// > TouchControlEditLayer::reloadNodes @ 0xd06e38
// > TouchControlEditLayer::valueDidChange @ 0xd07448
// > ??> @ 0x98530
//
// 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
//
GJUINode *__fastcall TouchControlEditLayer::refreshHud(TouchControlEditLayer *this)
{
GJUINode *result; // x0
unsigned __int8 *v3; // x20
char v4; // w21
unsigned __int8 Opacity; // w0
float v6; // s0
result = (GJUINode *)TouchControlEditLayer::activeNode(this);
v3 = (unsigned __int8 *)result;
if ( result )
{
v4 = *((_BYTE *)this + 744);
*((_BYTE *)this + 744) = 1;
Opacity = GJUINode::getOpacity(result);
SetupTriggerPopup::updateValueControls(this, 1u, (float)Opacity / 255.0);
GJUINode::getButtonScale((GJUINode *)v3);
SetupTriggerPopup::updateValueControls(this, 2u, v6);
*((_BYTE *)this + 744) = v4;
(*(void (__fastcall **)(TouchControlEditLayer *, __int64, _QWORD))(*(_QWORD *)this + 1448LL))(this, 3, v3[381]);
(*(void (__fastcall **)(TouchControlEditLayer *, __int64, _QWORD))(*(_QWORD *)this + 1448LL))(this, 4, v3[382]);
return (GJUINode *)(*(__int64 (__fastcall **)(TouchControlEditLayer *, __int64, _QWORD))(*(_QWORD *)this + 1448LL))(
this,
5,
v3[387]);
}
return result;
}