//
// GJItemIcon::setOpacity from 0x10035aae0 to 0x10035ab75 (149 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b24818
//
// 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:28:53 +0000
//
__int64 __fastcall GJItemIcon::setOpacity(__int64 a1, unsigned int a2)
{
__int64 result; // rax
__int64 v3; // rbx
unsigned int v4; // r15d
__int64 v5; // rax
cocos2d::CCSprite::setOpacity(a1, a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 600) + 912LL))(*(_QWORD *)(a1 + 600), a2);
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 600) + 488LL))(*(_QWORD *)(a1 + 600));
if ( result )
{
v3 = result;
result = sub_1007FEF90(result);
if ( (_DWORD)result )
{
v4 = 0;
do
{
v5 = sub_1007FEFE0(v3, v4);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 912LL))(v5, (unsigned __int8)a2);
++v4;
result = sub_1007FEF90(v3);
}
while ( v4 < (unsigned int)result );
}
}
return result;
}