// // cocos2d::CCFileUtilsAndroid::isFileExist from 0x5e1458 to 0x5e14d4 (124 bytes) // // 0 xrefs: // // 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 // int __fastcall cocos2d::CCFileUtilsAndroid::isFileExist(int a1, const char **a2) { const char *v3; // r0 int v4; // r5 int v5; // r5 int v6; // r3 FILE *v7; // r0 _DWORD v9[2]; // [sp+0h] [bp-8h] BYREF v9[0] = a1; v9[1] = a2; v3 = *a2; if ( !*((_DWORD *)*a2 - 3) ) return 0; if ( *v3 == 47 ) { v7 = fopen(v3, (const char *)&aO1i2r3e45s7t89[4]); if ( v7 ) { fclose(v7); return 1; } return 0; } v5 = a1 + 32; sub_775C20(v9); if ( sub_774834(v9, v5, 0) ) ((void (__fastcall *)(_DWORD *, _DWORD, int, int))sub_775590)(v9, 0, v5, v6); v4 = cocos2d::ZipFile::fileExists(dword_AC907C, v9); sub_774008(v9); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source