// // PlatformToolbox::doesFileExist from 0x1004bd450 to 0x1004bd53f (239 bytes) // // 1 xrefs: // > GJMoreGamesLayer::getMoreGamesList @ 0x100875d86 // // This function is hookable on this platform (idp: pc, 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:31:04 +0000 // bool __fastcall PlatformToolbox::doesFileExist(__int64 a1) { __int64 v1; // rdx NSString *v2; // r14 NSFileManager *v3; // rbx NSArray *v4; // rax id v5; // rax id v6; // r15 NSBundle *v7; // rax NSString *v8; // rax NSString *v9; // rax unsigned __int8 v10; // cl bool result; // al if ( (*(_BYTE *)a1 & 1) != 0 ) v1 = *(_QWORD *)(a1 + 16); else v1 = a1 + 1; v2 = +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", v1); v3 = +[NSFileManager defaultManager](&OBJC_CLASS___NSFileManager, "defaultManager"); v4 = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, 1u, 1); v5 = -[NSArray objectAtIndex:](v4, "objectAtIndex:", 0); v6 = objc_msgSend(v5, "stringByAppendingPathComponent:", v2); v7 = +[NSBundle mainBundle](&OBJC_CLASS___NSBundle, "mainBundle"); v8 = -[NSBundle resourcePath](v7, "resourcePath"); v9 = -[NSString stringByAppendingPathComponent:](v8, "stringByAppendingPathComponent:", v2); v10 = -[NSFileManager fileExistsAtPath:](v3, "fileExistsAtPath:", v9); result = 1; if ( !v10 ) return -[NSFileManager fileExistsAtPath:](v3, "fileExistsAtPath:", v6); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source