Download War Thunder PacketIntercept Source Miscellaneous Files

War Thunder
War Thunder is a plane flying game that just went open beta.
Just going to post stuff as I find it, I guess.

This seems to be vehicle/player iteration (with some XOR crap, obviously pro-anticheat)

Code:
  1. for ( i = 0; i < *(_DWORD *)(g_gloalUnk + 0x9B0); ++i )
  2. {
  3. v29 = v28 + *(_DWORD *)(v27 + 2476);
  4. if ( *(_BYTE *)(v29 + 520) )
  5. {
  6. v30 = *(_BYTE *)(v29 + 282);
  7. v31 = *(_WORD *)(v29 + 280);
  8. LOBYTE(v31) = v30 ^ v31;
  9. HIBYTE(v31) ^= v30;
  10. v32 = 11 * v30 + 70;
  11. v33 = v32 ^ *(_BYTE *)(v29 + 282);
  12. *(_BYTE *)(v29 + 280) ^= v33;
  13. *(_BYTE *)(v29 + 281) ^= v33;
  14. *(_BYTE *)(v29 + 282) = v32;
  15. if ( v31 > v24 )
  16. {
  17. v34 = *(_BYTE *)(v29 + 282);
  18. v35 = *(_WORD *)(v29 + 280);
  19. LOBYTE(v35) = v34 ^ v35;
  20. HIBYTE(v35) ^= v34;
  21. v24 = v35;
  22. v36 = 11 * v34 + 70;
  23. v37 = v36 ^ *(_BYTE *)(v29 + 282);
  24. *(_BYTE *)(v29 + 280) ^= v37;
  25. *(_BYTE *)(v29 + 281) ^= v37;
  26. *(_BYTE *)(v29 + 282) = v36;
  27. }
  28. if ( !((*(_DWORD *)(v29 + 44) >> 9) & 1) )
  29. {
  30. v38 = 11 * *(_BYTE *)(v29 + 282) + 70;
  31. v39 = v38 ^ *(_BYTE *)(v29 + 282);
  32. *(_BYTE *)(v29 + 280) ^= v39;
  33. *(_BYTE *)(v29 + 281) ^= v39;
  34. *(_BYTE *)(v29 + 282) = v38;
  35. }
  36. v3 = a2;
  37. }
  38. v27 = g_gloalUnk;
  39. v28 += 0x2D4u;
  40. }
Code:
  1. .data:0139E244 ; int g_gloalUnk
  2.  
  3. .text:007AC6E4 mov eax, g_gloalUnk
  4. .text:007AC6E9 mov ecx, [eax+9BCh]
  5. .text:007AC6EF xor esi, esi

+0x9B0 = Player Count
+0x9BC = Local Player (I believe)

(0x2D4) = Struct size, I guess?

Code:
  1. ( ( int ( __cdecl* )() ) 0x0073BFC0 )();

Unlocks everything, though the server will error you if you try to use a plane you don’t have.
It does unlock all missions and give you all decals, though. So that’s fun.

Code:
  1. *(float*) 0x013A2650 = 5.0f; //g_bulletSpeedModifier
  2. *(float*) 0x013A2654 = 0.0f; //g_bulletGravityMultiplier
  3. *(float*) 0x013A2658 = 5000.0f; //g_bulletKineticEnergyMultiplier
  4. *(float*) 0x013A265C = 0.0f; //g_bulletWindageMultiplier

Seems to result in decent aim but… warning: Don’t set bullet speed too high. The speed of the bullet can effect your flight path… setting it to 5000 is strongly not advised, lol.

Add Comment


  • 0 Answer(s)


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.