//TWMS109 召喚獸無延遲 CRC版
//------------------------------------------------------------------
[ENABLE]
registersymbol(FixTime)
alloc(FixTime,1024)
registersymbol(FixTimeOF)
alloc(FixTimeOF,4)
registersymbol(Fix)
alloc(Fix,1024)
registersymbol(FixSSTime)
alloc(FixSSTime,4)
registersymbol(FixSSTime10C)
alloc(FixSSTime10C,4)
label(Fix00)
label(Fix01)
//-----------------------------------------------
Fix:
push eax
mov eax,[ebx+00000114]
cmp [FixSSTime10C],eax
pop eax
je Fix01
push eax
mov eax,[FixTimeOF]
cmp eax,[FixSSTime]
pop eax
je Fix00
push eax
mov eax,[ebx+00000114]
mov [FixSSTime10C],eax
mov eax,[FixTimeOF]
mov [FixSSTime],eax
pop eax
Fix01:
push [ebx+000000b4] //787082 的下32行 [ebx+000000d4],00 //83 ? ? ? ? ? ? 0f ? ? ? ? ? ff ? ? ? ? ? 8d ? ? ? ? ? 50 e8 ? ? ? ? 83
call 0074f4d9 // [ebx+000000b4] 下一行 opcode
pop ecx
mov ecx,esi
sub ecx,[ebx+00000114] //call 0074f4d9 的下3行
push esi
mov ecx,ebx
call 00787d70 // [ebx+000000b0] 下9行的 opcode
jmp 00787120 //aob的jg位址
//-----------------------------------------------
Fix00:
jg 00787120 //aob
mov eax,[ebx+000000c8] //aob下一行
jmp 007870AE //aob下2行 dec eax
//-----------------------------------------------
FixTime:
add [FixTimeOF],2710
mov eax,[FixTimeOF]
ret
7870A6:
jmp Fix
db 90 90 90
788778: //aob:c6 ? ? ? e8 ? ? ? ? e8 ? ? ? ? 50 8d ? ? e8 ? ? ? ? 8a 下2行
call FixTime
//-----------------------------------------------
[DISABLE]
7870A6: //aob: 7f ? 8b ? ? ? ? ? 48 74 ? 48 75 ? 8b c6
jg 00787120
mov eax,[ebx+000000c8]
//-----------------------------------------------
dealloc(FixTime)
unregistersymbol(FixTime)
//-----------------------------------------------
dealloc(Fix)
unregistersymbol(Fix)
dealloc(Fix)
unregistersymbol(Fix) |