Modding[Code] Sonic Adventure Unlock all Achievements
Posted:

Modding[Code] Sonic Adventure Unlock all AchievementsPosted:

XeCrippy
  • Winter 2018
Status: Offline
Joined: May 12, 20168Year Member
Posts: 1,913
Reputation Power: 1262
Status: Offline
Joined: May 12, 20168Year Member
Posts: 1,913
Reputation Power: 1262
Declaration

bool(*WriteAchievements)(uint32_t ptr, int userIndex, int achievementID, bool isAsync) = reinterpret_cast<bool(*)(uint32_t ptr, int userIndex, int achievementID, bool isAsync)>(0x8277F718);


Usage
void UnlockAchievements() {
         for (int i = 0; i < 20; i++) {
            WriteAchievements(0x4001F010, 0, i, true);
            Sleep(50);
}


C#

void UnlockAchievements()
{   
     for (int i = 0; i < 20; i++)
     {
          JRPC.CallVoid(0x8277F718, 0x4001F010, 0, i, true);
          Thread.Sleep(50);
     }
}
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS