make client functions parameterizable by version
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# GC port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x8010E114 # Rare weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E100 # Unidentified weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E248 # Rare armors
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x800041A0
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
.address 0x800041A0
|
||||
tool_check_start:
|
||||
lwz r29, [r3 + 0x10] # Flags
|
||||
xori r29, r29, 0x0080
|
||||
andi. r29, r29, 0x0080
|
||||
beq is_rare_tool
|
||||
lwz r29, [r3 + 0x0C] # Cost
|
||||
is_rare_tool:
|
||||
blr
|
||||
tool_check_end:
|
||||
|
||||
.data 0x8010E3BC
|
||||
.data 0x00000004
|
||||
.address 0x8010E3BC
|
||||
bl tool_check_start
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,47 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# GC port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x8010E00C # Rare weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010DFF8 # Unidentified weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E140 # Rare armors
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x800041A0
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
.address 0x800041A0
|
||||
tool_check_start:
|
||||
lwz r29, [r3 + 0x10] # Flags
|
||||
xori r29, r29, 0x0080
|
||||
andi. r29, r29, 0x0080
|
||||
beq is_rare_tool
|
||||
lwz r29, [r3 + 0x0C] # Cost
|
||||
is_rare_tool:
|
||||
blr
|
||||
tool_check_end:
|
||||
|
||||
.data 0x8010E2B4
|
||||
.data 0x00000004
|
||||
.address 0x8010E2B4
|
||||
bl tool_check_start
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,47 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# GC port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x8010DE70 # Rare weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010DE5C # Unidentified weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010DFA4 # Rare armors
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x800041A0
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
.address 0x800041A0
|
||||
tool_check_start:
|
||||
lwz r29, [r3 + 0x10] # Flags
|
||||
xori r29, r29, 0x0080
|
||||
andi. r29, r29, 0x0080
|
||||
beq is_rare_tool
|
||||
lwz r29, [r3 + 0x0C] # Cost
|
||||
is_rare_tool:
|
||||
blr
|
||||
tool_check_end:
|
||||
|
||||
.data 0x8010E118
|
||||
.data 0x00000004
|
||||
.address 0x8010E118
|
||||
bl tool_check_start
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,47 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# GC port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x8010E070 # Rare weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E05C # Unidentified weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E1A4 # Rare armors
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x800041A0
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
.address 0x800041A0
|
||||
tool_check_start:
|
||||
lwz r29, [r3 + 0x10] # Flags
|
||||
xori r29, r29, 0x0080
|
||||
andi. r29, r29, 0x0080
|
||||
beq is_rare_tool
|
||||
lwz r29, [r3 + 0x0C] # Cost
|
||||
is_rare_tool:
|
||||
blr
|
||||
tool_check_end:
|
||||
|
||||
.data 0x8010E318
|
||||
.data 0x00000004
|
||||
.address 0x8010E318
|
||||
bl tool_check_start
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,47 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# GC port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x8010E1BC # Rare weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E1A8 # Unidentified weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E2F0 # Rare armors
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x800041A0
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
.address 0x800041A0
|
||||
tool_check_start:
|
||||
lwz r29, [r3 + 0x10] # Flags
|
||||
xori r29, r29, 0x0080
|
||||
andi. r29, r29, 0x0080
|
||||
beq is_rare_tool
|
||||
lwz r29, [r3 + 0x0C] # Cost
|
||||
is_rare_tool:
|
||||
blr
|
||||
tool_check_end:
|
||||
|
||||
.data 0x8010E464
|
||||
.data 0x00000004
|
||||
.address 0x8010E464
|
||||
bl tool_check_start
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,47 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# GC port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x8010DFFC # Rare weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010DFE8 # Unidentified weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E130 # Rare armors
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x800041A0
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
.address 0x800041A0
|
||||
tool_check_start:
|
||||
lwz r29, [r3 + 0x10] # Flags
|
||||
xori r29, r29, 0x0080
|
||||
andi. r29, r29, 0x0080
|
||||
beq is_rare_tool
|
||||
lwz r29, [r3 + 0x0C] # Cost
|
||||
is_rare_tool:
|
||||
blr
|
||||
tool_check_end:
|
||||
|
||||
.data 0x8010E2A4
|
||||
.data 0x00000004
|
||||
.address 0x8010E2A4
|
||||
bl tool_check_start
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,47 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# GC port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x8010E1F0 # Rare weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E1DC # Unidentified weapons
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E324 # Rare armors
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x800041A0
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
.address 0x800041A0
|
||||
tool_check_start:
|
||||
lwz r29, [r3 + 0x10] # Flags
|
||||
xori r29, r29, 0x0080
|
||||
andi. r29, r29, 0x0080
|
||||
beq is_rare_tool
|
||||
lwz r29, [r3 + 0x0C] # Cost
|
||||
is_rare_tool:
|
||||
blr
|
||||
tool_check_end:
|
||||
|
||||
.data 0x8010E498
|
||||
.data 0x00000004
|
||||
.address 0x8010E498
|
||||
bl tool_check_start
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
+8
-6
@@ -2,8 +2,10 @@
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# GC port by fuzziqersoftware
|
||||
|
||||
.versions 3OE0 3OE1 3OE2 3OJ2 3OJ3 3OJ4 3OJ5 3OP0
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto shops"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
@@ -13,15 +15,15 @@ start:
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x8010E114 # Rare weapons
|
||||
.data <VERS 0x8010E114 0x8010E114 0x8010E00C 0x8010DE70 0x8010E070 0x8010E1BC 0x8010DFFC 0x8010E1F0>
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E100 # Unidentified weapons
|
||||
.data <VERS 0x8010E100 0x8010E100 0x8010DFF8 0x8010DE5C 0x8010E05C 0x8010E1A8 0x8010DFE8 0x8010E1DC>
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
.data 0x8010E248 # Rare armors
|
||||
.data <VERS 0x8010E248 0x8010E248 0x8010E140 0x8010DFA4 0x8010E1A4 0x8010E2F0 0x8010E130 0x8010E324>
|
||||
.data 0x00000004
|
||||
li r29, 0
|
||||
|
||||
@@ -38,9 +40,9 @@ is_rare_tool:
|
||||
blr
|
||||
tool_check_end:
|
||||
|
||||
.data 0x8010E3BC
|
||||
.data <VERS 0x8010E3BC 0x8010E3BC 0x8010E2B4 0x8010E118 0x8010E318 0x8010E464 0x8010E2A4 0x8010E498>
|
||||
.data 0x00000004
|
||||
.address 0x8010E3BC
|
||||
.address <VERS 0x8010E3BC 0x8010E3BC 0x8010E2B4 0x8010E118 0x8010E318 0x8010E464 0x8010E2A4 0x8010E498>
|
||||
bl tool_check_start
|
||||
|
||||
.data 0x00000000
|
||||
@@ -1,38 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# Xbox port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x0017DED6 # Rare weapons and armors
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017DEBC # Unidentified weapons
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017E07E
|
||||
.data 0x00000005
|
||||
.binary E98E0C0000 # jmp tool_check_start
|
||||
|
||||
.data 0x0017ED11
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
tool_check_start:
|
||||
xor edi, edi
|
||||
test byte [eax + 0x10], 0x80
|
||||
cmovz edi, [eax + 0x0C]
|
||||
.binary E995F3FFFF # jmp tool_check_ret
|
||||
tool_check_end:
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,38 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# Xbox port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x0017DD36 # Rare weapons and armors
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017DD1C # Unidentified weapons
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017DEDE
|
||||
.data 0x00000005
|
||||
.binary E98E0C0000 # jmp tool_check_start
|
||||
|
||||
.data 0x0017EB71
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
tool_check_start:
|
||||
xor edi, edi
|
||||
test byte [eax + 0x10], 0x80
|
||||
cmovz edi, [eax + 0x0C]
|
||||
.binary E995F3FFFF # jmp tool_check_ret
|
||||
tool_check_end:
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,38 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# Xbox port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x0017DEB6 # Rare weapons and armors
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017DE9C # Unidentified weapons
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017E05E
|
||||
.data 0x00000005
|
||||
.binary E98E0C0000 # jmp tool_check_start
|
||||
|
||||
.data 0x0017ECF1
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
tool_check_start:
|
||||
xor edi, edi
|
||||
test byte [eax + 0x10], 0x80
|
||||
cmovz edi, [eax + 0x0C]
|
||||
.binary E995F3FFFF # jmp tool_check_ret
|
||||
tool_check_end:
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,38 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# Xbox port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x0017DF66 # Rare weapons and armors
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017DF4C # Unidentified weapons
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017E10E
|
||||
.data 0x00000005
|
||||
.binary E98E0C0000 # jmp tool_check_start
|
||||
|
||||
.data 0x0017EDA1
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
tool_check_start:
|
||||
xor edi, edi
|
||||
test byte [eax + 0x10], 0x80
|
||||
cmovz edi, [eax + 0x0C]
|
||||
.binary E995F3FFFF # jmp tool_check_ret
|
||||
tool_check_end:
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,38 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# Xbox port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x0017DEC6 # Rare weapons and armors
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017DEAC # Unidentified weapons
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017E06E
|
||||
.data 0x00000005
|
||||
.binary E98E0C0000 # jmp tool_check_start
|
||||
|
||||
.data 0x0017ED01
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
tool_check_start:
|
||||
xor edi, edi
|
||||
test byte [eax + 0x10], 0x80
|
||||
cmovz edi, [eax + 0x0C]
|
||||
.binary E995F3FFFF # jmp tool_check_ret
|
||||
tool_check_end:
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,38 +0,0 @@
|
||||
# Original patch by Soly, in Blue Burst Patch Project
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# Xbox port by fuzziqersoftware
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x0017DE96 # Rare weapons and armors
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017DE7C # Unidentified weapons
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017E03E
|
||||
.data 0x00000005
|
||||
.binary E98E0C0000 # jmp tool_check_start
|
||||
|
||||
.data 0x0017ECD1
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
tool_check_start:
|
||||
xor edi, edi
|
||||
test byte [eax + 0x10], 0x80
|
||||
cmovz edi, [eax + 0x0C]
|
||||
.binary E995F3FFFF # jmp tool_check_ret
|
||||
tool_check_end:
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
+9
-7
@@ -2,8 +2,10 @@
|
||||
# https://github.com/Solybum/Blue-Burst-Patch-Project
|
||||
# Xbox port by fuzziqersoftware
|
||||
|
||||
.versions 4OED 4OEU 4OJB 4OJD 4OJU 4OPD 4OPU
|
||||
|
||||
.meta name="No rare selling"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto vendors"
|
||||
.meta description="Stops you from\naccidentally\nselling rares\nto shops"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
@@ -13,25 +15,25 @@ start:
|
||||
|
||||
# See comments in the 59NL version of this patch for details on how it works.
|
||||
|
||||
.data 0x0017DEA6 # Rare weapons and armors
|
||||
.data <VERS 0x0017DEA6 0x0017DED6 0x0017DD36 0x0017DEB6 0x0017DF66 0x0017DEC6 0x0017DE96>
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017DE8C # Unidentified weapons
|
||||
.data <VERS 0x0017DE8C 0x0017DEBC 0x0017DD1C 0x0017DE9C 0x0017DF4C 0x0017DEAC 0x0017DE7C>
|
||||
.data 0x00000004
|
||||
.data 0x00000000
|
||||
|
||||
.data 0x0017E04E
|
||||
.data <VERS 0x0017E04E 0x0017E07E 0x0017DEDE 0x0017E05E 0x0017E10E 0x0017E06E 0x0017E03E>
|
||||
.data 0x00000005
|
||||
.binary E98E0C0000 # jmp tool_check_start
|
||||
.binary E98E0C0000
|
||||
|
||||
.data 0x0017ECE1
|
||||
.data <VERS 0x0017ECE1 0x0017ED11 0x0017EB71 0x0017ECF1 0x0017EDA1 0x0017ED01 0x0017ECD1>
|
||||
.deltaof tool_check_start, tool_check_end
|
||||
tool_check_start:
|
||||
xor edi, edi
|
||||
test byte [eax + 0x10], 0x80
|
||||
cmovz edi, [eax + 0x0C]
|
||||
.binary E995F3FFFF # jmp tool_check_ret
|
||||
.binary E995F3FFFF
|
||||
tool_check_end:
|
||||
|
||||
.data 0x00000000
|
||||
Reference in New Issue
Block a user