//
// GameObject::setGlowOpacity from 0x44d004 to 0x44d04c (72 bytes)
//
// 3 xrefs:
// > PlayLayer::updateInvisibleBlock @ 0x401a44
// > PlayLayer::updateVisibility @ 0x407114
// > GameObject::setOpacity @ 0x44d11a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:35 +0000
//
int __fastcall GameObject::setGlowOpacity(GameObject *this, int a2)
{
int result; // r0
unsigned int v4; // [sp+4h] [bp-8h]
result = *((_DWORD *)this + 160);
if ( result )
{
v4 = (unsigned int)(float)((float)a2 * *((float *)this + 235));
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)result + 456))(result, (unsigned __int8)v4);
return (*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 160) + 552))(
*((_DWORD *)this + 160),
(unsigned __int8)v4);
}
return result;
}