A PS4 game is x86-64 machine code with no source. bbcpu runs it inside an arm64 process: it was written so that Bloodborne's macOS port could drop Rosetta, and everything else in that port is built ...
A host is the program that links bbcpu: it loads the game, implements what the game imports, and calls guest code. src/cpu/bbcpu.h is the interface, with every call described there. This page is the ...