Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.33 KB | None | 0 0
  1. void __thiscall fb::BlazeServerGameManager::onPlayerJoinComplete(fb::BlazeServerGameManager *a1, Blaze::GameManager::Player *a2)
  2. {
  3.   fb::BlazeServerGameManager *v2; // esi
  4.   _DWORD *v3; // eax
  5.   int v4; // edx
  6.   Blaze::MeshEndpointVtbl *v5; // eax
  7.   int v6; // eax
  8.   double v7; // st7
  9.   int v8; // eax
  10.   int v9; // [esp+10h] [ebp-38h]
  11.   int v10; // [esp+14h] [ebp-34h]
  12.   int v11; // [esp+18h] [ebp-30h]
  13.   int v12; // [esp+1Ch] [ebp-2Ch]
  14.   char v13; // [esp+20h] [ebp-28h]
  15.   int v14; // [esp+44h] [ebp-4h]
  16.  
  17.   v2 = a1;
  18.   v3 = *&a2->gap4[28];
  19.   v9 = v3[12];
  20.   v10 = v3[13];
  21.   v11 = v3[8];
  22.   v4 = v3[9];
  23.   v5 = a2->baseclass_58.vfptr;
  24.   v12 = v4;
  25.   v6 = v5->getName(&a2->baseclass_58);
  26.   v7 = std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<char,std::char_traits<char>,std::allocator<char>>(
  27.          &v13,
  28.          v6);
  29.   v14 = 0;
  30.   sub_945DA0(&v2[-1].m_backendStates.mBuffer[264], v7, &v13, &v11, &v9);
  31.   v14 = -1;
  32.   std::basic_string<char,std::char_traits<char>,std::allocator<char>>::~basic_string<char,std::char_traits<char>,std::allocator<char>>(&v13);
  33.   if ( sub_947260() )
  34.   {
  35.     v8 = Blaze::BlazeNetworkAdapter::ConnApiAdapter::getClientHandleForPlayer(v2->m_refCntListener, &a2->baseclass_58);
  36.     fb::DirtySockSocketManager::addConnection(dice::hfe::io::networkManager, a2, v8);
  37.   }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement