// // LeaderboardsLayer::onInfo from 0x4517b4 to 0x4518ba (262 bytes) // // 0 xrefs: // // 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 // void LeaderboardsLayer::onInfo(LeaderboardsLayer *a1, cocos2d::CCObject *a2) { char *v3; // r1 int v4; // r9 FLAlertLayer *v5; // r8 int v6; // [sp+10h] [bp-8h] BYREF char *v7; // [sp+14h] [bp-4h] BYREF int v8; // [sp+18h] [bp+0h] BYREF sub_776584((int)&v6, (char *)&unk_939830); sub_776584((int)&v7, (char *)&unk_939830); switch ( a1->m_type ) { case Top100: sub_7753D4((int)&v6, "Top 100"); v3 = "The Top 100 leaderboard shows the players with the most Stars in the game. Players must be manually whitelisted by a Leaderboard Moderator to appear here, ensuring legitimate rankings."; goto LABEL_3; case Global: sub_7753D4((int)&v6, "Global"); v3 = "The Global leaderboard shows players in order of Stars.\n" "Players banned by Leaderboard Moderators are excluded."; goto LABEL_3; case Creator: sub_7753D4((int)&v6, "Creators"); v3 = "The Creators leaderboard is sorted by amount of Creator Points. Creating a rated level rewards 1, Featured rewards 2, Epic rewards 3, Legendary rewards 4, and Mythic rewards 5."; goto LABEL_3; case Friends: sub_7753D4((int)&v6, "Friends"); v3 = "The Friends leaderboard shows your friends in order of Stars."; LABEL_3: sub_7753D4((int)&v7, v3); v4 = v6; sub_776584((int)&v8, v7); v5 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, v4, (int)&v8, (int)"OK", (int)"Info", 380.0); sub_774008(&v8); v5->show(v5); break; default: break; } sub_774008(&v7); sub_774008(&v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source