// // cocos2d::CCImage::initWithImageFileThreadSafe from 0xd7d63c to 0xd7d710 (212 bytes) // // 2 xrefs: // > sub_DA76B4 @ 0xda7840 // > @ 0xe8480 // // 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 13:08:08 +0000 // __int64 __fastcall cocos2d::CCImage::initWithImageFileThreadSafe(cocos2d::CCImage *a1, char *a2, int a3) { cocos2d::CCFileUtilsAndroid *v5; // x0 __int64 *FileDataForAsync; // x20 unsigned int v7; // w21 int v10[2]; // [xsp+60h] [xbp+60h] BYREF *(_QWORD *)v10 = 0; v5 = (cocos2d::CCFileUtilsAndroid *)cocos2d::CCFileUtils::sharedFileUtils(_stack_chk_guard); FileDataForAsync = (__int64 *)cocos2d::CCFileUtilsAndroid::getFileDataForAsync(v5, a2, "rb", (unsigned __int64 *)v10); if ( FileDataForAsync ) { v7 = 0; if ( *(_QWORD *)v10 ) v7 = (unsigned __int8)cocos2d::CCImage::initWithImageData(a1, FileDataForAsync, v10[0], a3, 0, 0, 8); operator delete[](FileDataForAsync); } else { return 0; } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source