diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 3 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 1 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlibc_private.h | 2 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlibx11_private.h | 6 |
5 files changed, 9 insertions, 4 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index d6ee9090..3b3b8796 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -586,6 +586,7 @@ #() lFipLi #() lFipLI #() lFipLl +#() lFipLL #() lFlpip #() lFpili #() lFpilp diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 7b5366ca..180202f6 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -620,6 +620,7 @@ typedef intptr_t (*lFipiI_t)(int64_t, void*, int64_t, int64_t); typedef intptr_t (*lFipLi_t)(int64_t, void*, uintptr_t, int64_t); typedef intptr_t (*lFipLI_t)(int64_t, void*, uintptr_t, int64_t); typedef intptr_t (*lFipLl_t)(int64_t, void*, uintptr_t, intptr_t); +typedef intptr_t (*lFipLL_t)(int64_t, void*, uintptr_t, uintptr_t); typedef intptr_t (*lFlpip_t)(intptr_t, void*, int64_t, void*); typedef intptr_t (*lFpili_t)(void*, int64_t, intptr_t, int64_t); typedef intptr_t (*lFpilp_t)(void*, int64_t, intptr_t, void*); @@ -1955,6 +1956,7 @@ void lFipiI(x64emu_t *emu, uintptr_t fcn) { lFipiI_t fn = (lFipiI_t)fcn; R_RAX=( void lFipLi(x64emu_t *emu, uintptr_t fcn) { lFipLi_t fn = (lFipLi_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (int64_t)R_RCX); } void lFipLI(x64emu_t *emu, uintptr_t fcn) { lFipLI_t fn = (lFipLI_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (int64_t)R_RCX); } void lFipLl(x64emu_t *emu, uintptr_t fcn) { lFipLl_t fn = (lFipLl_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (intptr_t)R_RCX); } +void lFipLL(x64emu_t *emu, uintptr_t fcn) { lFipLL_t fn = (lFipLL_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (uintptr_t)R_RCX); } void lFlpip(x64emu_t *emu, uintptr_t fcn) { lFlpip_t fn = (lFlpip_t)fcn; R_RAX=(intptr_t)fn((intptr_t)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX); } void lFpili(x64emu_t *emu, uintptr_t fcn) { lFpili_t fn = (lFpili_t)fcn; R_RAX=(intptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (intptr_t)R_RDX, (int64_t)R_RCX); } void lFpilp(x64emu_t *emu, uintptr_t fcn) { lFpilp_t fn = (lFpilp_t)fcn; R_RAX=(intptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (intptr_t)R_RDX, (void*)R_RCX); } @@ -3215,6 +3217,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &lFipLi) return 1; if (fun == &lFipLI) return 1; if (fun == &lFipLl) return 1; + if (fun == &lFipLL) return 1; if (fun == &lFlpip) return 1; if (fun == &lFpili) return 1; if (fun == &lFpilp) return 1; diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index bfd287f3..e6470724 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -616,6 +616,7 @@ void lFipiI(x64emu_t *emu, uintptr_t fnc); void lFipLi(x64emu_t *emu, uintptr_t fnc); void lFipLI(x64emu_t *emu, uintptr_t fnc); void lFipLl(x64emu_t *emu, uintptr_t fnc); +void lFipLL(x64emu_t *emu, uintptr_t fnc); void lFlpip(x64emu_t *emu, uintptr_t fnc); void lFpili(x64emu_t *emu, uintptr_t fnc); void lFpilp(x64emu_t *emu, uintptr_t fnc); diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index eddd2912..18040489 100755 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -1466,7 +1466,7 @@ GO(rawmemchr, pFpi) GOW(__read, lFipL) GO(read, lFipL) //GOW(readahead, -//GO(__read_chk, +GO(__read_chk, lFipLL) GOW(readdir, pFp) // struct direct is 280 byts on x86_64 and ARM64 GOW(readdir64, pFp) GOW(readdir64_r, iFppp) diff --git a/src/wrapped/wrappedlibx11_private.h b/src/wrapped/wrappedlibx11_private.h index 42a6407b..492c3071 100755 --- a/src/wrapped/wrappedlibx11_private.h +++ b/src/wrapped/wrappedlibx11_private.h @@ -817,7 +817,7 @@ GO(XPeekEvent, iFpp) GOM(XPeekIfEvent, iFEpppp) GO(XPending, iFp) //GO(Xpermalloc -//GO(XPlanesOfScreen +GO(XPlanesOfScreen, iFp) GO(XPointInRegion, iFpp) // _XPollfdCacheAdd // _XPollfdCacheDel @@ -826,8 +826,8 @@ GO(XPolygonRegion, pFpii) GO(XProcessInternalConnection, vFpi) // _XProcessInternalConnection // _XProcessWindowAttributes -//GO(XProtocolRevision -//GO(XProtocolVersion +GO(XProtocolRevision, iFp) +GO(XProtocolVersion, iFp) GO(XPutBackEvent, iFpp) // _XPutBackEvent GOM(XPutImage, iFEppppiiiiuu) |