// // cocos2d::CCSprite::initWithSpriteFrame from 0x18008bbd0 to 0x18008bc32 (98 bytes) // // 7 xrefs: // > @ 0x1800ebc00 // > @ 0x1800ec0d8 // > @ 0x1800ecc58 // > @ 0x180103b10 // > @ 0x180106b08 // > @ 0x1801438a8 // > @ 0x1801b5b98 // // 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 // __int64 __fastcall cocos2d::CCSprite::initWithSpriteFrame(cocos2d::CCSprite *this, struct cocos2d::CCSpriteFrame *a2) { cocos2d::CCSprite_vtbl *v2; // rdi struct cocos2d::CCTexture2D *Texture; // rax unsigned __int8 v6; // bl v2 = this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; Texture = cocos2d::CCSpriteFrame::getTexture(a2); v6 = ((__int64 (__fastcall *)(cocos2d::CCSprite *, struct cocos2d::CCTexture2D *, cocos2d::CCRect *))v2->initWithTexture_0)( this, Texture, &a2->m_obRect); ((void (__fastcall *)(cocos2d::CCSprite *, struct cocos2d::CCSpriteFrame *))this->setDisplayFrame)(this, a2); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source