Advertisement
gogo92111

GetDataModel PseudoCode

Apr 30th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. int __thiscall sub_E39360(void *this, int a1)
  2. {
  3. int result; // eax@2
  4. int v3; // ecx@4
  5. char *v4; // eax@5
  6. int v5; // ecx@5
  7. int v6; // ecx@6
  8. int v7; // [sp+4h] [bp-1Ch]@5
  9. int v8; // [sp+Ch] [bp-14h]@3
  10. int v9; // [sp+10h] [bp-10h]@4
  11. int v10; // [sp+1Ch] [bp-4h]@3
  12.  
  13. if ( byte_1B6A4D4 )
  14. {
  15. sub_5A8B60((int)this, a1);
  16. result = a1;
  17. }
  18. else
  19. {
  20. sub_5A8B60((int)this, (int)&v8);
  21. v10 = 0;
  22. if ( v8 )
  23. {
  24. result = a1;
  25. *(_DWORD *)a1 = v8;
  26. v3 = v9;
  27. *(_DWORD *)(a1 + 4) = 0;
  28. *(_DWORD *)(a1 + 4) = v3;
  29. }
  30. else
  31. {
  32. v4 = (char *)sub_E2B160();
  33. sub_E2B120(v4, (int)&v7);
  34. v5 = v7;
  35. if ( v7 )
  36. {
  37. *(_DWORD *)a1 = *(_DWORD *)(v7 + 20);
  38. v6 = *(_DWORD *)(v5 + 24);
  39. *(_DWORD *)(a1 + 4) = v6;
  40. if ( v6 )
  41. _InterlockedIncrement((volatile signed __int32 *)(v6 + 4));
  42. }
  43. else
  44. {
  45. *(_DWORD *)a1 = 0;
  46. *(_DWORD *)(a1 + 4) = 0;
  47. }
  48. sub_54F980((int)&v7);
  49. sub_54F980((int)&v8);
  50. result = a1;
  51. }
  52. }
  53. return result;
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement