diff options
Diffstat (limited to 'src/wrapped/generated')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 2 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 6 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index a185e159..b7cb370e 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -240,6 +240,7 @@ #() uFpp #() UFEp #() UFuu +#() UFUp #() UFpi #() UFpU #() UFpp @@ -278,6 +279,7 @@ #() LFEL #() LFii #() LFuu +#() LFUp #() LFLi #() LFLL #() LFLp diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 141774db..f2cd1667 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -276,6 +276,7 @@ typedef uint32_t (*uFpL_t)(void*, uintptr_t); typedef uint32_t (*uFpp_t)(void*, void*); typedef uint64_t (*UFEp_t)(x64emu_t*, void*); typedef uint64_t (*UFuu_t)(uint32_t, uint32_t); +typedef uint64_t (*UFUp_t)(uint64_t, void*); typedef uint64_t (*UFpi_t)(void*, int32_t); typedef uint64_t (*UFpU_t)(void*, uint64_t); typedef uint64_t (*UFpp_t)(void*, void*); @@ -314,6 +315,7 @@ typedef intptr_t (*lFpp_t)(void*, void*); typedef uintptr_t (*LFEL_t)(x64emu_t*, uintptr_t); typedef uintptr_t (*LFii_t)(int32_t, int32_t); typedef uintptr_t (*LFuu_t)(uint32_t, uint32_t); +typedef uintptr_t (*LFUp_t)(uint64_t, void*); typedef uintptr_t (*LFLi_t)(uintptr_t, int32_t); typedef uintptr_t (*LFLL_t)(uintptr_t, uintptr_t); typedef uintptr_t (*LFLp_t)(uintptr_t, void*); @@ -3263,6 +3265,7 @@ void uFpL(x64emu_t *emu, uintptr_t fcn) { uFpL_t fn = (uFpL_t)fcn; R_RAX=(uint32 void uFpp(x64emu_t *emu, uintptr_t fcn) { uFpp_t fn = (uFpp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI); } void UFEp(x64emu_t *emu, uintptr_t fcn) { UFEp_t fn = (UFEp_t)fcn; R_RAX=fn(emu, (void*)R_RDI); } void UFuu(x64emu_t *emu, uintptr_t fcn) { UFuu_t fn = (UFuu_t)fcn; R_RAX=fn((uint32_t)R_RDI, (uint32_t)R_RSI); } +void UFUp(x64emu_t *emu, uintptr_t fcn) { UFUp_t fn = (UFUp_t)fcn; R_RAX=fn((uint64_t)R_RDI, (void*)R_RSI); } void UFpi(x64emu_t *emu, uintptr_t fcn) { UFpi_t fn = (UFpi_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI); } void UFpU(x64emu_t *emu, uintptr_t fcn) { UFpU_t fn = (UFpU_t)fcn; R_RAX=fn((void*)R_RDI, (uint64_t)R_RSI); } void UFpp(x64emu_t *emu, uintptr_t fcn) { UFpp_t fn = (UFpp_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI); } @@ -3301,6 +3304,7 @@ void lFpp(x64emu_t *emu, uintptr_t fcn) { lFpp_t fn = (lFpp_t)fcn; R_RAX=(intptr void LFEL(x64emu_t *emu, uintptr_t fcn) { LFEL_t fn = (LFEL_t)fcn; R_RAX=(uintptr_t)fn(emu, (uintptr_t)R_RDI); } void LFii(x64emu_t *emu, uintptr_t fcn) { LFii_t fn = (LFii_t)fcn; R_RAX=(uintptr_t)fn((int32_t)R_RDI, (int32_t)R_RSI); } void LFuu(x64emu_t *emu, uintptr_t fcn) { LFuu_t fn = (LFuu_t)fcn; R_RAX=(uintptr_t)fn((uint32_t)R_RDI, (uint32_t)R_RSI); } +void LFUp(x64emu_t *emu, uintptr_t fcn) { LFUp_t fn = (LFUp_t)fcn; R_RAX=(uintptr_t)fn((uint64_t)R_RDI, (void*)R_RSI); } void LFLi(x64emu_t *emu, uintptr_t fcn) { LFLi_t fn = (LFLi_t)fcn; R_RAX=(uintptr_t)fn((uintptr_t)R_RDI, (int32_t)R_RSI); } void LFLL(x64emu_t *emu, uintptr_t fcn) { LFLL_t fn = (LFLL_t)fcn; R_RAX=(uintptr_t)fn((uintptr_t)R_RDI, (uintptr_t)R_RSI); } void LFLp(x64emu_t *emu, uintptr_t fcn) { LFLp_t fn = (LFLp_t)fcn; R_RAX=(uintptr_t)fn((uintptr_t)R_RDI, (void*)R_RSI); } @@ -6225,6 +6229,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &uFpL) return 1; if (fun == &uFpp) return 1; if (fun == &UFuu) return 1; + if (fun == &UFUp) return 1; if (fun == &UFpi) return 1; if (fun == &UFpU) return 1; if (fun == &UFpp) return 1; @@ -6253,6 +6258,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &lFpp) return 1; if (fun == &LFii) return 1; if (fun == &LFuu) return 1; + if (fun == &LFUp) return 1; if (fun == &LFLi) return 1; if (fun == &LFLL) return 1; if (fun == &LFLp) return 1; diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index 1aebf62c..c0eaa59a 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -277,6 +277,7 @@ void uFpL(x64emu_t *emu, uintptr_t fnc); void uFpp(x64emu_t *emu, uintptr_t fnc); void UFEp(x64emu_t *emu, uintptr_t fnc); void UFuu(x64emu_t *emu, uintptr_t fnc); +void UFUp(x64emu_t *emu, uintptr_t fnc); void UFpi(x64emu_t *emu, uintptr_t fnc); void UFpU(x64emu_t *emu, uintptr_t fnc); void UFpp(x64emu_t *emu, uintptr_t fnc); @@ -315,6 +316,7 @@ void lFpp(x64emu_t *emu, uintptr_t fnc); void LFEL(x64emu_t *emu, uintptr_t fnc); void LFii(x64emu_t *emu, uintptr_t fnc); void LFuu(x64emu_t *emu, uintptr_t fnc); +void LFUp(x64emu_t *emu, uintptr_t fnc); void LFLi(x64emu_t *emu, uintptr_t fnc); void LFLL(x64emu_t *emu, uintptr_t fnc); void LFLp(x64emu_t *emu, uintptr_t fnc); |