//
// SimplePlayer::setOpacity from 0x140383200 to 0x1403832c3 (195 bytes)
//
// 2 xrefs:
// > ??> @ 0x14076fd08
// > ??> @ 0x1409229f4
//
// 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:31:06 +0000
//
__int64 __fastcall SimplePlayer::setOpacity(_QWORD *a1, unsigned __int8 a2)
{
__int64 result; // rax
__int64 v5; // rcx
__int64 v6; // rcx
(*(void (__fastcall **)(__int64))(*(_QWORD *)(a1[35] + 320LL) + 40LL))(a1[35] + 320LL);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1[36] + 320LL) + 40LL))(a1[36] + 320LL, a2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1[37] + 320LL) + 40LL))(a1[37] + 320LL, a2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1[38] + 320LL) + 40LL))(a1[38] + 320LL, a2);
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1[39] + 320LL) + 40LL))(a1[39] + 320LL, a2);
v5 = a1[40];
if ( v5 )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v5 + 320) + 40LL))(v5 + 320, a2);
v6 = a1[41];
if ( v6 )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v6 + 320) + 40LL))(v6 + 320, a2);
return result;
}