// // cocos2d::CCSpriteFrame::getTexture from 0x18008fb80 to 0x18008fbd2 (82 bytes) // // 9 xrefs: // > cocos2d::CCParticleSystemQuad::setDisplayFrame @ 0x18006ac54 // > cocos2d::CCSprite::initWithSpriteFrame @ 0x18008bbf1 // > cocos2d::CCSprite::isFrameDisplayed @ 0x18008bee0 // > cocos2d::CCSprite::setDisplayFrame @ 0x18008c49f // > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x1800925d7 // > @ 0x18013da68 // > @ 0x18013da78 // > @ 0x1801438a8 // > @ 0x1801b6234 // // 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 // struct cocos2d::CCTexture2D *__fastcall cocos2d::CCSpriteFrame::getTexture(cocos2d::CCSpriteFrame *this) { struct cocos2d::CCTexture2D *result; // rax std::string *p_m_strTextureFilename; // rbx cocos2d::CCTextureCache *v3; // rax result = this->m_pobTexture; if ( !result ) { if ( this->m_strTextureFilename.m_data.m_size ) { p_m_strTextureFilename = &this->m_strTextureFilename; if ( this->m_strTextureFilename.m_data.m_capacity > 0xF ) p_m_strTextureFilename = (std::string *)p_m_strTextureFilename->m_data.m_bigStorage; v3 = cocos2d::CCTextureCache::sharedTextureCache(); return cocos2d::CCTextureCache::addImage(v3, p_m_strTextureFilename->m_data.m_smallStorage._Elems, 0); } else { return nullptr; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source