// // cocos2d::CCSprite::initWithFile from 0x7f09d8 to 0x7f0a40 (104 bytes) // // 4 xrefs: // > CCCountdown::init @ 0x3c5132 // > LoadingCircleSprite::init @ 0x3d4afa // > CCSpriteGrayscale::create @ 0x3f2ce0 // > PlayerFireBoostSprite::init @ 0x4345a4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:04 +0000 // int __fastcall cocos2d::CCSprite::initWithFile(cocos2d::CCSprite *this, const char *a2) { cocos2d::CCTextureCache *v4; // r0 int result; // r0 int v6; // r4 float v7[2]; // [sp+4h] [bp-1Ch] BYREF _BYTE v8[8]; // [sp+Ch] [bp-14h] BYREF float v9[2]; // [sp+14h] [bp-Ch] BYREF v4 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(this); result = cocos2d::CCTextureCache::addImage(v4, a2, 0); v6 = result; if ( result ) { cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, (const cocos2d::CCRect *)&unk_D2FA48); (*(void (__fastcall **)(float *, int))(*(_DWORD *)v6 + 72))(v7, v6); cocos2d::CCSize::operator=(v9, v7); return (*(int (__fastcall **)(cocos2d::CCSprite *, int, _BYTE *))(*(_DWORD *)this + 508))(this, v6, v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source