
the function return value = 0x0166DCB00900
execute function return value =0xDCB00900
as you can see there are missing bytes .

the problem in GetExitCodeThread function return , I don't know how to fix that.

var keyAddress = sharp.Assembly.Execute<IntPtr>(gameFunc, CallingConventions.MicrosoftX64, new dynamic[] { ecx });
@JamesMenetrey