You are on page 1of 2

alloc(ConvertRoutine,1024)

alloc(ConvertBackRoutine,1024)
alloc(TypeName,256)
alloc(ByteSize,4)
alloc(UsesFloat,1)
TypeName:
db 'Asphalt 8',0
ByteSize:
dd 4
UsesFloat:
db 0
ConvertRoutine:
[64-bit]
mov eax,[rcx]
xor eax, 0baadf00d
rol eax, 0e
ret
[/64-bit]
[32-bit]
push ebp
mov ebp,esp
mov eax,[ebp+8]
mov eax,[eax]
xor eax, 0baadf00d
rol eax, 0e
pop ebp
ret 4
[/32-bit]
ConvertBackRoutine:
[64-bit]

ror ecx, e
xor ecx, baadf00d
mov [rdx],ecx
ret
[/64-bit]
[32-bit]
push ebp
mov ebp,esp
push eax
push ebx
mov eax,[ebp+8]
mov ebx,[ebp+c]
ror eax, 0e
xor eax, 0baadf00d
mov [ebx],eax
pop ebx
pop eax
pop ebp
ret 8 [/32-bit]

You might also like