Pr0nogo

Untitled

Jul 6th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. signed int __stdcall BTNSCOND_HasNuke(int a1)
  2. {
  3. CUNIT *v1; // eax
  4.  
  5. v1 = playerUnitPointers[*(unsigned __int8 *)(a1 + 76)];
  6. if ( !v1 )
  7. return -1;
  8. while ( v1->type != 108 || !*(_DWORD *)&v1->field_D4 )
  9. {
  10. v1 = v1->playerNext;
  11. if ( !v1 )
  12. return -1;
  13. }
  14. return 1;
  15. }
Add Comment
Please, Sign In to add comment