// // sub_1001F9368 from 0x1001f9368 to 0x1001f94ac (324 bytes) // // 1 xrefs: // > sub_1002E7DE0 @ 0x1002e7e24 // // 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 11:00:42 +0000 // void *__fastcall sub_1001F9368(__int64 a1, __int64 a2) { int v4; // w9 _BYTE *v5; // x2 __int64 v6; // x3 NSData *v7; // x19 v4 = *(char *)(a1 + 23); if ( v4 >= 0 ) v5 = (_BYTE *)a1; else v5 = *(_BYTE **)a1; if ( v4 >= 0 ) v6 = *(unsigned __int8 *)(a1 + 23); else v6 = *(_QWORD *)(a1 + 8); v7 = +[NSData dataWithBytes:length:](&OBJC_CLASS___NSData, "dataWithBytes:length:", v5, v6); if ( *(char *)(a1 + 23) < 0 ) { **(_BYTE **)a1 = 0; *(_QWORD *)(a1 + 8) = 0; } else { *(_BYTE *)a1 = 0; *(_BYTE *)(a1 + 23) = 0; } return objc_msgSend( -[NSData encryptedWithKey:]( v7, "encryptedWithKey:", -[NSString dataUsingEncoding:]( +[NSString stringWithString:]( &OBJC_CLASS___NSString, "stringWithString:", +[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@")), "dataUsingEncoding:", 4)), "writeToFile:atomically:", objc_msgSend( -[NSArray objectAtIndex:]( NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, 1u, 1), "objectAtIndex:", 0), "stringByAppendingPathComponent:", +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", a2)), 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source