本帖最後由 線上達人 於 2010-7-6 09:44 編輯
[ENABLE]
// 代碼= Address:00464F87 EIP:MouseEggXY
alloc(MouseEggXY,1024)
label(zeroY)
label(oneY)
label(twoY)
label(threeY)
label(fourY)
label(fiveY)
label(sixY)
label(sevenY)
label(eightY)
label(nineY)
label(tenY)
label(rrrB11Y)
label(rrrB12Y)
label(byebye)
label(SelectYEgg)
label(SelectXEgg)
label(zeroX)
label(oneX)
label(twoX)
label(threeX)
label(fourX)
label(fiveX)
label(sixX)
label(sevenX)
label(eightX)
label(nineX)
label(tenX)
label(rrrB11X)
label(rrrB12X)
label(rrrB13X)
label(rrrB14X)
label(byebyeX)
MouseEggXY:
mov eax,[00a2700c] //X
jmp SelectXEgg
SelectXEgg:
mov eax,[00a2700c] //X
cmp eax,246 //582
jge rrrB14X
cmp eax,219 //537
jge rrrB13X
cmp eax , 1F3// 499
jge rrrB12X
cmp eax , 1CC //460
jge rrrB11X
cmp eax , 1A1 //417
jge tenX
cmp eax , 179 //377
jge nineX
cmp eax , 151 //337
jge eightX
cmp eax , 12A //298
jge sevenX
cmp eax , 102 //258
jge sixX
cmp eax , DC // 220
jge fiveX
cmp eax , B4 //180
jge fourX
cmp eax , 8C //140
jge threeX
cmp eax , 5D //93
jge twoX
cmp eax , 39 //57
jge oneX
cmp eax, 0 //0
jmp zeroX
zeroX:
mov [esi],0
jmp byebyeX
oneX:
mov [esi],1
jmp byebyeX
twoX:
mov [esi],2
jmp byebyeX
threeX:
mov [esi],3
jmp byebyeX
fourX:
mov [esi],4
jmp byebyeX
fiveX:
mov [esi],5
jmp byebyeX
sixX:
mov [esi],6
jmp byebyeX
sevenX:
mov [esi],7
jmp byebyeX
eightX:
mov [esi],8
jmp byebyeX
nineX:
mov [esi],9
jmp byebyeX
tenX:
mov [esi],A
jmp byebyeX
rrrB11X:
mov [esi],B
jmp byebyeX
rrrB12X:
mov [esi],C
jmp byebyeX
rrrB13X:
mov [esi],D
jmp byebyeX
rrrB14X:
mov [esi],E
jmp byebyeX
byebyeX:
jmp SelectYEgg
SelectYEgg:
cdq
idiv ecx
mov eax,[00a27010]//Y
cmp eax , 200 //512
jge rrrB12Y
cmp eax, 1DA //474
jge rrrB11Y
cmp eax, 1B4 //436
jge tenY
cmp eax , 18C // 396
jge nineY
cmp eax , 163 //355
jge eightY
cmp eax , 13B //315
jge sevenY
cmp eax, 116 //278
jge sixY
cmp eax , E7 //231
jge fiveY
cmp eax, C3 //195
jge fourY
cmp eax , 98 //152
jge threeY
cmp eax , 73 //115
jge twoY
cmp eax , 4A //74
jge oneY
zeroY:
mov [esi+04],0
jmp byebye
oneY:
mov [esi+04],1
jmp byebye
twoY:
mov [esi+04],2
jmp byebye
threeY:
mov [esi+04],3
jmp byebye
fourY:
mov [esi+04],4
jmp byebye
fiveY:
mov [esi+04],5
jmp byebye
sixY:
mov [esi+04],6
jmp byebye
sevenY:
mov [esi+04],7
jmp byebye
eightY:
mov [esi+04],8
jmp byebye
nineY:
mov [esi+04],9
jmp byebye
tenY:
mov [esi+04],A
jmp byebye
rrrB11Y:
mov [esi+04],B
jmp byebye
rrrB12Y:
mov [esi+04],C
jmp byebye
byebye:
[DISABLE]
dealloc(MouseEggXY) |