Skip to content

Commit

Permalink
Add hook
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Sep 5, 2024
1 parent 61b8ad1 commit ac5f940
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/hook_recoverInvalidItem2.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
; Hook oCNpc::Unarchive to recover the archiver's cursor on previously invalid items

%include "inc/macros.inc"
%include "inc/symbols.inc"

%ifidn __OUTPUT_FORMAT__, bin
org g1g2(0x6A3DD9,0x6D67BB,0x6E96C1,0x748161)
%endif

bits 32


section .text align=1 ; Prevent auto-alignment

jmp recoverInvalidItem2
nop

; Overwrites
; call [ebx+0x80]

0 comments on commit ac5f940

Please sign in to comment.