replace delete[] also ig

This commit is contained in:
bgkillas 2025-12-01 14:57:45 -05:00
parent 11e0f4c26e
commit ec31d47b90
2 changed files with 8 additions and 0 deletions

View file

@ -43,6 +43,10 @@ build_malloc:
cd extra/malloc_probe && cargo build --release --target=i686-pc-windows-gnu
cp extra/malloc_probe/target/i686-pc-windows-gnu/release/malloc_probe.dll $HOME/.local/share/Steam/steamapps/common/Noita
build_malloc_debug:
cd extra/malloc_probe && cargo build --target=i686-pc-windows-gnu
cp extra/malloc_probe/target/i686-pc-windows-gnu/debug/malloc_probe.dll $HOME/.local/share/Steam/steamapps/common/Noita
##
build_blob:
cd blob_guy && cargo build --release --target=i686-pc-windows-gnu

View file

@ -55,5 +55,9 @@ pub extern "stdcall" fn DllMain(_: *const u8, _: u32, _: *const u8) -> u32 {
0x00f07504 as *mut *const usize, //operator_delete
operator_delete as *const usize,
);
write(
0x00f0750c as *mut *const usize, //operator_delete[]
operator_delete as *const usize,
);
1
}