//
// PlatformToolbox::getUniqueUserID from 0x4ebc00 to 0x4ebd60 (352 bytes)
//
// 3 xrefs:
// > PlatformToolbox::getUserID @ 0x4ebd6c
// > GameManager::firstLoad @ 0x5f0abc
// > ??> @ 0x6e040
//
// 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::getUniqueUserID@(PlatformToolbox *this@, _QWORD *a2@)
{
__int64 v3; // x21
char *v4; // x22
__int64 v6; // [xsp+48h] [xbp+48h] BYREF
__int64 v7; // [xsp+50h] [xbp+50h] BYREF
__int64 v8; // [xsp+58h] [xbp+58h]
__int64 v9; // [xsp+60h] [xbp+60h]
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v7,
"com/customRobTop/BaseRobTopActivity",
"getUserID",
"()Ljava/lang/String;") )
{
v3 = _JNIEnv::CallStaticObjectMethod(v7, v8, v9);
v4 = (char *)(*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v7 + 1352LL))(v7, v3, 0);
sub_D153B8((int)&v6, v4);
(*(void (__fastcall **)(__int64, __int64, char *))(*(_QWORD *)v7 + 1360LL))(v7, v3, v4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 184LL))(v7, v3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 184LL))(v7, v8);
*a2 = v6;
}
else
{
sub_D153B8((int)a2, &byte_F288A0);
}
return a2;
}