// // cocos2d::CCImage::initWithImageFileThreadSafe from 0x10002b3ac to 0x10002b458 (172 bytes) // // 1 xrefs: // > sub_1001136B0 @ 0x100113ac8 // // 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 __fastcall cocos2d::CCImage::initWithImageFileThreadSafe( cocos2d::CCImage *a1, const char *a2, cocos2d::CCImage::EImageFormat a3) { cocos2d::CCFileUtils *v6; // x0 void *v7; // x20 bool v8; // zf bool result; // w0 bool v10; // w19 __int64 v11; // [xsp+8h] [xbp-28h] BYREF v11 = 0; v6 = cocos2d::CCFileUtils::sharedFileUtils(); v7 = (void *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *, const char *, const char *, __int64 *))v6->addSearchResolutionsOrder)( v6, a2, "rb", &v11); if ( v7 ) v8 = v11 == 0; else v8 = 1; if ( v8 ) { v10 = 0; result = 0; if ( !v7 ) return result; } else { v10 = cocos2d::CCImage::initWithImageData(a1, v7, v11, a3, 0, 0, 8, 0); } operator delete[](v7); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source