mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 15:38:22 +00:00
14 lines
265 B
ArmAsm
14 lines
265 B
ArmAsm
#include "libc/nt/codegen.h"
|
|
.imp advapi32,__imp_RegCreateKeyW,RegCreateKeyW,1616
|
|
|
|
#ifdef __x86_64__
|
|
.text.windows
|
|
RegCreateKey:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov __imp_RegCreateKeyW(%rip),%rax
|
|
jmp __sysv2nt
|
|
.endfn RegCreateKey,globl
|
|
.previous
|
|
#endif
|