cheat-engine/DBKKernel/segmentinfo.asm
Dark Byte d2dc1a6235 Now using visual studio 2017 to compile the driver
split up ultimap2 from dbk (in case signing dbk fails ultimap will keep working)
fixed the processwatcher bsod'ing you if you have multiple CE's open
fixed the ss segment limit in dbvm offload (not that it was used)
2018-04-13 00:25:53 +02:00

43 lines
613 B
NASM

_TEXT SEGMENT 'CODE'
PUBLIC _getAccessRights@8
_getAccessRights@8:
push ebp
mov ebp,esp
push ecx
mov ecx,[ebp+8] ;0=old ebp, 4=return address, 8=param1
lar eax,ecx
jnz getAccessRights_invalid
shr eax,8
and eax,0f0ffh
jmp getAccessRights_exit
getAccessRights_invalid:
mov eax,010000h
getAccessRights_exit:
pop ecx
pop ebp
ret
PUBLIC _getSegmentLimit@8
_getSegmentLimit@8:
push ebp
mov ebp,esp
push ecx
mov ecx,[ebp+8]
xor eax,eax
lsl eax,ecx
pop ecx
pop ebp
ret
_TEXT ENDS
END