mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-15 03:25:01 -05:00
remove the bandaid
This commit is contained in:
parent
ed4f4e4bf7
commit
298593ada8
1 changed files with 0 additions and 6 deletions
|
@ -105,12 +105,6 @@ namespace geode::addresser {
|
||||||
address = *reinterpret_cast<uint32_t*>(address + 2);
|
address = *reinterpret_cast<uint32_t*>(address + 2);
|
||||||
// that then contains the actual address of the func
|
// that then contains the actual address of the func
|
||||||
address = *reinterpret_cast<uintptr_t*>(address);
|
address = *reinterpret_cast<uintptr_t*>(address);
|
||||||
|
|
||||||
// used for gd string funcs, pretty temporary
|
|
||||||
if (*reinterpret_cast<uint8_t*>(address) == 0xe9) {
|
|
||||||
// read the offset and add it
|
|
||||||
address += 5 + *reinterpret_cast<uint32_t*>(address + 1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue