// // cocos2d::CCSpriteFrame::copyWithZone from 0x18008f850 to 0x18008f906 (182 bytes) // // 3 xrefs: // > @ 0x180104020 // > @ 0x1801438a8 // > @ 0x1801b61f8 // // 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 // // Hidden C++ exception states: #wind=1 cocos2d::CCSpriteFrame *__fastcall cocos2d::CCSpriteFrame::copyWithZone( cocos2d::CCSpriteFrame *this, struct cocos2d::CCZone *a2) { cocos2d::CCSpriteFrame *v3; // rax cocos2d::CCSpriteFrame *v4; // rbx cocos2d::CCSpriteFrame *v5; // rbx std::string *p_m_strTextureFilename; // rdx cocos2d::CCTexture2D *m_pobTexture; // rdi cocos2d::CCObject *v8; // rcx v3 = (cocos2d::CCSpriteFrame *)operator new(0xC8u); v4 = v3; if ( v3 ) { memset(v3, 0, sizeof(cocos2d::CCSpriteFrame)); v5 = cocos2d::CCSpriteFrame::CCSpriteFrame(v4); } else { v5 = nullptr; } 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; cocos2d::CCSpriteFrame::initWithTextureFilename( v5, p_m_strTextureFilename->m_data.m_smallStorage._Elems, &this->m_obRectInPixels, this->m_bRotated, &this->m_obOffsetInPixels, &this->m_obOriginalSizeInPixels); m_pobTexture = this->m_pobTexture; v8 = v5->m_pobTexture; if ( v8 != m_pobTexture ) { if ( v8 ) cocos2d::CCObject::release(v8); if ( m_pobTexture ) cocos2d::CCObject::retain(m_pobTexture); v5->m_pobTexture = m_pobTexture; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source