#include __attribute__((constructor)) static void init() { unsigned char patch_data[4] = {0x01, 0x00, 0x50, 0xe3}; patch((void *) 0x292fc, patch_data); }