Skip to content

Commit

Permalink
Remove commended out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jujstme committed May 13, 2024
1 parent ebbce1f commit 98c573e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/game_engine/unity/mono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -657,18 +657,6 @@ impl<const CAP: usize> UnityPointer<CAP> {
}
addr
};
/*
let mut current_object = match cache.resolved_offsets {
0 => cache.base_address,
x => {
let mut addr = cache.base_address;
for &i in &cache.offsets[..x] {
addr = process.read_pointer(addr + i, module.pointer_size)?;
}
addr
}
};
*/

// We keep track of the already resolved offsets in order to skip resolving them again
for i in cache.resolved_offsets..self.depth {
Expand Down

0 comments on commit 98c573e

Please sign in to comment.