Skip to content

Commit 0b2f49b

Browse files
committed
feat: NOP out retail level up indicators.
1 parent ea6b8b2 commit 0b2f49b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Plugin/src/Shared/Hooks.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,16 @@ namespace RE
129129
auto PipboyInventoryDataPopulateItemCardInfo_NOP_bytes = NOP_BYTES(5);
130130
REL::safe_write<std::uint8_t>(PipboyInventoryDataPopulateItemCardInfo_NOP.address(), std::span{ PipboyInventoryDataPopulateItemCardInfo_NOP_bytes });
131131

132+
// HUDExperienceMeter::UpdateDisplayObject - { 2220382 + 0x221 }
133+
REL::Relocation<std::uintptr_t> HUDExperienceMeterUpdateDisplayObject_NOP_1{ REL::ID(2220382), 0x221 };
134+
auto HUDExperienceMeterUpdateDisplayObject_NOP_bytes_1 = NOP_BYTES(5);
135+
REL::safe_write<std::uint8_t>(HUDExperienceMeterUpdateDisplayObject_NOP_1.address(), std::span{ HUDExperienceMeterUpdateDisplayObject_NOP_bytes_1 });
136+
137+
// HUDExperienceMeter::UpdateDisplayObject - { 2220382 + 0x26B }
138+
REL::Relocation<std::uintptr_t> HUDExperienceMeterUpdateDisplayObject_NOP_2{ REL::ID(2220382), 0x26B };
139+
auto HUDExperienceMeterUpdateDisplayObject_NOP_bytes_2 = NOP_BYTES(5);
140+
REL::safe_write<std::uint8_t>(HUDExperienceMeterUpdateDisplayObject_NOP_2.address(), std::span{ HUDExperienceMeterUpdateDisplayObject_NOP_bytes_2 });
141+
132142
// Actor::GetDesirability - { 2229946 + 0x56 } - .984
133143
REL::Relocation<std::uintptr_t> ActorUtilsArmorRatingVisitorBaseoperator_1{ REL::ID(2229946), 0x56 };
134144
trampoline.write_call<5>(ActorUtilsArmorRatingVisitorBaseoperator_1.address(), &HookActorUtilsArmorRatingVisitorBaseOperator);

0 commit comments

Comments
 (0)