Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maximegmd committed Sep 24, 2023
1 parent 30a183a commit 6e93c13
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ida/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_groups() -> List[Group]:
Item(name='OnTick', pattern='40 53 48 83 EC 20 48 8B DA E8 ? ? ? ? 48 8B CB 89 83 B0 02 00 00 ', expected=1) # ok
]),
Group(name='PlayerSystem', functions=[
Item(name='OnPlayerSpawned', pattern='48 89 5C 24 08 48 89 74 24 18 48 89 7C 24 20 55 41 54 41 55 41 56 41 57 48 8B EC 48 83 EC 60 48 8B 5A 08 B8 01 00 00 00', expected=1) # not sure but looks like it
Item(name='OnPlayerSpawned', pattern='48 89 5C 24 18 48 89 74 24 20 55 57 41 54 41 56 41 57 48 8B EC 48 83 EC 50 48 8B DA 48 8B F9', expected=1)
]),
]

3 changes: 1 addition & 2 deletions src/reverse/Addresses.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ constexpr uintptr_t gameIGameSystem_SpawnCallback =
#pragma endregion

#pragma region PlayerSystem
constexpr uintptr_t PlayerSystem_OnPlayerSpawned =
0x1403EE038 - ImageBase; // 48 89 5C 24 08 48 89 74 24 18 48 89 7C 24 20 55 41 54 41 55 41 56 41 57 48 8B EC 48 83 EC 60 48 8B 5A 08 B8 01 00 00 00, expected: 1, index: 0
constexpr uintptr_t PlayerSystem_OnPlayerSpawned = 0x1409FE5A0 - ImageBase; // 48 89 5C 24 18 48 89 74 24 20 55 57 41 54 41 56 41 57 48 8B EC 48 83 EC 50 48 8B DA 48 8B F9
#pragma endregion
} // namespace CyberEngineTweaks::Addresses
2 changes: 1 addition & 1 deletion src/scripting/LuaVM_Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ uint64_t LuaVM::HookTweakDBLoad(uintptr_t aThis, uintptr_t aParam)
{
const auto ret = s_vm->m_realTweakDBLoad(aThis, aParam);

//s_vm->PostInitializeTweakDB();
s_vm->PostInitializeTweakDB();

return ret;
}
Expand Down
2 changes: 1 addition & 1 deletion vendor/RED4ext.SDK
Submodule RED4ext.SDK updated 2140 files

0 comments on commit 6e93c13

Please sign in to comment.