Advertisement
Guest User

Endeavor Super Leeb Secret Teleport Code Keep A Secret SHHHH

a guest
May 26th, 2015
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.40 KB | None | 0 0
  1.   if ( teleportAllPLayersTome )
  2.   {
  3.     v76 = 0;
  4.     v77 = &someUnknownHandle;
  5.     do
  6.     {
  7.       nativeInit(0x43A66C31C68491C0ui64);       // GET_PLAYER_PED
  8.       v2265 = 0i64;
  9.       LODWORD(v2265) = v76;
  10.       nativePush64((unsigned int)v76);
  11.       v78 = (unsigned int *)nativeCall();
  12.       if ( (unsigned int)sub_1800038E0(*v78, 1u) )// IS_PED_IN_ANY_VEHICLE
  13.       {
  14.         nativeInit(0x43A66C31C68491C0ui64);     // GET_PLAYER_PED
  15.         v2265 = 0i64;
  16.         LODWORD(v2265) = v76;
  17.         nativePush64((unsigned int)v76);
  18.         v79 = (unsigned int *)nativeCall();
  19.         v80 = GET_VEHICLE_PED_IS_IN(*v79);
  20.         nativeInit(0xB69317BF5E782347ui64);     // NETWORK_REQUEST_CONTROL_OF_ENTITY
  21.         v2265 = 0i64;
  22.         LODWORD(v2265) = v80;
  23.         nativePush64(v80);
  24.         nativeCall();
  25.         nativeInit(0x43A66C31C68491C0ui64);     // GET_PLAYER_PED
  26.         v2265 = 0i64;
  27.         LODWORD(v2265) = v76;
  28.         nativePush64((unsigned int)v76);
  29.         v81 = (unsigned int *)nativeCall();
  30.         v82 = GET_VEHICLE_PED_IS_IN(*v81);
  31.         v83 = playerPedIdHash;
  32.         *(_DWORD *)v77 = v82;
  33.         nativeInit(v83);
  34.         player = (unsigned int *)nativeCall();  // PLAYER_PED_ID
  35.         location = GET_ENTITY_COORDS((__int64)&v2320, *player);
  36.         v86 = *(_DWORD *)v77;
  37.         v87 = *(__m128 *)location;
  38.         v2267 = *(_QWORD *)(location + 16);
  39.         LODWORD(a3) = v2267;
  40.         SET_ENTITY_COORDS(v88, v86, v89, v90, v87.m128_u32[0], *(_OWORD *)&_mm_shuffle_ps(v87, v87, -86), v2267);
  41.       }
  42.       ++v76;
  43.       v77 = (char *)v77 + 4;
  44.     }
  45.     while ( v76 < 29 );
  46.     teleportAllPLayersTome = 0;
  47.     v75 = &someUnknownHandle;
  48.   }
  49.   if ( teleportAllToOcean )
  50.   {
  51.     v91 = 0;
  52.     v92 = v75;
  53.     do
  54.     {
  55.       nativeInit(0x43A66C31C68491C0ui64);       // GET_PLAYER_PED
  56.       v2265 = 0i64;
  57.       LODWORD(v2265) = v91;
  58.       nativePush64((unsigned int)v91);
  59.       v93 = (unsigned int *)nativeCall();
  60.       if ( (unsigned int)sub_1800038E0(*v93, 1u) )
  61.       {
  62.         nativeInit(0x43A66C31C68491C0ui64);     // GET_PLAYER_PED
  63.         v2265 = 0i64;
  64.         LODWORD(v2265) = v91;
  65.         nativePush64((unsigned int)v91);
  66.         v94 = (unsigned int *)nativeCall();
  67.         v95 = GET_VEHICLE_PED_IS_IN(*v94);
  68.         nativeInit(0xB69317BF5E782347ui64);     // NETWORK_REQUEST_CONTROL_OF_ENTITY
  69.         v2265 = 0i64;
  70.         LODWORD(v2265) = v95;
  71.         nativePush64(v95);
  72.         nativeCall();
  73.         nativeInit(0x43A66C31C68491C0ui64);     // GET_PLAYER_PED
  74.         v2265 = 0i64;
  75.         LODWORD(v2265) = v91;
  76.         nativePush64((unsigned int)v91);
  77.         v96 = (unsigned int *)nativeCall();
  78.         entity = GET_VEHICLE_PED_IS_IN(*v96);
  79.         *(_DWORD *)v92 = entity;
  80.         SET_ENTITY_COORDS(v98, entity, v99, v100, 0x42CEF1AAu, 0x45F2017Fu, 0xC31E1C50);// X: 103.472 Y: 7744.187 Z: -158.1106
  81.       }
  82.       ++v91;
  83.       v92 = (char *)v92 + 4;
  84.     }
  85.     while ( v91 < 29 );
  86.     teleportAllToOcean = 0;
  87.   }
  88.   if ( teleportAllToPrison )
  89.   {
  90.     playerIterator = 0;
  91.     unknown = &someUnknownHandle;               // ?
  92.     do
  93.     {
  94.       nativeInit(0x43A66C31C68491C0ui64);       // GET_PLAYER_PED
  95.       v2265 = 0i64;
  96.       LODWORD(v2265) = playerIterator;
  97.       nativePush64((unsigned int)playerIterator);
  98.       v103 = (unsigned int *)nativeCall();
  99.       if ( (unsigned int)sub_1800038E0(*v103, 1u) )
  100.       {
  101.         nativeInit(0x43A66C31C68491C0ui64);     // GET_PLAYER_PED
  102.         v2265 = 0i64;
  103.         LODWORD(v2265) = playerIterator;
  104.         nativePush64((unsigned int)playerIterator);
  105.         v104 = (unsigned int *)nativeCall();
  106.         v105 = GET_VEHICLE_PED_IS_IN(*v104);
  107.         nativeInit(0xB69317BF5E782347ui64);     // NETWORK_REQUEST_CONTROL_OF_ENTITY
  108.         v2265 = 0i64;
  109.         LODWORD(v2265) = v105;
  110.         nativePush64(v105);
  111.         nativeCall();
  112.         nativeInit(0x43A66C31C68491C0ui64);     // GET_PLAYER_PED
  113.         v2265 = 0i64;
  114.         LODWORD(v2265) = playerIterator;
  115.         nativePush64((unsigned int)playerIterator);
  116.         v106 = (unsigned int *)nativeCall();
  117.         v107 = GET_VEHICLE_PED_IS_IN(*v106);
  118.         *(_DWORD *)unknown = v107;
  119.         SET_ENTITY_COORDS(v108, v107, v109, v110, 0x44D8D815u, 0x45214868u, 0x423439C1u);// X: 1734.7526 Y: 2580.5254 Z: 45.0564
  120.       }
  121.       ++playerIterator;
  122.       unknown = (char *)unknown + 4;
  123.     }
  124.     while ( playerIterator < 29 );
  125.     teleportAllToPrison = 0;
  126.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement