//
// GameObject::shouldShowPickupEffects from 0x9b2a1c to 0x9b2a90 (116 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::destroyObject @ 0x88b2fc
// > ??> @ 0xc1ad0
//
// 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 GameObject::shouldShowPickupEffects(GameObject *a1)
{
bool result; // w0
int v3; // w1
cocos2d::CCSprite *m_colorSprite; // x0
if ( a1->m_hasNoEffects || a1->m_isInvisible )
return 0;
v3 = a1->getOpacity(a1);
result = 1;
if ( !v3 )
{
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite )
return m_colorSprite->getOpacity(m_colorSprite) != 0;
return 0;
}
return result;
}