// // sub_10057DF50 from 0x10057df50 to 0x10057e0dc (396 bytes) // // 1 xrefs: // > sub_10057E440 @ 0x10057e5a0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_10057DF50(char *a1, _QWORD *a2, __int64 a3, _QWORD *a4, _DWORD *a5) { time_t v10; // x26 size_t v11; // x21 char *v12; // x0 char *v13; // x22 __int64 *v14; // x0 __int64 *v15; // x23 __int128 v17; // [xsp+28h] [xbp-68h] BYREF v10 = time(nullptr); v11 = (unsigned int)(*(_DWORD *)(a3 + 24) + 48); v12 = (char *)off_10085DEB0(v11); v13 = v12; if ( !v12 ) return 27; bzero(v12, v11); sub_100562884(v13 + 16, (unsigned int)(*(_DWORD *)(a3 + 24) + 32), byte_100669E4A, 0, 0, 0, 0); sub_100582EF8(10000000 * v10 + 116444736000000000LL, v13 + 24); *((_QWORD *)v13 + 4) = *a2; memcpy(v13 + 44, *(const void **)(a3 + 16), *(unsigned int *)(a3 + 24)); *((_QWORD *)v13 + 1) = *(_QWORD *)(a3 + 8); v14 = sub_10057BBC0((__int64)&off_10082E070, a1, 16); v15 = v14; if ( v14 ) { sub_1005700D0(v14); sub_10057BD60(v15, (__int64)&v17); *(_OWORD *)v13 = v17; *a4 = v13; *a5 = v11; return 0; } else { off_10085DEB8(v13); return 27; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source