feat: Update patterns

This commit is contained in:
amizing25
2025-05-22 18:42:02 +07:00
parent 3f6933c096
commit 61928b9269
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ impl Il2cppString {
pub fn new(string: &str) -> Self {
let func = unsafe {
std::mem::transmute::<usize, fn(*const u8, usize) -> usize>(
*GAME_ASSEMBLY_BASE + rva_config().ptr_to_string_ansi,
*GAME_ASSEMBLY_BASE + rva_config().il2cpp_string_new_len,
)
};
let len = string.len();