// // cocos2d::CCImage::initWithImageFileThreadSafe from 0x10002ec8c to 0x10002ed38 (172 bytes) // // 1 xrefs: // > sub_10013C134 @ 0x10013c54c // // 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::initWithImageFileThreadSafe(__int64 a1, __int64 a2, int a3) { __int64 v6; // x0 void *v7; // x20 bool v8; // zf __int64 result; // x0 __int64 v10; // x19 __int64 v11; // [xsp+8h] [xbp-28h] BYREF v11 = 0; v6 = cocos2d::CCFileUtils::sharedFileUtils(); v7 = (void *)(*(__int64 (__fastcall **)(__int64, __int64, const char *, __int64 *))(*(_QWORD *)v6 + 32LL))( 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