//
// GJUINode::setOpacity from 0x6efd3c to 0x6efd8c (80 bytes)
//
// 5 xrefs:
// > GJUINode::init @ 0x6efec0
// > GJUINode::loadFromConfig @ 0x6f0094
// > UIOptionsLayer::valueDidChange @ 0xa2e8e4
// > TouchControlEditLayer::valueDidChange @ 0xd07478
// > ??> @ 0x7f6d8
//
// 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 12:51:47 +0000
//
__int64 __fastcall GJUINode::setOpacity(GJUINode *this, unsigned __int8 a2)
{
unsigned int v3; // w20
__int64 result; // x0
v3 = a2;
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 40) + 912LL))(*((_QWORD *)this + 40), a2);
result = *((_QWORD *)this + 41);
if ( result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 912LL))(result, v3);
return result;
}