Advertisement
Prawy

Why this is doing crash

Apr 16th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. void UI_DisplayDownloadInfo(char* downloadName, float centerPoint, float yStart, float scale);
  2. __call(0x539363, (int)UI_DisplayDownloadInfo); // Smaller download text.
  3.  
  4. void UI_DisplayDownloadInfo(char* downloadName, float centerPoint, float yStart, float scale) {
  5. void(*original)(char*, float, float, float) = (void(*)(char*, float, float, float)) 0x538AF0;
  6. original(downloadName, centerPoint, yStart, scale); //causing crash
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement