// // PlatformToolbox::doesFileExist from 0x10016bbb0 to 0x10016bc68 (184 bytes) // // 1 xrefs: // > GJMoreGamesLayer::getMoreGamesList @ 0x100065048 // // 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 // __int64 __fastcall PlatformToolbox::doesFileExist(__int64 *a1) { __int64 *v1; // x2 NSString *v2; // x21 NSFileManager *v3; // x19 void *v4; // x20 v1 = a1; if ( *((char *)a1 + 23) < 0 ) v1 = (__int64 *)*a1; v2 = +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", v1); v3 = +[NSFileManager defaultManager](&OBJC_CLASS___NSFileManager, "defaultManager"); v4 = objc_msgSend( -[NSArray objectAtIndex:](NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, 1u, 1), "objectAtIndex:", 0), "stringByAppendingPathComponent:", v2); return -[NSFileManager fileExistsAtPath:]( v3, "fileExistsAtPath:", -[NSString stringByAppendingPathComponent:]( -[NSBundle resourcePath](+[NSBundle mainBundle](&OBJC_CLASS___NSBundle, "mainBundle"), "resourcePath"), "stringByAppendingPathComponent:", v2)) || -[NSFileManager fileExistsAtPath:](v3, "fileExistsAtPath:", v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source