//
// GameObject::setGlowOpacity from 0x10068e060 to 0x10068e0b5 (85 bytes)
//
// 2 xrefs:
// > PlayLayer::updateVisibility @ 0x100085420
// > PlayLayer::updateInvisibleBlock @ 0x100085923
//
// This function is hookable on this platform (idp: pc, 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:35:06 +0000
//
__int64 __fastcall GameObject::setGlowOpacity(__int64 a1, unsigned __int8 a2)
{
__int64 result; // rax
__int64 v3; // rbx
result = *(_QWORD *)(a1 + 752);
if ( result )
{
v3 = (unsigned __int8)(int)(float)((float)a2 * *(float *)(a1 + 1076));
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 912LL))(result, v3);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 752) + 1104LL))(
*(_QWORD *)(a1 + 752),
(unsigned int)v3);
}
return result;
}