// // cocos2d::CCImage::initWithImageFile from 0x7ec1fc to 0x7ec292 (150 bytes) // // 2 xrefs: // > cocos2d::CCTextureCache::addImage @ 0x8022c8 // > cocos2d::CCTextureCache::reloadTexture @ 0x802472 // // 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:00 +0000 // int __fastcall cocos2d::CCImage::initWithImageFile(cocos2d::CCFileUtils *a1, int a2, int a3) { int v6; // r0 cocos2d::CCFileUtils *v7; // r0 int v8; // r0 char *v9; // r1 int *v10; // r5 int v11; // r4 int v13; // [sp+14h] [bp-4h] BYREF char v14; // [sp+18h] [bp+0h] BYREF char v15; // [sp+19h] [bp+1h] BYREF char *v16; // [sp+20h] [bp+8h] v13 = 0; v6 = cocos2d::CCFileUtils::sharedFileUtils(a1); v7 = (cocos2d::CCFileUtils *)(*(int (__fastcall **)(char *, int, int, _DWORD))(*(_DWORD *)v6 + 24))(&v14, v6, a2, 0); v8 = cocos2d::CCFileUtils::sharedFileUtils(v7); if ( (v14 & 1) != 0 ) v9 = v16; else v9 = &v15; v10 = (int *)(*(int (__fastcall **)(int, char *, const char *, int *))(*(_DWORD *)v8 + 16))(v8, v9, "rb", &v13); if ( v10 ) { if ( v13 ) v11 = cocos2d::CCImage::initWithImageData(a1, v10, v13, a3, 0, 0, 8); else v11 = 0; operator delete[](v10); } else { v11 = 0; } std::string::~string((int)&v14); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source