// // sub_1004BDA10 from 0x1004bda10 to 0x1004bdaa1 (145 bytes) // // 1 xrefs: // > sub_1004BD940 @ 0x1004bd9d7 // // 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 // id __fastcall sub_1004BDA10(__int64 a1) { id v1; // rax id v2; // rax id v3; // r14 NSArray *v4; // rax id v5; // rax id v6; // rax v1 = objc_alloc((Class)&OBJC_CLASS___NSData); v2 = objc_msgSend(v1, "initWithContentsOfURL:", *(_QWORD *)(a1 + 32)); v3 = objc_autorelease(v2); v4 = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, 1u, 1); v5 = -[NSArray objectAtIndex:](v4, "objectAtIndex:", 0); v6 = objc_msgSend(v5, "stringByAppendingPathComponent:", *(_QWORD *)(a1 + 40)); return objc_msgSend(v3, "writeToFile:atomically:", v6, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source