1#include <stdint.h> 2 3__declspec(dllexport) uint32_t add(uint32_t a, uint32_t b, uintptr_t* addr) { 4 *addr = (uintptr_t)&add; 5 return a + b; 6}