/*
文件名:New_Hook.nut
路径:Dps_A/New_Hook.nut
创建日期:2024-09-23	20:15
文件用途:后续新增的玩家需求的HOOK
*/
//通用HOOK入口函数
function _Hook_Enter_Currency_Func_(args, TableObj) {
    local Ret = null;
    foreach(Func in TableObj) {
        local Buf = Func(args);
        if (Buf != null) Ret = Buf;
    }
    return Ret;
}
//通用HOOK出口函数
function _Hook_Leave_Currency_Func_(args, TableObj) {
    local Ret = null;
    foreach(Func in TableObj) {
        local Buf = Func(args);
        if (Buf != null) Ret = Buf;
    }
    return Ret;
}

//通用注册HOOK函数
function _Hook_Register_Currency_Func_(AddressString, ArgRetArr, EnterTable, LeaveTable) {
    Haker.LoadHook(AddressString, ArgRetArr,
        function(args) {
            return _Hook_Enter_Currency_Func_(args, EnterTable);
        },
        function(args) {
            return _Hook_Leave_Currency_Func_(args, LeaveTable);
        }
    );
}


//玩家新增道具时
Cb_User_Insert_Item_Enter_Func <- {};
Cb_User_Insert_Item_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x8502D86", ["pointer", "pointer", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "char", "int", "char", "char", "int"], Cb_User_Insert_Item_Enter_Func, Cb_User_Insert_Item_Leave_Func);


//玩家捡起道具
Cb_User_Get_Item_Enter_Func <- {};
Cb_User_Get_Item_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x85B949C", ["pointer", "pointer", "int", "int", "int"], Cb_User_Get_Item_Enter_Func, Cb_User_Get_Item_Leave_Func);


//服务器Chat日志HOOK
Cb_Server_Chat_Log_Enter_Func <- {};
Cb_Server_Chat_Log_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x86C9638", ["pointer", "pointer", "char", "string", "char"], Cb_Server_Chat_Log_Enter_Func, Cb_Server_Chat_Log_Leave_Func);

//玩家上线设置IP
Cb_User_Set_WebAddress_Enter_Func <- {};
Cb_User_Set_WebAddress_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x84EC918", ["pointer", "pointer", "pointer"], Cb_User_Set_WebAddress_Enter_Func, Cb_User_Set_WebAddress_Leave_Func);

//服务端关闭执行函数
Cb_Server_Close_Enter_Func <- {};
Cb_Server_Close_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x829F28B", ["pointer", "pointer"], Cb_Server_Close_Enter_Func, Cb_Server_Close_Leave_Func);

//检查地下城的状况
Cb_CheckInoutConditionDungeon_Enter_Func <- {};
Cb_CheckInoutConditionDungeon_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x85ABC80", ["pointer", "pointer", "int", "int", "int"], Cb_CheckInoutConditionDungeon_Enter_Func, Cb_CheckInoutConditionDungeon_Leave_Func);


//地下城现场杀死地狱党组怪物Cnt
Cb_Field_KillHellPartyGroupMonsterCnt_Enter_Func <- {};
Cb_Field_KillHellPartyGroupMonsterCnt_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x830D704", ["pointer", "pointer", "pointer", "bool"], Cb_Field_KillHellPartyGroupMonsterCnt_Enter_Func, Cb_Field_KillHellPartyGroupMonsterCnt_Leave_Func);

//经验收益
Cb_Gain_Exp_Sp_Enter_Func <- {};
Cb_Gain_Exp_Sp_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x866A3FE", ["pointer", "int", "int", "int", "int", "int", "char"], Cb_Gain_Exp_Sp_Enter_Func, Cb_Gain_Exp_Sp_Leave_Func);

//货币收益
Cb_Gain_Money_Enter_Func <- {};
Cb_Gain_Money_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x84FF29C", ["pointer", "int", "char", "int", "int"], Cb_Gain_Money_Enter_Func, Cb_Gain_Money_Leave_Func);

//GetItem检查错误
Cb_GetItem_Check_Error_Enter_Func <- {};
Cb_GetItem_Check_Error_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x81C35AC", ["pointer", "pointer", "pointer", "int"], Cb_GetItem_Check_Error_Enter_Func, Cb_GetItem_Check_Error_Leave_Func);

//队伍清除副本
Cb_ClearDungeon_Enter_Func <- {};
Cb_ClearDungeon_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x85a9330", ["pointer", "void"], Cb_ClearDungeon_Enter_Func, Cb_ClearDungeon_Leave_Func);

//检查选择进入副本时状态
Cb_SelectDungeon_Check_Error_Enter_Func <- {};
Cb_SelectDungeon_Check_Error_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x81C7F32", ["pointer", "pointer", "pointer", "int"], Cb_SelectDungeon_Check_Error_Enter_Func, Cb_SelectDungeon_Check_Error_Leave_Func);

//切换装备
Cb_CInventory_ChangeEquip_Enter_Func <- {};
Cb_CInventory_ChangeEquip_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x84FC37E", ["pointer", "int", "pointer", "int"], Cb_CInventory_ChangeEquip_Enter_Func, Cb_CInventory_ChangeEquip_Leave_Func);

//获取通关时间回调
Cb_CParty_SetBestClearTime_Enter_Func <- {};
Cb_CParty_SetBestClearTime_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x85BE178", ["pointer", "char", "int", "int", "bool"], Cb_CParty_SetBestClearTime_Enter_Func, Cb_CParty_SetBestClearTime_Leave_Func);

//使用称号回收箱时检查使用条件
Cb_UseLimitCube_Check_Error_Enter_Func <- {};
Cb_UseLimitCube_Check_Error_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x081D3BBC", ["pointer", "int", "int", "int", "pointer", "pointer", "pointer", "int"], Cb_UseLimitCube_Check_Error_Enter_Func, Cb_UseLimitCube_Check_Error_Leave_Func);

//使用称号回收箱过程
Cb_UseLimitCube_Process_Enter_Func <- {};
Cb_UseLimitCube_Process_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x081D3D38", ["pointer", "pointer", "pointer", "pointer", "int"], Cb_UseLimitCube_Process_Enter_Func, Cb_UseLimitCube_Process_Leave_Func);

//购买商城物品时日志
Cb_Log_BuyCashShopItem_Enter_Func <- {};
Cb_Log_BuyCashShopItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08686EA0", ["pointer", "int", "int", "int", "int", "char", "int", "int", "int"], Cb_Log_BuyCashShopItem_Enter_Func, Cb_Log_BuyCashShopItem_Leave_Func);

//购买道具获取信息
Cb_BuyItem_Get_Data_Enter_Func <- {};
Cb_BuyItem_Get_Data_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x81BE658", ["pointer", "pointer", "int", "pointer", "int"], Cb_BuyItem_Get_Data_Enter_Func, Cb_BuyItem_Get_Data_Leave_Func);

//设置角色详细信息
Cb_Set_Charac_Info_Detail_Enter_Func <- {};
Cb_Set_Charac_Info_Detail_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0864AC1A", ["pointer", "int", "int", "pointer", "int"], Cb_Set_Charac_Info_Detail_Enter_Func, Cb_Set_Charac_Info_Detail_Leave_Func);

//使用远古地下城道具
Cb_UseAncientDungeonItems_Enter_Func <- {};
Cb_UseAncientDungeonItems_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x859EAC2", ["pointer", "pointer", "pointer", "pointer", "int"], Cb_UseAncientDungeonItems_Enter_Func, Cb_UseAncientDungeonItems_Leave_Func);

//购买限时商品
Cb_BuyCeraShopLimitItem_Enter_Func <- {};
Cb_BuyCeraShopLimitItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x821F9BA", ["pointer", "pointer", "pointer", "int"], Cb_BuyCeraShopLimitItem_Enter_Func, Cb_BuyCeraShopLimitItem_Leave_Func);

//获取下次清除时间
Cb_User_GetLastClearTime_Enter_Func <- {};
Cb_User_GetLastClearTime_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0864387E", ["pointer", "int"], Cb_User_GetLastClearTime_Enter_Func, Cb_User_GetLastClearTime_Leave_Func);

//每日可交易金币上限
Cb_User_CharacInfo_IsAvailableCurCharacTradeGoldDaily_Enter_Func <- {};
Cb_User_CharacInfo_IsAvailableCurCharacTradeGoldDaily_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08646496", ["pointer", "int", "int"], Cb_User_CharacInfo_IsAvailableCurCharacTradeGoldDaily_Enter_Func, Cb_User_CharacInfo_IsAvailableCurCharacTradeGoldDaily_Leave_Func);

//进入副本加载完毕时
Cb_Party_OnStartMapFinishLoading_Enter_Func <- {};
Cb_Party_OnStartMapFinishLoading_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085B170A", ["pointer", "int", "int"], Cb_Party_OnStartMapFinishLoading_Enter_Func, Cb_Party_OnStartMapFinishLoading_Leave_Func);

//房间清理完毕
Cb_Battle_Field_onClearMap_Enter_Func <- {};
Cb_Battle_Field_onClearMap_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0830DD2C", ["pointer", "bool", "char"], Cb_Battle_Field_onClearMap_Enter_Func, Cb_Battle_Field_onClearMap_Leave_Func);

//放弃副本
Cb_Party_giveup_game_Enter_Func <- {};
Cb_Party_giveup_game_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085B2BAA", ["pointer", "pointer", "bool", "bool", "bool", "void"], Cb_Party_giveup_game_Enter_Func, Cb_Party_giveup_game_Leave_Func);

//迷妄之塔 死亡之塔通关时
Cb_CDeathTower_onClear_Enter_Func <- {};
Cb_CDeathTower_onClear_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08467E60", ["pointer", "bool", "int"], Cb_CDeathTower_onClear_Enter_Func, Cb_CDeathTower_onClear_Leave_Func);

//无尽祭坛通关时
Cb_CBloodClearRewardData_Enter_Func <- {};
Cb_CBloodClearRewardData_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08306FC4", ["pointer", "bool", "int", "pointer", "pointer", "bool"], Cb_CBloodClearRewardData_Enter_Func, Cb_CBloodClearRewardData_Leave_Func);

//进入迷妄之塔 死亡之塔时
Cb_DeathTowerStageCommand_Enter_Func <- {};
Cb_DeathTowerStageCommand_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08208A9E", ["pointer", "pointer", "pointer", "int"], Cb_DeathTowerStageCommand_Enter_Func, Cb_DeathTowerStageCommand_Leave_Func);

//离开迷妄之塔 死亡之塔时
Cb_CDeathTower_onLeaveUser_Enter_Func <- {};
Cb_CDeathTower_onLeaveUser_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x084636F2", ["pointer", "pointer", "int"], Cb_CDeathTower_onLeaveUser_Enter_Func, Cb_CDeathTower_onLeaveUser_Leave_Func);

//玩家交易过程
Cb_TradeSpace_proceed_trade_Enter_Func <- {};
Cb_TradeSpace_proceed_trade_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0853087A", ["pointer", "int"], Cb_TradeSpace_proceed_trade_Enter_Func, Cb_TradeSpace_proceed_trade_Leave_Func);

//发送多物品邮件
Cb_MultiMailBoxReqSend_Enter_Func <- {};
Cb_MultiMailBoxReqSend_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x084E27B8", ["pointer", "pointer", "pointer", "int"], Cb_MultiMailBoxReqSend_Enter_Func, Cb_MultiMailBoxReqSend_Leave_Func);

//发送单物品邮件
Cb_MailBox_Send_Enter_Func <- {};
Cb_MailBox_Send_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x081CC958", ["pointer", "pointer", "pointer", "pointer", "int"], Cb_MailBox_Send_Enter_Func, Cb_MailBox_Send_Leave_Func);

//发送金币邮件时是否通过验证
Cb_checkHumanCertify_Enter_Func <- {};
Cb_checkHumanCertify_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0867F4C8", ["pointer", "int", "pointer", "int"], Cb_checkHumanCertify_Enter_Func, Cb_checkHumanCertify_Leave_Func);

//摆摊购买
Cb_CPrivateStore_BuyItem_Enter_Func <- {};
Cb_CPrivateStore_BuyItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085C924C", ["pointer", "int", "pointer", "int", "int", "int", "int", "int"], Cb_CPrivateStore_BuyItem_Enter_Func, Cb_CPrivateStore_BuyItem_Leave_Func);

//拍卖行上架
Cb_AuctionResultAskRegistedItemNum_Enter_Func <- {};
Cb_AuctionResultAskRegistedItemNum_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x084D5930", ["pointer", "pointer", "pointer", "int"], Cb_AuctionResultAskRegistedItemNum_Enter_Func, Cb_AuctionResultAskRegistedItemNum_Leave_Func);

//拍卖行购买物品
Cb_AuctionLogMessage_Enter_Func <- {};
Cb_AuctionLogMessage_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x084D7A90", ["pointer", "pointer", "pointer", "int"], Cb_AuctionLogMessage_Enter_Func, Cb_AuctionLogMessage_Leave_Func);

//副本内生成物品时
Cb_Battle_Field_MakeDropItems_Enter_Func <- {};
Cb_Battle_Field_MakeDropItems_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0830ADF6", ["pointer", "pointer", "pointer", "pointer", "int", "int", "int", "int", "int", "pointer", "float", "int", "void"], Cb_Battle_Field_MakeDropItems_Enter_Func, Cb_Battle_Field_MakeDropItems_Leave_Func);

//独立掉落几率
Cb_IndependentItemRateControl_Enter_Func <- {};
Cb_IndependentItemRateControl_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0834972F", ["pointer", "pointer", "int"], Cb_IndependentItemRateControl_Enter_Func, Cb_IndependentItemRateControl_Leave_Func);

//黑钻机添加物品到User时
Cb_UseVendingMachine_putItemIntoUser_Enter_Func <- {};
Cb_UseVendingMachine_putItemIntoUser_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0821B71C", ["int", "pointer", "int", "int", "int", "int"], Cb_UseVendingMachine_putItemIntoUser_Enter_Func, Cb_UseVendingMachine_putItemIntoUser_Leave_Func);


//查看信息
Cb_GetUserInfo_Enter_Func <- {};
Cb_GetUserInfo_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x081C3DD8", ["pointer", "pointer", "pointer", "int"], Cb_GetUserInfo_Enter_Func, Cb_GetUserInfo_Leave_Func);


//初始化技能过程
Cb_SkillInit_process_skill_Enter_Func <- {};
Cb_SkillInit_process_skill_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x081E5BDC", ["pointer", "pointer", "pointer", "void"], Cb_SkillInit_process_skill_Enter_Func, Cb_SkillInit_process_skill_Leave_Func);

//转职
Cb_User_set_grow_Enter_Func <- {};
Cb_User_set_grow_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x086787FC", ["pointer", "int", "int", "int", "int", "void"], Cb_User_set_grow_Enter_Func, Cb_User_set_grow_Leave_Func);

//使用特殊道具时
Cb_User_increase_status_Enter_Func <- {};
Cb_User_increase_status_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x86657FC", ["pointer", "int", "void"], Cb_User_increase_status_Enter_Func, Cb_User_increase_status_Leave_Func);

//更新物品
Cb_User_SendUpdateItem_Enter_Func <- {};
Cb_User_SendUpdateItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0867C2D8", ["pointer", "int", "int", "int", "int"], Cb_User_SendUpdateItem_Enter_Func, Cb_User_SendUpdateItem_Leave_Func);

//幸运值获取装备品级
Cb_LuckPoint_GetItemRarity_Enter_Func <- {};
Cb_LuckPoint_GetItemRarity_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08550BE4", ["pointer", "pointer", "int", "int", "int"], Cb_LuckPoint_GetItemRarity_Enter_Func, Cb_LuckPoint_GetItemRarity_Leave_Func);

//添加时装到背包
Cb_Inventory_AddAvatarItem_Enter_Func <- {};
Cb_Inventory_AddAvatarItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08509B9E", ["int", "int", "int", "int", "int", "int", "pointer", "int", "int", "int", "int"], Cb_Inventory_AddAvatarItem_Enter_Func, Cb_Inventory_AddAvatarItem_Leave_Func);

//是否开启潜能
Cb_Item_IsHiddenOption_Enter_Func <- {};
Cb_Item_IsHiddenOption_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0817EDEC", ["pointer", "int"], Cb_Item_IsHiddenOption_Enter_Func, Cb_Item_IsHiddenOption_Leave_Func);

//返回1关闭商店回购
Cb_Item_IsBanRedeemItem_Enter_Func <- {};
Cb_Item_IsBanRedeemItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085F7BE0", ["pointer", "int"], Cb_Item_IsBanRedeemItem_Enter_Func, Cb_Item_IsBanRedeemItem_Leave_Func);

//副本内队伍加载完毕时
Cb_CParty_finish_loading_Enter_Func <- {};
Cb_CParty_finish_loading_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085B15E0", ["pointer", "pointer", "void"], Cb_CParty_finish_loading_Enter_Func, Cb_CParty_finish_loading_Leave_Func);

//检查删除角色时间 返回1则可立马删除新建角色
Cb_User_CheckDeleteCharacTime_Enter_Func <- {};
Cb_User_CheckDeleteCharacTime_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0864A830", ["pointer", "int", "int"], Cb_User_CheckDeleteCharacTime_Enter_Func, Cb_User_CheckDeleteCharacTime_Leave_Func);

//忽略在副本门口禁止摆摊
Cb_CPrivateStore_IsAreaNearEntranceDungeon_Enter_Func <- {};
Cb_CPrivateStore_IsAreaNearEntranceDungeon_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085C5082", ["pointer", "pointer", "int"], Cb_CPrivateStore_IsAreaNearEntranceDungeon_Enter_Func, Cb_CPrivateStore_IsAreaNearEntranceDungeon_Leave_Func);

//解除每日创建角色数量限制
Cb_CreateCharac_CheckLimitCreateNewCharac_Enter_Func <- {};
Cb_CreateCharac_CheckLimitCreateNewCharac_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08401922", ["int", "pointer", "int"], Cb_CreateCharac_CheckLimitCreateNewCharac_Enter_Func, Cb_CreateCharac_CheckLimitCreateNewCharac_Leave_Func);

//脱离公会时
Cb_MonitorNoticeGuildSecede_dispatch_Enter_Func <- {};
Cb_MonitorNoticeGuildSecede_dispatch_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x084C957E", ["pointer", "pointer", "pointer", "int"], Cb_MonitorNoticeGuildSecede_dispatch_Enter_Func, Cb_MonitorNoticeGuildSecede_dispatch_Leave_Func);


//击杀怪物攻城怪物
Cb_CVillageMonster_OnKillVillageMonster_Enter_Func <- {};
Cb_CVillageMonster_OnKillVillageMonster_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x086B34A0", ["pointer", "pointer", "int", "int", "int", "bool", "int"], Cb_CVillageMonster_OnKillVillageMonster_Enter_Func, Cb_CVillageMonster_OnKillVillageMonster_Leave_Func);

//挑战攻城怪物副本结束事件, 更新怪物攻城活动各阶段状态
Cb_CVillageMonster_SendVillageMonsterFightResult_Enter_Func <- {};
Cb_CVillageMonster_SendVillageMonsterFightResult_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x086B330A", ["pointer", "pointer", "bool", "void"], Cb_CVillageMonster_SendVillageMonsterFightResult_Enter_Func, Cb_CVillageMonster_SendVillageMonsterFightResult_Leave_Func);

//刷新攻城怪物函数, 控制下一只刷新的攻城怪物id
Cb_CVillageMonsterArea_GetAttackedMonster_Enter_Func <- {};
Cb_CVillageMonsterArea_GetAttackedMonster_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x086B3AEA", ["pointer", "int", "pointer"], Cb_CVillageMonsterArea_GetAttackedMonster_Enter_Func, Cb_CVillageMonsterArea_GetAttackedMonster_Leave_Func);

//正在挑战的攻城怪物
Cb_CVillageMonster_OnFightVillageMonster_Enter_Func <- {};
Cb_CVillageMonster_OnFightVillageMonster_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x086B3240", ["pointer", "pointer", "int", "int", "int"], Cb_CVillageMonster_OnFightVillageMonster_Enter_Func, Cb_CVillageMonster_OnFightVillageMonster_Leave_Func);

//副本刷怪函数 控制副本内怪物的数量和属性
Cb_MapInfo_Add_Mob_Enter_Func <- {};
Cb_MapInfo_Add_Mob_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08151612", ["pointer", "pointer", "int"], Cb_MapInfo_Add_Mob_Enter_Func, Cb_MapInfo_Add_Mob_Leave_Func);

//怪物攻城通关时获得经验
Cb_CVillageMonsterMgr_OnKillVillageMonster_Enter_Func <- {};
Cb_CVillageMonsterMgr_OnKillVillageMonster_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x086B4866", ["pointer", "pointer", "bool", "int"], Cb_CVillageMonsterMgr_OnKillVillageMonster_Enter_Func, Cb_CVillageMonsterMgr_OnKillVillageMonster_Leave_Func);

//玩家使用复活币
Cb_UseCoin_Enter_Func <- {};
Cb_UseCoin_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x81CA852", ["pointer", "pointer", "pointer", "pointer", "int"], Cb_UseCoin_Enter_Func, Cb_UseCoin_Leave_Func);

//玩家完成任务
Cb_fnStatQuestClear_Enter_Func <- {};
Cb_fnStatQuestClear_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x8664412", ["pointer", "int", "int"], Cb_fnStatQuestClear_Enter_Func, Cb_fnStatQuestClear_Leave_Func);

//深渊派对开始时
Cb_HellPartyStart_dispatch_Enter_Func <- {};
Cb_HellPartyStart_dispatch_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x821D9A6", ["pointer", "pointer", "int"], Cb_HellPartyStart_dispatch_Enter_Func, Cb_HellPartyStart_dispatch_Leave_Func);

//获取道具日志
Cb_UserHistoryLog_ItemAdd_Enter_Func <- {};
Cb_UserHistoryLog_ItemAdd_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x8682E84", ["pointer", "int", "int", "int", "pointer", "int", "void"], Cb_UserHistoryLog_ItemAdd_Enter_Func, Cb_UserHistoryLog_ItemAdd_Leave_Func);

// //获取绝望之塔进入次数
// Cb_TOD_UserState_getEnterCount_Enter_Func <- {};
// Cb_TOD_UserState_getEnterCount_Leave_Func <- {};
// _Hook_Register_Currency_Func_("0x8643872", ["pointer", "int"], Cb_TOD_UserState_getEnterCount_Enter_Func, Cb_TOD_UserState_getEnterCount_Leave_Func);


//掉落道具
Cb_GetItemRarity_Enter_Func <- {};
Cb_GetItemRarity_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x8550BE4", ["pointer", "pointer", "int", "int", "int", ], Cb_GetItemRarity_Enter_Func, Cb_GetItemRarity_Leave_Func);

//怪物死亡爆奖励的时候
Cb_dispatch_sig_Enter_Func <- {};
Cb_dispatch_sig_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x81EB0C4", ["pointer", "pointer", "pointer", "int"], Cb_dispatch_sig_Enter_Func, Cb_dispatch_sig_Leave_Func);

//装备解锁动作
Cb_CItemLock_DoItemUnlock_Enter_Func <- {};
Cb_CItemLock_DoItemUnlock_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x854231A", ["pointer", "pointer", "int", "int", "int"], Cb_CItemLock_DoItemUnlock_Enter_Func, Cb_CItemLock_DoItemUnlock_Leave_Func);

//丢弃物品检查错误
Cb_DropItem_check_error_Enter_Func <- {};
Cb_DropItem_check_error_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x81C2D9A", ["pointer", "pointer", "pointer", "pointer", "int"], Cb_DropItem_check_error_Enter_Func, Cb_DropItem_check_error_Leave_Func);

//城镇瞬移
Cb_GameWorld_move_area_Enter_Func <- {};
Cb_GameWorld_move_area_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x086C5A84", ["pointer", "pointer", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int"], Cb_GameWorld_move_area_Enter_Func, Cb_GameWorld_move_area_Leave_Func);


//称号回包
Cb_CTitleBook_putItemData_Enter_Func <- {};
Cb_CTitleBook_putItemData_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08641A6A", ["pointer", "pointer", "int", "pointer", "int"], Cb_CTitleBook_putItemData_Enter_Func, Cb_CTitleBook_putItemData_Leave_Func);

//设计图继承
Cb_CUsercopyItemOption_Enter_Func <- {};
Cb_CUsercopyItemOption_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08671EB2", ["pointer", "pointer", "pointer", "int"], Cb_CUsercopyItemOption_Enter_Func, Cb_CUsercopyItemOption_Leave_Func);


//装备开孔
Cb_AddSocketToAvatar_Enter_Func <- {};
Cb_AddSocketToAvatar_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0821A412", ["pointer", "pointer", "pointer", "int"], Cb_AddSocketToAvatar_Enter_Func, Cb_AddSocketToAvatar_Leave_Func);

//装备镶嵌和时装镶嵌
Cb_Dispatcher_UseJewel_Enter_Func <- {};
Cb_Dispatcher_UseJewel_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x8217BD6", ["int", "pointer", "pointer", "int"], Cb_Dispatcher_UseJewel_Enter_Func, Cb_Dispatcher_UseJewel_Leave_Func);

//额外数据包,发送装备镶嵌数据给本地处理
Cb_InterfacePacketBuf_put_packet_Enter_Func <- {};
Cb_InterfacePacketBuf_put_packet_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0815098e", ["pointer", "pointer", "int"], Cb_InterfacePacketBuf_put_packet_Enter_Func, Cb_InterfacePacketBuf_put_packet_Leave_Func);


//额外数据包,发送装备镶嵌数据给本地处理
Cb_PacketBuf_get_short_Enter_Func <- {};
Cb_PacketBuf_get_short_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0858D0B0", ["pointer", "pointer", "int"], Cb_PacketBuf_get_short_Enter_Func, Cb_PacketBuf_get_short_Leave_Func);


//公会普通信息回包
Cb_MonitorNoticeGuildChatMsg_Enter_Func <- {};
Cb_MonitorNoticeGuildChatMsg_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x084C9E30", ["pointer", "pointer", "pointer", "int"], Cb_MonitorNoticeGuildChatMsg_Enter_Func, Cb_MonitorNoticeGuildChatMsg_Leave_Func);

//公会超链接信息回包
Cb_MonitorNoticeGuildChatMsgHyperLink_Enter_Func <- {};
Cb_MonitorNoticeGuildChatMsgHyperLink_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x084E503C", ["pointer", "pointer", "pointer", "int"], Cb_MonitorNoticeGuildChatMsgHyperLink_Enter_Func, Cb_MonitorNoticeGuildChatMsgHyperLink_Leave_Func);

//检查移动技能槽位
Cb_CheckMoveComboSkillSlot_Enter_Func <- {};
Cb_CheckMoveComboSkillSlot_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08608C98", ["pointer", "char", "char", "bool"], Cb_CheckMoveComboSkillSlot_Enter_Func, Cb_CheckMoveComboSkillSlot_Leave_Func);

//检查插入快捷技能槽位
Cb_CheckComboSkillInsertQuickSlot_Enter_Func <- {};
Cb_CheckComboSkillInsertQuickSlot_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08608D58", ["pointer", "int", "bool"], Cb_CheckComboSkillInsertQuickSlot_Enter_Func, Cb_CheckComboSkillInsertQuickSlot_Leave_Func);


//检查每日日程时间 提供者: ZZ
Cb_User_CheckDailyScheduleTime_Enter_Func <- {};
Cb_User_CheckDailyScheduleTime_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x846C0A8", ["int", "int", "int"], Cb_User_CheckDailyScheduleTime_Enter_Func, Cb_User_CheckDailyScheduleTime_Leave_Func);

//绝望之塔获取上次挑战时间 提供者: ZZ
Cb_User_TOD_UserState_getLastClearTime_Enter_Func <- {};
Cb_User_TOD_UserState_getLastClearTime_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x864387E", ["pointer"], Cb_User_TOD_UserState_getLastClearTime_Enter_Func, Cb_User_TOD_UserState_getLastClearTime_Leave_Func);

//时装填充 提供者: ZZ
Cb_AradUseAvatarRecharge_Enter_Func <- {};
Cb_AradUseAvatarRecharge_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0819FA56", ["pointer", "pointer", "pointer"], Cb_AradUseAvatarRecharge_Enter_Func, Cb_AradUseAvatarRecharge_Leave_Func);

//物品随机品级 提供者: 凌众
Cb_CItem_IsRoutingItem_Enter_Func <- {};
Cb_CItem_IsRoutingItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08150f18", ["pointer", "int"], Cb_CItem_IsRoutingItem_Enter_Func, Cb_CItem_IsRoutingItem_Leave_Func);

//调整箱使用 提供者: 凌众
Cb_ModItemattr_Enter_Func <- {};
Cb_ModItemattr_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x8200B08", ["pointer", "pointer", "pointer", "int"], Cb_ModItemattr_Enter_Func, Cb_ModItemattr_Leave_Func);


//个人金库整理
Cb_CCargo_sort_Enter_Func <- {};
Cb_CCargo_sort_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x850BD0C", ["pointer", "pointer"], Cb_CCargo_sort_Enter_Func, Cb_CCargo_sort_Leave_Func);



// 玩家断开链接时 提供者:南瓜
Cb_CUser_LogoutToPCRoom_Enter_Func <- {};
Cb_CUser_LogoutToPCRoom_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0868170C", ["pointer", "int"], Cb_CUser_LogoutToPCRoom_Enter_Func, Cb_CUser_LogoutToPCRoom_Leave_Func);

// 购买道具时的检查错误
Cb_BuyItem_check_error_Enter_Func <- {};
Cb_BuyItem_check_error_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x081BE46A", ["pointer", "pointer", "pointer", "int"], Cb_BuyItem_check_error_Enter_Func, Cb_BuyItem_check_error_Leave_Func);

// 服务器被Kill时(不含炸频道等)
Cb_Server_ClossByKill_Enter_Func <- {};
Cb_Server_ClossByKill_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x082FE1FE", ["pointer", "int"], Cb_Server_ClossByKill_Enter_Func, Cb_Server_ClossByKill_Leave_Func);


// 收到玩家聊天信息
Cb_SendMess_Enter_Func <- {};
Cb_SendMess_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x081F3540", ["pointer", "pointer", "pointer", "int"], Cb_SendMess_Enter_Func, Cb_SendMess_Leave_Func);


// 副本数据 不公开
Cb_CParty_ClearMapHitCount_Enter_Func <- {};
Cb_CParty_ClearMapHitCount_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085BF850", ["pointer", "pointer"], Cb_CParty_ClearMapHitCount_Enter_Func, Cb_CParty_ClearMapHitCount_Leave_Func);



// 附魔
Cb_ExpertOnEnchantByBead_Enter_Func <- {};
Cb_ExpertOnEnchantByBead_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0849ED1A", ["pointer", "pointer", "int", "int", "int", "int", "int"], Cb_ExpertOnEnchantByBead_Enter_Func, Cb_ExpertOnEnchantByBead_Leave_Func);

// 数据库连接信息
Cb_MySQL_Open_Enter_Func <- {};
Cb_MySQL_Open_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x083F4024", ["pointer", "pointer", "int", "pointer", "pointer", "pointer", "int"], Cb_MySQL_Open_Enter_Func, Cb_MySQL_Open_Leave_Func);


//地下城开始
Cb_CParty_DungeonStart_Enter_Func <- {};
Cb_CParty_DungeonStart_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085A0954", ["pointer", "pointer", "char", "int", "int"], Cb_CParty_DungeonStart_Enter_Func, Cb_CParty_DungeonStart_Leave_Func);

//击杀怪物
Cb_CParty_OnKillMonster_Enter_Func <- {};
Cb_CParty_OnKillMonster_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085B5A4C", ["pointer", "pointer", "int", "int", "int", "int"], Cb_CParty_OnKillMonster_Enter_Func, Cb_CParty_OnKillMonster_Leave_Func);

//设置通关奖励
Cb_CParty_SetPlayResult_Enter_Func <- {};
Cb_CParty_SetPlayResult_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x085B2412", ["pointer", "pointer", "int"], Cb_CParty_SetPlayResult_Enter_Func, Cb_CParty_SetPlayResult_Leave_Func);

// 进入副本接口时
Cb_StartGame_check_error_Enter_Func <- {};
Cb_StartGame_check_error_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x081C9F6C", ["pointer", "pointer", "pointer", "pointer", "int"], Cb_StartGame_check_error_Enter_Func, Cb_StartGame_check_error_Leave_Func);

// 强化装备时
Cb_WongWork_CItemUpgrade_Enter_Func <- {};
Cb_WongWork_CItemUpgrade_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0854755A", ["pointer", "pointer", "pointer", "pointer", "int"], Cb_WongWork_CItemUpgrade_Enter_Func, Cb_WongWork_CItemUpgrade_Leave_Func);
// 锻造装备时
Cb_WongWork_CItemUpgrade_Separate_Enter_Func <- {};
Cb_WongWork_CItemUpgrade_Separate_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0811E468", ["pointer", "pointer", "pointer", "pointer", "int"], Cb_WongWork_CItemUpgrade_Separate_Enter_Func, Cb_WongWork_CItemUpgrade_Separate_Leave_Func);


// 发送绝望之塔APC
Cb_TowerOfDespairMgr_SendAPCInfo_Enter_Func <- {};
Cb_TowerOfDespairMgr_SendAPCInfo_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08644338", ["pointer", "pointer", "pointer", "int"], Cb_TowerOfDespairMgr_SendAPCInfo_Enter_Func, Cb_TowerOfDespairMgr_SendAPCInfo_Leave_Func);

// 发送多物品邮件请求
Cb_ReqDBSendNewSystemMultiMail_Enter_Func <- {};
Cb_ReqDBSendNewSystemMultiMail_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08556B68", ["pointer", "int", "int", "int", "int", "pointer", "int", "int", "int", "char", "int"], Cb_ReqDBSendNewSystemMultiMail_Enter_Func, Cb_ReqDBSendNewSystemMultiMail_Leave_Func);

// 深渊爆率
Cb_WongWork_CMonsterDrop_Hell_Enter_Func <- {};
Cb_WongWork_CMonsterDrop_Hell_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08535726", ["pointer", "pointer", "pointer", "char"], Cb_WongWork_CMonsterDrop_Hell_Enter_Func, Cb_WongWork_CMonsterDrop_Hell_Leave_Func);

//检查装备是否上锁
Cb_CheckItemLock_Enter_Func <- {};
Cb_CheckItemLock_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08646942", ["pointer", "int", "int", "bool"], Cb_CheckItemLock_Enter_Func, Cb_CheckItemLock_Leave_Func);

//reform_ui_group_no
Cb_reform_ui_group_no_Enter_Func <- {};
Cb_reform_ui_group_no_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x083507E8", ["pointer", "pointer", "bool", "int", "int"], Cb_reform_ui_group_no_Enter_Func, Cb_reform_ui_group_no_Leave_Func);

//get_skillslot_group
Cb_get_skillslot_group_Enter_Func <- {};
Cb_get_skillslot_group_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x086049FC", ["pointer", "int", "int"], Cb_get_skillslot_group_Enter_Func, Cb_get_skillslot_group_Leave_Func);

//get_skillslot_no
Cb_get_skillslot_no_Enter_Func <- {};
Cb_get_skillslot_no_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08604A86", ["pointer", "int", "int", "int", "char", "int"], Cb_get_skillslot_no_Enter_Func, Cb_get_skillslot_no_Leave_Func);

//get_skillslot_no2
Cb_get_skillslot_no2_Enter_Func <- {};
Cb_get_skillslot_no2_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x08607DBA", ["pointer", "pointer", "int", "int", "bool", "int"], Cb_get_skillslot_no2_Enter_Func, Cb_get_skillslot_no2_Leave_Func);

//角色下线
Cb_Leave_Game_World_Enter_Func <- {};
Cb_Leave_Game_World_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x86C5288", ["int", "pointer", "pointer", "int"], Cb_Leave_Game_World_Enter_Func, Cb_Leave_Game_World_Leave_Func);


//副本内怪物死亡消息包
Cb_CBattle_Field_MakeNotiPacketDieMonster_Enter_Func <- {};
Cb_CBattle_Field_MakeNotiPacketDieMonster_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0830B8CC", ["pointer", "pointer", "pointer", "int", "int", "pointer", "pointer", "pointer"], Cb_CBattle_Field_MakeNotiPacketDieMonster_Enter_Func, Cb_CBattle_Field_MakeNotiPacketDieMonster_Leave_Func);

//向队伍全体发包
Cb_CParty_send_to_party_Enter_Func <- {};
Cb_CParty_send_to_party_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0859d14e", ["pointer", "pointer", "int"], Cb_CParty_send_to_party_Enter_Func, Cb_CParty_send_to_party_Leave_Func);

//物品掷点
Cb_CItem_check_item_routing_Enter_Func <- {};
Cb_CItem_check_item_routing_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0850D756", ["pointer", "bool"], Cb_CItem_check_item_routing_Enter_Func, Cb_CItem_check_item_routing_Leave_Func);

//统计队伍中满足特定条件的成员数量
Cb_CParty_get_live_count_enter_map_Enter_Func <- {};
Cb_CParty_get_live_count_enter_map_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0859A918", ["pointer", "int"], Cb_CParty_get_live_count_enter_map_Enter_Func, Cb_CParty_get_live_count_enter_map_Leave_Func);





//新增字节初始化 BindCube_ScriptData
Cb_ExtreamDungeon_BindCube_ScriptData_Enter_Func <- {};
Cb_ExtreamDungeon_BindCube_ScriptData_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0832E058", ["pointer", "void"], Cb_ExtreamDungeon_BindCube_ScriptData_Enter_Func, Cb_ExtreamDungeon_BindCube_ScriptData_Leave_Func);

//新增字节清理 ~BindCube_ScriptData
Cb_ExtreamDungeon_BindCube_ScriptData_free_Enter_Func <- {};
Cb_ExtreamDungeon_BindCube_ScriptData_free_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0832E220", ["pointer", "void"],
    Cb_ExtreamDungeon_BindCube_ScriptData_free_Enter_Func, Cb_ExtreamDungeon_BindCube_ScriptData_free_Leave_Func);

//装备列表校验 ExtreamDungeon::CCompound_ExtreamDun_Item::_isPossibleResultItem 0x0832DB4E
Cb_CCompound_ExtreamDun_Item_isPossibleResultItem_Enter_Func <- {};
Cb_CCompound_ExtreamDun_Item_isPossibleResultItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0832DB4E", ["pointer", "pointer", "int"],
    Cb_CCompound_ExtreamDun_Item_isPossibleResultItem_Enter_Func, Cb_CCompound_ExtreamDun_Item_isPossibleResultItem_Leave_Func);

//装备列表添加装备 ExtreamDungeon::CCompound_ExtreamDun_Item::_AddItem 0x0832DD1C
Cb_CCompound_ExtreamDun_Item_AddItem_Enter_Func <- {};
Cb_CCompound_ExtreamDun_Item_AddItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0832DD1C", ["pointer", "pointer", "int"],
    Cb_CCompound_ExtreamDun_Item_AddItem_Enter_Func, Cb_CCompound_ExtreamDun_Item_AddItem_Leave_Func);

//合成器装备校验 ExtreamDungeon::CCompound_ExtreamDun_Item::checkCompoundable 0x0832D7D6
Cb_CCompound_ExtreamDun_Item_checkCompoundable_Enter_Func <- {};
Cb_CCompound_ExtreamDun_Item_checkCompoundable_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0832D7D6", ["pointer", "pointer", "pointer", "int", "int"],
    Cb_CCompound_ExtreamDun_Item_checkCompoundable_Enter_Func, Cb_CCompound_ExtreamDun_Item_checkCompoundable_Leave_Func);

//合成器结果生成 ExtreamDungeon::CCompound_ExtreamDun_Item::makeCompoundItem 0x0832CCC0
Cb_CCompound_ExtreamDun_Item_makeCompoundItem_Enter_Func <- {};
Cb_CCompound_ExtreamDun_Item_makeCompoundItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0832CCC0", ["pointer", "pointer", "int", "pointer", "int", "int"],
    Cb_CCompound_ExtreamDun_Item_makeCompoundItem_Enter_Func, Cb_CCompound_ExtreamDun_Item_makeCompoundItem_Leave_Func);

//发送单物品邮件
Cb_MailBox11_Send_Enter_Func <- {};
Cb_MailBox11_Send_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x86847ea", ["pointer", "pointer", "pointer", "int"], Cb_MailBox11_Send_Enter_Func, Cb_MailBox11_Send_Leave_Func);


Cb_User_Vend_Item_Enter_Func <- {};
Cb_User_Vend_Item_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x84D7C8E", ["pointer", "pointer", "pointer", "int"], Cb_User_Vend_Item_Enter_Func, Cb_User_Vend_Item_Leave_Func);

//金库是否可用
Cb_Cargo_IsOperatorable_Enter_Func <- {};
Cb_Cargo_IsOperatorable_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x0850D39C", ["pointer", "int", "bool"], Cb_Cargo_IsOperatorable_Enter_Func, Cb_Cargo_IsOperatorable_Leave_Func);

//拍卖行竞拍
Cb_Inter_AuctionResultBidding_Enter_Func <- {};
Cb_Inter_AuctionResultBidding_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x84D6CA4", ["pointer", "pointer", "pointer", "int"], Cb_Inter_AuctionResultBidding_Enter_Func, Cb_Inter_AuctionResultBidding_Leave_Func);


//分解
Cb_MyDisPatcher_DisJointItem_disjoint_Enter_Func <- {};
Cb_MyDisPatcher_DisJointItem_disjoint_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x81f92ca", ["pointer", "int", "int", "int", "pointer", "int", "short"], Cb_MyDisPatcher_DisJointItem_disjoint_Enter_Func, Cb_MyDisPatcher_DisJointItem_disjoint_Leave_Func);


//移动物品
Cb_DisPatcher_MoveItem_Enter_Func <- {};
Cb_DisPatcher_MoveItem_Leave_Func <- {};
_Hook_Register_Currency_Func_("0x81C5B76", ["pointer", "pointer", "pointer", "void"],Cb_DisPatcher_MoveItem_Enter_Func, Cb_DisPatcher_MoveItem_Leave_Func);

function _Hook_Register_Currency_DelayHook_() {
    //五国时的热点函数
    //获取Item Rarity
    Cb_CItem_get_rarity_Enter_Func <- {};
    Cb_CItem_get_rarity_Leave_Func <- {};
    _Hook_Register_Currency_Func_("0x080F12D6", ["pointer", "int"], Cb_CItem_get_rarity_Enter_Func, Cb_CItem_get_rarity_Leave_Func);

    // 随机值
    Cb_CMTRand_randInt_Enter_Func <- {};
    Cb_CMTRand_randInt_Leave_Func <- {};
    _Hook_Register_Currency_Func_("0x080CBABE", ["pointer", "pointer", "int"], Cb_CMTRand_randInt_Enter_Func, Cb_CMTRand_randInt_Leave_Func);
}