// // PlatformToolbox::doesFileExist from 0x6408bc to 0x6409f8 (316 bytes) // // 2 xrefs: // > GJMoreGamesLayer::getMoreGamesList @ 0x8ff99c // > @ 0x68428 // // 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 12:50:17 +0000 // __int64 __fastcall PlatformToolbox::doesFileExist(char *a1) { __int64 v3; // x24 const char *v4; // x21 char v5; // t1 __int64 (__fastcall *v6)(__int64, __int64 *); // x25 size_t v7; // x0 size_t v8; // x19 unsigned __int64 v9; // x0 char *v10; // x3 unsigned int v11; // w19 __int64 v13; // [xsp+50h] [xbp+50h] BYREF size_t v14; // [xsp+58h] [xbp+58h] void *v15; // [xsp+60h] [xbp+60h] v3 = cocos2d::CCFileUtils::sharedFileUtils(_stack_chk_guard); v5 = *a1; v4 = a1 + 1; v6 = *(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 160LL); if ( (v5 & 1) != 0 ) v4 = *((const char **)a1 + 2); v13 = 0; v14 = 0; v15 = nullptr; v7 = strlen(v4); v8 = v7; if ( v7 > 0xFFFFFFFFFFFFFFEFLL ) start(); if ( v7 > 0x16 ) { v9 = (v7 + 16) & 0xFFFFFFFFFFFFFFF0LL; v13 = v9 | 1; v10 = (char *)operator new(v9); v15 = v10; v14 = v8; LABEL_6: v10 = (char *)memcpy(v10, v4, v8); goto LABEL_7; } LOBYTE(v13) = 2 * v7; v10 = (char *)&v13 + 1; if ( v7 ) goto LABEL_6; LABEL_7: v10[v8] = 0; v11 = v6(v3, &v13); if ( (v13 & 1) != 0 ) operator delete(v15); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source