// // cocos2d::CCImage::initWithImageFile from 0x10002e968 to 0x10002ea60 (248 bytes) // // 1 xrefs: // > cocos2d::CCTextureCache::addImage @ 0x10013cbf8 // // This function is hookable on this platform (idp: arm, 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 10:57:29 +0000 // __int64 __fastcall cocos2d::CCImage::initWithImageFile(__int64 a1, __int64 a2) { __int64 v4; // x22 __int64 v5; // x0 void **v6; // x1 void *v7; // x21 bool v8; // zf __int64 result; // x0 __int64 v10; // x19 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v12; // [xsp+17h] [xbp-39h] __int64 v13; // [xsp+18h] [xbp-38h] BYREF v13 = 0; v4 = cocos2d::CCFileUtils::sharedFileUtils(); v5 = cocos2d::CCFileUtils::sharedFileUtils(); (*(void (__fastcall **)(void **__return_ptr, __int64, __int64, _QWORD))(*(_QWORD *)v5 + 48LL))(__p, v5, a2, 0); if ( v12 >= 0 ) v6 = __p; else v6 = (void **)__p[0]; v7 = (void *)(*(__int64 (__fastcall **)(__int64, void **, const char *, __int64 *))(*(_QWORD *)v4 + 32LL))( v4, v6, "rb", &v13); if ( v12 < 0 ) operator delete(__p[0]); if ( v7 ) v8 = v13 == 0; else v8 = 1; if ( v8 ) { v10 = 0; result = 0; if ( !v7 ) return result; } else { v10 = cocos2d::CCImage::initWithImageData(a1, v7); } operator delete[](v7); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source