Skip to content

Commit ac5f940

Browse files
committed
Add hook
1 parent 61b8ad1 commit ac5f940

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/hook_recoverInvalidItem2.asm

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
; Hook oCNpc::Unarchive to recover the archiver's cursor on previously invalid items
2+
3+
%include "inc/macros.inc"
4+
%include "inc/symbols.inc"
5+
6+
%ifidn __OUTPUT_FORMAT__, bin
7+
org g1g2(0x6A3DD9,0x6D67BB,0x6E96C1,0x748161)
8+
%endif
9+
10+
bits 32
11+
12+
13+
section .text align=1 ; Prevent auto-alignment
14+
15+
jmp recoverInvalidItem2
16+
nop
17+
18+
; Overwrites
19+
; call [ebx+0x80]

0 commit comments

Comments
 (0)