mirror of
https://github.com/ptitSeb/box64.git
synced 2024-11-24 06:59:53 +00:00
Added another batch of wrapped x11 related lib (still un-tested copy from box86)
This commit is contained in:
parent
544a496f08
commit
3ee26b727c
@ -159,9 +159,13 @@ set(WRAPPEDS
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedlibxdmcp.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedlibxext.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedlibxi.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedlibxrandr.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedlibxrender.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedlibxxf86vm.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedopenal.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedsdl1.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedsdl2.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedxinerama.c"
|
||||
)
|
||||
|
||||
#set(WRAPPEDS_HEAD "${BOX64_ROOT}/src/wrapped/wrappedd3dadapter9_gen.h")
|
||||
|
@ -30,13 +30,13 @@ GO("libSDL-1.2.so.0", sdl1)
|
||||
//GO("libogg.so.0", libogg)
|
||||
//GO("libpng12.so.0", png12)
|
||||
//GO("libpng16.so.16", png16)
|
||||
//GO("libXxf86vm.so.1", libxxf86vm)
|
||||
//GO("libXinerama.so.1", xinerama)
|
||||
//GO("libXrandr.so.2", libxrandr)
|
||||
GO("libXxf86vm.so.1", libxxf86vm)
|
||||
GO("libXinerama.so.1", xinerama)
|
||||
GO("libXrandr.so.2", libxrandr)
|
||||
GO("libXext.so.6", libxext)
|
||||
//GO("libXfixes.so.3", libxfixes)
|
||||
//GO("libXcursor.so.1", libxcursor)
|
||||
//GO("libXrender.so.1", libxrender)
|
||||
GO("libXrender.so.1", libxrender)
|
||||
GO("libXi.so.6", libxi)
|
||||
//GO("libXss.so.1", libxss)
|
||||
//GO("libXpm.so.4", libxpm)
|
||||
|
@ -8,6 +8,7 @@
|
||||
#() cFi
|
||||
#() cFu
|
||||
#() cFp
|
||||
#() wFp
|
||||
#() iFE
|
||||
#() iFv
|
||||
#() iFi
|
||||
@ -213,6 +214,7 @@
|
||||
#() uFupu
|
||||
#() uFupp
|
||||
#() uFpiu
|
||||
#() uFpip
|
||||
#() uFpLp
|
||||
#() uFppi
|
||||
#() uFppu
|
||||
@ -293,6 +295,7 @@
|
||||
#() vFpddd
|
||||
#() vFppip
|
||||
#() vFppui
|
||||
#() vFppup
|
||||
#() vFpppi
|
||||
#() vFpppu
|
||||
#() vFpppp
|
||||
@ -358,6 +361,7 @@
|
||||
#() pFiiup
|
||||
#() pFuiii
|
||||
#() pFpiii
|
||||
#() pFpiip
|
||||
#() pFpiuu
|
||||
#() pFpipp
|
||||
#() pFpCWp
|
||||
@ -367,7 +371,9 @@
|
||||
#() pFpuWp
|
||||
#() pFpuuu
|
||||
#() pFpuup
|
||||
#() pFpupi
|
||||
#() pFplpp
|
||||
#() pFppii
|
||||
#() pFppiL
|
||||
#() pFppip
|
||||
#() pFppuL
|
||||
@ -437,6 +443,7 @@
|
||||
#() vFppiii
|
||||
#() vFppWui
|
||||
#() vFpppii
|
||||
#() vFppppi
|
||||
#() vFppppp
|
||||
#() iFEpipp
|
||||
#() iFEppiV
|
||||
@ -490,6 +497,8 @@
|
||||
#() pFppLLp
|
||||
#() pFpppip
|
||||
#() pFpppuu
|
||||
#() pFpppup
|
||||
#() pFppppi
|
||||
#() pFppppp
|
||||
#() vFEiiipp
|
||||
#() vFiiiiii
|
||||
@ -535,8 +544,10 @@
|
||||
#() vFffffff
|
||||
#() vFdddddd
|
||||
#() vFpipipV
|
||||
#() vFpipppi
|
||||
#() vFpdddii
|
||||
#() vFppiiii
|
||||
#() vFppiipi
|
||||
#() vFppupii
|
||||
#() vFpppppp
|
||||
#() iFEpippi
|
||||
@ -547,6 +558,8 @@
|
||||
#() iFuppppp
|
||||
#() iFpiiiii
|
||||
#() iFpiiipp
|
||||
#() iFpiippp
|
||||
#() iFpipppp
|
||||
#() iFpupuui
|
||||
#() iFppiiuu
|
||||
#() iFppIppp
|
||||
@ -555,6 +568,7 @@
|
||||
#() iFppuIII
|
||||
#() iFppuupp
|
||||
#() iFppupip
|
||||
#() iFpppiuu
|
||||
#() iFpppipi
|
||||
#() iFpppipp
|
||||
#() iFppppii
|
||||
@ -612,6 +626,7 @@
|
||||
#() vFpddiidd
|
||||
#() vFppiiipi
|
||||
#() vFpppiiii
|
||||
#() vFppppipi
|
||||
#() iFEpppiiu
|
||||
#() iFEpppppp
|
||||
#() iFiiiiiip
|
||||
@ -627,6 +642,7 @@
|
||||
#() iFpppiiii
|
||||
#() iFpppiiuu
|
||||
#() iFpppiipi
|
||||
#() iFpppiuwu
|
||||
#() iFppppiii
|
||||
#() iFppppdpi
|
||||
#() iFppppppp
|
||||
@ -661,6 +677,7 @@
|
||||
#() vFuuuuuuuu
|
||||
#() vFuuuuufff
|
||||
#() vFffffffff
|
||||
#() vFpippiiuu
|
||||
#() vFpippiipi
|
||||
#() vFppiiipii
|
||||
#() vFppppiipi
|
||||
@ -697,6 +714,7 @@
|
||||
#() vFuffffffff
|
||||
#() vFffuuuufff
|
||||
#() vFddddddddd
|
||||
#() vFpipppiipi
|
||||
#() vFppiiipiii
|
||||
#() vFpppppippp
|
||||
#() iFiiiiiiiip
|
||||
@ -731,6 +749,7 @@
|
||||
#() iFiiiiiiiiip
|
||||
#() iFpuupiuiipp
|
||||
#() iFppuuiiiiii
|
||||
#() iFppuuiiuupi
|
||||
#() iFppppiiuuii
|
||||
#() pFpCuWCCuuCW
|
||||
#() pFpuuuwwwwWW
|
||||
@ -747,6 +766,7 @@
|
||||
#() vFuuddiiddiip
|
||||
#() vFuffffffffff
|
||||
#() vFpipipiipiii
|
||||
#() vFpipppiiiipi
|
||||
#() iFEppppiiiiuu
|
||||
#() iFiiiiiiiiiip
|
||||
#() iFpipllippppp
|
||||
@ -756,6 +776,8 @@
|
||||
#() vFuuiiiiiiiuup
|
||||
#() vFuuuuuuuuuuuu
|
||||
#() vFffffffffffff
|
||||
#() vFpipppiiiipii
|
||||
#() vFpippppiiiipi
|
||||
#() iFEppppiiiiuui
|
||||
#() iFpipppppppppp
|
||||
#() iFpppllipppppp
|
||||
@ -769,6 +791,7 @@
|
||||
#() vFuffffffffffff
|
||||
#() iFddddpppddpppp
|
||||
#() iFpippuuuiipppp
|
||||
#() iFpupiiiipppppp
|
||||
#() pFpCuuwwWWWWuup
|
||||
#() pFppppppppppppp
|
||||
#() vFuffiiffiiffiip
|
||||
|
@ -41,6 +41,7 @@ typedef void (*vFp_t)(void*);
|
||||
typedef int8_t (*cFi_t)(int32_t);
|
||||
typedef int8_t (*cFu_t)(uint32_t);
|
||||
typedef int8_t (*cFp_t)(void*);
|
||||
typedef int16_t (*wFp_t)(void*);
|
||||
typedef int32_t (*iFE_t)(x64emu_t*);
|
||||
typedef int32_t (*iFv_t)(void);
|
||||
typedef int32_t (*iFi_t)(int32_t);
|
||||
@ -246,6 +247,7 @@ typedef uint32_t (*uFuup_t)(uint32_t, uint32_t, void*);
|
||||
typedef uint32_t (*uFupu_t)(uint32_t, void*, uint32_t);
|
||||
typedef uint32_t (*uFupp_t)(uint32_t, void*, void*);
|
||||
typedef uint32_t (*uFpiu_t)(void*, int32_t, uint32_t);
|
||||
typedef uint32_t (*uFpip_t)(void*, int32_t, void*);
|
||||
typedef uint32_t (*uFpLp_t)(void*, uintptr_t, void*);
|
||||
typedef uint32_t (*uFppi_t)(void*, void*, int32_t);
|
||||
typedef uint32_t (*uFppu_t)(void*, void*, uint32_t);
|
||||
@ -326,6 +328,7 @@ typedef void (*vFpdii_t)(void*, double, int32_t, int32_t);
|
||||
typedef void (*vFpddd_t)(void*, double, double, double);
|
||||
typedef void (*vFppip_t)(void*, void*, int32_t, void*);
|
||||
typedef void (*vFppui_t)(void*, void*, uint32_t, int32_t);
|
||||
typedef void (*vFppup_t)(void*, void*, uint32_t, void*);
|
||||
typedef void (*vFpppi_t)(void*, void*, void*, int32_t);
|
||||
typedef void (*vFpppu_t)(void*, void*, void*, uint32_t);
|
||||
typedef void (*vFpppp_t)(void*, void*, void*, void*);
|
||||
@ -391,6 +394,7 @@ typedef void* (*pFiiiu_t)(int32_t, int32_t, int32_t, uint32_t);
|
||||
typedef void* (*pFiiup_t)(int32_t, int32_t, uint32_t, void*);
|
||||
typedef void* (*pFuiii_t)(uint32_t, int32_t, int32_t, int32_t);
|
||||
typedef void* (*pFpiii_t)(void*, int32_t, int32_t, int32_t);
|
||||
typedef void* (*pFpiip_t)(void*, int32_t, int32_t, void*);
|
||||
typedef void* (*pFpiuu_t)(void*, int32_t, uint32_t, uint32_t);
|
||||
typedef void* (*pFpipp_t)(void*, int32_t, void*, void*);
|
||||
typedef void* (*pFpCWp_t)(void*, uint8_t, uint16_t, void*);
|
||||
@ -400,7 +404,9 @@ typedef void* (*pFpuii_t)(void*, uint32_t, int32_t, int32_t);
|
||||
typedef void* (*pFpuWp_t)(void*, uint32_t, uint16_t, void*);
|
||||
typedef void* (*pFpuuu_t)(void*, uint32_t, uint32_t, uint32_t);
|
||||
typedef void* (*pFpuup_t)(void*, uint32_t, uint32_t, void*);
|
||||
typedef void* (*pFpupi_t)(void*, uint32_t, void*, int32_t);
|
||||
typedef void* (*pFplpp_t)(void*, intptr_t, void*, void*);
|
||||
typedef void* (*pFppii_t)(void*, void*, int32_t, int32_t);
|
||||
typedef void* (*pFppiL_t)(void*, void*, int32_t, uintptr_t);
|
||||
typedef void* (*pFppip_t)(void*, void*, int32_t, void*);
|
||||
typedef void* (*pFppuL_t)(void*, void*, uint32_t, uintptr_t);
|
||||
@ -470,6 +476,7 @@ typedef void (*vFpddii_t)(void*, double, double, int32_t, int32_t);
|
||||
typedef void (*vFppiii_t)(void*, void*, int32_t, int32_t, int32_t);
|
||||
typedef void (*vFppWui_t)(void*, void*, uint16_t, uint32_t, int32_t);
|
||||
typedef void (*vFpppii_t)(void*, void*, void*, int32_t, int32_t);
|
||||
typedef void (*vFppppi_t)(void*, void*, void*, void*, int32_t);
|
||||
typedef void (*vFppppp_t)(void*, void*, void*, void*, void*);
|
||||
typedef int32_t (*iFEpipp_t)(x64emu_t*, void*, int32_t, void*, void*);
|
||||
typedef int32_t (*iFEppiV_t)(x64emu_t*, void*, void*, int32_t, void*);
|
||||
@ -523,6 +530,8 @@ typedef void* (*pFppuup_t)(void*, void*, uint32_t, uint32_t, void*);
|
||||
typedef void* (*pFppLLp_t)(void*, void*, uintptr_t, uintptr_t, void*);
|
||||
typedef void* (*pFpppip_t)(void*, void*, void*, int32_t, void*);
|
||||
typedef void* (*pFpppuu_t)(void*, void*, void*, uint32_t, uint32_t);
|
||||
typedef void* (*pFpppup_t)(void*, void*, void*, uint32_t, void*);
|
||||
typedef void* (*pFppppi_t)(void*, void*, void*, void*, int32_t);
|
||||
typedef void* (*pFppppp_t)(void*, void*, void*, void*, void*);
|
||||
typedef void (*vFEiiipp_t)(x64emu_t*, int32_t, int32_t, int32_t, void*, void*);
|
||||
typedef void (*vFiiiiii_t)(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t);
|
||||
@ -568,8 +577,10 @@ typedef void (*vFuppppp_t)(uint32_t, void*, void*, void*, void*, void*);
|
||||
typedef void (*vFffffff_t)(float, float, float, float, float, float);
|
||||
typedef void (*vFdddddd_t)(double, double, double, double, double, double);
|
||||
typedef void (*vFpipipV_t)(void*, int32_t, void*, int32_t, void*, void*);
|
||||
typedef void (*vFpipppi_t)(void*, int32_t, void*, void*, void*, int32_t);
|
||||
typedef void (*vFpdddii_t)(void*, double, double, double, int32_t, int32_t);
|
||||
typedef void (*vFppiiii_t)(void*, void*, int32_t, int32_t, int32_t, int32_t);
|
||||
typedef void (*vFppiipi_t)(void*, void*, int32_t, int32_t, void*, int32_t);
|
||||
typedef void (*vFppupii_t)(void*, void*, uint32_t, void*, int32_t, int32_t);
|
||||
typedef void (*vFpppppp_t)(void*, void*, void*, void*, void*, void*);
|
||||
typedef int32_t (*iFEpippi_t)(x64emu_t*, void*, int32_t, void*, void*, int32_t);
|
||||
@ -580,6 +591,8 @@ typedef int32_t (*iFuppipp_t)(uint32_t, void*, void*, int32_t, void*, void*);
|
||||
typedef int32_t (*iFuppppp_t)(uint32_t, void*, void*, void*, void*, void*);
|
||||
typedef int32_t (*iFpiiiii_t)(void*, int32_t, int32_t, int32_t, int32_t, int32_t);
|
||||
typedef int32_t (*iFpiiipp_t)(void*, int32_t, int32_t, int32_t, void*, void*);
|
||||
typedef int32_t (*iFpiippp_t)(void*, int32_t, int32_t, void*, void*, void*);
|
||||
typedef int32_t (*iFpipppp_t)(void*, int32_t, void*, void*, void*, void*);
|
||||
typedef int32_t (*iFpupuui_t)(void*, uint32_t, void*, uint32_t, uint32_t, int32_t);
|
||||
typedef int32_t (*iFppiiuu_t)(void*, void*, int32_t, int32_t, uint32_t, uint32_t);
|
||||
typedef int32_t (*iFppIppp_t)(void*, void*, int64_t, void*, void*, void*);
|
||||
@ -588,6 +601,7 @@ typedef int32_t (*iFppuiiL_t)(void*, void*, uint32_t, int32_t, int32_t, uintptr_
|
||||
typedef int32_t (*iFppuIII_t)(void*, void*, uint32_t, int64_t, int64_t, int64_t);
|
||||
typedef int32_t (*iFppuupp_t)(void*, void*, uint32_t, uint32_t, void*, void*);
|
||||
typedef int32_t (*iFppupip_t)(void*, void*, uint32_t, void*, int32_t, void*);
|
||||
typedef int32_t (*iFpppiuu_t)(void*, void*, void*, int32_t, uint32_t, uint32_t);
|
||||
typedef int32_t (*iFpppipi_t)(void*, void*, void*, int32_t, void*, int32_t);
|
||||
typedef int32_t (*iFpppipp_t)(void*, void*, void*, int32_t, void*, void*);
|
||||
typedef int32_t (*iFppppii_t)(void*, void*, void*, void*, int32_t, int32_t);
|
||||
@ -645,6 +659,7 @@ typedef void (*vFpipipii_t)(void*, int32_t, void*, int32_t, void*, int32_t, int3
|
||||
typedef void (*vFpddiidd_t)(void*, double, double, int32_t, int32_t, double, double);
|
||||
typedef void (*vFppiiipi_t)(void*, void*, int32_t, int32_t, int32_t, void*, int32_t);
|
||||
typedef void (*vFpppiiii_t)(void*, void*, void*, int32_t, int32_t, int32_t, int32_t);
|
||||
typedef void (*vFppppipi_t)(void*, void*, void*, void*, int32_t, void*, int32_t);
|
||||
typedef int32_t (*iFEpppiiu_t)(x64emu_t*, void*, void*, void*, int32_t, int32_t, uint32_t);
|
||||
typedef int32_t (*iFEpppppp_t)(x64emu_t*, void*, void*, void*, void*, void*, void*);
|
||||
typedef int32_t (*iFiiiiiip_t)(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, void*);
|
||||
@ -660,6 +675,7 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void*
|
||||
typedef int32_t (*iFpppiiii_t)(void*, void*, void*, int32_t, int32_t, int32_t, int32_t);
|
||||
typedef int32_t (*iFpppiiuu_t)(void*, void*, void*, int32_t, int32_t, uint32_t, uint32_t);
|
||||
typedef int32_t (*iFpppiipi_t)(void*, void*, void*, int32_t, int32_t, void*, int32_t);
|
||||
typedef int32_t (*iFpppiuwu_t)(void*, void*, void*, int32_t, uint32_t, int16_t, uint32_t);
|
||||
typedef int32_t (*iFppppiii_t)(void*, void*, void*, void*, int32_t, int32_t, int32_t);
|
||||
typedef int32_t (*iFppppdpi_t)(void*, void*, void*, void*, double, void*, int32_t);
|
||||
typedef int32_t (*iFppppppp_t)(void*, void*, void*, void*, void*, void*, void*);
|
||||
@ -694,6 +710,7 @@ typedef void (*vFuuuipipp_t)(uint32_t, uint32_t, uint32_t, int32_t, void*, int32
|
||||
typedef void (*vFuuuuuuuu_t)(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
|
||||
typedef void (*vFuuuuufff_t)(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, float, float, float);
|
||||
typedef void (*vFffffffff_t)(float, float, float, float, float, float, float, float);
|
||||
typedef void (*vFpippiiuu_t)(void*, int32_t, void*, void*, int32_t, int32_t, uint32_t, uint32_t);
|
||||
typedef void (*vFpippiipi_t)(void*, int32_t, void*, void*, int32_t, int32_t, void*, int32_t);
|
||||
typedef void (*vFppiiipii_t)(void*, void*, int32_t, int32_t, int32_t, void*, int32_t, int32_t);
|
||||
typedef void (*vFppppiipi_t)(void*, void*, void*, void*, int32_t, int32_t, void*, int32_t);
|
||||
@ -730,6 +747,7 @@ typedef void (*vFuupiuiuuf_t)(uint32_t, uint32_t, void*, int32_t, uint32_t, int3
|
||||
typedef void (*vFuffffffff_t)(uint32_t, float, float, float, float, float, float, float, float);
|
||||
typedef void (*vFffuuuufff_t)(float, float, uint32_t, uint32_t, uint32_t, uint32_t, float, float, float);
|
||||
typedef void (*vFddddddddd_t)(double, double, double, double, double, double, double, double, double);
|
||||
typedef void (*vFpipppiipi_t)(void*, int32_t, void*, void*, void*, int32_t, int32_t, void*, int32_t);
|
||||
typedef void (*vFppiiipiii_t)(void*, void*, int32_t, int32_t, int32_t, void*, int32_t, int32_t, int32_t);
|
||||
typedef void (*vFpppppippp_t)(void*, void*, void*, void*, void*, int32_t, void*, void*, void*);
|
||||
typedef int32_t (*iFiiiiiiiip_t)(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, void*);
|
||||
@ -764,6 +782,7 @@ typedef void (*vFffffffffff_t)(float, float, float, float, float, float, float,
|
||||
typedef int32_t (*iFiiiiiiiiip_t)(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, void*);
|
||||
typedef int32_t (*iFpuupiuiipp_t)(void*, uint32_t, uint32_t, void*, int32_t, uint32_t, int32_t, int32_t, void*, void*);
|
||||
typedef int32_t (*iFppuuiiiiii_t)(void*, void*, uint32_t, uint32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t);
|
||||
typedef int32_t (*iFppuuiiuupi_t)(void*, void*, uint32_t, uint32_t, int32_t, int32_t, uint32_t, uint32_t, void*, int32_t);
|
||||
typedef int32_t (*iFppppiiuuii_t)(void*, void*, void*, void*, int32_t, int32_t, uint32_t, uint32_t, int32_t, int32_t);
|
||||
typedef void* (*pFpCuWCCuuCW_t)(void*, uint8_t, uint32_t, uint16_t, uint8_t, uint8_t, uint32_t, uint32_t, uint8_t, uint16_t);
|
||||
typedef void* (*pFpuuuwwwwWW_t)(void*, uint32_t, uint32_t, uint32_t, int16_t, int16_t, int16_t, int16_t, uint16_t, uint16_t);
|
||||
@ -780,6 +799,7 @@ typedef void (*vFuufffffffff_t)(uint32_t, uint32_t, float, float, float, float,
|
||||
typedef void (*vFuuddiiddiip_t)(uint32_t, uint32_t, double, double, int32_t, int32_t, double, double, int32_t, int32_t, void*);
|
||||
typedef void (*vFuffffffffff_t)(uint32_t, float, float, float, float, float, float, float, float, float, float);
|
||||
typedef void (*vFpipipiipiii_t)(void*, int32_t, void*, int32_t, void*, int32_t, int32_t, void*, int32_t, int32_t, int32_t);
|
||||
typedef void (*vFpipppiiiipi_t)(void*, int32_t, void*, void*, void*, int32_t, int32_t, int32_t, int32_t, void*, int32_t);
|
||||
typedef int32_t (*iFEppppiiiiuu_t)(x64emu_t*, void*, void*, void*, void*, int32_t, int32_t, int32_t, int32_t, uint32_t, uint32_t);
|
||||
typedef int32_t (*iFiiiiiiiiiip_t)(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, void*);
|
||||
typedef int32_t (*iFpipllippppp_t)(void*, int32_t, void*, intptr_t, intptr_t, int32_t, void*, void*, void*, void*, void*);
|
||||
@ -789,6 +809,8 @@ typedef void (*vFuuiiiiiiiuip_t)(uint32_t, uint32_t, int32_t, int32_t, int32_t,
|
||||
typedef void (*vFuuiiiiiiiuup_t)(uint32_t, uint32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, uint32_t, uint32_t, void*);
|
||||
typedef void (*vFuuuuuuuuuuuu_t)(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
|
||||
typedef void (*vFffffffffffff_t)(float, float, float, float, float, float, float, float, float, float, float, float);
|
||||
typedef void (*vFpipppiiiipii_t)(void*, int32_t, void*, void*, void*, int32_t, int32_t, int32_t, int32_t, void*, int32_t, int32_t);
|
||||
typedef void (*vFpippppiiiipi_t)(void*, int32_t, void*, void*, void*, void*, int32_t, int32_t, int32_t, int32_t, void*, int32_t);
|
||||
typedef int32_t (*iFEppppiiiiuui_t)(x64emu_t*, void*, void*, void*, void*, int32_t, int32_t, int32_t, int32_t, uint32_t, uint32_t, int32_t);
|
||||
typedef int32_t (*iFpipppppppppp_t)(void*, int32_t, void*, void*, void*, void*, void*, void*, void*, void*, void*, void*);
|
||||
typedef int32_t (*iFpppllipppppp_t)(void*, void*, void*, intptr_t, intptr_t, int32_t, void*, void*, void*, void*, void*, void*);
|
||||
@ -802,6 +824,7 @@ typedef void (*vFuuuuuuuuuuuuu_t)(uint32_t, uint32_t, uint32_t, uint32_t, uint32
|
||||
typedef void (*vFuffffffffffff_t)(uint32_t, float, float, float, float, float, float, float, float, float, float, float, float);
|
||||
typedef int32_t (*iFddddpppddpppp_t)(double, double, double, double, void*, void*, void*, double, double, void*, void*, void*, void*);
|
||||
typedef int32_t (*iFpippuuuiipppp_t)(void*, int32_t, void*, void*, uint32_t, uint32_t, uint32_t, int32_t, int32_t, void*, void*, void*, void*);
|
||||
typedef int32_t (*iFpupiiiipppppp_t)(void*, uint32_t, void*, int32_t, int32_t, int32_t, int32_t, void*, void*, void*, void*, void*, void*);
|
||||
typedef void* (*pFpCuuwwWWWWuup_t)(void*, uint8_t, uint32_t, uint32_t, int16_t, int16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint32_t, uint32_t, void*);
|
||||
typedef void* (*pFppppppppppppp_t)(void*, void*, void*, void*, void*, void*, void*, void*, void*, void*, void*, void*, void*);
|
||||
typedef void (*vFuffiiffiiffiip_t)(uint32_t, float, float, int32_t, int32_t, float, float, int32_t, int32_t, float, float, int32_t, int32_t, void*);
|
||||
@ -834,6 +857,7 @@ void vFp(x64emu_t *emu, uintptr_t fcn) { vFp_t fn = (vFp_t)fcn; fn((void*)R_RDI)
|
||||
void cFi(x64emu_t *emu, uintptr_t fcn) { cFi_t fn = (cFi_t)fcn; R_RAX=fn((int32_t)R_RDI); }
|
||||
void cFu(x64emu_t *emu, uintptr_t fcn) { cFu_t fn = (cFu_t)fcn; R_RAX=fn((uint32_t)R_RDI); }
|
||||
void cFp(x64emu_t *emu, uintptr_t fcn) { cFp_t fn = (cFp_t)fcn; R_RAX=fn((void*)R_RDI); }
|
||||
void wFp(x64emu_t *emu, uintptr_t fcn) { wFp_t fn = (wFp_t)fcn; R_RAX=fn((void*)R_RDI); }
|
||||
void iFE(x64emu_t *emu, uintptr_t fcn) { iFE_t fn = (iFE_t)fcn; R_RAX=fn(emu); }
|
||||
void iFv(x64emu_t *emu, uintptr_t fcn) { iFv_t fn = (iFv_t)fcn; R_RAX=fn(); }
|
||||
void iFi(x64emu_t *emu, uintptr_t fcn) { iFi_t fn = (iFi_t)fcn; R_RAX=fn((int32_t)R_RDI); }
|
||||
@ -1039,6 +1063,7 @@ void uFuup(x64emu_t *emu, uintptr_t fcn) { uFuup_t fn = (uFuup_t)fcn; R_RAX=(uin
|
||||
void uFupu(x64emu_t *emu, uintptr_t fcn) { uFupu_t fn = (uFupu_t)fcn; R_RAX=(uint32_t)fn((uint32_t)R_RDI, (void*)R_RSI, (uint32_t)R_RDX); }
|
||||
void uFupp(x64emu_t *emu, uintptr_t fcn) { uFupp_t fn = (uFupp_t)fcn; R_RAX=(uint32_t)fn((uint32_t)R_RDI, (void*)R_RSI, (void*)R_RDX); }
|
||||
void uFpiu(x64emu_t *emu, uintptr_t fcn) { uFpiu_t fn = (uFpiu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (int32_t)R_RSI, (uint32_t)R_RDX); }
|
||||
void uFpip(x64emu_t *emu, uintptr_t fcn) { uFpip_t fn = (uFpip_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX); }
|
||||
void uFpLp(x64emu_t *emu, uintptr_t fcn) { uFpLp_t fn = (uFpLp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (void*)R_RDX); }
|
||||
void uFppi(x64emu_t *emu, uintptr_t fcn) { uFppi_t fn = (uFppi_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX); }
|
||||
void uFppu(x64emu_t *emu, uintptr_t fcn) { uFppu_t fn = (uFppu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX); }
|
||||
@ -1119,6 +1144,7 @@ void vFpdii(x64emu_t *emu, uintptr_t fcn) { vFpdii_t fn = (vFpdii_t)fcn; fn((voi
|
||||
void vFpddd(x64emu_t *emu, uintptr_t fcn) { vFpddd_t fn = (vFpddd_t)fcn; fn((void*)R_RDI, emu->xmm[0].d[0], emu->xmm[1].d[0], emu->xmm[2].d[0]); }
|
||||
void vFppip(x64emu_t *emu, uintptr_t fcn) { vFppip_t fn = (vFppip_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX); }
|
||||
void vFppui(x64emu_t *emu, uintptr_t fcn) { vFppui_t fn = (vFppui_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (int32_t)R_RCX); }
|
||||
void vFppup(x64emu_t *emu, uintptr_t fcn) { vFppup_t fn = (vFppup_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (void*)R_RCX); }
|
||||
void vFpppi(x64emu_t *emu, uintptr_t fcn) { vFpppi_t fn = (vFpppi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX); }
|
||||
void vFpppu(x64emu_t *emu, uintptr_t fcn) { vFpppu_t fn = (vFpppu_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint32_t)R_RCX); }
|
||||
void vFpppp(x64emu_t *emu, uintptr_t fcn) { vFpppp_t fn = (vFpppp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX); }
|
||||
@ -1184,6 +1210,7 @@ void pFiiiu(x64emu_t *emu, uintptr_t fcn) { pFiiiu_t fn = (pFiiiu_t)fcn; R_RAX=(
|
||||
void pFiiup(x64emu_t *emu, uintptr_t fcn) { pFiiup_t fn = (pFiiup_t)fcn; R_RAX=(uintptr_t)fn((int32_t)R_RDI, (int32_t)R_RSI, (uint32_t)R_RDX, (void*)R_RCX); }
|
||||
void pFuiii(x64emu_t *emu, uintptr_t fcn) { pFuiii_t fn = (pFuiii_t)fcn; R_RAX=(uintptr_t)fn((uint32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX); }
|
||||
void pFpiii(x64emu_t *emu, uintptr_t fcn) { pFpiii_t fn = (pFpiii_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX); }
|
||||
void pFpiip(x64emu_t *emu, uintptr_t fcn) { pFpiip_t fn = (pFpiip_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (void*)R_RCX); }
|
||||
void pFpiuu(x64emu_t *emu, uintptr_t fcn) { pFpiuu_t fn = (pFpiuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX); }
|
||||
void pFpipp(x64emu_t *emu, uintptr_t fcn) { pFpipp_t fn = (pFpipp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX); }
|
||||
void pFpCWp(x64emu_t *emu, uintptr_t fcn) { pFpCWp_t fn = (pFpCWp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint16_t)R_RDX, (void*)R_RCX); }
|
||||
@ -1193,7 +1220,9 @@ void pFpuii(x64emu_t *emu, uintptr_t fcn) { pFpuii_t fn = (pFpuii_t)fcn; R_RAX=(
|
||||
void pFpuWp(x64emu_t *emu, uintptr_t fcn) { pFpuWp_t fn = (pFpuWp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint16_t)R_RDX, (void*)R_RCX); }
|
||||
void pFpuuu(x64emu_t *emu, uintptr_t fcn) { pFpuuu_t fn = (pFpuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX); }
|
||||
void pFpuup(x64emu_t *emu, uintptr_t fcn) { pFpuup_t fn = (pFpuup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (void*)R_RCX); }
|
||||
void pFpupi(x64emu_t *emu, uintptr_t fcn) { pFpupi_t fn = (pFpupi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX, (int32_t)R_RCX); }
|
||||
void pFplpp(x64emu_t *emu, uintptr_t fcn) { pFplpp_t fn = (pFplpp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (intptr_t)R_RSI, (void*)R_RDX, (void*)R_RCX); }
|
||||
void pFppii(x64emu_t *emu, uintptr_t fcn) { pFppii_t fn = (pFppii_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX); }
|
||||
void pFppiL(x64emu_t *emu, uintptr_t fcn) { pFppiL_t fn = (pFppiL_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (uintptr_t)R_RCX); }
|
||||
void pFppip(x64emu_t *emu, uintptr_t fcn) { pFppip_t fn = (pFppip_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX); }
|
||||
void pFppuL(x64emu_t *emu, uintptr_t fcn) { pFppuL_t fn = (pFppuL_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uintptr_t)R_RCX); }
|
||||
@ -1263,6 +1292,7 @@ void vFpddii(x64emu_t *emu, uintptr_t fcn) { vFpddii_t fn = (vFpddii_t)fcn; fn((
|
||||
void vFppiii(x64emu_t *emu, uintptr_t fcn) { vFppiii_t fn = (vFppiii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8); }
|
||||
void vFppWui(x64emu_t *emu, uintptr_t fcn) { vFppWui_t fn = (vFppWui_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uint16_t)R_RDX, (uint32_t)R_RCX, (int32_t)R_R8); }
|
||||
void vFpppii(x64emu_t *emu, uintptr_t fcn) { vFpppii_t fn = (vFpppii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8); }
|
||||
void vFppppi(x64emu_t *emu, uintptr_t fcn) { vFppppi_t fn = (vFppppi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8); }
|
||||
void vFppppp(x64emu_t *emu, uintptr_t fcn) { vFppppp_t fn = (vFppppp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8); }
|
||||
void iFEpipp(x64emu_t *emu, uintptr_t fcn) { iFEpipp_t fn = (iFEpipp_t)fcn; R_RAX=fn(emu, (void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX); }
|
||||
void iFEppiV(x64emu_t *emu, uintptr_t fcn) { iFEppiV_t fn = (iFEppiV_t)fcn; R_RAX=fn(emu, (void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)(R_RSP + 8)); }
|
||||
@ -1316,6 +1346,8 @@ void pFppuup(x64emu_t *emu, uintptr_t fcn) { pFppuup_t fn = (pFppuup_t)fcn; R_RA
|
||||
void pFppLLp(x64emu_t *emu, uintptr_t fcn) { pFppLLp_t fn = (pFppLLp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (uintptr_t)R_RCX, (void*)R_R8); }
|
||||
void pFpppip(x64emu_t *emu, uintptr_t fcn) { pFpppip_t fn = (pFpppip_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (void*)R_R8); }
|
||||
void pFpppuu(x64emu_t *emu, uintptr_t fcn) { pFpppuu_t fn = (pFpppuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8); }
|
||||
void pFpppup(x64emu_t *emu, uintptr_t fcn) { pFpppup_t fn = (pFpppup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint32_t)R_RCX, (void*)R_R8); }
|
||||
void pFppppi(x64emu_t *emu, uintptr_t fcn) { pFppppi_t fn = (pFppppi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8); }
|
||||
void pFppppp(x64emu_t *emu, uintptr_t fcn) { pFppppp_t fn = (pFppppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8); }
|
||||
void vFEiiipp(x64emu_t *emu, uintptr_t fcn) { vFEiiipp_t fn = (vFEiiipp_t)fcn; fn(emu, (int32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8); }
|
||||
void vFiiiiii(x64emu_t *emu, uintptr_t fcn) { vFiiiiii_t fn = (vFiiiiii_t)fcn; fn((int32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9); }
|
||||
@ -1361,8 +1393,10 @@ void vFuppppp(x64emu_t *emu, uintptr_t fcn) { vFuppppp_t fn = (vFuppppp_t)fcn; f
|
||||
void vFffffff(x64emu_t *emu, uintptr_t fcn) { vFffffff_t fn = (vFffffff_t)fcn; fn(emu->xmm[0].f[0], emu->xmm[1].f[0], emu->xmm[2].f[0], emu->xmm[3].f[0], emu->xmm[4].f[0], emu->xmm[5].f[0]); }
|
||||
void vFdddddd(x64emu_t *emu, uintptr_t fcn) { vFdddddd_t fn = (vFdddddd_t)fcn; fn(emu->xmm[0].d[0], emu->xmm[1].d[0], emu->xmm[2].d[0], emu->xmm[3].d[0], emu->xmm[4].d[0], emu->xmm[5].d[0]); }
|
||||
void vFpipipV(x64emu_t *emu, uintptr_t fcn) { vFpipipV_t fn = (vFpipipV_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (void*)R_R8, (void*)(R_RSP + 8)); }
|
||||
void vFpipppi(x64emu_t *emu, uintptr_t fcn) { vFpipppi_t fn = (vFpipppi_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int32_t)R_R9); }
|
||||
void vFpdddii(x64emu_t *emu, uintptr_t fcn) { vFpdddii_t fn = (vFpdddii_t)fcn; fn((void*)R_RDI, emu->xmm[0].d[0], emu->xmm[1].d[0], emu->xmm[2].d[0], (int32_t)R_RSI, (int32_t)R_RDX); }
|
||||
void vFppiiii(x64emu_t *emu, uintptr_t fcn) { vFppiiii_t fn = (vFppiiii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9); }
|
||||
void vFppiipi(x64emu_t *emu, uintptr_t fcn) { vFppiipi_t fn = (vFppiipi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (void*)R_R8, (int32_t)R_R9); }
|
||||
void vFppupii(x64emu_t *emu, uintptr_t fcn) { vFppupii_t fn = (vFppupii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9); }
|
||||
void vFpppppp(x64emu_t *emu, uintptr_t fcn) { vFpppppp_t fn = (vFpppppp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
void iFEpippi(x64emu_t *emu, uintptr_t fcn) { iFEpippi_t fn = (iFEpippi_t)fcn; R_RAX=fn(emu, (void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8); }
|
||||
@ -1373,6 +1407,8 @@ void iFuppipp(x64emu_t *emu, uintptr_t fcn) { iFuppipp_t fn = (iFuppipp_t)fcn; R
|
||||
void iFuppppp(x64emu_t *emu, uintptr_t fcn) { iFuppppp_t fn = (iFuppppp_t)fcn; R_RAX=fn((uint32_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
void iFpiiiii(x64emu_t *emu, uintptr_t fcn) { iFpiiiii_t fn = (iFpiiiii_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9); }
|
||||
void iFpiiipp(x64emu_t *emu, uintptr_t fcn) { iFpiiipp_t fn = (iFpiiipp_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
void iFpiippp(x64emu_t *emu, uintptr_t fcn) { iFpiippp_t fn = (iFpiippp_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
void iFpipppp(x64emu_t *emu, uintptr_t fcn) { iFpipppp_t fn = (iFpipppp_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
void iFpupuui(x64emu_t *emu, uintptr_t fcn) { iFpupuui_t fn = (iFpupuui_t)fcn; R_RAX=fn((void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, (int32_t)R_R9); }
|
||||
void iFppiiuu(x64emu_t *emu, uintptr_t fcn) { iFppiiuu_t fn = (iFppiiuu_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9); }
|
||||
void iFppIppp(x64emu_t *emu, uintptr_t fcn) { iFppIppp_t fn = (iFppIppp_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
@ -1381,6 +1417,7 @@ void iFppuiiL(x64emu_t *emu, uintptr_t fcn) { iFppuiiL_t fn = (iFppuiiL_t)fcn; R
|
||||
void iFppuIII(x64emu_t *emu, uintptr_t fcn) { iFppuIII_t fn = (iFppuIII_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9); }
|
||||
void iFppuupp(x64emu_t *emu, uintptr_t fcn) { iFppuupp_t fn = (iFppuupp_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
void iFppupip(x64emu_t *emu, uintptr_t fcn) { iFppupip_t fn = (iFppupip_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (void*)R_RCX, (int32_t)R_R8, (void*)R_R9); }
|
||||
void iFpppiuu(x64emu_t *emu, uintptr_t fcn) { iFpppiuu_t fn = (iFpppiuu_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9); }
|
||||
void iFpppipi(x64emu_t *emu, uintptr_t fcn) { iFpppipi_t fn = (iFpppipi_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (void*)R_R8, (int32_t)R_R9); }
|
||||
void iFpppipp(x64emu_t *emu, uintptr_t fcn) { iFpppipp_t fn = (iFpppipp_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
void iFppppii(x64emu_t *emu, uintptr_t fcn) { iFppppii_t fn = (iFppppii_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9); }
|
||||
@ -1438,6 +1475,7 @@ void vFpipipii(x64emu_t *emu, uintptr_t fcn) { vFpipipii_t fn = (vFpipipii_t)fcn
|
||||
void vFpddiidd(x64emu_t *emu, uintptr_t fcn) { vFpddiidd_t fn = (vFpddiidd_t)fcn; fn((void*)R_RDI, emu->xmm[0].d[0], emu->xmm[1].d[0], (int32_t)R_RSI, (int32_t)R_RDX, emu->xmm[2].d[0], emu->xmm[3].d[0]); }
|
||||
void vFppiiipi(x64emu_t *emu, uintptr_t fcn) { vFppiiipi_t fn = (vFppiiipi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (void*)R_R9, *(int32_t*)(R_RSP + 8)); }
|
||||
void vFpppiiii(x64emu_t *emu, uintptr_t fcn) { vFpppiiii_t fn = (vFpppiiii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8)); }
|
||||
void vFppppipi(x64emu_t *emu, uintptr_t fcn) { vFppppipi_t fn = (vFppppipi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (void*)R_R9, *(int32_t*)(R_RSP + 8)); }
|
||||
void iFEpppiiu(x64emu_t *emu, uintptr_t fcn) { iFEpppiiu_t fn = (iFEpppiiu_t)fcn; R_RAX=fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (uint32_t)R_R9); }
|
||||
void iFEpppppp(x64emu_t *emu, uintptr_t fcn) { iFEpppppp_t fn = (iFEpppppp_t)fcn; R_RAX=fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); }
|
||||
void iFiiiiiip(x64emu_t *emu, uintptr_t fcn) { iFiiiiiip_t fn = (iFiiiiiip_t)fcn; R_RAX=fn((int32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(void**)(R_RSP + 8)); }
|
||||
@ -1453,6 +1491,7 @@ void iFppipppp(x64emu_t *emu, uintptr_t fcn) { iFppipppp_t fn = (iFppipppp_t)fcn
|
||||
void iFpppiiii(x64emu_t *emu, uintptr_t fcn) { iFpppiiii_t fn = (iFpppiiii_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8)); }
|
||||
void iFpppiiuu(x64emu_t *emu, uintptr_t fcn) { iFpppiiuu_t fn = (iFpppiiuu_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (uint32_t)R_R9, *(uint32_t*)(R_RSP + 8)); }
|
||||
void iFpppiipi(x64emu_t *emu, uintptr_t fcn) { iFpppiipi_t fn = (iFpppiipi_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (void*)R_R9, *(int32_t*)(R_RSP + 8)); }
|
||||
void iFpppiuwu(x64emu_t *emu, uintptr_t fcn) { iFpppiuwu_t fn = (iFpppiuwu_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (uint32_t)R_R8, (int16_t)R_R9, *(uint32_t*)(R_RSP + 8)); }
|
||||
void iFppppiii(x64emu_t *emu, uintptr_t fcn) { iFppppiii_t fn = (iFppppiii_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8)); }
|
||||
void iFppppdpi(x64emu_t *emu, uintptr_t fcn) { iFppppdpi_t fn = (iFppppdpi_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, emu->xmm[0].d[0], (void*)R_R8, (int32_t)R_R9); }
|
||||
void iFppppppp(x64emu_t *emu, uintptr_t fcn) { iFppppppp_t fn = (iFppppppp_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8)); }
|
||||
@ -1487,6 +1526,7 @@ void vFuuuipipp(x64emu_t *emu, uintptr_t fcn) { vFuuuipipp_t fn = (vFuuuipipp_t)
|
||||
void vFuuuuuuuu(x64emu_t *emu, uintptr_t fcn) { vFuuuuuuuu_t fn = (vFuuuuuuuu_t)fcn; fn((uint32_t)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16)); }
|
||||
void vFuuuuufff(x64emu_t *emu, uintptr_t fcn) { vFuuuuufff_t fn = (vFuuuuufff_t)fcn; fn((uint32_t)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, emu->xmm[0].f[0], emu->xmm[1].f[0], emu->xmm[2].f[0]); }
|
||||
void vFffffffff(x64emu_t *emu, uintptr_t fcn) { vFffffffff_t fn = (vFffffffff_t)fcn; fn(emu->xmm[0].f[0], emu->xmm[1].f[0], emu->xmm[2].f[0], emu->xmm[3].f[0], emu->xmm[4].f[0], emu->xmm[5].f[0], emu->xmm[6].f[0], emu->xmm[7].f[0]); }
|
||||
void vFpippiiuu(x64emu_t *emu, uintptr_t fcn) { vFpippiiuu_t fn = (vFpippiiuu_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16)); }
|
||||
void vFpippiipi(x64emu_t *emu, uintptr_t fcn) { vFpippiipi_t fn = (vFpippiipi_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(void**)(R_RSP + 8), *(int32_t*)(R_RSP + 16)); }
|
||||
void vFppiiipii(x64emu_t *emu, uintptr_t fcn) { vFppiiipii_t fn = (vFppiiipii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (void*)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16)); }
|
||||
void vFppppiipi(x64emu_t *emu, uintptr_t fcn) { vFppppiipi_t fn = (vFppppiipi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(void**)(R_RSP + 8), *(int32_t*)(R_RSP + 16)); }
|
||||
@ -1523,6 +1563,7 @@ void vFuupiuiuuf(x64emu_t *emu, uintptr_t fcn) { vFuupiuiuuf_t fn = (vFuupiuiuuf
|
||||
void vFuffffffff(x64emu_t *emu, uintptr_t fcn) { vFuffffffff_t fn = (vFuffffffff_t)fcn; fn((uint32_t)R_RDI, emu->xmm[0].f[0], emu->xmm[1].f[0], emu->xmm[2].f[0], emu->xmm[3].f[0], emu->xmm[4].f[0], emu->xmm[5].f[0], emu->xmm[6].f[0], emu->xmm[7].f[0]); }
|
||||
void vFffuuuufff(x64emu_t *emu, uintptr_t fcn) { vFffuuuufff_t fn = (vFffuuuufff_t)fcn; fn(emu->xmm[0].f[0], emu->xmm[1].f[0], (uint32_t)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, emu->xmm[2].f[0], emu->xmm[3].f[0], emu->xmm[4].f[0]); }
|
||||
void vFddddddddd(x64emu_t *emu, uintptr_t fcn) { vFddddddddd_t fn = (vFddddddddd_t)fcn; fn(emu->xmm[0].d[0], emu->xmm[1].d[0], emu->xmm[2].d[0], emu->xmm[3].d[0], emu->xmm[4].d[0], emu->xmm[5].d[0], emu->xmm[6].d[0], emu->xmm[7].d[0], *(double*)(R_RSP + 8)); }
|
||||
void vFpipppiipi(x64emu_t *emu, uintptr_t fcn) { vFpipppiipi_t fn = (vFpipppiipi_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(void**)(R_RSP + 16), *(int32_t*)(R_RSP + 24)); }
|
||||
void vFppiiipiii(x64emu_t *emu, uintptr_t fcn) { vFppiiipiii_t fn = (vFppiiipiii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (void*)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24)); }
|
||||
void vFpppppippp(x64emu_t *emu, uintptr_t fcn) { vFpppppippp_t fn = (vFpppppippp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int32_t)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24)); }
|
||||
void iFiiiiiiiip(x64emu_t *emu, uintptr_t fcn) { iFiiiiiiiip_t fn = (iFiiiiiiiip_t)fcn; R_RAX=fn((int32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(void**)(R_RSP + 24)); }
|
||||
@ -1557,6 +1598,7 @@ void vFffffffffff(x64emu_t *emu, uintptr_t fcn) { vFffffffffff_t fn = (vFfffffff
|
||||
void iFiiiiiiiiip(x64emu_t *emu, uintptr_t fcn) { iFiiiiiiiiip_t fn = (iFiiiiiiiiip_t)fcn; R_RAX=fn((int32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(void**)(R_RSP + 32)); }
|
||||
void iFpuupiuiipp(x64emu_t *emu, uintptr_t fcn) { iFpuupiuiipp_t fn = (iFpuupiuiipp_t)fcn; R_RAX=fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (void*)R_RCX, (int32_t)R_R8, (uint32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(void**)(R_RSP + 24), *(void**)(R_RSP + 32)); }
|
||||
void iFppuuiiiiii(x64emu_t *emu, uintptr_t fcn) { iFppuuiiiiii_t fn = (iFppuuiiiiii_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(int32_t*)(R_RSP + 32)); }
|
||||
void iFppuuiiuupi(x64emu_t *emu, uintptr_t fcn) { iFppuuiiuupi_t fn = (iFppuuiiuupi_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(void**)(R_RSP + 24), *(int32_t*)(R_RSP + 32)); }
|
||||
void iFppppiiuuii(x64emu_t *emu, uintptr_t fcn) { iFppppiiuuii_t fn = (iFppppiiuuii_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(int32_t*)(R_RSP + 32)); }
|
||||
void pFpCuWCCuuCW(x64emu_t *emu, uintptr_t fcn) { pFpCuWCCuuCW_t fn = (pFpCuWCCuuCW_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint32_t)R_RDX, (uint16_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(uint8_t*)(R_RSP + 24), *(uint16_t*)(R_RSP + 32)); }
|
||||
void pFpuuuwwwwWW(x64emu_t *emu, uintptr_t fcn) { pFpuuuwwwwWW_t fn = (pFpuuuwwwwWW_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (int16_t)R_R8, (int16_t)R_R9, *(int16_t*)(R_RSP + 8), *(int16_t*)(R_RSP + 16), *(uint16_t*)(R_RSP + 24), *(uint16_t*)(R_RSP + 32)); }
|
||||
@ -1573,6 +1615,7 @@ void vFuufffffffff(x64emu_t *emu, uintptr_t fcn) { vFuufffffffff_t fn = (vFuufff
|
||||
void vFuuddiiddiip(x64emu_t *emu, uintptr_t fcn) { vFuuddiiddiip_t fn = (vFuuddiiddiip_t)fcn; fn((uint32_t)R_RDI, (uint32_t)R_RSI, emu->xmm[0].d[0], emu->xmm[1].d[0], (int32_t)R_RDX, (int32_t)R_RCX, emu->xmm[2].d[0], emu->xmm[3].d[0], (int32_t)R_R8, (int32_t)R_R9, *(void**)(R_RSP + 8)); }
|
||||
void vFuffffffffff(x64emu_t *emu, uintptr_t fcn) { vFuffffffffff_t fn = (vFuffffffffff_t)fcn; fn((uint32_t)R_RDI, emu->xmm[0].f[0], emu->xmm[1].f[0], emu->xmm[2].f[0], emu->xmm[3].f[0], emu->xmm[4].f[0], emu->xmm[5].f[0], emu->xmm[6].f[0], emu->xmm[7].f[0], *(float*)(R_RSP + 8), *(float*)(R_RSP + 16)); }
|
||||
void vFpipipiipiii(x64emu_t *emu, uintptr_t fcn) { vFpipipiipiii_t fn = (vFpipipiipiii_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (void*)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(void**)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(int32_t*)(R_RSP + 32), *(int32_t*)(R_RSP + 40)); }
|
||||
void vFpipppiiiipi(x64emu_t *emu, uintptr_t fcn) { vFpipppiiiipi_t fn = (vFpipppiiiipi_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(void**)(R_RSP + 32), *(int32_t*)(R_RSP + 40)); }
|
||||
void iFEppppiiiiuu(x64emu_t *emu, uintptr_t fcn) { iFEppppiiiiuu_t fn = (iFEppppiiiiuu_t)fcn; R_RAX=fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(uint32_t*)(R_RSP + 24), *(uint32_t*)(R_RSP + 32)); }
|
||||
void iFiiiiiiiiiip(x64emu_t *emu, uintptr_t fcn) { iFiiiiiiiiiip_t fn = (iFiiiiiiiiiip_t)fcn; R_RAX=fn((int32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(int32_t*)(R_RSP + 32), *(void**)(R_RSP + 40)); }
|
||||
void iFpipllippppp(x64emu_t *emu, uintptr_t fcn) { iFpipllippppp_t fn = (iFpipllippppp_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (intptr_t)R_RCX, (intptr_t)R_R8, (int32_t)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24), *(void**)(R_RSP + 32), *(void**)(R_RSP + 40)); }
|
||||
@ -1582,6 +1625,8 @@ void vFuuiiiiiiiuip(x64emu_t *emu, uintptr_t fcn) { vFuuiiiiiiiuip_t fn = (vFuui
|
||||
void vFuuiiiiiiiuup(x64emu_t *emu, uintptr_t fcn) { vFuuiiiiiiiuup_t fn = (vFuuiiiiiiiuup_t)fcn; fn((uint32_t)R_RDI, (uint32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(uint32_t*)(R_RSP + 32), *(uint32_t*)(R_RSP + 40), *(void**)(R_RSP + 48)); }
|
||||
void vFuuuuuuuuuuuu(x64emu_t *emu, uintptr_t fcn) { vFuuuuuuuuuuuu_t fn = (vFuuuuuuuuuuuu_t)fcn; fn((uint32_t)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(uint32_t*)(R_RSP + 24), *(uint32_t*)(R_RSP + 32), *(uint32_t*)(R_RSP + 40), *(uint32_t*)(R_RSP + 48)); }
|
||||
void vFffffffffffff(x64emu_t *emu, uintptr_t fcn) { vFffffffffffff_t fn = (vFffffffffffff_t)fcn; fn(emu->xmm[0].f[0], emu->xmm[1].f[0], emu->xmm[2].f[0], emu->xmm[3].f[0], emu->xmm[4].f[0], emu->xmm[5].f[0], emu->xmm[6].f[0], emu->xmm[7].f[0], *(float*)(R_RSP + 8), *(float*)(R_RSP + 16), *(float*)(R_RSP + 24), *(float*)(R_RSP + 32)); }
|
||||
void vFpipppiiiipii(x64emu_t *emu, uintptr_t fcn) { vFpipppiiiipii_t fn = (vFpipppiiiipii_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(void**)(R_RSP + 32), *(int32_t*)(R_RSP + 40), *(int32_t*)(R_RSP + 48)); }
|
||||
void vFpippppiiiipi(x64emu_t *emu, uintptr_t fcn) { vFpippppiiiipi_t fn = (vFpippppiiiipi_t)fcn; fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(int32_t*)(R_RSP + 32), *(void**)(R_RSP + 40), *(int32_t*)(R_RSP + 48)); }
|
||||
void iFEppppiiiiuui(x64emu_t *emu, uintptr_t fcn) { iFEppppiiiiuui_t fn = (iFEppppiiiiuui_t)fcn; R_RAX=fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(uint32_t*)(R_RSP + 24), *(uint32_t*)(R_RSP + 32), *(int32_t*)(R_RSP + 40)); }
|
||||
void iFpipppppppppp(x64emu_t *emu, uintptr_t fcn) { iFpipppppppppp_t fn = (iFpipppppppppp_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24), *(void**)(R_RSP + 32), *(void**)(R_RSP + 40), *(void**)(R_RSP + 48)); }
|
||||
void iFpppllipppppp(x64emu_t *emu, uintptr_t fcn) { iFpppllipppppp_t fn = (iFpppllipppppp_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (intptr_t)R_RCX, (intptr_t)R_R8, (int32_t)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24), *(void**)(R_RSP + 32), *(void**)(R_RSP + 40), *(void**)(R_RSP + 48)); }
|
||||
@ -1595,6 +1640,7 @@ void vFuuuuuuuuuuuuu(x64emu_t *emu, uintptr_t fcn) { vFuuuuuuuuuuuuu_t fn = (vFu
|
||||
void vFuffffffffffff(x64emu_t *emu, uintptr_t fcn) { vFuffffffffffff_t fn = (vFuffffffffffff_t)fcn; fn((uint32_t)R_RDI, emu->xmm[0].f[0], emu->xmm[1].f[0], emu->xmm[2].f[0], emu->xmm[3].f[0], emu->xmm[4].f[0], emu->xmm[5].f[0], emu->xmm[6].f[0], emu->xmm[7].f[0], *(float*)(R_RSP + 8), *(float*)(R_RSP + 16), *(float*)(R_RSP + 24), *(float*)(R_RSP + 32)); }
|
||||
void iFddddpppddpppp(x64emu_t *emu, uintptr_t fcn) { iFddddpppddpppp_t fn = (iFddddpppddpppp_t)fcn; R_RAX=fn(emu->xmm[0].d[0], emu->xmm[1].d[0], emu->xmm[2].d[0], emu->xmm[3].d[0], (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, emu->xmm[4].d[0], emu->xmm[5].d[0], (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8)); }
|
||||
void iFpippuuuiipppp(x64emu_t *emu, uintptr_t fcn) { iFpippuuuiipppp_t fn = (iFpippuuuiipppp_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9, *(uint32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24), *(void**)(R_RSP + 32), *(void**)(R_RSP + 40), *(void**)(R_RSP + 48), *(void**)(R_RSP + 56)); }
|
||||
void iFpupiiiipppppp(x64emu_t *emu, uintptr_t fcn) { iFpupiiiipppppp_t fn = (iFpupiiiipppppp_t)fcn; R_RAX=fn((void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24), *(void**)(R_RSP + 32), *(void**)(R_RSP + 40), *(void**)(R_RSP + 48), *(void**)(R_RSP + 56)); }
|
||||
void pFpCuuwwWWWWuup(x64emu_t *emu, uintptr_t fcn) { pFpCuuwwWWWWuup_t fn = (pFpCuuwwWWWWuup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (int16_t)R_R8, (int16_t)R_R9, *(uint16_t*)(R_RSP + 8), *(uint16_t*)(R_RSP + 16), *(uint16_t*)(R_RSP + 24), *(uint16_t*)(R_RSP + 32), *(uint32_t*)(R_RSP + 40), *(uint32_t*)(R_RSP + 48), *(void**)(R_RSP + 56)); }
|
||||
void pFppppppppppppp(x64emu_t *emu, uintptr_t fcn) { pFppppppppppppp_t fn = (pFppppppppppppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24), *(void**)(R_RSP + 32), *(void**)(R_RSP + 40), *(void**)(R_RSP + 48), *(void**)(R_RSP + 56)); }
|
||||
void vFuffiiffiiffiip(x64emu_t *emu, uintptr_t fcn) { vFuffiiffiiffiip_t fn = (vFuffiiffiiffiip_t)fcn; fn((uint32_t)R_RDI, emu->xmm[0].f[0], emu->xmm[1].f[0], (int32_t)R_RSI, (int32_t)R_RDX, emu->xmm[2].f[0], emu->xmm[3].f[0], (int32_t)R_RCX, (int32_t)R_R8, emu->xmm[4].f[0], emu->xmm[5].f[0], (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(void**)(R_RSP + 16)); }
|
||||
|
@ -38,6 +38,7 @@ void vFp(x64emu_t *emu, uintptr_t fnc);
|
||||
void cFi(x64emu_t *emu, uintptr_t fnc);
|
||||
void cFu(x64emu_t *emu, uintptr_t fnc);
|
||||
void cFp(x64emu_t *emu, uintptr_t fnc);
|
||||
void wFp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFE(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFv(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFi(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -243,6 +244,7 @@ void uFuup(x64emu_t *emu, uintptr_t fnc);
|
||||
void uFupu(x64emu_t *emu, uintptr_t fnc);
|
||||
void uFupp(x64emu_t *emu, uintptr_t fnc);
|
||||
void uFpiu(x64emu_t *emu, uintptr_t fnc);
|
||||
void uFpip(x64emu_t *emu, uintptr_t fnc);
|
||||
void uFpLp(x64emu_t *emu, uintptr_t fnc);
|
||||
void uFppi(x64emu_t *emu, uintptr_t fnc);
|
||||
void uFppu(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -323,6 +325,7 @@ void vFpdii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpddd(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppip(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppui(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppup(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpppi(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpppu(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpppp(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -388,6 +391,7 @@ void pFiiiu(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFiiup(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFuiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpiip(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpiuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpipp(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpCWp(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -397,7 +401,9 @@ void pFpuii(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpuWp(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpuuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpuup(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpupi(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFplpp(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFppii(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFppiL(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFppip(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFppuL(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -467,6 +473,7 @@ void vFpddii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppWui(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpppii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppppi(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFEpipp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFEppiV(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -520,6 +527,8 @@ void pFppuup(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFppLLp(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpppip(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpppuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpppup(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFppppi(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFEiiipp(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFiiiiii(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -565,8 +574,10 @@ void vFuppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFffffff(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFdddddd(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpipipV(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpipppi(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpdddii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppiiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppiipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppupii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFEpippi(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -577,6 +588,8 @@ void iFuppipp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFuppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpiiiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpiiipp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpiippp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpipppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpupuui(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppiiuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppIppp(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -585,6 +598,7 @@ void iFppuiiL(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppuIII(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppuupp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppupip(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpppiuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpppipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpppipp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppppii(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -642,6 +656,7 @@ void vFpipipii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpddiidd(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppiiipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpppiiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppppipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFEpppiiu(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFEpppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFiiiiiip(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -657,6 +672,7 @@ void iFppipppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpppiiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpppiiuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpppiipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpppiuwu(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppppiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppppdpi(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -691,6 +707,7 @@ void vFuuuipipp(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuuuuuuuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuuuuufff(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFffffffff(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpippiiuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpippiipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppiiipii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppppiipi(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -727,6 +744,7 @@ void vFuupiuiuuf(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuffffffff(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFffuuuufff(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFddddddddd(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpipppiipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFppiiipiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpppppippp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFiiiiiiiip(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -761,6 +779,7 @@ void vFffffffffff(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFiiiiiiiiip(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpuupiuiipp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppuuiiiiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppuuiiuupi(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFppppiiuuii(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpCuWCCuuCW(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpuuuwwwwWW(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -777,6 +796,7 @@ void vFuufffffffff(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuuddiiddiip(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuffffffffff(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpipipiipiii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpipppiiiipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFEppppiiiiuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFiiiiiiiiiip(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpipllippppp(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -786,6 +806,8 @@ void vFuuiiiiiiiuip(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuuiiiiiiiuup(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuuuuuuuuuuuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFffffffffffff(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpipppiiiipii(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFpippppiiiipi(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFEppppiiiiuui(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpipppppppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpppllipppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
@ -799,6 +821,7 @@ void vFuuuuuuuuuuuuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuffffffffffff(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFddddpppddpppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpippuuuiipppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void iFpupiiiipppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpCuuwwWWWWuup(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFppppppppppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void vFuffiiffiiffiip(x64emu_t *emu, uintptr_t fnc);
|
||||
|
30
src/wrapped/wrappedlibxrandr.c
Executable file
30
src/wrapped/wrappedlibxrandr.c
Executable file
@ -0,0 +1,30 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#define _GNU_SOURCE /* See feature_test_macros(7) */
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "wrappedlibs.h"
|
||||
|
||||
#include "debug.h"
|
||||
#include "wrapper.h"
|
||||
#include "bridge.h"
|
||||
#include "librarian/library_private.h"
|
||||
#include "x64emu.h"
|
||||
#include "emu/x64emu_private.h"
|
||||
#include "callback.h"
|
||||
#include "librarian.h"
|
||||
#include "box64context.h"
|
||||
#include "emu/x64emu_private.h"
|
||||
|
||||
const char* libxrandrName = "libXrandr.so.2";
|
||||
#define LIBNAME libxrandr
|
||||
|
||||
#define CUSTOM_INIT \
|
||||
lib->priv.w.needed = 3; \
|
||||
lib->priv.w.neededlibs = (char**)calloc(lib->priv.w.needed, sizeof(char*)); \
|
||||
lib->priv.w.neededlibs[0] = strdup("libX11.so.6"); \
|
||||
lib->priv.w.neededlibs[1] = strdup("libXext.so.6"); \
|
||||
lib->priv.w.neededlibs[2] = strdup("libXrender.so.1");
|
||||
|
||||
#include "wrappedlib_init.h"
|
73
src/wrapped/wrappedlibxrandr_private.h
Executable file
73
src/wrapped/wrappedlibxrandr_private.h
Executable file
@ -0,0 +1,73 @@
|
||||
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
|
||||
#error meh!
|
||||
#endif
|
||||
|
||||
GO(XRRQueryVersion,iFppp)
|
||||
GO(XRRFreeScreenConfigInfo,vFp)
|
||||
GO(XRRGetCrtcInfo, pFppu)
|
||||
GO(XRRListOutputProperties, pFpup)
|
||||
GO(XRRQueryExtension, iFppp)
|
||||
//GO(XRRAllocModeInfo
|
||||
//GO(XRRGetProviderProperty
|
||||
//GO(XRRListProviderProperties
|
||||
GO(XRRRotations,uFpip)
|
||||
//GO(XRRSetCrtcTransform
|
||||
GO(XRRGetCrtcGammaSize, iFpu)
|
||||
GO(XRRConfigRotations,uFpp)
|
||||
GO(XRRGetProviderInfo, pFppp)
|
||||
//GO(XRRConfigureOutputProperty
|
||||
//GO(XRRSetOutputPrimary
|
||||
GO(XRRFreeOutputInfo, vFp)
|
||||
GO(XRRUpdateConfiguration,iFp)
|
||||
GO(XRRGetScreenResources, pFpp)
|
||||
GO(XRRConfigSizes,pFpp)
|
||||
//GO(XRRQueryProviderProperty
|
||||
//GO(XRRDeleteOutputProperty
|
||||
//GO(XRRDeleteProviderProperty
|
||||
GO(XRRSetScreenConfig,iFpppiuu)
|
||||
GO(XRRAllocGamma, pFi)
|
||||
GO(XRRSetScreenSize, vFppiiii)
|
||||
GO(XRRSetScreenConfigAndRate,iFpppiuwu)
|
||||
GO(XRRFreeScreenResources, vFp)
|
||||
GO(XRRGetOutputPrimary, uFpp)
|
||||
//GO(XRRCreateMode
|
||||
GO(XRRConfigCurrentRate,wFp)
|
||||
//GO(XRRDestroyMode
|
||||
GO(XRRSetCrtcConfig, iFppuuiiuupi)
|
||||
GO(XRRConfigCurrentConfiguration,uFpp)
|
||||
GO(XRRSizes,pFpip)
|
||||
//GO(XRRAddOutputMode
|
||||
GO(XRRFreePanning, vFp)
|
||||
GO(XRRFreeProviderResources, vFp)
|
||||
//GO(XRRChangeProviderProperty
|
||||
GO(XRRGetPanning, pFppu)
|
||||
//GO(XRRSetProviderOffloadSink
|
||||
GO(XRRGetScreenResourcesCurrent, pFpp)
|
||||
GO(XRRConfigTimes,uFpp)
|
||||
GO(XRRSetCrtcGamma, vFppp)
|
||||
//GO(XRRSetProviderOutputSource
|
||||
GO(XRRGetScreenSizeRange, iFpppppp)
|
||||
GO(XRRRates,pFpiip)
|
||||
GO(XRRFreeProviderInfo, vFp)
|
||||
GO(XRRConfigRates,pFpip)
|
||||
GO(XRRQueryOutputProperty, pFpup)
|
||||
GO(XRRGetOutputProperty, iFpupiiiipppppp)
|
||||
GO(XRRFreeGamma, vFp)
|
||||
GO(XRRRootToScreen,iFpp)
|
||||
GO(XRRGetScreenInfo,pFpp)
|
||||
GO(XRRFreeCrtcInfo, vFp)
|
||||
GO(XRRGetProviderResources, pFpp)
|
||||
//GO(XRRFreeModeInfo
|
||||
//GO(XRRChangeOutputProperty
|
||||
GO(XRRGetCrtcGamma, pFpu)
|
||||
GO(XRRSetPanning, pFppu)
|
||||
GO(XRRSelectInput,vFppi)
|
||||
//GO(XRRGetCrtcTransform
|
||||
GO(XRRTimes,uFpip)
|
||||
//GO(XRRDeleteOutputMode
|
||||
GO(XRRGetOutputInfo, pFppu)
|
||||
//GO(XRRConfigureProviderProperty
|
||||
GO(XRRAllocateMonitor, pFpi)
|
||||
GO(XRRGetMonitors, pFppip)
|
||||
GO(XRRSetMonitor, vFppp)
|
||||
GO(XRRFreeMonitors, vFp)
|
26
src/wrapped/wrappedlibxrender.c
Executable file
26
src/wrapped/wrappedlibxrender.c
Executable file
@ -0,0 +1,26 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#define _GNU_SOURCE /* See feature_test_macros(7) */
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "wrappedlibs.h"
|
||||
|
||||
#include "wrapper.h"
|
||||
#include "bridge.h"
|
||||
#include "librarian/library_private.h"
|
||||
#include "x64emu.h"
|
||||
|
||||
const char* libxrenderName = "libXrender.so.1";
|
||||
#define LIBNAME libxrender
|
||||
|
||||
#define CUSTOM_INIT \
|
||||
lib->priv.w.needed = 4; \
|
||||
lib->priv.w.neededlibs = (char**)calloc(lib->priv.w.needed, sizeof(char*)); \
|
||||
lib->priv.w.neededlibs[0] = strdup("libX11.so.6"); \
|
||||
lib->priv.w.neededlibs[1] = strdup("libxcb.so.1"); \
|
||||
lib->priv.w.neededlibs[2] = strdup("libXau.so.6"); \
|
||||
lib->priv.w.neededlibs[3] = strdup("libXdmcp.so.6");
|
||||
|
||||
#include "wrappedlib_init.h"
|
||||
|
51
src/wrapped/wrappedlibxrender_private.h
Executable file
51
src/wrapped/wrappedlibxrender_private.h
Executable file
@ -0,0 +1,51 @@
|
||||
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
|
||||
#error Meh....
|
||||
#endif
|
||||
|
||||
GO(XRenderAddGlyphs, vFppppipi)
|
||||
GO(XRenderAddTraps, vFppiipi)
|
||||
GO(XRenderChangePicture, vFppup)
|
||||
GO(XRenderComposite, vFppup)
|
||||
GO(XRenderCompositeDoublePoly, vFpipppiiiipii)
|
||||
GO(XRenderCompositeString16, vFpippppiiiipi)
|
||||
GO(XRenderCompositeString32, vFpippppiiiipi)
|
||||
GO(XRenderCompositeString8, vFpippppiiiipi)
|
||||
GO(XRenderCompositeText16, vFpipppiiiipi)
|
||||
GO(XRenderCompositeText32, vFpipppiiiipi)
|
||||
GO(XRenderCompositeText8, vFpipppiiiipi)
|
||||
GO(XRenderCompositeTrapezoids, vFpipppiipi)
|
||||
GO(XRenderCompositeTriangles, vFpipppiipi)
|
||||
GO(XRenderCompositeTriFan, vFpipppiipi)
|
||||
GO(XRenderCompositeTriStrip, vFpipppiipi)
|
||||
GO(XRenderCreateAnimCursor, pFpip)
|
||||
GO(XRenderCreateConicalGradient, pFppppi)
|
||||
GO(XRenderCreateCursor, pFppii)
|
||||
GO(XRenderCreateGlyphSet, pFpp)
|
||||
GO(XRenderCreateLinearGradient, pFppppi)
|
||||
GO(XRenderCreatePicture, pFpppup)
|
||||
GO(XRenderCreateRadialGradient, pFppppi)
|
||||
GO(XRenderCreateSolidFill, pFpp)
|
||||
DATAB(XRenderExtensionInfo, sizeof(void*))
|
||||
DATA(XRenderExtensionName, sizeof(void*)) //D
|
||||
GO(XRenderFillRectangle, vFpippiiuu)
|
||||
GO(XRenderFillRectangles, vFpipppi)
|
||||
GO(XRenderFindDisplay, pFp)
|
||||
GO(XRenderFindFormat, pFpupi)
|
||||
GO(XRenderFindStandardFormat, pFpi)
|
||||
GO(XRenderFindVisualFormat, pFpp)
|
||||
GO(XRenderFreeGlyphs, vFpppi)
|
||||
GO(XRenderFreeGlyphSet, vFpp)
|
||||
GO(XRenderFreePicture, vFpp)
|
||||
GO(XRenderParseColor, iFppp)
|
||||
GO(XRenderQueryExtension, iFppp)
|
||||
GO(XRenderQueryFilters, pFpp)
|
||||
GO(XRenderQueryFormats, iFp)
|
||||
GO(XRenderQueryPictIndexValues, pFppp)
|
||||
GO(XRenderQuerySubpixelOrder, iFpi)
|
||||
GO(XRenderQueryVersion, iFppp)
|
||||
GO(XRenderReferenceGlyphSet, pFpp)
|
||||
GO(XRenderSetPictureClipRectangles, vFppiipi)
|
||||
GO(XRenderSetPictureClipRegion, vFppp)
|
||||
GO(XRenderSetPictureFilter, vFppppi)
|
||||
GO(XRenderSetPictureTransform, vFppp)
|
||||
GO(XRenderSetSubpixelOrder, iFpii)
|
58
src/wrapped/wrappedlibxxf86vm.c
Executable file
58
src/wrapped/wrappedlibxxf86vm.c
Executable file
@ -0,0 +1,58 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#define _GNU_SOURCE /* See feature_test_macros(7) */
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "wrappedlibs.h"
|
||||
|
||||
#include "debug.h"
|
||||
#include "wrapper.h"
|
||||
#include "bridge.h"
|
||||
#include "librarian/library_private.h"
|
||||
#include "x64emu.h"
|
||||
#include "emu/x64emu_private.h"
|
||||
#include "callback.h"
|
||||
#include "librarian.h"
|
||||
#include "box64context.h"
|
||||
#include "emu/x64emu_private.h"
|
||||
|
||||
const char* libxxf86vmName = "libXxf86vm.so.1";
|
||||
#define LIBNAME libxxf86vm
|
||||
|
||||
#ifdef PANDORA
|
||||
typedef struct my_XF86VidModeGamma_s {
|
||||
float red;
|
||||
float green;
|
||||
float blue;
|
||||
} my_XF86VidModeGamma_t;
|
||||
|
||||
static my_XF86VidModeGamma_t current_gamma = {0};
|
||||
|
||||
EXPORT int my_XF86VidModeGetGamma(void* display, int screen, my_XF86VidModeGamma_t* gamma)
|
||||
{
|
||||
memcpy(gamma, ¤t_gamma, sizeof(current_gamma));
|
||||
return 1;
|
||||
}
|
||||
|
||||
EXPORT int my_XF86VidModeSetGamma(void* display, int screen, my_XF86VidModeGamma_t* gamma)
|
||||
{
|
||||
memcpy(¤t_gamma, gamma, sizeof(current_gamma));
|
||||
float mean = (current_gamma.red+current_gamma.green+current_gamma.blue)/3;
|
||||
char buf[50];
|
||||
if(mean==0.0f)
|
||||
sprintf(buf, "sudo /usr/pandora/scripts/op_gamma.sh 0");
|
||||
else
|
||||
sprintf(buf, "sudo /usr/pandora/scripts/op_gamma.sh %.2f", mean);
|
||||
system(buf);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
#define CUSTOM_INIT \
|
||||
lib->priv.w.needed = 2; \
|
||||
lib->priv.w.neededlibs = (char**)calloc(lib->priv.w.needed, sizeof(char*)); \
|
||||
lib->priv.w.neededlibs[0] = strdup("libX11.so.6"); \
|
||||
lib->priv.w.neededlibs[1] = strdup("libXext.so.6");
|
||||
|
||||
#include "wrappedlib_init.h"
|
31
src/wrapped/wrappedlibxxf86vm_private.h
Executable file
31
src/wrapped/wrappedlibxxf86vm_private.h
Executable file
@ -0,0 +1,31 @@
|
||||
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
|
||||
#error meh!
|
||||
#endif
|
||||
|
||||
GO(XF86VidModeGetViewPort, iFpipp)
|
||||
GO(XF86VidModeValidateModeLine, iFpip)
|
||||
#ifdef PANDORA
|
||||
GOM(XF86VidModeGetGamma, iFpip)
|
||||
GOM(XF86VidModeSetGamma, iFpip)
|
||||
#else
|
||||
GO(XF86VidModeGetGamma, iFpip)
|
||||
GO(XF86VidModeSetGamma, iFpip)
|
||||
#endif
|
||||
GO(XF86VidModeSetClientVersion, iFp)
|
||||
GO(XF86VidModeGetGammaRamp, iFpiippp)
|
||||
GO(XF86VidModeGetMonitor, iFpip)
|
||||
GO(XF86VidModeQueryVersion, iFppp)
|
||||
GO(XF86VidModeDeleteModeLine, iFpip)
|
||||
GO(XF86VidModeGetModeLine, iFpipp)
|
||||
GO(XF86VidModeGetAllModeLines, iFpipp)
|
||||
GO(XF86VidModeSetGammaRamp, iFpiippp)
|
||||
GO(XF86VidModeGetPermissions, iFpip)
|
||||
GO(XF86VidModeModModeLine, iFpip)
|
||||
GO(XF86VidModeSetViewPort, iFpiii)
|
||||
GO(XF86VidModeSwitchMode, iFpip)
|
||||
GO(XF86VidModeAddModeLine, iFpipp)
|
||||
GO(XF86VidModeSwitchToMode, iFpip)
|
||||
GO(XF86VidModeQueryExtension, iFppp)
|
||||
GO(XF86VidModeGetGammaRampSize, iFpip)
|
||||
GO(XF86VidModeGetDotClocks, iFpipppp)
|
||||
GO(XF86VidModeLockModeSwitch, iFpii)
|
24
src/wrapped/wrappedxinerama.c
Executable file
24
src/wrapped/wrappedxinerama.c
Executable file
@ -0,0 +1,24 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#define _GNU_SOURCE /* See feature_test_macros(7) */
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "wrappedlibs.h"
|
||||
|
||||
#include "wrapper.h"
|
||||
#include "bridge.h"
|
||||
#include "librarian/library_private.h"
|
||||
#include "x64emu.h"
|
||||
|
||||
const char* xineramaName = "libXinerama.so.1";
|
||||
#define LIBNAME xinerama
|
||||
|
||||
#define CUSTOM_INIT \
|
||||
lib->priv.w.needed = 2; \
|
||||
lib->priv.w.neededlibs = (char**)calloc(lib->priv.w.needed, sizeof(char*)); \
|
||||
lib->priv.w.neededlibs[0] = strdup("libX11.so.6"); \
|
||||
lib->priv.w.neededlibs[1] = strdup("libXext.so.6");
|
||||
|
||||
#include "wrappedlib_init.h"
|
||||
|
14
src/wrapped/wrappedxinerama_private.h
Executable file
14
src/wrapped/wrappedxinerama_private.h
Executable file
@ -0,0 +1,14 @@
|
||||
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
|
||||
#error meh!
|
||||
#endif
|
||||
|
||||
GO(XineramaIsActive, iFp)
|
||||
GO(XineramaQueryExtension, iFppp)
|
||||
GO(XineramaQueryScreens, iFpp)
|
||||
GO(XineramaQueryVersion, iFppp)
|
||||
GO(XPanoramiXAllocInfo, pFv)
|
||||
GO(XPanoramiXGetScreenCount, iFppp)
|
||||
GO(XPanoramiXGetScreenSize, iFppip)
|
||||
GO(XPanoramiXGetState, iFppp)
|
||||
GO(XPanoramiXQueryExtension, iFppp)
|
||||
GO(XPanoramiXQueryVersion, iFppp)
|
Loading…
Reference in New Issue
Block a user