//
// GameObject::setGlowOpacity from 0x76eb44 to 0x76ebac (104 bytes)
//
// 5 xrefs:
// > PlayLayer::updateVisibility @ 0x7010e8
// > PlayLayer::updateVisibility @ 0x701494
// > GameObject::setOpacity @ 0x76ecec
// > GameObject::setOpacity @ 0x76edd8
// > ??> @ 0x4a7e8
//
// 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:53:12 +0000
//
__int64 __fastcall GameObject::setGlowOpacity(__int64 this, unsigned __int8 a2)
{
int v2; // w19
__int64 v3; // x1
__int64 v4; // x20
float v5; // s0
unsigned int v6; // w19
v2 = a2;
v3 = *(_QWORD *)(this + 752);
if ( v3 )
{
v4 = this;
v5 = (float)v2 * *(float *)(this + 1076);
v6 = (unsigned __int8)(unsigned int)v5;
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v3 + 912LL))(
*(_QWORD *)(this + 752),
(unsigned __int8)(unsigned int)v5);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 752) + 1104LL))(*(_QWORD *)(v4 + 752), v6);
}
return this;
}