// // CCSpritePlus::createWithSpriteFrame from 0x5a8568 to 0x5a8624 (188 bytes) // // 2 xrefs: // > CCSpritePlus::createWithSpriteFrameName @ 0x5a8640 // > @ 0xc2d78 // // 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 // CCSpritePlus *CCSpritePlus::createWithSpriteFrame(cocos2d::CCSpriteFrame *a1) { CCSpritePlus *v2; // x19 __int64 (__fastcall **v3)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // x1 v2 = (CCSpritePlus *)operator new(0x270u); cocos2d::CCSprite::CCSprite(v2); v2->m_followers = nullptr; v3 = &off_1142B00; v2->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CCSpritePlus_vtbl *)&off_1142B00; v2->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_1142FE8; v2->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_1143068; v2->m_followingSprite = nullptr; v2->m_hasFollower = 0; v2->m_propagateScaleChanges = 0; v2->m_propagateFlipChanges = 0; if ( !a1 ) goto LABEL_2; if ( !cocos2d::CCSprite::initWithSpriteFrame(v2, a1) ) { v3 = (__int64 (__fastcall **)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *))v2->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; LABEL_2: ((void (__fastcall *)(CCSpritePlus *))v3[2])(v2); return nullptr; } cocos2d::CCObject::autorelease(v2); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source