How to redirect a function call?

There is a function declared in the header.h

#ifndef BASSDEF
#define BASSDEF(f) WINAPI f

HSAMPLE BASSDEF(BASS_SampleLoad)(BOOL mem, const void *file, QWORD offset, DWORD length, DWORD max, DWORD flags);

How to override BASSDEF so that functions were pointers referencing dlsym and I calmly could cause (the same BASS_SampleLoad, can pass arguments etc but only for dlsym)?
April 3rd 20 at 17:44
0 answer

Find more questions by tags AndroidC++