diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-05-19 15:12:41 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-05-19 15:12:41 +0200 |
| commit | a1c29448a379c1ab928dc8ce8742fb16ba6abbb5 (patch) | |
| tree | de5f5844c43d92ec9fa998003da3f84689d04eb7 /src | |
| parent | 16bdcc0c93939df3d242253bde28c2b58840a7be (diff) | |
| download | box64-a1c29448a379c1ab928dc8ce8742fb16ba6abbb5.tar.gz box64-a1c29448a379c1ab928dc8ce8742fb16ba6abbb5.zip | |
[BOX32][WRAPPER] Added 32bits wrapping for libdbus-1
Diffstat (limited to 'src')
| -rw-r--r-- | src/library_list_32.h | 2 | ||||
| -rw-r--r-- | src/wrapped32/generated/converter32.c | 78 | ||||
| -rw-r--r-- | src/wrapped32/generated/converter32.h | 45 | ||||
| -rw-r--r-- | src/wrapped32/generated/functions_list.txt | 70 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappeddbusdefs32.h | 8 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappeddbustypes32.h | 41 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappeddbusundefs32.h | 8 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrapper32.c | 90 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrapper32.h | 45 | ||||
| -rw-r--r-- | src/wrapped32/wrappeddbus.c | 653 | ||||
| -rw-r--r-- | src/wrapped32/wrappeddbus_private.h | 234 |
11 files changed, 1272 insertions, 2 deletions
diff --git a/src/library_list_32.h b/src/library_list_32.h index cf00f2ef..d299e8ae 100644 --- a/src/library_list_32.h +++ b/src/library_list_32.h @@ -82,6 +82,7 @@ GO("libgnutls.so.30", gnutls) GO("libopenal.so.1", openal) GO("libopenal.so.0", openal) GO("libopenal.so", openal) +GO("libopenal-soft.so.1", openal) GO("openal.so", openal) GO("libexpat.so.1", expat) @@ -103,6 +104,7 @@ GO("libcups.so.2", libcups) GO("libcups.so", libcups) GO("libgbm.so.1", gbm) GO("libgbm.so", gbm) +GO("libdbus-1.so.3", dbus) //GO("crashhandler.so", crashhandler) GO("libtcmalloc_minimal.so.0", tcmallocminimal) diff --git a/src/wrapped32/generated/converter32.c b/src/wrapped32/generated/converter32.c index 2631af12..e2b66567 100644 --- a/src/wrapped32/generated/converter32.c +++ b/src/wrapped32/generated/converter32.c @@ -1000,3 +1000,81 @@ void to_struct_LWww(ptr_t d, const struct_LWww_t *src) { *(int16_t*)dest = src->W2; dest += 2; *(int16_t*)dest = src->W3; dest += 2; } + +void from_struct_ppuuuuup(struct_ppuuuuup_t *dest, ptr_t s) { + uint8_t* src = (uint8_t*)from_ptrv(s); + dest->p0 = from_ptrv(*(ptr_t*)src); src += 4; + dest->p1 = from_ptrv(*(ptr_t*)src); src += 4; + dest->u2 = *(uint32_t*)src; src += 4; + dest->u3 = *(uint32_t*)src; src += 4; + dest->u4 = *(uint32_t*)src; src += 4; + dest->u5 = *(uint32_t*)src; src += 4; + dest->u6 = *(uint32_t*)src; src += 4; + dest->p7 = from_ptrv(*(ptr_t*)src); src += 4; +} +void to_struct_ppuuuuup(ptr_t d, const struct_ppuuuuup_t *src) { + if (!src) return; + uint8_t* dest = (uint8_t*)from_ptrv(d); + *(ptr_t*)dest = to_ptrv(src->p0); dest += 4; + *(ptr_t*)dest = to_ptrv(src->p1); dest += 4; + *(uint32_t*)dest = src->u2; dest += 4; + *(uint32_t*)dest = src->u3; dest += 4; + *(uint32_t*)dest = src->u4; dest += 4; + *(uint32_t*)dest = src->u5; dest += 4; + *(uint32_t*)dest = src->u6; dest += 4; + *(ptr_t*)dest = to_ptrv(src->p7); dest += 4; +} + +void from_struct_ppuii(struct_ppuii_t *dest, ptr_t s) { + uint8_t* src = (uint8_t*)from_ptrv(s); + dest->p0 = from_ptrv(*(ptr_t*)src); src += 4; + dest->p1 = from_ptrv(*(ptr_t*)src); src += 4; + dest->u2 = *(uint32_t*)src; src += 4; + dest->i3 = *(int32_t*)src; src += 4; + dest->i4 = *(int32_t*)src; src += 4; +} +void to_struct_ppuii(ptr_t d, const struct_ppuii_t *src) { + if (!src) return; + uint8_t* dest = (uint8_t*)from_ptrv(d); + *(ptr_t*)dest = to_ptrv(src->p0); dest += 4; + *(ptr_t*)dest = to_ptrv(src->p1); dest += 4; + *(uint32_t*)dest = src->u2; dest += 4; + *(int32_t*)dest = src->i3; dest += 4; + *(int32_t*)dest = src->i4; dest += 4; +} + +void from_struct_ppuiiiiiiiiipp(struct_ppuiiiiiiiiipp_t *dest, ptr_t s) { + uint8_t* src = (uint8_t*)from_ptrv(s); + dest->p0 = from_ptrv(*(ptr_t*)src); src += 4; + dest->p1 = from_ptrv(*(ptr_t*)src); src += 4; + dest->u2 = *(uint32_t*)src; src += 4; + dest->i3 = *(int32_t*)src; src += 4; + dest->i4 = *(int32_t*)src; src += 4; + dest->i5 = *(int32_t*)src; src += 4; + dest->i6 = *(int32_t*)src; src += 4; + dest->i7 = *(int32_t*)src; src += 4; + dest->i8 = *(int32_t*)src; src += 4; + dest->i9 = *(int32_t*)src; src += 4; + dest->i10 = *(int32_t*)src; src += 4; + dest->i11 = *(int32_t*)src; src += 4; + dest->p12 = from_ptrv(*(ptr_t*)src); src += 4; + dest->p13 = from_ptrv(*(ptr_t*)src); src += 4; +} +void to_struct_ppuiiiiiiiiipp(ptr_t d, const struct_ppuiiiiiiiiipp_t *src) { + if (!src) return; + uint8_t* dest = (uint8_t*)from_ptrv(d); + *(ptr_t*)dest = to_ptrv(src->p0); dest += 4; + *(ptr_t*)dest = to_ptrv(src->p1); dest += 4; + *(uint32_t*)dest = src->u2; dest += 4; + *(int32_t*)dest = src->i3; dest += 4; + *(int32_t*)dest = src->i4; dest += 4; + *(int32_t*)dest = src->i5; dest += 4; + *(int32_t*)dest = src->i6; dest += 4; + *(int32_t*)dest = src->i7; dest += 4; + *(int32_t*)dest = src->i8; dest += 4; + *(int32_t*)dest = src->i9; dest += 4; + *(int32_t*)dest = src->i10; dest += 4; + *(int32_t*)dest = src->i11; dest += 4; + *(ptr_t*)dest = to_ptrv(src->p12); dest += 4; + *(ptr_t*)dest = to_ptrv(src->p13); dest += 4; +} diff --git a/src/wrapped32/generated/converter32.h b/src/wrapped32/generated/converter32.h index 864fc8ee..ece6d0a0 100644 --- a/src/wrapped32/generated/converter32.h +++ b/src/wrapped32/generated/converter32.h @@ -333,6 +333,8 @@ typedef struct struct_ppup_s { uint32_t u2; void* p3; } struct_ppup_t; +void from_struct_ppup(struct_ppup_t *dest, ptr_t src); +void to_struct_ppup(ptr_t dest, const struct_ppup_t *src); typedef struct struct_ipip_s { int i0; void* p1; @@ -341,8 +343,6 @@ typedef struct struct_ipip_s { } struct_ipip_t; void from_struct_ipip(struct_ipip_t *dest, ptr_t src); void to_struct_ipip(ptr_t dest, const struct_ipip_t *src); -void from_struct_ppup(struct_ppup_t *dest, ptr_t src); -void to_struct_ppup(ptr_t dest, const struct_ppup_t *src); typedef struct struct_iiiiiLi_s { int i0; int i1; @@ -504,5 +504,46 @@ typedef struct struct_LWww_s { } struct_LWww_t; void from_struct_LWww(struct_LWww_t *dest, ptr_t src); void to_struct_LWww(ptr_t dest, const struct_LWww_t *src); +typedef struct struct_ppuuuuup_s { + void* p0; + void* p1; + uint32_t u2; + uint32_t u3; + uint32_t u4; + uint32_t u5; + uint32_t u6; + void* p7; +} struct_ppuuuuup_t; +void from_struct_ppuuuuup(struct_ppuuuuup_t *dest, ptr_t src); +void to_struct_ppuuuuup(ptr_t dest, const struct_ppuuuuup_t *src); +typedef struct struct_ppuii_s { + void* p0; + void* p1; + uint32_t u2; + int32_t i3; + int32_t i4; +} struct_ppuii_t; +void from_struct_ppuii(struct_ppuii_t *dest, ptr_t src); +void to_struct_ppuii(ptr_t dest, const struct_ppuii_t *src); +void from_struct_ppuuuuup(struct_ppuuuuup_t *dest, ptr_t src); +void to_struct_ppuuuuup(ptr_t dest, const struct_ppuuuuup_t *src); +typedef struct struct_ppuiiiiiiiiipp_s { + void* p0; + void* p1; + uint32_t u2; + int32_t i3; + int32_t i4; + int32_t i5; + int32_t i6; + int32_t i7; + int32_t i8; + int32_t i9; + int32_t i10; + int32_t i11; + void* p12; + void* p13; +} struct_ppuiiiiiiiiipp_t; +void from_struct_ppuiiiiiiiiipp(struct_ppuiiiiiiiiipp_t *dest, ptr_t src); +void to_struct_ppuiiiiiiiiipp(ptr_t dest, const struct_ppuiiiiiiiiipp_t *src); #endif // __CONVERTER_H_ diff --git a/src/wrapped32/generated/functions_list.txt b/src/wrapped32/generated/functions_list.txt index 8831a8e1..8fbaf9d0 100644 --- a/src/wrapped32/generated/functions_list.txt +++ b/src/wrapped32/generated/functions_list.txt @@ -144,10 +144,18 @@ #() vFbupi_ -> vFB #() iErLWww_ -> iEB #() iEBllll_ -> iEB +#() iFbppuii_ -> iFB +#() uFbppuii_ -> uFB +#() pFbppuii_ -> pFB #() vFbuuipWCCp_ -> vFB +#() vFbppuuuuup_ -> vFB +#() uFbppuuuuup_ -> uFB #() vFbWWpWpWpWp_ -> vFB #() LEbiiiiiiiiilt_ -> LEB #() pEriiiiiiiiilt_ -> pEB +#() iFbppuiiiiiiiiipp_ -> iFB +#() uFbppuiiiiiiiiipp_ -> uFB +#() pFbppuiiiiiiiiipp_ -> pFB #() vEEv -> vEEv #() vFEv -> vFEv #() vFEi -> vFEi @@ -386,6 +394,7 @@ #() iFbp_p -> iFBp #() iFXbL_ -> iFXB #() uFpbp_ -> uFpB +#() uFpbL_ -> uFpB #() fEpBp_ -> fEpB #() dEpBp_ -> dEpB #() lFpbp_ -> lFpB @@ -413,6 +422,7 @@ #() iFbppi_i -> iFBi #() iFbp_bp_ -> iFBB #() iFXbiip_ -> iFXB +#() vFbppuii_p -> vFBp #() iErLL_BLL_ -> iEBB #() iFbpu_bpu_ -> iFBB #() pErppppii_p -> pEBp @@ -420,10 +430,21 @@ #() iEbpppiiip_p -> iEBp #() iFXbiiuuLip_ -> iFXB #() iFpruuipWCCp_ -> iFpB +#() uFpbppuuuuup_ -> uFpB +#() uFbppuuuuup_p -> uFBp +#() pFubppuuuuup_ -> pFuB +#() pFpbppuuuuup_ -> pFpB +#() vFbppuii_bppuii_ -> vFBB #() lEEriiiiiiiiilt_ -> lEEB #() pEriiiiiiiiilt_p -> pEBp #() LFXrLiiwwwwwwwwL_ -> LFXB +#() vFpbppuiiiiiiiiipp_ -> vFpB +#() vFbppuiiiiiiiiipp_p -> vFBp +#() uFpbppuiiiiiiiiipp_ -> uFpB +#() vFbppuuuuup_bppuuuuup_ -> vFBB #() iEiBLLLLLLLLLLLLLLLLLL_ -> iEiB +#() vFbppuiiiiiiiiipp_bppuiiiiiiiiipp_ -> vFBB +#() uFbppuiiiiiiiiipp_bppuiiiiiiiiipp_ -> uFBB #() vEEip -> vEEip #() vFEip -> vFEip #() vEEpi -> vEEpi @@ -780,6 +801,8 @@ #() iFXbp_p -> iFXBp #() iFXbL_p -> iFXBp #() IEpBp_i -> IEpBi +#() uFppbp_ -> uFppB +#() uFpbp_p -> uFpBp #() UEpBp_i -> UEpBi #() fEpBp_p -> fEpBp #() fEpBp_a -> fEpBa @@ -832,10 +855,17 @@ #() iFpbpu_bpu_ -> iFpBB #() iFbpu_bpu_u -> iFBBu #() iFXLbLWWWcc_ -> iFXLB +#() vFppbppuuuuup_ -> vFppB +#() vFbppuuuuup_pp -> vFBpp +#() iFppbppuuuuup_ -> iFppB #() iFbpu_bpu_bpu_ -> iFBBB +#() uFppbppuuuuup_ -> uFppB +#() LFppbppuuuuup_ -> LFppB +#() pFpibppuuuuup_ -> pFpiB #() iEirLLLL_BLLLL_ -> iEiBB #() pEppriiiiiiiiilt_ -> pEppB #() pFXrLiiwwwwwwwwL_p -> pFXBp +#() vFbppuiiiiiiiiipp_pp -> vFBpp #() vEEipp -> vEEipp #() vFEipp -> vFEipp #() vEEipV -> vEEipV @@ -1074,6 +1104,8 @@ #() CFuuff -> CFuuff #() uFEuip -> uFEuip #() uFEpii -> uFEpii +#() uFEpip -> uFEpip +#() uFEpiV -> uFEpiV #() uFuuuu -> uFuuuu #() uFuppd -> uFuppd #() uFpCCC -> uFpCCC @@ -1174,6 +1206,7 @@ #() IEpBp_ia -> IEpBia #() uFppibp_ -> uFppiB #() uFppibl_ -> uFppiB +#() uFppbp_i -> uFppBi #() uFpbp_ip -> uFpBip #() UEpBp_ii -> UEpBii #() UEpBp_ia -> UEpBia @@ -1235,22 +1268,28 @@ #() iFbp_ubpu_bpu_ -> iFBuBB #() iFXLuriiiiiLi_ -> iFXLuB #() uFnibpL_bLpCC_ -> uFniBB +#() iFppubppuuuuup_ -> iFppuB #() iFpbLL_bLL_bLL_ -> iFpBBB +#() pFppibppuuuuup_ -> pFppiB #() vFXLbLLLLLLLLLL_L -> vFXLBL #() iFXLbLLLLLLLLLL_L -> iFXLBL #() LEpLpriiiiiiiiilt_ -> LEpLpB #() iFXipBWWWWWWWWWuip_ -> iFXipB #() iFXLbLWWWcc_bLWWWcc_ -> iFXLBB +#() uFEbppuiiiiiiiiipp_ip -> uFEBip +#() uFbppuiiiiiiiiipp_ipi -> uFBipi #() iFpruuipWCCp_buuipWCCp_i -> iFpBBi #() iFXpLriLLLiiiiiiiLLiiLiiiiLic_ -> iFXpLB #() iFXpLbiLLLiiiiiiiLLiiLiiiiLic_ -> iFXpLB #() pFXLLbiLLLiiiiiiiLLiiLiiiiLic_ -> pFXLLB +#() uFbppuiiiiiiiiipp_ipbppuiiiiiiiiipp_ -> uFBipB #() vEEiipp -> vEEiipp #() vEEiipV -> vEEiipV #() vFEuipu -> vFEuipu #() vFEuipp -> vFEuipp #() vEEpLLp -> vEEpLLp #() vEEppiV -> vEEppiV +#() vFEpppp -> vFEpppp #() vFEXLpL -> vFEXLpL #() vFiiiii -> vFiiiii #() vFiiiiu -> vFiiiiu @@ -1433,6 +1472,7 @@ #() iFXpppp -> iFXpppp #() IFXpIII -> IFXpIII #() uEEippu -> uEEippu +#() uFEpipp -> uFEpipp #() uFEpppp -> uFEpppp #() uFpuupp -> uFpuupp #() uEpLLLS -> uEpLLLS @@ -1539,6 +1579,9 @@ #() LELbp_bL_bp_bL_ -> LELBBBB #() iFpubpu_bpu_bpu_ -> iFpuBBB #() iFppbpu_bpu_bpu_ -> iFppBBB +#() uFEpbppuuuuup_ip -> uFEpBip +#() uFEpbppuuuuup_iV -> uFEpBiV +#() uFppupbppuuuuup_ -> uFppupB #() iFbp_bp_bL_bp_bL_ -> iFBBBBB #() vFXLbLLLLLLLLLL_iL -> vFXLBiL #() iFXiiiBpLiiiLLLii_ -> iFXiiiB @@ -1738,6 +1781,7 @@ #() iFpupbpu_bpu_bpu_ -> iFpupBBB #() iFpubpu_bpu_bpu_p -> iFpuBBBp #() iFpbpu_bpu_bpu_uu -> iFpBBBuu +#() uFEppppbppuuuuup_ -> uFEppppB #() iFpubpu_bpu_bpu_bpu_ -> iFpuBBBB #() iFppbpu_bpu_bpu_bpu_ -> iFppBBBB #() iFpbpu_bpu_bpu_bpu_bpu_ -> iFpBBBBB @@ -1831,6 +1875,7 @@ #() iFXpiipii -> iFXpiipii #() iFXpLiWwL -> iFXpLiWwL #() iFXpLuuii -> iFXpLuuii +#() uFEpppppp -> uFEpppppp #() uFuippppp -> uFuippppp #() uFpippppp -> uFpippppp #() uFpuupppp -> uFpuupppp @@ -2103,6 +2148,31 @@ wrappedcairo: - cairo_xlib_surface_create - cairo_xlib_surface_create_for_bitmap wrappedcrashhandler: +wrappeddbus: +- vFppp: + - dbus_connection_remove_filter + - dbus_timeout_set_data + - dbus_watch_set_data +- uFpip: +- uFpiV: + - dbus_message_append_args +- uFbppuiiiiiiiiipp_ip: + - dbus_message_iter_append_basic +- vFpppp: + - dbus_connection_set_dispatch_status_function + - dbus_connection_set_wakeup_main_function +- uFpipp: + - dbus_connection_set_data +- uFpppp: + - dbus_connection_add_filter +- uFpbppuuuuup_ip: +- uFpbppuuuuup_iV: + - dbus_message_get_args +- uFppppbppuuuuup_: + - dbus_connection_try_register_object_path +- uFpppppp: + - dbus_connection_set_timeout_functions + - dbus_connection_set_watch_functions wrappedexpat: - vFpp: - XML_SetCharacterDataHandler diff --git a/src/wrapped32/generated/wrappeddbusdefs32.h b/src/wrapped32/generated/wrappeddbusdefs32.h new file mode 100644 index 00000000..8fab3f36 --- /dev/null +++ b/src/wrapped32/generated/wrappeddbusdefs32.h @@ -0,0 +1,8 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappeddbusDEFS32_H_ +#define __wrappeddbusDEFS32_H_ + + +#endif // __wrappeddbusDEFS32_H_ diff --git a/src/wrapped32/generated/wrappeddbustypes32.h b/src/wrapped32/generated/wrappeddbustypes32.h new file mode 100644 index 00000000..c0df7cdf --- /dev/null +++ b/src/wrapped32/generated/wrappeddbustypes32.h @@ -0,0 +1,41 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappeddbusTYPES32_H_ +#define __wrappeddbusTYPES32_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 (*vFppp_t)(void*, void*, void*); +typedef uint32_t (*uFpip_t)(void*, int32_t, void*); +typedef uint32_t (*uFpiV_t)(void*, int32_t, ...); +typedef uint32_t (*uFbppuiiiiiiiiipp_ip_t)(struct_ppuiiiiiiiiipp_t*, int32_t, void*); +typedef void (*vFpppp_t)(void*, void*, void*, void*); +typedef uint32_t (*uFpipp_t)(void*, int32_t, void*, void*); +typedef uint32_t (*uFpppp_t)(void*, void*, void*, void*); +typedef uint32_t (*uFpbppuuuuup_ip_t)(void*, struct_ppuuuuup_t*, int32_t, void*); +typedef uint32_t (*uFpbppuuuuup_iV_t)(void*, struct_ppuuuuup_t*, int32_t, ...); +typedef uint32_t (*uFppppbppuuuuup__t)(void*, void*, void*, void*, struct_ppuuuuup_t*); +typedef uint32_t (*uFpppppp_t)(void*, void*, void*, void*, void*, void*); + +#define SUPER() ADDED_FUNCTIONS() \ + GO(dbus_connection_remove_filter, vFppp_t) \ + GO(dbus_timeout_set_data, vFppp_t) \ + GO(dbus_watch_set_data, vFppp_t) \ + GO(dbus_message_append_args, uFpiV_t) \ + GO(dbus_message_iter_append_basic, uFbppuiiiiiiiiipp_ip_t) \ + GO(dbus_connection_set_dispatch_status_function, vFpppp_t) \ + GO(dbus_connection_set_wakeup_main_function, vFpppp_t) \ + GO(dbus_connection_set_data, uFpipp_t) \ + GO(dbus_connection_add_filter, uFpppp_t) \ + GO(dbus_message_get_args, uFpbppuuuuup_iV_t) \ + GO(dbus_connection_try_register_object_path, uFppppbppuuuuup__t) \ + GO(dbus_connection_set_timeout_functions, uFpppppp_t) \ + GO(dbus_connection_set_watch_functions, uFpppppp_t) + +#endif // __wrappeddbusTYPES32_H_ diff --git a/src/wrapped32/generated/wrappeddbusundefs32.h b/src/wrapped32/generated/wrappeddbusundefs32.h new file mode 100644 index 00000000..1edc9c93 --- /dev/null +++ b/src/wrapped32/generated/wrappeddbusundefs32.h @@ -0,0 +1,8 @@ +/********************************************************************* + * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) * + *********************************************************************/ +#ifndef __wrappeddbusUNDEFS32_H_ +#define __wrappeddbusUNDEFS32_H_ + + +#endif // __wrappeddbusUNDEFS32_H_ diff --git a/src/wrapped32/generated/wrapper32.c b/src/wrapped32/generated/wrapper32.c index 4bf66364..9e9e2574 100644 --- a/src/wrapped32/generated/wrapper32.c +++ b/src/wrapped32/generated/wrapper32.c @@ -238,10 +238,18 @@ typedef void (*vFbLdd__t)(struct_Ldd_t*); typedef void (*vFbupi__t)(struct_upi_t*); typedef int32_t (*iErLWww__t)(struct_LWww_t*); typedef int32_t (*iEBllll__t)(struct_llll_t*); +typedef int32_t (*iFbppuii__t)(struct_ppuii_t*); +typedef uint32_t (*uFbppuii__t)(struct_ppuii_t*); +typedef void* (*pFbppuii__t)(struct_ppuii_t*); typedef void (*vFbuuipWCCp__t)(struct_uuipWCCp_t*); +typedef void (*vFbppuuuuup__t)(struct_ppuuuuup_t*); +typedef uint32_t (*uFbppuuuuup__t)(struct_ppuuuuup_t*); typedef void (*vFbWWpWpWpWp__t)(struct_WWpWpWpWp_t*); typedef uintptr_t (*LEbiiiiiiiiilt__t)(struct_iiiiiiiiilt_t*); typedef void* (*pEriiiiiiiiilt__t)(struct_iiiiiiiiilt_t*); +typedef int32_t (*iFbppuiiiiiiiiipp__t)(struct_ppuiiiiiiiiipp_t*); +typedef uint32_t (*uFbppuiiiiiiiiipp__t)(struct_ppuiiiiiiiiipp_t*); +typedef void* (*pFbppuiiiiiiiiipp__t)(struct_ppuiiiiiiiiipp_t*); typedef void (*vEEv_t)(x64emu_t*); typedef void (*vFEv_t)(x64emu_t*); typedef void (*vFEi_t)(x64emu_t*, int32_t); @@ -480,6 +488,7 @@ typedef int32_t (*iFbp_u_t)(struct_p_t*, uint32_t); typedef int32_t (*iFbp_p_t)(struct_p_t*, void*); typedef int32_t (*iFXbL__t)(void*, struct_L_t*); typedef uint32_t (*uFpbp__t)(void*, struct_p_t*); +typedef uint32_t (*uFpbL__t)(void*, struct_L_t*); typedef float (*fEpBp__t)(void*, struct_p_t*); typedef double (*dEpBp__t)(void*, struct_p_t*); typedef intptr_t (*lFpbp__t)(void*, struct_p_t*); @@ -507,6 +516,7 @@ 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 void (*vFbppuii_p_t)(struct_ppuii_t*, void*); typedef int32_t (*iErLL_BLL__t)(struct_LL_t*, struct_LL_t*); typedef int32_t (*iFbpu_bpu__t)(struct_pu_t*, struct_pu_t*); typedef void* (*pErppppii_p_t)(struct_ppppii_t*, void*); @@ -514,10 +524,21 @@ typedef void (*vFbll_rllll__t)(struct_ll_t*, struct_llll_t*); typedef int32_t (*iEbpppiiip_p_t)(struct_pppiiip_t*, void*); typedef int32_t (*iFXbiiuuLip__t)(void*, struct_iiuuLip_t*); typedef int32_t (*iFpruuipWCCp__t)(void*, struct_uuipWCCp_t*); +typedef uint32_t (*uFpbppuuuuup__t)(void*, struct_ppuuuuup_t*); +typedef uint32_t (*uFbppuuuuup_p_t)(struct_ppuuuuup_t*, void*); +typedef void* (*pFubppuuuuup__t)(uint32_t, struct_ppuuuuup_t*); +typedef void* (*pFpbppuuuuup__t)(void*, struct_ppuuuuup_t*); +typedef void (*vFbppuii_bppuii__t)(struct_ppuii_t*, struct_ppuii_t*); typedef intptr_t (*lEEriiiiiiiiilt__t)(x64emu_t*, struct_iiiiiiiiilt_t*); typedef void* (*pEriiiiiiiiilt_p_t)(struct_iiiiiiiiilt_t*, void*); typedef uintptr_t (*LFXrLiiwwwwwwwwL__t)(void*, struct_LiiwwwwwwwwL_t*); +typedef void (*vFpbppuiiiiiiiiipp__t)(void*, struct_ppuiiiiiiiiipp_t*); +typedef void (*vFbppuiiiiiiiiipp_p_t)(struct_ppuiiiiiiiiipp_t*, void*); +typedef uint32_t (*uFpbppuiiiiiiiiipp__t)(void*, struct_ppuiiiiiiiiipp_t*); +typedef void (*vFbppuuuuup_bppuuuuup__t)(struct_ppuuuuup_t*, struct_ppuuuuup_t*); typedef int32_t (*iEiBLLLLLLLLLLLLLLLLLL__t)(int32_t, struct_LLLLLLLLLLLLLLLLLL_t*); +typedef void (*vFbppuiiiiiiiiipp_bppuiiiiiiiiipp__t)(struct_ppuiiiiiiiiipp_t*, struct_ppuiiiiiiiiipp_t*); +typedef uint32_t (*uFbppuiiiiiiiiipp_bppuiiiiiiiiipp__t)(struct_ppuiiiiiiiiipp_t*, struct_ppuiiiiiiiiipp_t*); typedef void (*vEEip_t)(x64emu_t*, int32_t, void*); typedef void (*vFEip_t)(x64emu_t*, int32_t, void*); typedef void (*vEEpi_t)(x64emu_t*, void*, int32_t); @@ -874,6 +895,8 @@ typedef int32_t (*iFXBL_p_t)(void*, struct_L_t*, void*); typedef int32_t (*iFXbp_p_t)(void*, struct_p_t*, void*); typedef int32_t (*iFXbL_p_t)(void*, struct_L_t*, void*); typedef int64_t (*IEpBp_i_t)(void*, struct_p_t*, int32_t); +typedef uint32_t (*uFppbp__t)(void*, void*, struct_p_t*); +typedef uint32_t (*uFpbp_p_t)(void*, struct_p_t*, void*); typedef uint64_t (*UEpBp_i_t)(void*, struct_p_t*, int32_t); typedef float (*fEpBp_p_t)(void*, struct_p_t*, void*); typedef float (*fEpBp_a_t)(void*, struct_p_t*, void*); @@ -926,10 +949,17 @@ typedef int32_t (*iFubpu_bpu__t)(uint32_t, struct_pu_t*, struct_pu_t*); typedef int32_t (*iFpbpu_bpu__t)(void*, struct_pu_t*, struct_pu_t*); typedef int32_t (*iFbpu_bpu_u_t)(struct_pu_t*, struct_pu_t*, uint32_t); typedef int32_t (*iFXLbLWWWcc__t)(void*, uintptr_t, struct_LWWWcc_t*); +typedef void (*vFppbppuuuuup__t)(void*, void*, struct_ppuuuuup_t*); +typedef void (*vFbppuuuuup_pp_t)(struct_ppuuuuup_t*, void*, void*); +typedef int32_t (*iFppbppuuuuup__t)(void*, void*, struct_ppuuuuup_t*); typedef int32_t (*iFbpu_bpu_bpu__t)(struct_pu_t*, struct_pu_t*, struct_pu_t*); +typedef uint32_t (*uFppbppuuuuup__t)(void*, void*, struct_ppuuuuup_t*); +typedef uintptr_t (*LFppbppuuuuup__t)(void*, void*, struct_ppuuuuup_t*); +typedef void* (*pFpibppuuuuup__t)(void*, int32_t, struct_ppuuuuup_t*); typedef int32_t (*iEirLLLL_BLLLL__t)(int32_t, struct_LLLL_t*, struct_LLLL_t*); typedef void* (*pEppriiiiiiiiilt__t)(void*, void*, struct_iiiiiiiiilt_t*); typedef void* (*pFXrLiiwwwwwwwwL_p_t)(void*, struct_LiiwwwwwwwwL_t*, void*); +typedef void (*vFbppuiiiiiiiiipp_pp_t)(struct_ppuiiiiiiiiipp_t*, void*, void*); typedef void (*vEEipp_t)(x64emu_t*, int32_t, void*, void*); typedef void (*vFEipp_t)(x64emu_t*, int32_t, void*, void*); typedef void (*vEEipV_t)(x64emu_t*, int32_t, void*, void*); @@ -1168,6 +1198,8 @@ typedef int64_t (*IFEpIi_t)(x64emu_t*, void*, int64_t, int32_t); typedef uint8_t (*CFuuff_t)(uint32_t, uint32_t, float, float); typedef uint32_t (*uFEuip_t)(x64emu_t*, uint32_t, int32_t, void*); typedef uint32_t (*uFEpii_t)(x64emu_t*, void*, int32_t, int32_t); +typedef uint32_t (*uFEpip_t)(x64emu_t*, void*, int32_t, void*); +typedef uint32_t (*uFEpiV_t)(x64emu_t*, void*, int32_t, void*); typedef uint32_t (*uFuuuu_t)(uint32_t, uint32_t, uint32_t, uint32_t); typedef uint32_t (*uFuppd_t)(uint32_t, void*, void*, double); typedef uint32_t (*uFpCCC_t)(void*, uint8_t, uint8_t, uint8_t); @@ -1268,6 +1300,7 @@ typedef int64_t (*IEpBp_ii_t)(void*, struct_p_t*, int32_t, int32_t); typedef int64_t (*IEpBp_ia_t)(void*, struct_p_t*, int32_t, void*); typedef uint32_t (*uFppibp__t)(void*, void*, int32_t, struct_p_t*); typedef uint32_t (*uFppibl__t)(void*, void*, int32_t, struct_l_t*); +typedef uint32_t (*uFppbp_i_t)(void*, void*, struct_p_t*, int32_t); typedef uint32_t (*uFpbp_ip_t)(void*, struct_p_t*, int32_t, void*); typedef uint64_t (*UEpBp_ii_t)(void*, struct_p_t*, int32_t, int32_t); typedef uint64_t (*UEpBp_ia_t)(void*, struct_p_t*, int32_t, void*); @@ -1329,22 +1362,28 @@ typedef int32_t (*iEupuBpppiiip__t)(uint32_t, void*, uint32_t, struct_pppiiip_t* typedef int32_t (*iFbp_ubpu_bpu__t)(struct_p_t*, uint32_t, struct_pu_t*, struct_pu_t*); typedef int32_t (*iFXLuriiiiiLi__t)(void*, uintptr_t, uint32_t, struct_iiiiiLi_t*); typedef uint32_t (*uFnibpL_bLpCC__t)(void*, int32_t, struct_pL_t*, struct_LpCC_t*); +typedef int32_t (*iFppubppuuuuup__t)(void*, void*, uint32_t, struct_ppuuuuup_t*); typedef int32_t (*iFpbLL_bLL_bLL__t)(void*, struct_LL_t*, struct_LL_t*, struct_LL_t*); +typedef void* (*pFppibppuuuuup__t)(void*, void*, int32_t, struct_ppuuuuup_t*); typedef void (*vFXLbLLLLLLLLLL_L_t)(void*, uintptr_t, struct_LLLLLLLLLL_t*, uintptr_t); typedef int32_t (*iFXLbLLLLLLLLLL_L_t)(void*, uintptr_t, struct_LLLLLLLLLL_t*, uintptr_t); typedef uintptr_t (*LEpLpriiiiiiiiilt__t)(void*, uintptr_t, void*, struct_iiiiiiiiilt_t*); typedef int32_t (*iFXipBWWWWWWWWWuip__t)(void*, int32_t, void*, struct_WWWWWWWWWuip_t*); typedef int32_t (*iFXLbLWWWcc_bLWWWcc__t)(void*, uintptr_t, struct_LWWWcc_t*, struct_LWWWcc_t*); +typedef uint32_t (*uFEbppuiiiiiiiiipp_ip_t)(x64emu_t*, struct_ppuiiiiiiiiipp_t*, int32_t, void*); +typedef uint32_t (*uFbppuiiiiiiiiipp_ipi_t)(struct_ppuiiiiiiiiipp_t*, int32_t, void*, int32_t); typedef int32_t (*iFpruuipWCCp_buuipWCCp_i_t)(void*, struct_uuipWCCp_t*, struct_uuipWCCp_t*, int32_t); typedef int32_t (*iFXpLriLLLiiiiiiiLLiiLiiiiLic__t)(void*, void*, uintptr_t, struct_iLLLiiiiiiiLLiiLiiiiLic_t*); typedef int32_t (*iFXpLbiLLLiiiiiiiLLiiLiiiiLic__t)(void*, void*, uintptr_t, struct_iLLLiiiiiiiLLiiLiiiiLic_t*); typedef void* (*pFXLLbiLLLiiiiiiiLLiiLiiiiLic__t)(void*, uintptr_t, uintptr_t, struct_iLLLiiiiiiiLLiiLiiiiLic_t*); +typedef uint32_t (*uFbppuiiiiiiiiipp_ipbppuiiiiiiiiipp__t)(struct_ppuiiiiiiiiipp_t*, int32_t, void*, struct_ppuiiiiiiiiipp_t*); typedef void (*vEEiipp_t)(x64emu_t*, int32_t, int32_t, void*, void*); typedef void (*vEEiipV_t)(x64emu_t*, int32_t, int32_t, void*, void*); typedef void (*vFEuipu_t)(x64emu_t*, uint32_t, int32_t, void*, uint32_t); typedef void (*vFEuipp_t)(x64emu_t*, uint32_t, int32_t, void*, void*); typedef void (*vEEpLLp_t)(x64emu_t*, void*, uintptr_t, uintptr_t, void*); typedef void (*vEEppiV_t)(x64emu_t*, void*, void*, int32_t, void*); +typedef void (*vFEpppp_t)(x64emu_t*, void*, void*, void*, void*); typedef void (*vFEXLpL_t)(x64emu_t*, void*, uintptr_t, void*, uintptr_t); typedef void (*vFiiiii_t)(int32_t, int32_t, int32_t, int32_t, int32_t); typedef void (*vFiiiiu_t)(int32_t, int32_t, int32_t, int32_t, uint32_t); @@ -1527,6 +1566,7 @@ typedef int32_t (*iFXpipi_t)(void*, void*, int32_t, void*, int32_t); typedef int32_t (*iFXpppp_t)(void*, void*, void*, void*, void*); typedef int64_t (*IFXpIII_t)(void*, void*, int64_t, int64_t, int64_t); typedef uint32_t (*uEEippu_t)(x64emu_t*, int32_t, void*, void*, uint32_t); +typedef uint32_t (*uFEpipp_t)(x64emu_t*, void*, int32_t, void*, void*); typedef uint32_t (*uFEpppp_t)(x64emu_t*, void*, void*, void*, void*); typedef uint32_t (*uFpuupp_t)(void*, uint32_t, uint32_t, void*, void*); typedef uint32_t (*uEpLLLS_t)(void*, uintptr_t, uintptr_t, uintptr_t, void*); @@ -1633,6 +1673,9 @@ 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 uint32_t (*uFEpbppuuuuup_ip_t)(x64emu_t*, void*, struct_ppuuuuup_t*, int32_t, void*); +typedef uint32_t (*uFEpbppuuuuup_iV_t)(x64emu_t*, void*, struct_ppuuuuup_t*, int32_t, void*); +typedef uint32_t (*uFppupbppuuuuup__t)(void*, void*, uint32_t, void*, struct_ppuuuuup_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*); @@ -1832,6 +1875,7 @@ typedef void (*vFbp_bppup_ippbp__t)(struct_p_t*, struct_ppup_t*, int32_t, void*, typedef int32_t (*iFpupbpu_bpu_bpu__t)(void*, uint32_t, void*, struct_pu_t*, struct_pu_t*, struct_pu_t*); typedef int32_t (*iFpubpu_bpu_bpu_p_t)(void*, uint32_t, struct_pu_t*, struct_pu_t*, struct_pu_t*, void*); typedef int32_t (*iFpbpu_bpu_bpu_uu_t)(void*, struct_pu_t*, struct_pu_t*, struct_pu_t*, uint32_t, uint32_t); +typedef uint32_t (*uFEppppbppuuuuup__t)(x64emu_t*, void*, void*, void*, void*, struct_ppuuuuup_t*); typedef int32_t (*iFpubpu_bpu_bpu_bpu__t)(void*, uint32_t, struct_pu_t*, struct_pu_t*, struct_pu_t*, struct_pu_t*); typedef int32_t (*iFppbpu_bpu_bpu_bpu__t)(void*, void*, struct_pu_t*, struct_pu_t*, struct_pu_t*, struct_pu_t*); typedef int32_t (*iFpbpu_bpu_bpu_bpu_bpu__t)(void*, struct_pu_t*, struct_pu_t*, struct_pu_t*, struct_pu_t*, struct_pu_t*); @@ -1925,6 +1969,7 @@ typedef int32_t (*iFXLppiii_t)(void*, uintptr_t, void*, void*, int32_t, int32_t, typedef int32_t (*iFXpiipii_t)(void*, void*, int32_t, int32_t, void*, int32_t, int32_t); typedef int32_t (*iFXpLiWwL_t)(void*, void*, uintptr_t, int32_t, uint16_t, int16_t, uintptr_t); typedef int32_t (*iFXpLuuii_t)(void*, void*, uintptr_t, uint32_t, uint32_t, int32_t, int32_t); +typedef uint32_t (*uFEpppppp_t)(x64emu_t*, void*, void*, void*, void*, void*, void*); typedef uint32_t (*uFuippppp_t)(uint32_t, int32_t, void*, void*, void*, void*, void*); typedef uint32_t (*uFpippppp_t)(void*, int32_t, void*, void*, void*, void*, void*); typedef uint32_t (*uFpuupppp_t)(void*, uint32_t, uint32_t, void*, void*, void*, void*); @@ -2340,10 +2385,18 @@ void vFbLdd__32(x64emu_t *emu, uintptr_t fcn) { vFbLdd__t fn = (vFbLdd__t)fcn; s void vFbupi__32(x64emu_t *emu, uintptr_t fcn) { vFbupi__t fn = (vFbupi__t)fcn; struct_upi_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_upi(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_upi(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void iErLWww__32(x64emu_t *emu, uintptr_t fcn) { iErLWww__t fn = (iErLWww__t)fcn; errno = emu->libc_err; struct_LWww_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_LWww(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); emu->libc_err = errno; } void iEBllll__32(x64emu_t *emu, uintptr_t fcn) { iEBllll__t fn = (iEBllll__t)fcn; errno = emu->libc_err; struct_llll_t arg_4={0}; R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_llll(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); emu->libc_err = errno; } +void iFbppuii__32(x64emu_t *emu, uintptr_t fcn) { iFbppuii__t fn = (iFbppuii__t)fcn; struct_ppuii_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuii(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuii(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void uFbppuii__32(x64emu_t *emu, uintptr_t fcn) { uFbppuii__t fn = (uFbppuii__t)fcn; struct_ppuii_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuii(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = (uint32_t)fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuii(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void pFbppuii__32(x64emu_t *emu, uintptr_t fcn) { pFbppuii__t fn = (pFbppuii__t)fcn; struct_ppuii_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuii(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = to_ptrv(fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuii(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void vFbuuipWCCp__32(x64emu_t *emu, uintptr_t fcn) { vFbuuipWCCp__t fn = (vFbuuipWCCp__t)fcn; struct_uuipWCCp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_uuipWCCp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_uuipWCCp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void vFbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { vFbppuuuuup__t fn = (vFbppuuuuup__t)fcn; struct_ppuuuuup_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuuuuup(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void uFbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { uFbppuuuuup__t fn = (uFbppuuuuup__t)fcn; struct_ppuuuuup_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuuuuup(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = (uint32_t)fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void vFbWWpWpWpWp__32(x64emu_t *emu, uintptr_t fcn) { vFbWWpWpWpWp__t fn = (vFbWWpWpWpWp__t)fcn; struct_WWpWpWpWp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_WWpWpWpWp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_WWpWpWpWp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void LEbiiiiiiiiilt__32(x64emu_t *emu, uintptr_t fcn) { LEbiiiiiiiiilt__t fn = (LEbiiiiiiiiilt__t)fcn; errno = emu->libc_err; struct_iiiiiiiiilt_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_iiiiiiiiilt(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = to_ulong(fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_iiiiiiiiilt(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); emu->libc_err = errno; } void pEriiiiiiiiilt__32(x64emu_t *emu, uintptr_t fcn) { pEriiiiiiiiilt__t fn = (pEriiiiiiiiilt__t)fcn; errno = emu->libc_err; struct_iiiiiiiiilt_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_iiiiiiiiilt(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = to_ptrv(fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL)); emu->libc_err = errno; } +void iFbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fcn) { iFbppuiiiiiiiiipp__t fn = (iFbppuiiiiiiiiipp__t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void uFbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fcn) { uFbppuiiiiiiiiipp__t fn = (uFbppuiiiiiiiiipp__t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = (uint32_t)fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void pFbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fcn) { pFbppuiiiiiiiiipp__t fn = (pFbppuiiiiiiiiipp__t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = to_ptrv(fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void vEEv_32(x64emu_t *emu, uintptr_t fcn) { vEEv_t fn = (vEEv_t)fcn; errno = emu->libc_err; fn(emu); emu->libc_err = errno; } void vFEv_32(x64emu_t *emu, uintptr_t fcn) { vFEv_t fn = (vFEv_t)fcn; fn(emu); } void vFEi_32(x64emu_t *emu, uintptr_t fcn) { vFEi_t fn = (vFEi_t)fcn; fn(emu, from_ptri(int32_t, R_ESP + 4)); } @@ -2582,6 +2635,7 @@ void iFbp_u_32(x64emu_t *emu, uintptr_t fcn) { iFbp_u_t fn = (iFbp_u_t)fcn; stru void iFbp_p_32(x64emu_t *emu, uintptr_t fcn) { iFbp_p_t fn = (iFbp_p_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)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptriv(R_ESP + 8)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void iFXbL__32(x64emu_t *emu, uintptr_t fcn) { iFXbL__t fn = (iFXbL__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(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_L(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void uFpbp__32(x64emu_t *emu, uintptr_t fcn) { uFpbp__t fn = (uFpbp__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 = (uint32_t)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 uFpbL__32(x64emu_t *emu, uintptr_t fcn) { uFpbL__t fn = (uFpbL__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 = (uint32_t)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 fEpBp__32(x64emu_t *emu, uintptr_t fcn) { fEpBp__t fn = (fEpBp__t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; float fl = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); fpu_do_push(emu); ST0val = fl; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } void dEpBp__32(x64emu_t *emu, uintptr_t fcn) { dEpBp__t fn = (dEpBp__t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; double db = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL); fpu_do_push(emu); ST0val = db; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } 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); } @@ -2609,6 +2663,7 @@ void iESBliu__32(x64emu_t *emu, uintptr_t fcn) { iESBliu__t fn = (iESBliu__t)fcn 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 vFbppuii_p_32(x64emu_t *emu, uintptr_t fcn) { vFbppuii_p_t fn = (vFbppuii_p_t)fcn; struct_ppuii_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuii(&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)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuii(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } 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); } void pErppppii_p_32(x64emu_t *emu, uintptr_t fcn) { pErppppii_p_t fn = (pErppppii_p_t)fcn; errno = emu->libc_err; struct_ppppii_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppppii(&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; } @@ -2616,10 +2671,21 @@ void vFbll_rllll__32(x64emu_t *emu, uintptr_t fcn) { vFbll_rllll__t fn = (vFbll_ void iEbpppiiip_p_32(x64emu_t *emu, uintptr_t fcn) { iEbpppiiip_p_t fn = (iEbpppiiip_p_t)fcn; errno = emu->libc_err; struct_pppiiip_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_pppiiip(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptriv(R_ESP + 8)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_pppiiip(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); emu->libc_err = errno; } void iFXbiiuuLip__32(x64emu_t *emu, uintptr_t fcn) { iFXbiiuuLip__t fn = (iFXbiiuuLip__t)fcn; struct_iiuuLip_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_iiuuLip(&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_iiuuLip(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFpruuipWCCp__32(x64emu_t *emu, uintptr_t fcn) { iFpruuipWCCp__t fn = (iFpruuipWCCp__t)fcn; struct_uuipWCCp_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_uuipWCCp(&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); } +void uFpbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { uFpbppuuuuup__t fn = (uFpbppuuuuup__t)fcn; struct_ppuuuuup_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuuuuup(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = (uint32_t)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_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void uFbppuuuuup_p_32(x64emu_t *emu, uintptr_t fcn) { uFbppuuuuup_p_t fn = (uFbppuuuuup_p_t)fcn; struct_ppuuuuup_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuuuuup(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = (uint32_t)fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptriv(R_ESP + 8)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void pFubppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { pFubppuuuuup__t fn = (pFubppuuuuup__t)fcn; struct_ppuuuuup_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuuuuup(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = to_ptrv(fn(from_ptri(uint32_t, R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void pFpbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { pFpbppuuuuup__t fn = (pFpbppuuuuup__t)fcn; struct_ppuuuuup_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuuuuup(&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_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void vFbppuii_bppuii__32(x64emu_t *emu, uintptr_t fcn) { vFbppuii_bppuii__t fn = (vFbppuii_bppuii__t)fcn; struct_ppuii_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuii(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_ppuii_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuii(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); 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_ppuii(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_ppuii(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void lEEriiiiiiiiilt__32(x64emu_t *emu, uintptr_t fcn) { lEEriiiiiiiiilt__t fn = (lEEriiiiiiiiilt__t)fcn; errno = emu->libc_err; struct_iiiiiiiiilt_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_iiiiiiiiilt(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = to_long(fn(emu, *(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL)); emu->libc_err = errno; } void pEriiiiiiiiilt_p_32(x64emu_t *emu, uintptr_t fcn) { pEriiiiiiiiilt_p_t fn = (pEriiiiiiiiilt_p_t)fcn; errno = emu->libc_err; struct_iiiiiiiiilt_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_iiiiiiiiilt(&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 LFXrLiiwwwwwwwwL__32(x64emu_t *emu, uintptr_t fcn) { LFXrLiiwwwwwwwwL__t fn = (LFXrLiiwwwwwwwwL__t)fcn; struct_LiiwwwwwwwwL_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_LiiwwwwwwwwL(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = to_ulong(fn(getDisplay(from_ptriv(R_ESP + 4)), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL)); } +void vFpbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fcn) { vFpbppuiiiiiiiiipp__t fn = (vFpbppuiiiiiiiiipp__t)fcn; struct_ppuiiiiiiiiipp_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuiiiiiiiiipp(&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_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void vFbppuiiiiiiiiipp_p_32(x64emu_t *emu, uintptr_t fcn) { vFbppuiiiiiiiiipp_p_t fn = (vFbppuiiiiiiiiipp_p_t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&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)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void uFpbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fcn) { uFpbppuiiiiiiiiipp__t fn = (uFpbppuiiiiiiiiipp__t)fcn; struct_ppuiiiiiiiiipp_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuiiiiiiiiipp(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = (uint32_t)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_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void vFbppuuuuup_bppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { vFbppuuuuup_bppuuuuup__t fn = (vFbppuuuuup_bppuuuuup__t)fcn; struct_ppuuuuup_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuuuuup(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_ppuuuuup_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuuuuup(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); 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_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iEiBLLLLLLLLLLLLLLLLLL__32(x64emu_t *emu, uintptr_t fcn) { iEiBLLLLLLLLLLLLLLLLLL__t fn = (iEiBLLLLLLLLLLLLLLLLLL__t)fcn; errno = emu->libc_err; struct_LLLLLLLLLLLLLLLLLL_t arg_8={0}; R_EAX = 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_LLLLLLLLLLLLLLLLLL(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } +void vFbppuiiiiiiiiipp_bppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fcn) { vFbppuiiiiiiiiipp_bppuiiiiiiiiipp__t fn = (vFbppuiiiiiiiiipp_bppuiiiiiiiiipp__t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_ppuiiiiiiiiipp_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuiiiiiiiiipp(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); 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_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void uFbppuiiiiiiiiipp_bppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fcn) { uFbppuiiiiiiiiipp_bppuiiiiiiiiipp__t fn = (uFbppuiiiiiiiiipp_bppuiiiiiiiiipp__t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_ppuiiiiiiiiipp_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuiiiiiiiiipp(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = (uint32_t)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_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void vEEip_32(x64emu_t *emu, uintptr_t fcn) { vEEip_t fn = (vEEip_t)fcn; errno = emu->libc_err; fn(emu, from_ptri(int32_t, R_ESP + 4), from_ptriv(R_ESP + 8)); emu->libc_err = errno; } void vFEip_32(x64emu_t *emu, uintptr_t fcn) { vFEip_t fn = (vFEip_t)fcn; fn(emu, from_ptri(int32_t, R_ESP + 4), from_ptriv(R_ESP + 8)); } void vEEpi_32(x64emu_t *emu, uintptr_t fcn) { vEEpi_t fn = (vEEpi_t)fcn; errno = emu->libc_err; fn(emu, from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8)); emu->libc_err = errno; } @@ -2976,6 +3042,8 @@ void iFXBL_p_32(x64emu_t *emu, uintptr_t fcn) { iFXBL_p_t fn = (iFXBL_p_t)fcn; s void iFXbp_p_32(x64emu_t *emu, uintptr_t fcn) { iFXbp_p_t fn = (iFXbp_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(getDisplay(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_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void iFXbL_p_32(x64emu_t *emu, uintptr_t fcn) { iFXbL_p_t fn = (iFXbL_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(getDisplay(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 IEpBp_i_32(x64emu_t *emu, uintptr_t fcn) { IEpBp_i_t fn = (IEpBp_i_t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; ui64_t r; r.i = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(int32_t, R_ESP + 12)); R_EAX = r.d[0]; R_EDX = r.d[1]; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } +void uFppbp__32(x64emu_t *emu, uintptr_t fcn) { uFppbp__t fn = (uFppbp__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 = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptriv(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 uFpbp_p_32(x64emu_t *emu, uintptr_t fcn) { uFpbp_p_t fn = (uFpbp_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 = (uint32_t)fn(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_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void UEpBp_i_32(x64emu_t *emu, uintptr_t fcn) { UEpBp_i_t fn = (UEpBp_i_t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; ui64_t r; r.u = (uint64_t)fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(int32_t, R_ESP + 12)); R_EAX = r.d[0]; R_EDX = r.d[1]; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } void fEpBp_p_32(x64emu_t *emu, uintptr_t fcn) { fEpBp_p_t fn = (fEpBp_p_t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; float fl = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptriv(R_ESP + 12)); fpu_do_push(emu); ST0val = fl; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } void fEpBp_a_32(x64emu_t *emu, uintptr_t fcn) { fEpBp_a_t fn = (fEpBp_a_t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; float fl = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_locale(from_ptri(ptr_t, R_ESP + 12))); fpu_do_push(emu); ST0val = fl; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } @@ -3028,10 +3096,17 @@ void iFubpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFubpu_bpu__t fn = (iFubpu_b void iFpbpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_bpu__t fn = (iFpbpu_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)))); 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); 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 iFbpu_bpu_u_32(x64emu_t *emu, uintptr_t fcn) { iFbpu_bpu_u_t fn = (iFbpu_bpu_u_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, from_ptri(uint32_t, R_ESP + 12)); 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); } void iFXLbLWWWcc__32(x64emu_t *emu, uintptr_t fcn) { iFXLbLWWWcc__t fn = (iFXLbLWWWcc__t)fcn; struct_LWWWcc_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_LWWWcc(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = 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); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_LWWWcc(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void vFppbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { vFppbppuuuuup__t fn = (vFppbppuuuuup__t)fcn; struct_ppuuuuup_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_ppuuuuup(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void vFbppuuuuup_pp_32(x64emu_t *emu, uintptr_t fcn) { vFbppuuuuup_pp_t fn = (vFbppuuuuup_pp_t)fcn; struct_ppuuuuup_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuuuuup(&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)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void iFppbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { iFppbppuuuuup__t fn = (iFppbppuuuuup__t)fcn; struct_ppuuuuup_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_ppuuuuup(&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); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFbpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFbpu_bpu_bpu__t fn = (iFbpu_bpu_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)))); 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, *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : 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); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void uFppbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { uFppbppuuuuup__t fn = (uFppbppuuuuup__t)fcn; struct_ppuuuuup_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_ppuuuuup(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void LFppbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { LFppbppuuuuup__t fn = (LFppbppuuuuup__t)fcn; struct_ppuuuuup_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_ppuuuuup(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } +void pFpibppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { pFpibppuuuuup__t fn = (pFpibppuuuuup__t)fcn; struct_ppuuuuup_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_ppuuuuup(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = to_ptrv(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_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iEirLLLL_BLLLL__32(x64emu_t *emu, uintptr_t fcn) { iEirLLLL_BLLLL__t fn = (iEirLLLL_BLLLL__t)fcn; errno = emu->libc_err; struct_LLLL_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_LLLL(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_LLLL_t arg_12={0}; R_EAX = fn(from_ptri(int32_t, R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_LLLL(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); emu->libc_err = errno; } void pEppriiiiiiiiilt__32(x64emu_t *emu, uintptr_t fcn) { pEppriiiiiiiiilt__t fn = (pEppriiiiiiiiilt__t)fcn; errno = emu->libc_err; struct_iiiiiiiiilt_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_iiiiiiiiilt(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL)); emu->libc_err = errno; } void pFXrLiiwwwwwwwwL_p_32(x64emu_t *emu, uintptr_t fcn) { pFXrLiiwwwwwwwwL_p_t fn = (pFXrLiiwwwwwwwwL_p_t)fcn; struct_LiiwwwwwwwwL_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_LiiwwwwwwwwL(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = to_ptrv(fn(getDisplay(from_ptriv(R_ESP + 4)), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptriv(R_ESP + 12))); } +void vFbppuiiiiiiiiipp_pp_32(x64emu_t *emu, uintptr_t fcn) { vFbppuiiiiiiiiipp_pp_t fn = (vFbppuiiiiiiiiipp_pp_t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&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)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void vEEipp_32(x64emu_t *emu, uintptr_t fcn) { vEEipp_t fn = (vEEipp_t)fcn; errno = emu->libc_err; fn(emu, from_ptri(int32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12)); emu->libc_err = errno; } void vFEipp_32(x64emu_t *emu, uintptr_t fcn) { vFEipp_t fn = (vFEipp_t)fcn; fn(emu, from_ptri(int32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12)); } void vEEipV_32(x64emu_t *emu, uintptr_t fcn) { vEEipV_t fn = (vEEipV_t)fcn; errno = emu->libc_err; fn(emu, from_ptri(int32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ptrv(R_ESP + 12)); emu->libc_err = errno; } @@ -3270,6 +3345,8 @@ void IFEpIi_32(x64emu_t *emu, uintptr_t fcn) { IFEpIi_t fn = (IFEpIi_t)fcn; ui64 void CFuuff_32(x64emu_t *emu, uintptr_t fcn) { CFuuff_t fn = (CFuuff_t)fcn; R_EAX = (unsigned char)fn(from_ptri(uint32_t, R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(float, R_ESP + 12), from_ptri(float, R_ESP + 16)); } void uFEuip_32(x64emu_t *emu, uintptr_t fcn) { uFEuip_t fn = (uFEuip_t)fcn; R_EAX = (uint32_t)fn(emu, from_ptri(uint32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12)); } void uFEpii_32(x64emu_t *emu, uintptr_t fcn) { uFEpii_t fn = (uFEpii_t)fcn; R_EAX = (uint32_t)fn(emu, from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12)); } +void uFEpip_32(x64emu_t *emu, uintptr_t fcn) { uFEpip_t fn = (uFEpip_t)fcn; R_EAX = (uint32_t)fn(emu, from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12)); } +void uFEpiV_32(x64emu_t *emu, uintptr_t fcn) { uFEpiV_t fn = (uFEpiV_t)fcn; R_EAX = (uint32_t)fn(emu, from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptrv(R_ESP + 12)); } void uFuuuu_32(x64emu_t *emu, uintptr_t fcn) { uFuuuu_t fn = (uFuuuu_t)fcn; R_EAX = (uint32_t)fn(from_ptri(uint32_t, R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), from_ptri(uint32_t, R_ESP + 16)); } void uFuppd_32(x64emu_t *emu, uintptr_t fcn) { uFuppd_t fn = (uFuppd_t)fcn; R_EAX = (uint32_t)fn(from_ptri(uint32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptri(double, R_ESP + 16)); } void uFpCCC_32(x64emu_t *emu, uintptr_t fcn) { uFpCCC_t fn = (uFpCCC_t)fcn; R_EAX = (uint32_t)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)); } @@ -3370,6 +3447,7 @@ void IEpBp_ii_32(x64emu_t *emu, uintptr_t fcn) { IEpBp_ii_t fn = (IEpBp_ii_t)fcn void IEpBp_ia_32(x64emu_t *emu, uintptr_t fcn) { IEpBp_ia_t fn = (IEpBp_ia_t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; ui64_t r; r.i = fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(int32_t, R_ESP + 12), from_locale(from_ptri(ptr_t, R_ESP + 16))); R_EAX = r.d[0]; R_EDX = r.d[1]; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } void uFppibp__32(x64emu_t *emu, uintptr_t fcn) { uFppibp__t fn = (uFppibp__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 = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_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 uFppibl__32(x64emu_t *emu, uintptr_t fcn) { uFppibl__t fn = (uFppibl__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 = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_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 uFppbp_i_32(x64emu_t *emu, uintptr_t fcn) { uFppbp_i_t fn = (uFppbp_i_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 = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), *(ptr_t*)(from_ptr((R_ESP + 12))) ? &arg_12 : NULL, from_ptri(int32_t, R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void uFpbp_ip_32(x64emu_t *emu, uintptr_t fcn) { uFpbp_ip_t fn = (uFpbp_ip_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 = (uint32_t)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)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } void UEpBp_ii_32(x64emu_t *emu, uintptr_t fcn) { UEpBp_ii_t fn = (UEpBp_ii_t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; ui64_t r; r.u = (uint64_t)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)); R_EAX = r.d[0]; R_EDX = r.d[1]; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } void UEpBp_ia_32(x64emu_t *emu, uintptr_t fcn) { UEpBp_ia_t fn = (UEpBp_ia_t)fcn; errno = emu->libc_err; struct_p_t arg_8={0}; ui64_t r; r.u = (uint64_t)fn(from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(int32_t, R_ESP + 12), from_locale(from_ptri(ptr_t, R_ESP + 16))); R_EAX = r.d[0]; R_EDX = r.d[1]; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_p(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); emu->libc_err = errno; } @@ -3431,22 +3509,28 @@ void iEupuBpppiiip__32(x64emu_t *emu, uintptr_t fcn) { iEupuBpppiiip__t fn = (iE void iFbp_ubpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFbp_ubpu_bpu__t fn = (iFbp_ubpu_bpu__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)))); 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(*(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, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : 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 + 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); } void iFXLuriiiiiLi__32(x64emu_t *emu, uintptr_t fcn) { iFXLuriiiiiLi__t fn = (iFXLuriiiiiLi__t)fcn; struct_iiiiiLi_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_iiiiiLi(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptri(uint32_t, R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); } void uFnibpL_bLpCC__32(x64emu_t *emu, uintptr_t fcn) { uFnibpL_bLpCC__t fn = (uFnibpL_bLpCC__t)fcn; void *aligned_xcb = align_xcb_connection32(from_ptriv(R_ESP + 4)); struct_pL_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_pL(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_LpCC_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_LpCC(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = (uint32_t)fn(aligned_xcb, 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); unalign_xcb_connection32(aligned_xcb, from_ptriv(R_ESP + 4)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_pL(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_LpCC(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } +void iFppubppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { iFppubppuuuuup__t fn = (iFppubppuuuuup__t)fcn; struct_ppuuuuup_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_ppuuuuup(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(from_ptriv(R_ESP + 4), from_ptriv(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_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFpbLL_bLL_bLL__32(x64emu_t *emu, uintptr_t fcn) { iFpbLL_bLL_bLL__t fn = (iFpbLL_bLL_bLL__t)fcn; struct_LL_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_LL(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_LL_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_LL(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_LL_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_LL(&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); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_LL(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_LL(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_LL(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } +void pFppibppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { pFppibppuuuuup__t fn = (pFppibppuuuuup__t)fcn; struct_ppuuuuup_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_ppuuuuup(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = to_ptrv(fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL)); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void vFXLbLLLLLLLLLL_L_32(x64emu_t *emu, uintptr_t fcn) { vFXLbLLLLLLLLLL_L_t fn = (vFXLbLLLLLLLLLL_L_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_ulong(from_ptri(ulong_t, R_ESP + 16))); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_LLLLLLLLLL(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFXLbLLLLLLLLLL_L_32(x64emu_t *emu, uintptr_t fcn) { iFXLbLLLLLLLLLL_L_t fn = (iFXLbLLLLLLLLLL_L_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)))); R_EAX = 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_ulong(from_ptri(ulong_t, R_ESP + 16))); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_LLLLLLLLLL(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void LEpLpriiiiiiiiilt__32(x64emu_t *emu, uintptr_t fcn) { LEpLpriiiiiiiiilt__t fn = (LEpLpriiiiiiiiilt__t)fcn; errno = emu->libc_err; struct_iiiiiiiiilt_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_iiiiiiiiilt(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = to_ulong(fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptriv(R_ESP + 12), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL)); emu->libc_err = errno; } void iFXipBWWWWWWWWWuip__32(x64emu_t *emu, uintptr_t fcn) { iFXipBWWWWWWWWWuip__t fn = (iFXipBWWWWWWWWWuip__t)fcn; struct_WWWWWWWWWuip_t arg_16={0}; R_EAX = fn(getDisplay(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_WWWWWWWWWuip(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void iFXLbLWWWcc_bLWWWcc__32(x64emu_t *emu, uintptr_t fcn) { iFXLbLWWWcc_bLWWWcc__t fn = (iFXLbLWWWcc_bLWWWcc__t)fcn; struct_LWWWcc_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_LWWWcc(&arg_12, *(ptr_t*)(from_ptr((R_ESP + 12)))); struct_LWWWcc_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_LWWWcc(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = 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, *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_LWWWcc(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_LWWWcc(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } +void uFEbppuiiiiiiiiipp_ip_32(x64emu_t *emu, uintptr_t fcn) { uFEbppuiiiiiiiiipp_ip_t fn = (uFEbppuiiiiiiiiipp_ip_t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = (uint32_t)fn(emu, *(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } +void uFbppuiiiiiiiiipp_ipi_32(x64emu_t *emu, uintptr_t fcn) { uFbppuiiiiiiiiipp_ipi_t fn = (uFbppuiiiiiiiiipp_ipi_t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); R_EAX = (uint32_t)fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptri(int32_t, R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 4)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); } void iFpruuipWCCp_buuipWCCp_i_32(x64emu_t *emu, uintptr_t fcn) { iFpruuipWCCp_buuipWCCp_i_t fn = (iFpruuipWCCp_buuipWCCp_i_t)fcn; struct_uuipWCCp_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_uuipWCCp(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); struct_uuipWCCp_t arg_12={0}; if (*(ptr_t*)(from_ptr((R_ESP + 12)))) from_struct_uuipWCCp(&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(int32_t, R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 12)))) to_struct_uuipWCCp(*(ptr_t*)(from_ptr((R_ESP + 12))), &arg_12); } void iFXpLriLLLiiiiiiiLLiiLiiiiLic__32(x64emu_t *emu, uintptr_t fcn) { iFXpLriLLLiiiiiiiLLiiLiiiiLic__t fn = (iFXpLriLLLiiiiiiiLLiiLiiiiLic__t)fcn; struct_iLLLiiiiiiiLLiiLiiiiLic_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_iLLLiiiiiiiLLiiLiiiiLic(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ulong(from_ptri(ulong_t, R_ESP + 12)), *(ptr_t*)(from_ptr((R_ESP + 16))) ? &arg_16 : NULL); } void iFXpLbiLLLiiiiiiiLLiiLiiiiLic__32(x64emu_t *emu, uintptr_t fcn) { iFXpLbiLLLiiiiiiiLLiiLiiiiLic__t fn = (iFXpLbiLLLiiiiiiiLLiiLiiiiLic__t)fcn; struct_iLLLiiiiiiiLLiiLiiiiLic_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_iLLLiiiiiiiLLiiLiiiiLic(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(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_iLLLiiiiiiiLLiiLiiiiLic(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void pFXLLbiLLLiiiiiiiLLiiLiiiiLic__32(x64emu_t *emu, uintptr_t fcn) { pFXLLbiLLLiiiiiiiLLiiLiiiiLic__t fn = (pFXLLbiLLLiiiiiiiLLiiLiiiiLic__t)fcn; struct_iLLLiiiiiiiLLiiLiiiiLic_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_iLLLiiiiiiiLLiiLiiiiLic(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = to_ptrv(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_iLLLiiiiiiiLLiiLiiiiLic(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } +void uFbppuiiiiiiiiipp_ipbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fcn) { uFbppuiiiiiiiiipp_ipbppuiiiiiiiiipp__t fn = (uFbppuiiiiiiiiipp_ipbppuiiiiiiiiipp__t)fcn; struct_ppuiiiiiiiiipp_t arg_4={0}; if (*(ptr_t*)(from_ptr((R_ESP + 4)))) from_struct_ppuiiiiiiiiipp(&arg_4, *(ptr_t*)(from_ptr((R_ESP + 4)))); struct_ppuiiiiiiiiipp_t arg_16={0}; if (*(ptr_t*)(from_ptr((R_ESP + 16)))) from_struct_ppuiiiiiiiiipp(&arg_16, *(ptr_t*)(from_ptr((R_ESP + 16)))); R_EAX = (uint32_t)fn(*(ptr_t*)(from_ptr((R_ESP + 4))) ? &arg_4 : NULL, 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 + 4)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 4))), &arg_4); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_ppuiiiiiiiiipp(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } void vEEiipp_32(x64emu_t *emu, uintptr_t fcn) { vEEiipp_t fn = (vEEiipp_t)fcn; errno = emu->libc_err; fn(emu, from_ptri(int32_t, 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 vEEiipV_32(x64emu_t *emu, uintptr_t fcn) { vEEiipV_t fn = (vEEiipV_t)fcn; errno = emu->libc_err; fn(emu, from_ptri(int32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptrv(R_ESP + 16)); emu->libc_err = errno; } void vFEuipu_32(x64emu_t *emu, uintptr_t fcn) { vFEuipu_t fn = (vFEuipu_t)fcn; fn(emu, from_ptri(uint32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptri(uint32_t, R_ESP + 16)); } void vFEuipp_32(x64emu_t *emu, uintptr_t fcn) { vFEuipp_t fn = (vFEuipp_t)fcn; fn(emu, from_ptri(uint32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); } void vEEpLLp_32(x64emu_t *emu, uintptr_t fcn) { vEEpLLp_t fn = (vEEpLLp_t)fcn; errno = emu->libc_err; fn(emu, from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ulong(from_ptri(ulong_t, R_ESP + 12)), from_ptriv(R_ESP + 16)); emu->libc_err = errno; } void vEEppiV_32(x64emu_t *emu, uintptr_t fcn) { vEEppiV_t fn = (vEEppiV_t)fcn; errno = emu->libc_err; fn(emu, from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptrv(R_ESP + 16)); emu->libc_err = errno; } +void vFEpppp_32(x64emu_t *emu, uintptr_t fcn) { vFEpppp_t fn = (vFEpppp_t)fcn; fn(emu, from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); } void vFEXLpL_32(x64emu_t *emu, uintptr_t fcn) { vFEXLpL_t fn = (vFEXLpL_t)fcn; fn(emu, getDisplay(from_ptriv(R_ESP + 4)), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ptriv(R_ESP + 12), from_ulong(from_ptri(ulong_t, R_ESP + 16))); } void vFiiiii_32(x64emu_t *emu, uintptr_t fcn) { vFiiiii_t fn = (vFiiiii_t)fcn; fn(from_ptri(int32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptri(int32_t, R_ESP + 20)); } void vFiiiiu_32(x64emu_t *emu, uintptr_t fcn) { vFiiiiu_t fn = (vFiiiiu_t)fcn; fn(from_ptri(int32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptri(uint32_t, R_ESP + 20)); } @@ -3629,6 +3713,7 @@ void iFXpipi_32(x64emu_t *emu, uintptr_t fcn) { iFXpipi_t fn = (iFXpipi_t)fcn; R void iFXpppp_32(x64emu_t *emu, uintptr_t fcn) { iFXpppp_t fn = (iFXpppp_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20)); } void IFXpIII_32(x64emu_t *emu, uintptr_t fcn) { IFXpIII_t fn = (IFXpIII_t)fcn; ui64_t r; r.i = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptri(int64_t, R_ESP + 12), from_ptri(int64_t, R_ESP + 20), from_ptri(int64_t, R_ESP + 28)); R_EAX = r.d[0]; R_EDX = r.d[1]; } void uEEippu_32(x64emu_t *emu, uintptr_t fcn) { uEEippu_t fn = (uEEippu_t)fcn; errno = emu->libc_err; R_EAX = (uint32_t)fn(emu, from_ptri(int32_t, R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptri(uint32_t, R_ESP + 16)); emu->libc_err = errno; } +void uFEpipp_32(x64emu_t *emu, uintptr_t fcn) { uFEpipp_t fn = (uFEpipp_t)fcn; R_EAX = (uint32_t)fn(emu, from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); } void uFEpppp_32(x64emu_t *emu, uintptr_t fcn) { uFEpppp_t fn = (uFEpppp_t)fcn; R_EAX = (uint32_t)fn(emu, from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16)); } void uFpuupp_32(x64emu_t *emu, uintptr_t fcn) { uFpuupp_t fn = (uFpuupp_t)fcn; R_EAX = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20)); } void uEpLLLS_32(x64emu_t *emu, uintptr_t fcn) { uEpLLLS_t fn = (uEpLLLS_t)fcn; errno = emu->libc_err; R_EAX = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ulong(from_ptri(ulong_t, R_ESP + 8)), from_ulong(from_ptri(ulong_t, R_ESP + 12)), from_ulong(from_ptri(ulong_t, R_ESP + 16)), io_convert32(from_ptriv(R_ESP + 20))); emu->libc_err = errno; } @@ -3735,6 +3820,9 @@ 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 uFEpbppuuuuup_ip_32(x64emu_t *emu, uintptr_t fcn) { uFEpbppuuuuup_ip_t fn = (uFEpbppuuuuup_ip_t)fcn; struct_ppuuuuup_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuuuuup(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = (uint32_t)fn(emu, 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)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void uFEpbppuuuuup_iV_32(x64emu_t *emu, uintptr_t fcn) { uFEpbppuuuuup_iV_t fn = (uFEpbppuuuuup_iV_t)fcn; struct_ppuuuuup_t arg_8={0}; if (*(ptr_t*)(from_ptr((R_ESP + 8)))) from_struct_ppuuuuup(&arg_8, *(ptr_t*)(from_ptr((R_ESP + 8)))); R_EAX = (uint32_t)fn(emu, from_ptriv(R_ESP + 4), *(ptr_t*)(from_ptr((R_ESP + 8))) ? &arg_8 : NULL, from_ptri(int32_t, R_ESP + 12), from_ptrv(R_ESP + 16)); if (*(ptr_t*)(from_ptr((R_ESP + 8)))) to_struct_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 8))), &arg_8); } +void uFppupbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { uFppupbppuuuuup__t fn = (uFppupbppuuuuup__t)fcn; struct_ppuuuuup_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_ppuuuuup(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptri(uint32_t, 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_ppuuuuup(*(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); } @@ -3934,6 +4022,7 @@ void vFbp_bppup_ippbp__32(x64emu_t *emu, uintptr_t fcn) { vFbp_bppup_ippbp__t fn void iFpupbpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFpupbpu_bpu_bpu__t fn = (iFpupbpu_bpu_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)))); struct_pu_t arg_24={0}; if (*(ptr_t*)(from_ptr((R_ESP + 24)))) from_struct_pu(&arg_24, *(ptr_t*)(from_ptr((R_ESP + 24)))); 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, *(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_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); if (*(ptr_t*)(from_ptr((R_ESP + 24)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 24))), &arg_24); } void iFpubpu_bpu_bpu_p_32(x64emu_t *emu, uintptr_t fcn) { iFpubpu_bpu_bpu_p_t fn = (iFpubpu_bpu_bpu_p_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, from_ptriv(R_ESP + 24)); 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 iFpbpu_bpu_bpu_uu_32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_bpu_bpu_uu_t fn = (iFpbpu_bpu_bpu_uu_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)))); 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(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); if (*(ptr_t*)(from_ptr((R_ESP + 16)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 16))), &arg_16); } +void uFEppppbppuuuuup__32(x64emu_t *emu, uintptr_t fcn) { uFEppppbppuuuuup__t fn = (uFEppppbppuuuuup__t)fcn; struct_ppuuuuup_t arg_20={0}; if (*(ptr_t*)(from_ptr((R_ESP + 20)))) from_struct_ppuuuuup(&arg_20, *(ptr_t*)(from_ptr((R_ESP + 20)))); R_EAX = (uint32_t)fn(emu, 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_ppuuuuup(*(ptr_t*)(from_ptr((R_ESP + 20))), &arg_20); } void iFpubpu_bpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFpubpu_bpu_bpu_bpu__t fn = (iFpubpu_bpu_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)))); struct_pu_t arg_24={0}; if (*(ptr_t*)(from_ptr((R_ESP + 24)))) from_struct_pu(&arg_24, *(ptr_t*)(from_ptr((R_ESP + 24)))); 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, *(ptr_t*)(from_ptr((R_ESP + 24))) ? &arg_24 : 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); if (*(ptr_t*)(from_ptr((R_ESP + 24)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 24))), &arg_24); } void iFppbpu_bpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFppbpu_bpu_bpu_bpu__t fn = (iFppbpu_bpu_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)))); struct_pu_t arg_24={0}; if (*(ptr_t*)(from_ptr((R_ESP + 24)))) from_struct_pu(&arg_24, *(ptr_t*)(from_ptr((R_ESP + 24)))); 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, *(ptr_t*)(from_ptr((R_ESP + 24))) ? &arg_24 : 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); if (*(ptr_t*)(from_ptr((R_ESP + 24)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 24))), &arg_24); } void iFpbpu_bpu_bpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fcn) { iFpbpu_bpu_bpu_bpu_bpu__t fn = (iFpbpu_bpu_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)))); struct_pu_t arg_24={0}; if (*(ptr_t*)(from_ptr((R_ESP + 24)))) from_struct_pu(&arg_24, *(ptr_t*)(from_ptr((R_ESP + 24)))); 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, *(ptr_t*)(from_ptr((R_ESP + 24))) ? &arg_24 : 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); if (*(ptr_t*)(from_ptr((R_ESP + 24)))) to_struct_pu(*(ptr_t*)(from_ptr((R_ESP + 24))), &arg_24); } @@ -4027,6 +4116,7 @@ void iFXLppiii_32(x64emu_t *emu, uintptr_t fcn) { iFXLppiii_t fn = (iFXLppiii_t) void iFXpiipii_32(x64emu_t *emu, uintptr_t fcn) { iFXpiipii_t fn = (iFXpiipii_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ptri(int32_t, R_ESP + 12), from_ptri(int32_t, R_ESP + 16), from_ptriv(R_ESP + 20), from_ptri(int32_t, R_ESP + 24), from_ptri(int32_t, R_ESP + 28)); } void iFXpLiWwL_32(x64emu_t *emu, uintptr_t fcn) { iFXpLiWwL_t fn = (iFXpLiWwL_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ulong(from_ptri(ulong_t, R_ESP + 12)), from_ptri(int32_t, R_ESP + 16), from_ptri(uint16_t, R_ESP + 20), from_ptri(int16_t, R_ESP + 24), from_ulong(from_ptri(ulong_t, R_ESP + 28))); } void iFXpLuuii_32(x64emu_t *emu, uintptr_t fcn) { iFXpLuuii_t fn = (iFXpLuuii_t)fcn; R_EAX = fn(getDisplay(from_ptriv(R_ESP + 4)), from_ptriv(R_ESP + 8), from_ulong(from_ptri(ulong_t, R_ESP + 12)), from_ptri(uint32_t, R_ESP + 16), from_ptri(uint32_t, R_ESP + 20), from_ptri(int32_t, R_ESP + 24), from_ptri(int32_t, R_ESP + 28)); } +void uFEpppppp_32(x64emu_t *emu, uintptr_t fcn) { uFEpppppp_t fn = (uFEpppppp_t)fcn; R_EAX = (uint32_t)fn(emu, from_ptriv(R_ESP + 4), from_ptriv(R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20), from_ptriv(R_ESP + 24)); } void uFuippppp_32(x64emu_t *emu, uintptr_t fcn) { uFuippppp_t fn = (uFuippppp_t)fcn; R_EAX = (uint32_t)fn(from_ptri(uint32_t, R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20), from_ptriv(R_ESP + 24), from_ptriv(R_ESP + 28)); } void uFpippppp_32(x64emu_t *emu, uintptr_t fcn) { uFpippppp_t fn = (uFpippppp_t)fcn; R_EAX = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptri(int32_t, R_ESP + 8), from_ptriv(R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20), from_ptriv(R_ESP + 24), from_ptriv(R_ESP + 28)); } void uFpuupppp_32(x64emu_t *emu, uintptr_t fcn) { uFpuupppp_t fn = (uFpuupppp_t)fcn; R_EAX = (uint32_t)fn(from_ptriv(R_ESP + 4), from_ptri(uint32_t, R_ESP + 8), from_ptri(uint32_t, R_ESP + 12), from_ptriv(R_ESP + 16), from_ptriv(R_ESP + 20), from_ptriv(R_ESP + 24), from_ptriv(R_ESP + 28)); } diff --git a/src/wrapped32/generated/wrapper32.h b/src/wrapped32/generated/wrapper32.h index 4c07e801..058052a5 100644 --- a/src/wrapped32/generated/wrapper32.h +++ b/src/wrapped32/generated/wrapper32.h @@ -185,10 +185,18 @@ void vFbLdd__32(x64emu_t *emu, uintptr_t fnc); void vFbupi__32(x64emu_t *emu, uintptr_t fnc); void iErLWww__32(x64emu_t *emu, uintptr_t fnc); void iEBllll__32(x64emu_t *emu, uintptr_t fnc); +void iFbppuii__32(x64emu_t *emu, uintptr_t fnc); +void uFbppuii__32(x64emu_t *emu, uintptr_t fnc); +void pFbppuii__32(x64emu_t *emu, uintptr_t fnc); void vFbuuipWCCp__32(x64emu_t *emu, uintptr_t fnc); +void vFbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); +void uFbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); void vFbWWpWpWpWp__32(x64emu_t *emu, uintptr_t fnc); void LEbiiiiiiiiilt__32(x64emu_t *emu, uintptr_t fnc); void pEriiiiiiiiilt__32(x64emu_t *emu, uintptr_t fnc); +void iFbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fnc); +void uFbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fnc); +void pFbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fnc); void vEEv_32(x64emu_t *emu, uintptr_t fnc); void vFEv_32(x64emu_t *emu, uintptr_t fnc); void vFEi_32(x64emu_t *emu, uintptr_t fnc); @@ -427,6 +435,7 @@ void iFbp_u_32(x64emu_t *emu, uintptr_t fnc); void iFbp_p_32(x64emu_t *emu, uintptr_t fnc); void iFXbL__32(x64emu_t *emu, uintptr_t fnc); void uFpbp__32(x64emu_t *emu, uintptr_t fnc); +void uFpbL__32(x64emu_t *emu, uintptr_t fnc); void fEpBp__32(x64emu_t *emu, uintptr_t fnc); void dEpBp__32(x64emu_t *emu, uintptr_t fnc); void lFpbp__32(x64emu_t *emu, uintptr_t fnc); @@ -454,6 +463,7 @@ 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 vFbppuii_p_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); void pErppppii_p_32(x64emu_t *emu, uintptr_t fnc); @@ -461,10 +471,21 @@ void vFbll_rllll__32(x64emu_t *emu, uintptr_t fnc); void iEbpppiiip_p_32(x64emu_t *emu, uintptr_t fnc); void iFXbiiuuLip__32(x64emu_t *emu, uintptr_t fnc); void iFpruuipWCCp__32(x64emu_t *emu, uintptr_t fnc); +void uFpbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); +void uFbppuuuuup_p_32(x64emu_t *emu, uintptr_t fnc); +void pFubppuuuuup__32(x64emu_t *emu, uintptr_t fnc); +void pFpbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); +void vFbppuii_bppuii__32(x64emu_t *emu, uintptr_t fnc); void lEEriiiiiiiiilt__32(x64emu_t *emu, uintptr_t fnc); void pEriiiiiiiiilt_p_32(x64emu_t *emu, uintptr_t fnc); void LFXrLiiwwwwwwwwL__32(x64emu_t *emu, uintptr_t fnc); +void vFpbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fnc); +void vFbppuiiiiiiiiipp_p_32(x64emu_t *emu, uintptr_t fnc); +void uFpbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fnc); +void vFbppuuuuup_bppuuuuup__32(x64emu_t *emu, uintptr_t fnc); void iEiBLLLLLLLLLLLLLLLLLL__32(x64emu_t *emu, uintptr_t fnc); +void vFbppuiiiiiiiiipp_bppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fnc); +void uFbppuiiiiiiiiipp_bppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fnc); void vEEip_32(x64emu_t *emu, uintptr_t fnc); void vFEip_32(x64emu_t *emu, uintptr_t fnc); void vEEpi_32(x64emu_t *emu, uintptr_t fnc); @@ -821,6 +842,8 @@ void iFXBL_p_32(x64emu_t *emu, uintptr_t fnc); void iFXbp_p_32(x64emu_t *emu, uintptr_t fnc); void iFXbL_p_32(x64emu_t *emu, uintptr_t fnc); void IEpBp_i_32(x64emu_t *emu, uintptr_t fnc); +void uFppbp__32(x64emu_t *emu, uintptr_t fnc); +void uFpbp_p_32(x64emu_t *emu, uintptr_t fnc); void UEpBp_i_32(x64emu_t *emu, uintptr_t fnc); void fEpBp_p_32(x64emu_t *emu, uintptr_t fnc); void fEpBp_a_32(x64emu_t *emu, uintptr_t fnc); @@ -873,10 +896,17 @@ void iFubpu_bpu__32(x64emu_t *emu, uintptr_t fnc); void iFpbpu_bpu__32(x64emu_t *emu, uintptr_t fnc); void iFbpu_bpu_u_32(x64emu_t *emu, uintptr_t fnc); void iFXLbLWWWcc__32(x64emu_t *emu, uintptr_t fnc); +void vFppbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); +void vFbppuuuuup_pp_32(x64emu_t *emu, uintptr_t fnc); +void iFppbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); void iFbpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fnc); +void uFppbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); +void LFppbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); +void pFpibppuuuuup__32(x64emu_t *emu, uintptr_t fnc); void iEirLLLL_BLLLL__32(x64emu_t *emu, uintptr_t fnc); void pEppriiiiiiiiilt__32(x64emu_t *emu, uintptr_t fnc); void pFXrLiiwwwwwwwwL_p_32(x64emu_t *emu, uintptr_t fnc); +void vFbppuiiiiiiiiipp_pp_32(x64emu_t *emu, uintptr_t fnc); void vEEipp_32(x64emu_t *emu, uintptr_t fnc); void vFEipp_32(x64emu_t *emu, uintptr_t fnc); void vEEipV_32(x64emu_t *emu, uintptr_t fnc); @@ -1115,6 +1145,8 @@ void IFEpIi_32(x64emu_t *emu, uintptr_t fnc); void CFuuff_32(x64emu_t *emu, uintptr_t fnc); void uFEuip_32(x64emu_t *emu, uintptr_t fnc); void uFEpii_32(x64emu_t *emu, uintptr_t fnc); +void uFEpip_32(x64emu_t *emu, uintptr_t fnc); +void uFEpiV_32(x64emu_t *emu, uintptr_t fnc); void uFuuuu_32(x64emu_t *emu, uintptr_t fnc); void uFuppd_32(x64emu_t *emu, uintptr_t fnc); void uFpCCC_32(x64emu_t *emu, uintptr_t fnc); @@ -1215,6 +1247,7 @@ void IEpBp_ii_32(x64emu_t *emu, uintptr_t fnc); void IEpBp_ia_32(x64emu_t *emu, uintptr_t fnc); void uFppibp__32(x64emu_t *emu, uintptr_t fnc); void uFppibl__32(x64emu_t *emu, uintptr_t fnc); +void uFppbp_i_32(x64emu_t *emu, uintptr_t fnc); void uFpbp_ip_32(x64emu_t *emu, uintptr_t fnc); void UEpBp_ii_32(x64emu_t *emu, uintptr_t fnc); void UEpBp_ia_32(x64emu_t *emu, uintptr_t fnc); @@ -1276,22 +1309,28 @@ void iEupuBpppiiip__32(x64emu_t *emu, uintptr_t fnc); void iFbp_ubpu_bpu__32(x64emu_t *emu, uintptr_t fnc); void iFXLuriiiiiLi__32(x64emu_t *emu, uintptr_t fnc); void uFnibpL_bLpCC__32(x64emu_t *emu, uintptr_t fnc); +void iFppubppuuuuup__32(x64emu_t *emu, uintptr_t fnc); void iFpbLL_bLL_bLL__32(x64emu_t *emu, uintptr_t fnc); +void pFppibppuuuuup__32(x64emu_t *emu, uintptr_t fnc); void vFXLbLLLLLLLLLL_L_32(x64emu_t *emu, uintptr_t fnc); void iFXLbLLLLLLLLLL_L_32(x64emu_t *emu, uintptr_t fnc); void LEpLpriiiiiiiiilt__32(x64emu_t *emu, uintptr_t fnc); void iFXipBWWWWWWWWWuip__32(x64emu_t *emu, uintptr_t fnc); void iFXLbLWWWcc_bLWWWcc__32(x64emu_t *emu, uintptr_t fnc); +void uFEbppuiiiiiiiiipp_ip_32(x64emu_t *emu, uintptr_t fnc); +void uFbppuiiiiiiiiipp_ipi_32(x64emu_t *emu, uintptr_t fnc); void iFpruuipWCCp_buuipWCCp_i_32(x64emu_t *emu, uintptr_t fnc); void iFXpLriLLLiiiiiiiLLiiLiiiiLic__32(x64emu_t *emu, uintptr_t fnc); void iFXpLbiLLLiiiiiiiLLiiLiiiiLic__32(x64emu_t *emu, uintptr_t fnc); void pFXLLbiLLLiiiiiiiLLiiLiiiiLic__32(x64emu_t *emu, uintptr_t fnc); +void uFbppuiiiiiiiiipp_ipbppuiiiiiiiiipp__32(x64emu_t *emu, uintptr_t fnc); void vEEiipp_32(x64emu_t *emu, uintptr_t fnc); void vEEiipV_32(x64emu_t *emu, uintptr_t fnc); void vFEuipu_32(x64emu_t *emu, uintptr_t fnc); void vFEuipp_32(x64emu_t *emu, uintptr_t fnc); void vEEpLLp_32(x64emu_t *emu, uintptr_t fnc); void vEEppiV_32(x64emu_t *emu, uintptr_t fnc); +void vFEpppp_32(x64emu_t *emu, uintptr_t fnc); void vFEXLpL_32(x64emu_t *emu, uintptr_t fnc); void vFiiiii_32(x64emu_t *emu, uintptr_t fnc); void vFiiiiu_32(x64emu_t *emu, uintptr_t fnc); @@ -1474,6 +1513,7 @@ void iFXpipi_32(x64emu_t *emu, uintptr_t fnc); void iFXpppp_32(x64emu_t *emu, uintptr_t fnc); void IFXpIII_32(x64emu_t *emu, uintptr_t fnc); void uEEippu_32(x64emu_t *emu, uintptr_t fnc); +void uFEpipp_32(x64emu_t *emu, uintptr_t fnc); void uFEpppp_32(x64emu_t *emu, uintptr_t fnc); void uFpuupp_32(x64emu_t *emu, uintptr_t fnc); void uEpLLLS_32(x64emu_t *emu, uintptr_t fnc); @@ -1580,6 +1620,9 @@ 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 uFEpbppuuuuup_ip_32(x64emu_t *emu, uintptr_t fnc); +void uFEpbppuuuuup_iV_32(x64emu_t *emu, uintptr_t fnc); +void uFppupbppuuuuup__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); @@ -1779,6 +1822,7 @@ void vFbp_bppup_ippbp__32(x64emu_t *emu, uintptr_t fnc); void iFpupbpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fnc); void iFpubpu_bpu_bpu_p_32(x64emu_t *emu, uintptr_t fnc); void iFpbpu_bpu_bpu_uu_32(x64emu_t *emu, uintptr_t fnc); +void uFEppppbppuuuuup__32(x64emu_t *emu, uintptr_t fnc); void iFpubpu_bpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fnc); void iFppbpu_bpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fnc); void iFpbpu_bpu_bpu_bpu_bpu__32(x64emu_t *emu, uintptr_t fnc); @@ -1872,6 +1916,7 @@ void iFXLppiii_32(x64emu_t *emu, uintptr_t fnc); void iFXpiipii_32(x64emu_t *emu, uintptr_t fnc); void iFXpLiWwL_32(x64emu_t *emu, uintptr_t fnc); void iFXpLuuii_32(x64emu_t *emu, uintptr_t fnc); +void uFEpppppp_32(x64emu_t *emu, uintptr_t fnc); void uFuippppp_32(x64emu_t *emu, uintptr_t fnc); void uFpippppp_32(x64emu_t *emu, uintptr_t fnc); void uFpuupppp_32(x64emu_t *emu, uintptr_t fnc); diff --git a/src/wrapped32/wrappeddbus.c b/src/wrapped32/wrappeddbus.c new file mode 100644 index 00000000..9f8bbd1b --- /dev/null +++ b/src/wrapped32/wrappeddbus.c @@ -0,0 +1,653 @@ +#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 "callback.h" +#include "myalign32.h" +#include "converter32.h" + +static const char* dbusName = "libdbus-1.so.3"; +#define LIBNAME dbus + +typedef uint32_t (*uFpiA_t)(void*, int, va_list); +typedef uint32_t (*uFppiA_t)(void*, void*, int, va_list); + +#define ADDED_FUNCTIONS() \ +GO(dbus_message_append_args_valist, uFpiA_t) \ +GO(dbus_message_get_args_valist, uFppiA_t) \ + +#include "generated/wrappeddbustypes32.h" + +#include "wrappercallback32.h" + + +#define NF 4 +#define SUPER() \ +GO(0) \ +GO(1) \ +GO(2) \ +GO(3) + +// DBusFreeFunction +#define GO(A) \ +static uintptr_t my_DBusFreeFunction_fct_##A = 0; \ +static void my_DBusFreeFunction_##A(void* p) \ +{ \ + RunFunctionFmt(my_DBusFreeFunction_fct_##A, "p", p); \ +} +SUPER() +#undef GO +static void* find_DBusFreeFunction_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusFreeFunction_fct_##A == (uintptr_t)fct) return my_DBusFreeFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusFreeFunction_fct_##A == 0) {my_DBusFreeFunction_fct_##A = (uintptr_t)fct; return my_DBusFreeFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libdbus-1.so DBusFreeFunction callback\n"); + return NULL; +} +// DBusHandleMessageFunction +#define GO(A) \ +static uintptr_t my_DBusHandleMessageFunction_fct_##A = 0; \ +static int my_DBusHandleMessageFunction_##A(void* a, void* b, void* c) \ +{ \ + return RunFunctionFmt(my_DBusHandleMessageFunction_fct_##A, "ppp", a, b, c); \ +} +SUPER() +#undef GO +static void* find_DBusHandleMessageFunction_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusHandleMessageFunction_fct_##A == (uintptr_t)fct) return my_DBusHandleMessageFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusHandleMessageFunction_fct_##A == 0) {my_DBusHandleMessageFunction_fct_##A = (uintptr_t)fct; return my_DBusHandleMessageFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libdbus-1.so DBusHandleMessageFunction callback\n"); + return NULL; +} +// DBusAddTimeoutFunction +#define GO(A) \ +static uintptr_t my_DBusAddTimeoutFunction_fct_##A = 0; \ +static int my_DBusAddTimeoutFunction_##A(void* a, void* b) \ +{ \ + return RunFunctionFmt(my_DBusAddTimeoutFunction_fct_##A, "pp", a, b); \ +} +SUPER() +#undef GO +static void* find_DBusAddTimeoutFunction_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusAddTimeoutFunction_fct_##A == (uintptr_t)fct) return my_DBusAddTimeoutFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusAddTimeoutFunction_fct_##A == 0) {my_DBusAddTimeoutFunction_fct_##A = (uintptr_t)fct; return my_DBusAddTimeoutFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libdbus-1.so DBusAddTimeoutFunction callback\n"); + return NULL; +} +// DBusRemoveTimeoutFunction +#define GO(A) \ +static uintptr_t my_DBusRemoveTimeoutFunction_fct_##A = 0; \ +static void my_DBusRemoveTimeoutFunction_##A(void* a, void* b) \ +{ \ + RunFunctionFmt(my_DBusRemoveTimeoutFunction_fct_##A, "pp", a, b); \ +} +SUPER() +#undef GO +static void* find_DBusRemoveTimeoutFunction_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusRemoveTimeoutFunction_fct_##A == (uintptr_t)fct) return my_DBusRemoveTimeoutFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusRemoveTimeoutFunction_fct_##A == 0) {my_DBusRemoveTimeoutFunction_fct_##A = (uintptr_t)fct; return my_DBusRemoveTimeoutFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libdbus-1.so DBusRemoveTimeoutFunction callback\n"); + return NULL; +} +// DBusTimeoutToggledFunction +#define GO(A) \ +static uintptr_t my_DBusTimeoutToggledFunction_fct_##A = 0; \ +static void my_DBusTimeoutToggledFunction_##A(void* a, void* b) \ +{ \ + RunFunctionFmt(my_DBusTimeoutToggledFunction_fct_##A, "pp", a, b); \ +} +SUPER() +#undef GO +static void* find_DBusTimeoutToggledFunction_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusTimeoutToggledFunction_fct_##A == (uintptr_t)fct) return my_DBusTimeoutToggledFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusTimeoutToggledFunction_fct_##A == 0) {my_DBusTimeoutToggledFunction_fct_##A = (uintptr_t)fct; return my_DBusTimeoutToggledFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libdbus-1.so DBusTimeoutToggledFunction callback\n"); + return NULL; +} +// DBusWakeupMainFunction +#define GO(A) \ +static uintptr_t my_DBusWakeupMainFunction_fct_##A = 0; \ +static void my_DBusWakeupMainFunction_##A(void* a) \ +{ \ + RunFunctionFmt(my_DBusWakeupMainFunction_fct_##A, "p", a); \ +} +SUPER() +#undef GO +static void* find_DBusWakeupMainFunction_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusWakeupMainFunction_fct_##A == (uintptr_t)fct) return my_DBusWakeupMainFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusWakeupMainFunction_fct_##A == 0) {my_DBusWakeupMainFunction_fct_##A = (uintptr_t)fct; return my_DBusWakeupMainFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libdbus-1.so DBusWakeupMainFunction callback\n"); + return NULL; +} + +// DBusPendingCallNotifyFunction +#define GO(A) \ +static uintptr_t my_DBusPendingCallNotifyFunction_fct_##A = 0; \ +static void my_DBusPendingCallNotifyFunction_##A(void* pending, void* data) \ +{ \ + RunFunctionFmt(my_DBusPendingCallNotifyFunction_fct_##A, "pp", pending, data);\ +} +SUPER() +#undef GO +static void* findDBusPendingCallNotifyFunctionFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusPendingCallNotifyFunction_fct_##A == (uintptr_t)fct) return my_DBusPendingCallNotifyFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusPendingCallNotifyFunction_fct_##A == 0) {my_DBusPendingCallNotifyFunction_fct_##A = (uintptr_t)fct; return my_DBusPendingCallNotifyFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus DBusPendingCallNotifyFunction callback\n"); + return NULL; +} + +// DBusDispatchStatusFunction +#define GO(A) \ +static uintptr_t my_DBusDispatchStatusFunction_fct_##A = 0; \ +static void my_DBusDispatchStatusFunction_##A(void* connection, int new_status, void* data) \ +{ \ + RunFunctionFmt(my_DBusDispatchStatusFunction_fct_##A, "pip", connection, new_status, data);\ +} +SUPER() +#undef GO +static void* findDBusDispatchStatusFunctionFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusDispatchStatusFunction_fct_##A == (uintptr_t)fct) return my_DBusDispatchStatusFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusDispatchStatusFunction_fct_##A == 0) {my_DBusDispatchStatusFunction_fct_##A = (uintptr_t)fct; return my_DBusDispatchStatusFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus DBusDispatchStatusFunction callback\n"); + return NULL; +} + +// DBusAddWatchFunction +#define GO(A) \ +static uintptr_t my_DBusAddWatchFunction_fct_##A = 0; \ +static int my_DBusAddWatchFunction_##A(void* watch, void* data) \ +{ \ + return (int)RunFunctionFmt(my_DBusAddWatchFunction_fct_##A, "pp", watch, data);\ +} +SUPER() +#undef GO +static void* findDBusAddWatchFunctionFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusAddWatchFunction_fct_##A == (uintptr_t)fct) return my_DBusAddWatchFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusAddWatchFunction_fct_##A == 0) {my_DBusAddWatchFunction_fct_##A = (uintptr_t)fct; return my_DBusAddWatchFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus DBusAddWatchFunction callback\n"); + return NULL; +} + +// DBusRemoveWatchFunction +#define GO(A) \ +static uintptr_t my_DBusRemoveWatchFunction_fct_##A = 0; \ +static void my_DBusRemoveWatchFunction_##A(void* watch, void* data) \ +{ \ + RunFunctionFmt(my_DBusRemoveWatchFunction_fct_##A, "pp", watch, data);\ +} +SUPER() +#undef GO +static void* findDBusRemoveWatchFunctionFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusRemoveWatchFunction_fct_##A == (uintptr_t)fct) return my_DBusRemoveWatchFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusRemoveWatchFunction_fct_##A == 0) {my_DBusRemoveWatchFunction_fct_##A = (uintptr_t)fct; return my_DBusRemoveWatchFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus DBusRemoveWatchFunction callback\n"); + return NULL; +} + +// DBusWatchToggledFunction +#define GO(A) \ +static uintptr_t my_DBusWatchToggledFunction_fct_##A = 0; \ +static void my_DBusWatchToggledFunction_##A(void* watch, void* data) \ +{ \ + RunFunctionFmt(my_DBusWatchToggledFunction_fct_##A, "pp", watch, data);\ +} +SUPER() +#undef GO +static void* findDBusWatchToggledFunctionFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusWatchToggledFunction_fct_##A == (uintptr_t)fct) return my_DBusWatchToggledFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusWatchToggledFunction_fct_##A == 0) {my_DBusWatchToggledFunction_fct_##A = (uintptr_t)fct; return my_DBusWatchToggledFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus DBusWatchToggledFunction callback\n"); + return NULL; +} + +// DBusObjectPathUnregisterFunction +#define GO(A) \ +static uintptr_t my_DBusObjectPathUnregisterFunction_fct_##A = 0; \ +static void my_DBusObjectPathUnregisterFunction_##A(void* connection, void* data) \ +{ \ + RunFunctionFmt(my_DBusObjectPathUnregisterFunction_fct_##A, "pp", connection, data);\ +} +SUPER() +#undef GO +static void* findDBusObjectPathUnregisterFunctionFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusObjectPathUnregisterFunction_fct_##A == (uintptr_t)fct) return my_DBusObjectPathUnregisterFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusObjectPathUnregisterFunction_fct_##A == 0) {my_DBusObjectPathUnregisterFunction_fct_##A = (uintptr_t)fct; return my_DBusObjectPathUnregisterFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus DBusObjectPathUnregisterFunction callback\n"); + return NULL; +} + +// DBusObjectPathMessageFunction +#define GO(A) \ +static uintptr_t my_DBusObjectPathMessageFunction_fct_##A = 0; \ +static void my_DBusObjectPathMessageFunction_##A(void* connection, void* message, void* data) \ +{ \ + RunFunctionFmt(my_DBusObjectPathMessageFunction_fct_##A, "ppp", connection, message, data);\ +} +SUPER() +#undef GO +static void* findDBusObjectPathMessageFunctionFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusObjectPathMessageFunction_fct_##A == (uintptr_t)fct) return my_DBusObjectPathMessageFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusObjectPathMessageFunction_fct_##A == 0) {my_DBusObjectPathMessageFunction_fct_##A = (uintptr_t)fct; return my_DBusObjectPathMessageFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus DBusObjectPathMessageFunction callback\n"); + return NULL; +} + +// dbus_internal_pad +#define GO(A) \ +static uintptr_t my_dbus_internal_pad_fct_##A = 0; \ +static void my_dbus_internal_pad_##A(void* a, void* b, void* c, void* d) \ +{ \ + RunFunctionFmt(my_dbus_internal_pad_fct_##A, "pppp", a, b, c, d);\ +} +SUPER() +#undef GO +static void* finddbus_internal_padFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_dbus_internal_pad_fct_##A == (uintptr_t)fct) return my_dbus_internal_pad_##A; + SUPER() + #undef GO + #define GO(A) if(my_dbus_internal_pad_fct_##A == 0) {my_dbus_internal_pad_fct_##A = (uintptr_t)fct; return my_dbus_internal_pad_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus dbus_internal_pad callback\n"); + return NULL; +} + +// DBusNewConnectionFunction +#define GO(A) \ +static uintptr_t my_DBusNewConnectionFunction_fct_##A = 0; \ +static void my_DBusNewConnectionFunction_##A(void* a, void* b, void* c) \ +{ \ + RunFunctionFmt(my_DBusNewConnectionFunction_fct_##A, "pppp", a, b, c); \ +} +SUPER() +#undef GO +static void* findDBusNewConnectionFunctionFct(void* fct) +{ + if(!fct) return NULL; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_DBusNewConnectionFunction_fct_##A == (uintptr_t)fct) return my_DBusNewConnectionFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_DBusNewConnectionFunction_fct_##A == 0) {my_DBusNewConnectionFunction_fct_##A = (uintptr_t)fct; return my_DBusNewConnectionFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for dbus DBusNewConnectionFunction callback\n"); + return NULL; +} + + +#undef SUPER + +EXPORT void my32_dbus_timeout_set_data(x64emu_t* emu, void* e, void* p, void* f) +{ + (void)emu; + my->dbus_timeout_set_data(e, p, find_DBusFreeFunction_Fct(f)); +} + +EXPORT int32_t my32_dbus_connection_set_timeout_functions(x64emu_t* emu, void* c, void* a, void* r, void* t, void* d, void* f) +{ + (void)emu; + return my->dbus_connection_set_timeout_functions(c, + find_DBusAddTimeoutFunction_Fct(a), + find_DBusRemoveTimeoutFunction_Fct(r), + find_DBusTimeoutToggledFunction_Fct(t), + d, find_DBusFreeFunction_Fct(f)); +} +EXPORT int my32_dbus_connection_add_filter(x64emu_t* emu, void* connection, void* fnc, void* data, void* fr) +{ + (void)emu; + return my->dbus_connection_add_filter(connection, find_DBusHandleMessageFunction_Fct(fnc), data, find_DBusFreeFunction_Fct(fr)); +} +EXPORT void my32_dbus_connection_remove_filter(x64emu_t* emu, void* connection, void* fnc, void* data) +{ + (void)emu; + my->dbus_connection_remove_filter(connection, find_DBusHandleMessageFunction_Fct(fnc), data); +} + +EXPORT int my32_dbus_message_get_args(x64emu_t* emu, void* message, void* e, int arg, ptr_t* V) +{ + (void)emu; + int idx = 0; + int type = arg; + int nstr = 0; + // count + while(type) { + if(type == ((int)'s')) nstr++; + type = V[idx*2+1]; + idx++; + } + int count = idx*2+2; + void* array[count + nstr]; + type = arg; + idx = 0; + nstr = 0; + // prepare the array + while(type) { + void* value = from_ptrv(V[idx*2]); + if(type == ((int)'s')) { + array[count + nstr] = from_ptrv(*(ptr_t*)value); + array[idx*2+0] = &array[count + nstr++]; + } else { + array[idx*2+0] = value; + } + //go next + type = V[idx*2+1]; + array[idx*2+1] = (void*)(uintptr_t)type; + ++idx; + } + CONVERT_VALIST_32(array); + uint32_t ret = my->dbus_message_get_args(message, e, arg, VARARGS_32); + // fill back the pointers for strings + if(nstr) { + type = arg; + idx = 0; + nstr = 0; + // done + while(type) { + if(type == ((int)'s')) { + void* value = array[count + nstr++]; + V[idx*2] = to_ptrv(value); + } + //go next + type = V[idx*2+1]; + ++idx; + } + } + return ret; +} +EXPORT int my32_dbus_message_get_args_valist(x64emu_t* emu, void* message, void* e, int arg, ptr_t* b) __attribute__((alias("my32_dbus_message_get_args"))); + +EXPORT int my32_dbus_message_append_args(x64emu_t* emu, void* message, int arg, ptr_t* V) +{ + (void)emu; + int idx = 0; + int type = arg; + int nstr = 0; + // count + while(type) { + if(type == ((int)'s')) nstr++; + type = V[idx*2+1]; + idx++; + } + int count = idx*2+2; + void* array[count + nstr]; + type = arg; + idx = 0; + nstr = 0; + // fill the array + while(type) { + void* value = from_ptrv(V[idx*2]); + if(type == ((int)'s')) { + array[count + nstr] = from_ptrv(*(ptr_t*)value); + array[idx*2+0] = &array[count + nstr++]; + } else { + array[idx*2+0] = value; + } + //go next + type = V[idx*2+1]; + array[idx*2+1] = (void*)(uintptr_t)type; + ++idx; + } + CONVERT_VALIST_32(array); + return my->dbus_message_append_args(message, arg, VARARGS_32); +} +EXPORT int my32_dbus_message_append_args_valist(x64emu_t* emu, void* message, int arg, ptr_t* b) __attribute__((alias("my32_dbus_message_append_args"))); + +#if 0 +EXPORT int my32_dbus_message_set_data(x64emu_t* emu, void* message, int32_t slot, void* data, void* free_func) +{ + (void)emu; + return my->dbus_message_set_data(message, slot, data, find_DBusFreeFunction_Fct(free_func)); +} + +EXPORT int my32_dbus_pending_call_set_notify(x64emu_t* emu, void* pending, void* func, void* data, void* free_func) +{ + (void)emu; + return my->dbus_pending_call_set_notify(pending, findDBusPendingCallNotifyFunctionFct(func), data, find_DBusFreeFunction_Fct(free_func)); +} + +EXPORT int my32_dbus_pending_call_set_data(x64emu_t* emu, void* pending, int32_t slot, void* data, void* free_func) +{ + (void)emu; + return my->dbus_pending_call_set_data(pending, slot, data, find_DBusFreeFunction_Fct(free_func)); +} +#endif +EXPORT void my32_dbus_watch_set_data(x64emu_t* emu, void* watch, void* data, void* free_func) +{ + (void)emu; + my->dbus_watch_set_data(watch, data, find_DBusFreeFunction_Fct(free_func)); +} +EXPORT void my32_dbus_connection_set_dispatch_status_function(x64emu_t* emu, void* connection, void* dispatch, void* data, void* free_func) +{ + (void)emu; + my->dbus_connection_set_dispatch_status_function(connection, findDBusDispatchStatusFunctionFct(dispatch), data, find_DBusFreeFunction_Fct(free_func)); + } + + +EXPORT int my32_dbus_connection_set_watch_functions(x64emu_t* emu, void* connection, void* add, void* remove, void* toggled, void* data, void* free_func) +{ + (void)emu; + return my->dbus_connection_set_watch_functions(connection, findDBusAddWatchFunctionFct(add), findDBusRemoveWatchFunctionFct(remove), findDBusWatchToggledFunctionFct(toggled), data, find_DBusFreeFunction_Fct(free_func)); +} + +typedef struct my_DBusObjectPathVTable_s +{ + void* unregister_function; + void* message_function; + void* pad1; + void* pad2; + void* pad3; + void* pad4; +} my_DBusObjectPathVTable_t; +typedef struct my_DBusObjectPathVTable_32_s +{ + ptr_t unregister_function; + ptr_t message_function; + ptr_t pad1; + ptr_t pad2; + ptr_t pad3; + ptr_t pad4; +} my_DBusObjectPathVTable_32_t; + +EXPORT int my32_dbus_connection_try_register_object_path(x64emu_t* emu, void* connection, void* path, my_DBusObjectPathVTable_32_t* vtable, void* data, void* error) +{ + (void)emu; + my_DBusObjectPathVTable_t vt = {0}; + if(vtable) { + vt.unregister_function = findDBusObjectPathUnregisterFunctionFct(from_ptrv(vtable->unregister_function)); + vt.message_function = findDBusObjectPathMessageFunctionFct(from_ptrv(vtable->message_function)); + vt.pad1 = finddbus_internal_padFct(from_ptrv(vtable->pad1)); + vt.pad2 = finddbus_internal_padFct(from_ptrv(vtable->pad2)); + vt.pad3 = finddbus_internal_padFct(from_ptrv(vtable->pad3)); + vt.pad4 = finddbus_internal_padFct(from_ptrv(vtable->pad4)); + } + + return my->dbus_connection_try_register_object_path(connection, path, vtable?&vt:NULL, data, error); +} +#if 0 +EXPORT int my32_dbus_connection_register_fallback(x64emu_t* emu, void* connection, void* path, my_DBusObjectPathVTable_t* vtable, void* data) +{ + (void)emu; + my_DBusObjectPathVTable_t vt = {0}; + if(vtable) { + vt.unregister_function = findDBusObjectPathUnregisterFunctionFct(vtable->unregister_function); + vt.message_function = findDBusObjectPathMessageFunctionFct(vtable->message_function); + vt.pad1 = finddbus_internal_padFct(vtable->pad1); + vt.pad2 = finddbus_internal_padFct(vtable->pad2); + vt.pad3 = finddbus_internal_padFct(vtable->pad3); + vt.pad4 = finddbus_internal_padFct(vtable->pad4); + } + + return my->dbus_connection_register_fallback(connection, path, vtable?&vt:NULL, data); +} + +EXPORT int my32_dbus_connection_set_data(x64emu_t* emu, void* connection, int slot, void* data, void* free_func) +{ + (void)emu; + return my->dbus_connection_set_data(connection, slot, data, find_DBusFreeFunction_Fct(free_func)); +} +#endif +EXPORT void my32_dbus_connection_set_wakeup_main_function(x64emu_t* emu, void* connection, void* wakeup, void* data, void* free_func) +{ + (void)emu; + my->dbus_connection_set_wakeup_main_function(connection, find_DBusWakeupMainFunction_Fct(wakeup), data, find_DBusFreeFunction_Fct(free_func)); +} +#if 0 +EXPORT int my32_dbus_connection_try_register_fallback(x64emu_t* emu, void* connection, void* path, my_DBusObjectPathVTable_t* vtable, void* data, void* error) +{ + (void)emu; + my_DBusObjectPathVTable_t vt = {0}; + if(vtable) { + vt.unregister_function = findDBusObjectPathUnregisterFunctionFct(vtable->unregister_function); + vt.message_function = findDBusObjectPathMessageFunctionFct(vtable->message_function); + vt.pad1 = finddbus_internal_padFct(vtable->pad1); + vt.pad2 = finddbus_internal_padFct(vtable->pad2); + vt.pad3 = finddbus_internal_padFct(vtable->pad3); + vt.pad4 = finddbus_internal_padFct(vtable->pad4); + } + + return my->dbus_connection_try_register_fallback(connection, path, vtable?&vt:NULL, data, error); +} + +EXPORT int my32_dbus_server_set_watch_functions(x64emu_t* emu, void* server, void* add, void* rem, void* toggle, void* data, void* d) +{ + return my->dbus_server_set_watch_functions(server, findDBusAddWatchFunctionFct(add), findDBusRemoveWatchFunctionFct(rem), findDBusWatchToggledFunctionFct(toggle), data, find_DBusFreeFunction_Fct(d)); +} + +EXPORT void my32_dbus_server_set_new_connection_function(x64emu_t* emu, void* server, void* f, void* data, void* d) +{ + my->dbus_server_set_new_connection_function(server, findDBusNewConnectionFunctionFct(f), data, find_DBusFreeFunction_Fct(d)); +} + +EXPORT int my32_dbus_server_set_timeout_functions(x64emu_t* emu, void* server, void* add, void* rem, void* toggle, void* data, void* d) +{ + return my->dbus_server_set_timeout_functions(server, find_DBusAddTimeoutFunction_Fct(add), find_DBusRemoveTimeoutFunction_Fct(rem), find_DBusTimeoutToggledFunction_Fct(toggle), data, find_DBusFreeFunction_Fct(d)); +} + +EXPORT int my32_dbus_server_set_data(x64emu_t* emu, void* server, int slot, void* data, void* d) +{ + return my->dbus_server_set_data(server, slot, data, find_DBusFreeFunction_Fct(d)); +} +#endif + +EXPORT uint32_t my32_dbus_message_iter_append_basic(x64emu_t* emu, void* iter, int type, void* value) +{ + void* str; + void* value_l = value; +printf_log(LOG_INFO, "dbus_message_iter_append_basic called with type %s(%c)\n", type, type); + if(type == ((int) 's')) { + str = from_ptrv(*(ptr_t*)value); +printf_log(LOG_INFO, " string is %p\n", str); + value_l = &str; + } + return my->dbus_message_iter_append_basic(iter, type, &value_l); +} + +#include "wrappedlib_init32.h" diff --git a/src/wrapped32/wrappeddbus_private.h b/src/wrapped32/wrappeddbus_private.h new file mode 100644 index 00000000..291d9cdf --- /dev/null +++ b/src/wrapped32/wrappeddbus_private.h @@ -0,0 +1,234 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error Meh... +#endif + +GO(dbus_address_entries_free, vFbp_) +GO(dbus_address_entry_get_method, pFp) +GO(dbus_address_entry_get_value, pFpp) +GO(dbus_address_escape_value, pFp) +GO(dbus_address_unescape_value, pFpbppuuuuup_) +GO(dbus_bus_add_match, vFppbppuuuuup_) +GO(dbus_bus_get, pFubppuuuuup_) +GO(dbus_bus_get_id, pFpbppuuuuup_) +GO(dbus_bus_get_private, pFubppuuuuup_) +GO(dbus_bus_get_unique_name, pFp) +GO(dbus_bus_get_unix_user, LFppbppuuuuup_) +GO(dbus_bus_name_has_owner, uFppbppuuuuup_) +GO(dbus_bus_register, uFpbppuuuuup_) +GO(dbus_bus_release_name, iFppbppuuuuup_) +GO(dbus_bus_remove_match, vFppbppuuuuup_) +GO(dbus_bus_request_name, iFppubppuuuuup_) +GO(dbus_bus_set_unique_name, uFpp) +GO(dbus_bus_start_service_by_name, uFppupbppuuuuup_) +GOM(dbus_connection_add_filter, uFEpppp) +GO(dbus_connection_allocate_data_slot, uFp) +GO(dbus_connection_borrow_message, pFp) +GO(dbus_connection_can_send_type, uFpi) +GO(dbus_connection_close, vFp) +GO(dbus_connection_dispatch, uFp) +GO(dbus_connection_flush, vFp) +GO(dbus_connection_free_data_slot, vFp) +GO(dbus_connection_free_preallocated_send, vFpp) +GO(dbus_connection_get_adt_audit_session_data, uFpbp_p) +GO(dbus_connection_get_data, pFpi) +GO(dbus_connection_get_dispatch_status, uFp) +GO(dbus_connection_get_is_anonymous, uFp) +GO(dbus_connection_get_is_authenticated, uFp) +GO(dbus_connection_get_is_connected, uFp) +GO(dbus_connection_get_max_message_size, lFp) +GO(dbus_connection_get_max_received_size, lFp) +GO(dbus_connection_get_object_path_data, uFppbp_) +GO(dbus_connection_get_outgoing_size, lFp) +GO(dbus_connection_get_server_id, pFp) +GO(dbus_connection_get_socket, uFpp) +GO(dbus_connection_get_unix_fd, uFpp) +GO(dbus_connection_get_unix_process_id, uFpbL_) +GO(dbus_connection_get_unix_user, uFpbL_) +GO(dbus_connection_get_windows_user, uFpbp_) +GO(dbus_connection_has_messages_to_send, uFp) +//GOM(dbus_connection_list_registered, uFEppbp_) +GO(dbus_connection_open, pFpbppuuuuup_) +GO(dbus_connection_open_private, pFpbppuuuuup_) +GO(dbus_connection_pop_message, pFp) +GO(dbus_connection_preallocate_send, pFp) +GO(dbus_connection_read_write, uFpi) +GO(dbus_connection_read_write_dispatch, uFpi) +GO(dbus_connection_ref, pFp) +//GOM(dbus_connection_register_fallback, uFEppbpppppp_p) +//GOM(dbus_connection_register_object_path, uFEppbpppppp_p) +GOM(dbus_connection_remove_filter, vFEppp) +GO(dbus_connection_return_message, vFpp) +GO(dbus_connection_send, uFppp) +GO(dbus_connection_send_preallocated, vFpppp) +GO(dbus_connection_send_with_reply, uFppbp_i) +GO(dbus_connection_send_with_reply_and_block, pFppibppuuuuup_) +GO(dbus_connection_set_allow_anonymous, vFpu) +GO(dbus_connection_set_change_sigpipe, vFu) +GOM(dbus_connection_set_data, uFEpipp) +GOM(dbus_connection_set_dispatch_status_function, vFEpppp) +GO(dbus_connection_set_exit_on_disconnect, vFpu) +GO(dbus_connection_set_max_message_size, vFpl) +GO(dbus_connection_set_max_received_size, vFpl) +GO(dbus_connection_set_route_peer_messages, vFpu) +GOM(dbus_connection_set_timeout_functions, uFEpppppp) +//GOM(dbus_connection_set_unix_user_function, vFEpppp) +GOM(dbus_connection_set_wakeup_main_function, vFEpppp) +GOM(dbus_connection_set_watch_functions, uFEpppppp) +//GOM(dbus_connection_set_windows_user_function, vFEpppp) +GO(dbus_connection_steal_borrowed_message, vFpp) +//GOM(dbus_connection_try_register_fallback, uFEppbpppppp_pbppuuuuup_) +GOM(dbus_connection_try_register_object_path, uFEppppbppuuuuup_) +GO(dbus_connection_unref, vFp) +GO(dbus_connection_unregister_object_path, uFpp) +GO(dbus_error_free, vFbppuuuuup_) +GO(dbus_error_has_name, uFbppuuuuup_p) +GO(dbus_error_init, vFbppuuuuup_) +GO(dbus_error_is_set, uFbppuuuuup_) +GO(dbus_free, vFp) +GO(dbus_free_string_array, vFbp_) +GO(dbus_get_local_machine_id, pFv) +GO(dbus_get_version, vFppp) +//GO(dbus_internal_do_not_use_create_uuid, +//GO(dbus_internal_do_not_use_get_uuid, +GO(dbus_malloc, pFL) +GO(dbus_malloc0, pFL) +GO(dbus_message_allocate_data_slot, uFp) +GOM(dbus_message_append_args, uFEpiV) +GOM(dbus_message_append_args_valist, uFEpip) //%% +GO(dbus_message_copy, pFp) +GO(dbus_message_demarshal, pFpibppuuuuup_) +GO(dbus_message_demarshal_bytes_needed, iFpi) +GO(dbus_message_free_data_slot, vFp) +GOM(dbus_message_get_args, uFEpbppuuuuup_iV) +GO(dbus_message_get_allow_interactive_authorization, uFp) +GOM(dbus_message_get_args_valist, uFEpbppuuuuup_ip) //%% +GO(dbus_message_get_auto_start, uFp) +GO(dbus_message_get_data, pFpi) +GO(dbus_message_get_destination, pFp) +GO(dbus_message_get_error_name, pFp) +GO(dbus_message_get_interface, pFp) +GO(dbus_message_get_member, pFp) +GO(dbus_message_get_no_reply, uFp) +GO(dbus_message_get_path, pFp) +//GOM(dbus_message_get_path_decomposed, uFEpbp_) +GO(dbus_message_get_reply_serial, uFp) +GO(dbus_message_get_sender, pFp) +GO(dbus_message_get_serial, uFp) +GO(dbus_message_get_signature, pFp) +GO(dbus_message_get_type, iFp) +GO(dbus_message_has_destination, uFpp) +GO(dbus_message_has_interface, uFpp) +GO(dbus_message_has_member, uFpp) +GO(dbus_message_has_path, uFpp) +GO(dbus_message_has_sender, uFpp) +GO(dbus_message_has_signature, uFpp) +GO(dbus_message_is_error, uFpp) +GO(dbus_message_is_method_call, uFppp) +GO(dbus_message_is_signal, uFppp) +GO(dbus_message_iter_abandon_container, vFbppuiiiiiiiiipp_bppuiiiiiiiiipp_) +GOM(dbus_message_iter_append_basic, uFEbppuiiiiiiiiipp_ip) +GO(dbus_message_iter_append_fixed_array, uFbppuiiiiiiiiipp_ipi) +GO(dbus_message_iter_close_container, uFbppuiiiiiiiiipp_bppuiiiiiiiiipp_) +GO(dbus_message_iter_get_arg_type, iFbppuiiiiiiiiipp_) +GO(dbus_message_iter_get_array_len, iFbppuiiiiiiiiipp_) +GO(dbus_message_iter_get_basic, vFbppuiiiiiiiiipp_p) +GO(dbus_message_iter_get_element_type, iFbppuiiiiiiiiipp_) +GO(dbus_message_iter_get_element_count, iFbppuiiiiiiiiipp_) +GO(dbus_message_iter_get_fixed_array, vFbppuiiiiiiiiipp_pp) +GO(dbus_message_iter_get_signature, pFbppuiiiiiiiiipp_) +GO(dbus_message_iter_has_next, uFbppuiiiiiiiiipp_) +GO(dbus_message_iter_init, uFpbppuiiiiiiiiipp_) +GO(dbus_message_iter_init_append, vFpbppuiiiiiiiiipp_) +GO(dbus_message_iter_next, uFbppuiiiiiiiiipp_) +GO(dbus_message_iter_open_container, uFbppuiiiiiiiiipp_ipbppuiiiiiiiiipp_) +GO(dbus_message_iter_recurse, vFbppuiiiiiiiiipp_bppuiiiiiiiiipp_) +GO(dbus_message_lock, vFp) +GO(dbus_message_marshal, uFpbp_p) +GO(dbus_message_new, pFi) +GO(dbus_message_new_error, pFppp) +//GOM(dbus_message_new_error_printf, pFEpppV) +GO(dbus_message_new_method_call, pFpppp) +GO(dbus_message_new_method_return, pFp) +GO(dbus_message_new_signal, pFppp) +GO(dbus_message_ref, pFp) +GO(dbus_message_set_allow_interactive_authorization, vFpu) +GO(dbus_message_set_auto_start, vFpu) +//GOM(dbus_message_set_data, uFEpipp) +GO(dbus_message_set_destination, uFpp) +GO(dbus_message_set_error_name, uFpp) +GO(dbus_message_set_interface, uFpp) +GO(dbus_message_set_member, uFpp) +GO(dbus_message_set_no_reply, vFpu) +GO(dbus_message_set_path, uFpp) +GO(dbus_message_set_reply_serial, uFpu) +GO(dbus_message_set_sender, uFpp) +GO(dbus_message_set_serial, vFpu) +GO(dbus_message_type_from_string, iFp) +GO(dbus_message_type_to_string, pFi) +GO(dbus_message_unref, vFp) +GO(dbus_move_error, vFbppuuuuup_bppuuuuup_) +//GOM(dbus_parse_address, uFEpbp_pbppuuuuup_) +GO(dbus_pending_call_allocate_data_slot, uFp) +GO(dbus_pending_call_block, vFp) +GO(dbus_pending_call_cancel, vFp) +GO(dbus_pending_call_free_data_slot, vFp) +GO(dbus_pending_call_get_completed, uFp) +GO(dbus_pending_call_get_data, pFpi) +GO(dbus_pending_call_ref, pFp) +//GOM(dbus_pending_call_set_data, uFEpipp) +//GOM(dbus_pending_call_set_notify, uFEpppp) +GO(dbus_pending_call_steal_reply, pFp) +GO(dbus_pending_call_unref, vFp) +GO(dbus_realloc, pFpL) +GO(dbus_server_allocate_data_slot, uFp) +GO(dbus_server_disconnect, vFp) +GO(dbus_server_free_data_slot, vFp) +GO(dbus_server_get_address, pFp) +GO(dbus_server_get_data, pFpi) +GO(dbus_server_get_id, pFp) +GO(dbus_server_get_is_connected, uFp) +GO(dbus_server_listen, pFpbppuuuuup_) +GO(dbus_server_ref, pFp) +GO(dbus_server_set_auth_mechanisms, uFpbp_) +//GOM(dbus_server_set_data, uFEpipp) +//GOM(dbus_server_set_new_connection_function, vFEpppp) +//GOM(dbus_server_set_timeout_functions, uFEpppppp) +//GOM(dbus_server_set_watch_functions, uFEpppppp) +GO(dbus_server_unref, vFp) +//GOM(dbus_set_error, vFEbppuuuuup_ppV) +GO(dbus_set_error_const, vFbppuuuuup_pp) +GO(dbus_set_error_from_message, uFbppuuuuup_p) +GO(dbus_shutdown, vFv) +GO(dbus_signature_iter_get_current_type, iFbppuii_) +GO(dbus_signature_iter_get_element_type, iFbppuii_) +GO(dbus_signature_iter_get_signature, pFbppuii_) +GO(dbus_signature_iter_init, vFbppuii_p) +GO(dbus_signature_iter_next, uFbppuii_) +GO(dbus_signature_iter_recurse, vFbppuii_bppuii_) +GO(dbus_signature_validate, uFpbppuuuuup_) +GO(dbus_signature_validate_single, uFpbppuuuuup_) +//GOM(dbus_threads_init, uFEbupppppppppppppppppp_) +GO(dbus_threads_init_default, uFv) +GO(dbus_timeout_get_data, pFp) +GO(dbus_timeout_get_enabled, uFp) +GO(dbus_timeout_get_interval, iFp) +GO(dbus_timeout_handle, uFp) +GOM(dbus_timeout_set_data, vFEppp) +GO(dbus_type_is_basic, uFi) +GO(dbus_type_is_container, uFi) +GO(dbus_type_is_fixed, uFi) +GO(dbus_type_is_valid, uFi) +GO(dbus_validate_bus_name, uFpbppuuuuup_) +GO(dbus_validate_error_name, uFpbppuuuuup_) +GO(dbus_validate_interface, uFpbppuuuuup_) +GO(dbus_validate_member, uFpbppuuuuup_) +GO(dbus_validate_path, uFpbppuuuuup_) +GO(dbus_validate_utf8, uFpbppuuuuup_) +GO(dbus_watch_get_data, pFp) +GO(dbus_watch_get_enabled, uFp) +GO(dbus_watch_get_fd, iFp) +GO(dbus_watch_get_flags, uFp) +GO(dbus_watch_get_socket, iFp) +GO(dbus_watch_get_unix_fd, iFp) +GO(dbus_watch_handle, uFpu) +GOM(dbus_watch_set_data, vFEppp) |