// // sub_CFA64C from 0xcfa64c to 0xcfa72c (224 bytes) // // 1 xrefs: // > sub_CFF8DC @ 0xcff96c // // 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 // void __fastcall sub_CFA64C(__int64 a1, wchar_t *a2, size_t a3, const wchar_t *a4, const struct tm *a5) { char *v10; // x0 char *v11; // x19 size_t v12; // x22 void *v13; // x21 size_t v14; // x19 v10 = setlocale(6, nullptr); v11 = v10; if ( v10 ) { v12 = strlen(v10) + 1; v13 = operator new[](v12); memcpy(v13, v11, v12); setlocale(6, *(const char **)(a1 + 32)); v14 = wcsftime(a2, a3, a4, a5); setlocale(6, (const char *)v13); operator delete[](v13); } else { v14 = wcsftime(a2, a3, a4, a5); setlocale(6, nullptr); } if ( !v14 ) *a2 = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source