Scan type for RPG Maker

Upload *YOUR* gamehacking tools/helpers here
Post Reply
CaesarCzech
Expert Cheater
Expert Cheater
Posts: 178
Joined: Fri Mar 03, 2017 2:00 pm
Reputation: 18

Scan type for RPG Maker

Post by CaesarCzech » Wed Dec 05, 2018 6:26 pm

So i found some tools and modified it for purpose of some less clean adventures.
Can it be checked that this is universal ?


alloc(TypeName,256)
alloc(ByteSize,4)
alloc(ConvertRoutine,1024)
alloc(ConvertBackRoutine,1024)

TypeName:
db 'RPG VX type',0

ByteSize:
dd 4



ConvertRoutine:
[32-bit]
push ebp
mov ebp,esp
push ecx
mov ecx,[ebp+8]
[/32-bit]




mov eax,[ecx]
shr eax,1


[64-bit]
ret
[/64-bit]
[32-bit]
pop ecx
pop ebp
ret 4
[/32-bit]


ConvertBackRoutine:
[32-bit]
push ebp
mov ebp,esp
push edx
push ecx
mov edx,[ebp+0c]
mov ecx,[ebp+08]
[/32-bit]



push eax
push edx


mov edx,[edx]
and edx,1

mov eax,ecx /
shl eax,1
or eax,edx

pop edx
mov [edx],eax
pop eax

[64-bit]

ret
[/64-bit]

[32-bit]
pop ecx
pop edx
pop ebp
ret 8
[/32-bit]

JohnFK
Cheater
Cheater
Posts: 45
Joined: Tue Aug 29, 2017 10:50 am
Reputation: 10

Re: Scan type for RPG Maker

Post by JohnFK » Fri Dec 07, 2018 11:49 pm

You first have to clarify for which RPG Maker version this should be

Post Reply

Who is online

Users browsing this forum: No registered users