// // cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName from 0xaa2110 to 0xaa21bc (172 bytes) // // 2 xrefs: // > @ 0xaa8b0 // > @ 0x11f8280 // // 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 // bool cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName( cocos2d::extension::CCScale9Sprite *a1, const char *a2, cocos2d::CCRect a3) { cocos2d::CCRect *v3; // x2 cocos2d::CCSpriteFrameCache *v5; // x0 cocos2d::CCSpriteFrame *v6; // x20 bool (__fastcall *initWithSpriteFrame)(cocos2d::extension::CCScale9Sprite *__hidden, cocos2d::CCSpriteFrame *, cocos2d::CCRect); // x23 cocos2d::CCRect *v9; // [xsp+40h] [xbp+40h] cocos2d::CCRect v11; // [xsp+58h] [xbp+58h] BYREF v9 = v3; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, a2); if ( !v6 ) return 0; initWithSpriteFrame = a1->initWithSpriteFrame; cocos2d::CCRect::CCRect(&v11, v9); return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteFrame *, cocos2d::CCRect *))initWithSpriteFrame)( a1, v6, &v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source