Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2019
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. How to find the index:
  2.  
  3. 1. open engine module
  4. 2. string search "@%.03f:loss(%.05f)" and go to its only xred which is cl_move
  5. 3. create pseudo
  6.  
  7. if ( v32 <= 0.0 )
  8. {
  9. if ( v30 <= 0.0 )
  10. {
  11. if ( dword_1058B414 & 0x1000 )
  12. goto LABEL_57;
  13. if ( *(_DWORD *)(dword_1058B41C + 36) )
  14. v14 = *(BYTE **)(dword_1058B41C + 36);
  15. if ( *v14 )
  16. LABEL_57:
  17. (*(void (__stdcall **)(BYTE *))(*(_DWORD *)dword_1058B41C + 56))(&Data);
  18. }
  19. else
  20. {
  21. v21 = sub_10027F70(v19, (int)&v26, (int)"@%.03f:choke(%.05f)", v31);
  22. (*(void (__stdcall **)(int))(*(_DWORD *)dword_1058B41C + 56))(v21 + 5);
  23. }
  24. }
  25. else
  26. {
  27. v20 = sub_10027F70(v19, (int)&v26, (int)"@%.03f:loss(%.05f)", v31);
  28. (*(void (__stdcall **)(int))(*(_DWORD *)dword_1058B41C + 56))(v20 + 5);
  29. }
  30. }
  31. }
  32. else
  33. {
  34. (*(void (**)(void))(**(_DWORD **)(v3 + 156) + 104))();
  35. v11 = *(_DWORD *)(v3 + 156);
  36. v32 = result;
  37. (*(void (**)(void))(*(_DWORD *)v11 + 88))(); <---- this vfunc call is createmove divide the last number: 88 / 4 = 22. 22 is the current index.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement