mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 20:13:31 +00:00
17 lines
258 B
ArmAsm
17 lines
258 B
ArmAsm
#include "libc/nt/codegen.h"
|
|
.imp user32,__imp_GetMenu,GetMenu,1881
|
|
|
|
#ifdef __x86_64__
|
|
.text.windows
|
|
GetMenu:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov %rdi,%rcx
|
|
sub $32,%rsp
|
|
call *__imp_GetMenu(%rip)
|
|
leave
|
|
ret
|
|
.endfn GetMenu,globl
|
|
.previous
|
|
#endif
|