Just another generic mission on Malden with extensions. 32/64 .dll && source code included.
// smoketime.cpp : Defines the exported functions for the DLL.
// credits to BIS, kk and all others
#include "pch.h"
#include "framework.h"
#include "smoketime.h"
#include <chrono>
#include <ctime>
#define _CRT_SECURE_NO_WARNINGS
#define fn_smoketime extern "C" __declspec (dllexport)
fn_smoketime void __stdcall RVExtension(char *output, int outputSize, const char *function);
void __stdcall RVExtension(char *output, int outputSize, const char *function)
{
std::time_t ct = std::time(0);
char* cc = ctime(&ct);
strncpy_s(output, outputSize, cc, _TRUNCATE);
}