From e3e1ee313b5b4348ae159d96e143f4e87d271fe1 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 10 Aug 2022 22:39:58 +0200 Subject: Some cleanup --- src/wrapped/generated/functions_list.txt | 3 +++ src/wrapped/generated/wrappedsdl2types.h | 2 ++ src/wrapped/generated/wrapper.c | 2 ++ src/wrapped/generated/wrapper.h | 1 + 4 files changed, 8 insertions(+) (limited to 'src/wrapped/generated') diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 2c1c7b81..8dbc8cf4 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -698,6 +698,7 @@ #() iFEiiN #() iFEipp #() iFEipV +#() iFEupu #() iFEupp #() iFEpii #() iFEpip @@ -3818,6 +3819,8 @@ wrappedsdl2: - SDL_LogInfo - SDL_LogVerbose - SDL_LogWarn +- iFupu: + - SDL_DYNAPI_entry - iFupp: - SDL_TLSSet - iFppi: diff --git a/src/wrapped/generated/wrappedsdl2types.h b/src/wrapped/generated/wrappedsdl2types.h index fb5a28b4..7586a2fb 100644 --- a/src/wrapped/generated/wrappedsdl2types.h +++ b/src/wrapped/generated/wrappedsdl2types.h @@ -32,6 +32,7 @@ typedef uint64_t (*uFpU_t)(void*, uint64_t); typedef void* (*pFpi_t)(void*, int64_t); typedef void* (*pFpp_t)(void*, void*); typedef void (*vFipV_t)(int64_t, void*, ...); +typedef int64_t (*iFupu_t)(uint64_t, void*, uint64_t); typedef int64_t (*iFupp_t)(uint64_t, void*, void*); typedef int64_t (*iFppi_t)(void*, void*, int64_t); typedef int64_t (*iFppV_t)(void*, void*, ...); @@ -113,6 +114,7 @@ typedef void* (*pFpippp_t)(void*, int64_t, void*, void*, void*); GO(SDL_LogInfo, vFipV_t) \ GO(SDL_LogVerbose, vFipV_t) \ GO(SDL_LogWarn, vFipV_t) \ + GO(SDL_DYNAPI_entry, iFupu_t) \ GO(SDL_TLSSet, iFupp_t) \ GO(SDL_SaveBMP_RW, iFppi_t) \ GO(SDL_sscanf, iFppV_t) \ diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index da0b70cf..d539d772 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -732,6 +732,7 @@ typedef int64_t (*iFEiip_t)(x64emu_t*, int64_t, int64_t, void*); typedef int64_t (*iFEiiN_t)(x64emu_t*, int64_t, int64_t, ...); typedef int64_t (*iFEipp_t)(x64emu_t*, int64_t, void*, void*); typedef int64_t (*iFEipV_t)(x64emu_t*, int64_t, void*, void*); +typedef int64_t (*iFEupu_t)(x64emu_t*, uint64_t, void*, uint64_t); typedef int64_t (*iFEupp_t)(x64emu_t*, uint64_t, void*, void*); typedef int64_t (*iFEpii_t)(x64emu_t*, void*, int64_t, int64_t); typedef int64_t (*iFEpip_t)(x64emu_t*, void*, int64_t, void*); @@ -2895,6 +2896,7 @@ void iFEiip(x64emu_t *emu, uintptr_t fcn) { iFEiip_t fn = (iFEiip_t)fcn; R_RAX=( void iFEiiN(x64emu_t *emu, uintptr_t fcn) { iFEiiN_t fn = (iFEiiN_t)fcn; R_RAX=(int64_t)fn(emu, (int64_t)R_RDI, (int64_t)R_RSI, (void*)R_RDX); } void iFEipp(x64emu_t *emu, uintptr_t fcn) { iFEipp_t fn = (iFEipp_t)fcn; R_RAX=(int64_t)fn(emu, (int64_t)R_RDI, (void*)R_RSI, (void*)R_RDX); } void iFEipV(x64emu_t *emu, uintptr_t fcn) { iFEipV_t fn = (iFEipV_t)fcn; R_RAX=(int64_t)fn(emu, (int64_t)R_RDI, (void*)R_RSI, (void*)(R_RSP + 8)); } +void iFEupu(x64emu_t *emu, uintptr_t fcn) { iFEupu_t fn = (iFEupu_t)fcn; R_RAX=(int64_t)fn(emu, (uint64_t)R_RDI, (void*)R_RSI, (uint64_t)R_RDX); } void iFEupp(x64emu_t *emu, uintptr_t fcn) { iFEupp_t fn = (iFEupp_t)fcn; R_RAX=(int64_t)fn(emu, (uint64_t)R_RDI, (void*)R_RSI, (void*)R_RDX); } void iFEpii(x64emu_t *emu, uintptr_t fcn) { iFEpii_t fn = (iFEpii_t)fcn; R_RAX=(int64_t)fn(emu, (void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX); } void iFEpip(x64emu_t *emu, uintptr_t fcn) { iFEpip_t fn = (iFEpip_t)fcn; R_RAX=(int64_t)fn(emu, (void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX); } diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index 8dc0ebde..9de50b6a 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -731,6 +731,7 @@ void iFEiip(x64emu_t *emu, uintptr_t fnc); void iFEiiN(x64emu_t *emu, uintptr_t fnc); void iFEipp(x64emu_t *emu, uintptr_t fnc); void iFEipV(x64emu_t *emu, uintptr_t fnc); +void iFEupu(x64emu_t *emu, uintptr_t fnc); void iFEupp(x64emu_t *emu, uintptr_t fnc); void iFEpii(x64emu_t *emu, uintptr_t fnc); void iFEpip(x64emu_t *emu, uintptr_t fnc); -- cgit 1.4.1