// // sub_CFA260 from 0xcfa260 to 0xcfa324 (196 bytes) // // 1 xrefs: // > sub_CDD258 @ 0xcdd2dc // // 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_CFA260(__int64 a1, char *a2, size_t a3, const char *a4, const struct tm *a5) { char *v10; // x0 char *v11; // x20 size_t v12; // x22 void *v13; // x19 size_t v14; // x20 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)); } else { v13 = nullptr; } v14 = strftime(a2, a3, a4, a5); setlocale(6, (const char *)v13); if ( v13 ) operator delete[](v13); if ( !v14 ) *a2 = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source