//
// GameObject::shouldShowPickupEffects from 0x10025e300 to 0x10025e360 (96 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::destroyObject @ 0x100128969
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall GameObject::shouldShowPickupEffects(GameObject *a1)
{
bool result; // al
char v2; // cl
cocos2d::CCSprite *m_colorSprite; // rdi
if ( a1->m_hasNoEffects || a1->m_isInvisible )
return 0;
v2 = ((__int64 (__fastcall *)(GameObject *))a1->getOpacity)(a1);
result = 1;
if ( !v2 )
{
m_colorSprite = a1->m_colorSprite;
return m_colorSprite
&& ((unsigned __int8 (__fastcall *)(cocos2d::CCSprite *))m_colorSprite->getOpacity)(m_colorSprite) != 0;
}
return result;
}