Hello, I'm trying to patch the client so that it doesn't do a sig check on the patch files(like GlueStrings.lua and XML) and so i cam across this little bit of Assembly code, and was wondering how to make it return false if the GlueXML is "Corrupt":
Code:
.text:004813D5
.text:004813D5 loc_4813D5: ; CODE XREF: sub_4811C0+1F4j
.text:004813D5 ; DATA XREF: .text:off_481584o
.text:004813D5 push offset aGluexmlIsModif ; case 0x2
.text:004813DA push 1
.text:004813DC lea eax, [ebp+var_18]
.text:004813DF push eax
.text:004813E0
.text:004813E0 loc_4813E0: ; CODE XREF: sub_4811C0+206j
.text:004813E0 ; sub_4811C0+213j
.text:004813E0 call sub_4232B0
.text:004813E5 add esp, 0Ch
.text:004813E8
.text:004813E8 loc_4813E8: ; CODE XREF: sub_4811C0+1F2j
.text:004813E8 ; sub_4811C0+2FBj
.text:004813E8 push 9 ; default
.text:004813EA call sub_4033E0
.text:004813EF add esp, 4
.text:004813F2 lea ecx, [ebp+var_18]
.text:004813F5 call sub_480EA0
.text:004813FA pop ebx
.text:004813FB mov esp, ebp
.text:004813FD pop ebp
.text:004813FE retn
Any help would be appreciated.