//
// GJChestSprite::setOpacity from 0x61a1ac to 0x61a1e2 (54 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJChestSprite::setOpacity @ 0x61a1e6
//
// 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:54:58 +0000
//
cocos2d::CCArray *__fastcall GJChestSprite::setOpacity(GJChestSprite *this, int a2)
{
cocos2d::CCArray *result; // r0
cocos2d::CCArray *v5; // r4
int v6; // r0
cocos2d::CCSprite::setOpacity(this, a2);
result = (cocos2d::CCArray *)(*(int (__fastcall **)(GJChestSprite *))(*(_DWORD *)this + 244))(this);
v5 = result;
if ( result )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
if ( result )
{
v6 = cocos2d::CCArray::objectAtIndex(v5, 0);
return (cocos2d::CCArray *)(*(int (__fastcall **)(int, int))(*(_DWORD *)v6 + 456))(v6, a2);
}
}
return result;
}