2013年7月10日 星期三

[C++] - Joachim Bauch's C++ Memory Module

MemoryModule is a library that can be used to load a DLL completely from memory – without storing on the disk first.

Changes since 0.0.2:

fixed compilation issues with gcc
added mingw makefile
added support for 64bit DLLs
fixed compilation issue when using Vista SDK
fixed wrong checking of result from LoadLibrary for errors (issue #2)
minor code cleanup
You can download the source from github, please report any issues in the tracker. As usual, any feedback, suggestions or patches are very welcome!

From : http://www.joachim-bauch.de/2012/04/09/memorymodule-0-0-3-released/

[TWMS] - GetHpMpInfo.AutoUpdate.2nd.Version

[ENABLE]
//Auther:Vinurpe
//This script cannot work fine with CE 5.6. Please update to 6.2
GlobalAlloc(GetHpMpHook,128)
Label(GetHpMp)
GlobalAlloc(MaxHp,4)
GlobalAlloc(Hp,4)
GlobalAlloc(MaxMp,4)
GlobalAlloc(Mp,4)
GlobalAlloc(MaxExp,4)
GlobalAlloc(Exp,4)
AOBSCAN(HookAddr,8d 45 cc 50 c6 45 fc 02 e8 ? ? ? ? 59 8b 8e ? ? 00 00)

GetHpMpHook:
cmp [Esp+08],HookAddr+D
je GetHpMp
mov edi,edi
push ebp
mov ebp,esp
jmp VariantClear+5

GetHpMp:
push eax
mov eax,[ebp+08]
mov [MaxHp],eax
mov eax,[ebp+0C]
mov [Hp],eax
mov eax,[ebp+10]
mov [Mp],eax
mov eax,[ebp+14]
mov [MaxMp],eax
mov eax,[ebp+18]
mov [Exp],eax
mov eax,[ebp+20]
mov [MaxExp],eax
pop eax
ret 0004

VariantClear:
jmp GetHpMpHook

[DISABLE]