//
// sub_10022E7D0 from 0x10022e7d0 to 0x10022e894 (196 bytes)
//
// 1 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x10022c7e4
//
// 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:01:16 +0000
//
__int64 __fastcall sub_10022E7D0(__int64 result)
{
__int64 v1; // x8
const char *v2; // x9
int v3; // w8
const char *v4; // x10
char *v5; // x1
const char *v6; // x19
__int64 v7; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v9; // [xsp+1Fh] [xbp-11h]
v1 = *(_QWORD *)(result + 728);
if ( v1 )
{
v2 = "Advisors can suggest levels for a rating, with a difficulty and a tier: Rate, Feature, "
"Epic, Legendary or Mythic. Advisor votes also carry extra weight when deciding demo"
"n difficulty.\n"
"--------------------\n"
"Advisors cannot rate levels or moderate content.\n"
"All ratings are decided by RobTop.";
v3 = *(_DWORD *)(v1 + 680);
if ( v3 == 3 )
v2 = "Leaderboard Moderators review player stats and remove invalid scores from the leaderboards.\n"
"--------------------\n"
"Leaderboard Moderators can only manage the leaderboards.\n"
"They cannot rate levels or moderate content.";
v4 = "Rating Advisor";
if ( v3 == 3 )
v4 = "Leaderboard Moderator";
if ( v3 == 2 )
v5 = "Moderators can suggest levels for a rating, respond to in-game reports, delete comments, "
"ban players from posting, delete or relist levels, unlock levels for updating, and add Newgro"
"unds artists.\n"
"--------------------\n"
"Moderators cannot rate levels.\n"
"All ratings are decided by RobTop.";
else
v5 = (char *)v2;
if ( v3 == 2 )
v6 = "Moderator";
else
v6 = v4;
sub_100009900(__p, v5);
v7 = FLAlertLayer::create_1(0, v6, __p, "OK", 0, 380.0);
if ( v9 < 0 )
operator delete(__p[0]);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7);
}
return result;
}