// // cocos2d::CCSprite::initWithFile from 0x18008ed50 to 0x18008edb5 (101 bytes) // // 7 xrefs: // > @ 0x1800f1d10 // > @ 0x1800f21f8 // > @ 0x1800f2da8 // > @ 0x18010a1e8 // > @ 0x18010d200 // > @ 0x18014cf68 // > @ 0x1801bfe5c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:07 +0000 // bool __fastcall cocos2d::CCSprite::initWithFile( cocos2d::CCSprite *this, const char *a2, const struct cocos2d::CCRect *a3) { cocos2d::CCTextureCache *v6; // rax struct cocos2d::CCTexture2D *v7; // rax v6 = cocos2d::CCTextureCache::sharedTextureCache(); v7 = cocos2d::CCTextureCache::addImage(v6, a2, 0); if ( v7 ) LOBYTE(v7) = (*(bool (__fastcall **)(cocos2d::CCSprite *, struct cocos2d::CCTexture2D *, const struct cocos2d::CCRect *))(*(_QWORD *)this + 896LL))( this, v7, a3); return (char)v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source