mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-12-22 15:58:53 +00:00
17 lines
575 B
PHP
17 lines
575 B
PHP
sub rsp, 72
|
|
mov qword ptr [rsp+64], rbx
|
|
mov qword ptr [rsp+56], r8
|
|
mov qword ptr [rsp+48], r9
|
|
mov qword ptr [rsp+40], r10
|
|
mov qword ptr [rsp+32], r11
|
|
mov qword ptr [rsp+24], r12
|
|
mov qword ptr [rsp+16], r13
|
|
mov qword ptr [rsp+8], r14
|
|
mov qword ptr [rsp+0], r15
|
|
xor rbp, rax ;# modify "mx"
|
|
ror rbp, 32 ;# swap "ma" and "mx"
|
|
mov ebx, ebp ;# ecx = ma
|
|
and ebx, RANDOMX_DATASET_BASE_MASK
|
|
shr ebx, 6 ;# ebx = Dataset block number
|
|
;# add ebx, datasetOffset / 64
|
|
;# call 32768
|