// // sub_D003DC from 0xd003dc to 0xd00498 (188 bytes) // // 2 xrefs: // > sub_D01794 @ 0xd01a24 // > sub_D01B04 @ 0xd01d80 // // 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 // unsigned __int64 __fastcall sub_D003DC( __int64 a1, unsigned __int8 *a2, __int64 a3, int a4, const wchar_t *a5, char *a6, unsigned __int64 a7, _DWORD *a8) { __int64 v11; // x20 wchar_t *v12; // x0 __int64 v13; // x19 unsigned __int64 result; // x0 if ( a5 ) { v11 = (__int64)((__int64)a5 - a7) >> 2; v12 = sub_D00084(a6, a4, a2, a3, a7, a7 + 4LL * (int)v11); v13 = ((char *)v12 - a6) >> 2; wmemcpy(v12, a5, *a8 - (int)v11); result = (unsigned int)*a8; *a8 = result - v11 + v13; } else { result = (char *)sub_D00084(a6, a4, a2, a3, a7, a7 + 4LL * (int)*a8) - a6; *a8 = result >> 2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source