// // CCAnimatedSprite::cleanupSprite from 0x1002fd8b4 to 0x1002fd944 (144 bytes) // // 1 xrefs: // > CCAnimatedSprite::loadType @ 0x1002fd4ac // // 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 __fastcall CCAnimatedSprite::cleanupSprite(CCAnimatedSprite *a1) { CCPartAnimSprite *m_paSprite; // x0 cocos2d::CCSprite *m_fbfSprite; // x0 SpriteAnimationManager *m_animationManager; // x0 cocos2d::CCSprite *v5; // x0 CCPartAnimSprite *v6; // x0 m_paSprite = a1->m_paSprite; if ( m_paSprite ) ((void (__fastcall *)(CCPartAnimSprite *))m_paSprite->cleanup)(m_paSprite); m_fbfSprite = a1->m_fbfSprite; if ( m_fbfSprite ) ((void (__fastcall *)(cocos2d::CCSprite *))m_fbfSprite->cleanup)(m_fbfSprite); m_animationManager = a1->m_animationManager; if ( m_animationManager ) SpriteAnimationManager::doCleanup(m_animationManager); v5 = a1->m_fbfSprite; if ( v5 ) ((void (__fastcall *)(cocos2d::CCSprite *, __int64))v5->removeFromParentAndCleanup)(v5, 1); v6 = a1->m_paSprite; if ( v6 ) ((void (__fastcall *)(CCPartAnimSprite *, __int64))v6->removeFromParentAndCleanup)(v6, 1); a1->m_spriteMode = 0; *(_OWORD *)&a1->m_animationManager = 0u; *(_OWORD *)&a1->m_fbfSprite = 0u; }
GD Web Decomp Icon

GD Web Decomp

Raw Source