//
// PlatformToolbox::getUserID from 0x10016b754 to 0x10016b7c8 (116 bytes)
//
// 1 xrefs:
// > GameManager::firstLoad @ 0x10031c788
//
// 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
//
_QWORD *__usercall PlatformToolbox::getUserID@(_QWORD *a1@)
{
if ( -[NSString compare:options:](
-[UIDevice systemVersion](+[UIDevice currentDevice](&OBJC_CLASS___UIDevice, "currentDevice"), "systemVersion"),
"compare:options:",
CFSTR("6.0"),
64) == NSOrderedAscending )
return PlatformToolbox::getUniqueUserID(a1);
else
return sub_100009900(
a1,
(char *)-[NSString cStringUsingEncoding:](
-[NSUUID UUIDString](
-[UIDevice identifierForVendor](
+[UIDevice currentDevice](&OBJC_CLASS___UIDevice, "currentDevice"),
"identifierForVendor"),
"UUIDString"),
"cStringUsingEncoding:",
4));
}