Skip to content

Commit

Permalink
[BOX32][WRAPPER] Added some more 32bits wrapped functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Sep 26, 2024
1 parent d45001e commit 24f278c
Show file tree
Hide file tree
Showing 13 changed files with 185 additions and 23 deletions.
16 changes: 16 additions & 0 deletions src/wrapped32/generated/functions_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@
#() iFhpp -> iFhpp
#() iFSIi -> iFSIi
#() iFSli -> iFSli
#() iFXii -> iFXii
#() iFXip -> iFXip
#() iFXuu -> iFXuu
#() iFXLl -> iFXLl
Expand Down Expand Up @@ -364,6 +365,7 @@
#() lFlpi -> lFlpi
#() lFpLL -> lFpLL
#() lFppL -> lFppL
#() LFEpi -> LFEpi
#() LFpii -> LFpii
#() LFpip -> LFpip
#() LFppL -> LFppL
Expand Down Expand Up @@ -508,6 +510,7 @@
#() iFEipV -> iFEipV
#() iFEpip -> iFEpip
#() iFEpui -> iFEpui
#() iFEpuu -> iFEpuu
#() iFEpup -> iFEpup
#() iFEpLi -> iFEpLi
#() iFEppL -> iFEppL
Expand Down Expand Up @@ -799,13 +802,16 @@
#() iFEuppLp -> iFEuppLp
#() iFEpiLpp -> iFEpiLpp
#() iFEplluu -> iFEplluu
#() iFEppipp -> iFEppipp
#() iFEppllp -> iFEppllp
#() iFEpppup -> iFEpppup
#() iFEXLilp -> iFEXLilp
#() iFEXpiup -> iFEXpiup
#() iFEXpppp -> iFEXpppp
#() iFuiiuup -> iFuiiuup
#() iFpiippp -> iFpiippp
#() iFppiiii -> iFppiiii
#() iFXiippp -> iFXiippp
#() iFXLiiiL -> iFXLiiiL
#() iFXLpppp -> iFXLpppp
#() iFXpIppp -> iFXpIppp
Expand Down Expand Up @@ -1043,10 +1049,14 @@ wrappedfreetype:
- FT_Get_Char_Index
- iFpui:
- FT_Load_Glyph
- iFpuu:
- FT_Set_Pixel_Sizes
- iFpplp:
- FT_New_Face
- iFplluu:
- FT_Set_Char_Size
- iFppllp:
- FT_New_Memory_Face
wrappedldlinux:
- pFv:
- ___tls_get_addr
Expand All @@ -1065,6 +1075,7 @@ wrappedlibc:
- iFL:
- iFp:
- getifaddrs
- sysinfo
- iFh:
- getwc
- iFO:
Expand Down Expand Up @@ -1438,6 +1449,9 @@ wrappedlibx11:
- XFilterEvent
- iFXp:
- XNextEvent
- XPeekEvent
- LFpi:
- XLookupKeysym
- pFpV:
- XCreateIC
- pFXp:
Expand All @@ -1457,6 +1471,8 @@ wrappedlibx11:
- XSetWMProtocols
- iFXppp:
- XIfEvent
- iFppipp:
- XLookupString
- iFXLilp:
- XSendEvent
- iFXpiup:
Expand Down
6 changes: 5 additions & 1 deletion src/wrapped32/generated/wrappedfreetypetypes32.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,20 @@ typedef void (*vFpp_t)(void*, void*);
typedef int32_t (*iFpu_t)(void*, uint32_t);
typedef uint32_t (*uFpL_t)(void*, uintptr_t);
typedef int32_t (*iFpui_t)(void*, uint32_t, int32_t);
typedef int32_t (*iFpuu_t)(void*, uint32_t, uint32_t);
typedef int32_t (*iFpplp_t)(void*, void*, intptr_t, void*);
typedef int32_t (*iFplluu_t)(void*, intptr_t, intptr_t, uint32_t, uint32_t);
typedef int32_t (*iFppllp_t)(void*, void*, intptr_t, intptr_t, void*);

#define SUPER() ADDED_FUNCTIONS() \
GO(FT_Done_Face, iFp_t) \
GO(FT_Outline_Get_CBox, vFpp_t) \
GO(FT_Render_Glyph, iFpu_t) \
GO(FT_Get_Char_Index, uFpL_t) \
GO(FT_Load_Glyph, iFpui_t) \
GO(FT_Set_Pixel_Sizes, iFpuu_t) \
GO(FT_New_Face, iFpplp_t) \
GO(FT_Set_Char_Size, iFplluu_t)
GO(FT_Set_Char_Size, iFplluu_t) \
GO(FT_New_Memory_Face, iFppllp_t)

#endif // __wrappedfreetypeTYPES32_H_
1 change: 1 addition & 0 deletions src/wrapped32/generated/wrappedlibctypes32.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ typedef void* (*pFiiiiiiiiilt_t)(int32_t, int32_t, int32_t, int32_t, int32_t, in
GO(freeaddrinfo, vFp_t) \
GO(__close_nocancel, iFi_t) \
GO(getifaddrs, iFp_t) \
GO(sysinfo, iFp_t) \
GO(getwc, iFh_t) \
GO(atol, lFp_t) \
GO(ftell, lFS_t) \
Expand Down
5 changes: 5 additions & 0 deletions src/wrapped32/generated/wrappedlibx11types32.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ typedef int32_t (*iFX_t)(void*);
typedef void* (*pFp_t)(void*);
typedef int32_t (*iFpL_t)(void*, uintptr_t);
typedef int32_t (*iFXp_t)(void*, void*);
typedef uintptr_t (*LFpi_t)(void*, int32_t);
typedef void* (*pFpV_t)(void*, ...);
typedef void* (*pFXp_t)(void*, void*);
typedef void (*vFXLp_t)(void*, uintptr_t, void*);
Expand All @@ -25,6 +26,7 @@ typedef int32_t (*iFXLp_t)(void*, uintptr_t, void*);
typedef uintptr_t (*LFXii_t)(void*, int32_t, int32_t);
typedef int32_t (*iFXLpi_t)(void*, uintptr_t, void*, int32_t);
typedef int32_t (*iFXppp_t)(void*, void*, void*, void*);
typedef int32_t (*iFppipp_t)(void*, void*, int32_t, void*, void*);
typedef int32_t (*iFXLilp_t)(void*, uintptr_t, int32_t, intptr_t, void*);
typedef int32_t (*iFXpiup_t)(void*, void*, int32_t, uint32_t, void*);
typedef int32_t (*iFXpppp_t)(void*, void*, void*, void*, void*);
Expand All @@ -48,6 +50,8 @@ typedef uintptr_t (*LFXLiiuuuiupLp_t)(void*, uintptr_t, int32_t, int32_t, uint32
GO(XSetErrorHandler, pFp_t) \
GO(XFilterEvent, iFpL_t) \
GO(XNextEvent, iFXp_t) \
GO(XPeekEvent, iFXp_t) \
GO(XLookupKeysym, LFpi_t) \
GO(XCreateIC, pFpV_t) \
GO(XListExtensions, pFXp_t) \
GO(XSetWMNormalHints, vFXLp_t) \
Expand All @@ -58,6 +62,7 @@ typedef uintptr_t (*LFXLiiuuuiupLp_t)(void*, uintptr_t, int32_t, int32_t, uint32
GO(XGetPixel, LFXii_t) \
GO(XSetWMProtocols, iFXLpi_t) \
GO(XIfEvent, iFXppp_t) \
GO(XLookupString, iFppipp_t) \
GO(XSendEvent, iFXLilp_t) \
GO(Xutf8TextListToTextProperty, iFXpiup_t) \
GO(XQueryExtension, iFXpppp_t) \
Expand Down
12 changes: 12 additions & 0 deletions src/wrapped32/generated/wrapper32.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ typedef int32_t (*iFhpL_t)(uintptr_t, void*, uintptr_t);
typedef int32_t (*iFhpp_t)(uintptr_t, void*, void*);
typedef int32_t (*iFSIi_t)(void*, int64_t, int32_t);
typedef int32_t (*iFSli_t)(void*, intptr_t, int32_t);
typedef int32_t (*iFXii_t)(void*, int32_t, int32_t);
typedef int32_t (*iFXip_t)(void*, int32_t, void*);
typedef int32_t (*iFXuu_t)(void*, uint32_t, uint32_t);
typedef int32_t (*iFXLl_t)(void*, uintptr_t, intptr_t);
Expand Down Expand Up @@ -454,6 +455,7 @@ typedef intptr_t (*lFipL_t)(int32_t, void*, uintptr_t);
typedef intptr_t (*lFlpi_t)(intptr_t, void*, int32_t);
typedef intptr_t (*lFpLL_t)(void*, uintptr_t, uintptr_t);
typedef intptr_t (*lFppL_t)(void*, void*, uintptr_t);
typedef uintptr_t (*LFEpi_t)(x64emu_t*, void*, int32_t);
typedef uintptr_t (*LFpii_t)(void*, int32_t, int32_t);
typedef uintptr_t (*LFpip_t)(void*, int32_t, void*);
typedef uintptr_t (*LFppL_t)(void*, void*, uintptr_t);
Expand Down Expand Up @@ -598,6 +600,7 @@ typedef int32_t (*iFEipp_t)(x64emu_t*, int32_t, void*, void*);
typedef int32_t (*iFEipV_t)(x64emu_t*, int32_t, void*, void*);
typedef int32_t (*iFEpip_t)(x64emu_t*, void*, int32_t, void*);
typedef int32_t (*iFEpui_t)(x64emu_t*, void*, uint32_t, int32_t);
typedef int32_t (*iFEpuu_t)(x64emu_t*, void*, uint32_t, uint32_t);
typedef int32_t (*iFEpup_t)(x64emu_t*, void*, uint32_t, void*);
typedef int32_t (*iFEpLi_t)(x64emu_t*, void*, uintptr_t, int32_t);
typedef int32_t (*iFEppL_t)(x64emu_t*, void*, void*, uintptr_t);
Expand Down Expand Up @@ -889,13 +892,16 @@ typedef int32_t (*iFEuppup_t)(x64emu_t*, uint32_t, void*, void*, uint32_t, void*
typedef int32_t (*iFEuppLp_t)(x64emu_t*, uint32_t, void*, void*, uintptr_t, void*);
typedef int32_t (*iFEpiLpp_t)(x64emu_t*, void*, int32_t, uintptr_t, void*, void*);
typedef int32_t (*iFEplluu_t)(x64emu_t*, void*, intptr_t, intptr_t, uint32_t, uint32_t);
typedef int32_t (*iFEppipp_t)(x64emu_t*, void*, void*, int32_t, void*, void*);
typedef int32_t (*iFEppllp_t)(x64emu_t*, void*, void*, intptr_t, intptr_t, void*);
typedef int32_t (*iFEpppup_t)(x64emu_t*, void*, void*, void*, uint32_t, void*);
typedef int32_t (*iFEXLilp_t)(x64emu_t*, void*, uintptr_t, int32_t, intptr_t, void*);
typedef int32_t (*iFEXpiup_t)(x64emu_t*, void*, void*, int32_t, uint32_t, void*);
typedef int32_t (*iFEXpppp_t)(x64emu_t*, void*, void*, void*, void*, void*);
typedef int32_t (*iFuiiuup_t)(uint32_t, int32_t, int32_t, uint32_t, uint32_t, void*);
typedef int32_t (*iFpiippp_t)(void*, int32_t, int32_t, void*, void*, void*);
typedef int32_t (*iFppiiii_t)(void*, void*, int32_t, int32_t, int32_t, int32_t);
typedef int32_t (*iFXiippp_t)(void*, int32_t, int32_t, void*, void*, void*);
typedef int32_t (*iFXLiiiL_t)(void*, uintptr_t, int32_t, int32_t, int32_t, uintptr_t);
typedef int32_t (*iFXLpppp_t)(void*, uintptr_t, void*, void*, void*, void*);
typedef int32_t (*iFXpIppp_t)(void*, void*, int64_t, void*, void*, void*);
Expand Down Expand Up @@ -1459,6 +1465,7 @@ void iFhpL_32(x64emu_t *emu, uintptr_t fcn) { iFhpL_t fn = (iFhpL_t)fcn; R_EAX =
void iFhpp_32(x64emu_t *emu, uintptr_t fcn) { iFhpp_t fn = (iFhpp_t)fcn; R_EAX = fn(from_hash(from_ptri(ptr_t, R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12)); }
void iFSIi_32(x64emu_t *emu, uintptr_t fcn) { iFSIi_t fn = (iFSIi_t)fcn; R_EAX = fn(io_convert32(from_ptriv(R_ESP + 4)), from_ptri(int64_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 16)); }
void iFSli_32(x64emu_t *emu, uintptr_t fcn) { iFSli_t fn = (iFSli_t)fcn; R_EAX = fn(io_convert32(from_ptriv(R_ESP + 4)), to_long(from_ptri(long_t, R_ESP + 8)), from_ptri(int32_t, R_ESP + 12)); }
void iFXii_32(x64emu_t *emu, uintptr_t fcn) { iFXii_t fn = (iFXii_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12)); }
void iFXip_32(x64emu_t *emu, uintptr_t fcn) { iFXip_t fn = (iFXip_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12)); }
void iFXuu_32(x64emu_t *emu, uintptr_t fcn) { iFXuu_t fn = (iFXuu_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptri(uint32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12)); }
void iFXLl_32(x64emu_t *emu, uintptr_t fcn) { iFXLl_t fn = (iFXLl_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), to_ulong(from_ptri(ulong_t, R_ESP + 8)), to_long(from_ptri(long_t, R_ESP + 12))); }
Expand Down Expand Up @@ -1487,6 +1494,7 @@ void lFipL_32(x64emu_t *emu, uintptr_t fcn) { lFipL_t fn = (lFipL_t)fcn; R_EAX =
void lFlpi_32(x64emu_t *emu, uintptr_t fcn) { lFlpi_t fn = (lFlpi_t)fcn; R_EAX = to_long(fn(to_long(from_ptri(long_t, R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12))); }
void lFpLL_32(x64emu_t *emu, uintptr_t fcn) { lFpLL_t fn = (lFpLL_t)fcn; R_EAX = to_long(fn(from_ptriv(R_ESP + 4), to_ulong(from_ptri(ulong_t, R_ESP + 8)), to_ulong(from_ptri(ulong_t, R_ESP + 12)))); }
void lFppL_32(x64emu_t *emu, uintptr_t fcn) { lFppL_t fn = (lFppL_t)fcn; R_EAX = to_long(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), to_ulong(from_ptri(ulong_t, R_ESP + 12)))); }
void LFEpi_32(x64emu_t *emu, uintptr_t fcn) { LFEpi_t fn = (LFEpi_t)fcn; R_EAX = to_ulong(fn(emu, from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8))); }
void LFpii_32(x64emu_t *emu, uintptr_t fcn) { LFpii_t fn = (LFpii_t)fcn; R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12))); }
void LFpip_32(x64emu_t *emu, uintptr_t fcn) { LFpip_t fn = (LFpip_t)fcn; R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12))); }
void LFppL_32(x64emu_t *emu, uintptr_t fcn) { LFppL_t fn = (LFppL_t)fcn; R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), to_ulong(from_ptri(ulong_t, R_ESP + 12)))); }
Expand Down Expand Up @@ -1631,6 +1639,7 @@ void iFEipp_32(x64emu_t *emu, uintptr_t fcn) { iFEipp_t fn = (iFEipp_t)fcn; R_EA
void iFEipV_32(x64emu_t *emu, uintptr_t fcn) { iFEipV_t fn = (iFEipV_t)fcn; R_EAX = fn(emu, from_ptri(int32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ptrv(R_ESP + 12)); }
void iFEpip_32(x64emu_t *emu, uintptr_t fcn) { iFEpip_t fn = (iFEpip_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12)); }
void iFEpui_32(x64emu_t *emu, uintptr_t fcn) { iFEpui_t fn = (iFEpui_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12)); }
void iFEpuu_32(x64emu_t *emu, uintptr_t fcn) { iFEpuu_t fn = (iFEpuu_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12)); }
void iFEpup_32(x64emu_t *emu, uintptr_t fcn) { iFEpup_t fn = (iFEpup_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptriv(R_ESP + 12)); }
void iFEpLi_32(x64emu_t *emu, uintptr_t fcn) { iFEpLi_t fn = (iFEpLi_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), to_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptri(int32_t, R_ESP + 12)); }
void iFEppL_32(x64emu_t *emu, uintptr_t fcn) { iFEppL_t fn = (iFEppL_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), to_ulong(from_ptri(ulong_t, R_ESP + 12))); }
Expand Down Expand Up @@ -1922,13 +1931,16 @@ void iFEuppup_32(x64emu_t *emu, uintptr_t fcn) { iFEuppup_t fn = (iFEuppup_t)fcn
void iFEuppLp_32(x64emu_t *emu, uintptr_t fcn) { iFEuppLp_t fn = (iFEuppLp_t)fcn; R_EAX = fn(emu, from_ptri(uint32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), to_ulong(from_ptri(ulong_t, R_ESP + 16)), from_ptriv(R_ESP + 20)); }
void iFEpiLpp_32(x64emu_t *emu, uintptr_t fcn) { iFEpiLpp_t fn = (iFEpiLpp_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), to_ulong(from_ptri(ulong_t, R_ESP + 12)), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20)); }
void iFEplluu_32(x64emu_t *emu, uintptr_t fcn) { iFEplluu_t fn = (iFEplluu_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), to_long(from_ptri(long_t, R_ESP + 8)), to_long(from_ptri(long_t, R_ESP + 12)), from_ptri(uint32_t, R_ESP + 16), from_ptri(uint32_t, R_ESP + 20)); }
void iFEppipp_32(x64emu_t *emu, uintptr_t fcn) { iFEppipp_t fn = (iFEppipp_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20)); }
void iFEppllp_32(x64emu_t *emu, uintptr_t fcn) { iFEppllp_t fn = (iFEppllp_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), to_long(from_ptri(long_t, R_ESP + 12)), to_long(from_ptri(long_t, R_ESP + 16)), from_ptriv(R_ESP + 20)); }
void iFEpppup_32(x64emu_t *emu, uintptr_t fcn) { iFEpppup_t fn = (iFEpppup_t)fcn; R_EAX = fn(emu, from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptri(uint32_t, R_ESP + 16), from_ptriv(R_ESP + 20)); }
void iFEXLilp_32(x64emu_t *emu, uintptr_t fcn) { iFEXLilp_t fn = (iFEXLilp_t)fcn; R_EAX = fn(emu, getDisplay(from_ptriv(R_ESP + 4)), to_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptri(int32_t, R_ESP + 12), to_long(from_ptri(long_t, R_ESP + 16)), from_ptriv(R_ESP + 20)); }
void iFEXpiup_32(x64emu_t *emu, uintptr_t fcn) { iFEXpiup_t fn = (iFEXpiup_t)fcn; R_EAX = fn(emu, getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16), from_ptriv(R_ESP + 20)); }
void iFEXpppp_32(x64emu_t *emu, uintptr_t fcn) { iFEXpppp_t fn = (iFEXpppp_t)fcn; R_EAX = fn(emu, getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20)); }
void iFuiiuup_32(x64emu_t *emu, uintptr_t fcn) { iFuiiuup_t fn = (iFuiiuup_t)fcn; R_EAX = fn(from_ptri(uint32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16), from_ptri(uint32_t, R_ESP + 20), from_ptriv(R_ESP + 24)); }
void iFpiippp_32(x64emu_t *emu, uintptr_t fcn) { iFpiippp_t fn = (iFpiippp_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20), from_ptriv(R_ESP + 24)); }
void iFppiiii_32(x64emu_t *emu, uintptr_t fcn) { iFppiiii_t fn = (iFppiiii_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptri(int32_t, R_ESP + 20), from_ptri(int32_t, R_ESP + 24)); }
void iFXiippp_32(x64emu_t *emu, uintptr_t fcn) { iFXiippp_t fn = (iFXiippp_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20), from_ptriv(R_ESP + 24)); }
void iFXLiiiL_32(x64emu_t *emu, uintptr_t fcn) { iFXLiiiL_t fn = (iFXLiiiL_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), to_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptri(int32_t, R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptri(int32_t, R_ESP + 20), to_ulong(from_ptri(ulong_t, R_ESP + 24))); }
void iFXLpppp_32(x64emu_t *emu, uintptr_t fcn) { iFXLpppp_t fn = (iFXLpppp_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), to_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20), from_ptriv(R_ESP + 24)); }
void iFXpIppp_32(x64emu_t *emu, uintptr_t fcn) { iFXpIppp_t fn = (iFXpIppp_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptri(int64_t, R_ESP + 12), from_ptriv(R_ESP + 20), from_ptriv(R_ESP + 24), from_ptriv(R_ESP + 28)); }
Expand Down
6 changes: 6 additions & 0 deletions src/wrapped32/generated/wrapper32.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ void iFhpL_32(x64emu_t *emu, uintptr_t fnc);
void iFhpp_32(x64emu_t *emu, uintptr_t fnc);
void iFSIi_32(x64emu_t *emu, uintptr_t fnc);
void iFSli_32(x64emu_t *emu, uintptr_t fnc);
void iFXii_32(x64emu_t *emu, uintptr_t fnc);
void iFXip_32(x64emu_t *emu, uintptr_t fnc);
void iFXuu_32(x64emu_t *emu, uintptr_t fnc);
void iFXLl_32(x64emu_t *emu, uintptr_t fnc);
Expand Down Expand Up @@ -405,6 +406,7 @@ void lFipL_32(x64emu_t *emu, uintptr_t fnc);
void lFlpi_32(x64emu_t *emu, uintptr_t fnc);
void lFpLL_32(x64emu_t *emu, uintptr_t fnc);
void lFppL_32(x64emu_t *emu, uintptr_t fnc);
void LFEpi_32(x64emu_t *emu, uintptr_t fnc);
void LFpii_32(x64emu_t *emu, uintptr_t fnc);
void LFpip_32(x64emu_t *emu, uintptr_t fnc);
void LFppL_32(x64emu_t *emu, uintptr_t fnc);
Expand Down Expand Up @@ -549,6 +551,7 @@ void iFEipp_32(x64emu_t *emu, uintptr_t fnc);
void iFEipV_32(x64emu_t *emu, uintptr_t fnc);
void iFEpip_32(x64emu_t *emu, uintptr_t fnc);
void iFEpui_32(x64emu_t *emu, uintptr_t fnc);
void iFEpuu_32(x64emu_t *emu, uintptr_t fnc);
void iFEpup_32(x64emu_t *emu, uintptr_t fnc);
void iFEpLi_32(x64emu_t *emu, uintptr_t fnc);
void iFEppL_32(x64emu_t *emu, uintptr_t fnc);
Expand Down Expand Up @@ -840,13 +843,16 @@ void iFEuppup_32(x64emu_t *emu, uintptr_t fnc);
void iFEuppLp_32(x64emu_t *emu, uintptr_t fnc);
void iFEpiLpp_32(x64emu_t *emu, uintptr_t fnc);
void iFEplluu_32(x64emu_t *emu, uintptr_t fnc);
void iFEppipp_32(x64emu_t *emu, uintptr_t fnc);
void iFEppllp_32(x64emu_t *emu, uintptr_t fnc);
void iFEpppup_32(x64emu_t *emu, uintptr_t fnc);
void iFEXLilp_32(x64emu_t *emu, uintptr_t fnc);
void iFEXpiup_32(x64emu_t *emu, uintptr_t fnc);
void iFEXpppp_32(x64emu_t *emu, uintptr_t fnc);
void iFuiiuup_32(x64emu_t *emu, uintptr_t fnc);
void iFpiippp_32(x64emu_t *emu, uintptr_t fnc);
void iFppiiii_32(x64emu_t *emu, uintptr_t fnc);
void iFXiippp_32(x64emu_t *emu, uintptr_t fnc);
void iFXLiiiL_32(x64emu_t *emu, uintptr_t fnc);
void iFXLpppp_32(x64emu_t *emu, uintptr_t fnc);
void iFXpIppp_32(x64emu_t *emu, uintptr_t fnc);
Expand Down
Loading

0 comments on commit 24f278c

Please sign in to comment.