mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 17:58:10 +08:00
Merge branch 'enhanced' of https://github.com/YimMenu/YimMenuV2 into enhanced
This commit is contained in:
commit
160438bae3
4 files changed
+6
-7
No files matched your search
@@ -73,7 +73,7 @@ namespace YimMenu::Features
|
||||
case eAppVinewoodMenuSafe::GARMENT_FACTORY:
|
||||
{
|
||||
if (GPBD_FM::Get()->Entries[Self::GetPlayer().GetId()].PropertyData.HackerDenData.SafeCashValue > 0)
|
||||
*ScriptGlobal(2708246).As<BOOL*>() = TRUE;
|
||||
*ScriptGlobal(2708252).As<BOOL*>() = TRUE;
|
||||
break;
|
||||
}
|
||||
case eAppVinewoodMenuSafe::HANDS_ON_CAR_WASH:
|
||||
|
||||
@@ -962,8 +962,8 @@ namespace YimMenu::Features
|
||||
return;
|
||||
|
||||
ScriptGlobal(2708777).At(544).As<SCR_BITSET<uint64_t>*>()->Set(6);
|
||||
*ScriptGlobal(2708777).At(547).As<joaat_t*>() = wildlifePhotographyAnimalHashes[index];
|
||||
*ScriptGlobal(2708777).At(548).As<int*>() = *Pointers.GameTimer - 1; // bypass 2 sec delay
|
||||
*ScriptGlobal(2708777).At(548).As<joaat_t*>() = wildlifePhotographyAnimalHashes[index];
|
||||
*ScriptGlobal(2708777).At(549).As<int*>() = *Pointers.GameTimer - 1; // bypass 2 sec delay
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -67,9 +67,8 @@ namespace YimMenu::Submenus
|
||||
{
|
||||
for (auto& var : SavedVariables::GetSavedGlobals())
|
||||
{
|
||||
const auto& value = var.Read();
|
||||
ImGui::PushID(value);
|
||||
DrawSavedVariablePreview(var, value);
|
||||
ImGui::PushID(var.name.c_str());
|
||||
DrawSavedVariablePreview(var, var.Read());
|
||||
ImGui::PopID();
|
||||
}
|
||||
ImGui::EndListBox();
|
||||
|
||||
@@ -318,7 +318,7 @@ namespace YimMenu
|
||||
NetworkTime = ptr.Add(2).Rip().As<std::uint32_t*>();
|
||||
});
|
||||
|
||||
constexpr auto gameTimerPtrn = Pattern<"3B 2D ? ? ? ? 76">("GameTimer");
|
||||
constexpr auto gameTimerPtrn = Pattern<"3B 2D ? ? ? ? 76 ? 89 D9">("GameTimer");
|
||||
scanner.Add(gameTimerPtrn, [this](PointerCalculator ptr) {
|
||||
GameTimer = ptr.Add(2).Rip().As<std::uint32_t*>();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user