SHARE
TWEET

Untitled

myusa Aug 19th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. __int64 __usercall sub_4310@<rax>(void *ptr@<rdi>, __int64 a2@<rbp>)
  2. {
  3.   __int64 vars108; // ST118_8@1
  4.   int v3; // eax@1
  5.   __int64 v4; // rbp@3
  6.   __int64 v5; // rax@3
  7.   __int64 v6; // r12@3
  8.   __int64 v7; // rax@3
  9.   __int64 v8; // rax@3
  10.   __int64 v9; // rbp@3
  11.   __int64 v10; // rax@3
  12.   __int64 v11; // rax@3
  13.   __int64 v12; // rax@3
  14.   __int64 v14; // r13@5
  15.   __int64 v15; // rax@5
  16.   __int64 v16; // rax@5
  17.   __int64 v17; // rax@5
  18.   __int64 v18; // r14@5
  19.   __int64 v19; // r12@5
  20.   __int64 v20; // rax@5
  21.   __int64 v21; // rax@5
  22.   __int64 v22; // rax@5
  23.   unsigned int vars0; // [sp+0h] [bp+0h]@0
  24.   unsigned int vars4; // [sp+4h] [bp+4h]@0
  25.  
  26.   vars108 = *MK_FP(__FS__, 40LL);
  27.   v3 = qword_D0B8((unsigned int)dword_D120, (char *)ptr + 8, *(_DWORD *)ptr, *((_DWORD *)ptr + 1), a2);
  28.   if ( v3 )
  29.   {
  30.     if ( v3 == 1 )
  31.     {
  32.       sub_3900(a2 + 8, 0LL);
  33.       sub_4290(5LL);
  34.     }
  35.     else
  36.     {
  37.       sub_3900("has resigned", 1LL);
  38.       sub_4290(4LL);
  39.       v4 = qword_D078;
  40.       LODWORD(v5) = gtk_window_get_type();
  41.       v6 = v5;
  42.       LODWORD(v7) = g_type_check_instance_cast(qword_D0B0, v5);
  43.       LODWORD(v8) = gtk_message_dialog_new(v7, 3LL, 0LL, 1LL, "Game Over: %s %s", v4);
  44.       v9 = v8;
  45.       LODWORD(v10) = g_type_check_instance_cast(v8, v6);
  46.       gtk_window_set_title(v10, "Game Over");
  47.       LODWORD(v11) = gtk_dialog_get_type();
  48.       LODWORD(v12) = g_type_check_instance_cast(v9, v11);
  49.       gtk_dialog_run(v12);
  50.       gtk_widget_destroy(v9);
  51.     }
  52.   }
  53.   else
  54.   {
  55.     v14 = qword_D0A8;
  56.     LODWORD(v15) = sub_4A10();
  57.     LODWORD(v16) = g_type_check_instance_cast(v14, v15);
  58.     LODWORD(v17) = sub_4AE0(v16, vars0);
  59.     v18 = qword_D0A8;
  60.     v19 = v17;
  61.     LODWORD(v20) = sub_4A10();
  62.     LODWORD(v21) = g_type_check_instance_cast(v18, v20);
  63.     LODWORD(v22) = sub_4B60(v21, vars4);
  64.     sub_5200(v22, vars0);
  65.     sub_5200(v19, 0xFFFFFFFFLL);
  66.     sub_3900(a2 + 8, 0LL);
  67.     dword_D110 = 0;
  68.     sub_38A0("Your Move. Click or drag a piece");
  69.   }
  70.   ++dword_D120;
  71.   free(ptr);
  72.   return 0LL;
  73. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top