//
// sub_1001F965C from 0x1001f965c to 0x1001f96b8 (92 bytes)
//
// 7 xrefs:
// > sub_1001FF7EC @ 0x1001ff828
// > sub_10022EDE8 @ 0x10022eec4
// > sub_1003F13C4 @ 0x1003f13f0
// > sub_10044F8BC @ 0x10044f8e0
// > sub_100502138 @ 0x10050217c
// > sub_100522AEC @ 0x100522b60
// > sub_100541CE8 @ 0x100541d20
//
// 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
//
__int64 __fastcall sub_1001F965C(__int64 *a1)
{
id v2; // x0
__int64 v3; // x3
__int64 *v4; // t2
v2 = objc_alloc((Class)&OBJC_CLASS___NSString);
v3 = *((char *)a1 + 23);
if ( v3 < 0 )
{
v4 = a1;
a1 = (__int64 *)*a1;
v3 = v4[1];
}
-[UIPasteboard setString:](
+[UIPasteboard generalPasteboard](&OBJC_CLASS___UIPasteboard, "generalPasteboard"),
"setString:",
objc_msgSend(v2, "initWithBytes:length:encoding:", a1, v3, 4));
return 1;
}