diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-02-23 18:09:18 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-02-23 18:09:18 +0100 |
| commit | f0026927e3c1d51eb03dc89a4c48d03945d939b8 (patch) | |
| tree | 8089be642b3b2f4e38f5c49ca2e948dfb24f438a /src/wrapped/generated | |
| parent | d1388dd7eb98dc782d36f69cf2f4ed1573646ff9 (diff) | |
| download | box64-f0026927e3c1d51eb03dc89a4c48d03945d939b8.tar.gz box64-f0026927e3c1d51eb03dc89a4c48d03945d939b8.zip | |
Added some various wrapped function (for rpcs3, but still not working)
Diffstat (limited to 'src/wrapped/generated')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 4 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlbertypes.h | 4 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 7 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 2 |
4 files changed, 10 insertions, 7 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index feea0d40..4999044b 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -582,7 +582,6 @@ #() uFpip #() uFpCi #() uFpWi -#() uFpWW #() uFpWu #() uFpWf #() uFpWp @@ -2087,6 +2086,7 @@ #() uFpuuupp #() uFpuuppp #() uFpupupu +#() uFpupppp #() uFppippp #() uFppuuup #() uFppuupu @@ -3991,6 +3991,8 @@ wrappedkrb5: - iFppppppipp: - krb5_get_init_creds_password wrappedlber: +- iFppip: + - ber_sockbuf_add_io wrappedlcms2: wrappedldapr: - iFpppppupp: diff --git a/src/wrapped/generated/wrappedlbertypes.h b/src/wrapped/generated/wrappedlbertypes.h index 3074af68..4e0ffd66 100644 --- a/src/wrapped/generated/wrappedlbertypes.h +++ b/src/wrapped/generated/wrappedlbertypes.h @@ -11,7 +11,9 @@ #define ADDED_FUNCTIONS() #endif +typedef int32_t (*iFppip_t)(void*, void*, int32_t, void*); -#define SUPER() ADDED_FUNCTIONS() +#define SUPER() ADDED_FUNCTIONS() \ + GO(ber_sockbuf_add_io, iFppip_t) #endif // __wrappedlberTYPES_H_ diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 5966030b..6da52f0f 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -620,7 +620,6 @@ typedef uint32_t (*uFpiu_t)(void*, int32_t, uint32_t); typedef uint32_t (*uFpip_t)(void*, int32_t, void*); typedef uint32_t (*uFpCi_t)(void*, uint8_t, int32_t); typedef uint32_t (*uFpWi_t)(void*, uint16_t, int32_t); -typedef uint32_t (*uFpWW_t)(void*, uint16_t, uint16_t); typedef uint32_t (*uFpWu_t)(void*, uint16_t, uint32_t); typedef uint32_t (*uFpWf_t)(void*, uint16_t, float); typedef uint32_t (*uFpWp_t)(void*, uint16_t, void*); @@ -2125,6 +2124,7 @@ typedef uint32_t (*uFpuuuup_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, vo typedef uint32_t (*uFpuuupp_t)(void*, uint32_t, uint32_t, uint32_t, void*, void*); typedef uint32_t (*uFpuuppp_t)(void*, uint32_t, uint32_t, void*, void*, void*); typedef uint32_t (*uFpupupu_t)(void*, uint32_t, void*, uint32_t, void*, uint32_t); +typedef uint32_t (*uFpupppp_t)(void*, uint32_t, void*, void*, void*, void*); typedef uint32_t (*uFppippp_t)(void*, void*, int32_t, void*, void*, void*); typedef uint32_t (*uFppuuup_t)(void*, void*, uint32_t, uint32_t, uint32_t, void*); typedef uint32_t (*uFppuupu_t)(void*, void*, uint32_t, uint32_t, void*, uint32_t); @@ -3678,7 +3678,6 @@ void uFpiu(x64emu_t *emu, uintptr_t fcn) { uFpiu_t fn = (uFpiu_t)fcn; R_RAX=(uin 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 uFpCi(x64emu_t *emu, uintptr_t fcn) { uFpCi_t fn = (uFpCi_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint8_t)R_RSI, (int32_t)R_RDX); } void uFpWi(x64emu_t *emu, uintptr_t fcn) { uFpWi_t fn = (uFpWi_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint16_t)R_RSI, (int32_t)R_RDX); } -void uFpWW(x64emu_t *emu, uintptr_t fcn) { uFpWW_t fn = (uFpWW_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint16_t)R_RSI, (uint16_t)R_RDX); } void uFpWu(x64emu_t *emu, uintptr_t fcn) { uFpWu_t fn = (uFpWu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint16_t)R_RSI, (uint32_t)R_RDX); } void uFpWf(x64emu_t *emu, uintptr_t fcn) { uFpWf_t fn = (uFpWf_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint16_t)R_RSI, emu->xmm[0].f[0]); } void uFpWp(x64emu_t *emu, uintptr_t fcn) { uFpWp_t fn = (uFpWp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint16_t)R_RSI, (void*)R_RDX); } @@ -5183,6 +5182,7 @@ void uFpuuuup(x64emu_t *emu, uintptr_t fcn) { uFpuuuup_t fn = (uFpuuuup_t)fcn; R void uFpuuupp(x64emu_t *emu, uintptr_t fcn) { uFpuuupp_t fn = (uFpuuupp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (void*)R_R8, (void*)R_R9); } void uFpuuppp(x64emu_t *emu, uintptr_t fcn) { uFpuuppp_t fn = (uFpuuppp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void uFpupupu(x64emu_t *emu, uintptr_t fcn) { uFpupupu_t fn = (uFpupupu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX, (uint32_t)R_RCX, (void*)R_R8, (uint32_t)R_R9); } +void uFpupppp(x64emu_t *emu, uintptr_t fcn) { uFpupppp_t fn = (uFpupppp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void uFppippp(x64emu_t *emu, uintptr_t fcn) { uFppippp_t fn = (uFppippp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void uFppuuup(x64emu_t *emu, uintptr_t fcn) { uFppuuup_t fn = (uFppuuup_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, (void*)R_R9); } void uFppuupu(x64emu_t *emu, uintptr_t fcn) { uFppuupu_t fn = (uFppuupu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (void*)R_R8, (uint32_t)R_R9); } @@ -6639,7 +6639,6 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &uFpip) return 1; if (fun == &uFpCi) return 1; if (fun == &uFpWi) return 1; - if (fun == &uFpWW) return 1; if (fun == &uFpWu) return 1; if (fun == &uFpWf) return 2; if (fun == &uFpWp) return 1; @@ -7872,6 +7871,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &uFpuuupp) return 1; if (fun == &uFpuuppp) return 1; if (fun == &uFpupupu) return 1; + if (fun == &uFpupppp) return 1; if (fun == &uFppippp) return 1; if (fun == &uFppuuup) return 1; if (fun == &uFppuupu) return 1; @@ -8205,7 +8205,6 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &uFufp) return 3; if (fun == &uFupu) return 1; if (fun == &uFupp) return 1; - if (fun == &uFpWW) return 1; if (fun == &uFpWu) return 1; if (fun == &uFpWf) return 3; if (fun == &uFpWp) return 1; diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index 9181958c..e6cc6738 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -620,7 +620,6 @@ void uFpiu(x64emu_t *emu, uintptr_t fnc); void uFpip(x64emu_t *emu, uintptr_t fnc); void uFpCi(x64emu_t *emu, uintptr_t fnc); void uFpWi(x64emu_t *emu, uintptr_t fnc); -void uFpWW(x64emu_t *emu, uintptr_t fnc); void uFpWu(x64emu_t *emu, uintptr_t fnc); void uFpWf(x64emu_t *emu, uintptr_t fnc); void uFpWp(x64emu_t *emu, uintptr_t fnc); @@ -2125,6 +2124,7 @@ void uFpuuuup(x64emu_t *emu, uintptr_t fnc); void uFpuuupp(x64emu_t *emu, uintptr_t fnc); void uFpuuppp(x64emu_t *emu, uintptr_t fnc); void uFpupupu(x64emu_t *emu, uintptr_t fnc); +void uFpupppp(x64emu_t *emu, uintptr_t fnc); void uFppippp(x64emu_t *emu, uintptr_t fnc); void uFppuuup(x64emu_t *emu, uintptr_t fnc); void uFppuupu(x64emu_t *emu, uintptr_t fnc); |