// // sub_1004BD940 from 0x1004bd940 to 0x1004bda0e (206 bytes) // // 0 xrefs: // // 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 // void __fastcall sub_1004BD940(__int64 a1, __int64 a2) { __int64 v2; // rdx NSString *v3; // rbx __int64 v4; // r14 NSString *v5; // rax NSURL *v6; // r14 dispatch_queue_global_t global_queue; // rax _QWORD block[10]; // [rsp+0h] [rbp-50h] BYREF if ( (*(_BYTE *)a1 & 1) != 0 ) v2 = *(_QWORD *)(a1 + 16); else v2 = a1 + 1; v3 = +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", v2); if ( (*(_BYTE *)a2 & 1) != 0 ) v4 = *(_QWORD *)(a2 + 16); else v4 = a2 + 1; v5 = +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", v4); v6 = +[NSURL URLWithString:](&OBJC_CLASS___NSURL, "URLWithString:", v5); global_queue = dispatch_get_global_queue(0, 0); block[0] = _NSConcreteStackBlock; block[1] = 3254779904LL; block[2] = sub_1004BDA10; block[3] = &unk_100B5A9C8; block[4] = v6; block[5] = v3; dispatch_async(global_queue, block); }
GD Web Decomp Icon

GD Web Decomp

Raw Source