// // PlatformToolbox::loadAndDecryptFileToString from 0x1004c40a0 to 0x1004c4206 (358 bytes) // // 4 xrefs: // > GManager::loadDataFromFile @ 0x1004ac548 // > GManager::loadDataFromFile @ 0x1004ac5bc // > GManager::loadDataFromFile @ 0x1004ac64f // > GManager::tryLoadData @ 0x1004ac797 // // 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 // std::string *__fastcall PlatformToolbox::loadAndDecryptFileToString(__int64 a1, __int64 a2, std::string *a3) { NSArray *v3; // rax id v4; // rax id v5; // r12 NSString *v6; // rax id v7; // rax NSData *v8; // r14 NSString *v9; // rax NSString *v10; // rax NSData *v11; // rax id v12; // r14 const std::string::value_type *v13; // r15 id v14; // rax v3 = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, 1u, 1); v4 = -[NSArray objectAtIndex:](v3, "objectAtIndex:", 0); v5 = objc_msgSend(v4, "stringByAppendingPathComponent:", CFSTR("/GeometryDash")); v6 = +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", a1); v7 = objc_msgSend(v5, "stringByAppendingPathComponent:", v6); v8 = +[NSData dataWithContentsOfFile:](&OBJC_CLASS___NSData, "dataWithContentsOfFile:", v7); v9 = +[NSString stringWithFormat:]( &OBJC_CLASS___NSString, "stringWithFormat:", CFSTR("%c%c%s%@%c%s%c%s%@%s"), 105, 112, "u9TUv54y", CFSTR("v]isFM"), 104, "5@;t.5w3", 52, "E2Ry@{", CFSTR("lXrRCGEN"), "IiB@"); v10 = +[NSString stringWithString:](&OBJC_CLASS___NSString, "stringWithString:", v9); v11 = -[NSString dataUsingEncoding:](v10, "dataUsingEncoding:", 4); v12 = -[NSData decryptedWithKey:](v8, "decryptedWithKey:", v11); v13 = (const std::string::value_type *)objc_msgSend(v12, "bytes"); v14 = objc_msgSend(v12, "length"); return std::string::assign(a3, v13, (std::string::size_type)v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source