//
// EffectGameObject::setOpacity from 0x140647bb0 to 0x140647be7 (55 bytes)
//
// 37 xrefs:
// > ??> @ 0x14081eb80
// > ??> @ 0x14081ebf8
// > ??> @ 0x14081ec70
// > ??> @ 0x14081f3a0
// > ??> @ 0x14081fad0
// > ??> @ 0x14081fb48
// > ??> @ 0x140820318
// > ??> @ 0x140822d08
// > ??> @ 0x140822d80
// > ??> @ 0x140822e20
// > ??> @ 0x140822ec0
// > ??> @ 0x140823608
// > ??> @ 0x140824418
// > ??> @ 0x1408244b8
// > ??> @ 0x140825958
// > ??> @ 0x1408259d0
// > ??> @ 0x140825a48
// > ??> @ 0x140826218
// > ??> @ 0x140827168
// > ??> @ 0x1408286a8
// > ??> @ 0x140828798
// > ??> @ 0x1408295d0
// > ??> @ 0x140829d78
// > ??> @ 0x14082b218
// > ??> @ 0x14082b358
// > ??> @ 0x14082b408
// > ??> @ 0x14082b480
// > ??> @ 0x14082b4f8
// > ??> @ 0x14082bc28
// > ??> @ 0x14082d780
// > ??> @ 0x14082d820
// > ??> @ 0x14082df50
// > ??> @ 0x14082dfc8
// > ??> @ 0x140830f70
// > ??> @ 0x140831010
// > ??> @ 0x140831f38
// > ??> @ 0x140931430
//
// 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 11:35:37 +0000
//
__int64 __fastcall EffectGameObject::setOpacity(__int64 a1, int a2)
{
__int64 result; // rax
__int64 v4; // rcx
result = GameObject::setOpacity(a1, a2);
v4 = *(_QWORD *)(a1 + 1520);
if ( v4 )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v4 + 368) + 40LL))(
v4 + 368,
*(unsigned __int8 *)(a1 + 9));
return result;
}