Skip to content

Commit

Permalink
unity mono Module attach: remove extra +2 (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKnauth committed Jan 28, 2024
1 parent 950db51 commit e826a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_engine/unity/mono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl Module {
sig.scan_process_range(process, (root_domain_function_address, 0x100))
})? + 2;

process.read::<Address32>(ptr + 2).ok()?.into()
process.read::<Address32>(ptr).ok()?.into()
}
};

Expand Down

0 comments on commit e826a95

Please sign in to comment.