You can change the function name in DLL-A to A_f1 .
A_f1() { f1() //this calls DLL-B f1 }
In your DEF file write
EXPORTS f1 = A_f1
This says: "A function internally called A_f1 must be exported under the name f1 to other components." That way, everyone who used DLL-A and calls f1 (expecting to get function A) will get A_f1 .
I assume that renaming exported functions is not possible. If possible, then this is a much cleaner solution. (I assume this is not possible because you are trying to hack a video game.)
source share