前置函数调用失败报错

This commit is contained in:
lenheart 2025-12-09 01:40:48 +08:00
parent 54c67fd38a
commit e9705a6656
4 changed files with 23 additions and 18 deletions

3
Front_main.nut Normal file
View File

@ -0,0 +1,3 @@
function Front_main(){
print("五国之前");
}

View File

@ -20,7 +20,8 @@ try {
dofile("/dp_s/Front_main.nut");
Front_main();
} catch (exception){
print("前置函数调用失败!");
print(exception);
}
function sqr_main() {

View File

@ -548,10 +548,7 @@ _Hook_Register_Currency_Func_("0x0854755A", ["pointer", "pointer", "pointer", "p
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);
// 随机值
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);
// 发送绝望之塔APC
Cb_TowerOfDespairMgr_SendAPCInfo_Enter_Func <- {};
@ -660,11 +657,15 @@ _Hook_Register_Currency_Func_("0x0832CCC0", "int", ["pointer", "pointer", "int",
Cb_CCompound_ExtreamDun_Item_makeCompoundItem_Enter_Func, Cb_CCompound_ExtreamDun_Item_makeCompoundItem_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);
}

Binary file not shown.