mirror of
https://github.com/ptitSeb/box86.git
synced 2025-03-03 04:05:26 +00:00
A new bunch of wrapped functions
This commit is contained in:
parent
f275040887
commit
ac441ab136
@ -8,7 +8,7 @@ GOM(curl_easy_cleanup, vFEp)
|
||||
GO(curl_easy_getinfo, uFpppppp) //vararg
|
||||
GO(curl_easy_init, pFv)
|
||||
//GO(curl_easy_pause,
|
||||
//GO(curl_easy_perform,
|
||||
GO(curl_easy_perform, uFp)
|
||||
//GO(curl_easy_recv,
|
||||
//GO(curl_easy_reset,
|
||||
//GO(curl_easy_send,
|
||||
|
@ -1075,7 +1075,7 @@ GO(memcmp, iFppu)
|
||||
GO(memcpy, pFppu)
|
||||
GO(__memcpy_chk, pFppuu)
|
||||
// memfrob
|
||||
// memmem
|
||||
GO(memmem, pFpupu)
|
||||
GO(memmove, pFppu)
|
||||
GO(__memmove_chk, pFppuu)
|
||||
// mempcpy
|
||||
@ -1712,7 +1712,7 @@ GO(strxfrm_l, uFppup)
|
||||
// svcunix_create
|
||||
// svcunixfd_create
|
||||
// svc_unregister
|
||||
// swab
|
||||
GO(swab, vFppi)
|
||||
// swapcontext
|
||||
// swapoff // Weak
|
||||
// swapon // Weak
|
||||
@ -1803,7 +1803,7 @@ DATAV(tzname, 4)
|
||||
DATA(__tzname, 4)
|
||||
GOW(tzset, vFv)
|
||||
// ualarm
|
||||
// __uflow
|
||||
GO(__uflow, iFp)
|
||||
// ulckpwdf // Weak
|
||||
// ulimit // Weak
|
||||
GOW(umask, uFu)
|
||||
|
@ -74,14 +74,14 @@ GO(vorbis_comment_init, vFp)
|
||||
//GO(vorbis_comment_query_count,
|
||||
GO(vorbis_dsp_clear, vFp)
|
||||
//GO(vorbis_granule_time,
|
||||
//GO(vorbis_info_blocksize,
|
||||
GO(vorbis_info_blocksize, iFpi)
|
||||
GO(vorbis_info_clear, vFp)
|
||||
GO(vorbis_info_init, vFp)
|
||||
//GO(vorbis_lpc_from_data,
|
||||
//GO(vorbis_lpc_predict,
|
||||
//GO(vorbis_lpc_to_lsp,
|
||||
//GO(vorbis_lsp_to_curve,
|
||||
//GO(vorbis_packet_blocksize,
|
||||
GO(vorbis_packet_blocksize, iFpp)
|
||||
//GO(vorbis_staticbook_destroy,
|
||||
//GO(vorbis_staticbook_pack,
|
||||
//GO(vorbis_staticbook_unpack,
|
||||
@ -95,8 +95,8 @@ GO(vorbis_synthesis_init, iFpp)
|
||||
//GO(vorbis_synthesis_lapout,
|
||||
GO(vorbis_synthesis_pcmout, iFpp)
|
||||
GO(vorbis_synthesis_read, iFpi)
|
||||
//GO(vorbis_synthesis_restart,
|
||||
//GO(vorbis_synthesis_trackonly,
|
||||
GO(vorbis_synthesis_restart, iFp)
|
||||
GO(vorbis_synthesis_trackonly, iFpp)
|
||||
//GO(vorbis_version_string,
|
||||
//GO(vorbis_window,
|
||||
//GO(_vorbis_window_get,
|
||||
|
@ -427,7 +427,7 @@ GO(XGetWindowProperty, iFpppiiipppppp)
|
||||
GO(XGetWMColormapWindows, iFpppp)
|
||||
GO(XGetWMHints, pFpp)
|
||||
//GO(XGetWMIconName
|
||||
//GO(XGetWMName
|
||||
GO(XGetWMName, iFppp)
|
||||
GO(XGetWMNormalHints, iFpppp)
|
||||
//GO(XGetWMProtocols
|
||||
GO(XGetWMSizeHints, iFppppu)
|
||||
@ -812,7 +812,7 @@ GO(XOpenIM, uFpppp)
|
||||
//GO(XOpenOM
|
||||
// _XParseBaseFontNameList
|
||||
GO(XParseColor, iFpppp)
|
||||
//GO(XParseGeometry
|
||||
GO(XParseGeometry, iFppppp)
|
||||
GO(XPeekEvent, iFpp)
|
||||
GOM(XPeekIfEvent, iFEpppp)
|
||||
GO(XPending, iFp)
|
||||
@ -828,7 +828,7 @@ GO(XPointInRegion, iFpp)
|
||||
// _XProcessWindowAttributes
|
||||
//GO(XProtocolRevision
|
||||
//GO(XProtocolVersion
|
||||
//GO(XPutBackEvent
|
||||
GO(XPutBackEvent, iFpp)
|
||||
// _XPutBackEvent
|
||||
GOM(XPutImage, iFEppppiiiiuu)
|
||||
//GO(XPutPixel
|
||||
@ -979,7 +979,7 @@ GO(XSetWindowColormap, iFppp)
|
||||
//GO(XSetWMClientMachine
|
||||
GO(XSetWMColormapWindows, iFpppi)
|
||||
GO(XSetWMHints, iFppp)
|
||||
//GO(XSetWMIconName
|
||||
GO(XSetWMIconName, vFppp)
|
||||
GO(XSetWMName, vFppp)
|
||||
GO(XSetWMNormalHints, iFpppp)
|
||||
GO(XSetWMProperties, vFpppppippp)
|
||||
|
@ -403,6 +403,7 @@ typedef void* (*pFpipp_t)(void*, int32_t, void*, void*);
|
||||
typedef void* (*pFpuii_t)(void*, uint32_t, int32_t, int32_t);
|
||||
typedef void* (*pFpuui_t)(void*, uint32_t, uint32_t, int32_t);
|
||||
typedef void* (*pFpupi_t)(void*, uint32_t, void*, int32_t);
|
||||
typedef void* (*pFpupu_t)(void*, uint32_t, void*, uint32_t);
|
||||
typedef void* (*pFppii_t)(void*, void*, int32_t, int32_t);
|
||||
typedef void* (*pFppip_t)(void*, void*, int32_t, void*);
|
||||
typedef void* (*pFppuu_t)(void*, void*, uint32_t, uint32_t);
|
||||
@ -1199,6 +1200,7 @@ void pFpipp(x86emu_t *emu, uintptr_t fcn) { pFpipp_t fn = (pFpipp_t)fcn; R_EAX=(
|
||||
void pFpuii(x86emu_t *emu, uintptr_t fcn) { pFpuii_t fn = (pFpuii_t)fcn; R_EAX=(uintptr_t)fn(*(void**)(R_ESP + 4), *(uint32_t*)(R_ESP + 8), *(int32_t*)(R_ESP + 12), *(int32_t*)(R_ESP + 16)); }
|
||||
void pFpuui(x86emu_t *emu, uintptr_t fcn) { pFpuui_t fn = (pFpuui_t)fcn; R_EAX=(uintptr_t)fn(*(void**)(R_ESP + 4), *(uint32_t*)(R_ESP + 8), *(uint32_t*)(R_ESP + 12), *(int32_t*)(R_ESP + 16)); }
|
||||
void pFpupi(x86emu_t *emu, uintptr_t fcn) { pFpupi_t fn = (pFpupi_t)fcn; R_EAX=(uintptr_t)fn(*(void**)(R_ESP + 4), *(uint32_t*)(R_ESP + 8), *(void**)(R_ESP + 12), *(int32_t*)(R_ESP + 16)); }
|
||||
void pFpupu(x86emu_t *emu, uintptr_t fcn) { pFpupu_t fn = (pFpupu_t)fcn; R_EAX=(uintptr_t)fn(*(void**)(R_ESP + 4), *(uint32_t*)(R_ESP + 8), *(void**)(R_ESP + 12), *(uint32_t*)(R_ESP + 16)); }
|
||||
void pFppii(x86emu_t *emu, uintptr_t fcn) { pFppii_t fn = (pFppii_t)fcn; R_EAX=(uintptr_t)fn(*(void**)(R_ESP + 4), *(void**)(R_ESP + 8), *(int32_t*)(R_ESP + 12), *(int32_t*)(R_ESP + 16)); }
|
||||
void pFppip(x86emu_t *emu, uintptr_t fcn) { pFppip_t fn = (pFppip_t)fcn; R_EAX=(uintptr_t)fn(*(void**)(R_ESP + 4), *(void**)(R_ESP + 8), *(int32_t*)(R_ESP + 12), *(void**)(R_ESP + 16)); }
|
||||
void pFppuu(x86emu_t *emu, uintptr_t fcn) { pFppuu_t fn = (pFppuu_t)fcn; R_EAX=(uintptr_t)fn(*(void**)(R_ESP + 4), *(void**)(R_ESP + 8), *(uint32_t*)(R_ESP + 12), *(uint32_t*)(R_ESP + 16)); }
|
||||
|
@ -402,6 +402,7 @@ void pFpipp(x86emu_t *emu, uintptr_t fnc);
|
||||
void pFpuii(x86emu_t *emu, uintptr_t fnc);
|
||||
void pFpuui(x86emu_t *emu, uintptr_t fnc);
|
||||
void pFpupi(x86emu_t *emu, uintptr_t fnc);
|
||||
void pFpupu(x86emu_t *emu, uintptr_t fnc);
|
||||
void pFppii(x86emu_t *emu, uintptr_t fnc);
|
||||
void pFppip(x86emu_t *emu, uintptr_t fnc);
|
||||
void pFppuu(x86emu_t *emu, uintptr_t fnc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user