Advertisement
Prawy

Untitled

Apr 3rd, 2021
47
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None
  1. signed int __cdecl PM_GetEffectiveStance(int a1)
  2. {
  3. int v1; // edx@2
  4. int v2; // ecx@3
  5. signed int result; // eax@6
  6.  
  7. if ( *(_BYTE *)(a1 + 12) & 1
  8. || (v1 = *(_DWORD *)(a1 + 216), v1 == *(_DWORD *)(a1 + 828))
  9. || (v2 = *(_DWORD *)(a1 + 212)) != 0 && v1 == *(_DWORD *)(a1 + 832) && !*(_DWORD *)(a1 + 220) )
  10. {
  11. result = 1;
  12. }
  13. else if ( *(_BYTE *)(a1 + 12) & 2 || v2 && v1 == *(_DWORD *)(a1 + 832) )
  14. {
  15. result = 2;
  16. }
  17. else
  18. {
  19. result = 0;
  20. }
  21. return result;
  22. }
Advertisement
RAW Paste Data Copied
Advertisement