#pragma once extern "C" { #include } struct Frame { Frame *next; uintptr_t addr; }; static auto constexpr CRASH_LOG_PATH = "/data/etaHEN/etaHEN_crash.log"; const Frame *getFramePointer(); void printBacktraceForCrash(); void crash_log(const char *fmt, ...); void printBacktraceForCrash();