public unsafe static long $Invoke31(long instance, long *args) { UnityUtils.RegisterLogCallback(Marshal.PtrToStringUni(*(IntPtr *)args), (UnityUtils.OnUnityLogCallback)GCHandledObjects.GCHandleToObject(args[1])); return(-1L); }