// // ProfilePage::onModInfo from 0x1008a3460 to 0x1008a358c (300 bytes) // // 1 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x1008a0edf // // 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:37:15 +0000 // __int64 __fastcall ProfilePage::onModInfo(__int64 a1) { __int64 result; // rax int v2; // eax const char *v3; // rdx const char *v4; // rsi const char *v5; // r14 const char *v6; // rbx size_t v7; // rax size_t v8; // r15 char *v9; // r12 size_t v10; // r13 char *v11; // rbx _QWORD __dst[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] result = *(_QWORD *)(a1 + 728); if ( !result ) return result; v2 = *(_DWORD *)(result + 680); v3 = "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 demon difficulty.\n" "--------------------\n" "Advisors cannot rate levels or moderate content.\n" "All ratings are decided by RobTop."; if ( v2 == 3 ) v3 = "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 ( v2 == 3 ) v4 = "Leaderboard Moderator"; 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 Newgrounds" " artists.\n" "--------------------\n" "Moderators cannot rate levels.\n" "All ratings are decided by RobTop."; if ( v2 != 2 ) v5 = v3; v6 = "Moderator"; if ( v2 != 2 ) LODWORD(v6) = (_DWORD)v4; v7 = strlen(v5); if ( v7 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v8 = v7; if ( v7 >= 0x17 ) { v10 = 26; if ( (v7 | 7) != 0x17 ) v10 = (v7 | 7) + 1; v9 = (char *)operator new(v10); __p = v9; __dst[0] = v10 + 1; __dst[1] = v8; } else { LOBYTE(__dst[0]) = 2 * v7; v9 = (char *)__dst + 1; if ( !v7 ) goto LABEL_18; } memcpy(v9, v5, v8); LABEL_18: v9[v8] = 0; v11 = FLAlertLayer::create_1(0, (int)v6, (__int64)__dst, (int)"OK", 0, 380.0); if ( (__dst[0] & 1) != 0 ) operator delete(__p); return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v11 + 1312LL))(v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source