Advertisement
expired6978

Untitled

Feb 5th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. void UpdateTintMaskColors(StaticFunctionTag * base)
  2.     {
  3.         UIManager * uiManager = UIManager::GetSingleton();
  4.         if (!uiManager)
  5.             return;
  6.  
  7.         if(*((void **)0x01B3F044)) {
  8.             TintUpdateDelegate * cmd = s_tintUpdateDelegatePool.Allocate();
  9.             if (!cmd) {
  10.                 _MESSAGE("Failed to allocate TintUpdateDelegate, skipping invoke");
  11.                 return;
  12.             }
  13.             uiManager->QueueCommand(cmd);
  14.             _MESSAGE("Queued Tint Update");
  15.         } else {
  16.             UpdatePlayerTints();
  17.             _MESSAGE("Immediate Tint Update");
  18.         }
  19.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement