diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-04-12 18:34:03 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-04-12 18:34:03 +0200 |
| commit | a89748e9e5e2ea979ea9fb0c181040dc4096dadb (patch) | |
| tree | c06e4df1220f7452ff11523c72a3ef0be30d3e4e /src | |
| parent | 91f9a58b3058732259e8a86d830493ad87fa9ff5 (diff) | |
| download | box64-a89748e9e5e2ea979ea9fb0c181040dc4096dadb.tar.gz box64-a89748e9e5e2ea979ea9fb0c181040dc4096dadb.zip | |
[BOX32][WRAPPER] Added wrapped libmount and libblkid, plus 1 new wrapped function on libgbm
Diffstat (limited to 'src')
| -rw-r--r-- | src/library_list_32.h | 4 | ||||
| -rw-r--r-- | src/wrapped32/generated/functions_list.txt | 35 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedblkiddefs32.h | 8 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedblkidtypes32.h | 17 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedblkidundefs32.h | 8 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedgbmdefs32.h | 2 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedgbmtypes32.h | 1 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedgbmundefs32.h | 2 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedmountdefs32.h | 8 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedmounttypes32.h | 21 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedmountundefs32.h | 8 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrapper32.c | 52 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrapper32.h | 26 | ||||
| -rw-r--r-- | src/wrapped32/wrappedblkid.c | 19 | ||||
| -rw-r--r-- | src/wrapped32/wrappedblkid_private.h | 115 | ||||
| -rw-r--r-- | src/wrapped32/wrappedgbm.c | 13 | ||||
| -rw-r--r-- | src/wrapped32/wrappedgbm_private.h | 4 | ||||
| -rw-r--r-- | src/wrapped32/wrappedmount.c | 115 | ||||
| -rw-r--r-- | src/wrapped32/wrappedmount_private.h | 334 |
19 files changed, 791 insertions, 1 deletions
diff --git a/src/library_list_32.h b/src/library_list_32.h index ee20f830..cf00f2ef 100644 --- a/src/library_list_32.h +++ b/src/library_list_32.h @@ -17,6 +17,10 @@ GO("libresolv.so.2", libresolv) GO("libresolv.so", libresolv) GO("libselinux.so.1", selinux) GO("libselinux.so", selinux) +GO("libblkid.so.1", blkid) +GO("libblkid.so", blkid) +GO("libmount.so.1", mount) +GO("libmount.so", mount) GO("ld-linux.so.3", ldlinux) GO("ld-linux.so.2", ldlinux) diff --git a/src/wrapped32/generated/functions_list.txt b/src/wrapped32/generated/functions_list.txt index 150ceb12..3d827b5c 100644 --- a/src/wrapped32/generated/functions_list.txt +++ b/src/wrapped32/generated/functions_list.txt @@ -44,6 +44,7 @@ #() iES -> iES #() iFX -> iFX #() iFn -> iFn +#() IFi -> IFi #() IEf -> IEf #() IEd -> IEd #() IEp -> IEp @@ -110,6 +111,7 @@ #() pFW -> pFW #() pFu -> pFu #() pEu -> pEu +#() pFU -> pFU #() pEl -> pEl #() pFl -> pFl #() pEL -> pEL @@ -246,6 +248,7 @@ #() iEpV -> iEpV #() iEpO -> iEpO #() iEpS -> iEpS +#() iFpS -> iFpS #() iEhi -> iEhi #() iEhp -> iEhp #() iEhh -> iEhh @@ -317,6 +320,7 @@ #() LEEL -> LEEL #() LFEp -> LFEp #() LFLi -> LFLi +#() LFpc -> LFpc #() LEpL -> LEpL #() LEpp -> LEpp #() LFXi -> LFXi @@ -345,6 +349,7 @@ #() pEpi -> pEpi #() pFpi -> pFpi #() pFpu -> pFpu +#() pFpU -> pFpU #() pEpL -> pEpL #() pFpL -> pFpL #() pEpp -> pEpp @@ -385,6 +390,7 @@ #() lFpbp_ -> lFpB #() LFpbp_ -> LFpB #() LFpbL_ -> LFpB +#() pFpbp_ -> pFpB #() pErl_p -> pEBp #() vFibpp_ -> vFiB #() vFpbpu_ -> vFpB @@ -404,6 +410,7 @@ #() vFpbupi_ -> vFpB #() iESBliu_ -> iESB #() iFbppi_i -> iFBi +#() iFbp_bp_ -> iFBB #() iFXbiip_ -> iFXB #() iErLL_BLL_ -> iEBB #() iFbpu_bpu_ -> iFBB @@ -585,6 +592,7 @@ #() iFppI -> iFppI #() iEppu -> iEppu #() iFppu -> iFppu +#() iFppU -> iFppU #() iFppd -> iFppd #() iEppL -> iEppL #() iFppL -> iFppL @@ -592,6 +600,7 @@ #() iFppp -> iFppp #() iEppa -> iEppa #() iEpOu -> iEpOu +#() iFpSp -> iFpSp #() iEhip -> iEhip #() iEhpL -> iEhpL #() iEhpp -> iEhpp @@ -703,6 +712,7 @@ #() pEpII -> pEpII #() pFpuu -> pFpuu #() pFpup -> pFpup +#() pFpUi -> pFpUi #() pFpdd -> pFpdd #() pEpLL -> pEpLL #() pFppi -> pFppi @@ -734,7 +744,10 @@ #() iFEpBp_ -> iFEpB #() iFWubp_ -> iFWuB #() iFuubp_ -> iFuuB +#() iFUpbp_ -> iFUpB +#() iFLbp_p -> iFLBp #() iFpibl_ -> iFpiB +#() iFpibp_ -> iFpiB #() iFpubp_ -> iFpuB #() iFpubL_ -> iFpuB #() iFplbl_ -> iFplB @@ -990,11 +1003,14 @@ #() iFuiup -> iFuiup #() iFupLp -> iFupLp #() iFuppp -> iFuppp +#() iFUpLp -> iFUpLp #() iFpiii -> iFpiii #() iFpiiL -> iFpiiL #() iFpiip -> iFpiip +#() iFpiII -> iFpiII #() iFpiuu -> iFpiuu #() iFpili -> iFpili +#() iFpipL -> iFpipL #() iEpipp -> iEpipp #() iFpipp -> iFpipp #() iFpCCC -> iFpCCC @@ -1009,6 +1025,7 @@ #() iFpupL -> iFpupL #() iFpupp -> iFpupp #() iFpLuu -> iFpLuu +#() iFpLpp -> iFpLpp #() iFppii -> iFppii #() iFppiU -> iFppiU #() iFppip -> iFppip @@ -1129,6 +1146,7 @@ #() vFuuuBp_ -> vFuuuB #() vFbp_ppp -> vFBppp #() vFXLLbL_ -> vFXLLB +#() iFEpbL_p -> iFEpBp #() iFpipbL_ -> iFpipB #() iFpupbL_ -> iFpupB #() iFpubp_u -> iFpuBu @@ -1184,6 +1202,7 @@ #() iFupbp_bp_ -> iFupBB #() iFppbL_bL_ -> iFppBB #() iFppbp_bp_ -> iFppBB +#() iFppbp_bL_ -> iFppBB #() iFpbupu_up -> iFpBup #() iFbp_urp_u -> iFBuBu #() iFrpuu_Lui -> iFBLui @@ -1386,6 +1405,7 @@ #() iFpupLu -> iFpupLu #() iFpuppp -> iFpuppp #() iFppiUi -> iFppiUi +#() iFppipp -> iFppipp #() iFppWup -> iFppWup #() iFppupu -> iFppupu #() iFppLpL -> iFppLpL @@ -1452,6 +1472,7 @@ #() pFppuup -> pFppuup #() pFppupp -> pFppupp #() pFpppii -> pFpppii +#() pFppppi -> pFppppi #() pFXLipp -> pFXLipp #() pFXpipi -> pFXpipi #() pFXppip -> pFXppip @@ -1466,6 +1487,7 @@ #() iFppppbp_ -> iFppppB #() iFppbL_pu -> iFppBpu #() iFppbL_pL -> iFppBpL +#() iFppbp_pp -> iFppBpp #() iFpbp_iii -> iFpBiii #() iFpbp_ipi -> iFpBipi #() iFpbp_uuu -> iFpBuuu @@ -1497,12 +1519,14 @@ #() iFpbpu_upp -> iFpBupp #() iFpbpu_puu -> iFpBpuu #() iFiiuBp_Bp_ -> iFiiuBB +#() iFppbp_bp_p -> iFppBBp #() iFbp_bp_pip -> iFBBpip #() vFbp_ppibup_ -> vFBppiB #() iFEXbpLiL_pp -> iFEXBpp #() iFpubp_bpu_u -> iFpuBBu #() iFpppbp_bup_ -> iFpppBB #() iFbp_pbpu_uu -> iFBpBuu +#() iFpibp_bp_bL_ -> iFpiBBB #() iFpuubpu_bpu_ -> iFpuuBB #() iFpubpu_pbpu_ -> iFpuBpB #() iFppbpu_bpu_u -> iFppBBu @@ -1513,6 +1537,7 @@ #() LELbp_bL_bp_bL_ -> LELBBBB #() iFpubpu_bpu_bpu_ -> iFpuBBB #() iFppbpu_bpu_bpu_ -> iFppBBB +#() iFbp_bp_bL_bp_bL_ -> iFBBBBB #() vFXLbLLLLLLLLLL_iL -> vFXLBiL #() iFXiiiBpLiiiLLLii_ -> iFXiiiB #() iFpbpu_bpu_bpu_bpu_ -> iFpBBBB @@ -1704,6 +1729,7 @@ #() iFpppbp_bp_bL_ -> iFpppBBB #() iFpbpu_bpu_uuu -> iFpBBuuu #() iFpbpu_bpu_upu -> iFpBBupu +#() iFpbp_bp_bp_ii -> iFpBBBii #() iFrpuu_Lrpuu_Lui -> iFBLBLui #() iFXbLip_uubLip_L -> iFXBuuBL #() vFbp_bppup_ippbp_ -> vFBBippB @@ -2060,6 +2086,7 @@ #defined(WINLATOR_GLIBC) pEipi -> pEipi #!defined(WINLATOR_GLIBC) pEEipi -> pEEipi #() UEsvvs -> UEss +wrappedblkid: wrappedcairo: - pFp: - cairo_ft_scaled_font_lock_face @@ -2180,8 +2207,11 @@ wrappedfreetype: - iFppllp: - FT_New_Memory_Face wrappedgbm: +% z my_gbm_bo_handle_t U +- zFpp: - vFppp: - gbm_bo_set_user_data +% zFEpp -> pFEppp wrappedgnutls: - vFp: - gnutls_global_set_log_function @@ -3105,6 +3135,11 @@ wrappedlibxss: wrappedlibxxf86vm: - iFXipp: - XF86VidModeGetAllModeLines +wrappedmount: +- pFi: + - mnt_get_builtin_optmap +- iFpbL_p: + - mnt_optstr_get_flags wrappednsl: wrappedopenal: - vFv: diff --git a/src/wrapped32/generated/wrappedblkiddefs32.h b/src/wrapped32/generated/wrappedblkiddefs32.h new file mode 100644 index 00000000..a9a9428d --- /dev/null +++ b/src/wrapped32/generated/wrappedblkiddefs32.h @@ -0,0 +1,8 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappedblkidDEFS32_H_ +#define __wrappedblkidDEFS32_H_ + + +#endif // __wrappedblkidDEFS32_H_ diff --git a/src/wrapped32/generated/wrappedblkidtypes32.h b/src/wrapped32/generated/wrappedblkidtypes32.h new file mode 100644 index 00000000..c4f222dd --- /dev/null +++ b/src/wrapped32/generated/wrappedblkidtypes32.h @@ -0,0 +1,17 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappedblkidTYPES32_H_ +#define __wrappedblkidTYPES32_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + + +#define SUPER() ADDED_FUNCTIONS() + +#endif // __wrappedblkidTYPES32_H_ diff --git a/src/wrapped32/generated/wrappedblkidundefs32.h b/src/wrapped32/generated/wrappedblkidundefs32.h new file mode 100644 index 00000000..c189dde7 --- /dev/null +++ b/src/wrapped32/generated/wrappedblkidundefs32.h @@ -0,0 +1,8 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappedblkidUNDEFS32_H_ +#define __wrappedblkidUNDEFS32_H_ + + +#endif // __wrappedblkidUNDEFS32_H_ diff --git a/src/wrapped32/generated/wrappedgbmdefs32.h b/src/wrapped32/generated/wrappedgbmdefs32.h index 663a16fe..c396be5e 100644 --- a/src/wrapped32/generated/wrappedgbmdefs32.h +++ b/src/wrapped32/generated/wrappedgbmdefs32.h @@ -4,5 +4,7 @@ #ifndef __wrappedgbmDEFS32_H_ #define __wrappedgbmDEFS32_H_ +#define zFEpp pFEppp +#define zFEpp_32 pFEppp_32 #endif // __wrappedgbmDEFS32_H_ diff --git a/src/wrapped32/generated/wrappedgbmtypes32.h b/src/wrapped32/generated/wrappedgbmtypes32.h index 5578ccbe..ac96ecb3 100644 --- a/src/wrapped32/generated/wrappedgbmtypes32.h +++ b/src/wrapped32/generated/wrappedgbmtypes32.h @@ -11,6 +11,7 @@ #define ADDED_FUNCTIONS() #endif +typedef my_gbm_bo_handle_t (*zFpp_t)(void*, void*); typedef void (*vFppp_t)(void*, void*, void*); #define SUPER() ADDED_FUNCTIONS() \ diff --git a/src/wrapped32/generated/wrappedgbmundefs32.h b/src/wrapped32/generated/wrappedgbmundefs32.h index 39acf4ff..2c5ced01 100644 --- a/src/wrapped32/generated/wrappedgbmundefs32.h +++ b/src/wrapped32/generated/wrappedgbmundefs32.h @@ -4,5 +4,7 @@ #ifndef __wrappedgbmUNDEFS32_H_ #define __wrappedgbmUNDEFS32_H_ +#undef zFEpp +#undef zFEpp_32 #endif // __wrappedgbmUNDEFS32_H_ diff --git a/src/wrapped32/generated/wrappedmountdefs32.h b/src/wrapped32/generated/wrappedmountdefs32.h new file mode 100644 index 00000000..e7d86598 --- /dev/null +++ b/src/wrapped32/generated/wrappedmountdefs32.h @@ -0,0 +1,8 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappedmountDEFS32_H_ +#define __wrappedmountDEFS32_H_ + + +#endif // __wrappedmountDEFS32_H_ diff --git a/src/wrapped32/generated/wrappedmounttypes32.h b/src/wrapped32/generated/wrappedmounttypes32.h new file mode 100644 index 00000000..e0bc9af8 --- /dev/null +++ b/src/wrapped32/generated/wrappedmounttypes32.h @@ -0,0 +1,21 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappedmountTYPES32_H_ +#define __wrappedmountTYPES32_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + +typedef void* (*pFi_t)(int32_t); +typedef int32_t (*iFpbL_p_t)(void*, struct_L_t*, void*); + +#define SUPER() ADDED_FUNCTIONS() \ + GO(mnt_get_builtin_optmap, pFi_t) \ + GO(mnt_optstr_get_flags, iFpbL_p_t) + +#endif // __wrappedmountTYPES32_H_ diff --git a/src/wrapped32/generated/wrappedmountundefs32.h b/src/wrapped32/generated/wrappedmountundefs32.h new file mode 100644 index 00000000..f57fc6a4 --- /dev/null +++ b/src/wrapped32/generated/wrappedmountundefs32.h @@ -0,0 +1,8 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappedmountUNDEFS32_H_ +#define __wrappedmountUNDEFS32_H_ + + +#endif // __wrappedmountUNDEFS32_H_ diff --git a/src/wrapped32/generated/wrapper32.c b/src/wrapped32/generated/wrapper32.c index f82bb00d..8298064f 100644 --- a/src/wrapped32/generated/wrapper32.c +++ b/src/wrapped32/generated/wrapper32.c @@ -138,6 +138,7 @@ typedef int32_t (*iEh_t)(uintptr_t); typedef int32_t (*iES_t)(void*); typedef int32_t (*iFX_t)(void*); typedef int32_t (*iFn_t)(void*); +typedef int64_t (*IFi_t)(int32_t); typedef int64_t (*IEf_t)(float); typedef int64_t (*IEd_t)(double); typedef int64_t (*IEp_t)(void*); @@ -204,6 +205,7 @@ typedef void* (*pFI_t)(int64_t); typedef void* (*pFW_t)(uint16_t); typedef void* (*pFu_t)(uint32_t); typedef void* (*pEu_t)(uint32_t); +typedef void* (*pFU_t)(uint64_t); typedef void* (*pEl_t)(intptr_t); typedef void* (*pFl_t)(intptr_t); typedef void* (*pEL_t)(uintptr_t); @@ -340,6 +342,7 @@ typedef int32_t (*iFpp_t)(void*, void*); typedef int32_t (*iEpV_t)(void*, void*); typedef int32_t (*iEpO_t)(void*, int32_t); typedef int32_t (*iEpS_t)(void*, void*); +typedef int32_t (*iFpS_t)(void*, void*); typedef int32_t (*iEhi_t)(uintptr_t, int32_t); typedef int32_t (*iEhp_t)(uintptr_t, void*); typedef int32_t (*iEhh_t)(uintptr_t, uintptr_t); @@ -411,6 +414,7 @@ typedef intptr_t (*lFpL_t)(void*, uintptr_t); typedef uintptr_t (*LEEL_t)(x64emu_t*, uintptr_t); typedef uintptr_t (*LFEp_t)(x64emu_t*, void*); typedef uintptr_t (*LFLi_t)(uintptr_t, int32_t); +typedef uintptr_t (*LFpc_t)(void*, int8_t); typedef uintptr_t (*LEpL_t)(void*, uintptr_t); typedef uintptr_t (*LEpp_t)(void*, void*); typedef uintptr_t (*LFXi_t)(void*, int32_t); @@ -439,6 +443,7 @@ typedef void* (*pFLL_t)(uintptr_t, uintptr_t); typedef void* (*pEpi_t)(void*, int32_t); typedef void* (*pFpi_t)(void*, int32_t); typedef void* (*pFpu_t)(void*, uint32_t); +typedef void* (*pFpU_t)(void*, uint64_t); typedef void* (*pEpL_t)(void*, uintptr_t); typedef void* (*pFpL_t)(void*, uintptr_t); typedef void* (*pEpp_t)(void*, void*); @@ -479,6 +484,7 @@ typedef double (*dEpBp__t)(void*, struct_p_t*); typedef intptr_t (*lFpbp__t)(void*, struct_p_t*); typedef uintptr_t (*LFpbp__t)(void*, struct_p_t*); typedef uintptr_t (*LFpbL__t)(void*, struct_L_t*); +typedef void* (*pFpbp__t)(void*, struct_p_t*); typedef void* (*pErl_p_t)(struct_l_t*, void*); typedef void (*vFibpp__t)(int32_t, struct_pp_t*); typedef void (*vFpbpu__t)(void*, struct_pu_t*); @@ -498,6 +504,7 @@ typedef void* (*pFnbpi__t)(void*, struct_pi_t*); typedef void (*vFpbupi__t)(void*, struct_upi_t*); typedef int32_t (*iESBliu__t)(void*, struct_liu_t*); typedef int32_t (*iFbppi_i_t)(struct_ppi_t*, int32_t); +typedef int32_t (*iFbp_bp__t)(struct_p_t*, struct_p_t*); typedef int32_t (*iFXbiip__t)(void*, struct_iip_t*); typedef int32_t (*iErLL_BLL__t)(struct_LL_t*, struct_LL_t*); typedef int32_t (*iFbpu_bpu__t)(struct_pu_t*, struct_pu_t*); @@ -679,6 +686,7 @@ typedef int32_t (*iFppi_t)(void*, void*, int32_t); typedef int32_t (*iFppI_t)(void*, void*, int64_t); typedef int32_t (*iEppu_t)(void*, void*, uint32_t); typedef int32_t (*iFppu_t)(void*, void*, uint32_t); +typedef int32_t (*iFppU_t)(void*, void*, uint64_t); typedef int32_t (*iFppd_t)(void*, void*, double); typedef int32_t (*iEppL_t)(void*, void*, uintptr_t); typedef int32_t (*iFppL_t)(void*, void*, uintptr_t); @@ -686,6 +694,7 @@ typedef int32_t (*iEppp_t)(void*, void*, void*); typedef int32_t (*iFppp_t)(void*, void*, void*); typedef int32_t (*iEppa_t)(void*, void*, void*); typedef int32_t (*iEpOu_t)(void*, int32_t, uint32_t); +typedef int32_t (*iFpSp_t)(void*, void*, void*); typedef int32_t (*iEhip_t)(uintptr_t, int32_t, void*); typedef int32_t (*iEhpL_t)(uintptr_t, void*, uintptr_t); typedef int32_t (*iEhpp_t)(uintptr_t, void*, void*); @@ -797,6 +806,7 @@ typedef void* (*pEpiS_t)(void*, int32_t, void*); typedef void* (*pEpII_t)(void*, int64_t, int64_t); typedef void* (*pFpuu_t)(void*, uint32_t, uint32_t); typedef void* (*pFpup_t)(void*, uint32_t, void*); +typedef void* (*pFpUi_t)(void*, uint64_t, int32_t); typedef void* (*pFpdd_t)(void*, double, double); typedef void* (*pEpLL_t)(void*, uintptr_t, uintptr_t); typedef void* (*pFppi_t)(void*, void*, int32_t); @@ -828,7 +838,10 @@ typedef void (*vFXbL_i_t)(void*, struct_L_t*, int32_t); typedef int32_t (*iFEpBp__t)(x64emu_t*, void*, struct_p_t*); typedef int32_t (*iFWubp__t)(uint16_t, uint32_t, struct_p_t*); typedef int32_t (*iFuubp__t)(uint32_t, uint32_t, struct_p_t*); +typedef int32_t (*iFUpbp__t)(uint64_t, void*, struct_p_t*); +typedef int32_t (*iFLbp_p_t)(uintptr_t, struct_p_t*, void*); typedef int32_t (*iFpibl__t)(void*, int32_t, struct_l_t*); +typedef int32_t (*iFpibp__t)(void*, int32_t, struct_p_t*); typedef int32_t (*iFpubp__t)(void*, uint32_t, struct_p_t*); typedef int32_t (*iFpubL__t)(void*, uint32_t, struct_L_t*); typedef int32_t (*iFplbl__t)(void*, intptr_t, struct_l_t*); @@ -1084,11 +1097,14 @@ typedef int32_t (*iEipON_t)(int32_t, void*, int32_t, ...); typedef int32_t (*iFuiup_t)(uint32_t, int32_t, uint32_t, void*); typedef int32_t (*iFupLp_t)(uint32_t, void*, uintptr_t, void*); typedef int32_t (*iFuppp_t)(uint32_t, void*, void*, void*); +typedef int32_t (*iFUpLp_t)(uint64_t, void*, uintptr_t, void*); typedef int32_t (*iFpiii_t)(void*, int32_t, int32_t, int32_t); typedef int32_t (*iFpiiL_t)(void*, int32_t, int32_t, uintptr_t); typedef int32_t (*iFpiip_t)(void*, int32_t, int32_t, void*); +typedef int32_t (*iFpiII_t)(void*, int32_t, int64_t, int64_t); typedef int32_t (*iFpiuu_t)(void*, int32_t, uint32_t, uint32_t); typedef int32_t (*iFpili_t)(void*, int32_t, intptr_t, int32_t); +typedef int32_t (*iFpipL_t)(void*, int32_t, void*, uintptr_t); typedef int32_t (*iEpipp_t)(void*, int32_t, void*, void*); typedef int32_t (*iFpipp_t)(void*, int32_t, void*, void*); typedef int32_t (*iFpCCC_t)(void*, uint8_t, uint8_t, uint8_t); @@ -1103,6 +1119,7 @@ typedef int32_t (*iFpupu_t)(void*, uint32_t, void*, uint32_t); typedef int32_t (*iFpupL_t)(void*, uint32_t, void*, uintptr_t); typedef int32_t (*iFpupp_t)(void*, uint32_t, void*, void*); typedef int32_t (*iFpLuu_t)(void*, uintptr_t, uint32_t, uint32_t); +typedef int32_t (*iFpLpp_t)(void*, uintptr_t, void*, void*); typedef int32_t (*iFppii_t)(void*, void*, int32_t, int32_t); typedef int32_t (*iFppiU_t)(void*, void*, int32_t, uint64_t); typedef int32_t (*iFppip_t)(void*, void*, int32_t, void*); @@ -1223,6 +1240,7 @@ typedef void (*vFuibp_i_t)(uint32_t, int32_t, struct_p_t*, int32_t); typedef void (*vFuuuBp__t)(uint32_t, uint32_t, uint32_t, struct_p_t*); typedef void (*vFbp_ppp_t)(struct_p_t*, void*, void*, void*); typedef void (*vFXLLbL__t)(void*, uintptr_t, uintptr_t, struct_L_t*); +typedef int32_t (*iFEpbL_p_t)(x64emu_t*, void*, struct_L_t*, void*); typedef int32_t (*iFpipbL__t)(void*, int32_t, void*, struct_L_t*); typedef int32_t (*iFpupbL__t)(void*, uint32_t, void*, struct_L_t*); typedef int32_t (*iFpubp_u_t)(void*, uint32_t, struct_p_t*, uint32_t); @@ -1278,6 +1296,7 @@ typedef void (*vFpbupu_uu_t)(void*, struct_upu_t*, uint32_t, uint32_t); typedef int32_t (*iFupbp_bp__t)(uint32_t, void*, struct_p_t*, struct_p_t*); typedef int32_t (*iFppbL_bL__t)(void*, void*, struct_L_t*, struct_L_t*); typedef int32_t (*iFppbp_bp__t)(void*, void*, struct_p_t*, struct_p_t*); +typedef int32_t (*iFppbp_bL__t)(void*, void*, struct_p_t*, struct_L_t*); typedef int32_t (*iFpbupu_up_t)(void*, struct_upu_t*, uint32_t, void*); typedef int32_t (*iFbp_urp_u_t)(struct_p_t*, uint32_t, struct_p_t*, uint32_t); typedef int32_t (*iFrpuu_Lui_t)(struct_puu_t*, uintptr_t, uint32_t, int32_t); @@ -1480,6 +1499,7 @@ typedef int32_t (*iFpupuu_t)(void*, uint32_t, void*, uint32_t, uint32_t); typedef int32_t (*iFpupLu_t)(void*, uint32_t, void*, uintptr_t, uint32_t); typedef int32_t (*iFpuppp_t)(void*, uint32_t, void*, void*, void*); typedef int32_t (*iFppiUi_t)(void*, void*, int32_t, uint64_t, int32_t); +typedef int32_t (*iFppipp_t)(void*, void*, int32_t, void*, void*); typedef int32_t (*iFppWup_t)(void*, void*, uint16_t, uint32_t, void*); typedef int32_t (*iFppupu_t)(void*, void*, uint32_t, void*, uint32_t); typedef int32_t (*iFppLpL_t)(void*, void*, uintptr_t, void*, uintptr_t); @@ -1546,6 +1566,7 @@ typedef void* (*pFppipi_t)(void*, void*, int32_t, void*, int32_t); typedef void* (*pFppuup_t)(void*, void*, uint32_t, uint32_t, void*); typedef void* (*pFppupp_t)(void*, void*, uint32_t, void*, void*); typedef void* (*pFpppii_t)(void*, void*, void*, int32_t, int32_t); +typedef void* (*pFppppi_t)(void*, void*, void*, void*, int32_t); typedef void* (*pFXLipp_t)(void*, uintptr_t, int32_t, void*, void*); typedef void* (*pFXpipi_t)(void*, void*, int32_t, void*, int32_t); typedef void* (*pFXppip_t)(void*, void*, void*, int32_t, void*); @@ -1560,6 +1581,7 @@ typedef int32_t (*iFppupbL__t)(void*, void*, uint32_t, void*, struct_L_t*); typedef int32_t (*iFppppbp__t)(void*, void*, void*, void*, struct_p_t*); typedef int32_t (*iFppbL_pu_t)(void*, void*, struct_L_t*, void*, uint32_t); typedef int32_t (*iFppbL_pL_t)(void*, void*, struct_L_t*, void*, uintptr_t); +typedef int32_t (*iFppbp_pp_t)(void*, void*, struct_p_t*, void*, void*); typedef int32_t (*iFpbp_iii_t)(void*, struct_p_t*, int32_t, int32_t, int32_t); typedef int32_t (*iFpbp_ipi_t)(void*, struct_p_t*, int32_t, void*, int32_t); typedef int32_t (*iFpbp_uuu_t)(void*, struct_p_t*, uint32_t, uint32_t, uint32_t); @@ -1591,12 +1613,14 @@ typedef int32_t (*iFpbpu_upu_t)(void*, struct_pu_t*, uint32_t, void*, uint32_t); typedef int32_t (*iFpbpu_upp_t)(void*, struct_pu_t*, uint32_t, void*, void*); typedef int32_t (*iFpbpu_puu_t)(void*, struct_pu_t*, void*, uint32_t, uint32_t); typedef int32_t (*iFiiuBp_Bp__t)(int32_t, int32_t, uint32_t, struct_p_t*, struct_p_t*); +typedef int32_t (*iFppbp_bp_p_t)(void*, void*, struct_p_t*, struct_p_t*, void*); typedef int32_t (*iFbp_bp_pip_t)(struct_p_t*, struct_p_t*, void*, int32_t, void*); typedef void (*vFbp_ppibup__t)(struct_p_t*, void*, void*, int32_t, struct_up_t*); typedef int32_t (*iFEXbpLiL_pp_t)(x64emu_t*, void*, struct_pLiL_t*, void*, void*); typedef int32_t (*iFpubp_bpu_u_t)(void*, uint32_t, struct_p_t*, struct_pu_t*, uint32_t); typedef int32_t (*iFpppbp_bup__t)(void*, void*, void*, struct_p_t*, struct_up_t*); typedef int32_t (*iFbp_pbpu_uu_t)(struct_p_t*, void*, struct_pu_t*, uint32_t, uint32_t); +typedef int32_t (*iFpibp_bp_bL__t)(void*, int32_t, struct_p_t*, struct_p_t*, struct_L_t*); typedef int32_t (*iFpuubpu_bpu__t)(void*, uint32_t, uint32_t, struct_pu_t*, struct_pu_t*); typedef int32_t (*iFpubpu_pbpu__t)(void*, uint32_t, struct_pu_t*, void*, struct_pu_t*); typedef int32_t (*iFppbpu_bpu_u_t)(void*, void*, struct_pu_t*, struct_pu_t*, uint32_t); @@ -1607,6 +1631,7 @@ typedef int32_t (*iFXLiuriiiiiLi__t)(void*, uintptr_t, int32_t, uint32_t, struct typedef uintptr_t (*LELbp_bL_bp_bL__t)(uintptr_t, struct_p_t*, struct_L_t*, struct_p_t*, struct_L_t*); typedef int32_t (*iFpubpu_bpu_bpu__t)(void*, uint32_t, struct_pu_t*, struct_pu_t*, struct_pu_t*); typedef int32_t (*iFppbpu_bpu_bpu__t)(void*, void*, struct_pu_t*, struct_pu_t*, struct_pu_t*); +typedef int32_t (*iFbp_bp_bL_bp_bL__t)(struct_p_t*, struct_p_t*, struct_L_t*, struct_p_t*, struct_L_t*); typedef void (*vFXLbLLLLLLLLLL_iL_t)(void*, uintptr_t, struct_LLLLLLLLLL_t*, int32_t, uintptr_t); typedef int32_t (*iFXiiiBpLiiiLLLii__t)(void*, int32_t, int32_t, int32_t, struct_pLiiiLLLii_t*); typedef int32_t (*iFpbpu_bpu_bpu_bpu__t)(void*, struct_pu_t*, struct_pu_t*, struct_pu_t*, struct_pu_t*); @@ -1798,6 +1823,7 @@ typedef int32_t (*iFbpu_puupbL__t)(struct_pu_t*, void*, uint32_t, uint32_t, void typedef int32_t (*iFpppbp_bp_bL__t)(void*, void*, void*, struct_p_t*, struct_p_t*, struct_L_t*); typedef int32_t (*iFpbpu_bpu_uuu_t)(void*, struct_pu_t*, struct_pu_t*, uint32_t, uint32_t, uint32_t); typedef int32_t (*iFpbpu_bpu_upu_t)(void*, struct_pu_t*, struct_pu_t*, uint32_t, void*, uint32_t); +typedef int32_t (*iFpbp_bp_bp_ii_t)(void*, struct_p_t*, struct_p_t*, struct_p_t*, int32_t, int32_t); typedef int32_t (*iFrpuu_Lrpuu_Lui_t)(struct_puu_t*, uintptr_t, struct_puu_t*, uintptr_t, uint32_t, int32_t); typedef int32_t (*iFXbLip_uubLip_L_t)(void*, struct_Lip_t*, uint32_t, uint32_t, struct_Lip_t*, uintptr_t); typedef void (*vFbp_bppup_ippbp__t)(struct_p_t*, struct_ppup_t*, int32_t, void*, void*, struct_p_t*); @@ -2212,6 +2238,7 @@ void iEh_32(x64emu_t *emu, uintptr_t fcn) { iEh_t fn = (iEh_t)fcn; errno = emu-> void iES_32(x64emu_t *emu, uintptr_t fcn) { iES_t fn = (iES_t)fcn; errno = emu->libc_err; R_EAX = fn(io_convert32(from_ptriv(R_ESP + 4))); emu->libc_err = errno; } void iFX_32(x64emu_t *emu, uintptr_t fcn) { iFX_t fn = (iFX_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4))); } void iFn_32(x64emu_t *emu, uintptr_t fcn) { iFn_t fn = (iFn_t)fcn; void *aligned_xcb = align_xcb_connection32(from_ptriv(R_ESP + 4)); R_EAX = fn(aligned_xcb); unalign_xcb_connection32(aligned_xcb, from_ptriv(R_ESP + 4)); } +void IFi_32(x64emu_t *emu, uintptr_t fcn) { IFi_t fn = (IFi_t)fcn; ui64_t r; r.i = fn(from_ptri(int32_t, R_ESP + 4)); R_EAX = r.d[0]; R_EDX = r.d[1]; } void IEf_32(x64emu_t *emu, uintptr_t fcn) { IEf_t fn = (IEf_t)fcn; errno = emu->libc_err; ui64_t r; r.i = fn(from_ptri(float, R_ESP + 4)); R_EAX = r.d[0]; R_EDX = r.d[1]; emu->libc_err = errno; } void IEd_32(x64emu_t *emu, uintptr_t fcn) { IEd_t fn = (IEd_t)fcn; errno = emu->libc_err; ui64_t r; r.i = fn(from_ptri(double, R_ESP + 4)); R_EAX = r.d[0]; R_EDX = r.d[1]; emu->libc_err = errno; } void IEp_32(x64emu_t *emu, uintptr_t fcn) { IEp_t fn = (IEp_t)fcn; errno = emu->libc_err; ui64_t r; r.i = fn(from_ptriv(R_ESP + 4)); R_EAX = r.d[0]; R_EDX = r.d[1]; emu->libc_err = errno; } @@ -2278,6 +2305,7 @@ void pFI_32(x64emu_t *emu, uintptr_t fcn) { pFI_t fn = (pFI_t)fcn; R_EAX = to_pt void pFW_32(x64emu_t *emu, uintptr_t fcn) { pFW_t fn = (pFW_t)fcn; R_EAX = to_ptrv(fn(from_ptri(uint16_t, R_ESP + 4))); } void pFu_32(x64emu_t *emu, uintptr_t fcn) { pFu_t fn = (pFu_t)fcn; R_EAX = to_ptrv(fn(from_ptri(uint32_t, R_ESP + 4))); } void pEu_32(x64emu_t *emu, uintptr_t fcn) { pEu_t fn = (pEu_t)fcn; errno = emu->libc_err; R_EAX = to_ptrv(fn(from_ptri(uint32_t, R_ESP + 4))); emu->libc_err = errno; } +void pFU_32(x64emu_t *emu, uintptr_t fcn) { pFU_t fn = (pFU_t)fcn; R_EAX = to_ptrv(fn(from_ptri(uint64_t, R_ESP + 4))); } void pEl_32(x64emu_t *emu, uintptr_t fcn) { pEl_t fn = (pEl_t)fcn; errno = emu->libc_err; R_EAX = to_ptrv(fn(from_long(from_ptri(long_t, R_ESP + 4)))); emu->libc_err = errno; } void pFl_32(x64emu_t *emu, uintptr_t fcn) { pFl_t fn = (pFl_t)fcn; R_EAX = to_ptrv(fn(from_long(from_ptri(long_t, R_ESP + 4)))); } void pEL_32(x64emu_t *emu, uintptr_t fcn) { pEL_t fn = (pEL_t)fcn; errno = emu->libc_err; R_EAX = to_ptrv(fn(from_ulong(from_ptri(ulong_t, R_ESP + 4)))); emu->libc_err = errno; } @@ -2414,6 +2442,7 @@ void iFpp_32(x64emu_t *emu, uintptr_t fcn) { iFpp_t fn = (iFpp_t)fcn; R_EAX = fn void iEpV_32(x64emu_t *emu, uintptr_t fcn) { iEpV_t fn = (iEpV_t)fcn; errno = emu->libc_err; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptrv(R_ESP + 8)); emu->libc_err = errno; } void iEpO_32(x64emu_t *emu, uintptr_t fcn) { iEpO_t fn = (iEpO_t)fcn; errno = emu->libc_err; R_EAX = fn(from_ptriv(R_ESP + 4), of_convert32(from_ptri(int32_t, R_ESP + 8))); emu->libc_err = errno; } void iEpS_32(x64emu_t *emu, uintptr_t fcn) { iEpS_t fn = (iEpS_t)fcn; errno = emu->libc_err; R_EAX = fn(from_ptriv(R_ESP + 4), io_convert32(from_ptriv(R_ESP + 8))); emu->libc_err = errno; } +void iFpS_32(x64emu_t *emu, uintptr_t fcn) { iFpS_t fn = (iFpS_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), io_convert32(from_ptriv(R_ESP + 8))); } void iEhi_32(x64emu_t *emu, uintptr_t fcn) { iEhi_t fn = (iEhi_t)fcn; errno = emu->libc_err; R_EAX = fn(from_hash(from_ptri(ptr_t, R_ESP + 4)), from_ptri(int32_t, R_ESP + 8)); emu->libc_err = errno; } void iEhp_32(x64emu_t *emu, uintptr_t fcn) { iEhp_t fn = (iEhp_t)fcn; errno = emu->libc_err; R_EAX = fn(from_hash(from_ptri(ptr_t, R_ESP + 4)), from_ptriv(R_ESP + 8)); emu->libc_err = errno; } void iEhh_32(x64emu_t *emu, uintptr_t fcn) { iEhh_t fn = (iEhh_t)fcn; errno = emu->libc_err; R_EAX = fn(from_hash(from_ptri(ptr_t, R_ESP + 4)), from_hash(from_ptri(ptr_t, R_ESP + 8))); emu->libc_err = errno; } @@ -2485,6 +2514,7 @@ void lFpL_32(x64emu_t *emu, uintptr_t fcn) { lFpL_t fn = (lFpL_t)fcn; R_EAX = to void LEEL_32(x64emu_t *emu, uintptr_t fcn) { LEEL_t fn = (LEEL_t)fcn; errno = emu->libc_err; R_EAX = to_ulong(fn(emu, from_ulong(from_ptri(ulong_t, R_ESP + 4)))); emu->libc_err = errno; } void LFEp_32(x64emu_t *emu, uintptr_t fcn) { LFEp_t fn = (LFEp_t)fcn; R_EAX = to_ulong(fn(emu, from_ptriv(R_ESP + 4))); } void LFLi_32(x64emu_t *emu, uintptr_t fcn) { LFLi_t fn = (LFLi_t)fcn; R_EAX = to_ulong(fn(from_ulong(from_ptri(ulong_t, R_ESP + 4)), from_ptri(int32_t, R_ESP + 8))); } +void LFpc_32(x64emu_t *emu, uintptr_t fcn) { LFpc_t fn = (LFpc_t)fcn; R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), from_ptri(int8_t, R_ESP + 8))); } void LEpL_32(x64emu_t *emu, uintptr_t fcn) { LEpL_t fn = (LEpL_t)fcn; errno = emu->libc_err; R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)))); emu->libc_err = errno; } void LEpp_32(x64emu_t *emu, uintptr_t fcn) { LEpp_t fn = (LEpp_t)fcn; errno = emu->libc_err; R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8))); emu->libc_err = errno; } void LFXi_32(x64emu_t *emu, uintptr_t fcn) { LFXi_t fn = (LFXi_t)fcn; R_EAX = to_ulong(fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptri(int32_t, R_ESP + 8))); } @@ -2513,6 +2543,7 @@ void pFLL_32(x64emu_t *emu, uintptr_t fcn) { pFLL_t fn = (pFLL_t)fcn; R_EAX = to void pEpi_32(x64emu_t *emu, uintptr_t fcn) { pEpi_t fn = (pEpi_t)fcn; errno = emu->libc_err; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8))); emu->libc_err = errno; } void pFpi_32(x64emu_t *emu, uintptr_t fcn) { pFpi_t fn = (pFpi_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8))); } void pFpu_32(x64emu_t *emu, uintptr_t fcn) { pFpu_t fn = (pFpu_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8))); } +void pFpU_32(x64emu_t *emu, uintptr_t fcn) { pFpU_t fn = (pFpU_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(uint64_t, R_ESP + 8))); } void pEpL_32(x64emu_t *emu, uintptr_t fcn) { pEpL_t fn = (pEpL_t)fcn; errno = emu->libc_err; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)))); emu->libc_err = errno; } void pFpL_32(x64emu_t *emu, uintptr_t fcn) { pFpL_t fn = (pFpL_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)))); } void pEpp_32(x64emu_t *emu, uintptr_t fcn) { pEpp_t fn = (pEpp_t)fcn; errno = emu->libc_err; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8))); emu->libc_err = errno; } @@ -2553,6 +2584,7 @@ void dEpBp__32(x64emu_t *emu, uintptr_t fcn) { dEpBp__t fn = (dEpBp__t)fcn; errn void lFpbp__32(x64emu_t *emu, uintptr_t fcn) { lFpbp__t fn = (lFpbp__t)fcn; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = to_long(fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void LFpbp__32(x64emu_t *emu, uintptr_t fcn) { LFpbp__t fn = (LFpbp__t)fcn; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void LFpbL__32(x64emu_t *emu, uintptr_t fcn) { LFpbL__t fn = (LFpbL__t)fcn; struct_L_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_L(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void pFpbp__32(x64emu_t *emu, uintptr_t fcn) { pFpbp__t fn = (pFpbp__t)fcn; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void pErl_p_32(x64emu_t *emu, uintptr_t fcn) { pErl_p_t fn = (pErl_p_t)fcn; errno = emu->libc_err; struct_l_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_l(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = to_ptrv(fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptriv(R_ESP + 8))); emu->libc_err = errno; } void vFibpp__32(x64emu_t *emu, uintptr_t fcn) { vFibpp__t fn = (vFibpp__t)fcn; struct_pp_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pp(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); fn(from_ptri(int32_t, R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pp(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void vFpbpu__32(x64emu_t *emu, uintptr_t fcn) { vFpbpu__t fn = (vFpbpu__t)fcn; struct_pu_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pu(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } @@ -2572,6 +2604,7 @@ void pFnbpi__32(x64emu_t *emu, uintptr_t fcn) { pFnbpi__t fn = (pFnbpi__t)fcn; v void vFpbupi__32(x64emu_t *emu, uintptr_t fcn) { vFpbupi__t fn = (vFpbupi__t)fcn; struct_upi_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_upi(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_upi(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iESBliu__32(x64emu_t *emu, uintptr_t fcn) { iESBliu__t fn = (iESBliu__t)fcn; errno = emu->libc_err; struct_liu_t arg_8={0}; R_EAX = fn(io_convert32(from_ptriv(R_ESP + 4)), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_liu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } void iFbppi_i_32(x64emu_t *emu, uintptr_t fcn) { iFbppi_i_t fn = (iFbppi_i_t)fcn; struct_ppi_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppi(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptri(int32_t, R_ESP + 8)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppi(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void iFbp_bp__32(x64emu_t *emu, uintptr_t fcn) { iFbp_bp__t fn = (iFbp_bp__t)fcn; struct_p_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_p(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFXbiip__32(x64emu_t *emu, uintptr_t fcn) { iFXbiip__t fn = (iFXbiip__t)fcn; struct_iip_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_iip(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_iip(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iErLL_BLL__32(x64emu_t *emu, uintptr_t fcn) { iErLL_BLL__t fn = (iErLL_BLL__t)fcn; errno = emu->libc_err; struct_LL_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_LL(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_LL_t arg_8={0}; R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_LL(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } void iFbpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFbpu_bpu__t fn = (iFbpu_bpu__t)fcn; struct_pu_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_pu(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_pu_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pu(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } @@ -2753,6 +2786,7 @@ void iFppi_32(x64emu_t *emu, uintptr_t fcn) { iFppi_t fn = (iFppi_t)fcn; R_EAX = void iFppI_32(x64emu_t *emu, uintptr_t fcn) { iFppI_t fn = (iFppI_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int64_t, R_ESP + 12)); } void iEppu_32(x64emu_t *emu, uintptr_t fcn) { iEppu_t fn = (iEppu_t)fcn; errno = emu->libc_err; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(uint32_t, R_ESP + 12)); emu->libc_err = errno; } void iFppu_32(x64emu_t *emu, uintptr_t fcn) { iFppu_t fn = (iFppu_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(uint32_t, R_ESP + 12)); } +void iFppU_32(x64emu_t *emu, uintptr_t fcn) { iFppU_t fn = (iFppU_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(uint64_t, R_ESP + 12)); } void iFppd_32(x64emu_t *emu, uintptr_t fcn) { iFppd_t fn = (iFppd_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(double, R_ESP + 12)); } void iEppL_32(x64emu_t *emu, uintptr_t fcn) { iEppL_t fn = (iEppL_t)fcn; errno = emu->libc_err; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ulong(from_ptri(ulong_t, R_ESP + 12))); emu->libc_err = errno; } void iFppL_32(x64emu_t *emu, uintptr_t fcn) { iFppL_t fn = (iFppL_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ulong(from_ptri(ulong_t, R_ESP + 12))); } @@ -2760,6 +2794,7 @@ void iEppp_32(x64emu_t *emu, uintptr_t fcn) { iEppp_t fn = (iEppp_t)fcn; errno = void iFppp_32(x64emu_t *emu, uintptr_t fcn) { iFppp_t fn = (iFppp_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12)); } void iEppa_32(x64emu_t *emu, uintptr_t fcn) { iEppa_t fn = (iEppa_t)fcn; errno = emu->libc_err; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_locale(from_ptri(ptr_t, R_ESP + 12))); emu->libc_err = errno; } void iEpOu_32(x64emu_t *emu, uintptr_t fcn) { iEpOu_t fn = (iEpOu_t)fcn; errno = emu->libc_err; R_EAX = fn(from_ptriv(R_ESP + 4), of_convert32(from_ptri(int32_t, R_ESP + 8)), from_ptri(uint32_t, R_ESP + 12)); emu->libc_err = errno; } +void iFpSp_32(x64emu_t *emu, uintptr_t fcn) { iFpSp_t fn = (iFpSp_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), io_convert32(from_ptriv(R_ESP + 8)), from_ptriv(R_ESP + 12)); } void iEhip_32(x64emu_t *emu, uintptr_t fcn) { iEhip_t fn = (iEhip_t)fcn; errno = emu->libc_err; R_EAX = fn(from_hash(from_ptri(ptr_t, R_ESP + 4)), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12)); emu->libc_err = errno; } void iEhpL_32(x64emu_t *emu, uintptr_t fcn) { iEhpL_t fn = (iEhpL_t)fcn; errno = emu->libc_err; R_EAX = fn(from_hash(from_ptri(ptr_t, R_ESP + 4)), from_ptriv(R_ESP + 8), from_ulong(from_ptri(ulong_t, R_ESP + 12))); emu->libc_err = errno; } void iEhpp_32(x64emu_t *emu, uintptr_t fcn) { iEhpp_t fn = (iEhpp_t)fcn; errno = emu->libc_err; R_EAX = fn(from_hash(from_ptri(ptr_t, R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12)); emu->libc_err = errno; } @@ -2871,6 +2906,7 @@ void pEpiS_32(x64emu_t *emu, uintptr_t fcn) { pEpiS_t fn = (pEpiS_t)fcn; errno = void pEpII_32(x64emu_t *emu, uintptr_t fcn) { pEpII_t fn = (pEpII_t)fcn; errno = emu->libc_err; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(int64_t, R_ESP + 8), from_ptri(int64_t, R_ESP + 16))); emu->libc_err = errno; } void pFpuu_32(x64emu_t *emu, uintptr_t fcn) { pFpuu_t fn = (pFpuu_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12))); } void pFpup_32(x64emu_t *emu, uintptr_t fcn) { pFpup_t fn = (pFpup_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptriv(R_ESP + 12))); } +void pFpUi_32(x64emu_t *emu, uintptr_t fcn) { pFpUi_t fn = (pFpUi_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(uint64_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 16))); } void pFpdd_32(x64emu_t *emu, uintptr_t fcn) { pFpdd_t fn = (pFpdd_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptri(double, R_ESP + 8), from_ptri(double, R_ESP + 16))); } void pEpLL_32(x64emu_t *emu, uintptr_t fcn) { pEpLL_t fn = (pEpLL_t)fcn; errno = emu->libc_err; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ulong(from_ptri(ulong_t, R_ESP + 12)))); emu->libc_err = errno; } void pFppi_32(x64emu_t *emu, uintptr_t fcn) { pFppi_t fn = (pFppi_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12))); } @@ -2902,7 +2938,10 @@ void vFXbL_i_32(x64emu_t *emu, uintptr_t fcn) { vFXbL_i_t fn = (vFXbL_i_t)fcn; s void iFEpBp__32(x64emu_t *emu, uintptr_t fcn) { iFEpBp__t fn = (iFEpBp__t)fcn; struct_p_t arg_8={0}; R_EAX = fn(emu, from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFWubp__32(x64emu_t *emu, uintptr_t fcn) { iFWubp__t fn = (iFWubp__t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptri(uint16_t, R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFuubp__32(x64emu_t *emu, uintptr_t fcn) { iFuubp__t fn = (iFuubp__t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptri(uint32_t, R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void iFUpbp__32(x64emu_t *emu, uintptr_t fcn) { iFUpbp__t fn = (iFUpbp__t)fcn; struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptri(uint64_t, R_ESP + 4), from_ptriv(R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } +void iFLbp_p_32(x64emu_t *emu, uintptr_t fcn) { iFLbp_p_t fn = (iFLbp_p_t)fcn; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(from_ulong(from_ptri(ulong_t, R_ESP + 4)), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptriv(R_ESP + 12)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFpibl__32(x64emu_t *emu, uintptr_t fcn) { iFpibl__t fn = (iFpibl__t)fcn; struct_l_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_l(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_l(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void iFpibp__32(x64emu_t *emu, uintptr_t fcn) { iFpibp__t fn = (iFpibp__t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFpubp__32(x64emu_t *emu, uintptr_t fcn) { iFpubp__t fn = (iFpubp__t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFpubL__32(x64emu_t *emu, uintptr_t fcn) { iFpubL__t fn = (iFpubL__t)fcn; struct_L_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_L(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFplbl__32(x64emu_t *emu, uintptr_t fcn) { iFplbl__t fn = (iFplbl__t)fcn; struct_l_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_l(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_long(from_ptri(long_t, R_ESP + 8)), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_l(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } @@ -3158,11 +3197,14 @@ void iEipON_32(x64emu_t *emu, uintptr_t fcn) { iEipON_t fn = (iEipON_t)fcn; errn void iFuiup_32(x64emu_t *emu, uintptr_t fcn) { iFuiup_t fn = (iFuiup_t)fcn; R_EAX = fn(from_ptri(uint32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), from_ptriv(R_ESP + 16)); } void iFupLp_32(x64emu_t *emu, uintptr_t fcn) { iFupLp_t fn = (iFupLp_t)fcn; R_EAX = fn(from_ptri(uint32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ulong(from_ptri(ulong_t, R_ESP + 12)), from_ptriv(R_ESP + 16)); } void iFuppp_32(x64emu_t *emu, uintptr_t fcn) { iFuppp_t fn = (iFuppp_t)fcn; R_EAX = fn(from_ptri(uint32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); } +void iFUpLp_32(x64emu_t *emu, uintptr_t fcn) { iFUpLp_t fn = (iFUpLp_t)fcn; R_EAX = fn(from_ptri(uint64_t, R_ESP + 4), from_ptriv(R_ESP + 12), from_ulong(from_ptri(ulong_t, R_ESP + 16)), from_ptriv(R_ESP + 20)); } void iFpiii_32(x64emu_t *emu, uintptr_t fcn) { iFpiii_t fn = (iFpiii_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_ptri(int32_t, R_ESP + 16)); } void iFpiiL_32(x64emu_t *emu, uintptr_t fcn) { iFpiiL_t fn = (iFpiiL_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_ulong(from_ptri(ulong_t, R_ESP + 16))); } void iFpiip_32(x64emu_t *emu, uintptr_t fcn) { iFpiip_t fn = (iFpiip_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)); } +void iFpiII_32(x64emu_t *emu, uintptr_t fcn) { iFpiII_t fn = (iFpiII_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(int64_t, R_ESP + 12), from_ptri(int64_t, R_ESP + 20)); } void iFpiuu_32(x64emu_t *emu, uintptr_t fcn) { iFpiuu_t fn = (iFpiuu_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16)); } void iFpili_32(x64emu_t *emu, uintptr_t fcn) { iFpili_t fn = (iFpili_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_long(from_ptri(long_t, R_ESP + 12)), from_ptri(int32_t, R_ESP + 16)); } +void iFpipL_32(x64emu_t *emu, uintptr_t fcn) { iFpipL_t fn = (iFpipL_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ulong(from_ptri(ulong_t, R_ESP + 16))); } void iEpipp_32(x64emu_t *emu, uintptr_t fcn) { iEpipp_t fn = (iEpipp_t)fcn; errno = emu->libc_err; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); emu->libc_err = errno; } void iFpipp_32(x64emu_t *emu, uintptr_t fcn) { iFpipp_t fn = (iFpipp_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); } void iFpCCC_32(x64emu_t *emu, uintptr_t fcn) { iFpCCC_t fn = (iFpCCC_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint8_t, R_ESP + 8), from_ptri(uint8_t, R_ESP + 12), from_ptri(uint8_t, R_ESP + 16)); } @@ -3177,6 +3219,7 @@ void iFpupu_32(x64emu_t *emu, uintptr_t fcn) { iFpupu_t fn = (iFpupu_t)fcn; R_EA void iFpupL_32(x64emu_t *emu, uintptr_t fcn) { iFpupL_t fn = (iFpupL_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ulong(from_ptri(ulong_t, R_ESP + 16))); } void iFpupp_32(x64emu_t *emu, uintptr_t fcn) { iFpupp_t fn = (iFpupp_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); } void iFpLuu_32(x64emu_t *emu, uintptr_t fcn) { iFpLuu_t fn = (iFpLuu_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptri(uint32_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16)); } +void iFpLpp_32(x64emu_t *emu, uintptr_t fcn) { iFpLpp_t fn = (iFpLpp_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); } void iFppii_32(x64emu_t *emu, uintptr_t fcn) { iFppii_t fn = (iFppii_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)); } void iFppiU_32(x64emu_t *emu, uintptr_t fcn) { iFppiU_t fn = (iFppiU_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(uint64_t, R_ESP + 16)); } void iFppip_32(x64emu_t *emu, uintptr_t fcn) { iFppip_t fn = (iFppip_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptriv(R_ESP + 16)); } @@ -3297,6 +3340,7 @@ void vFuibp_i_32(x64emu_t *emu, uintptr_t fcn) { vFuibp_i_t fn = (vFuibp_i_t)fcn void vFuuuBp__32(x64emu_t *emu, uintptr_t fcn) { vFuuuBp__t fn = (vFuuuBp__t)fcn; struct_p_t arg_16={0}; fn(from_ptri(uint32_t, R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void vFbp_ppp_32(x64emu_t *emu, uintptr_t fcn) { vFbp_ppp_t fn = (vFbp_ppp_t)fcn; struct_p_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_p(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void vFXLLbL__32(x64emu_t *emu, uintptr_t fcn) { vFXLLbL__t fn = (vFXLLbL__t)fcn; struct_L_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_L(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); fn(getDisplay(from_ptriv(R_ESP + 4)), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ulong(from_ptri(ulong_t, R_ESP + 12)), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } +void iFEpbL_p_32(x64emu_t *emu, uintptr_t fcn) { iFEpbL_p_t fn = (iFEpbL_p_t)fcn; struct_L_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_L(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(emu, from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptriv(R_ESP + 12)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFpipbL__32(x64emu_t *emu, uintptr_t fcn) { iFpipbL__t fn = (iFpipbL__t)fcn; struct_L_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_L(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFpupbL__32(x64emu_t *emu, uintptr_t fcn) { iFpupbL__t fn = (iFpupbL__t)fcn; struct_L_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_L(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptriv(R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFpubp_u_32(x64emu_t *emu, uintptr_t fcn) { iFpubp_u_t fn = (iFpubp_u_t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptri(uint32_t, R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } @@ -3352,6 +3396,7 @@ void vFpbupu_uu_32(x64emu_t *emu, uintptr_t fcn) { vFpbupu_uu_t fn = (vFpbupu_uu void iFupbp_bp__32(x64emu_t *emu, uintptr_t fcn) { iFupbp_bp__t fn = (iFupbp_bp__t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptri(uint32_t, R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFppbL_bL__32(x64emu_t *emu, uintptr_t fcn) { iFppbL_bL__t fn = (iFppbL_bL__t)fcn; struct_L_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_L(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_L_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_L(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFppbp_bp__32(x64emu_t *emu, uintptr_t fcn) { iFppbp_bp__t fn = (iFppbp_bp__t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } +void iFppbp_bL__32(x64emu_t *emu, uintptr_t fcn) { iFppbp_bL__t fn = (iFppbp_bL__t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_L_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_L(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFpbupu_up_32(x64emu_t *emu, uintptr_t fcn) { iFpbupu_up_t fn = (iFpbupu_up_t)fcn; struct_upu_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_upu(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(uint32_t, R_ESP + 12), from_ptriv(R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_upu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFbp_urp_u_32(x64emu_t *emu, uintptr_t fcn) { iFbp_urp_u_t fn = (iFbp_urp_u_t)fcn; struct_p_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_p(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptri(uint32_t, R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void iFrpuu_Lui_32(x64emu_t *emu, uintptr_t fcn) { iFrpuu_Lui_t fn = (iFrpuu_Lui_t)fcn; struct_puu_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_puu(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptri(uint32_t, R_ESP + 12), from_ptri(int32_t, R_ESP + 16)); } @@ -3554,6 +3599,7 @@ void iFpupuu_32(x64emu_t *emu, uintptr_t fcn) { iFpupuu_t fn = (iFpupuu_t)fcn; R void iFpupLu_32(x64emu_t *emu, uintptr_t fcn) { iFpupLu_t fn = (iFpupLu_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ulong(from_ptri(ulong_t, R_ESP + 16)), from_ptri(uint32_t, R_ESP + 20)); } void iFpuppp_32(x64emu_t *emu, uintptr_t fcn) { iFpuppp_t fn = (iFpuppp_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20)); } void iFppiUi_32(x64emu_t *emu, uintptr_t fcn) { iFppiUi_t fn = (iFppiUi_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(uint64_t, R_ESP + 16), from_ptri(int32_t, R_ESP + 24)); } +void iFppipp_32(x64emu_t *emu, uintptr_t fcn) { iFppipp_t fn = (iFppipp_t)fcn; R_EAX = fn(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 iFppWup_32(x64emu_t *emu, uintptr_t fcn) { iFppWup_t fn = (iFppWup_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(uint16_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16), from_ptriv(R_ESP + 20)); } void iFppupu_32(x64emu_t *emu, uintptr_t fcn) { iFppupu_t fn = (iFppupu_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptri(uint32_t, R_ESP + 20)); } void iFppLpL_32(x64emu_t *emu, uintptr_t fcn) { iFppLpL_t fn = (iFppLpL_t)fcn; R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ulong(from_ptri(ulong_t, R_ESP + 12)), from_ptriv(R_ESP + 16), from_ulong(from_ptri(ulong_t, R_ESP + 20))); } @@ -3620,6 +3666,7 @@ void pFppipi_32(x64emu_t *emu, uintptr_t fcn) { pFppipi_t fn = (pFppipi_t)fcn; R void pFppuup_32(x64emu_t *emu, uintptr_t fcn) { pFppuup_t fn = (pFppuup_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16), from_ptriv(R_ESP + 20))); } void pFppupp_32(x64emu_t *emu, uintptr_t fcn) { pFppupp_t fn = (pFppupp_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20))); } void pFpppii_32(x64emu_t *emu, uintptr_t fcn) { pFpppii_t fn = (pFpppii_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptri(int32_t, R_ESP + 20))); } +void pFppppi_32(x64emu_t *emu, uintptr_t fcn) { pFppppi_t fn = (pFppppi_t)fcn; R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), from_ptri(int32_t, R_ESP + 20))); } void pFXLipp_32(x64emu_t *emu, uintptr_t fcn) { pFXLipp_t fn = (pFXLipp_t)fcn; R_EAX = to_ptrv(fn(getDisplay(from_ptriv(R_ESP + 4)), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptri(int32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20))); } void pFXpipi_32(x64emu_t *emu, uintptr_t fcn) { pFXpipi_t fn = (pFXpipi_t)fcn; R_EAX = to_ptrv(fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptri(int32_t, R_ESP + 20))); } void pFXppip_32(x64emu_t *emu, uintptr_t fcn) { pFXppip_t fn = (pFXppip_t)fcn; R_EAX = to_ptrv(fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptriv(R_ESP + 20))); } @@ -3634,6 +3681,7 @@ void iFppupbL__32(x64emu_t *emu, uintptr_t fcn) { iFppupbL__t fn = (iFppupbL__t) void iFppppbp__32(x64emu_t *emu, uintptr_t fcn) { iFppppbp__t fn = (iFppppbp__t)fcn; struct_p_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_p(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFppbL_pu_32(x64emu_t *emu, uintptr_t fcn) { iFppbL_pu_t fn = (iFppbL_pu_t)fcn; struct_L_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_L(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptriv(R_ESP + 16), from_ptri(uint32_t, R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFppbL_pL_32(x64emu_t *emu, uintptr_t fcn) { iFppbL_pL_t fn = (iFppbL_pL_t)fcn; struct_L_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_L(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptriv(R_ESP + 16), from_ulong(from_ptri(ulong_t, R_ESP + 20))); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void iFppbp_pp_32(x64emu_t *emu, uintptr_t fcn) { iFppbp_pp_t fn = (iFppbp_pp_t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFpbp_iii_32(x64emu_t *emu, uintptr_t fcn) { iFpbp_iii_t fn = (iFpbp_iii_t)fcn; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(int32_t, R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptri(int32_t, R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFpbp_ipi_32(x64emu_t *emu, uintptr_t fcn) { iFpbp_ipi_t fn = (iFpbp_ipi_t)fcn; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(int32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptri(int32_t, R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFpbp_uuu_32(x64emu_t *emu, uintptr_t fcn) { iFpbp_uuu_t fn = (iFpbp_uuu_t)fcn; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(uint32_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16), from_ptri(uint32_t, R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } @@ -3665,12 +3713,14 @@ void iFpbpu_upu_32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_upu_t fn = (iFpbpu_upu void iFpbpu_upp_32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_upp_t fn = (iFpbpu_upp_t)fcn; struct_pu_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pu(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(uint32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFpbpu_puu_32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_puu_t fn = (iFpbpu_puu_t)fcn; struct_pu_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pu(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptriv(R_ESP + 12), from_ptri(uint32_t, R_ESP + 16), from_ptri(uint32_t, R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFiiuBp_Bp__32(x64emu_t *emu, uintptr_t fcn) { iFiiuBp_Bp__t fn = (iFiiuBp_Bp__t)fcn; struct_p_t arg_16={0}; struct_p_t arg_20={0}; R_EAX = fn(from_ptri(int32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } +void iFppbp_bp_p_32(x64emu_t *emu, uintptr_t fcn) { iFppbp_bp_p_t fn = (iFppbp_bp_p_t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, from_ptriv(R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFbp_bp_pip_32(x64emu_t *emu, uintptr_t fcn) { iFbp_bp_pip_t fn = (iFbp_bp_pip_t)fcn; struct_p_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_p(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptriv(R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptriv(R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void vFbp_ppibup__32(x64emu_t *emu, uintptr_t fcn) { vFbp_ppibup__t fn = (vFbp_ppibup__t)fcn; struct_p_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_p(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_up_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_up(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptri(int32_t, R_ESP + 16), *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_up(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFEXbpLiL_pp_32(x64emu_t *emu, uintptr_t fcn) { iFEXbpLiL_pp_t fn = (iFEXbpLiL_pp_t)fcn; struct_pLiL_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pLiL(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = fn(emu, getDisplay(from_ptriv(R_ESP + 4)), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pLiL(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFpubp_bpu_u_32(x64emu_t *emu, uintptr_t fcn) { iFpubp_bpu_u_t fn = (iFpubp_bpu_u_t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_pu_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_pu(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, from_ptri(uint32_t, R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFpppbp_bup__32(x64emu_t *emu, uintptr_t fcn) { iFpppbp_bup__t fn = (iFpppbp_bup__t)fcn; struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_up_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_up(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_up(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFbp_pbpu_uu_32(x64emu_t *emu, uintptr_t fcn) { iFbp_pbpu_uu_t fn = (iFbp_pbpu_uu_t)fcn; struct_p_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_p(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_pu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptri(uint32_t, R_ESP + 16), from_ptri(uint32_t, R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void iFpibp_bp_bL__32(x64emu_t *emu, uintptr_t fcn) { iFpibp_bp_bL__t fn = (iFpibp_bp_bL__t)fcn; struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_L_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_L(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFpuubpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFpuubpu_bpu__t fn = (iFpuubpu_bpu__t)fcn; struct_pu_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_pu(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_pu_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_pu(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFpubpu_pbpu__32(x64emu_t *emu, uintptr_t fcn) { iFpubpu_pbpu__t fn = (iFpubpu_pbpu__t)fcn; struct_pu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_pu_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_pu(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptriv(R_ESP + 16), *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFppbpu_bpu_u_32(x64emu_t *emu, uintptr_t fcn) { iFppbpu_bpu_u_t fn = (iFppbpu_bpu_u_t)fcn; struct_pu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_pu_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_pu(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, from_ptri(uint32_t, R_ESP + 20)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } @@ -3681,6 +3731,7 @@ void iFXLiuriiiiiLi__32(x64emu_t *emu, uintptr_t fcn) { iFXLiuriiiiiLi__t fn = ( void LELbp_bL_bp_bL__32(x64emu_t *emu, uintptr_t fcn) { LELbp_bL_bp_bL__t fn = (LELbp_bL_bp_bL__t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_L_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_L(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_L_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_L(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = to_ulong(fn(from_ulong(from_ptri(ulong_t, R_ESP + 4)), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); emu->libc_err = errno; } void iFpubpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFpubpu_bpu_bpu__t fn = (iFpubpu_bpu_bpu__t)fcn; struct_pu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_pu_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_pu(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_pu_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_pu(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFppbpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFppbpu_bpu_bpu__t fn = (iFppbpu_bpu_bpu__t)fcn; struct_pu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_pu_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_pu(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_pu_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_pu(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } +void iFbp_bp_bL_bp_bL__32(x64emu_t *emu, uintptr_t fcn) { iFbp_bp_bL_bp_bL__t fn = (iFbp_bp_bL_bp_bL__t)fcn; struct_p_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_p(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_L_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_L(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_L_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_L(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void vFXLbLLLLLLLLLL_iL_32(x64emu_t *emu, uintptr_t fcn) { vFXLbLLLLLLLLLL_iL_t fn = (vFXLbLLLLLLLLLL_iL_t)fcn; struct_LLLLLLLLLL_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_LLLLLLLLLL(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); fn(getDisplay(from_ptriv(R_ESP + 4)), from_ulong(from_ptri(ulong_t, R_ESP + 8)), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptri(int32_t, R_ESP + 16), from_ulong(from_ptri(ulong_t, R_ESP + 20))); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_LLLLLLLLLL(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFXiiiBpLiiiLLLii__32(x64emu_t *emu, uintptr_t fcn) { iFXiiiBpLiiiLLLii__t fn = (iFXiiiBpLiiiLLLii__t)fcn; struct_pLiiiLLLii_t arg_20={0}; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(int32_t, R_ESP + 16), *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_pLiiiLLLii(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFpbpu_bpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_bpu_bpu_bpu__t fn = (iFpbpu_bpu_bpu_bpu__t)fcn; struct_pu_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pu(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_pu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_pu_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_pu(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_pu_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_pu(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } @@ -3872,6 +3923,7 @@ void iFbpu_puupbL__32(x64emu_t *emu, uintptr_t fcn) { iFbpu_puupbL__t fn = (iFbp void iFpppbp_bp_bL__32(x64emu_t *emu, uintptr_t fcn) { iFpppbp_bp_bL__t fn = (iFpppbp_bp_bL__t)fcn; struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); struct_p_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_p(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); struct_L_t arg_24={0}; if (*(ptr_t*)(from_ptr((R_ESP + 24)))) from_struct_L(&arg_24, *(ptr_t*)(from_ptr((R_ESP + 24)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL, *(ptr_t*)(from_ptr((R_ESP + 24))) ? &arg_24 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); if (*(ptr_t*)(from_ptr((R_ESP + 24)))) to_struct_L(*(ptr_t*)(from_ptr((R_ESP + 24))), &arg_24); } void iFpbpu_bpu_uuu_32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_bpu_uuu_t fn = (iFpbpu_bpu_uuu_t)fcn; struct_pu_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pu(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_pu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptri(uint32_t, R_ESP + 16), from_ptri(uint32_t, R_ESP + 20), from_ptri(uint32_t, R_ESP + 24)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFpbpu_bpu_upu_32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_bpu_upu_t fn = (iFpbpu_bpu_upu_t)fcn; struct_pu_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_pu(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_pu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptri(uint32_t, R_ESP + 16), from_ptriv(R_ESP + 20), from_ptri(uint32_t, R_ESP + 24)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void iFpbp_bp_bp_ii_32(x64emu_t *emu, uintptr_t fcn) { iFpbp_bp_bp_ii_t fn = (iFpbp_bp_bp_ii_t)fcn; struct_p_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_p(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_p_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_p(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_p_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_p(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL, from_ptri(int32_t, R_ESP + 20), from_ptri(int32_t, R_ESP + 24)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFrpuu_Lrpuu_Lui_32(x64emu_t *emu, uintptr_t fcn) { iFrpuu_Lrpuu_Lui_t fn = (iFrpuu_Lrpuu_Lui_t)fcn; struct_puu_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_puu(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_puu_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_puu(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ulong(from_ptri(ulong_t, R_ESP + 8)), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ulong(from_ptri(ulong_t, R_ESP + 16)), from_ptri(uint32_t, R_ESP + 20), from_ptri(int32_t, R_ESP + 24)); } void iFXbLip_uubLip_L_32(x64emu_t *emu, uintptr_t fcn) { iFXbLip_uubLip_L_t fn = (iFXbLip_uubLip_L_t)fcn; struct_Lip_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_Lip(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_Lip_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_Lip(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(uint32_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16), *(ptr_t*)(from_ptr((R_ESP + 20))) ? &arg_20 : NULL, from_ulong(from_ptri(ulong_t, R_ESP + 24))); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_Lip(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 20)))) to_struct_Lip(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void vFbp_bppup_ippbp__32(x64emu_t *emu, uintptr_t fcn) { vFbp_bppup_ippbp__t fn = (vFbp_bppup_ippbp__t)fcn; struct_p_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_p(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_ppup_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppup(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_p_t arg_24={0}; if (*(ptr_t*)(from_ptr((R_ESP + 24)))) from_struct_p(&arg_24, *(ptr_t*)(from_ptr((R_ESP + 24)))); fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(int32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20), *(ptr_t*)(from_ptr((R_ESP + 24))) ? &arg_24 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_ppup(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 24)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 24))), &arg_24); } diff --git a/src/wrapped32/generated/wrapper32.h b/src/wrapped32/generated/wrapper32.h index 025434bb..d5249296 100644 --- a/src/wrapped32/generated/wrapper32.h +++ b/src/wrapped32/generated/wrapper32.h @@ -85,6 +85,7 @@ void iEh_32(x64emu_t *emu, uintptr_t fnc); void iES_32(x64emu_t *emu, uintptr_t fnc); void iFX_32(x64emu_t *emu, uintptr_t fnc); void iFn_32(x64emu_t *emu, uintptr_t fnc); +void IFi_32(x64emu_t *emu, uintptr_t fnc); void IEf_32(x64emu_t *emu, uintptr_t fnc); void IEd_32(x64emu_t *emu, uintptr_t fnc); void IEp_32(x64emu_t *emu, uintptr_t fnc); @@ -151,6 +152,7 @@ void pFI_32(x64emu_t *emu, uintptr_t fnc); void pFW_32(x64emu_t *emu, uintptr_t fnc); void pFu_32(x64emu_t *emu, uintptr_t fnc); void pEu_32(x64emu_t *emu, uintptr_t fnc); +void pFU_32(x64emu_t *emu, uintptr_t fnc); void pEl_32(x64emu_t *emu, uintptr_t fnc); void pFl_32(x64emu_t *emu, uintptr_t fnc); void pEL_32(x64emu_t *emu, uintptr_t fnc); @@ -287,6 +289,7 @@ void iFpp_32(x64emu_t *emu, uintptr_t fnc); void iEpV_32(x64emu_t *emu, uintptr_t fnc); void iEpO_32(x64emu_t *emu, uintptr_t fnc); void iEpS_32(x64emu_t *emu, uintptr_t fnc); +void iFpS_32(x64emu_t *emu, uintptr_t fnc); void iEhi_32(x64emu_t *emu, uintptr_t fnc); void iEhp_32(x64emu_t *emu, uintptr_t fnc); void iEhh_32(x64emu_t *emu, uintptr_t fnc); @@ -358,6 +361,7 @@ void lFpL_32(x64emu_t *emu, uintptr_t fnc); void LEEL_32(x64emu_t *emu, uintptr_t fnc); void LFEp_32(x64emu_t *emu, uintptr_t fnc); void LFLi_32(x64emu_t *emu, uintptr_t fnc); +void LFpc_32(x64emu_t *emu, uintptr_t fnc); void LEpL_32(x64emu_t *emu, uintptr_t fnc); void LEpp_32(x64emu_t *emu, uintptr_t fnc); void LFXi_32(x64emu_t *emu, uintptr_t fnc); @@ -386,6 +390,7 @@ void pFLL_32(x64emu_t *emu, uintptr_t fnc); void pEpi_32(x64emu_t *emu, uintptr_t fnc); void pFpi_32(x64emu_t *emu, uintptr_t fnc); void pFpu_32(x64emu_t *emu, uintptr_t fnc); +void pFpU_32(x64emu_t *emu, uintptr_t fnc); void pEpL_32(x64emu_t *emu, uintptr_t fnc); void pFpL_32(x64emu_t *emu, uintptr_t fnc); void pEpp_32(x64emu_t *emu, uintptr_t fnc); @@ -426,6 +431,7 @@ void dEpBp__32(x64emu_t *emu, uintptr_t fnc); void lFpbp__32(x64emu_t *emu, uintptr_t fnc); void LFpbp__32(x64emu_t *emu, uintptr_t fnc); void LFpbL__32(x64emu_t *emu, uintptr_t fnc); +void pFpbp__32(x64emu_t *emu, uintptr_t fnc); void pErl_p_32(x64emu_t *emu, uintptr_t fnc); void vFibpp__32(x64emu_t *emu, uintptr_t fnc); void vFpbpu__32(x64emu_t *emu, uintptr_t fnc); @@ -445,6 +451,7 @@ void pFnbpi__32(x64emu_t *emu, uintptr_t fnc); void vFpbupi__32(x64emu_t *emu, uintptr_t fnc); void iESBliu__32(x64emu_t *emu, uintptr_t fnc); void iFbppi_i_32(x64emu_t *emu, uintptr_t fnc); +void iFbp_bp__32(x64emu_t *emu, uintptr_t fnc); void iFXbiip__32(x64emu_t *emu, uintptr_t fnc); void iErLL_BLL__32(x64emu_t *emu, uintptr_t fnc); void iFbpu_bpu__32(x64emu_t *emu, uintptr_t fnc); @@ -626,6 +633,7 @@ void iFppi_32(x64emu_t *emu, uintptr_t fnc); void iFppI_32(x64emu_t *emu, uintptr_t fnc); void iEppu_32(x64emu_t *emu, uintptr_t fnc); void iFppu_32(x64emu_t *emu, uintptr_t fnc); +void iFppU_32(x64emu_t *emu, uintptr_t fnc); void iFppd_32(x64emu_t *emu, uintptr_t fnc); void iEppL_32(x64emu_t *emu, uintptr_t fnc); void iFppL_32(x64emu_t *emu, uintptr_t fnc); @@ -633,6 +641,7 @@ void iEppp_32(x64emu_t *emu, uintptr_t fnc); void iFppp_32(x64emu_t *emu, uintptr_t fnc); void iEppa_32(x64emu_t *emu, uintptr_t fnc); void iEpOu_32(x64emu_t *emu, uintptr_t fnc); +void iFpSp_32(x64emu_t *emu, uintptr_t fnc); void iEhip_32(x64emu_t *emu, uintptr_t fnc); void iEhpL_32(x64emu_t *emu, uintptr_t fnc); void iEhpp_32(x64emu_t *emu, uintptr_t fnc); @@ -744,6 +753,7 @@ void pEpiS_32(x64emu_t *emu, uintptr_t fnc); void pEpII_32(x64emu_t *emu, uintptr_t fnc); void pFpuu_32(x64emu_t *emu, uintptr_t fnc); void pFpup_32(x64emu_t *emu, uintptr_t fnc); +void pFpUi_32(x64emu_t *emu, uintptr_t fnc); void pFpdd_32(x64emu_t *emu, uintptr_t fnc); void pEpLL_32(x64emu_t *emu, uintptr_t fnc); void pFppi_32(x64emu_t *emu, uintptr_t fnc); @@ -775,7 +785,10 @@ void vFXbL_i_32(x64emu_t *emu, uintptr_t fnc); void iFEpBp__32(x64emu_t *emu, uintptr_t fnc); void iFWubp__32(x64emu_t *emu, uintptr_t fnc); void iFuubp__32(x64emu_t *emu, uintptr_t fnc); +void iFUpbp__32(x64emu_t *emu, uintptr_t fnc); +void iFLbp_p_32(x64emu_t *emu, uintptr_t fnc); void iFpibl__32(x64emu_t *emu, uintptr_t fnc); +void iFpibp__32(x64emu_t *emu, uintptr_t fnc); void iFpubp__32(x64emu_t *emu, uintptr_t fnc); void iFpubL__32(x64emu_t *emu, uintptr_t fnc); void iFplbl__32(x64emu_t *emu, uintptr_t fnc); @@ -1031,11 +1044,14 @@ void iEipON_32(x64emu_t *emu, uintptr_t fnc); void iFuiup_32(x64emu_t *emu, uintptr_t fnc); void iFupLp_32(x64emu_t *emu, uintptr_t fnc); void iFuppp_32(x64emu_t *emu, uintptr_t fnc); +void iFUpLp_32(x64emu_t *emu, uintptr_t fnc); void iFpiii_32(x64emu_t *emu, uintptr_t fnc); void iFpiiL_32(x64emu_t *emu, uintptr_t fnc); void iFpiip_32(x64emu_t *emu, uintptr_t fnc); +void iFpiII_32(x64emu_t *emu, uintptr_t fnc); void iFpiuu_32(x64emu_t *emu, uintptr_t fnc); void iFpili_32(x64emu_t *emu, uintptr_t fnc); +void iFpipL_32(x64emu_t *emu, uintptr_t fnc); void iEpipp_32(x64emu_t *emu, uintptr_t fnc); void iFpipp_32(x64emu_t *emu, uintptr_t fnc); void iFpCCC_32(x64emu_t *emu, uintptr_t fnc); @@ -1050,6 +1066,7 @@ void iFpupu_32(x64emu_t *emu, uintptr_t fnc); void iFpupL_32(x64emu_t *emu, uintptr_t fnc); void iFpupp_32(x64emu_t *emu, uintptr_t fnc); void iFpLuu_32(x64emu_t *emu, uintptr_t fnc); +void iFpLpp_32(x64emu_t *emu, uintptr_t fnc); void iFppii_32(x64emu_t *emu, uintptr_t fnc); void iFppiU_32(x64emu_t *emu, uintptr_t fnc); void iFppip_32(x64emu_t *emu, uintptr_t fnc); @@ -1170,6 +1187,7 @@ void vFuibp_i_32(x64emu_t *emu, uintptr_t fnc); void vFuuuBp__32(x64emu_t *emu, uintptr_t fnc); void vFbp_ppp_32(x64emu_t *emu, uintptr_t fnc); void vFXLLbL__32(x64emu_t *emu, uintptr_t fnc); +void iFEpbL_p_32(x64emu_t *emu, uintptr_t fnc); void iFpipbL__32(x64emu_t *emu, uintptr_t fnc); void iFpupbL__32(x64emu_t *emu, uintptr_t fnc); void iFpubp_u_32(x64emu_t *emu, uintptr_t fnc); @@ -1225,6 +1243,7 @@ void vFpbupu_uu_32(x64emu_t *emu, uintptr_t fnc); void iFupbp_bp__32(x64emu_t *emu, uintptr_t fnc); void iFppbL_bL__32(x64emu_t *emu, uintptr_t fnc); void iFppbp_bp__32(x64emu_t *emu, uintptr_t fnc); +void iFppbp_bL__32(x64emu_t *emu, uintptr_t fnc); void iFpbupu_up_32(x64emu_t *emu, uintptr_t fnc); void iFbp_urp_u_32(x64emu_t *emu, uintptr_t fnc); void iFrpuu_Lui_32(x64emu_t *emu, uintptr_t fnc); @@ -1427,6 +1446,7 @@ void iFpupuu_32(x64emu_t *emu, uintptr_t fnc); void iFpupLu_32(x64emu_t *emu, uintptr_t fnc); void iFpuppp_32(x64emu_t *emu, uintptr_t fnc); void iFppiUi_32(x64emu_t *emu, uintptr_t fnc); +void iFppipp_32(x64emu_t *emu, uintptr_t fnc); void iFppWup_32(x64emu_t *emu, uintptr_t fnc); void iFppupu_32(x64emu_t *emu, uintptr_t fnc); void iFppLpL_32(x64emu_t *emu, uintptr_t fnc); @@ -1493,6 +1513,7 @@ void pFppipi_32(x64emu_t *emu, uintptr_t fnc); void pFppuup_32(x64emu_t *emu, uintptr_t fnc); void pFppupp_32(x64emu_t *emu, uintptr_t fnc); void pFpppii_32(x64emu_t *emu, uintptr_t fnc); +void pFppppi_32(x64emu_t *emu, uintptr_t fnc); void pFXLipp_32(x64emu_t *emu, uintptr_t fnc); void pFXpipi_32(x64emu_t *emu, uintptr_t fnc); void pFXppip_32(x64emu_t *emu, uintptr_t fnc); @@ -1507,6 +1528,7 @@ void iFppupbL__32(x64emu_t *emu, uintptr_t fnc); void iFppppbp__32(x64emu_t *emu, uintptr_t fnc); void iFppbL_pu_32(x64emu_t *emu, uintptr_t fnc); void iFppbL_pL_32(x64emu_t *emu, uintptr_t fnc); +void iFppbp_pp_32(x64emu_t *emu, uintptr_t fnc); void iFpbp_iii_32(x64emu_t *emu, uintptr_t fnc); void iFpbp_ipi_32(x64emu_t *emu, uintptr_t fnc); void iFpbp_uuu_32(x64emu_t *emu, uintptr_t fnc); @@ -1538,12 +1560,14 @@ void iFpbpu_upu_32(x64emu_t *emu, uintptr_t fnc); void iFpbpu_upp_32(x64emu_t *emu, uintptr_t fnc); void iFpbpu_puu_32(x64emu_t *emu, uintptr_t fnc); void iFiiuBp_Bp__32(x64emu_t *emu, uintptr_t fnc); +void iFppbp_bp_p_32(x64emu_t *emu, uintptr_t fnc); void iFbp_bp_pip_32(x64emu_t *emu, uintptr_t fnc); void vFbp_ppibup__32(x64emu_t *emu, uintptr_t fnc); void iFEXbpLiL_pp_32(x64emu_t *emu, uintptr_t fnc); void iFpubp_bpu_u_32(x64emu_t *emu, uintptr_t fnc); void iFpppbp_bup__32(x64emu_t *emu, uintptr_t fnc); void iFbp_pbpu_uu_32(x64emu_t *emu, uintptr_t fnc); +void iFpibp_bp_bL__32(x64emu_t *emu, uintptr_t fnc); void iFpuubpu_bpu__32(x64emu_t *emu, uintptr_t fnc); void iFpubpu_pbpu__32(x64emu_t *emu, uintptr_t fnc); void iFppbpu_bpu_u_32(x64emu_t *emu, uintptr_t fnc); @@ -1554,6 +1578,7 @@ void iFXLiuriiiiiLi__32(x64emu_t *emu, uintptr_t fnc); void LELbp_bL_bp_bL__32(x64emu_t *emu, uintptr_t fnc); void iFpubpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fnc); void iFppbpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fnc); +void iFbp_bp_bL_bp_bL__32(x64emu_t *emu, uintptr_t fnc); void vFXLbLLLLLLLLLL_iL_32(x64emu_t *emu, uintptr_t fnc); void iFXiiiBpLiiiLLLii__32(x64emu_t *emu, uintptr_t fnc); void iFpbpu_bpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fnc); @@ -1745,6 +1770,7 @@ void iFbpu_puupbL__32(x64emu_t *emu, uintptr_t fnc); void iFpppbp_bp_bL__32(x64emu_t *emu, uintptr_t fnc); void iFpbpu_bpu_uuu_32(x64emu_t *emu, uintptr_t fnc); void iFpbpu_bpu_upu_32(x64emu_t *emu, uintptr_t fnc); +void iFpbp_bp_bp_ii_32(x64emu_t *emu, uintptr_t fnc); void iFrpuu_Lrpuu_Lui_32(x64emu_t *emu, uintptr_t fnc); void iFXbLip_uubLip_L_32(x64emu_t *emu, uintptr_t fnc); void vFbp_bppup_ippbp__32(x64emu_t *emu, uintptr_t fnc); diff --git a/src/wrapped32/wrappedblkid.c b/src/wrapped32/wrappedblkid.c new file mode 100644 index 00000000..29b9f0af --- /dev/null +++ b/src/wrapped32/wrappedblkid.c @@ -0,0 +1,19 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "wrapper32.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" +#include "box32context.h" + +static const char* blkidName = "libblkid.so.1"; +#define LIBNAME blkid + +#include "wrappedlib_init32.h" + diff --git a/src/wrapped32/wrappedblkid_private.h b/src/wrapped32/wrappedblkid_private.h new file mode 100644 index 00000000..93584f9e --- /dev/null +++ b/src/wrapped32/wrappedblkid_private.h @@ -0,0 +1,115 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error Meh... +#endif + +GO(blkid_dev_devname, pFp) +GO(blkid_dev_has_tag, iFppp) +GO(blkid_dev_iterate_begin, pFp) +GO(blkid_dev_iterate_end, vFp) +GO(blkid_dev_next, iFpbp_) +GO(blkid_devno_to_devname, pFU) +GO(blkid_devno_to_wholedisk, iFUpLp) +GO(blkid_dev_set_search, iFppp) +GO(blkid_do_fullprobe, iFp) +GO(blkid_do_probe, iFp) +GO(blkid_do_safeprobe, iFp) +GO(blkid_do_wipe, iFpi) +GO(blkid_encode_string, iFppL) +GO(blkid_evaluate_spec, pFpbp_) +GO(blkid_evaluate_tag, pFppbp_) +GO(blkid_find_dev_with_tag, pFppp) +GO(blkid_free_probe, vFp) +GO(blkid_gc_cache, vFp) +GO(blkid_get_cache, iFbp_p) +GO(blkid_get_dev, pFppi) +GO(blkid_get_devname, pFppp) +GO(blkid_get_dev_size, IFi) +GO(blkid_get_library_version, iFbp_bp_) +GO(blkid_get_tag_value, pFppp) +GO(blkid_init_debug, vFi) +GO(blkid_known_fstype, iFp) +GO(blkid_known_pttype, iFp) +GO(blkid_new_probe, pFv) +GO(blkid_new_probe_from_filename, pFp) +GO(blkid_parse_tag_string, iFpbp_bp_) +GO(blkid_parse_version_string, iFp) +GO(blkid_partition_get_flags, UFp) +GO(blkid_partition_get_name, pFp) +GO(blkid_partition_get_partno, iFp) +GO(blkid_partition_get_size, IFp) +GO(blkid_partition_get_start, IFp) +GO(blkid_partition_get_table, pFp) +GO(blkid_partition_get_type, iFp) +GO(blkid_partition_get_type_string, pFp) +GO(blkid_partition_get_uuid, pFp) +GO(blkid_partition_is_extended, iFp) +GO(blkid_partition_is_logical, iFp) +GO(blkid_partition_is_primary, iFp) +GO(blkid_partitions_get_name, iFLbp_) +GO(blkid_partlist_devno_to_partition, pFpU) +GO(blkid_partlist_get_partition, pFpi) +GO(blkid_partlist_get_partition_by_partno, pFpi) +GO(blkid_partlist_get_table, pFp) +GO(blkid_partlist_numof_partitions, iFp) +GO(blkid_parttable_get_id, pFp) +GO(blkid_parttable_get_offset, IFp) +GO(blkid_parttable_get_parent, pFp) +GO(blkid_parttable_get_type, pFp) +GO(blkid_probe_all, iFp) +GO(blkid_probe_all_new, iFp) +GO(blkid_probe_all_removable, iFp) +GO(blkid_probe_enable_partitions, iFpi) +GO(blkid_probe_enable_superblocks, iFpi) +GO(blkid_probe_enable_topology, iFpi) +GO(blkid_probe_filter_partitions_type, iFpibp_) +GO(blkid_probe_filter_superblocks_type, iFpibp_) +GO(blkid_probe_filter_superblocks_usage, iFpii) +GO(blkid_probe_filter_types, iFpibp_) +GO(blkid_probe_filter_usage, iFpii) +GO(blkid_probe_get_devno, UFp) +GO(blkid_probe_get_fd, iFp) +GO(blkid_probe_get_offset, IFp) +GO(blkid_probe_get_partitions, pFp) +GO(blkid_probe_get_sectors, IFp) +GO(blkid_probe_get_sectorsize, uFp) +GO(blkid_probe_get_size, IFp) +GO(blkid_probe_get_topology, pFp) +GO(blkid_probe_get_value, iFpibp_bp_bL_) +GO(blkid_probe_get_wholedisk_devno, UFp) +GO(blkid_probe_has_value, iFpp) +GO(blkid_probe_hide_range, iFpUU) +GO(blkid_probe_invert_filter, iFp) +GO(blkid_probe_invert_partitions_filter, iFp) +GO(blkid_probe_invert_superblocks_filter, iFp) +GO(blkid_probe_is_wholedisk, iFp) +GO(blkid_probe_lookup_value, iFppbp_bL_) +GO(blkid_probe_numof_values, iFp) +GO(blkid_probe_reset_buffers, iFp) +GO(blkid_probe_reset_filter, iFp) +GO(blkid_probe_reset_hints, vFp) +GO(blkid_probe_reset_partitions_filter, iFp) +GO(blkid_probe_reset_superblocks_filter, iFp) +GO(blkid_probe_set_device, iFpiII) +GO(blkid_probe_set_hint, iFppU) +GO(blkid_probe_set_partitions_flags, iFpi) +GO(blkid_probe_set_request, iFpi) +GO(blkid_probe_set_sectorsize, iFpu) +GO(blkid_probe_set_superblocks_flags, iFpi) +GO(blkid_probe_step_back, iFp) +GO(blkid_put_cache, vFp) +GO(blkid_reset_probe, vFp) +GO(blkid_safe_string, iFppL) +GO(blkid_send_uevent, iFpp) +GO(blkid_superblocks_get_name, iFLbp_p) +GO(blkid_tag_iterate_begin, pFp) +GO(blkid_tag_iterate_end, vFp) +GO(blkid_tag_next, iFpbp_bp_) +GO(blkid_topology_get_alignment_offset, LFp) +GO(blkid_topology_get_dax, LFp) +GO(blkid_topology_get_diskseq, UFp) +GO(blkid_topology_get_logical_sector_size, LFp) +GO(blkid_topology_get_minimum_io_size, LFp) +GO(blkid_topology_get_optimal_io_size, LFp) +GO(blkid_topology_get_physical_sector_size, LFp) +GO(blkid_verify, pFpp) +GO(blkid_wipe_all, iFp) diff --git a/src/wrapped32/wrappedgbm.c b/src/wrapped32/wrappedgbm.c index f9e2fe6b..9c0e0c44 100644 --- a/src/wrapped32/wrappedgbm.c +++ b/src/wrapped32/wrappedgbm.c @@ -21,7 +21,14 @@ static const char* gbmName = "libgbm.so.1"; #define LIBNAME gbm +typedef union my_gbm_bo_handle_s { + uint64_t data; +} my_gbm_bo_handle_t; + +typedef my_gbm_bo_handle_t (*zFpp_t)(void*, void*); + #define ADDED_FUNCTIONS() \ +GO(gbm_bo_get_handle, zFpp_t) \ #include "generated/wrappedgbmtypes32.h" @@ -66,4 +73,10 @@ EXPORT void my32_gbm_bo_set_user_data(x64emu_t* emu, void* bo, void* data, void my->gbm_bo_set_user_data(bo, data, find_destroy_user_data_Fct(f)); } +EXPORT void* my32_gbm_bo_get_handle(x64emu_t* emu, my_gbm_bo_handle_t* ret, void* a, void* b) +{ + *ret = my->gbm_bo_get_handle(a, b); + return ret; +} + #include "wrappedlib_init32.h" diff --git a/src/wrapped32/wrappedgbm_private.h b/src/wrapped32/wrappedgbm_private.h index 2ab093c9..8f25336e 100644 --- a/src/wrapped32/wrappedgbm_private.h +++ b/src/wrapped32/wrappedgbm_private.h @@ -2,6 +2,8 @@ #error Meh... #endif +//%S z my_gbm_bo_handle_t U + GO(gbm_bo_create, pFpuuuu) GO(gbm_bo_create_with_modifiers, pFpuuupu) GO(gbm_bo_create_with_modifiers2, pFpuuupuu) @@ -11,7 +13,7 @@ GO(gbm_bo_get_device, pFp) GO(gbm_bo_get_fd, iFp) GO(gbm_bo_get_fd_for_plane, iFpi) GO(gbm_bo_get_format, uFp) -//GOS(gbm_bo_get_handle, pFpp) +GOS(gbm_bo_get_handle, zFEpp) //%% //GOS(gbm_bo_get_handle_for_plane, pFppi) GO(gbm_bo_get_height, uFp) GO(gbm_bo_get_modifier, UFp) diff --git a/src/wrapped32/wrappedmount.c b/src/wrapped32/wrappedmount.c new file mode 100644 index 00000000..543e5604 --- /dev/null +++ b/src/wrapped32/wrappedmount.c @@ -0,0 +1,115 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "debug.h" +#include "wrapper32.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" +#include "emu/x64emu_private.h" +#include "callback.h" +#include "librarian.h" +#include "box32context.h" +#include "emu/x64emu_private.h" +#include "converter32.h" + +static const char* mountName = "libmount.so.1"; +#define LIBNAME mount + +#include "generated/wrappedmounttypes32.h" + +#include "wrappercallback32.h" + +typedef struct my_libmnt_optmap_s +{ + /*const*/ char *name; + int id; + int mask; +} my_libmnt_optmap_t; +typedef struct my_libmnt_optmap_32_s +{ + ptr_t name; //const char * + int id; + int mask; +} my_libmnt_optmap_32_t; + +void convert_libmnt_optmap_32(void* d, void* s) +{ + if(!s || !d) return; + my_libmnt_optmap_t* src = s; + my_libmnt_optmap_32_t* dst = d; + dst->name = to_ptrv(src->name); + dst->id = src->id; + dst->mask = src->mask; +} +void convert_libmnt_optmap_64(void* d, void* s) +{ + if(!s || !d) return; + my_libmnt_optmap_32_t* src = s; + my_libmnt_optmap_t* dst = d; + dst->mask = src->mask; + dst->id = src->id; + dst->name = from_ptrv(src->name); +} + +#define N 4 +static my_libmnt_optmap_t* optmap_64[N] = {0}; +static my_libmnt_optmap_32_t optmap_32[N] = {0}; +my_libmnt_optmap_32_t* shrink_libmnt_optmap(void* a) +{ + if(!a) return NULL; + for(int i; i<N; ++i) { + if(optmap_64[i]==a) + return &optmap_32[i]; + } + // look for free slot + for(int i; i<N; ++i) + if(!optmap_64[i]) { + optmap_64[i] = a; + convert_libmnt_optmap_32(&optmap_32[i], a); + return &optmap_32[i]; + } + // no more slot... use a local static and print a warning + static int warned = 0; + if(!warned) { + printf_log(LOG_INFO, "Warning: no more slot for libmnt_optmap\n"); + warned = 1; + } + static my_libmnt_optmap_32_t ret = {0}; + convert_libmnt_optmap_32(&ret, a); + return &ret; +} +my_libmnt_optmap_t* enlarge_libmnt_optmap(void* a) +{ + if(!a) return NULL; + for(int i; i<N; ++i) { + if(&optmap_32[i]==a) + return optmap_64[i]; + } + static int warned = 0; + if(!warned) { + printf_log(LOG_INFO, "Warning: 32bit version of libmnt_optmap not found\n"); + warned = 1; + } + static my_libmnt_optmap_t ret = {0}; + convert_libmnt_optmap_64(&ret, a); + return &ret; +} + +EXPORT void* my32_mnt_get_builtin_optmap(x64emu_t* emu, int a) +{ + return shrink_libmnt_optmap(my->mnt_get_builtin_optmap(a)); +} + +EXPORT int my32_mnt_optstr_get_flags(x64emu_t* emu, void* optstr, void* flag, void* map) +{ + return my->mnt_optstr_get_flags(optstr, flag, enlarge_libmnt_optmap(map)); +} + +#include "wrappedlib_init32.h" + diff --git a/src/wrapped32/wrappedmount_private.h b/src/wrapped32/wrappedmount_private.h new file mode 100644 index 00000000..98992a3b --- /dev/null +++ b/src/wrapped32/wrappedmount_private.h @@ -0,0 +1,334 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error Meh... +#endif + +GO(mnt_cache_device_has_tag, iFpppp) +GO(mnt_cache_find_tag_value, pFppp) +GO(mnt_cache_read_tags, iFpp) +GO(mnt_cache_set_sbprobe, iFpi) +GO(mnt_cache_set_targets, iFpp) +GO(mnt_context_append_options, iFpp) +GO(mnt_context_apply_fstab, iFp) +GO(mnt_context_disable_canonicalize, iFpi) +GO(mnt_context_disable_helpers, iFpi) +GO(mnt_context_disable_mtab, iFpi) +GO(mnt_context_disable_swapmatch, iFpi) +GO(mnt_context_do_mount, iFp) +GO(mnt_context_do_umount, iFp) +GO(mnt_context_enable_fake, iFpi) +GO(mnt_context_enable_force, iFpi) +GO(mnt_context_enable_fork, iFpi) +GO(mnt_context_enable_lazy, iFpi) +GO(mnt_context_enable_loopdel, iFpi) +GO(mnt_context_enable_noautofs, iFpi) +GO(mnt_context_enable_onlyonce, iFpi) +GO(mnt_context_enable_rdonly_umount, iFpi) +GO(mnt_context_enable_rwonly_mount, iFpi) +GO(mnt_context_enable_sloppy, iFpi) +GO(mnt_context_enable_verbose, iFpi) +GO(mnt_context_finalize_mount, iFp) +GO(mnt_context_finalize_umount, iFp) +GO(mnt_context_find_umount_fs, iFppbp_) +GO(mnt_context_forced_rdonly, iFp) +GO(mnt_context_force_unrestricted, iFp) +GO(mnt_context_get_cache, pFp) +GO(mnt_context_get_excode, iFpipL) +GO(mnt_context_get_fs, pFp) +GO(mnt_context_get_fstab, iFpbp_) +GO(mnt_context_get_fstab_userdata, pFp) +GO(mnt_context_get_fstype, pFp) +GO(mnt_context_get_fs_userdata, pFp) +GO(mnt_context_get_helper_status, iFp) +GO(mnt_context_get_lock, pFp) +//GOM(mnt_context_get_mesgs, pFEp) +GO(mnt_context_get_mflags, iFpbL_) +GO(mnt_context_get_mtab, iFpbp_) +GO(mnt_context_get_mtab_userdata, pFp) +GO(mnt_context_get_nmesgs, LFpc) +GO(mnt_context_get_options, pFp) +GO(mnt_context_get_optsmode, iFp) +GO(mnt_context_get_origin_ns, pFp) +GO(mnt_context_get_source, pFp) +GO(mnt_context_get_status, iFp) +GO(mnt_context_get_syscall_errno, iFp) +GO(mnt_context_get_table, iFppbp_) +GO(mnt_context_get_target, pFp) +GO(mnt_context_get_target_ns, pFp) +GO(mnt_context_get_target_prefix, pFp) +GO(mnt_context_get_user_mflags, iFpbL_) +GO(mnt_context_helper_executed, iFp) +GO(mnt_context_helper_setopt, iFpip) +GO(mnt_context_init_helper, iFpii) +GO(mnt_context_is_child, iFp) +GO(mnt_context_is_fake, iFp) +GO(mnt_context_is_force, iFp) +GO(mnt_context_is_fork, iFp) +GO(mnt_context_is_fs_mounted, iFppp) +GO(mnt_context_is_lazy, iFp) +GO(mnt_context_is_loopdel, iFp) +GO(mnt_context_is_nocanonicalize, iFp) +GO(mnt_context_is_nohelpers, iFp) +GO(mnt_context_is_nomtab, iFp) +GO(mnt_context_is_onlyonce, iFp) +GO(mnt_context_is_parent, iFp) +GO(mnt_context_is_rdonly_umount, iFp) +GO(mnt_context_is_restricted, iFp) +GO(mnt_context_is_rwonly_mount, iFp) +GO(mnt_context_is_sloppy, iFp) +GO(mnt_context_is_swapmatch, iFp) +GO(mnt_context_is_verbose, iFp) +GO(mnt_context_mount, iFp) +GO(mnt_context_next_mount, iFppbp_pp) +GO(mnt_context_next_remount, iFppbp_pp) +GO(mnt_context_next_umount, iFppbp_pp) +GO(mnt_context_prepare_mount, iFp) +GO(mnt_context_prepare_umount, iFp) +GO(mnt_context_reset_status, iFp) +GO(mnt_context_set_cache, iFpp) +GO(mnt_context_set_fs, iFpp) +GO(mnt_context_set_fstab, iFpp) +GO(mnt_context_set_fstype, iFpp) +GO(mnt_context_set_fstype_pattern, iFpp) +GO(mnt_context_set_mflags, iFpL) +GO(mnt_context_set_mountdata, iFpp) +GO(mnt_context_set_options, iFpp) +GO(mnt_context_set_options_pattern, iFpp) +GO(mnt_context_set_optsmode, iFpi) +//GOM(mnt_context_set_passwd_cb, iFEppp) +GO(mnt_context_set_source, iFpp) +GO(mnt_context_set_syscall_status, iFpi) +//GOM(mnt_context_set_tables_errcb, iFEpp) +GO(mnt_context_set_target, iFpp) +GO(mnt_context_set_target_ns, iFpp) +GO(mnt_context_set_target_prefix, iFpp) +GO(mnt_context_set_user_mflags, iFpL) +GO(mnt_context_strerror, iFppL) +GO(mnt_context_switch_ns, pFpp) +GO(mnt_context_switch_origin_ns, pFp) +GO(mnt_context_switch_target_ns, pFp) +GO(mnt_context_syscall_called, iFp) +GO(mnt_context_tab_applied, iFp) +GO(mnt_context_umount, iFp) +GO(mnt_context_wait_for_children, iFppp) +GO(mnt_copy_fs, pFpp) +GO(mnt_diff_tables, iFppp) +GO(mnt_free_cache, vFp) +GO(mnt_free_context, vFp) +GO(mnt_free_fs, vFp) +GO(mnt_free_iter, vFp) +GO(mnt_free_lock, vFp) +//GO(mnt_free_mntent, vFbppppii_) +GO(mnt_free_tabdiff, vFp) +GO(mnt_free_table, vFp) +GO(mnt_free_update, vFp) +GO(mnt_fs_append_attributes, iFpp) +GO(mnt_fs_append_comment, iFpp) +GO(mnt_fs_append_options, iFpp) +GO(mnt_fs_fetch_statmount, iFpU) +GO(mnt_fs_get_attribute, iFppbp_bL_) +GO(mnt_fs_get_attributes, pFp) +GO(mnt_fs_get_bindsrc, pFp) +GO(mnt_fs_get_comment, pFp) +GO(mnt_fs_get_devno, UFp) +GO(mnt_fs_get_freq, iFp) +GO(mnt_fs_get_fs_options, pFp) +GO(mnt_fs_get_fstype, pFp) +GO(mnt_fs_get_id, iFp) +GO(mnt_fs_get_ns, UFp) +GO(mnt_fs_get_option, iFppbp_bL_) +GO(mnt_fs_get_optional_fields, pFp) +GO(mnt_fs_get_options, pFp) +GO(mnt_fs_get_parent_id, iFp) +GO(mnt_fs_get_parent_uniq_id, UFp) +GO(mnt_fs_get_passno, iFp) +GO(mnt_fs_get_priority, iFp) +GO(mnt_fs_get_propagation, iFpbL_) +GO(mnt_fs_get_root, pFp) +GO(mnt_fs_get_size, IFp) +GO(mnt_fs_get_source, pFp) +GO(mnt_fs_get_srcpath, pFp) +GO(mnt_fs_get_statmnt, pFp) +GO(mnt_fs_get_swaptype, pFp) +GO(mnt_fs_get_table, iFpbp_) +GO(mnt_fs_get_tag, iFpbp_bp_) +GO(mnt_fs_get_target, pFp) +GO(mnt_fs_get_tid, iFp) +GO(mnt_fs_get_uniq_id, UFp) +GO(mnt_fs_get_usedsize, IFp) +GO(mnt_fs_get_userdata, pFp) +GO(mnt_fs_get_user_options, pFp) +GO(mnt_fs_get_vfs_options, pFp) +GO(mnt_fs_get_vfs_options_all, pFp) +GO(mnt_fs_is_kernel, iFp) +GO(mnt_fs_is_netfs, iFp) +GO(mnt_fs_is_pseudofs, iFp) +GO(mnt_fs_is_regularfs, iFp) +GO(mnt_fs_is_swaparea, iFp) +GO(mnt_fs_match_fstype, iFpp) +GO(mnt_fs_match_options, iFpp) +GO(mnt_fs_match_source, iFppp) +GO(mnt_fs_match_target, iFppp) +GO(mnt_fs_prepend_attributes, iFpp) +GO(mnt_fs_prepend_options, iFpp) +GO(mnt_fs_print_debug, iFpS) +GO(mnt_fs_refer_statmnt, iFpp) +GO(mnt_fs_set_attributes, iFpp) +GO(mnt_fs_set_bindsrc, iFpp) +GO(mnt_fs_set_comment, iFpp) +GO(mnt_fs_set_freq, iFpi) +GO(mnt_fs_set_fstype, iFpp) +GO(mnt_fs_set_ns, iFpU) +GO(mnt_fs_set_options, iFpp) +GO(mnt_fs_set_passno, iFpi) +GO(mnt_fs_set_priority, iFpi) +GO(mnt_fs_set_root, iFpp) +GO(mnt_fs_set_source, iFpp) +GO(mnt_fs_set_target, iFpp) +GO(mnt_fs_set_uniq_id, iFpU) +GO(mnt_fs_set_userdata, iFpp) +GO(mnt_fs_strdup_options, pFp) +GO(mnt_fs_streq_srcpath, iFpp) +GO(mnt_fs_streq_target, iFpp) +//GOM(mnt_fs_to_mntent, iFEpbp_) +GO(mnt_fstype_is_netfs, iFp) +GO(mnt_fstype_is_pseudofs, iFp) +GOM(mnt_get_builtin_optmap, pFEi) +GO(mnt_get_fstab_path, pFv) +GO(mnt_get_fstype, pFppp) +//GOM(mnt_get_library_features, iFEbp_) +GO(mnt_get_library_version, iFbp_) +GO(mnt_get_mountpoint, pFp) +GO(mnt_get_mtab_path, pFv) +GO(mnt_get_swaps_path, pFv) +GO(mnt_guess_system_root, iFUpbp_) +GO(mnt_has_regular_mtab, iFbp_p) +GO(mnt_id_from_path, iFppp) +GO(mnt_init_debug, vFi) +GO(mnt_iter_get_direction, iFp) +GO(mnt_lock_block_signals, iFpi) +GO(mnt_lock_file, iFp) +GO(mnt_mangle, pFp) +GO(mnt_match_fstype, iFpp) +GO(mnt_match_options, iFpp) +GO(mnt_monitor_close_fd, iFp) +GO(mnt_monitor_enable_kernel, iFpi) +GO(mnt_monitor_enable_userspace, iFpip) +GO(mnt_monitor_event_cleanup, iFp) +GO(mnt_monitor_get_fd, iFp) +GO(mnt_monitor_next_change, iFpbp_p) +GO(mnt_monitor_veil_kernel, iFpi) +GO(mnt_monitor_wait, iFpi) +GO(mnt_new_cache, pFv) +GO(mnt_new_context, pFv) +GO(mnt_new_fs, pFv) +GO(mnt_new_iter, pFi) +GO(mnt_new_lock, pFpi) +GO(mnt_new_monitor, pFv) +GO(mnt_new_statmnt, pFv) +GO(mnt_new_tabdiff, pFv) +GO(mnt_new_table, pFv) +GO(mnt_new_table_from_dir, pFp) +GO(mnt_new_table_from_file, pFp) +GO(mnt_new_update, pFv) +GO(mnt_optstr_append_option, iFbp_pp) +//GO(mnt_optstr_apply_flags, iFbp_Lbpii_) +GO(mnt_optstr_deduplicate_option, iFbp_p) +GOM(mnt_optstr_get_flags, iFEpbL_p) +GO(mnt_optstr_get_option, iFppbp_bL_) +//GO(mnt_optstr_get_options, iFpbp_bpii_i) +GO(mnt_optstr_next_option, iFbp_bp_bL_bp_bL_) +GO(mnt_optstr_prepend_option, iFbp_pp) +GO(mnt_optstr_remove_option, iFbp_p) +GO(mnt_optstr_set_option, iFbp_pp) +GO(mnt_parse_version_string, iFp) +GO(mnt_pretty_path, pFpp) +GO(mnt_ref_cache, vFp) +GO(mnt_ref_fs, vFp) +GO(mnt_ref_lock, vFp) +GO(mnt_ref_monitor, vFp) +GO(mnt_ref_statmnt, vFp) +GO(mnt_ref_table, vFp) +GO(mnt_reset_context, iFp) +GO(mnt_reset_fs, vFp) +GO(mnt_reset_iter, vFpi) +GO(mnt_reset_table, iFp) +GO(mnt_resolve_path, pFpp) +GO(mnt_resolve_spec, pFpp) +GO(mnt_resolve_tag, pFppp) +GO(mnt_resolve_target, pFpp) +GO(mnt_split_optstr, iFpbp_bp_bp_ii) +GO(mnt_statmnt_disable_fetching, iFpi) +GO(mnt_statmnt_set_mask, iFpU) +GO(mnt_tabdiff_next_change, iFppbp_bp_p) +GO(mnt_table_add_fs, iFpp) +GO(mnt_table_append_intro_comment, iFpp) +GO(mnt_table_append_trailing_comment, iFpp) +GO(mnt_table_enable_comments, vFpi) +GO(mnt_table_enable_listmount, iFpi) +//GO(mnt_table_enable_noautofs, +GO(mnt_table_fetch_listmount, iFp) +GO(mnt_table_find_devno, pFpUi) +GO(mnt_table_find_fs, iFpp) +GO(mnt_table_find_id, pFpi) +GO(mnt_table_find_mountpoint, pFppi) +//GOM(mnt_table_find_next_fs, iFEppppbp_) +GO(mnt_table_find_pair, pFpppi) +GO(mnt_table_find_source, pFppi) +GO(mnt_table_find_srcpath, pFppi) +GO(mnt_table_find_tag, pFpppi) +GO(mnt_table_find_target, pFppi) +GO(mnt_table_find_target_with_option, pFppppi) +GO(mnt_table_find_uniq_id, pFpU) +GO(mnt_table_first_fs, iFpbp_) +GO(mnt_table_get_cache, pFp) +GO(mnt_table_get_intro_comment, pFp) +GO(mnt_table_get_nents, iFp) +GO(mnt_table_get_root_fs, iFpbp_) +GO(mnt_table_get_trailing_comment, pFp) +GO(mnt_table_get_userdata, pFp) +GO(mnt_table_insert_fs, iFpipp) +GO(mnt_table_is_empty, iFp) +GO(mnt_table_is_fs_mounted, iFpp) +//GO(mnt_table_is_noautofs, +GO(mnt_table_last_fs, iFpbp_) +GO(mnt_table_listmount_set_id, iFpU) +GO(mnt_table_listmount_set_ns, iFpU) +GO(mnt_table_listmount_set_stepsiz, iFpL) +GO(mnt_table_move_fs, iFppipp) +GO(mnt_table_next_child_fs, iFpppbp_) +GO(mnt_table_next_fs, iFppbp_) +GO(mnt_table_over_fs, iFppbp_) +GO(mnt_table_parse_dir, iFpp) +GO(mnt_table_parse_file, iFpp) +GO(mnt_table_parse_fstab, iFpp) +GO(mnt_table_parse_mtab, iFpp) +GO(mnt_table_parse_stream, iFpSp) +GO(mnt_table_parse_swaps, iFpp) +GO(mnt_table_refer_statmnt, iFpp) +GO(mnt_table_remove_fs, iFpp) +GO(mnt_table_replace_file, iFpp) +GO(mnt_table_set_cache, iFpp) +GO(mnt_table_set_intro_comment, iFpp) +GO(mnt_table_set_iter, iFppp) +//GOM(mnt_table_set_parser_errcb, iFEpp) +GO(mnt_table_set_trailing_comment, iFpp) +GO(mnt_table_set_userdata, iFpp) +//GOM(mnt_table_uniq_fs, iFEpip) +GO(mnt_table_with_comments, iFp) +GO(mnt_table_write_file, iFpS) +GO(mnt_tag_is_valid, iFp) +GO(mnt_unlock_file, vFp) +GO(mnt_unmangle, pFp) +GO(mnt_unref_cache, vFp) +GO(mnt_unref_fs, vFp) +GO(mnt_unref_lock, vFp) +GO(mnt_unref_monitor, vFp) +GO(mnt_unref_statmnt, vFp) +GO(mnt_unref_table, vFp) +GO(mnt_update_force_rdonly, iFpi) +GO(mnt_update_get_filename, pFp) +GO(mnt_update_get_fs, pFp) +GO(mnt_update_get_mflags, LFp) +GO(mnt_update_is_ready, iFp) +GO(mnt_update_set_fs, iFpLpp) +GO(mnt_update_table, iFpp) |