See TA::MemoryMgr::SetAlloc.
typedef void* (TAC_CALL *FnAllocCallBack)(unsigned int nSize, unsigned int nAlignment, const char * szFileName, int nLine);