// // GameObject::deactivateObject from 0x353162 to 0x353206 (164 bytes) // // 1 xrefs: // > EnhancedGameObject::deactivateObject @ 0x3535d0 // // 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 // void GameObject::deactivateObject(GameObject *a1, bool a2) { GameObject_vtbl *v3; // r3 int v4; // r3 cocos2d::CCSprite *m_glowSprite; // r0 cocos2d::CCSprite *m_colorSprite; // r0 if ( a2 ) a1->m_unk3ee = 1; if ( a1->m_unk3ee ) { if ( a1->m_isActivated ) { v3 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_isActivated = 0; v3->setVisible(a1, 0); a1->removeFromParentAndCleanup(a1, 0); v4 = *(_DWORD *)&a1->m_enterType; a1->m_baseOrDetailBlending = 0; if ( v4 != -1 ) { a1->m_enterType = -1; a1->m_exitType = -1; a1->m_unk3E8 = 1; ((void (__fastcall *)(GameObject *, int))a1->setRScaleX)(a1, 1065353216); ((void (__fastcall *)(GameObject *, int))a1->setRScaleY)(a1, 1065353216); } m_glowSprite = a1->m_glowSprite; if ( m_glowSprite ) m_glowSprite->removeFromParentAndCleanup(m_glowSprite, 0); m_colorSprite = a1->m_colorSprite; if ( m_colorSprite ) { if ( !a1->m_unk28c ) ((void (__fastcall *)(cocos2d::CCSprite *))m_colorSprite->removeFromParentAndCleanup)(m_colorSprite); } } } else { a1->m_unk3ee = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source