// // ProfilePage::onModInfo from 0x5f6a30 to 0x5f6ad6 (166 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:31 +0000 // int __fastcall ProfilePage::onModInfo(int this, cocos2d::CCObject *a2) { int v2; // r2 int v3; // r3 const char *v4; // r6 char *v5; // r8 size_t v6; // r0 int *v7; // r4 int v8[3]; // [sp+8h] [bp-10h] BYREF v2 = *(_DWORD *)(this + 552); if ( v2 ) { v3 = *(_DWORD *)(v2 + 512); if ( v3 == 2 ) { v4 = "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."; v5 = "Moderator"; } else if ( v3 == 3 ) { v4 = "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."; v5 = "Leaderboard Moderator"; } else { v4 = "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."; v5 = "Rating Advisor"; } memset(v8, 0, sizeof(v8)); v6 = strlen(v4); std::string::__init(v8, v4, v6); v7 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)v5, (int)v8, (ButtonSprite *)"OK", nullptr, 380.0); std::string::~string((int)v8); return (*(int (__fastcall **)(int *))(*v7 + 656))(v7); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source