Posts: 4
Threads: 0
Joined: Mar 2018
here i've revisited my code hooker and changed it into something much more better
Code:
.headersize 0x80245000
.orga 0x396c; here it hooks code copy to ram
lui a0, 0x8036
ori a0, a0, 0x7500; 0x7cc6c0 - end of all codes into 0x80367500
lui t0, 0x7c
ori a1, t0, 0xc6c0
ori a2, t0, endcopy
jal 0x80278504
nop
jal execonce
nop
.orga 0x15f4
jal execeveryframe
nop
.headersize 0x7fb9ae40
.orga 0x7cc6c0
execonce:
addiu sp, sp, 0xffec
sw a0, 0x4(sp)
sw a1, 0x8(sp)
sw ra, 0xc(sp)
; executes once here (don't delete stuff around here unless you 100% know what you doing here)
lw a0, 0x4(sp)
lw a1, 0x8(sp)
or a0, r0, r0
jal 0x80277ee0
lui a1, 0x8000
lui a0, 0x8034
lui a1, 0x8034
addiu a1, a1, 0xb044
addiu a0, a0, 0xb028
jal 0x803225a0
addiu a2, r0, 0x1
lw ra, 0xc(sp)
jr ra
addiu sp, sp, 0x14
execeveryframe:
add s7, r0, ra
; your code that runs every frame (don't use s7 because it has return address but you can modify if you know what you doing)
lui t6, 0x8033
add ra, r0, s7
jr ra
lw t6, 0xd568(t6)
codeend:
.definelabel endcopy, (codeend - 0x7fb9ae40) - 0x7c0000
what is wet and dry at the same time?
no its not his ass
its wet dry world