1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
.x64 .model flat something STRUCT myproc dq ? something ENDS .code myproc proto mov [(type something.myproc) ptr [rax]], rax a db 0 myproc PROC RET myproc ENDP end