// // cocos2d::CCImage::initWithImageFileThreadSafe from 0x5e1f28 to 0x5e1f96 (110 bytes) // // 1 xrefs: // > sub_5F5AF0 @ 0x5f5cea // // 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 cocos2d::CCImage::initWithImageFileThreadSafe( cocos2d::CCImage *a1, const char *a2, cocos2d::CCImage::EImageFormat a3) { cocos2d::CCFileUtilsAndroid *v6; // r0 unsigned __int8 *FileDataForAsync; // r5 bool v8; // r4 int v10; // [sp+10h] [bp-Ch] BYREF v10 = 0; v6 = (cocos2d::CCFileUtilsAndroid *)cocos2d::CCFileUtils::sharedFileUtils(); FileDataForAsync = cocos2d::CCFileUtilsAndroid::getFileDataForAsync(v6, a2, "rb", (unsigned int *)&v10); if ( !FileDataForAsync ) return 0; if ( v10 ) v8 = cocos2d::CCImage::initWithImageData(a1, FileDataForAsync, v10, a3, 0, 0, 8, 0); else v8 = 0; operator delete[](FileDataForAsync); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source