// // cocos2d::CCSprite::initWithFile from 0x5e61a8 to 0x5e61d2 (42 bytes) // // 1 xrefs: // > CCSpriteGrayscale::create @ 0x307168 // // 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::CCSprite::initWithFile(cocos2d::CCSprite *a1, const char *a2) { const cocos2d::CCRect *v2; // r2 const cocos2d::CCRect *v4; // r5 cocos2d::CCTextureCache *v6; // r0 cocos2d::CCTexture2D *v7; // r0 v4 = v2; v6 = cocos2d::CCTextureCache::sharedTextureCache(); v7 = cocos2d::CCTextureCache::addImage(v6, a2, 0); if ( v7 ) LOBYTE(v7) = a1->initWithTexture_0(a1, v7, v4); return (char)v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source