-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
killing myself aaaaa my eyes burn so much
- Loading branch information
1 parent
3f14f9e
commit 87f23cf
Showing
12 changed files
with
117 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# 1.7.5 | ||
|
||
- Fixed best run not working | ||
- Ported to **2.2074** | ||
|
||
# 1.7.4 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
#include "OffsetManager.hpp" | ||
|
||
OffsetManager* OffsetManager::get() | ||
{ | ||
static OffsetManager* instance = nullptr; | ||
|
||
if (!instance) | ||
instance = new OffsetManager(); | ||
|
||
return instance; | ||
} | ||
|
||
unsigned int OffsetManager::offsetForType(PatchType type) | ||
{ | ||
switch (type) | ||
{ | ||
case PatchType::PhysicsBypass: | ||
#if GEODE_COMP_GD_VERSION == 22074 | ||
|
||
GEODE_WINDOWS(return 0x607008); | ||
GEODE_ANDROID32(return - 0x10000); | ||
GEODE_ANDROID64(return - 0x100000); | ||
GEODE_INTEL_MAC(return ); | ||
GEODE_IOS(return ); | ||
|
||
#endif | ||
|
||
#if GEODE_COMP_GD_VERSION == 22073 | ||
|
||
GEODE_WINDOWS(return 0x606f98); | ||
|
||
#endif | ||
|
||
#if GEODE_COMP_GD_VERSION == 22060 | ||
|
||
GEODE_WINDOWS(return 0x5ec6d0); | ||
GEODE_ANDROID32(return 0x46ce38 - 0x10000); | ||
GEODE_ANDROID64(return 0x9384b8 - 0x100000); | ||
GEODE_INTEL_MAC(return 0x823b00); | ||
GEODE_IOS(return 0x642b60); | ||
|
||
#endif | ||
|
||
break; | ||
} | ||
|
||
return 0x80085; | ||
} | ||
|
||
unsigned int OffsetManager::offsetForRandomSeed() | ||
{ | ||
#ifndef GEODE_IS_WINDOWS | ||
return 0x80085; | ||
#endif | ||
|
||
#if GEODE_COMP_GD_VERSION == 22074 | ||
return 0x6a4e20; | ||
#endif | ||
|
||
#if GEODE_COMP_GD_VERSION == 22073 | ||
return 0x6a4e20; | ||
#endif | ||
|
||
#if GEODE_COMP_GD_VERSION == 22060 | ||
return 0x687dd0; | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#pragma once | ||
|
||
#include <Geode/Geode.hpp> | ||
|
||
using namespace geode::prelude; | ||
|
||
enum class PatchType | ||
{ | ||
PhysicsBypass, | ||
}; | ||
|
||
class OffsetManager | ||
{ | ||
public: | ||
static OffsetManager* get(); | ||
|
||
unsigned int offsetForType(PatchType type); | ||
unsigned int offsetForRandomSeed(); | ||
}; |