make client functions parameterizable by version
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerGC
|
||||
.data 0x805C5650
|
||||
.data 0x801E3F9C
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerGC
|
||||
.data 0x805CC630
|
||||
.data 0x801E3F9C
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerGC
|
||||
.data 0x805D5E50
|
||||
.data 0x801E405C
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerGC
|
||||
.data 0x805C4D58
|
||||
.data 0x801E3B38
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerGC
|
||||
.data 0x805CF320
|
||||
.data 0x801E40BC
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerGC
|
||||
.data 0x805D67A0
|
||||
.data 0x801E4290
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerGC
|
||||
.data 0x805D6540
|
||||
.data 0x801E4008
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerGC
|
||||
.data 0x805D2090
|
||||
.data 0x801E4698
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
+16
@@ -1,3 +1,13 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
.versions 3OJ2 3OJ3 3OJ4 3OJ5 3OE0 3OE1 3OE2 3OP0
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
stwu [r1 - 0x10], r1
|
||||
mflr r0
|
||||
stw [r1 + 0x14], r0
|
||||
@@ -30,3 +40,9 @@ resume:
|
||||
|
||||
get_data_addr:
|
||||
bl resume
|
||||
.data <VERS 0x805C4D58 0x805CF320 0x805D67A0 0x805D6540 0x805C5650 0x805CC630 0x805D5E50 0x805D2090>
|
||||
.data <VERS 0x801E3B38 0x801E40BC 0x801E4290 0x801E4008 0x801E3F9C 0x801E3F9C 0x801E405C 0x801E4698>
|
||||
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerXB
|
||||
.data 0x00723F68
|
||||
.data 0x002DDB00
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerXB
|
||||
.data 0x007237E8 # should_allow_protected_commands
|
||||
.data 0x002DE000 # handle_6x(void* data @ ecx, uint32_t size @ eax)
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerXB
|
||||
.data 0x0071E8C8
|
||||
.data 0x002DBBA0
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerXB
|
||||
.data 0x0071EF28
|
||||
.data 0x002DC720
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerXB
|
||||
.data 0x00726A68
|
||||
.data 0x002DDFE0
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerXB
|
||||
.data 0x00723F68
|
||||
.data 0x002DDB30
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,14 +0,0 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include CallProtectedHandlerXB
|
||||
.data 0x007242E8
|
||||
.data 0x002DE030
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -0,0 +1,36 @@
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="CallProtectedHandler"
|
||||
.meta description=""
|
||||
|
||||
.versions 4OJB 4OJD 4OJU 4OED 4OEU 4OPD 4OPU
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
jmp get_data_addr
|
||||
resume:
|
||||
xchg ebx, [esp]
|
||||
|
||||
mov edx, [ebx]
|
||||
mov dword [edx], 1
|
||||
|
||||
mov edx, [ebx + 4]
|
||||
lea ecx, [ebx + 0x0C]
|
||||
mov eax, [ebx + 8]
|
||||
call edx
|
||||
|
||||
mov edx, [ebx]
|
||||
mov dword [edx], 0
|
||||
|
||||
pop ebx
|
||||
ret
|
||||
|
||||
get_data_addr:
|
||||
call resume
|
||||
.data <VERS 0x0071E8C8 0x0071EF28 0x00726A68 0x00723F68 0x007237E8 0x00723F68 0x007242E8>
|
||||
.data <VERS 0x002DBBA0 0x002DC720 0x002DDFE0 0x002DDB00 0x002DE000 0x002DDB30 0x002DE030>
|
||||
|
||||
size:
|
||||
.data 0x00000000
|
||||
data:
|
||||
@@ -1,20 +0,0 @@
|
||||
jmp get_data_addr
|
||||
resume:
|
||||
xchg ebx, [esp]
|
||||
|
||||
mov edx, [ebx]
|
||||
mov dword [edx], 1
|
||||
|
||||
mov edx, [ebx + 4]
|
||||
lea ecx, [ebx + 0x0C]
|
||||
mov eax, [ebx + 8]
|
||||
call edx
|
||||
|
||||
mov edx, [ebx]
|
||||
mov dword [edx], 0
|
||||
|
||||
pop ebx
|
||||
ret
|
||||
|
||||
get_data_addr:
|
||||
call resume
|
||||
Reference in New Issue
Block a user