游戏修改-DaveTheDiver

BOOL CDaveTheDiver::PathAndHook()
{
BOOL bRetVal;

// bRetVal = m_pMgr->PathItem("7216F30F1005A68A6700C747180000E040EB05", "9090F30F100DA68A670080471B02909090EB05", "GameAssembly.dll");
bRetVal = m_pMgr->HookItem(&Hook_BreathUpdate, this, &BreathUpdate, 0x00, "F30F10776033C948899C24C00000000F29BC2490000000E8187FAFFE80BF9C00000000F30F58C6", "GameAssembly.dll", -0x3C);
bRetVal = m_pMgr->HookItem(&Hook_BaseStatusGetValue, this, &BaseStatusGetValue, 0x00, "48895C2408574883EC30803D0480E201008BFA0F29742420488BD90F28F2", "GameAssembly.dll");
bRetVal = m_pMgr->HookItem(&Hook_ItemsItemWeight, this, &ItemsItemWeight, 0x00, "F30F10414CC3CCCCCCCCCCCCCCCCCCCC48895C24084889742410574883EC2080", "GameAssembly.dll");
bRetVal = m_pMgr->HookItem(&Hook_DecreaseBullet, this, &DecreaseBullet, 0x00, "40534883EC20803D137E990100488BD9751F488D0DB75F7201E8B2E461FD", "GameAssembly.dll");
// bRetVal = m_pMgr->HookItem(&Hook_IngredientsDataPrice, this, &IngredientsDataPrice, 0x00, "40534883EC20803DC13EF00100488BD9751F488D0D4704C901E892DAB8FD488D0DFBDECF01", "GameAssembly.dll");
bRetVal = m_pMgr->HookItem(&Hook_RecipeEntityTotalPrice, this, &RecipeEntityTotalPrice, 0x00, "48895C2408574883EC20803D782AD901008BDA488BF9751F", "GameAssembly.dll");

return TRUE;

}

posted @ 2023-07-11 17:36  Yofoo  阅读(24)  评论(0)    收藏  举报