Advertisement
Guest User

discord

a guest
Jun 17th, 2023
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASM (NASM) 2.24 KB | Source Code | 0 0
  1. ( (unsigned __int8)sub_6630(
  2.                             (__int64 *)&off_E5078,
  3.                             (__int64)"IDXGISwapChain::Present",
  4.                             (__int64)hModule + *(unsigned int *)(v3 + 40),
  5.                             (__int64)sub_17860)
  6.       && (unsigned __int8)sub_6630(
  7.                             (__int64 *)&off_E50A0,
  8.                             (__int64)"IDXGISwapChain::ResizeBuffers",
  9.                             (__int64)hModule + *(unsigned int *)(v3 + 48),
  10.                             (__int64)sub_179C0)
  11.       && (unsigned __int8)sub_6630(
  12.                             (__int64 *)&off_E50C8,
  13.                             (__int64)"IDXGISwapChain::Release",
  14.                             (__int64)hModule + *(unsigned int *)(v3 + 56),
  15.                             (__int64)sub_17A20)
  16.       && (!*(_DWORD *)(v3 + 44)
  17.        || v1 < *(unsigned int *)(v3 + 44)
  18.        || (unsigned __int8)sub_6630(
  19.                              (__int64 *)&off_E50F0,
  20.                              (__int64)"IDXGISwapChain1::Present1",
  21.                              (__int64)hModule + *(unsigned int *)(v3 + 44),
  22.                              (__int64)sub_17A90))
  23.       && (!*(_DWORD *)(v3 + 52)
  24.        || v1 < *(unsigned int *)(v3 + 52)
  25.        || (unsigned __int8)sub_6630(
  26.                              (__int64 *)&off_E5118,
  27.                              (__int64)"IDXGISwapChain3::ResizeBuffers1",
  28.                              (__int64)hModule + *(unsigned int *)(v3 + 52),
  29.                              (__int64)sub_17C00)) )
  30.  
  31. --> sub_6630
  32.  
  33. signed int __fastcall sub_6630(__int64 *a1, __int64 a2, __int64 a3, __int64 a4)
  34. {
  35.   __int64 *v4; // rsi
  36.   unsigned int v5; // eax
  37.   __int64 v6; // rdx
  38.   const char *v7; // rcx
  39.  
  40.   v4 = a1;
  41.   *a1 = a2;
  42.   a1[1] = a4;
  43.   a1[2] = a3;
  44.   v5 = sub_51470(a3, a4, a1 + 3);
  45.   if ( v5 )
  46.   {
  47.     v6 = *v4;
  48.     v7 = "Failed creating hook %s; 0x%x";
  49. LABEL_5:
  50.     sub_3DE90(v7, v6, v5);
  51.     return 0;
  52.   }
  53.   v5 = sub_51DF0(v4[2]);
  54.   if ( v5 )
  55.   {
  56.     v6 = *v4;
  57.     v7 = "Failed queueing enable for hook %s; 0x%x";
  58.     goto LABEL_5;
  59.   }
  60.   return 1;
  61. }
  62.  
  63. --> __int64 *a1, __int64 a2, __int64 a3, __int64 a4
  64. --> v5 = sub_51470(a3, a4, a1 + 3);
  65. --> 4C 8D 0D ? ? ? ? E8 ? ? ? ? 84 C0 0F 84 ? ? ? ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement