02-13-2011, 04:10 PM
Hi guys.I have made state 5xxxyyy,but how can i make state like 5wwwxxxyyyzzz?
here's example code of state 5xxxyyy:
here's example code of state 5xxxyyy:
Code:
devHP:
CMP EAX,9000000
jl detectHP
CMP EAX,9800000
jge detectHP
sub eax,9000000
mov ecx,1000
mov edx,0
idiv ecx
xor ecx,ecx
mov ecx,eax
xor eax,eax
mov eax,edx
xor edx,edx
MOV EDX,DWORD PTR DS:[EBX+EDI*4+194h]
sub dword ptr ds:[edx+2FCh],eax
cmp dword ptr ds:[edx+2FCh],0
jle devHP2
jmp return
mov dword ptr ds:[edx+2FCh],500
devHP2:
xor eax,eax
mov eax,ecx
mov dword ptr ds:[edx+2FCh],10
mov dword ptr ds:[edx+70h],eax
jmp return