Skip to content

Commit c91cf32

Browse files
committed
unity mono Module attach: remove extra +2
1 parent c66210e commit c91cf32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game_engine/unity/mono.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl Module {
112112
sig.scan_process_range(process, (mono_assembly_foreach_address, 0x100))
113113
})? + 2;
114114

115-
process.read::<Address32>(ptr + 2).ok()?.into()
115+
process.read::<Address32>(ptr).ok()?.into()
116116
},
117117
#[cfg(feature = "std")]
118118
(false, BinaryFormat::MachO) => {

0 commit comments

Comments
 (0)