// // GameObject::shouldShowPickupEffects from 0x10034943c to 0x1003494b0 (116 bytes) // // 1 xrefs: // > GJBaseGameLayer::destroyObject @ 0x1001e94ac // // 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) { cocos2d::CCSprite *m_colorSprite; // x0 if ( a1->m_hasNoEffects ) { LOBYTE(m_colorSprite) = 0; } else if ( a1->m_isInvisible ) { LOBYTE(m_colorSprite) = 0; } else if ( ((unsigned int (__fastcall *)(GameObject *))a1->getOpacity)(a1) ) { LOBYTE(m_colorSprite) = 1; } else { m_colorSprite = a1->m_colorSprite; if ( m_colorSprite ) LOBYTE(m_colorSprite) = ((unsigned int (__fastcall *)(cocos2d::CCSprite *))m_colorSprite->getOpacity)(m_colorSprite) != 0; } return (char)m_colorSprite; }
GD Web Decomp Icon

GD Web Decomp

Raw Source