本文整理汇总了C++中std::shared_ptr::Call方法的典型用法代码示例。如果您正苦于以下问题:C++ shared_ptr::Call方法的具体用法?C++ shared_ptr::Call怎么用?C++ shared_ptr::Call使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类std::shared_ptr
的用法示例。
在下文中一共展示了shared_ptr::Call方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GetSoloExpHook
void CServer::GetSoloExpHook( )
{
lpAsm->MakeBaseAddress( 0x00560E2C );
lpAsm->Push( EDI );
lpAsm->Push( EBX );
lpAsm->Call( ( int )&_GetSoloExp );
lpAsm->AddEsp( 8 );
lpAsm->FillNops( 109 );
};
示例2: GetPartyExpHook
void CServer::GetPartyExpHook( )
{
lpAsm->MakeBaseAddress( 0x00575020 );
lpAsm->Push( ECX );
lpAsm->PushPtrEsp( 0x4 );
lpAsm->Call( ( int )&_GetPartyExp );
lpAsm->AddEsp( 8 );
lpAsm->Retn( 8 );
};
示例3: CheckExpGainedHook
void CServer::CheckExpGainedHook( )
{
lpAsm->MakeBaseAddress( 0x00450099 );
lpAsm->Push( EBP );
lpAsm->PushPtrEsp( 0x14 );
lpAsm->Call( ( int )&_CheckExpGained );
lpAsm->AddEsp( 8 );
lpAsm->Test( EAX, EAX );
lpAsm->Jnz( 0x00450135 );
lpAsm->FillNops( 112 );
};
示例4: CheckPlayerLevelHook
void CServer::CheckPlayerLevelHook( )
{
lpAsm->MakeBaseAddress( ( int )EditData );
lpAsm->Push( EBX );
lpAsm->Call( ( int )&_CheckPlayerLevel );
lpAsm->AddEsp( 4 );
lpAsm->Test( EAX, EAX );
lpAsm->Je( 0x00571A43 );
lpAsm->Jmp( 0x00571A04 );
lpAsm->SetLastAddress( );
lpAsm->MakeBaseAddress( ( int )0x005719FB );
lpAsm->Jmp( ( int )EditData );
lpAsm->FillNops( 4 );
lpAsm->AtualizeAddress( &EditData, true );
};
示例5: PacketHook
void CServer::PacketHook( )
{
lpAsm->MakeBaseAddress( ( int )EditData );
lpAsm->Push( EAX );
lpAsm->Push( EBP );
lpAsm->Push( EDI );
lpAsm->Call( ( int )&_ReceivedPacket );
lpAsm->AddEsp( 8 );
lpAsm->Pop( EAX );
lpAsm->Cmp( ESI, 0x48478400 );
lpAsm->Jmp( 0x0056F527 );
lpAsm->SetLastAddress( );
lpAsm->MakeBaseAddress( ( int )0x0056F521 );
lpAsm->Jmp( ( int )EditData );
lpAsm->FillNops( 1 );
lpAsm->AtualizeAddress( &EditData, true );
};