In sanctum2, not writing in our own context makes the game crash.
Use LD_PRELOAD=$PWD/libsteam_api.so app_name to load overlay.