// // cocos2d::CCTextureCache::dumpCachedTextureInfo from 0x5f4ec8 to 0x5f4f0c (68 bytes) // // 0 xrefs: // // 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 cocos2d::CCTextureCache::dumpCachedTextureInfo(cocos2d::CCTextureCache *a1) { cocos2d::CCDictionary *m_pTextures; // r3 cocos2d::CCDictElement *m_pElements; // r3 cocos2d::CCDictElement *next; // r4 cocos2d::CCTexture2D *m_pObject; // r5 cocos2d::CCDictElement *v5; // r2 m_pTextures = a1->m_pTextures; if ( m_pTextures ) { m_pElements = m_pTextures->m_pElements; if ( m_pElements ) next = (cocos2d::CCDictElement *)m_pElements->hh.next; else next = nullptr; while ( m_pElements ) { m_pObject = (cocos2d::CCTexture2D *)m_pElements->m_pObject; cocos2d::CCTexture2D::bitsPerPixelForFormat(m_pObject); m_pObject->getPixelsWide(m_pObject); m_pObject->getPixelsHigh(m_pObject); if ( next ) v5 = (cocos2d::CCDictElement *)next->hh.next; else v5 = nullptr; m_pElements = next; next = v5; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source