diff options
author | Haru <haru@dotalux.com> | 2016-04-17 00:38:37 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-04-30 15:57:50 +0200 |
commit | 7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1 (patch) | |
tree | 222361e4c4e2eb21fa059a61f5e37b1f7910fa61 /src/plugins/HPMHooking/HPMHooking_char.Hooks.inc | |
parent | 8aacecc4bf47b40df0f78ef1ef58b2896bbbf299 (diff) | |
download | hercules-7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1.tar.gz hercules-7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1.tar.bz2 hercules-7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1.tar.xz hercules-7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1.zip |
HPM Hooks Update
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_char.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_char.Hooks.inc | 1888 |
1 files changed, 944 insertions, 944 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc index 79b8b0a1a..ab1eb65c9 100644 --- a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc @@ -124,10 +124,10 @@ int HP_chr_waiting_disconnect(int tid, int64 tick, int id, intptr_t data) { retVal___ = HPMHooks.source.chr.waiting_disconnect(tid, tick, id, data); } if( HPMHooks.count.HP_chr_waiting_disconnect_post ) { - int (*postHookFunc) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data); + int (*postHookFunc) (int retVal___, int tid, int64 tick, int id, intptr_t data); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_waiting_disconnect_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_waiting_disconnect_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data); + retVal___ = postHookFunc(retVal___, tid, tick, id, data); } } return retVal___; @@ -151,10 +151,10 @@ int HP_chr_delete_char_sql(int char_id) { retVal___ = HPMHooks.source.chr.delete_char_sql(char_id); } if( HPMHooks.count.HP_chr_delete_char_sql_post ) { - int (*postHookFunc) (int retVal___, int *char_id); + int (*postHookFunc) (int retVal___, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete_char_sql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete_char_sql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id); + retVal___ = postHookFunc(retVal___, char_id); } } return retVal___; @@ -182,11 +182,11 @@ struct DBData HP_chr_create_online_char_data(union DBKey key, va_list args) { va_end(args___copy); } if( HPMHooks.count.HP_chr_create_online_char_data_post ) { - struct DBData (*postHookFunc) (struct DBData retVal___, union DBKey *key, va_list args); + struct DBData (*postHookFunc) (struct DBData retVal___, union DBKey key, va_list args); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_create_online_char_data_post; hIndex++ ) { va_list args___copy; va_copy(args___copy, args); postHookFunc = HPMHooks.list.HP_chr_create_online_char_data_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key, args___copy); + retVal___ = postHookFunc(retVal___, key, args___copy); va_end(args___copy); } } @@ -210,10 +210,10 @@ void HP_chr_set_account_online(int account_id) { HPMHooks.source.chr.set_account_online(account_id); } if( HPMHooks.count.HP_chr_set_account_online_post ) { - void (*postHookFunc) (int *account_id); + void (*postHookFunc) (int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_set_account_online_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_set_account_online_post[hIndex].func; - postHookFunc(&account_id); + postHookFunc(account_id); } } return; @@ -236,10 +236,10 @@ void HP_chr_set_account_offline(int account_id) { HPMHooks.source.chr.set_account_offline(account_id); } if( HPMHooks.count.HP_chr_set_account_offline_post ) { - void (*postHookFunc) (int *account_id); + void (*postHookFunc) (int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_set_account_offline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_set_account_offline_post[hIndex].func; - postHookFunc(&account_id); + postHookFunc(account_id); } } return; @@ -262,10 +262,10 @@ void HP_chr_set_char_charselect(int account_id) { HPMHooks.source.chr.set_char_charselect(account_id); } if( HPMHooks.count.HP_chr_set_char_charselect_post ) { - void (*postHookFunc) (int *account_id); + void (*postHookFunc) (int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_set_char_charselect_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_set_char_charselect_post[hIndex].func; - postHookFunc(&account_id); + postHookFunc(account_id); } } return; @@ -288,10 +288,10 @@ void HP_chr_set_char_online(int map_id, int char_id, int account_id) { HPMHooks.source.chr.set_char_online(map_id, char_id, account_id); } if( HPMHooks.count.HP_chr_set_char_online_post ) { - void (*postHookFunc) (int *map_id, int *char_id, int *account_id); + void (*postHookFunc) (int map_id, int char_id, int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_set_char_online_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_set_char_online_post[hIndex].func; - postHookFunc(&map_id, &char_id, &account_id); + postHookFunc(map_id, char_id, account_id); } } return; @@ -314,10 +314,10 @@ void HP_chr_set_char_offline(int char_id, int account_id) { HPMHooks.source.chr.set_char_offline(char_id, account_id); } if( HPMHooks.count.HP_chr_set_char_offline_post ) { - void (*postHookFunc) (int *char_id, int *account_id); + void (*postHookFunc) (int char_id, int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_set_char_offline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_set_char_offline_post[hIndex].func; - postHookFunc(&char_id, &account_id); + postHookFunc(char_id, account_id); } } return; @@ -345,11 +345,11 @@ int HP_chr_db_setoffline(union DBKey key, struct DBData *data, va_list ap) { va_end(ap___copy); } if( HPMHooks.count.HP_chr_db_setoffline_post ) { - int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list ap); + int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list ap); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_db_setoffline_post; hIndex++ ) { va_list ap___copy; va_copy(ap___copy, ap); postHookFunc = HPMHooks.list.HP_chr_db_setoffline_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key, data, ap___copy); + retVal___ = postHookFunc(retVal___, key, data, ap___copy); va_end(ap___copy); } } @@ -378,11 +378,11 @@ int HP_chr_db_kickoffline(union DBKey key, struct DBData *data, va_list ap) { va_end(ap___copy); } if( HPMHooks.count.HP_chr_db_kickoffline_post ) { - int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list ap); + int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list ap); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_db_kickoffline_post; hIndex++ ) { va_list ap___copy; va_copy(ap___copy, ap); postHookFunc = HPMHooks.list.HP_chr_db_kickoffline_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key, data, ap___copy); + retVal___ = postHookFunc(retVal___, key, data, ap___copy); va_end(ap___copy); } } @@ -432,10 +432,10 @@ void HP_chr_set_all_offline(int id) { HPMHooks.source.chr.set_all_offline(id); } if( HPMHooks.count.HP_chr_set_all_offline_post ) { - void (*postHookFunc) (int *id); + void (*postHookFunc) (int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_set_all_offline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_set_all_offline_post[hIndex].func; - postHookFunc(&id); + postHookFunc(id); } } return; @@ -489,11 +489,11 @@ struct DBData HP_chr_create_charstatus(union DBKey key, va_list args) { va_end(args___copy); } if( HPMHooks.count.HP_chr_create_charstatus_post ) { - struct DBData (*postHookFunc) (struct DBData retVal___, union DBKey *key, va_list args); + struct DBData (*postHookFunc) (struct DBData retVal___, union DBKey key, va_list args); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_create_charstatus_post; hIndex++ ) { va_list args___copy; va_copy(args___copy, args); postHookFunc = HPMHooks.list.HP_chr_create_charstatus_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key, args___copy); + retVal___ = postHookFunc(retVal___, key, args___copy); va_end(args___copy); } } @@ -518,10 +518,10 @@ int HP_chr_mmo_char_tosql(int char_id, struct mmo_charstatus *p) { retVal___ = HPMHooks.source.chr.mmo_char_tosql(char_id, p); } if( HPMHooks.count.HP_chr_mmo_char_tosql_post ) { - int (*postHookFunc) (int retVal___, int *char_id, struct mmo_charstatus *p); + int (*postHookFunc) (int retVal___, int char_id, struct mmo_charstatus *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_mmo_char_tosql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_mmo_char_tosql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, p); + retVal___ = postHookFunc(retVal___, char_id, p); } } return retVal___; @@ -545,10 +545,10 @@ int HP_chr_memitemdata_to_sql(const struct item items[], int max, int id, int ta retVal___ = HPMHooks.source.chr.memitemdata_to_sql(items, max, id, tableswitch); } if( HPMHooks.count.HP_chr_memitemdata_to_sql_post ) { - int (*postHookFunc) (int retVal___, const struct item *items[], int *max, int *id, int *tableswitch); + int (*postHookFunc) (int retVal___, const struct item items[], int max, int id, int tableswitch); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_memitemdata_to_sql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_memitemdata_to_sql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &items, &max, &id, &tableswitch); + retVal___ = postHookFunc(retVal___, items, max, id, tableswitch); } } return retVal___; @@ -572,10 +572,10 @@ int HP_chr_mmo_gender(const struct char_session_data *sd, const struct mmo_chars retVal___ = HPMHooks.source.chr.mmo_gender(sd, p, sex); } if( HPMHooks.count.HP_chr_mmo_gender_post ) { - int (*postHookFunc) (int retVal___, const struct char_session_data *sd, const struct mmo_charstatus *p, char *sex); + int (*postHookFunc) (int retVal___, const struct char_session_data *sd, const struct mmo_charstatus *p, char sex); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_mmo_gender_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_mmo_gender_post[hIndex].func; - retVal___ = postHookFunc(retVal___, sd, p, &sex); + retVal___ = postHookFunc(retVal___, sd, p, sex); } } return retVal___; @@ -626,10 +626,10 @@ int HP_chr_mmo_char_fromsql(int char_id, struct mmo_charstatus *p, bool load_eve retVal___ = HPMHooks.source.chr.mmo_char_fromsql(char_id, p, load_everything); } if( HPMHooks.count.HP_chr_mmo_char_fromsql_post ) { - int (*postHookFunc) (int retVal___, int *char_id, struct mmo_charstatus *p, bool *load_everything); + int (*postHookFunc) (int retVal___, int char_id, struct mmo_charstatus *p, bool load_everything); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_mmo_char_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_mmo_char_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, p, &load_everything); + retVal___ = postHookFunc(retVal___, char_id, p, load_everything); } } return retVal___; @@ -680,10 +680,10 @@ bool HP_chr_char_slotchange(struct char_session_data *sd, int fd, unsigned short retVal___ = HPMHooks.source.chr.char_slotchange(sd, fd, from, to); } if( HPMHooks.count.HP_chr_char_slotchange_post ) { - bool (*postHookFunc) (bool retVal___, struct char_session_data *sd, int *fd, unsigned short *from, unsigned short *to); + bool (*postHookFunc) (bool retVal___, struct char_session_data *sd, int fd, unsigned short from, unsigned short to); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_char_slotchange_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_char_slotchange_post[hIndex].func; - retVal___ = postHookFunc(retVal___, sd, &fd, &from, &to); + retVal___ = postHookFunc(retVal___, sd, fd, from, to); } } return retVal___; @@ -707,10 +707,10 @@ int HP_chr_rename_char_sql(struct char_session_data *sd, int char_id) { retVal___ = HPMHooks.source.chr.rename_char_sql(sd, char_id); } if( HPMHooks.count.HP_chr_rename_char_sql_post ) { - int (*postHookFunc) (int retVal___, struct char_session_data *sd, int *char_id); + int (*postHookFunc) (int retVal___, struct char_session_data *sd, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_rename_char_sql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_rename_char_sql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, sd, &char_id); + retVal___ = postHookFunc(retVal___, sd, char_id); } } return retVal___; @@ -761,10 +761,10 @@ int HP_chr_make_new_char_sql(struct char_session_data *sd, const char *name_, in retVal___ = HPMHooks.source.chr.make_new_char_sql(sd, name_, str, agi, vit, int_, dex, luk, slot, hair_color, hair_style); } if( HPMHooks.count.HP_chr_make_new_char_sql_post ) { - int (*postHookFunc) (int retVal___, struct char_session_data *sd, const char *name_, int *str, int *agi, int *vit, int *int_, int *dex, int *luk, int *slot, int *hair_color, int *hair_style); + int (*postHookFunc) (int retVal___, struct char_session_data *sd, const char *name_, int str, int agi, int vit, int int_, int dex, int luk, int slot, int hair_color, int hair_style); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_make_new_char_sql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_make_new_char_sql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, sd, name_, &str, &agi, &vit, &int_, &dex, &luk, &slot, &hair_color, &hair_style); + retVal___ = postHookFunc(retVal___, sd, name_, str, agi, vit, int_, dex, luk, slot, hair_color, hair_style); } } return retVal___; @@ -788,10 +788,10 @@ int HP_chr_divorce_char_sql(int partner_id1, int partner_id2) { retVal___ = HPMHooks.source.chr.divorce_char_sql(partner_id1, partner_id2); } if( HPMHooks.count.HP_chr_divorce_char_sql_post ) { - int (*postHookFunc) (int retVal___, int *partner_id1, int *partner_id2); + int (*postHookFunc) (int retVal___, int partner_id1, int partner_id2); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_divorce_char_sql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_divorce_char_sql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &partner_id1, &partner_id2); + retVal___ = postHookFunc(retVal___, partner_id1, partner_id2); } } return retVal___; @@ -868,10 +868,10 @@ void HP_chr_mmo_char_send099d(int fd, struct char_session_data *sd) { HPMHooks.source.chr.mmo_char_send099d(fd, sd); } if( HPMHooks.count.HP_chr_mmo_char_send099d_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_mmo_char_send099d_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_mmo_char_send099d_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -894,10 +894,10 @@ void HP_chr_mmo_char_send_ban_list(int fd, struct char_session_data *sd) { HPMHooks.source.chr.mmo_char_send_ban_list(fd, sd); } if( HPMHooks.count.HP_chr_mmo_char_send_ban_list_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_mmo_char_send_ban_list_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_mmo_char_send_ban_list_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -920,10 +920,10 @@ void HP_chr_mmo_char_send_slots_info(int fd, struct char_session_data *sd) { HPMHooks.source.chr.mmo_char_send_slots_info(fd, sd); } if( HPMHooks.count.HP_chr_mmo_char_send_slots_info_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_mmo_char_send_slots_info_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_mmo_char_send_slots_info_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -947,10 +947,10 @@ int HP_chr_mmo_char_send_characters(int fd, struct char_session_data *sd) { retVal___ = HPMHooks.source.chr.mmo_char_send_characters(fd, sd); } if( HPMHooks.count.HP_chr_mmo_char_send_characters_post ) { - int (*postHookFunc) (int retVal___, int *fd, struct char_session_data *sd); + int (*postHookFunc) (int retVal___, int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_mmo_char_send_characters_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_mmo_char_send_characters_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, sd); + retVal___ = postHookFunc(retVal___, fd, sd); } } return retVal___; @@ -974,10 +974,10 @@ int HP_chr_char_married(int pl1, int pl2) { retVal___ = HPMHooks.source.chr.char_married(pl1, pl2); } if( HPMHooks.count.HP_chr_char_married_post ) { - int (*postHookFunc) (int retVal___, int *pl1, int *pl2); + int (*postHookFunc) (int retVal___, int pl1, int pl2); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_char_married_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_char_married_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &pl1, &pl2); + retVal___ = postHookFunc(retVal___, pl1, pl2); } } return retVal___; @@ -1001,10 +1001,10 @@ int HP_chr_char_child(int parent_id, int child_id) { retVal___ = HPMHooks.source.chr.char_child(parent_id, child_id); } if( HPMHooks.count.HP_chr_char_child_post ) { - int (*postHookFunc) (int retVal___, int *parent_id, int *child_id); + int (*postHookFunc) (int retVal___, int parent_id, int child_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_char_child_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_char_child_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &parent_id, &child_id); + retVal___ = postHookFunc(retVal___, parent_id, child_id); } } return retVal___; @@ -1028,10 +1028,10 @@ int HP_chr_char_family(int cid1, int cid2, int cid3) { retVal___ = HPMHooks.source.chr.char_family(cid1, cid2, cid3); } if( HPMHooks.count.HP_chr_char_family_post ) { - int (*postHookFunc) (int retVal___, int *cid1, int *cid2, int *cid3); + int (*postHookFunc) (int retVal___, int cid1, int cid2, int cid3); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_char_family_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_char_family_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &cid1, &cid2, &cid3); + retVal___ = postHookFunc(retVal___, cid1, cid2, cid3); } } return retVal___; @@ -1054,10 +1054,10 @@ void HP_chr_disconnect_player(int account_id) { HPMHooks.source.chr.disconnect_player(account_id); } if( HPMHooks.count.HP_chr_disconnect_player_post ) { - void (*postHookFunc) (int *account_id); + void (*postHookFunc) (int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_disconnect_player_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_disconnect_player_post[hIndex].func; - postHookFunc(&account_id); + postHookFunc(account_id); } } return; @@ -1080,10 +1080,10 @@ void HP_chr_authfail_fd(int fd, int type) { HPMHooks.source.chr.authfail_fd(fd, type); } if( HPMHooks.count.HP_chr_authfail_fd_post ) { - void (*postHookFunc) (int *fd, int *type); + void (*postHookFunc) (int fd, int type); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_authfail_fd_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_authfail_fd_post[hIndex].func; - postHookFunc(&fd, &type); + postHookFunc(fd, type); } } return; @@ -1106,10 +1106,10 @@ void HP_chr_request_account_data(int account_id) { HPMHooks.source.chr.request_account_data(account_id); } if( HPMHooks.count.HP_chr_request_account_data_post ) { - void (*postHookFunc) (int *account_id); + void (*postHookFunc) (int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_request_account_data_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_request_account_data_post[hIndex].func; - postHookFunc(&account_id); + postHookFunc(account_id); } } return; @@ -1132,10 +1132,10 @@ void HP_chr_auth_ok(int fd, struct char_session_data *sd) { HPMHooks.source.chr.auth_ok(fd, sd); } if( HPMHooks.count.HP_chr_auth_ok_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_auth_ok_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_auth_ok_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -1158,10 +1158,10 @@ void HP_chr_ping_login_server(int fd) { HPMHooks.source.chr.ping_login_server(fd); } if( HPMHooks.count.HP_chr_ping_login_server_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_ping_login_server_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_ping_login_server_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1185,10 +1185,10 @@ int HP_chr_parse_fromlogin_connection_state(int fd) { retVal___ = HPMHooks.source.chr.parse_fromlogin_connection_state(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_connection_state_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_connection_state_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_connection_state_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -1211,10 +1211,10 @@ void HP_chr_auth_error(int fd, unsigned char flag) { HPMHooks.source.chr.auth_error(fd, flag); } if( HPMHooks.count.HP_chr_auth_error_post ) { - void (*postHookFunc) (int *fd, unsigned char *flag); + void (*postHookFunc) (int fd, unsigned char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_auth_error_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_auth_error_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -1237,10 +1237,10 @@ void HP_chr_parse_fromlogin_auth_state(int fd) { HPMHooks.source.chr.parse_fromlogin_auth_state(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_auth_state_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_auth_state_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_auth_state_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1263,10 +1263,10 @@ void HP_chr_parse_fromlogin_account_data(int fd) { HPMHooks.source.chr.parse_fromlogin_account_data(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_account_data_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_account_data_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_account_data_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1289,10 +1289,10 @@ void HP_chr_parse_fromlogin_login_pong(int fd) { HPMHooks.source.chr.parse_fromlogin_login_pong(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_login_pong_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_login_pong_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_login_pong_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1315,10 +1315,10 @@ void HP_chr_changesex(int account_id, int sex) { HPMHooks.source.chr.changesex(account_id, sex); } if( HPMHooks.count.HP_chr_changesex_post ) { - void (*postHookFunc) (int *account_id, int *sex); + void (*postHookFunc) (int account_id, int sex); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_changesex_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_changesex_post[hIndex].func; - postHookFunc(&account_id, &sex); + postHookFunc(account_id, sex); } } return; @@ -1342,10 +1342,10 @@ int HP_chr_parse_fromlogin_changesex_reply(int fd) { retVal___ = HPMHooks.source.chr.parse_fromlogin_changesex_reply(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_changesex_reply_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_changesex_reply_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_changesex_reply_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -1368,10 +1368,10 @@ void HP_chr_parse_fromlogin_account_reg2(int fd) { HPMHooks.source.chr.parse_fromlogin_account_reg2(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_account_reg2_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_account_reg2_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_account_reg2_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1394,10 +1394,10 @@ void HP_chr_parse_fromlogin_ban(int fd) { HPMHooks.source.chr.parse_fromlogin_ban(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_ban_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_ban_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_ban_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1420,10 +1420,10 @@ void HP_chr_parse_fromlogin_kick(int fd) { HPMHooks.source.chr.parse_fromlogin_kick(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_kick_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_kick_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_kick_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1446,10 +1446,10 @@ void HP_chr_update_ip(int fd) { HPMHooks.source.chr.update_ip(fd); } if( HPMHooks.count.HP_chr_update_ip_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_update_ip_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_update_ip_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1472,10 +1472,10 @@ void HP_chr_parse_fromlogin_update_ip(int fd) { HPMHooks.source.chr.parse_fromlogin_update_ip(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_update_ip_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_update_ip_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_update_ip_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1498,10 +1498,10 @@ void HP_chr_parse_fromlogin_accinfo2_failed(int fd) { HPMHooks.source.chr.parse_fromlogin_accinfo2_failed(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_accinfo2_failed_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_accinfo2_failed_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_accinfo2_failed_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1524,10 +1524,10 @@ void HP_chr_parse_fromlogin_accinfo2_ok(int fd) { HPMHooks.source.chr.parse_fromlogin_accinfo2_ok(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_accinfo2_ok_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_accinfo2_ok_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_accinfo2_ok_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1551,10 +1551,10 @@ int HP_chr_parse_fromlogin(int fd) { retVal___ = HPMHooks.source.chr.parse_fromlogin(fd); } if( HPMHooks.count.HP_chr_parse_fromlogin_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_fromlogin_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_fromlogin_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -1578,10 +1578,10 @@ int HP_chr_request_accreg2(int account_id, int char_id) { retVal___ = HPMHooks.source.chr.request_accreg2(account_id, char_id); } if( HPMHooks.count.HP_chr_request_accreg2_post ) { - int (*postHookFunc) (int retVal___, int *account_id, int *char_id); + int (*postHookFunc) (int retVal___, int account_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_request_accreg2_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_request_accreg2_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &account_id, &char_id); + retVal___ = postHookFunc(retVal___, account_id, char_id); } } return retVal___; @@ -1604,10 +1604,10 @@ void HP_chr_global_accreg_to_login_start(int account_id, int char_id) { HPMHooks.source.chr.global_accreg_to_login_start(account_id, char_id); } if( HPMHooks.count.HP_chr_global_accreg_to_login_start_post ) { - void (*postHookFunc) (int *account_id, int *char_id); + void (*postHookFunc) (int account_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_global_accreg_to_login_start_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_global_accreg_to_login_start_post[hIndex].func; - postHookFunc(&account_id, &char_id); + postHookFunc(account_id, char_id); } } return; @@ -1656,10 +1656,10 @@ void HP_chr_global_accreg_to_login_add(const char *key, unsigned int index, intp HPMHooks.source.chr.global_accreg_to_login_add(key, index, val, is_string); } if( HPMHooks.count.HP_chr_global_accreg_to_login_add_post ) { - void (*postHookFunc) (const char *key, unsigned int *index, intptr_t *val, bool *is_string); + void (*postHookFunc) (const char *key, unsigned int index, intptr_t val, bool is_string); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_global_accreg_to_login_add_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_global_accreg_to_login_add_post[hIndex].func; - postHookFunc(key, &index, &val, &is_string); + postHookFunc(key, index, val, is_string); } } return; @@ -1709,10 +1709,10 @@ int HP_chr_send_fame_list(int fd) { retVal___ = HPMHooks.source.chr.send_fame_list(fd); } if( HPMHooks.count.HP_chr_send_fame_list_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_fame_list_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_send_fame_list_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -1735,10 +1735,10 @@ void HP_chr_update_fame_list(int type, int index, int fame) { HPMHooks.source.chr.update_fame_list(type, index, fame); } if( HPMHooks.count.HP_chr_update_fame_list_post ) { - void (*postHookFunc) (int *type, int *index, int *fame); + void (*postHookFunc) (int type, int index, int fame); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_update_fame_list_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_update_fame_list_post[hIndex].func; - postHookFunc(&type, &index, &fame); + postHookFunc(type, index, fame); } } return; @@ -1762,10 +1762,10 @@ int HP_chr_loadName(int char_id, char *name) { retVal___ = HPMHooks.source.chr.loadName(char_id, name); } if( HPMHooks.count.HP_chr_loadName_post ) { - int (*postHookFunc) (int retVal___, int *char_id, char *name); + int (*postHookFunc) (int retVal___, int char_id, char *name); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_loadName_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_loadName_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, name); + retVal___ = postHookFunc(retVal___, char_id, name); } } return retVal___; @@ -1788,10 +1788,10 @@ void HP_chr_parse_frommap_datasync(int fd) { HPMHooks.source.chr.parse_frommap_datasync(fd); } if( HPMHooks.count.HP_chr_parse_frommap_datasync_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_datasync_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_datasync_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1814,10 +1814,10 @@ void HP_chr_parse_frommap_skillid2idx(int fd) { HPMHooks.source.chr.parse_frommap_skillid2idx(fd); } if( HPMHooks.count.HP_chr_parse_frommap_skillid2idx_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_skillid2idx_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_skillid2idx_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1840,10 +1840,10 @@ void HP_chr_map_received_ok(int fd) { HPMHooks.source.chr.map_received_ok(fd); } if( HPMHooks.count.HP_chr_map_received_ok_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_map_received_ok_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_map_received_ok_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1866,10 +1866,10 @@ void HP_chr_send_maps(int fd, int id, int j) { HPMHooks.source.chr.send_maps(fd, id, j); } if( HPMHooks.count.HP_chr_send_maps_post ) { - void (*postHookFunc) (int *fd, int *id, int *j); + void (*postHookFunc) (int fd, int id, int j); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_maps_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_send_maps_post[hIndex].func; - postHookFunc(&fd, &id, &j); + postHookFunc(fd, id, j); } } return; @@ -1892,10 +1892,10 @@ void HP_chr_parse_frommap_map_names(int fd, int id) { HPMHooks.source.chr.parse_frommap_map_names(fd, id); } if( HPMHooks.count.HP_chr_parse_frommap_map_names_post ) { - void (*postHookFunc) (int *fd, int *id); + void (*postHookFunc) (int fd, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_map_names_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_map_names_post[hIndex].func; - postHookFunc(&fd, &id); + postHookFunc(fd, id); } } return; @@ -1918,10 +1918,10 @@ void HP_chr_send_scdata(int fd, int aid, int cid) { HPMHooks.source.chr.send_scdata(fd, aid, cid); } if( HPMHooks.count.HP_chr_send_scdata_post ) { - void (*postHookFunc) (int *fd, int *aid, int *cid); + void (*postHookFunc) (int fd, int aid, int cid); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_scdata_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_send_scdata_post[hIndex].func; - postHookFunc(&fd, &aid, &cid); + postHookFunc(fd, aid, cid); } } return; @@ -1944,10 +1944,10 @@ void HP_chr_parse_frommap_request_scdata(int fd) { HPMHooks.source.chr.parse_frommap_request_scdata(fd); } if( HPMHooks.count.HP_chr_parse_frommap_request_scdata_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_request_scdata_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_request_scdata_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -1970,10 +1970,10 @@ void HP_chr_parse_frommap_set_users_count(int fd, int id) { HPMHooks.source.chr.parse_frommap_set_users_count(fd, id); } if( HPMHooks.count.HP_chr_parse_frommap_set_users_count_post ) { - void (*postHookFunc) (int *fd, int *id); + void (*postHookFunc) (int fd, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_set_users_count_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_set_users_count_post[hIndex].func; - postHookFunc(&fd, &id); + postHookFunc(fd, id); } } return; @@ -1996,10 +1996,10 @@ void HP_chr_parse_frommap_set_users(int fd, int id) { HPMHooks.source.chr.parse_frommap_set_users(fd, id); } if( HPMHooks.count.HP_chr_parse_frommap_set_users_post ) { - void (*postHookFunc) (int *fd, int *id); + void (*postHookFunc) (int fd, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_set_users_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_set_users_post[hIndex].func; - postHookFunc(&fd, &id); + postHookFunc(fd, id); } } return; @@ -2022,10 +2022,10 @@ void HP_chr_save_character_ack(int fd, int aid, int cid) { HPMHooks.source.chr.save_character_ack(fd, aid, cid); } if( HPMHooks.count.HP_chr_save_character_ack_post ) { - void (*postHookFunc) (int *fd, int *aid, int *cid); + void (*postHookFunc) (int fd, int aid, int cid); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_save_character_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_save_character_ack_post[hIndex].func; - postHookFunc(&fd, &aid, &cid); + postHookFunc(fd, aid, cid); } } return; @@ -2048,10 +2048,10 @@ void HP_chr_parse_frommap_save_character(int fd, int id) { HPMHooks.source.chr.parse_frommap_save_character(fd, id); } if( HPMHooks.count.HP_chr_parse_frommap_save_character_post ) { - void (*postHookFunc) (int *fd, int *id); + void (*postHookFunc) (int fd, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_save_character_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_save_character_post[hIndex].func; - postHookFunc(&fd, &id); + postHookFunc(fd, id); } } return; @@ -2074,10 +2074,10 @@ void HP_chr_select_ack(int fd, int account_id, uint8 flag) { HPMHooks.source.chr.select_ack(fd, account_id, flag); } if( HPMHooks.count.HP_chr_select_ack_post ) { - void (*postHookFunc) (int *fd, int *account_id, uint8 *flag); + void (*postHookFunc) (int fd, int account_id, uint8 flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_select_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_select_ack_post[hIndex].func; - postHookFunc(&fd, &account_id, &flag); + postHookFunc(fd, account_id, flag); } } return; @@ -2100,10 +2100,10 @@ void HP_chr_parse_frommap_char_select_req(int fd) { HPMHooks.source.chr.parse_frommap_char_select_req(fd); } if( HPMHooks.count.HP_chr_parse_frommap_char_select_req_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_char_select_req_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_char_select_req_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2126,10 +2126,10 @@ void HP_chr_change_map_server_ack(int fd, const uint8 *data, bool ok) { HPMHooks.source.chr.change_map_server_ack(fd, data, ok); } if( HPMHooks.count.HP_chr_change_map_server_ack_post ) { - void (*postHookFunc) (int *fd, const uint8 *data, bool *ok); + void (*postHookFunc) (int fd, const uint8 *data, bool ok); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_change_map_server_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_change_map_server_ack_post[hIndex].func; - postHookFunc(&fd, data, &ok); + postHookFunc(fd, data, ok); } } return; @@ -2152,10 +2152,10 @@ void HP_chr_parse_frommap_change_map_server(int fd) { HPMHooks.source.chr.parse_frommap_change_map_server(fd); } if( HPMHooks.count.HP_chr_parse_frommap_change_map_server_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_change_map_server_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_change_map_server_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2178,10 +2178,10 @@ void HP_chr_parse_frommap_remove_friend(int fd) { HPMHooks.source.chr.parse_frommap_remove_friend(fd); } if( HPMHooks.count.HP_chr_parse_frommap_remove_friend_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_remove_friend_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_remove_friend_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2204,10 +2204,10 @@ void HP_chr_char_name_ack(int fd, int char_id) { HPMHooks.source.chr.char_name_ack(fd, char_id); } if( HPMHooks.count.HP_chr_char_name_ack_post ) { - void (*postHookFunc) (int *fd, int *char_id); + void (*postHookFunc) (int fd, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_char_name_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_char_name_ack_post[hIndex].func; - postHookFunc(&fd, &char_id); + postHookFunc(fd, char_id); } } return; @@ -2230,10 +2230,10 @@ void HP_chr_parse_frommap_char_name_request(int fd) { HPMHooks.source.chr.parse_frommap_char_name_request(fd); } if( HPMHooks.count.HP_chr_parse_frommap_char_name_request_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_char_name_request_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_char_name_request_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2256,10 +2256,10 @@ void HP_chr_parse_frommap_change_email(int fd) { HPMHooks.source.chr.parse_frommap_change_email(fd); } if( HPMHooks.count.HP_chr_parse_frommap_change_email_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_change_email_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_change_email_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2282,10 +2282,10 @@ void HP_chr_ban(int account_id, int char_id, time_t *unban_time, short year, sho HPMHooks.source.chr.ban(account_id, char_id, unban_time, year, month, day, hour, minute, second); } if( HPMHooks.count.HP_chr_ban_post ) { - void (*postHookFunc) (int *account_id, int *char_id, time_t *unban_time, short *year, short *month, short *day, short *hour, short *minute, short *second); + void (*postHookFunc) (int account_id, int char_id, time_t *unban_time, short year, short month, short day, short hour, short minute, short second); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_ban_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_ban_post[hIndex].func; - postHookFunc(&account_id, &char_id, unban_time, &year, &month, &day, &hour, &minute, &second); + postHookFunc(account_id, char_id, unban_time, year, month, day, hour, minute, second); } } return; @@ -2308,10 +2308,10 @@ void HP_chr_unban(int char_id, int *result) { HPMHooks.source.chr.unban(char_id, result); } if( HPMHooks.count.HP_chr_unban_post ) { - void (*postHookFunc) (int *char_id, int *result); + void (*postHookFunc) (int char_id, int *result); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_unban_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_unban_post[hIndex].func; - postHookFunc(&char_id, result); + postHookFunc(char_id, result); } } return; @@ -2334,10 +2334,10 @@ void HP_chr_ask_name_ack(int fd, int acc, const char *name, int type, int result HPMHooks.source.chr.ask_name_ack(fd, acc, name, type, result); } if( HPMHooks.count.HP_chr_ask_name_ack_post ) { - void (*postHookFunc) (int *fd, int *acc, const char *name, int *type, int *result); + void (*postHookFunc) (int fd, int acc, const char *name, int type, int result); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_ask_name_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_ask_name_ack_post[hIndex].func; - postHookFunc(&fd, &acc, name, &type, &result); + postHookFunc(fd, acc, name, type, result); } } return; @@ -2361,10 +2361,10 @@ int HP_chr_changecharsex(int char_id, int sex) { retVal___ = HPMHooks.source.chr.changecharsex(char_id, sex); } if( HPMHooks.count.HP_chr_changecharsex_post ) { - int (*postHookFunc) (int retVal___, int *char_id, int *sex); + int (*postHookFunc) (int retVal___, int char_id, int sex); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_changecharsex_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_changecharsex_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &sex); + retVal___ = postHookFunc(retVal___, char_id, sex); } } return retVal___; @@ -2387,10 +2387,10 @@ void HP_chr_parse_frommap_change_account(int fd) { HPMHooks.source.chr.parse_frommap_change_account(fd); } if( HPMHooks.count.HP_chr_parse_frommap_change_account_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_change_account_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_change_account_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2413,10 +2413,10 @@ void HP_chr_parse_frommap_fame_list(int fd) { HPMHooks.source.chr.parse_frommap_fame_list(fd); } if( HPMHooks.count.HP_chr_parse_frommap_fame_list_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_fame_list_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_fame_list_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2439,10 +2439,10 @@ void HP_chr_parse_frommap_divorce_char(int fd) { HPMHooks.source.chr.parse_frommap_divorce_char(fd); } if( HPMHooks.count.HP_chr_parse_frommap_divorce_char_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_divorce_char_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_divorce_char_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2465,10 +2465,10 @@ void HP_chr_parse_frommap_ragsrvinfo(int fd) { HPMHooks.source.chr.parse_frommap_ragsrvinfo(fd); } if( HPMHooks.count.HP_chr_parse_frommap_ragsrvinfo_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_ragsrvinfo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_ragsrvinfo_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2491,10 +2491,10 @@ void HP_chr_parse_frommap_set_char_offline(int fd) { HPMHooks.source.chr.parse_frommap_set_char_offline(fd); } if( HPMHooks.count.HP_chr_parse_frommap_set_char_offline_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_set_char_offline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_set_char_offline_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2517,10 +2517,10 @@ void HP_chr_parse_frommap_set_all_offline(int fd, int id) { HPMHooks.source.chr.parse_frommap_set_all_offline(fd, id); } if( HPMHooks.count.HP_chr_parse_frommap_set_all_offline_post ) { - void (*postHookFunc) (int *fd, int *id); + void (*postHookFunc) (int fd, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_set_all_offline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_set_all_offline_post[hIndex].func; - postHookFunc(&fd, &id); + postHookFunc(fd, id); } } return; @@ -2543,10 +2543,10 @@ void HP_chr_parse_frommap_set_char_online(int fd, int id) { HPMHooks.source.chr.parse_frommap_set_char_online(fd, id); } if( HPMHooks.count.HP_chr_parse_frommap_set_char_online_post ) { - void (*postHookFunc) (int *fd, int *id); + void (*postHookFunc) (int fd, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_set_char_online_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_set_char_online_post[hIndex].func; - postHookFunc(&fd, &id); + postHookFunc(fd, id); } } return; @@ -2569,10 +2569,10 @@ void HP_chr_parse_frommap_build_fame_list(int fd) { HPMHooks.source.chr.parse_frommap_build_fame_list(fd); } if( HPMHooks.count.HP_chr_parse_frommap_build_fame_list_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_build_fame_list_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_build_fame_list_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2595,10 +2595,10 @@ void HP_chr_parse_frommap_save_status_change_data(int fd) { HPMHooks.source.chr.parse_frommap_save_status_change_data(fd); } if( HPMHooks.count.HP_chr_parse_frommap_save_status_change_data_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_save_status_change_data_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_save_status_change_data_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2621,10 +2621,10 @@ void HP_chr_send_pong(int fd) { HPMHooks.source.chr.send_pong(fd); } if( HPMHooks.count.HP_chr_send_pong_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_pong_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_send_pong_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2647,10 +2647,10 @@ void HP_chr_parse_frommap_ping(int fd) { HPMHooks.source.chr.parse_frommap_ping(fd); } if( HPMHooks.count.HP_chr_parse_frommap_ping_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_ping_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_ping_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2673,10 +2673,10 @@ void HP_chr_map_auth_ok(int fd, int account_id, struct char_auth_node *node, str HPMHooks.source.chr.map_auth_ok(fd, account_id, node, cd); } if( HPMHooks.count.HP_chr_map_auth_ok_post ) { - void (*postHookFunc) (int *fd, int *account_id, struct char_auth_node *node, struct mmo_charstatus *cd); + void (*postHookFunc) (int fd, int account_id, struct char_auth_node *node, struct mmo_charstatus *cd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_map_auth_ok_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_map_auth_ok_post[hIndex].func; - postHookFunc(&fd, &account_id, node, cd); + postHookFunc(fd, account_id, node, cd); } } return; @@ -2699,10 +2699,10 @@ void HP_chr_map_auth_failed(int fd, int account_id, int char_id, int login_id1, HPMHooks.source.chr.map_auth_failed(fd, account_id, char_id, login_id1, sex, ip); } if( HPMHooks.count.HP_chr_map_auth_failed_post ) { - void (*postHookFunc) (int *fd, int *account_id, int *char_id, int *login_id1, char *sex, uint32 *ip); + void (*postHookFunc) (int fd, int account_id, int char_id, int login_id1, char sex, uint32 ip); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_map_auth_failed_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_map_auth_failed_post[hIndex].func; - postHookFunc(&fd, &account_id, &char_id, &login_id1, &sex, &ip); + postHookFunc(fd, account_id, char_id, login_id1, sex, ip); } } return; @@ -2725,10 +2725,10 @@ void HP_chr_parse_frommap_auth_request(int fd, int id) { HPMHooks.source.chr.parse_frommap_auth_request(fd, id); } if( HPMHooks.count.HP_chr_parse_frommap_auth_request_post ) { - void (*postHookFunc) (int *fd, int *id); + void (*postHookFunc) (int fd, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_auth_request_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_auth_request_post[hIndex].func; - postHookFunc(&fd, &id); + postHookFunc(fd, id); } } return; @@ -2751,10 +2751,10 @@ void HP_chr_parse_frommap_update_ip(int fd, int id) { HPMHooks.source.chr.parse_frommap_update_ip(fd, id); } if( HPMHooks.count.HP_chr_parse_frommap_update_ip_post ) { - void (*postHookFunc) (int *fd, int *id); + void (*postHookFunc) (int fd, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_update_ip_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_update_ip_post[hIndex].func; - postHookFunc(&fd, &id); + postHookFunc(fd, id); } } return; @@ -2777,10 +2777,10 @@ void HP_chr_parse_frommap_request_stats_report(int fd) { HPMHooks.source.chr.parse_frommap_request_stats_report(fd); } if( HPMHooks.count.HP_chr_parse_frommap_request_stats_report_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_request_stats_report_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_request_stats_report_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2803,10 +2803,10 @@ void HP_chr_parse_frommap_scdata_update(int fd) { HPMHooks.source.chr.parse_frommap_scdata_update(fd); } if( HPMHooks.count.HP_chr_parse_frommap_scdata_update_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_scdata_update_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_scdata_update_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2829,10 +2829,10 @@ void HP_chr_parse_frommap_scdata_delete(int fd) { HPMHooks.source.chr.parse_frommap_scdata_delete(fd); } if( HPMHooks.count.HP_chr_parse_frommap_scdata_delete_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_scdata_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_scdata_delete_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -2856,10 +2856,10 @@ int HP_chr_parse_frommap(int fd) { retVal___ = HPMHooks.source.chr.parse_frommap(fd); } if( HPMHooks.count.HP_chr_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -2883,10 +2883,10 @@ int HP_chr_search_mapserver(unsigned short map, uint32 ip, uint16 port) { retVal___ = HPMHooks.source.chr.search_mapserver(map, ip, port); } if( HPMHooks.count.HP_chr_search_mapserver_post ) { - int (*postHookFunc) (int retVal___, unsigned short *map, uint32 *ip, uint16 *port); + int (*postHookFunc) (int retVal___, unsigned short map, uint32 ip, uint16 port); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_search_mapserver_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_search_mapserver_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &map, &ip, &port); + retVal___ = postHookFunc(retVal___, map, ip, port); } } return retVal___; @@ -2910,10 +2910,10 @@ int HP_chr_mapif_init(int fd) { retVal___ = HPMHooks.source.chr.mapif_init(fd); } if( HPMHooks.count.HP_chr_mapif_init_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_mapif_init_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_mapif_init_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -2937,10 +2937,10 @@ uint32 HP_chr_lan_subnet_check(uint32 ip) { retVal___ = HPMHooks.source.chr.lan_subnet_check(ip); } if( HPMHooks.count.HP_chr_lan_subnet_check_post ) { - uint32 (*postHookFunc) (uint32 retVal___, uint32 *ip); + uint32 (*postHookFunc) (uint32 retVal___, uint32 ip); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_lan_subnet_check_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_lan_subnet_check_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ip); + retVal___ = postHookFunc(retVal___, ip); } } return retVal___; @@ -2963,10 +2963,10 @@ void HP_chr_delete2_ack(int fd, int char_id, uint32 result, time_t delete_date) HPMHooks.source.chr.delete2_ack(fd, char_id, result, delete_date); } if( HPMHooks.count.HP_chr_delete2_ack_post ) { - void (*postHookFunc) (int *fd, int *char_id, uint32 *result, time_t *delete_date); + void (*postHookFunc) (int fd, int char_id, uint32 result, time_t delete_date); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete2_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete2_ack_post[hIndex].func; - postHookFunc(&fd, &char_id, &result, &delete_date); + postHookFunc(fd, char_id, result, delete_date); } } return; @@ -2989,10 +2989,10 @@ void HP_chr_delete2_accept_actual_ack(int fd, int char_id, uint32 result) { HPMHooks.source.chr.delete2_accept_actual_ack(fd, char_id, result); } if( HPMHooks.count.HP_chr_delete2_accept_actual_ack_post ) { - void (*postHookFunc) (int *fd, int *char_id, uint32 *result); + void (*postHookFunc) (int fd, int char_id, uint32 result); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete2_accept_actual_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete2_accept_actual_ack_post[hIndex].func; - postHookFunc(&fd, &char_id, &result); + postHookFunc(fd, char_id, result); } } return; @@ -3015,10 +3015,10 @@ void HP_chr_delete2_accept_ack(int fd, int char_id, uint32 result) { HPMHooks.source.chr.delete2_accept_ack(fd, char_id, result); } if( HPMHooks.count.HP_chr_delete2_accept_ack_post ) { - void (*postHookFunc) (int *fd, int *char_id, uint32 *result); + void (*postHookFunc) (int fd, int char_id, uint32 result); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete2_accept_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete2_accept_ack_post[hIndex].func; - postHookFunc(&fd, &char_id, &result); + postHookFunc(fd, char_id, result); } } return; @@ -3041,10 +3041,10 @@ void HP_chr_delete2_cancel_ack(int fd, int char_id, uint32 result) { HPMHooks.source.chr.delete2_cancel_ack(fd, char_id, result); } if( HPMHooks.count.HP_chr_delete2_cancel_ack_post ) { - void (*postHookFunc) (int *fd, int *char_id, uint32 *result); + void (*postHookFunc) (int fd, int char_id, uint32 result); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete2_cancel_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete2_cancel_ack_post[hIndex].func; - postHookFunc(&fd, &char_id, &result); + postHookFunc(fd, char_id, result); } } return; @@ -3067,10 +3067,10 @@ void HP_chr_delete2_req(int fd, struct char_session_data *sd) { HPMHooks.source.chr.delete2_req(fd, sd); } if( HPMHooks.count.HP_chr_delete2_req_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete2_req_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete2_req_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3093,10 +3093,10 @@ void HP_chr_delete2_accept(int fd, struct char_session_data *sd) { HPMHooks.source.chr.delete2_accept(fd, sd); } if( HPMHooks.count.HP_chr_delete2_accept_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete2_accept_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete2_accept_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3119,10 +3119,10 @@ void HP_chr_delete2_cancel(int fd, struct char_session_data *sd) { HPMHooks.source.chr.delete2_cancel(fd, sd); } if( HPMHooks.count.HP_chr_delete2_cancel_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete2_cancel_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete2_cancel_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3145,10 +3145,10 @@ void HP_chr_send_account_id(int fd, int account_id) { HPMHooks.source.chr.send_account_id(fd, account_id); } if( HPMHooks.count.HP_chr_send_account_id_post ) { - void (*postHookFunc) (int *fd, int *account_id); + void (*postHookFunc) (int fd, int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_account_id_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_send_account_id_post[hIndex].func; - postHookFunc(&fd, &account_id); + postHookFunc(fd, account_id); } } return; @@ -3171,10 +3171,10 @@ void HP_chr_parse_char_connect(int fd, struct char_session_data *sd, uint32 ipl) HPMHooks.source.chr.parse_char_connect(fd, sd, ipl); } if( HPMHooks.count.HP_chr_parse_char_connect_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd, uint32 *ipl); + void (*postHookFunc) (int fd, struct char_session_data *sd, uint32 ipl); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_connect_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_connect_post[hIndex].func; - postHookFunc(&fd, sd, &ipl); + postHookFunc(fd, sd, ipl); } } return; @@ -3197,10 +3197,10 @@ void HP_chr_send_map_info(int fd, int i, uint32 subnet_map_ip, struct mmo_charst HPMHooks.source.chr.send_map_info(fd, i, subnet_map_ip, cd); } if( HPMHooks.count.HP_chr_send_map_info_post ) { - void (*postHookFunc) (int *fd, int *i, uint32 *subnet_map_ip, struct mmo_charstatus *cd); + void (*postHookFunc) (int fd, int i, uint32 subnet_map_ip, struct mmo_charstatus *cd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_map_info_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_send_map_info_post[hIndex].func; - postHookFunc(&fd, &i, &subnet_map_ip, cd); + postHookFunc(fd, i, subnet_map_ip, cd); } } return; @@ -3223,10 +3223,10 @@ void HP_chr_send_wait_char_server(int fd) { HPMHooks.source.chr.send_wait_char_server(fd); } if( HPMHooks.count.HP_chr_send_wait_char_server_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_wait_char_server_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_send_wait_char_server_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -3276,10 +3276,10 @@ void HP_chr_parse_char_select(int fd, struct char_session_data *sd, uint32 ipl) HPMHooks.source.chr.parse_char_select(fd, sd, ipl); } if( HPMHooks.count.HP_chr_parse_char_select_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd, uint32 *ipl); + void (*postHookFunc) (int fd, struct char_session_data *sd, uint32 ipl); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_select_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_select_post[hIndex].func; - postHookFunc(&fd, sd, &ipl); + postHookFunc(fd, sd, ipl); } } return; @@ -3302,10 +3302,10 @@ void HP_chr_creation_failed(int fd, int result) { HPMHooks.source.chr.creation_failed(fd, result); } if( HPMHooks.count.HP_chr_creation_failed_post ) { - void (*postHookFunc) (int *fd, int *result); + void (*postHookFunc) (int fd, int result); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_creation_failed_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_creation_failed_post[hIndex].func; - postHookFunc(&fd, &result); + postHookFunc(fd, result); } } return; @@ -3328,10 +3328,10 @@ void HP_chr_creation_ok(int fd, struct mmo_charstatus *char_dat) { HPMHooks.source.chr.creation_ok(fd, char_dat); } if( HPMHooks.count.HP_chr_creation_ok_post ) { - void (*postHookFunc) (int *fd, struct mmo_charstatus *char_dat); + void (*postHookFunc) (int fd, struct mmo_charstatus *char_dat); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_creation_ok_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_creation_ok_post[hIndex].func; - postHookFunc(&fd, char_dat); + postHookFunc(fd, char_dat); } } return; @@ -3354,10 +3354,10 @@ void HP_chr_parse_char_create_new_char(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_create_new_char(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_create_new_char_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_create_new_char_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_create_new_char_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3380,10 +3380,10 @@ void HP_chr_delete_char_failed(int fd, int flag) { HPMHooks.source.chr.delete_char_failed(fd, flag); } if( HPMHooks.count.HP_chr_delete_char_failed_post ) { - void (*postHookFunc) (int *fd, int *flag); + void (*postHookFunc) (int fd, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete_char_failed_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete_char_failed_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -3406,10 +3406,10 @@ void HP_chr_delete_char_ok(int fd) { HPMHooks.source.chr.delete_char_ok(fd); } if( HPMHooks.count.HP_chr_delete_char_ok_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_delete_char_ok_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_delete_char_ok_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -3432,10 +3432,10 @@ void HP_chr_parse_char_delete_char(int fd, struct char_session_data *sd, unsigne HPMHooks.source.chr.parse_char_delete_char(fd, sd, cmd); } if( HPMHooks.count.HP_chr_parse_char_delete_char_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd, unsigned short *cmd); + void (*postHookFunc) (int fd, struct char_session_data *sd, unsigned short cmd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_delete_char_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_delete_char_post[hIndex].func; - postHookFunc(&fd, sd, &cmd); + postHookFunc(fd, sd, cmd); } } return; @@ -3458,10 +3458,10 @@ void HP_chr_parse_char_ping(int fd) { HPMHooks.source.chr.parse_char_ping(fd); } if( HPMHooks.count.HP_chr_parse_char_ping_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_ping_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_ping_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -3484,10 +3484,10 @@ void HP_chr_allow_rename(int fd, int flag) { HPMHooks.source.chr.allow_rename(fd, flag); } if( HPMHooks.count.HP_chr_allow_rename_post ) { - void (*postHookFunc) (int *fd, int *flag); + void (*postHookFunc) (int fd, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_allow_rename_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_allow_rename_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -3510,10 +3510,10 @@ void HP_chr_parse_char_rename_char(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_rename_char(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_rename_char_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_rename_char_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_rename_char_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3536,10 +3536,10 @@ void HP_chr_parse_char_rename_char2(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_rename_char2(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_rename_char2_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_rename_char2_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_rename_char2_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3562,10 +3562,10 @@ void HP_chr_rename_char_ack(int fd, int flag) { HPMHooks.source.chr.rename_char_ack(fd, flag); } if( HPMHooks.count.HP_chr_rename_char_ack_post ) { - void (*postHookFunc) (int *fd, int *flag); + void (*postHookFunc) (int fd, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_rename_char_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_rename_char_ack_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -3588,10 +3588,10 @@ void HP_chr_parse_char_rename_char_confirm(int fd, struct char_session_data *sd) HPMHooks.source.chr.parse_char_rename_char_confirm(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_rename_char_confirm_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_rename_char_confirm_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_rename_char_confirm_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3614,10 +3614,10 @@ void HP_chr_captcha_notsupported(int fd) { HPMHooks.source.chr.captcha_notsupported(fd); } if( HPMHooks.count.HP_chr_captcha_notsupported_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_captcha_notsupported_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_captcha_notsupported_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -3640,10 +3640,10 @@ void HP_chr_parse_char_request_captcha(int fd) { HPMHooks.source.chr.parse_char_request_captcha(fd); } if( HPMHooks.count.HP_chr_parse_char_request_captcha_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_request_captcha_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_request_captcha_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -3666,10 +3666,10 @@ void HP_chr_parse_char_check_captcha(int fd) { HPMHooks.source.chr.parse_char_check_captcha(fd); } if( HPMHooks.count.HP_chr_parse_char_check_captcha_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_check_captcha_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_check_captcha_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -3692,10 +3692,10 @@ void HP_chr_parse_char_delete2_req(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_delete2_req(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_delete2_req_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_delete2_req_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_delete2_req_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3718,10 +3718,10 @@ void HP_chr_parse_char_delete2_accept(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_delete2_accept(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_delete2_accept_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_delete2_accept_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_delete2_accept_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3744,10 +3744,10 @@ void HP_chr_parse_char_delete2_cancel(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_delete2_cancel(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_delete2_cancel_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_delete2_cancel_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_delete2_cancel_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3770,10 +3770,10 @@ void HP_chr_login_map_server_ack(int fd, uint8 flag) { HPMHooks.source.chr.login_map_server_ack(fd, flag); } if( HPMHooks.count.HP_chr_login_map_server_ack_post ) { - void (*postHookFunc) (int *fd, uint8 *flag); + void (*postHookFunc) (int fd, uint8 flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_login_map_server_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_login_map_server_ack_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -3796,10 +3796,10 @@ void HP_chr_parse_char_login_map_server(int fd, uint32 ipl) { HPMHooks.source.chr.parse_char_login_map_server(fd, ipl); } if( HPMHooks.count.HP_chr_parse_char_login_map_server_post ) { - void (*postHookFunc) (int *fd, uint32 *ipl); + void (*postHookFunc) (int fd, uint32 ipl); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_login_map_server_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_login_map_server_post[hIndex].func; - postHookFunc(&fd, &ipl); + postHookFunc(fd, ipl); } } return; @@ -3822,10 +3822,10 @@ void HP_chr_parse_char_pincode_check(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_pincode_check(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_pincode_check_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_pincode_check_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_pincode_check_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3848,10 +3848,10 @@ void HP_chr_parse_char_pincode_window(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_pincode_window(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_pincode_window_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_pincode_window_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_pincode_window_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3874,10 +3874,10 @@ void HP_chr_parse_char_pincode_change(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_pincode_change(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_pincode_change_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_pincode_change_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_pincode_change_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3900,10 +3900,10 @@ void HP_chr_parse_char_pincode_first_pin(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_pincode_first_pin(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_pincode_first_pin_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_pincode_first_pin_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_pincode_first_pin_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3926,10 +3926,10 @@ void HP_chr_parse_char_request_chars(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_request_chars(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_request_chars_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_request_chars_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_request_chars_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -3952,10 +3952,10 @@ void HP_chr_change_character_slot_ack(int fd, bool ret) { HPMHooks.source.chr.change_character_slot_ack(fd, ret); } if( HPMHooks.count.HP_chr_change_character_slot_ack_post ) { - void (*postHookFunc) (int *fd, bool *ret); + void (*postHookFunc) (int fd, bool ret); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_change_character_slot_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_change_character_slot_ack_post[hIndex].func; - postHookFunc(&fd, &ret); + postHookFunc(fd, ret); } } return; @@ -3978,10 +3978,10 @@ void HP_chr_parse_char_move_character(int fd, struct char_session_data *sd) { HPMHooks.source.chr.parse_char_move_character(fd, sd); } if( HPMHooks.count.HP_chr_parse_char_move_character_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_move_character_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_move_character_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -4005,10 +4005,10 @@ int HP_chr_parse_char_unknown_packet(int fd, uint32 ipl) { retVal___ = HPMHooks.source.chr.parse_char_unknown_packet(fd, ipl); } if( HPMHooks.count.HP_chr_parse_char_unknown_packet_post ) { - int (*postHookFunc) (int retVal___, int *fd, uint32 *ipl); + int (*postHookFunc) (int retVal___, int fd, uint32 ipl); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_unknown_packet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_unknown_packet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &ipl); + retVal___ = postHookFunc(retVal___, fd, ipl); } } return retVal___; @@ -4032,10 +4032,10 @@ int HP_chr_parse_char(int fd) { retVal___ = HPMHooks.source.chr.parse_char(fd); } if( HPMHooks.count.HP_chr_parse_char_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_char_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_parse_char_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -4059,10 +4059,10 @@ int HP_chr_broadcast_user_count(int tid, int64 tick, int id, intptr_t data) { retVal___ = HPMHooks.source.chr.broadcast_user_count(tid, tick, id, data); } if( HPMHooks.count.HP_chr_broadcast_user_count_post ) { - int (*postHookFunc) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data); + int (*postHookFunc) (int retVal___, int tid, int64 tick, int id, intptr_t data); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_broadcast_user_count_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_broadcast_user_count_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data); + retVal___ = postHookFunc(retVal___, tid, tick, id, data); } } return retVal___; @@ -4090,11 +4090,11 @@ int HP_chr_send_accounts_tologin_sub(union DBKey key, struct DBData *data, va_li va_end(ap___copy); } if( HPMHooks.count.HP_chr_send_accounts_tologin_sub_post ) { - int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list ap); + int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list ap); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_accounts_tologin_sub_post; hIndex++ ) { va_list ap___copy; va_copy(ap___copy, ap); postHookFunc = HPMHooks.list.HP_chr_send_accounts_tologin_sub_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key, data, ap___copy); + retVal___ = postHookFunc(retVal___, key, data, ap___copy); va_end(ap___copy); } } @@ -4119,10 +4119,10 @@ int HP_chr_send_accounts_tologin(int tid, int64 tick, int id, intptr_t data) { retVal___ = HPMHooks.source.chr.send_accounts_tologin(tid, tick, id, data); } if( HPMHooks.count.HP_chr_send_accounts_tologin_post ) { - int (*postHookFunc) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data); + int (*postHookFunc) (int retVal___, int tid, int64 tick, int id, intptr_t data); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_send_accounts_tologin_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_send_accounts_tologin_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data); + retVal___ = postHookFunc(retVal___, tid, tick, id, data); } } return retVal___; @@ -4146,10 +4146,10 @@ int HP_chr_check_connect_login_server(int tid, int64 tick, int id, intptr_t data retVal___ = HPMHooks.source.chr.check_connect_login_server(tid, tick, id, data); } if( HPMHooks.count.HP_chr_check_connect_login_server_post ) { - int (*postHookFunc) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data); + int (*postHookFunc) (int retVal___, int tid, int64 tick, int id, intptr_t data); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_check_connect_login_server_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_check_connect_login_server_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data); + retVal___ = postHookFunc(retVal___, tid, tick, id, data); } } return retVal___; @@ -4177,11 +4177,11 @@ int HP_chr_online_data_cleanup_sub(union DBKey key, struct DBData *data, va_list va_end(ap___copy); } if( HPMHooks.count.HP_chr_online_data_cleanup_sub_post ) { - int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list ap); + int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list ap); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_online_data_cleanup_sub_post; hIndex++ ) { va_list ap___copy; va_copy(ap___copy, ap); postHookFunc = HPMHooks.list.HP_chr_online_data_cleanup_sub_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key, data, ap___copy); + retVal___ = postHookFunc(retVal___, key, data, ap___copy); va_end(ap___copy); } } @@ -4206,10 +4206,10 @@ int HP_chr_online_data_cleanup(int tid, int64 tick, int id, intptr_t data) { retVal___ = HPMHooks.source.chr.online_data_cleanup(tid, tick, id, data); } if( HPMHooks.count.HP_chr_online_data_cleanup_post ) { - int (*postHookFunc) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data); + int (*postHookFunc) (int retVal___, int tid, int64 tick, int id, intptr_t data); for(hIndex = 0; hIndex < HPMHooks.count.HP_chr_online_data_cleanup_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_chr_online_data_cleanup_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data); + retVal___ = postHookFunc(retVal___, tid, tick, id, data); } } return retVal___; @@ -4365,10 +4365,10 @@ bool HP_cmdline_arg_add(unsigned int pluginID, const char *name, char shortname, retVal___ = HPMHooks.source.cmdline.arg_add(pluginID, name, shortname, func, help, options); } if( HPMHooks.count.HP_cmdline_arg_add_post ) { - bool (*postHookFunc) (bool retVal___, unsigned int *pluginID, const char *name, char *shortname, CmdlineExecFunc *func, const char *help, unsigned int *options); + bool (*postHookFunc) (bool retVal___, unsigned int pluginID, const char *name, char shortname, CmdlineExecFunc func, const char *help, unsigned int options); for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_arg_add_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_cmdline_arg_add_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &pluginID, name, &shortname, &func, help, &options); + retVal___ = postHookFunc(retVal___, pluginID, name, shortname, func, help, options); } } return retVal___; @@ -4392,10 +4392,10 @@ int HP_cmdline_exec(int argc, char **argv, unsigned int options) { retVal___ = HPMHooks.source.cmdline.exec(argc, argv, options); } if( HPMHooks.count.HP_cmdline_exec_post ) { - int (*postHookFunc) (int retVal___, int *argc, char **argv, unsigned int *options); + int (*postHookFunc) (int retVal___, int argc, char **argv, unsigned int options); for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_exec_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_cmdline_exec_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &argc, argv, &options); + retVal___ = postHookFunc(retVal___, argc, argv, options); } } return retVal___; @@ -4419,10 +4419,10 @@ bool HP_cmdline_arg_next_value(const char *name, int current_arg, int argc) { retVal___ = HPMHooks.source.cmdline.arg_next_value(name, current_arg, argc); } if( HPMHooks.count.HP_cmdline_arg_next_value_post ) { - bool (*postHookFunc) (bool retVal___, const char *name, int *current_arg, int *argc); + bool (*postHookFunc) (bool retVal___, const char *name, int current_arg, int argc); for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_arg_next_value_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_cmdline_arg_next_value_post[hIndex].func; - retVal___ = postHookFunc(retVal___, name, ¤t_arg, &argc); + retVal___ = postHookFunc(retVal___, name, current_arg, argc); } } return retVal___; @@ -4606,10 +4606,10 @@ enum DBOptions HP_DB_fix_options(enum DBType type, enum DBOptions options) { retVal___ = HPMHooks.source.DB.fix_options(type, options); } if( HPMHooks.count.HP_DB_fix_options_post ) { - enum DBOptions (*postHookFunc) (enum DBOptions retVal___, enum DBType *type, enum DBOptions *options); + enum DBOptions (*postHookFunc) (enum DBOptions retVal___, enum DBType type, enum DBOptions options); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_fix_options_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_fix_options_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &type, &options); + retVal___ = postHookFunc(retVal___, type, options); } } return retVal___; @@ -4633,10 +4633,10 @@ DBComparator HP_DB_default_cmp(enum DBType type) { retVal___ = HPMHooks.source.DB.default_cmp(type); } if( HPMHooks.count.HP_DB_default_cmp_post ) { - DBComparator (*postHookFunc) (DBComparator retVal___, enum DBType *type); + DBComparator (*postHookFunc) (DBComparator retVal___, enum DBType type); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_default_cmp_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_default_cmp_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &type); + retVal___ = postHookFunc(retVal___, type); } } return retVal___; @@ -4660,10 +4660,10 @@ DBHasher HP_DB_default_hash(enum DBType type) { retVal___ = HPMHooks.source.DB.default_hash(type); } if( HPMHooks.count.HP_DB_default_hash_post ) { - DBHasher (*postHookFunc) (DBHasher retVal___, enum DBType *type); + DBHasher (*postHookFunc) (DBHasher retVal___, enum DBType type); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_default_hash_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_default_hash_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &type); + retVal___ = postHookFunc(retVal___, type); } } return retVal___; @@ -4687,10 +4687,10 @@ DBReleaser HP_DB_default_release(enum DBType type, enum DBOptions options) { retVal___ = HPMHooks.source.DB.default_release(type, options); } if( HPMHooks.count.HP_DB_default_release_post ) { - DBReleaser (*postHookFunc) (DBReleaser retVal___, enum DBType *type, enum DBOptions *options); + DBReleaser (*postHookFunc) (DBReleaser retVal___, enum DBType type, enum DBOptions options); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_default_release_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_default_release_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &type, &options); + retVal___ = postHookFunc(retVal___, type, options); } } return retVal___; @@ -4714,10 +4714,10 @@ DBReleaser HP_DB_custom_release(enum DBReleaseOption which) { retVal___ = HPMHooks.source.DB.custom_release(which); } if( HPMHooks.count.HP_DB_custom_release_post ) { - DBReleaser (*postHookFunc) (DBReleaser retVal___, enum DBReleaseOption *which); + DBReleaser (*postHookFunc) (DBReleaser retVal___, enum DBReleaseOption which); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_custom_release_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_custom_release_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &which); + retVal___ = postHookFunc(retVal___, which); } } return retVal___; @@ -4741,10 +4741,10 @@ struct DBMap* HP_DB_alloc(const char *file, const char *func, int line, enum DBT retVal___ = HPMHooks.source.DB.alloc(file, func, line, type, options, maxlen); } if( HPMHooks.count.HP_DB_alloc_post ) { - struct DBMap* (*postHookFunc) (struct DBMap* retVal___, const char *file, const char *func, int *line, enum DBType *type, enum DBOptions *options, unsigned short *maxlen); + struct DBMap* (*postHookFunc) (struct DBMap* retVal___, const char *file, const char *func, int line, enum DBType type, enum DBOptions options, unsigned short maxlen); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_alloc_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_alloc_post[hIndex].func; - retVal___ = postHookFunc(retVal___, file, func, &line, &type, &options, &maxlen); + retVal___ = postHookFunc(retVal___, file, func, line, type, options, maxlen); } } return retVal___; @@ -4768,10 +4768,10 @@ union DBKey HP_DB_i2key(int key) { retVal___ = HPMHooks.source.DB.i2key(key); } if( HPMHooks.count.HP_DB_i2key_post ) { - union DBKey (*postHookFunc) (union DBKey retVal___, int *key); + union DBKey (*postHookFunc) (union DBKey retVal___, int key); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_i2key_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_i2key_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key); + retVal___ = postHookFunc(retVal___, key); } } return retVal___; @@ -4795,10 +4795,10 @@ union DBKey HP_DB_ui2key(unsigned int key) { retVal___ = HPMHooks.source.DB.ui2key(key); } if( HPMHooks.count.HP_DB_ui2key_post ) { - union DBKey (*postHookFunc) (union DBKey retVal___, unsigned int *key); + union DBKey (*postHookFunc) (union DBKey retVal___, unsigned int key); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_ui2key_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_ui2key_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key); + retVal___ = postHookFunc(retVal___, key); } } return retVal___; @@ -4849,10 +4849,10 @@ union DBKey HP_DB_i642key(int64 key) { retVal___ = HPMHooks.source.DB.i642key(key); } if( HPMHooks.count.HP_DB_i642key_post ) { - union DBKey (*postHookFunc) (union DBKey retVal___, int64 *key); + union DBKey (*postHookFunc) (union DBKey retVal___, int64 key); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_i642key_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_i642key_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key); + retVal___ = postHookFunc(retVal___, key); } } return retVal___; @@ -4876,10 +4876,10 @@ union DBKey HP_DB_ui642key(uint64 key) { retVal___ = HPMHooks.source.DB.ui642key(key); } if( HPMHooks.count.HP_DB_ui642key_post ) { - union DBKey (*postHookFunc) (union DBKey retVal___, uint64 *key); + union DBKey (*postHookFunc) (union DBKey retVal___, uint64 key); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_ui642key_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_ui642key_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key); + retVal___ = postHookFunc(retVal___, key); } } return retVal___; @@ -4903,10 +4903,10 @@ struct DBData HP_DB_i2data(int data) { retVal___ = HPMHooks.source.DB.i2data(data); } if( HPMHooks.count.HP_DB_i2data_post ) { - struct DBData (*postHookFunc) (struct DBData retVal___, int *data); + struct DBData (*postHookFunc) (struct DBData retVal___, int data); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_i2data_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_i2data_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &data); + retVal___ = postHookFunc(retVal___, data); } } return retVal___; @@ -4930,10 +4930,10 @@ struct DBData HP_DB_ui2data(unsigned int data) { retVal___ = HPMHooks.source.DB.ui2data(data); } if( HPMHooks.count.HP_DB_ui2data_post ) { - struct DBData (*postHookFunc) (struct DBData retVal___, unsigned int *data); + struct DBData (*postHookFunc) (struct DBData retVal___, unsigned int data); for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_ui2data_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_DB_ui2data_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &data); + retVal___ = postHookFunc(retVal___, data); } } return retVal___; @@ -5118,10 +5118,10 @@ const char* HP_geoip_getcountry(uint32 ipnum) { retVal___ = HPMHooks.source.geoip.getcountry(ipnum); } if( HPMHooks.count.HP_geoip_getcountry_post ) { - const char* (*postHookFunc) (const char* retVal___, uint32 *ipnum); + const char* (*postHookFunc) (const char* retVal___, uint32 ipnum); for(hIndex = 0; hIndex < HPMHooks.count.HP_geoip_getcountry_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_geoip_getcountry_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ipnum); + retVal___ = postHookFunc(retVal___, ipnum); } } return retVal___; @@ -5144,10 +5144,10 @@ void HP_geoip_final(bool shutdown) { HPMHooks.source.geoip.final(shutdown); } if( HPMHooks.count.HP_geoip_final_post ) { - void (*postHookFunc) (bool *shutdown); + void (*postHookFunc) (bool shutdown); for(hIndex = 0; hIndex < HPMHooks.count.HP_geoip_final_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_geoip_final_post[hIndex].func; - postHookFunc(&shutdown); + postHookFunc(shutdown); } } return; @@ -5198,10 +5198,10 @@ int HP_inter_auction_count(int char_id, bool buy) { retVal___ = HPMHooks.source.inter_auction.count(char_id, buy); } if( HPMHooks.count.HP_inter_auction_count_post ) { - int (*postHookFunc) (int retVal___, int *char_id, bool *buy); + int (*postHookFunc) (int retVal___, int char_id, bool buy); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_auction_count_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_auction_count_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &buy); + retVal___ = postHookFunc(retVal___, char_id, buy); } } return retVal___; @@ -5278,10 +5278,10 @@ int HP_inter_auction_end_timer(int tid, int64 tick, int id, intptr_t data) { retVal___ = HPMHooks.source.inter_auction.end_timer(tid, tick, id, data); } if( HPMHooks.count.HP_inter_auction_end_timer_post ) { - int (*postHookFunc) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data); + int (*postHookFunc) (int retVal___, int tid, int64 tick, int id, intptr_t data); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_auction_end_timer_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_auction_end_timer_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data); + retVal___ = postHookFunc(retVal___, tid, tick, id, data); } } return retVal___; @@ -5357,10 +5357,10 @@ int HP_inter_auction_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_auction.parse_frommap(fd); } if( HPMHooks.count.HP_inter_auction_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_auction_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_auction_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -5490,10 +5490,10 @@ int HP_inter_elemental_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_elemental.parse_frommap(fd); } if( HPMHooks.count.HP_inter_elemental_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_elemental_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_elemental_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -5518,10 +5518,10 @@ int HP_inter_guild_save_timer(int tid, int64 tick, int id, intptr_t data) { retVal___ = HPMHooks.source.inter_guild.save_timer(tid, tick, id, data); } if( HPMHooks.count.HP_inter_guild_save_timer_post ) { - int (*postHookFunc) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data); + int (*postHookFunc) (int retVal___, int tid, int64 tick, int id, intptr_t data); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_save_timer_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_save_timer_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data); + retVal___ = postHookFunc(retVal___, tid, tick, id, data); } } return retVal___; @@ -5545,10 +5545,10 @@ int HP_inter_guild_removemember_tosql(int account_id, int char_id) { retVal___ = HPMHooks.source.inter_guild.removemember_tosql(account_id, char_id); } if( HPMHooks.count.HP_inter_guild_removemember_tosql_post ) { - int (*postHookFunc) (int retVal___, int *account_id, int *char_id); + int (*postHookFunc) (int retVal___, int account_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_removemember_tosql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_removemember_tosql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &account_id, &char_id); + retVal___ = postHookFunc(retVal___, account_id, char_id); } } return retVal___; @@ -5572,10 +5572,10 @@ int HP_inter_guild_tosql(struct guild *g, int flag) { retVal___ = HPMHooks.source.inter_guild.tosql(g, flag); } if( HPMHooks.count.HP_inter_guild_tosql_post ) { - int (*postHookFunc) (int retVal___, struct guild *g, int *flag); + int (*postHookFunc) (int retVal___, struct guild *g, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_tosql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_tosql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, g, &flag); + retVal___ = postHookFunc(retVal___, g, flag); } } return retVal___; @@ -5599,10 +5599,10 @@ struct guild* HP_inter_guild_fromsql(int guild_id) { retVal___ = HPMHooks.source.inter_guild.fromsql(guild_id); } if( HPMHooks.count.HP_inter_guild_fromsql_post ) { - struct guild* (*postHookFunc) (struct guild* retVal___, int *guild_id); + struct guild* (*postHookFunc) (struct guild* retVal___, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id); + retVal___ = postHookFunc(retVal___, guild_id); } } return retVal___; @@ -5653,10 +5653,10 @@ struct guild_castle* HP_inter_guild_castle_fromsql(int castle_id) { retVal___ = HPMHooks.source.inter_guild.castle_fromsql(castle_id); } if( HPMHooks.count.HP_inter_guild_castle_fromsql_post ) { - struct guild_castle* (*postHookFunc) (struct guild_castle* retVal___, int *castle_id); + struct guild_castle* (*postHookFunc) (struct guild_castle* retVal___, int castle_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_castle_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_castle_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &castle_id); + retVal___ = postHookFunc(retVal___, castle_id); } } return retVal___; @@ -5680,10 +5680,10 @@ bool HP_inter_guild_exp_parse_row(char *split[], int column, int current) { retVal___ = HPMHooks.source.inter_guild.exp_parse_row(split, column, current); } if( HPMHooks.count.HP_inter_guild_exp_parse_row_post ) { - bool (*postHookFunc) (bool retVal___, char *split[], int *column, int *current); + bool (*postHookFunc) (bool retVal___, char *split[], int column, int current); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_exp_parse_row_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_exp_parse_row_post[hIndex].func; - retVal___ = postHookFunc(retVal___, split, &column, ¤t); + retVal___ = postHookFunc(retVal___, split, column, current); } } return retVal___; @@ -5707,10 +5707,10 @@ int HP_inter_guild_CharOnline(int char_id, int guild_id) { retVal___ = HPMHooks.source.inter_guild.CharOnline(char_id, guild_id); } if( HPMHooks.count.HP_inter_guild_CharOnline_post ) { - int (*postHookFunc) (int retVal___, int *char_id, int *guild_id); + int (*postHookFunc) (int retVal___, int char_id, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_CharOnline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_CharOnline_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &guild_id); + retVal___ = postHookFunc(retVal___, char_id, guild_id); } } return retVal___; @@ -5734,10 +5734,10 @@ int HP_inter_guild_CharOffline(int char_id, int guild_id) { retVal___ = HPMHooks.source.inter_guild.CharOffline(char_id, guild_id); } if( HPMHooks.count.HP_inter_guild_CharOffline_post ) { - int (*postHookFunc) (int retVal___, int *char_id, int *guild_id); + int (*postHookFunc) (int retVal___, int char_id, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_CharOffline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_CharOffline_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &guild_id); + retVal___ = postHookFunc(retVal___, char_id, guild_id); } } return retVal___; @@ -5792,11 +5792,11 @@ int HP_inter_guild_db_final(union DBKey key, struct DBData *data, va_list ap) { va_end(ap___copy); } if( HPMHooks.count.HP_inter_guild_db_final_post ) { - int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list ap); + int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list ap); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_db_final_post; hIndex++ ) { va_list ap___copy; va_copy(ap___copy, ap); postHookFunc = HPMHooks.list.HP_inter_guild_db_final_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key, data, ap___copy); + retVal___ = postHookFunc(retVal___, key, data, ap___copy); va_end(ap___copy); } } @@ -5901,10 +5901,10 @@ unsigned int HP_inter_guild_nextexp(int level) { retVal___ = HPMHooks.source.inter_guild.nextexp(level); } if( HPMHooks.count.HP_inter_guild_nextexp_post ) { - unsigned int (*postHookFunc) (unsigned int retVal___, int *level); + unsigned int (*postHookFunc) (unsigned int retVal___, int level); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_nextexp_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_nextexp_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &level); + retVal___ = postHookFunc(retVal___, level); } } return retVal___; @@ -5928,10 +5928,10 @@ int HP_inter_guild_checkskill(struct guild *g, int id) { retVal___ = HPMHooks.source.inter_guild.checkskill(g, id); } if( HPMHooks.count.HP_inter_guild_checkskill_post ) { - int (*postHookFunc) (int retVal___, struct guild *g, int *id); + int (*postHookFunc) (int retVal___, struct guild *g, int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_checkskill_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_checkskill_post[hIndex].func; - retVal___ = postHookFunc(retVal___, g, &id); + retVal___ = postHookFunc(retVal___, g, id); } } return retVal___; @@ -5982,10 +5982,10 @@ int HP_inter_guild_sex_changed(int guild_id, int account_id, int char_id, short retVal___ = HPMHooks.source.inter_guild.sex_changed(guild_id, account_id, char_id, gender); } if( HPMHooks.count.HP_inter_guild_sex_changed_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, short *gender); + int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, short gender); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_sex_changed_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_sex_changed_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, &gender); + retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, gender); } } return retVal___; @@ -6009,10 +6009,10 @@ int HP_inter_guild_charname_changed(int guild_id, int account_id, int char_id, c retVal___ = HPMHooks.source.inter_guild.charname_changed(guild_id, account_id, char_id, name); } if( HPMHooks.count.HP_inter_guild_charname_changed_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, char *name); + int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, char *name); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_charname_changed_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_charname_changed_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, name); + retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, name); } } return retVal___; @@ -6036,10 +6036,10 @@ int HP_inter_guild_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_guild.parse_frommap(fd); } if( HPMHooks.count.HP_inter_guild_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -6063,10 +6063,10 @@ int HP_inter_guild_leave(int guild_id, int account_id, int char_id) { retVal___ = HPMHooks.source.inter_guild.leave(guild_id, account_id, char_id); } if( HPMHooks.count.HP_inter_guild_leave_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id); + int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_leave_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_leave_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id); + retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id); } } return retVal___; @@ -6090,10 +6090,10 @@ int HP_inter_guild_broken(int guild_id) { retVal___ = HPMHooks.source.inter_guild.broken(guild_id); } if( HPMHooks.count.HP_inter_guild_broken_post ) { - int (*postHookFunc) (int retVal___, int *guild_id); + int (*postHookFunc) (int retVal___, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_guild_broken_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_guild_broken_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id); + retVal___ = postHookFunc(retVal___, guild_id); } } return retVal___; @@ -6171,10 +6171,10 @@ int HP_inter_homunculus_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_homunculus.parse_frommap(fd); } if( HPMHooks.count.HP_inter_homunculus_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_homunculus_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_homunculus_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -6199,10 +6199,10 @@ const char* HP_inter_msg_txt(int msg_number) { retVal___ = HPMHooks.source.inter.msg_txt(msg_number); } if( HPMHooks.count.HP_inter_msg_txt_post ) { - const char* (*postHookFunc) (const char* retVal___, int *msg_number); + const char* (*postHookFunc) (const char* retVal___, int msg_number); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_msg_txt_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_msg_txt_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &msg_number); + retVal___ = postHookFunc(retVal___, msg_number); } } return retVal___; @@ -6226,10 +6226,10 @@ bool HP_inter_msg_config_read(const char *cfg_name, bool allow_override) { retVal___ = HPMHooks.source.inter.msg_config_read(cfg_name, allow_override); } if( HPMHooks.count.HP_inter_msg_config_read_post ) { - bool (*postHookFunc) (bool retVal___, const char *cfg_name, bool *allow_override); + bool (*postHookFunc) (bool retVal___, const char *cfg_name, bool allow_override); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_msg_config_read_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_msg_config_read_post[hIndex].func; - retVal___ = postHookFunc(retVal___, cfg_name, &allow_override); + retVal___ = postHookFunc(retVal___, cfg_name, allow_override); } } return retVal___; @@ -6279,10 +6279,10 @@ const char* HP_inter_job_name(int class_) { retVal___ = HPMHooks.source.inter.job_name(class_); } if( HPMHooks.count.HP_inter_job_name_post ) { - const char* (*postHookFunc) (const char* retVal___, int *class_); + const char* (*postHookFunc) (const char* retVal___, int class_); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_job_name_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_job_name_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &class_); + retVal___ = postHookFunc(retVal___, class_); } } return retVal___; @@ -6309,11 +6309,11 @@ void HP_inter_vmsg_to_fd(int fd, int u_fd, int aid, char *msg, va_list ap) { va_end(ap___copy); } if( HPMHooks.count.HP_inter_vmsg_to_fd_post ) { - void (*postHookFunc) (int *fd, int *u_fd, int *aid, char *msg, va_list ap); + void (*postHookFunc) (int fd, int u_fd, int aid, char *msg, va_list ap); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_vmsg_to_fd_post; hIndex++ ) { va_list ap___copy; va_copy(ap___copy, ap); postHookFunc = HPMHooks.list.HP_inter_vmsg_to_fd_post[hIndex].func; - postHookFunc(&fd, &u_fd, &aid, msg, ap___copy); + postHookFunc(fd, u_fd, aid, msg, ap___copy); va_end(ap___copy); } } @@ -6337,10 +6337,10 @@ void HP_inter_savereg(int account_id, int char_id, const char *key, unsigned int HPMHooks.source.inter.savereg(account_id, char_id, key, index, val, is_string); } if( HPMHooks.count.HP_inter_savereg_post ) { - void (*postHookFunc) (int *account_id, int *char_id, const char *key, unsigned int *index, intptr_t *val, bool *is_string); + void (*postHookFunc) (int account_id, int char_id, const char *key, unsigned int index, intptr_t val, bool is_string); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_savereg_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_savereg_post[hIndex].func; - postHookFunc(&account_id, &char_id, key, &index, &val, &is_string); + postHookFunc(account_id, char_id, key, index, val, is_string); } } return; @@ -6364,10 +6364,10 @@ int HP_inter_accreg_fromsql(int account_id, int char_id, int fd, int type) { retVal___ = HPMHooks.source.inter.accreg_fromsql(account_id, char_id, fd, type); } if( HPMHooks.count.HP_inter_accreg_fromsql_post ) { - int (*postHookFunc) (int retVal___, int *account_id, int *char_id, int *fd, int *type); + int (*postHookFunc) (int retVal___, int account_id, int char_id, int fd, int type); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_accreg_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_accreg_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &account_id, &char_id, &fd, &type); + retVal___ = postHookFunc(retVal___, account_id, char_id, fd, type); } } return retVal___; @@ -6478,10 +6478,10 @@ int HP_inter_mapif_init(int fd) { retVal___ = HPMHooks.source.inter.mapif_init(fd); } if( HPMHooks.count.HP_inter_mapif_init_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mapif_init_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mapif_init_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -6509,11 +6509,11 @@ int HP_inter_check_ttl_wisdata_sub(union DBKey key, struct DBData *data, va_list va_end(ap___copy); } if( HPMHooks.count.HP_inter_check_ttl_wisdata_sub_post ) { - int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list ap); + int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list ap); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_check_ttl_wisdata_sub_post; hIndex++ ) { va_list ap___copy; va_copy(ap___copy, ap); postHookFunc = HPMHooks.list.HP_inter_check_ttl_wisdata_sub_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &key, data, ap___copy); + retVal___ = postHookFunc(retVal___, key, data, ap___copy); va_end(ap___copy); } } @@ -6565,10 +6565,10 @@ int HP_inter_check_length(int fd, int length) { retVal___ = HPMHooks.source.inter.check_length(fd, length); } if( HPMHooks.count.HP_inter_check_length_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *length); + int (*postHookFunc) (int retVal___, int fd, int length); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_check_length_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_check_length_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &length); + retVal___ = postHookFunc(retVal___, fd, length); } } return retVal___; @@ -6592,10 +6592,10 @@ int HP_inter_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter.parse_frommap(fd); } if( HPMHooks.count.HP_inter_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -6699,10 +6699,10 @@ int HP_inter_mail_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_mail.parse_frommap(fd); } if( HPMHooks.count.HP_inter_mail_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mail_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mail_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -6726,10 +6726,10 @@ int HP_inter_mail_fromsql(int char_id, struct mail_data *md) { retVal___ = HPMHooks.source.inter_mail.fromsql(char_id, md); } if( HPMHooks.count.HP_inter_mail_fromsql_post ) { - int (*postHookFunc) (int retVal___, int *char_id, struct mail_data *md); + int (*postHookFunc) (int retVal___, int char_id, struct mail_data *md); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mail_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mail_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, md); + retVal___ = postHookFunc(retVal___, char_id, md); } } return retVal___; @@ -6780,10 +6780,10 @@ bool HP_inter_mail_loadmessage(int mail_id, struct mail_message *msg) { retVal___ = HPMHooks.source.inter_mail.loadmessage(mail_id, msg); } if( HPMHooks.count.HP_inter_mail_loadmessage_post ) { - bool (*postHookFunc) (bool retVal___, int *mail_id, struct mail_message *msg); + bool (*postHookFunc) (bool retVal___, int mail_id, struct mail_message *msg); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mail_loadmessage_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mail_loadmessage_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &mail_id, msg); + retVal___ = postHookFunc(retVal___, mail_id, msg); } } return retVal___; @@ -6807,10 +6807,10 @@ bool HP_inter_mail_DeleteAttach(int mail_id) { retVal___ = HPMHooks.source.inter_mail.DeleteAttach(mail_id); } if( HPMHooks.count.HP_inter_mail_DeleteAttach_post ) { - bool (*postHookFunc) (bool retVal___, int *mail_id); + bool (*postHookFunc) (bool retVal___, int mail_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mail_DeleteAttach_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mail_DeleteAttach_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &mail_id); + retVal___ = postHookFunc(retVal___, mail_id); } } return retVal___; @@ -6833,10 +6833,10 @@ void HP_inter_mail_sendmail(int send_id, const char *send_name, int dest_id, con HPMHooks.source.inter_mail.sendmail(send_id, send_name, dest_id, dest_name, title, body, zeny, item); } if( HPMHooks.count.HP_inter_mail_sendmail_post ) { - void (*postHookFunc) (int *send_id, const char *send_name, int *dest_id, const char *dest_name, const char *title, const char *body, int *zeny, struct item *item); + void (*postHookFunc) (int send_id, const char *send_name, int dest_id, const char *dest_name, const char *title, const char *body, int zeny, struct item *item); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mail_sendmail_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mail_sendmail_post[hIndex].func; - postHookFunc(&send_id, send_name, &dest_id, dest_name, title, body, &zeny, item); + postHookFunc(send_id, send_name, dest_id, dest_name, title, body, zeny, item); } } return; @@ -6861,10 +6861,10 @@ bool HP_inter_mercenary_owner_fromsql(int char_id, struct mmo_charstatus *status retVal___ = HPMHooks.source.inter_mercenary.owner_fromsql(char_id, status); } if( HPMHooks.count.HP_inter_mercenary_owner_fromsql_post ) { - bool (*postHookFunc) (bool retVal___, int *char_id, struct mmo_charstatus *status); + bool (*postHookFunc) (bool retVal___, int char_id, struct mmo_charstatus *status); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mercenary_owner_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mercenary_owner_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, status); + retVal___ = postHookFunc(retVal___, char_id, status); } } return retVal___; @@ -6888,10 +6888,10 @@ bool HP_inter_mercenary_owner_tosql(int char_id, struct mmo_charstatus *status) retVal___ = HPMHooks.source.inter_mercenary.owner_tosql(char_id, status); } if( HPMHooks.count.HP_inter_mercenary_owner_tosql_post ) { - bool (*postHookFunc) (bool retVal___, int *char_id, struct mmo_charstatus *status); + bool (*postHookFunc) (bool retVal___, int char_id, struct mmo_charstatus *status); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mercenary_owner_tosql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mercenary_owner_tosql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, status); + retVal___ = postHookFunc(retVal___, char_id, status); } } return retVal___; @@ -6915,10 +6915,10 @@ bool HP_inter_mercenary_owner_delete(int char_id) { retVal___ = HPMHooks.source.inter_mercenary.owner_delete(char_id); } if( HPMHooks.count.HP_inter_mercenary_owner_delete_post ) { - bool (*postHookFunc) (bool retVal___, int *char_id); + bool (*postHookFunc) (bool retVal___, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mercenary_owner_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mercenary_owner_delete_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id); + retVal___ = postHookFunc(retVal___, char_id); } } return retVal___; @@ -6995,10 +6995,10 @@ int HP_inter_mercenary_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_mercenary.parse_frommap(fd); } if( HPMHooks.count.HP_inter_mercenary_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_mercenary_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_mercenary_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -7076,10 +7076,10 @@ int HP_inter_party_tosql(struct party *p, int flag, int index) { retVal___ = HPMHooks.source.inter_party.tosql(p, flag, index); } if( HPMHooks.count.HP_inter_party_tosql_post ) { - int (*postHookFunc) (int retVal___, struct party *p, int *flag, int *index); + int (*postHookFunc) (int retVal___, struct party *p, int flag, int index); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_party_tosql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_party_tosql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, p, &flag, &index); + retVal___ = postHookFunc(retVal___, p, flag, index); } } return retVal___; @@ -7103,10 +7103,10 @@ struct party_data* HP_inter_party_fromsql(int party_id) { retVal___ = HPMHooks.source.inter_party.fromsql(party_id); } if( HPMHooks.count.HP_inter_party_fromsql_post ) { - struct party_data* (*postHookFunc) (struct party_data* retVal___, int *party_id); + struct party_data* (*postHookFunc) (struct party_data* retVal___, int party_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_party_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_party_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &party_id); + retVal___ = postHookFunc(retVal___, party_id); } } return retVal___; @@ -7264,10 +7264,10 @@ int HP_inter_party_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_party.parse_frommap(fd); } if( HPMHooks.count.HP_inter_party_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_party_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_party_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -7291,10 +7291,10 @@ int HP_inter_party_leave(int party_id, int account_id, int char_id) { retVal___ = HPMHooks.source.inter_party.leave(party_id, account_id, char_id); } if( HPMHooks.count.HP_inter_party_leave_post ) { - int (*postHookFunc) (int retVal___, int *party_id, int *account_id, int *char_id); + int (*postHookFunc) (int retVal___, int party_id, int account_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_party_leave_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_party_leave_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &party_id, &account_id, &char_id); + retVal___ = postHookFunc(retVal___, party_id, account_id, char_id); } } return retVal___; @@ -7318,10 +7318,10 @@ int HP_inter_party_CharOnline(int char_id, int party_id) { retVal___ = HPMHooks.source.inter_party.CharOnline(char_id, party_id); } if( HPMHooks.count.HP_inter_party_CharOnline_post ) { - int (*postHookFunc) (int retVal___, int *char_id, int *party_id); + int (*postHookFunc) (int retVal___, int char_id, int party_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_party_CharOnline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_party_CharOnline_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &party_id); + retVal___ = postHookFunc(retVal___, char_id, party_id); } } return retVal___; @@ -7345,10 +7345,10 @@ int HP_inter_party_CharOffline(int char_id, int party_id) { retVal___ = HPMHooks.source.inter_party.CharOffline(char_id, party_id); } if( HPMHooks.count.HP_inter_party_CharOffline_post ) { - int (*postHookFunc) (int retVal___, int *char_id, int *party_id); + int (*postHookFunc) (int retVal___, int char_id, int party_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_party_CharOffline_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_party_CharOffline_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &party_id); + retVal___ = postHookFunc(retVal___, char_id, party_id); } } return retVal___; @@ -7400,10 +7400,10 @@ int HP_inter_pet_fromsql(int pet_id, struct s_pet *p) { retVal___ = HPMHooks.source.inter_pet.fromsql(pet_id, p); } if( HPMHooks.count.HP_inter_pet_fromsql_post ) { - int (*postHookFunc) (int retVal___, int *pet_id, struct s_pet *p); + int (*postHookFunc) (int retVal___, int pet_id, struct s_pet *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_pet_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_pet_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &pet_id, p); + retVal___ = postHookFunc(retVal___, pet_id, p); } } return retVal___; @@ -7480,10 +7480,10 @@ int HP_inter_pet_delete_(int pet_id) { retVal___ = HPMHooks.source.inter_pet.delete_(pet_id); } if( HPMHooks.count.HP_inter_pet_delete__post ) { - int (*postHookFunc) (int retVal___, int *pet_id); + int (*postHookFunc) (int retVal___, int pet_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_pet_delete__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_pet_delete__post[hIndex].func; - retVal___ = postHookFunc(retVal___, &pet_id); + retVal___ = postHookFunc(retVal___, pet_id); } } return retVal___; @@ -7507,10 +7507,10 @@ int HP_inter_pet_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_pet.parse_frommap(fd); } if( HPMHooks.count.HP_inter_pet_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_pet_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_pet_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -7535,10 +7535,10 @@ int HP_inter_quest_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_quest.parse_frommap(fd); } if( HPMHooks.count.HP_inter_quest_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_quest_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_quest_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -7563,10 +7563,10 @@ int HP_inter_storage_tosql(int account_id, struct storage_data *p) { retVal___ = HPMHooks.source.inter_storage.tosql(account_id, p); } if( HPMHooks.count.HP_inter_storage_tosql_post ) { - int (*postHookFunc) (int retVal___, int *account_id, struct storage_data *p); + int (*postHookFunc) (int retVal___, int account_id, struct storage_data *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_storage_tosql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_storage_tosql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &account_id, p); + retVal___ = postHookFunc(retVal___, account_id, p); } } return retVal___; @@ -7590,10 +7590,10 @@ int HP_inter_storage_fromsql(int account_id, struct storage_data *p) { retVal___ = HPMHooks.source.inter_storage.fromsql(account_id, p); } if( HPMHooks.count.HP_inter_storage_fromsql_post ) { - int (*postHookFunc) (int retVal___, int *account_id, struct storage_data *p); + int (*postHookFunc) (int retVal___, int account_id, struct storage_data *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_storage_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_storage_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &account_id, p); + retVal___ = postHookFunc(retVal___, account_id, p); } } return retVal___; @@ -7617,10 +7617,10 @@ int HP_inter_storage_guild_storage_tosql(int guild_id, const struct guild_storag retVal___ = HPMHooks.source.inter_storage.guild_storage_tosql(guild_id, p); } if( HPMHooks.count.HP_inter_storage_guild_storage_tosql_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, const struct guild_storage *p); + int (*postHookFunc) (int retVal___, int guild_id, const struct guild_storage *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_storage_guild_storage_tosql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_storage_guild_storage_tosql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, p); + retVal___ = postHookFunc(retVal___, guild_id, p); } } return retVal___; @@ -7644,10 +7644,10 @@ int HP_inter_storage_guild_storage_fromsql(int guild_id, struct guild_storage *p retVal___ = HPMHooks.source.inter_storage.guild_storage_fromsql(guild_id, p); } if( HPMHooks.count.HP_inter_storage_guild_storage_fromsql_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, struct guild_storage *p); + int (*postHookFunc) (int retVal___, int guild_id, struct guild_storage *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_storage_guild_storage_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_storage_guild_storage_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, p); + retVal___ = postHookFunc(retVal___, guild_id, p); } } return retVal___; @@ -7724,10 +7724,10 @@ int HP_inter_storage_delete_(int account_id) { retVal___ = HPMHooks.source.inter_storage.delete_(account_id); } if( HPMHooks.count.HP_inter_storage_delete__post ) { - int (*postHookFunc) (int retVal___, int *account_id); + int (*postHookFunc) (int retVal___, int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_storage_delete__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_storage_delete__post[hIndex].func; - retVal___ = postHookFunc(retVal___, &account_id); + retVal___ = postHookFunc(retVal___, account_id); } } return retVal___; @@ -7751,10 +7751,10 @@ int HP_inter_storage_guild_storage_delete(int guild_id) { retVal___ = HPMHooks.source.inter_storage.guild_storage_delete(guild_id); } if( HPMHooks.count.HP_inter_storage_guild_storage_delete_post ) { - int (*postHookFunc) (int retVal___, int *guild_id); + int (*postHookFunc) (int retVal___, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_storage_guild_storage_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_storage_guild_storage_delete_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id); + retVal___ = postHookFunc(retVal___, guild_id); } } return retVal___; @@ -7778,10 +7778,10 @@ int HP_inter_storage_parse_frommap(int fd) { retVal___ = HPMHooks.source.inter_storage.parse_frommap(fd); } if( HPMHooks.count.HP_inter_storage_parse_frommap_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_storage_parse_frommap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_inter_storage_parse_frommap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -7858,10 +7858,10 @@ void HP_libconfig_set_options(struct config_t *config, int options) { HPMHooks.source.libconfig.set_options(config, options); } if( HPMHooks.count.HP_libconfig_set_options_post ) { - void (*postHookFunc) (struct config_t *config, int *options); + void (*postHookFunc) (struct config_t *config, int options); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_set_options_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_set_options_post[hIndex].func; - postHookFunc(config, &options); + postHookFunc(config, options); } } return; @@ -8394,10 +8394,10 @@ int HP_libconfig_setting_set_int(struct config_setting_t *setting, int value) { retVal___ = HPMHooks.source.libconfig.setting_set_int(setting, value); } if( HPMHooks.count.HP_libconfig_setting_set_int_post ) { - int (*postHookFunc) (int retVal___, struct config_setting_t *setting, int *value); + int (*postHookFunc) (int retVal___, struct config_setting_t *setting, int value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_int_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &value); + retVal___ = postHookFunc(retVal___, setting, value); } } return retVal___; @@ -8421,10 +8421,10 @@ int HP_libconfig_setting_set_int64(struct config_setting_t *setting, long long v retVal___ = HPMHooks.source.libconfig.setting_set_int64(setting, value); } if( HPMHooks.count.HP_libconfig_setting_set_int64_post ) { - int (*postHookFunc) (int retVal___, struct config_setting_t *setting, long long *value); + int (*postHookFunc) (int retVal___, struct config_setting_t *setting, long long value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int64_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_int64_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &value); + retVal___ = postHookFunc(retVal___, setting, value); } } return retVal___; @@ -8448,10 +8448,10 @@ int HP_libconfig_setting_set_float(struct config_setting_t *setting, double valu retVal___ = HPMHooks.source.libconfig.setting_set_float(setting, value); } if( HPMHooks.count.HP_libconfig_setting_set_float_post ) { - int (*postHookFunc) (int retVal___, struct config_setting_t *setting, double *value); + int (*postHookFunc) (int retVal___, struct config_setting_t *setting, double value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_float_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_float_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &value); + retVal___ = postHookFunc(retVal___, setting, value); } } return retVal___; @@ -8475,10 +8475,10 @@ int HP_libconfig_setting_set_bool(struct config_setting_t *setting, int value) { retVal___ = HPMHooks.source.libconfig.setting_set_bool(setting, value); } if( HPMHooks.count.HP_libconfig_setting_set_bool_post ) { - int (*postHookFunc) (int retVal___, struct config_setting_t *setting, int *value); + int (*postHookFunc) (int retVal___, struct config_setting_t *setting, int value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_bool_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_bool_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &value); + retVal___ = postHookFunc(retVal___, setting, value); } } return retVal___; @@ -8529,10 +8529,10 @@ int HP_libconfig_setting_set_format(struct config_setting_t *setting, short form retVal___ = HPMHooks.source.libconfig.setting_set_format(setting, format); } if( HPMHooks.count.HP_libconfig_setting_set_format_post ) { - int (*postHookFunc) (int retVal___, struct config_setting_t *setting, short *format); + int (*postHookFunc) (int retVal___, struct config_setting_t *setting, short format); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_format_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_format_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &format); + retVal___ = postHookFunc(retVal___, setting, format); } } return retVal___; @@ -8583,10 +8583,10 @@ int HP_libconfig_setting_get_int_elem(const struct config_setting_t *setting, in retVal___ = HPMHooks.source.libconfig.setting_get_int_elem(setting, idx); } if( HPMHooks.count.HP_libconfig_setting_get_int_elem_post ) { - int (*postHookFunc) (int retVal___, const struct config_setting_t *setting, int *idx); + int (*postHookFunc) (int retVal___, const struct config_setting_t *setting, int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_get_int_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx); + retVal___ = postHookFunc(retVal___, setting, idx); } } return retVal___; @@ -8610,10 +8610,10 @@ long long HP_libconfig_setting_get_int64_elem(const struct config_setting_t *set retVal___ = HPMHooks.source.libconfig.setting_get_int64_elem(setting, idx); } if( HPMHooks.count.HP_libconfig_setting_get_int64_elem_post ) { - long long (*postHookFunc) (long long retVal___, const struct config_setting_t *setting, int *idx); + long long (*postHookFunc) (long long retVal___, const struct config_setting_t *setting, int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int64_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_get_int64_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx); + retVal___ = postHookFunc(retVal___, setting, idx); } } return retVal___; @@ -8637,10 +8637,10 @@ double HP_libconfig_setting_get_float_elem(const struct config_setting_t *settin retVal___ = HPMHooks.source.libconfig.setting_get_float_elem(setting, idx); } if( HPMHooks.count.HP_libconfig_setting_get_float_elem_post ) { - double (*postHookFunc) (double retVal___, const struct config_setting_t *setting, int *idx); + double (*postHookFunc) (double retVal___, const struct config_setting_t *setting, int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_float_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_get_float_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx); + retVal___ = postHookFunc(retVal___, setting, idx); } } return retVal___; @@ -8664,10 +8664,10 @@ int HP_libconfig_setting_get_bool_elem(const struct config_setting_t *setting, i retVal___ = HPMHooks.source.libconfig.setting_get_bool_elem(setting, idx); } if( HPMHooks.count.HP_libconfig_setting_get_bool_elem_post ) { - int (*postHookFunc) (int retVal___, const struct config_setting_t *setting, int *idx); + int (*postHookFunc) (int retVal___, const struct config_setting_t *setting, int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_bool_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_get_bool_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx); + retVal___ = postHookFunc(retVal___, setting, idx); } } return retVal___; @@ -8691,10 +8691,10 @@ const char* HP_libconfig_setting_get_string_elem(const struct config_setting_t * retVal___ = HPMHooks.source.libconfig.setting_get_string_elem(setting, idx); } if( HPMHooks.count.HP_libconfig_setting_get_string_elem_post ) { - const char* (*postHookFunc) (const char* retVal___, const struct config_setting_t *setting, int *idx); + const char* (*postHookFunc) (const char* retVal___, const struct config_setting_t *setting, int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_string_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_get_string_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx); + retVal___ = postHookFunc(retVal___, setting, idx); } } return retVal___; @@ -8718,10 +8718,10 @@ struct config_setting_t* HP_libconfig_setting_set_int_elem(struct config_setting retVal___ = HPMHooks.source.libconfig.setting_set_int_elem(setting, idx, value); } if( HPMHooks.count.HP_libconfig_setting_set_int_elem_post ) { - struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, int *value); + struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, int value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_int_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx, &value); + retVal___ = postHookFunc(retVal___, setting, idx, value); } } return retVal___; @@ -8745,10 +8745,10 @@ struct config_setting_t* HP_libconfig_setting_set_int64_elem(struct config_setti retVal___ = HPMHooks.source.libconfig.setting_set_int64_elem(setting, idx, value); } if( HPMHooks.count.HP_libconfig_setting_set_int64_elem_post ) { - struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, long long *value); + struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, long long value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int64_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_int64_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx, &value); + retVal___ = postHookFunc(retVal___, setting, idx, value); } } return retVal___; @@ -8772,10 +8772,10 @@ struct config_setting_t* HP_libconfig_setting_set_float_elem(struct config_setti retVal___ = HPMHooks.source.libconfig.setting_set_float_elem(setting, idx, value); } if( HPMHooks.count.HP_libconfig_setting_set_float_elem_post ) { - struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, double *value); + struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, double value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_float_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_float_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx, &value); + retVal___ = postHookFunc(retVal___, setting, idx, value); } } return retVal___; @@ -8799,10 +8799,10 @@ struct config_setting_t* HP_libconfig_setting_set_bool_elem(struct config_settin retVal___ = HPMHooks.source.libconfig.setting_set_bool_elem(setting, idx, value); } if( HPMHooks.count.HP_libconfig_setting_set_bool_elem_post ) { - struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, int *value); + struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, int value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_bool_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_bool_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx, &value); + retVal___ = postHookFunc(retVal___, setting, idx, value); } } return retVal___; @@ -8826,10 +8826,10 @@ struct config_setting_t* HP_libconfig_setting_set_string_elem(struct config_sett retVal___ = HPMHooks.source.libconfig.setting_set_string_elem(setting, idx, value); } if( HPMHooks.count.HP_libconfig_setting_set_string_elem_post ) { - struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, const char *value); + struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, const char *value); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_string_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_set_string_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx, value); + retVal___ = postHookFunc(retVal___, setting, idx, value); } } return retVal___; @@ -8907,10 +8907,10 @@ struct config_setting_t* HP_libconfig_setting_get_elem(const struct config_setti retVal___ = HPMHooks.source.libconfig.setting_get_elem(setting, idx); } if( HPMHooks.count.HP_libconfig_setting_get_elem_post ) { - struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, const struct config_setting_t *setting, unsigned int *idx); + struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, const struct config_setting_t *setting, unsigned int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_get_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, &idx); + retVal___ = postHookFunc(retVal___, setting, idx); } } return retVal___; @@ -8961,10 +8961,10 @@ struct config_setting_t* HP_libconfig_setting_add(struct config_setting_t *paren retVal___ = HPMHooks.source.libconfig.setting_add(parent, name, type); } if( HPMHooks.count.HP_libconfig_setting_add_post ) { - struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *parent, const char *name, int *type); + struct config_setting_t* (*postHookFunc) (struct config_setting_t* retVal___, struct config_setting_t *parent, const char *name, int type); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_add_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_add_post[hIndex].func; - retVal___ = postHookFunc(retVal___, parent, name, &type); + retVal___ = postHookFunc(retVal___, parent, name, type); } } return retVal___; @@ -9015,10 +9015,10 @@ int HP_libconfig_setting_remove_elem(struct config_setting_t *parent, unsigned i retVal___ = HPMHooks.source.libconfig.setting_remove_elem(parent, idx); } if( HPMHooks.count.HP_libconfig_setting_remove_elem_post ) { - int (*postHookFunc) (int retVal___, struct config_setting_t *parent, unsigned int *idx); + int (*postHookFunc) (int retVal___, struct config_setting_t *parent, unsigned int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_remove_elem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_remove_elem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, parent, &idx); + retVal___ = postHookFunc(retVal___, parent, idx); } } return retVal___; @@ -9578,10 +9578,10 @@ int HP_libconfig_setting_lookup_mutable_string(const struct config_setting_t *se retVal___ = HPMHooks.source.libconfig.setting_lookup_mutable_string(setting, name, out, out_size); } if( HPMHooks.count.HP_libconfig_setting_lookup_mutable_string_post ) { - int (*postHookFunc) (int retVal___, const struct config_setting_t *setting, const char *name, char *out, size_t *out_size); + int (*postHookFunc) (int retVal___, const struct config_setting_t *setting, const char *name, char *out, size_t out_size); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_mutable_string_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_mutable_string_post[hIndex].func; - retVal___ = postHookFunc(retVal___, setting, name, out, &out_size); + retVal___ = postHookFunc(retVal___, setting, name, out, out_size); } } return retVal___; @@ -9605,10 +9605,10 @@ int HP_libconfig_lookup_mutable_string(const struct config_t *config, const char retVal___ = HPMHooks.source.libconfig.lookup_mutable_string(config, name, out, out_size); } if( HPMHooks.count.HP_libconfig_lookup_mutable_string_post ) { - int (*postHookFunc) (int retVal___, const struct config_t *config, const char *name, char *out, size_t *out_size); + int (*postHookFunc) (int retVal___, const struct config_t *config, const char *name, char *out, size_t out_size); for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_mutable_string_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_libconfig_lookup_mutable_string_post[hIndex].func; - retVal___ = postHookFunc(retVal___, config, name, out, &out_size); + retVal___ = postHookFunc(retVal___, config, name, out, out_size); } } return retVal___; @@ -9788,10 +9788,10 @@ void HP_loginif_block_account(int account_id, int flag) { HPMHooks.source.loginif.block_account(account_id, flag); } if( HPMHooks.count.HP_loginif_block_account_post ) { - void (*postHookFunc) (int *account_id, int *flag); + void (*postHookFunc) (int account_id, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_loginif_block_account_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_loginif_block_account_post[hIndex].func; - postHookFunc(&account_id, &flag); + postHookFunc(account_id, flag); } } return; @@ -9814,10 +9814,10 @@ void HP_loginif_ban_account(int account_id, short year, short month, short day, HPMHooks.source.loginif.ban_account(account_id, year, month, day, hour, minute, second); } if( HPMHooks.count.HP_loginif_ban_account_post ) { - void (*postHookFunc) (int *account_id, short *year, short *month, short *day, short *hour, short *minute, short *second); + void (*postHookFunc) (int account_id, short year, short month, short day, short hour, short minute, short second); for(hIndex = 0; hIndex < HPMHooks.count.HP_loginif_ban_account_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_loginif_ban_account_post[hIndex].func; - postHookFunc(&account_id, &year, &month, &day, &hour, &minute, &second); + postHookFunc(account_id, year, month, day, hour, minute, second); } } return; @@ -9840,10 +9840,10 @@ void HP_loginif_unban_account(int account_id) { HPMHooks.source.loginif.unban_account(account_id); } if( HPMHooks.count.HP_loginif_unban_account_post ) { - void (*postHookFunc) (int *account_id); + void (*postHookFunc) (int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_loginif_unban_account_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_loginif_unban_account_post[hIndex].func; - postHookFunc(&account_id); + postHookFunc(account_id); } } return; @@ -9866,10 +9866,10 @@ void HP_loginif_changesex(int account_id) { HPMHooks.source.loginif.changesex(account_id); } if( HPMHooks.count.HP_loginif_changesex_post ) { - void (*postHookFunc) (int *account_id); + void (*postHookFunc) (int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_loginif_changesex_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_loginif_changesex_post[hIndex].func; - postHookFunc(&account_id); + postHookFunc(account_id); } } return; @@ -9892,10 +9892,10 @@ void HP_loginif_auth(int fd, struct char_session_data *sd, uint32 ipl) { HPMHooks.source.loginif.auth(fd, sd, ipl); } if( HPMHooks.count.HP_loginif_auth_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd, uint32 *ipl); + void (*postHookFunc) (int fd, struct char_session_data *sd, uint32 ipl); for(hIndex = 0; hIndex < HPMHooks.count.HP_loginif_auth_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_loginif_auth_post[hIndex].func; - postHookFunc(&fd, sd, &ipl); + postHookFunc(fd, sd, ipl); } } return; @@ -9918,10 +9918,10 @@ void HP_loginif_send_users_count(int users) { HPMHooks.source.loginif.send_users_count(users); } if( HPMHooks.count.HP_loginif_send_users_count_post ) { - void (*postHookFunc) (int *users); + void (*postHookFunc) (int users); for(hIndex = 0; hIndex < HPMHooks.count.HP_loginif_send_users_count_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_loginif_send_users_count_post[hIndex].func; - postHookFunc(&users); + postHookFunc(users); } } return; @@ -10024,10 +10024,10 @@ void* HP_iMalloc_malloc(size_t size, const char *file, int line, const char *fun retVal___ = HPMHooks.source.iMalloc.malloc(size, file, line, func); } if( HPMHooks.count.HP_iMalloc_malloc_post ) { - void* (*postHookFunc) (void* retVal___, size_t *size, const char *file, int *line, const char *func); + void* (*postHookFunc) (void* retVal___, size_t size, const char *file, int line, const char *func); for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_malloc_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_iMalloc_malloc_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &size, file, &line, func); + retVal___ = postHookFunc(retVal___, size, file, line, func); } } return retVal___; @@ -10051,10 +10051,10 @@ void* HP_iMalloc_calloc(size_t num, size_t size, const char *file, int line, con retVal___ = HPMHooks.source.iMalloc.calloc(num, size, file, line, func); } if( HPMHooks.count.HP_iMalloc_calloc_post ) { - void* (*postHookFunc) (void* retVal___, size_t *num, size_t *size, const char *file, int *line, const char *func); + void* (*postHookFunc) (void* retVal___, size_t num, size_t size, const char *file, int line, const char *func); for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_calloc_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_iMalloc_calloc_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &num, &size, file, &line, func); + retVal___ = postHookFunc(retVal___, num, size, file, line, func); } } return retVal___; @@ -10078,10 +10078,10 @@ void* HP_iMalloc_realloc(void *p, size_t size, const char *file, int line, const retVal___ = HPMHooks.source.iMalloc.realloc(p, size, file, line, func); } if( HPMHooks.count.HP_iMalloc_realloc_post ) { - void* (*postHookFunc) (void* retVal___, void *p, size_t *size, const char *file, int *line, const char *func); + void* (*postHookFunc) (void* retVal___, void *p, size_t size, const char *file, int line, const char *func); for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_realloc_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_iMalloc_realloc_post[hIndex].func; - retVal___ = postHookFunc(retVal___, p, &size, file, &line, func); + retVal___ = postHookFunc(retVal___, p, size, file, line, func); } } return retVal___; @@ -10105,10 +10105,10 @@ void* HP_iMalloc_reallocz(void *p, size_t size, const char *file, int line, cons retVal___ = HPMHooks.source.iMalloc.reallocz(p, size, file, line, func); } if( HPMHooks.count.HP_iMalloc_reallocz_post ) { - void* (*postHookFunc) (void* retVal___, void *p, size_t *size, const char *file, int *line, const char *func); + void* (*postHookFunc) (void* retVal___, void *p, size_t size, const char *file, int line, const char *func); for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_reallocz_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_iMalloc_reallocz_post[hIndex].func; - retVal___ = postHookFunc(retVal___, p, &size, file, &line, func); + retVal___ = postHookFunc(retVal___, p, size, file, line, func); } } return retVal___; @@ -10132,10 +10132,10 @@ char* HP_iMalloc_astrdup(const char *p, const char *file, int line, const char * retVal___ = HPMHooks.source.iMalloc.astrdup(p, file, line, func); } if( HPMHooks.count.HP_iMalloc_astrdup_post ) { - char* (*postHookFunc) (char* retVal___, const char *p, const char *file, int *line, const char *func); + char* (*postHookFunc) (char* retVal___, const char *p, const char *file, int line, const char *func); for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_astrdup_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_iMalloc_astrdup_post[hIndex].func; - retVal___ = postHookFunc(retVal___, p, file, &line, func); + retVal___ = postHookFunc(retVal___, p, file, line, func); } } return retVal___; @@ -10159,10 +10159,10 @@ char* HP_iMalloc_astrndup(const char *p, size_t size, const char *file, int line retVal___ = HPMHooks.source.iMalloc.astrndup(p, size, file, line, func); } if( HPMHooks.count.HP_iMalloc_astrndup_post ) { - char* (*postHookFunc) (char* retVal___, const char *p, size_t *size, const char *file, int *line, const char *func); + char* (*postHookFunc) (char* retVal___, const char *p, size_t size, const char *file, int line, const char *func); for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_astrndup_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_iMalloc_astrndup_post[hIndex].func; - retVal___ = postHookFunc(retVal___, p, &size, file, &line, func); + retVal___ = postHookFunc(retVal___, p, size, file, line, func); } } return retVal___; @@ -10185,10 +10185,10 @@ void HP_iMalloc_free(void *p, const char *file, int line, const char *func) { HPMHooks.source.iMalloc.free(p, file, line, func); } if( HPMHooks.count.HP_iMalloc_free_post ) { - void (*postHookFunc) (void *p, const char *file, int *line, const char *func); + void (*postHookFunc) (void *p, const char *file, int line, const char *func); for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_free_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_iMalloc_free_post[hIndex].func; - postHookFunc(p, file, &line, func); + postHookFunc(p, file, line, func); } } return; @@ -10344,10 +10344,10 @@ void HP_mapif_ban(int id, unsigned int flag, int status) { HPMHooks.source.mapif.ban(id, flag, status); } if( HPMHooks.count.HP_mapif_ban_post ) { - void (*postHookFunc) (int *id, unsigned int *flag, int *status); + void (*postHookFunc) (int id, unsigned int flag, int status); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_ban_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_ban_post[hIndex].func; - postHookFunc(&id, &flag, &status); + postHookFunc(id, flag, status); } } return; @@ -10370,10 +10370,10 @@ void HP_mapif_server_init(int id) { HPMHooks.source.mapif.server_init(id); } if( HPMHooks.count.HP_mapif_server_init_post ) { - void (*postHookFunc) (int *id); + void (*postHookFunc) (int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_server_init_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_server_init_post[hIndex].func; - postHookFunc(&id); + postHookFunc(id); } } return; @@ -10396,10 +10396,10 @@ void HP_mapif_server_destroy(int id) { HPMHooks.source.mapif.server_destroy(id); } if( HPMHooks.count.HP_mapif_server_destroy_post ) { - void (*postHookFunc) (int *id); + void (*postHookFunc) (int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_server_destroy_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_server_destroy_post[hIndex].func; - postHookFunc(&id); + postHookFunc(id); } } return; @@ -10422,10 +10422,10 @@ void HP_mapif_server_reset(int id) { HPMHooks.source.mapif.server_reset(id); } if( HPMHooks.count.HP_mapif_server_reset_post ) { - void (*postHookFunc) (int *id); + void (*postHookFunc) (int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_server_reset_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_server_reset_post[hIndex].func; - postHookFunc(&id); + postHookFunc(id); } } return; @@ -10448,10 +10448,10 @@ void HP_mapif_on_disconnect(int id) { HPMHooks.source.mapif.on_disconnect(id); } if( HPMHooks.count.HP_mapif_on_disconnect_post ) { - void (*postHookFunc) (int *id); + void (*postHookFunc) (int id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_on_disconnect_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_on_disconnect_post[hIndex].func; - postHookFunc(&id); + postHookFunc(id); } } return; @@ -10474,10 +10474,10 @@ void HP_mapif_on_parse_accinfo(int account_id, int u_fd, int u_aid, int u_group, HPMHooks.source.mapif.on_parse_accinfo(account_id, u_fd, u_aid, u_group, map_fd); } if( HPMHooks.count.HP_mapif_on_parse_accinfo_post ) { - void (*postHookFunc) (int *account_id, int *u_fd, int *u_aid, int *u_group, int *map_fd); + void (*postHookFunc) (int account_id, int u_fd, int u_aid, int u_group, int map_fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_on_parse_accinfo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_on_parse_accinfo_post[hIndex].func; - postHookFunc(&account_id, &u_fd, &u_aid, &u_group, &map_fd); + postHookFunc(account_id, u_fd, u_aid, u_group, map_fd); } } return; @@ -10500,10 +10500,10 @@ void HP_mapif_char_ban(int char_id, time_t timestamp) { HPMHooks.source.mapif.char_ban(char_id, timestamp); } if( HPMHooks.count.HP_mapif_char_ban_post ) { - void (*postHookFunc) (int *char_id, time_t *timestamp); + void (*postHookFunc) (int char_id, time_t timestamp); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_char_ban_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_char_ban_post[hIndex].func; - postHookFunc(&char_id, ×tamp); + postHookFunc(char_id, timestamp); } } return; @@ -10527,10 +10527,10 @@ int HP_mapif_sendall(const unsigned char *buf, unsigned int len) { retVal___ = HPMHooks.source.mapif.sendall(buf, len); } if( HPMHooks.count.HP_mapif_sendall_post ) { - int (*postHookFunc) (int retVal___, const unsigned char *buf, unsigned int *len); + int (*postHookFunc) (int retVal___, const unsigned char *buf, unsigned int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_sendall_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_sendall_post[hIndex].func; - retVal___ = postHookFunc(retVal___, buf, &len); + retVal___ = postHookFunc(retVal___, buf, len); } } return retVal___; @@ -10554,10 +10554,10 @@ int HP_mapif_sendallwos(int sfd, unsigned char *buf, unsigned int len) { retVal___ = HPMHooks.source.mapif.sendallwos(sfd, buf, len); } if( HPMHooks.count.HP_mapif_sendallwos_post ) { - int (*postHookFunc) (int retVal___, int *sfd, unsigned char *buf, unsigned int *len); + int (*postHookFunc) (int retVal___, int sfd, unsigned char *buf, unsigned int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_sendallwos_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_sendallwos_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &sfd, buf, &len); + retVal___ = postHookFunc(retVal___, sfd, buf, len); } } return retVal___; @@ -10581,10 +10581,10 @@ int HP_mapif_send(int fd, unsigned char *buf, unsigned int len) { retVal___ = HPMHooks.source.mapif.send(fd, buf, len); } if( HPMHooks.count.HP_mapif_send_post ) { - int (*postHookFunc) (int retVal___, int *fd, unsigned char *buf, unsigned int *len); + int (*postHookFunc) (int retVal___, int fd, unsigned char *buf, unsigned int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_send_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_send_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, buf, &len); + retVal___ = postHookFunc(retVal___, fd, buf, len); } } return retVal___; @@ -10607,10 +10607,10 @@ void HP_mapif_send_users_count(int users) { HPMHooks.source.mapif.send_users_count(users); } if( HPMHooks.count.HP_mapif_send_users_count_post ) { - void (*postHookFunc) (int *users); + void (*postHookFunc) (int users); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_send_users_count_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_send_users_count_post[hIndex].func; - postHookFunc(&users); + postHookFunc(users); } } return; @@ -10633,10 +10633,10 @@ void HP_mapif_auction_message(int char_id, unsigned char result) { HPMHooks.source.mapif.auction_message(char_id, result); } if( HPMHooks.count.HP_mapif_auction_message_post ) { - void (*postHookFunc) (int *char_id, unsigned char *result); + void (*postHookFunc) (int char_id, unsigned char result); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_auction_message_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_auction_message_post[hIndex].func; - postHookFunc(&char_id, &result); + postHookFunc(char_id, result); } } return; @@ -10659,10 +10659,10 @@ void HP_mapif_auction_sendlist(int fd, int char_id, short count, short pages, un HPMHooks.source.mapif.auction_sendlist(fd, char_id, count, pages, buf); } if( HPMHooks.count.HP_mapif_auction_sendlist_post ) { - void (*postHookFunc) (int *fd, int *char_id, short *count, short *pages, unsigned char *buf); + void (*postHookFunc) (int fd, int char_id, short count, short pages, unsigned char *buf); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_auction_sendlist_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_auction_sendlist_post[hIndex].func; - postHookFunc(&fd, &char_id, &count, &pages, buf); + postHookFunc(fd, char_id, count, pages, buf); } } return; @@ -10685,10 +10685,10 @@ void HP_mapif_parse_auction_requestlist(int fd) { HPMHooks.source.mapif.parse_auction_requestlist(fd); } if( HPMHooks.count.HP_mapif_parse_auction_requestlist_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_auction_requestlist_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_auction_requestlist_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -10711,10 +10711,10 @@ void HP_mapif_auction_register(int fd, struct auction_data *auction) { HPMHooks.source.mapif.auction_register(fd, auction); } if( HPMHooks.count.HP_mapif_auction_register_post ) { - void (*postHookFunc) (int *fd, struct auction_data *auction); + void (*postHookFunc) (int fd, struct auction_data *auction); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_auction_register_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_auction_register_post[hIndex].func; - postHookFunc(&fd, auction); + postHookFunc(fd, auction); } } return; @@ -10737,10 +10737,10 @@ void HP_mapif_parse_auction_register(int fd) { HPMHooks.source.mapif.parse_auction_register(fd); } if( HPMHooks.count.HP_mapif_parse_auction_register_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_auction_register_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_auction_register_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -10763,10 +10763,10 @@ void HP_mapif_auction_cancel(int fd, int char_id, unsigned char result) { HPMHooks.source.mapif.auction_cancel(fd, char_id, result); } if( HPMHooks.count.HP_mapif_auction_cancel_post ) { - void (*postHookFunc) (int *fd, int *char_id, unsigned char *result); + void (*postHookFunc) (int fd, int char_id, unsigned char result); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_auction_cancel_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_auction_cancel_post[hIndex].func; - postHookFunc(&fd, &char_id, &result); + postHookFunc(fd, char_id, result); } } return; @@ -10789,10 +10789,10 @@ void HP_mapif_parse_auction_cancel(int fd) { HPMHooks.source.mapif.parse_auction_cancel(fd); } if( HPMHooks.count.HP_mapif_parse_auction_cancel_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_auction_cancel_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_auction_cancel_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -10815,10 +10815,10 @@ void HP_mapif_auction_close(int fd, int char_id, unsigned char result) { HPMHooks.source.mapif.auction_close(fd, char_id, result); } if( HPMHooks.count.HP_mapif_auction_close_post ) { - void (*postHookFunc) (int *fd, int *char_id, unsigned char *result); + void (*postHookFunc) (int fd, int char_id, unsigned char result); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_auction_close_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_auction_close_post[hIndex].func; - postHookFunc(&fd, &char_id, &result); + postHookFunc(fd, char_id, result); } } return; @@ -10841,10 +10841,10 @@ void HP_mapif_parse_auction_close(int fd) { HPMHooks.source.mapif.parse_auction_close(fd); } if( HPMHooks.count.HP_mapif_parse_auction_close_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_auction_close_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_auction_close_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -10867,10 +10867,10 @@ void HP_mapif_auction_bid(int fd, int char_id, int bid, unsigned char result) { HPMHooks.source.mapif.auction_bid(fd, char_id, bid, result); } if( HPMHooks.count.HP_mapif_auction_bid_post ) { - void (*postHookFunc) (int *fd, int *char_id, int *bid, unsigned char *result); + void (*postHookFunc) (int fd, int char_id, int bid, unsigned char result); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_auction_bid_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_auction_bid_post[hIndex].func; - postHookFunc(&fd, &char_id, &bid, &result); + postHookFunc(fd, char_id, bid, result); } } return; @@ -10893,10 +10893,10 @@ void HP_mapif_parse_auction_bid(int fd) { HPMHooks.source.mapif.parse_auction_bid(fd); } if( HPMHooks.count.HP_mapif_parse_auction_bid_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_auction_bid_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_auction_bid_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -10974,10 +10974,10 @@ bool HP_mapif_elemental_load(int ele_id, int char_id, struct s_elemental *ele) { retVal___ = HPMHooks.source.mapif.elemental_load(ele_id, char_id, ele); } if( HPMHooks.count.HP_mapif_elemental_load_post ) { - bool (*postHookFunc) (bool retVal___, int *ele_id, int *char_id, struct s_elemental *ele); + bool (*postHookFunc) (bool retVal___, int ele_id, int char_id, struct s_elemental *ele); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_elemental_load_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_elemental_load_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ele_id, &char_id, ele); + retVal___ = postHookFunc(retVal___, ele_id, char_id, ele); } } return retVal___; @@ -11001,10 +11001,10 @@ bool HP_mapif_elemental_delete(int ele_id) { retVal___ = HPMHooks.source.mapif.elemental_delete(ele_id); } if( HPMHooks.count.HP_mapif_elemental_delete_post ) { - bool (*postHookFunc) (bool retVal___, int *ele_id); + bool (*postHookFunc) (bool retVal___, int ele_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_elemental_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_elemental_delete_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ele_id); + retVal___ = postHookFunc(retVal___, ele_id); } } return retVal___; @@ -11027,10 +11027,10 @@ void HP_mapif_elemental_send(int fd, struct s_elemental *ele, unsigned char flag HPMHooks.source.mapif.elemental_send(fd, ele, flag); } if( HPMHooks.count.HP_mapif_elemental_send_post ) { - void (*postHookFunc) (int *fd, struct s_elemental *ele, unsigned char *flag); + void (*postHookFunc) (int fd, struct s_elemental *ele, unsigned char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_elemental_send_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_elemental_send_post[hIndex].func; - postHookFunc(&fd, ele, &flag); + postHookFunc(fd, ele, flag); } } return; @@ -11053,10 +11053,10 @@ void HP_mapif_parse_elemental_create(int fd, const struct s_elemental *ele) { HPMHooks.source.mapif.parse_elemental_create(fd, ele); } if( HPMHooks.count.HP_mapif_parse_elemental_create_post ) { - void (*postHookFunc) (int *fd, const struct s_elemental *ele); + void (*postHookFunc) (int fd, const struct s_elemental *ele); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_elemental_create_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_elemental_create_post[hIndex].func; - postHookFunc(&fd, ele); + postHookFunc(fd, ele); } } return; @@ -11079,10 +11079,10 @@ void HP_mapif_parse_elemental_load(int fd, int ele_id, int char_id) { HPMHooks.source.mapif.parse_elemental_load(fd, ele_id, char_id); } if( HPMHooks.count.HP_mapif_parse_elemental_load_post ) { - void (*postHookFunc) (int *fd, int *ele_id, int *char_id); + void (*postHookFunc) (int fd, int ele_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_elemental_load_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_elemental_load_post[hIndex].func; - postHookFunc(&fd, &ele_id, &char_id); + postHookFunc(fd, ele_id, char_id); } } return; @@ -11105,10 +11105,10 @@ void HP_mapif_elemental_deleted(int fd, unsigned char flag) { HPMHooks.source.mapif.elemental_deleted(fd, flag); } if( HPMHooks.count.HP_mapif_elemental_deleted_post ) { - void (*postHookFunc) (int *fd, unsigned char *flag); + void (*postHookFunc) (int fd, unsigned char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_elemental_deleted_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_elemental_deleted_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -11131,10 +11131,10 @@ void HP_mapif_parse_elemental_delete(int fd, int ele_id) { HPMHooks.source.mapif.parse_elemental_delete(fd, ele_id); } if( HPMHooks.count.HP_mapif_parse_elemental_delete_post ) { - void (*postHookFunc) (int *fd, int *ele_id); + void (*postHookFunc) (int fd, int ele_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_elemental_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_elemental_delete_post[hIndex].func; - postHookFunc(&fd, &ele_id); + postHookFunc(fd, ele_id); } } return; @@ -11157,10 +11157,10 @@ void HP_mapif_elemental_saved(int fd, unsigned char flag) { HPMHooks.source.mapif.elemental_saved(fd, flag); } if( HPMHooks.count.HP_mapif_elemental_saved_post ) { - void (*postHookFunc) (int *fd, unsigned char *flag); + void (*postHookFunc) (int fd, unsigned char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_elemental_saved_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_elemental_saved_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -11183,10 +11183,10 @@ void HP_mapif_parse_elemental_save(int fd, const struct s_elemental *ele) { HPMHooks.source.mapif.parse_elemental_save(fd, ele); } if( HPMHooks.count.HP_mapif_parse_elemental_save_post ) { - void (*postHookFunc) (int *fd, const struct s_elemental *ele); + void (*postHookFunc) (int fd, const struct s_elemental *ele); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_elemental_save_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_elemental_save_post[hIndex].func; - postHookFunc(&fd, ele); + postHookFunc(fd, ele); } } return; @@ -11210,10 +11210,10 @@ int HP_mapif_guild_created(int fd, int account_id, struct guild *g) { retVal___ = HPMHooks.source.mapif.guild_created(fd, account_id, g); } if( HPMHooks.count.HP_mapif_guild_created_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, struct guild *g); + int (*postHookFunc) (int retVal___, int fd, int account_id, struct guild *g); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_created_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_created_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, g); + retVal___ = postHookFunc(retVal___, fd, account_id, g); } } return retVal___; @@ -11237,10 +11237,10 @@ int HP_mapif_guild_noinfo(int fd, int guild_id) { retVal___ = HPMHooks.source.mapif.guild_noinfo(fd, guild_id); } if( HPMHooks.count.HP_mapif_guild_noinfo_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id); + int (*postHookFunc) (int retVal___, int fd, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_noinfo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_noinfo_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id); + retVal___ = postHookFunc(retVal___, fd, guild_id); } } return retVal___; @@ -11264,10 +11264,10 @@ int HP_mapif_guild_info(int fd, struct guild *g) { retVal___ = HPMHooks.source.mapif.guild_info(fd, g); } if( HPMHooks.count.HP_mapif_guild_info_post ) { - int (*postHookFunc) (int retVal___, int *fd, struct guild *g); + int (*postHookFunc) (int retVal___, int fd, struct guild *g); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_info_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_info_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, g); + retVal___ = postHookFunc(retVal___, fd, g); } } return retVal___; @@ -11291,10 +11291,10 @@ int HP_mapif_guild_memberadded(int fd, int guild_id, int account_id, int char_id retVal___ = HPMHooks.source.mapif.guild_memberadded(fd, guild_id, account_id, char_id, flag); } if( HPMHooks.count.HP_mapif_guild_memberadded_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, int *account_id, int *char_id, int *flag); + int (*postHookFunc) (int retVal___, int fd, int guild_id, int account_id, int char_id, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_memberadded_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_memberadded_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, &account_id, &char_id, &flag); + retVal___ = postHookFunc(retVal___, fd, guild_id, account_id, char_id, flag); } } return retVal___; @@ -11318,10 +11318,10 @@ int HP_mapif_guild_withdraw(int guild_id, int account_id, int char_id, int flag, retVal___ = HPMHooks.source.mapif.guild_withdraw(guild_id, account_id, char_id, flag, name, mes); } if( HPMHooks.count.HP_mapif_guild_withdraw_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, int *flag, const char *name, const char *mes); + int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, int flag, const char *name, const char *mes); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_withdraw_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_withdraw_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, &flag, name, mes); + retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, flag, name, mes); } } return retVal___; @@ -11345,10 +11345,10 @@ int HP_mapif_guild_memberinfoshort(struct guild *g, int idx) { retVal___ = HPMHooks.source.mapif.guild_memberinfoshort(g, idx); } if( HPMHooks.count.HP_mapif_guild_memberinfoshort_post ) { - int (*postHookFunc) (int retVal___, struct guild *g, int *idx); + int (*postHookFunc) (int retVal___, struct guild *g, int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_memberinfoshort_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_memberinfoshort_post[hIndex].func; - retVal___ = postHookFunc(retVal___, g, &idx); + retVal___ = postHookFunc(retVal___, g, idx); } } return retVal___; @@ -11372,10 +11372,10 @@ int HP_mapif_guild_broken(int guild_id, int flag) { retVal___ = HPMHooks.source.mapif.guild_broken(guild_id, flag); } if( HPMHooks.count.HP_mapif_guild_broken_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, int *flag); + int (*postHookFunc) (int retVal___, int guild_id, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_broken_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_broken_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &flag); + retVal___ = postHookFunc(retVal___, guild_id, flag); } } return retVal___; @@ -11399,10 +11399,10 @@ int HP_mapif_guild_message(int guild_id, int account_id, const char *mes, int le retVal___ = HPMHooks.source.mapif.guild_message(guild_id, account_id, mes, len, sfd); } if( HPMHooks.count.HP_mapif_guild_message_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, const char *mes, int *len, int *sfd); + int (*postHookFunc) (int retVal___, int guild_id, int account_id, const char *mes, int len, int sfd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_message_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_message_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &account_id, mes, &len, &sfd); + retVal___ = postHookFunc(retVal___, guild_id, account_id, mes, len, sfd); } } return retVal___; @@ -11426,10 +11426,10 @@ int HP_mapif_guild_basicinfochanged(int guild_id, int type, const void *data, in retVal___ = HPMHooks.source.mapif.guild_basicinfochanged(guild_id, type, data, len); } if( HPMHooks.count.HP_mapif_guild_basicinfochanged_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, int *type, const void *data, int *len); + int (*postHookFunc) (int retVal___, int guild_id, int type, const void *data, int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_basicinfochanged_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_basicinfochanged_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &type, data, &len); + retVal___ = postHookFunc(retVal___, guild_id, type, data, len); } } return retVal___; @@ -11453,10 +11453,10 @@ int HP_mapif_guild_memberinfochanged(int guild_id, int account_id, int char_id, retVal___ = HPMHooks.source.mapif.guild_memberinfochanged(guild_id, account_id, char_id, type, data, len); } if( HPMHooks.count.HP_mapif_guild_memberinfochanged_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, int *type, const void *data, int *len); + int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, int type, const void *data, int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_memberinfochanged_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_memberinfochanged_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, &type, data, &len); + retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, type, data, len); } } return retVal___; @@ -11480,10 +11480,10 @@ int HP_mapif_guild_skillupack(int guild_id, uint16 skill_id, int account_id) { retVal___ = HPMHooks.source.mapif.guild_skillupack(guild_id, skill_id, account_id); } if( HPMHooks.count.HP_mapif_guild_skillupack_post ) { - int (*postHookFunc) (int retVal___, int *guild_id, uint16 *skill_id, int *account_id); + int (*postHookFunc) (int retVal___, int guild_id, uint16 skill_id, int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_skillupack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_skillupack_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id, &skill_id, &account_id); + retVal___ = postHookFunc(retVal___, guild_id, skill_id, account_id); } } return retVal___; @@ -11507,10 +11507,10 @@ int HP_mapif_guild_alliance(int guild_id1, int guild_id2, int account_id1, int a retVal___ = HPMHooks.source.mapif.guild_alliance(guild_id1, guild_id2, account_id1, account_id2, flag, name1, name2); } if( HPMHooks.count.HP_mapif_guild_alliance_post ) { - int (*postHookFunc) (int retVal___, int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag, const char *name1, const char *name2); + int (*postHookFunc) (int retVal___, int guild_id1, int guild_id2, int account_id1, int account_id2, int flag, const char *name1, const char *name2); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_alliance_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_alliance_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &guild_id1, &guild_id2, &account_id1, &account_id2, &flag, name1, name2); + retVal___ = postHookFunc(retVal___, guild_id1, guild_id2, account_id1, account_id2, flag, name1, name2); } } return retVal___; @@ -11534,10 +11534,10 @@ int HP_mapif_guild_position(struct guild *g, int idx) { retVal___ = HPMHooks.source.mapif.guild_position(g, idx); } if( HPMHooks.count.HP_mapif_guild_position_post ) { - int (*postHookFunc) (int retVal___, struct guild *g, int *idx); + int (*postHookFunc) (int retVal___, struct guild *g, int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_position_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_position_post[hIndex].func; - retVal___ = postHookFunc(retVal___, g, &idx); + retVal___ = postHookFunc(retVal___, g, idx); } } return retVal___; @@ -11615,10 +11615,10 @@ int HP_mapif_guild_master_changed(struct guild *g, int aid, int cid) { retVal___ = HPMHooks.source.mapif.guild_master_changed(g, aid, cid); } if( HPMHooks.count.HP_mapif_guild_master_changed_post ) { - int (*postHookFunc) (int retVal___, struct guild *g, int *aid, int *cid); + int (*postHookFunc) (int retVal___, struct guild *g, int aid, int cid); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_master_changed_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_master_changed_post[hIndex].func; - retVal___ = postHookFunc(retVal___, g, &aid, &cid); + retVal___ = postHookFunc(retVal___, g, aid, cid); } } return retVal___; @@ -11642,10 +11642,10 @@ int HP_mapif_guild_castle_dataload(int fd, int sz, const int *castle_ids) { retVal___ = HPMHooks.source.mapif.guild_castle_dataload(fd, sz, castle_ids); } if( HPMHooks.count.HP_mapif_guild_castle_dataload_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *sz, const int *castle_ids); + int (*postHookFunc) (int retVal___, int fd, int sz, const int *castle_ids); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_guild_castle_dataload_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_guild_castle_dataload_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &sz, castle_ids); + retVal___ = postHookFunc(retVal___, fd, sz, castle_ids); } } return retVal___; @@ -11669,10 +11669,10 @@ int HP_mapif_parse_CreateGuild(int fd, int account_id, const char *name, const s retVal___ = HPMHooks.source.mapif.parse_CreateGuild(fd, account_id, name, master); } if( HPMHooks.count.HP_mapif_parse_CreateGuild_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, const char *name, const struct guild_member *master); + int (*postHookFunc) (int retVal___, int fd, int account_id, const char *name, const struct guild_member *master); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_CreateGuild_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_CreateGuild_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, name, master); + retVal___ = postHookFunc(retVal___, fd, account_id, name, master); } } return retVal___; @@ -11696,10 +11696,10 @@ int HP_mapif_parse_GuildInfo(int fd, int guild_id) { retVal___ = HPMHooks.source.mapif.parse_GuildInfo(fd, guild_id); } if( HPMHooks.count.HP_mapif_parse_GuildInfo_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id); + int (*postHookFunc) (int retVal___, int fd, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildInfo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildInfo_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id); + retVal___ = postHookFunc(retVal___, fd, guild_id); } } return retVal___; @@ -11723,10 +11723,10 @@ int HP_mapif_parse_GuildAddMember(int fd, int guild_id, const struct guild_membe retVal___ = HPMHooks.source.mapif.parse_GuildAddMember(fd, guild_id, m); } if( HPMHooks.count.HP_mapif_parse_GuildAddMember_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, const struct guild_member *m); + int (*postHookFunc) (int retVal___, int fd, int guild_id, const struct guild_member *m); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildAddMember_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildAddMember_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, m); + retVal___ = postHookFunc(retVal___, fd, guild_id, m); } } return retVal___; @@ -11750,10 +11750,10 @@ int HP_mapif_parse_GuildLeave(int fd, int guild_id, int account_id, int char_id, retVal___ = HPMHooks.source.mapif.parse_GuildLeave(fd, guild_id, account_id, char_id, flag, mes); } if( HPMHooks.count.HP_mapif_parse_GuildLeave_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, int *account_id, int *char_id, int *flag, const char *mes); + int (*postHookFunc) (int retVal___, int fd, int guild_id, int account_id, int char_id, int flag, const char *mes); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildLeave_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildLeave_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, &account_id, &char_id, &flag, mes); + retVal___ = postHookFunc(retVal___, fd, guild_id, account_id, char_id, flag, mes); } } return retVal___; @@ -11777,10 +11777,10 @@ int HP_mapif_parse_GuildChangeMemberInfoShort(int fd, int guild_id, int account_ retVal___ = HPMHooks.source.mapif.parse_GuildChangeMemberInfoShort(fd, guild_id, account_id, char_id, online, lv, class_); } if( HPMHooks.count.HP_mapif_parse_GuildChangeMemberInfoShort_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_); + int (*postHookFunc) (int retVal___, int fd, int guild_id, int account_id, int char_id, int online, int lv, int class_); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildChangeMemberInfoShort_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildChangeMemberInfoShort_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, &account_id, &char_id, &online, &lv, &class_); + retVal___ = postHookFunc(retVal___, fd, guild_id, account_id, char_id, online, lv, class_); } } return retVal___; @@ -11804,10 +11804,10 @@ int HP_mapif_parse_BreakGuild(int fd, int guild_id) { retVal___ = HPMHooks.source.mapif.parse_BreakGuild(fd, guild_id); } if( HPMHooks.count.HP_mapif_parse_BreakGuild_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id); + int (*postHookFunc) (int retVal___, int fd, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_BreakGuild_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_BreakGuild_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id); + retVal___ = postHookFunc(retVal___, fd, guild_id); } } return retVal___; @@ -11831,10 +11831,10 @@ int HP_mapif_parse_GuildMessage(int fd, int guild_id, int account_id, const char retVal___ = HPMHooks.source.mapif.parse_GuildMessage(fd, guild_id, account_id, mes, len); } if( HPMHooks.count.HP_mapif_parse_GuildMessage_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, int *account_id, const char *mes, int *len); + int (*postHookFunc) (int retVal___, int fd, int guild_id, int account_id, const char *mes, int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildMessage_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildMessage_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, &account_id, mes, &len); + retVal___ = postHookFunc(retVal___, fd, guild_id, account_id, mes, len); } } return retVal___; @@ -11858,10 +11858,10 @@ int HP_mapif_parse_GuildBasicInfoChange(int fd, int guild_id, int type, const vo retVal___ = HPMHooks.source.mapif.parse_GuildBasicInfoChange(fd, guild_id, type, data, len); } if( HPMHooks.count.HP_mapif_parse_GuildBasicInfoChange_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, int *type, const void *data, int *len); + int (*postHookFunc) (int retVal___, int fd, int guild_id, int type, const void *data, int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildBasicInfoChange_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildBasicInfoChange_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, &type, data, &len); + retVal___ = postHookFunc(retVal___, fd, guild_id, type, data, len); } } return retVal___; @@ -11885,10 +11885,10 @@ int HP_mapif_parse_GuildMemberInfoChange(int fd, int guild_id, int account_id, i retVal___ = HPMHooks.source.mapif.parse_GuildMemberInfoChange(fd, guild_id, account_id, char_id, type, data, len); } if( HPMHooks.count.HP_mapif_parse_GuildMemberInfoChange_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, int *account_id, int *char_id, int *type, const char *data, int *len); + int (*postHookFunc) (int retVal___, int fd, int guild_id, int account_id, int char_id, int type, const char *data, int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildMemberInfoChange_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildMemberInfoChange_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, &account_id, &char_id, &type, data, &len); + retVal___ = postHookFunc(retVal___, fd, guild_id, account_id, char_id, type, data, len); } } return retVal___; @@ -11912,10 +11912,10 @@ int HP_mapif_parse_GuildPosition(int fd, int guild_id, int idx, const struct gui retVal___ = HPMHooks.source.mapif.parse_GuildPosition(fd, guild_id, idx, p); } if( HPMHooks.count.HP_mapif_parse_GuildPosition_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, int *idx, const struct guild_position *p); + int (*postHookFunc) (int retVal___, int fd, int guild_id, int idx, const struct guild_position *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildPosition_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildPosition_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, &idx, p); + retVal___ = postHookFunc(retVal___, fd, guild_id, idx, p); } } return retVal___; @@ -11939,10 +11939,10 @@ int HP_mapif_parse_GuildSkillUp(int fd, int guild_id, uint16 skill_id, int accou retVal___ = HPMHooks.source.mapif.parse_GuildSkillUp(fd, guild_id, skill_id, account_id, max); } if( HPMHooks.count.HP_mapif_parse_GuildSkillUp_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, uint16 *skill_id, int *account_id, int *max); + int (*postHookFunc) (int retVal___, int fd, int guild_id, uint16 skill_id, int account_id, int max); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildSkillUp_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildSkillUp_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, &skill_id, &account_id, &max); + retVal___ = postHookFunc(retVal___, fd, guild_id, skill_id, account_id, max); } } return retVal___; @@ -11966,10 +11966,10 @@ int HP_mapif_parse_GuildDeleteAlliance(struct guild *g, int guild_id, int accoun retVal___ = HPMHooks.source.mapif.parse_GuildDeleteAlliance(g, guild_id, account_id1, account_id2, flag); } if( HPMHooks.count.HP_mapif_parse_GuildDeleteAlliance_post ) { - int (*postHookFunc) (int retVal___, struct guild *g, int *guild_id, int *account_id1, int *account_id2, int *flag); + int (*postHookFunc) (int retVal___, struct guild *g, int guild_id, int account_id1, int account_id2, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildDeleteAlliance_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildDeleteAlliance_post[hIndex].func; - retVal___ = postHookFunc(retVal___, g, &guild_id, &account_id1, &account_id2, &flag); + retVal___ = postHookFunc(retVal___, g, guild_id, account_id1, account_id2, flag); } } return retVal___; @@ -11993,10 +11993,10 @@ int HP_mapif_parse_GuildAlliance(int fd, int guild_id1, int guild_id2, int accou retVal___ = HPMHooks.source.mapif.parse_GuildAlliance(fd, guild_id1, guild_id2, account_id1, account_id2, flag); } if( HPMHooks.count.HP_mapif_parse_GuildAlliance_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag); + int (*postHookFunc) (int retVal___, int fd, int guild_id1, int guild_id2, int account_id1, int account_id2, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildAlliance_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildAlliance_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id1, &guild_id2, &account_id1, &account_id2, &flag); + retVal___ = postHookFunc(retVal___, fd, guild_id1, guild_id2, account_id1, account_id2, flag); } } return retVal___; @@ -12020,10 +12020,10 @@ int HP_mapif_parse_GuildNotice(int fd, int guild_id, const char *mes1, const cha retVal___ = HPMHooks.source.mapif.parse_GuildNotice(fd, guild_id, mes1, mes2); } if( HPMHooks.count.HP_mapif_parse_GuildNotice_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, const char *mes1, const char *mes2); + int (*postHookFunc) (int retVal___, int fd, int guild_id, const char *mes1, const char *mes2); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildNotice_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildNotice_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, mes1, mes2); + retVal___ = postHookFunc(retVal___, fd, guild_id, mes1, mes2); } } return retVal___; @@ -12047,10 +12047,10 @@ int HP_mapif_parse_GuildEmblem(int fd, int len, int guild_id, int dummy, const c retVal___ = HPMHooks.source.mapif.parse_GuildEmblem(fd, len, guild_id, dummy, data); } if( HPMHooks.count.HP_mapif_parse_GuildEmblem_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *len, int *guild_id, int *dummy, const char *data); + int (*postHookFunc) (int retVal___, int fd, int len, int guild_id, int dummy, const char *data); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildEmblem_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildEmblem_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &len, &guild_id, &dummy, data); + retVal___ = postHookFunc(retVal___, fd, len, guild_id, dummy, data); } } return retVal___; @@ -12074,10 +12074,10 @@ int HP_mapif_parse_GuildCastleDataLoad(int fd, int len, const int *castle_ids) { retVal___ = HPMHooks.source.mapif.parse_GuildCastleDataLoad(fd, len, castle_ids); } if( HPMHooks.count.HP_mapif_parse_GuildCastleDataLoad_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *len, const int *castle_ids); + int (*postHookFunc) (int retVal___, int fd, int len, const int *castle_ids); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildCastleDataLoad_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildCastleDataLoad_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &len, castle_ids); + retVal___ = postHookFunc(retVal___, fd, len, castle_ids); } } return retVal___; @@ -12101,10 +12101,10 @@ int HP_mapif_parse_GuildCastleDataSave(int fd, int castle_id, int index, int val retVal___ = HPMHooks.source.mapif.parse_GuildCastleDataSave(fd, castle_id, index, value); } if( HPMHooks.count.HP_mapif_parse_GuildCastleDataSave_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *castle_id, int *index, int *value); + int (*postHookFunc) (int retVal___, int fd, int castle_id, int index, int value); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildCastleDataSave_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildCastleDataSave_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &castle_id, &index, &value); + retVal___ = postHookFunc(retVal___, fd, castle_id, index, value); } } return retVal___; @@ -12128,10 +12128,10 @@ int HP_mapif_parse_GuildMasterChange(int fd, int guild_id, const char *name, int retVal___ = HPMHooks.source.mapif.parse_GuildMasterChange(fd, guild_id, name, len); } if( HPMHooks.count.HP_mapif_parse_GuildMasterChange_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *guild_id, const char *name, int *len); + int (*postHookFunc) (int retVal___, int fd, int guild_id, const char *name, int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildMasterChange_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_GuildMasterChange_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &guild_id, name, &len); + retVal___ = postHookFunc(retVal___, fd, guild_id, name, len); } } return retVal___; @@ -12154,10 +12154,10 @@ void HP_mapif_homunculus_created(int fd, int account_id, const struct s_homuncul HPMHooks.source.mapif.homunculus_created(fd, account_id, sh, flag); } if( HPMHooks.count.HP_mapif_homunculus_created_post ) { - void (*postHookFunc) (int *fd, int *account_id, const struct s_homunculus *sh, unsigned char *flag); + void (*postHookFunc) (int fd, int account_id, const struct s_homunculus *sh, unsigned char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_homunculus_created_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_homunculus_created_post[hIndex].func; - postHookFunc(&fd, &account_id, sh, &flag); + postHookFunc(fd, account_id, sh, flag); } } return; @@ -12180,10 +12180,10 @@ void HP_mapif_homunculus_deleted(int fd, int flag) { HPMHooks.source.mapif.homunculus_deleted(fd, flag); } if( HPMHooks.count.HP_mapif_homunculus_deleted_post ) { - void (*postHookFunc) (int *fd, int *flag); + void (*postHookFunc) (int fd, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_homunculus_deleted_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_homunculus_deleted_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -12206,10 +12206,10 @@ void HP_mapif_homunculus_loaded(int fd, int account_id, struct s_homunculus *hd) HPMHooks.source.mapif.homunculus_loaded(fd, account_id, hd); } if( HPMHooks.count.HP_mapif_homunculus_loaded_post ) { - void (*postHookFunc) (int *fd, int *account_id, struct s_homunculus *hd); + void (*postHookFunc) (int fd, int account_id, struct s_homunculus *hd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_homunculus_loaded_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_homunculus_loaded_post[hIndex].func; - postHookFunc(&fd, &account_id, hd); + postHookFunc(fd, account_id, hd); } } return; @@ -12232,10 +12232,10 @@ void HP_mapif_homunculus_saved(int fd, int account_id, bool flag) { HPMHooks.source.mapif.homunculus_saved(fd, account_id, flag); } if( HPMHooks.count.HP_mapif_homunculus_saved_post ) { - void (*postHookFunc) (int *fd, int *account_id, bool *flag); + void (*postHookFunc) (int fd, int account_id, bool flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_homunculus_saved_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_homunculus_saved_post[hIndex].func; - postHookFunc(&fd, &account_id, &flag); + postHookFunc(fd, account_id, flag); } } return; @@ -12258,10 +12258,10 @@ void HP_mapif_homunculus_renamed(int fd, int account_id, int char_id, unsigned c HPMHooks.source.mapif.homunculus_renamed(fd, account_id, char_id, flag, name); } if( HPMHooks.count.HP_mapif_homunculus_renamed_post ) { - void (*postHookFunc) (int *fd, int *account_id, int *char_id, unsigned char *flag, const char *name); + void (*postHookFunc) (int fd, int account_id, int char_id, unsigned char flag, const char *name); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_homunculus_renamed_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_homunculus_renamed_post[hIndex].func; - postHookFunc(&fd, &account_id, &char_id, &flag, name); + postHookFunc(fd, account_id, char_id, flag, name); } } return; @@ -12339,10 +12339,10 @@ bool HP_mapif_homunculus_load(int homun_id, struct s_homunculus *hd) { retVal___ = HPMHooks.source.mapif.homunculus_load(homun_id, hd); } if( HPMHooks.count.HP_mapif_homunculus_load_post ) { - bool (*postHookFunc) (bool retVal___, int *homun_id, struct s_homunculus *hd); + bool (*postHookFunc) (bool retVal___, int homun_id, struct s_homunculus *hd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_homunculus_load_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_homunculus_load_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &homun_id, hd); + retVal___ = postHookFunc(retVal___, homun_id, hd); } } return retVal___; @@ -12366,10 +12366,10 @@ bool HP_mapif_homunculus_delete(int homun_id) { retVal___ = HPMHooks.source.mapif.homunculus_delete(homun_id); } if( HPMHooks.count.HP_mapif_homunculus_delete_post ) { - bool (*postHookFunc) (bool retVal___, int *homun_id); + bool (*postHookFunc) (bool retVal___, int homun_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_homunculus_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_homunculus_delete_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &homun_id); + retVal___ = postHookFunc(retVal___, homun_id); } } return retVal___; @@ -12419,10 +12419,10 @@ void HP_mapif_parse_homunculus_create(int fd, int len, int account_id, const str HPMHooks.source.mapif.parse_homunculus_create(fd, len, account_id, phd); } if( HPMHooks.count.HP_mapif_parse_homunculus_create_post ) { - void (*postHookFunc) (int *fd, int *len, int *account_id, const struct s_homunculus *phd); + void (*postHookFunc) (int fd, int len, int account_id, const struct s_homunculus *phd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_homunculus_create_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_homunculus_create_post[hIndex].func; - postHookFunc(&fd, &len, &account_id, phd); + postHookFunc(fd, len, account_id, phd); } } return; @@ -12445,10 +12445,10 @@ void HP_mapif_parse_homunculus_delete(int fd, int homun_id) { HPMHooks.source.mapif.parse_homunculus_delete(fd, homun_id); } if( HPMHooks.count.HP_mapif_parse_homunculus_delete_post ) { - void (*postHookFunc) (int *fd, int *homun_id); + void (*postHookFunc) (int fd, int homun_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_homunculus_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_homunculus_delete_post[hIndex].func; - postHookFunc(&fd, &homun_id); + postHookFunc(fd, homun_id); } } return; @@ -12471,10 +12471,10 @@ void HP_mapif_parse_homunculus_load(int fd, int account_id, int homun_id) { HPMHooks.source.mapif.parse_homunculus_load(fd, account_id, homun_id); } if( HPMHooks.count.HP_mapif_parse_homunculus_load_post ) { - void (*postHookFunc) (int *fd, int *account_id, int *homun_id); + void (*postHookFunc) (int fd, int account_id, int homun_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_homunculus_load_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_homunculus_load_post[hIndex].func; - postHookFunc(&fd, &account_id, &homun_id); + postHookFunc(fd, account_id, homun_id); } } return; @@ -12497,10 +12497,10 @@ void HP_mapif_parse_homunculus_save(int fd, int len, int account_id, const struc HPMHooks.source.mapif.parse_homunculus_save(fd, len, account_id, phd); } if( HPMHooks.count.HP_mapif_parse_homunculus_save_post ) { - void (*postHookFunc) (int *fd, int *len, int *account_id, const struct s_homunculus *phd); + void (*postHookFunc) (int fd, int len, int account_id, const struct s_homunculus *phd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_homunculus_save_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_homunculus_save_post[hIndex].func; - postHookFunc(&fd, &len, &account_id, phd); + postHookFunc(fd, len, account_id, phd); } } return; @@ -12523,10 +12523,10 @@ void HP_mapif_parse_homunculus_rename(int fd, int account_id, int char_id, const HPMHooks.source.mapif.parse_homunculus_rename(fd, account_id, char_id, name); } if( HPMHooks.count.HP_mapif_parse_homunculus_rename_post ) { - void (*postHookFunc) (int *fd, int *account_id, int *char_id, const char *name); + void (*postHookFunc) (int fd, int account_id, int char_id, const char *name); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_homunculus_rename_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_homunculus_rename_post[hIndex].func; - postHookFunc(&fd, &account_id, &char_id, name); + postHookFunc(fd, account_id, char_id, name); } } return; @@ -12549,10 +12549,10 @@ void HP_mapif_mail_sendinbox(int fd, int char_id, unsigned char flag, struct mai HPMHooks.source.mapif.mail_sendinbox(fd, char_id, flag, md); } if( HPMHooks.count.HP_mapif_mail_sendinbox_post ) { - void (*postHookFunc) (int *fd, int *char_id, unsigned char *flag, struct mail_data *md); + void (*postHookFunc) (int fd, int char_id, unsigned char flag, struct mail_data *md); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mail_sendinbox_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mail_sendinbox_post[hIndex].func; - postHookFunc(&fd, &char_id, &flag, md); + postHookFunc(fd, char_id, flag, md); } } return; @@ -12575,10 +12575,10 @@ void HP_mapif_parse_mail_requestinbox(int fd) { HPMHooks.source.mapif.parse_mail_requestinbox(fd); } if( HPMHooks.count.HP_mapif_parse_mail_requestinbox_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mail_requestinbox_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mail_requestinbox_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -12601,10 +12601,10 @@ void HP_mapif_parse_mail_read(int fd) { HPMHooks.source.mapif.parse_mail_read(fd); } if( HPMHooks.count.HP_mapif_parse_mail_read_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mail_read_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mail_read_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -12627,10 +12627,10 @@ void HP_mapif_mail_sendattach(int fd, int char_id, struct mail_message *msg) { HPMHooks.source.mapif.mail_sendattach(fd, char_id, msg); } if( HPMHooks.count.HP_mapif_mail_sendattach_post ) { - void (*postHookFunc) (int *fd, int *char_id, struct mail_message *msg); + void (*postHookFunc) (int fd, int char_id, struct mail_message *msg); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mail_sendattach_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mail_sendattach_post[hIndex].func; - postHookFunc(&fd, &char_id, msg); + postHookFunc(fd, char_id, msg); } } return; @@ -12653,10 +12653,10 @@ void HP_mapif_mail_getattach(int fd, int char_id, int mail_id) { HPMHooks.source.mapif.mail_getattach(fd, char_id, mail_id); } if( HPMHooks.count.HP_mapif_mail_getattach_post ) { - void (*postHookFunc) (int *fd, int *char_id, int *mail_id); + void (*postHookFunc) (int fd, int char_id, int mail_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mail_getattach_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mail_getattach_post[hIndex].func; - postHookFunc(&fd, &char_id, &mail_id); + postHookFunc(fd, char_id, mail_id); } } return; @@ -12679,10 +12679,10 @@ void HP_mapif_parse_mail_getattach(int fd) { HPMHooks.source.mapif.parse_mail_getattach(fd); } if( HPMHooks.count.HP_mapif_parse_mail_getattach_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mail_getattach_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mail_getattach_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -12705,10 +12705,10 @@ void HP_mapif_mail_delete(int fd, int char_id, int mail_id, bool failed) { HPMHooks.source.mapif.mail_delete(fd, char_id, mail_id, failed); } if( HPMHooks.count.HP_mapif_mail_delete_post ) { - void (*postHookFunc) (int *fd, int *char_id, int *mail_id, bool *failed); + void (*postHookFunc) (int fd, int char_id, int mail_id, bool failed); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mail_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mail_delete_post[hIndex].func; - postHookFunc(&fd, &char_id, &mail_id, &failed); + postHookFunc(fd, char_id, mail_id, failed); } } return; @@ -12731,10 +12731,10 @@ void HP_mapif_parse_mail_delete(int fd) { HPMHooks.source.mapif.parse_mail_delete(fd); } if( HPMHooks.count.HP_mapif_parse_mail_delete_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mail_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mail_delete_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -12783,10 +12783,10 @@ void HP_mapif_mail_return(int fd, int char_id, int mail_id, int new_mail) { HPMHooks.source.mapif.mail_return(fd, char_id, mail_id, new_mail); } if( HPMHooks.count.HP_mapif_mail_return_post ) { - void (*postHookFunc) (int *fd, int *char_id, int *mail_id, int *new_mail); + void (*postHookFunc) (int fd, int char_id, int mail_id, int new_mail); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mail_return_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mail_return_post[hIndex].func; - postHookFunc(&fd, &char_id, &mail_id, &new_mail); + postHookFunc(fd, char_id, mail_id, new_mail); } } return; @@ -12809,10 +12809,10 @@ void HP_mapif_parse_mail_return(int fd) { HPMHooks.source.mapif.parse_mail_return(fd); } if( HPMHooks.count.HP_mapif_parse_mail_return_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mail_return_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mail_return_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -12835,10 +12835,10 @@ void HP_mapif_mail_send(int fd, struct mail_message *msg) { HPMHooks.source.mapif.mail_send(fd, msg); } if( HPMHooks.count.HP_mapif_mail_send_post ) { - void (*postHookFunc) (int *fd, struct mail_message *msg); + void (*postHookFunc) (int fd, struct mail_message *msg); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mail_send_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mail_send_post[hIndex].func; - postHookFunc(&fd, msg); + postHookFunc(fd, msg); } } return; @@ -12861,10 +12861,10 @@ void HP_mapif_parse_mail_send(int fd) { HPMHooks.source.mapif.parse_mail_send(fd); } if( HPMHooks.count.HP_mapif_parse_mail_send_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mail_send_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mail_send_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -12942,10 +12942,10 @@ bool HP_mapif_mercenary_load(int merc_id, int char_id, struct s_mercenary *merc) retVal___ = HPMHooks.source.mapif.mercenary_load(merc_id, char_id, merc); } if( HPMHooks.count.HP_mapif_mercenary_load_post ) { - bool (*postHookFunc) (bool retVal___, int *merc_id, int *char_id, struct s_mercenary *merc); + bool (*postHookFunc) (bool retVal___, int merc_id, int char_id, struct s_mercenary *merc); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mercenary_load_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mercenary_load_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &merc_id, &char_id, merc); + retVal___ = postHookFunc(retVal___, merc_id, char_id, merc); } } return retVal___; @@ -12969,10 +12969,10 @@ bool HP_mapif_mercenary_delete(int merc_id) { retVal___ = HPMHooks.source.mapif.mercenary_delete(merc_id); } if( HPMHooks.count.HP_mapif_mercenary_delete_post ) { - bool (*postHookFunc) (bool retVal___, int *merc_id); + bool (*postHookFunc) (bool retVal___, int merc_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mercenary_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mercenary_delete_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &merc_id); + retVal___ = postHookFunc(retVal___, merc_id); } } return retVal___; @@ -12995,10 +12995,10 @@ void HP_mapif_mercenary_send(int fd, struct s_mercenary *merc, unsigned char fla HPMHooks.source.mapif.mercenary_send(fd, merc, flag); } if( HPMHooks.count.HP_mapif_mercenary_send_post ) { - void (*postHookFunc) (int *fd, struct s_mercenary *merc, unsigned char *flag); + void (*postHookFunc) (int fd, struct s_mercenary *merc, unsigned char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mercenary_send_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mercenary_send_post[hIndex].func; - postHookFunc(&fd, merc, &flag); + postHookFunc(fd, merc, flag); } } return; @@ -13021,10 +13021,10 @@ void HP_mapif_parse_mercenary_create(int fd, const struct s_mercenary *merc) { HPMHooks.source.mapif.parse_mercenary_create(fd, merc); } if( HPMHooks.count.HP_mapif_parse_mercenary_create_post ) { - void (*postHookFunc) (int *fd, const struct s_mercenary *merc); + void (*postHookFunc) (int fd, const struct s_mercenary *merc); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mercenary_create_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mercenary_create_post[hIndex].func; - postHookFunc(&fd, merc); + postHookFunc(fd, merc); } } return; @@ -13047,10 +13047,10 @@ void HP_mapif_parse_mercenary_load(int fd, int merc_id, int char_id) { HPMHooks.source.mapif.parse_mercenary_load(fd, merc_id, char_id); } if( HPMHooks.count.HP_mapif_parse_mercenary_load_post ) { - void (*postHookFunc) (int *fd, int *merc_id, int *char_id); + void (*postHookFunc) (int fd, int merc_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mercenary_load_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mercenary_load_post[hIndex].func; - postHookFunc(&fd, &merc_id, &char_id); + postHookFunc(fd, merc_id, char_id); } } return; @@ -13073,10 +13073,10 @@ void HP_mapif_mercenary_deleted(int fd, unsigned char flag) { HPMHooks.source.mapif.mercenary_deleted(fd, flag); } if( HPMHooks.count.HP_mapif_mercenary_deleted_post ) { - void (*postHookFunc) (int *fd, unsigned char *flag); + void (*postHookFunc) (int fd, unsigned char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mercenary_deleted_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mercenary_deleted_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -13099,10 +13099,10 @@ void HP_mapif_parse_mercenary_delete(int fd, int merc_id) { HPMHooks.source.mapif.parse_mercenary_delete(fd, merc_id); } if( HPMHooks.count.HP_mapif_parse_mercenary_delete_post ) { - void (*postHookFunc) (int *fd, int *merc_id); + void (*postHookFunc) (int fd, int merc_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mercenary_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mercenary_delete_post[hIndex].func; - postHookFunc(&fd, &merc_id); + postHookFunc(fd, merc_id); } } return; @@ -13125,10 +13125,10 @@ void HP_mapif_mercenary_saved(int fd, unsigned char flag) { HPMHooks.source.mapif.mercenary_saved(fd, flag); } if( HPMHooks.count.HP_mapif_mercenary_saved_post ) { - void (*postHookFunc) (int *fd, unsigned char *flag); + void (*postHookFunc) (int fd, unsigned char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_mercenary_saved_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_mercenary_saved_post[hIndex].func; - postHookFunc(&fd, &flag); + postHookFunc(fd, flag); } } return; @@ -13151,10 +13151,10 @@ void HP_mapif_parse_mercenary_save(int fd, const struct s_mercenary *merc) { HPMHooks.source.mapif.parse_mercenary_save(fd, merc); } if( HPMHooks.count.HP_mapif_parse_mercenary_save_post ) { - void (*postHookFunc) (int *fd, const struct s_mercenary *merc); + void (*postHookFunc) (int fd, const struct s_mercenary *merc); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_mercenary_save_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_mercenary_save_post[hIndex].func; - postHookFunc(&fd, merc); + postHookFunc(fd, merc); } } return; @@ -13178,10 +13178,10 @@ int HP_mapif_party_created(int fd, int account_id, int char_id, struct party *p) retVal___ = HPMHooks.source.mapif.party_created(fd, account_id, char_id, p); } if( HPMHooks.count.HP_mapif_party_created_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, int *char_id, struct party *p); + int (*postHookFunc) (int retVal___, int fd, int account_id, int char_id, struct party *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_created_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_created_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, &char_id, p); + retVal___ = postHookFunc(retVal___, fd, account_id, char_id, p); } } return retVal___; @@ -13204,10 +13204,10 @@ void HP_mapif_party_noinfo(int fd, int party_id, int char_id) { HPMHooks.source.mapif.party_noinfo(fd, party_id, char_id); } if( HPMHooks.count.HP_mapif_party_noinfo_post ) { - void (*postHookFunc) (int *fd, int *party_id, int *char_id); + void (*postHookFunc) (int fd, int party_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_noinfo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_noinfo_post[hIndex].func; - postHookFunc(&fd, &party_id, &char_id); + postHookFunc(fd, party_id, char_id); } } return; @@ -13230,10 +13230,10 @@ void HP_mapif_party_info(int fd, struct party *p, int char_id) { HPMHooks.source.mapif.party_info(fd, p, char_id); } if( HPMHooks.count.HP_mapif_party_info_post ) { - void (*postHookFunc) (int *fd, struct party *p, int *char_id); + void (*postHookFunc) (int fd, struct party *p, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_info_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_info_post[hIndex].func; - postHookFunc(&fd, p, &char_id); + postHookFunc(fd, p, char_id); } } return; @@ -13257,10 +13257,10 @@ int HP_mapif_party_memberadded(int fd, int party_id, int account_id, int char_id retVal___ = HPMHooks.source.mapif.party_memberadded(fd, party_id, account_id, char_id, flag); } if( HPMHooks.count.HP_mapif_party_memberadded_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *party_id, int *account_id, int *char_id, int *flag); + int (*postHookFunc) (int retVal___, int fd, int party_id, int account_id, int char_id, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_memberadded_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_memberadded_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &party_id, &account_id, &char_id, &flag); + retVal___ = postHookFunc(retVal___, fd, party_id, account_id, char_id, flag); } } return retVal___; @@ -13284,10 +13284,10 @@ int HP_mapif_party_optionchanged(int fd, struct party *p, int account_id, int fl retVal___ = HPMHooks.source.mapif.party_optionchanged(fd, p, account_id, flag); } if( HPMHooks.count.HP_mapif_party_optionchanged_post ) { - int (*postHookFunc) (int retVal___, int *fd, struct party *p, int *account_id, int *flag); + int (*postHookFunc) (int retVal___, int fd, struct party *p, int account_id, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_optionchanged_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_optionchanged_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, p, &account_id, &flag); + retVal___ = postHookFunc(retVal___, fd, p, account_id, flag); } } return retVal___; @@ -13311,10 +13311,10 @@ int HP_mapif_party_withdraw(int party_id, int account_id, int char_id) { retVal___ = HPMHooks.source.mapif.party_withdraw(party_id, account_id, char_id); } if( HPMHooks.count.HP_mapif_party_withdraw_post ) { - int (*postHookFunc) (int retVal___, int *party_id, int *account_id, int *char_id); + int (*postHookFunc) (int retVal___, int party_id, int account_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_withdraw_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_withdraw_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &party_id, &account_id, &char_id); + retVal___ = postHookFunc(retVal___, party_id, account_id, char_id); } } return retVal___; @@ -13338,10 +13338,10 @@ int HP_mapif_party_membermoved(struct party *p, int idx) { retVal___ = HPMHooks.source.mapif.party_membermoved(p, idx); } if( HPMHooks.count.HP_mapif_party_membermoved_post ) { - int (*postHookFunc) (int retVal___, struct party *p, int *idx); + int (*postHookFunc) (int retVal___, struct party *p, int idx); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_membermoved_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_membermoved_post[hIndex].func; - retVal___ = postHookFunc(retVal___, p, &idx); + retVal___ = postHookFunc(retVal___, p, idx); } } return retVal___; @@ -13365,10 +13365,10 @@ int HP_mapif_party_broken(int party_id, int flag) { retVal___ = HPMHooks.source.mapif.party_broken(party_id, flag); } if( HPMHooks.count.HP_mapif_party_broken_post ) { - int (*postHookFunc) (int retVal___, int *party_id, int *flag); + int (*postHookFunc) (int retVal___, int party_id, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_broken_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_broken_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &party_id, &flag); + retVal___ = postHookFunc(retVal___, party_id, flag); } } return retVal___; @@ -13392,10 +13392,10 @@ int HP_mapif_party_message(int party_id, int account_id, const char *mes, int le retVal___ = HPMHooks.source.mapif.party_message(party_id, account_id, mes, len, sfd); } if( HPMHooks.count.HP_mapif_party_message_post ) { - int (*postHookFunc) (int retVal___, int *party_id, int *account_id, const char *mes, int *len, int *sfd); + int (*postHookFunc) (int retVal___, int party_id, int account_id, const char *mes, int len, int sfd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_party_message_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_party_message_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &party_id, &account_id, mes, &len, &sfd); + retVal___ = postHookFunc(retVal___, party_id, account_id, mes, len, sfd); } } return retVal___; @@ -13419,10 +13419,10 @@ int HP_mapif_parse_CreateParty(int fd, const char *name, int item, int item2, co retVal___ = HPMHooks.source.mapif.parse_CreateParty(fd, name, item, item2, leader); } if( HPMHooks.count.HP_mapif_parse_CreateParty_post ) { - int (*postHookFunc) (int retVal___, int *fd, const char *name, int *item, int *item2, const struct party_member *leader); + int (*postHookFunc) (int retVal___, int fd, const char *name, int item, int item2, const struct party_member *leader); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_CreateParty_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_CreateParty_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, name, &item, &item2, leader); + retVal___ = postHookFunc(retVal___, fd, name, item, item2, leader); } } return retVal___; @@ -13445,10 +13445,10 @@ void HP_mapif_parse_PartyInfo(int fd, int party_id, int char_id) { HPMHooks.source.mapif.parse_PartyInfo(fd, party_id, char_id); } if( HPMHooks.count.HP_mapif_parse_PartyInfo_post ) { - void (*postHookFunc) (int *fd, int *party_id, int *char_id); + void (*postHookFunc) (int fd, int party_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_PartyInfo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_PartyInfo_post[hIndex].func; - postHookFunc(&fd, &party_id, &char_id); + postHookFunc(fd, party_id, char_id); } } return; @@ -13472,10 +13472,10 @@ int HP_mapif_parse_PartyAddMember(int fd, int party_id, const struct party_membe retVal___ = HPMHooks.source.mapif.parse_PartyAddMember(fd, party_id, member); } if( HPMHooks.count.HP_mapif_parse_PartyAddMember_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *party_id, const struct party_member *member); + int (*postHookFunc) (int retVal___, int fd, int party_id, const struct party_member *member); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_PartyAddMember_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_PartyAddMember_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &party_id, member); + retVal___ = postHookFunc(retVal___, fd, party_id, member); } } return retVal___; @@ -13499,10 +13499,10 @@ int HP_mapif_parse_PartyChangeOption(int fd, int party_id, int account_id, int e retVal___ = HPMHooks.source.mapif.parse_PartyChangeOption(fd, party_id, account_id, exp, item); } if( HPMHooks.count.HP_mapif_parse_PartyChangeOption_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *party_id, int *account_id, int *exp, int *item); + int (*postHookFunc) (int retVal___, int fd, int party_id, int account_id, int exp, int item); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_PartyChangeOption_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_PartyChangeOption_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &party_id, &account_id, &exp, &item); + retVal___ = postHookFunc(retVal___, fd, party_id, account_id, exp, item); } } return retVal___; @@ -13526,10 +13526,10 @@ int HP_mapif_parse_PartyLeave(int fd, int party_id, int account_id, int char_id) retVal___ = HPMHooks.source.mapif.parse_PartyLeave(fd, party_id, account_id, char_id); } if( HPMHooks.count.HP_mapif_parse_PartyLeave_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *party_id, int *account_id, int *char_id); + int (*postHookFunc) (int retVal___, int fd, int party_id, int account_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_PartyLeave_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_PartyLeave_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &party_id, &account_id, &char_id); + retVal___ = postHookFunc(retVal___, fd, party_id, account_id, char_id); } } return retVal___; @@ -13553,10 +13553,10 @@ int HP_mapif_parse_PartyChangeMap(int fd, int party_id, int account_id, int char retVal___ = HPMHooks.source.mapif.parse_PartyChangeMap(fd, party_id, account_id, char_id, map, online, lv); } if( HPMHooks.count.HP_mapif_parse_PartyChangeMap_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *party_id, int *account_id, int *char_id, unsigned short *map, int *online, unsigned int *lv); + int (*postHookFunc) (int retVal___, int fd, int party_id, int account_id, int char_id, unsigned short map, int online, unsigned int lv); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_PartyChangeMap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_PartyChangeMap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &party_id, &account_id, &char_id, &map, &online, &lv); + retVal___ = postHookFunc(retVal___, fd, party_id, account_id, char_id, map, online, lv); } } return retVal___; @@ -13580,10 +13580,10 @@ int HP_mapif_parse_BreakParty(int fd, int party_id) { retVal___ = HPMHooks.source.mapif.parse_BreakParty(fd, party_id); } if( HPMHooks.count.HP_mapif_parse_BreakParty_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *party_id); + int (*postHookFunc) (int retVal___, int fd, int party_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_BreakParty_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_BreakParty_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &party_id); + retVal___ = postHookFunc(retVal___, fd, party_id); } } return retVal___; @@ -13607,10 +13607,10 @@ int HP_mapif_parse_PartyMessage(int fd, int party_id, int account_id, const char retVal___ = HPMHooks.source.mapif.parse_PartyMessage(fd, party_id, account_id, mes, len); } if( HPMHooks.count.HP_mapif_parse_PartyMessage_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *party_id, int *account_id, const char *mes, int *len); + int (*postHookFunc) (int retVal___, int fd, int party_id, int account_id, const char *mes, int len); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_PartyMessage_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_PartyMessage_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &party_id, &account_id, mes, &len); + retVal___ = postHookFunc(retVal___, fd, party_id, account_id, mes, len); } } return retVal___; @@ -13634,10 +13634,10 @@ int HP_mapif_parse_PartyLeaderChange(int fd, int party_id, int account_id, int c retVal___ = HPMHooks.source.mapif.parse_PartyLeaderChange(fd, party_id, account_id, char_id); } if( HPMHooks.count.HP_mapif_parse_PartyLeaderChange_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *party_id, int *account_id, int *char_id); + int (*postHookFunc) (int retVal___, int fd, int party_id, int account_id, int char_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_PartyLeaderChange_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_PartyLeaderChange_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &party_id, &account_id, &char_id); + retVal___ = postHookFunc(retVal___, fd, party_id, account_id, char_id); } } return retVal___; @@ -13661,10 +13661,10 @@ int HP_mapif_pet_created(int fd, int account_id, struct s_pet *p) { retVal___ = HPMHooks.source.mapif.pet_created(fd, account_id, p); } if( HPMHooks.count.HP_mapif_pet_created_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, struct s_pet *p); + int (*postHookFunc) (int retVal___, int fd, int account_id, struct s_pet *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_pet_created_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_pet_created_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, p); + retVal___ = postHookFunc(retVal___, fd, account_id, p); } } return retVal___; @@ -13688,10 +13688,10 @@ int HP_mapif_pet_info(int fd, int account_id, struct s_pet *p) { retVal___ = HPMHooks.source.mapif.pet_info(fd, account_id, p); } if( HPMHooks.count.HP_mapif_pet_info_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, struct s_pet *p); + int (*postHookFunc) (int retVal___, int fd, int account_id, struct s_pet *p); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_pet_info_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_pet_info_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, p); + retVal___ = postHookFunc(retVal___, fd, account_id, p); } } return retVal___; @@ -13715,10 +13715,10 @@ int HP_mapif_pet_noinfo(int fd, int account_id) { retVal___ = HPMHooks.source.mapif.pet_noinfo(fd, account_id); } if( HPMHooks.count.HP_mapif_pet_noinfo_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id); + int (*postHookFunc) (int retVal___, int fd, int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_pet_noinfo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_pet_noinfo_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id); + retVal___ = postHookFunc(retVal___, fd, account_id); } } return retVal___; @@ -13742,10 +13742,10 @@ int HP_mapif_save_pet_ack(int fd, int account_id, int flag) { retVal___ = HPMHooks.source.mapif.save_pet_ack(fd, account_id, flag); } if( HPMHooks.count.HP_mapif_save_pet_ack_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, int *flag); + int (*postHookFunc) (int retVal___, int fd, int account_id, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_save_pet_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_save_pet_ack_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, &flag); + retVal___ = postHookFunc(retVal___, fd, account_id, flag); } } return retVal___; @@ -13769,10 +13769,10 @@ int HP_mapif_delete_pet_ack(int fd, int flag) { retVal___ = HPMHooks.source.mapif.delete_pet_ack(fd, flag); } if( HPMHooks.count.HP_mapif_delete_pet_ack_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *flag); + int (*postHookFunc) (int retVal___, int fd, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_delete_pet_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_delete_pet_ack_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &flag); + retVal___ = postHookFunc(retVal___, fd, flag); } } return retVal___; @@ -13796,10 +13796,10 @@ int HP_mapif_create_pet(int fd, int account_id, int char_id, short pet_class, sh retVal___ = HPMHooks.source.mapif.create_pet(fd, account_id, char_id, pet_class, pet_lv, pet_egg_id, pet_equip, intimate, hungry, rename_flag, incubate, pet_name); } if( HPMHooks.count.HP_mapif_create_pet_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, int *char_id, short *pet_class, short *pet_lv, short *pet_egg_id, short *pet_equip, short *intimate, short *hungry, char *rename_flag, char *incubate, const char *pet_name); + int (*postHookFunc) (int retVal___, int fd, int account_id, int char_id, short pet_class, short pet_lv, short pet_egg_id, short pet_equip, short intimate, short hungry, char rename_flag, char incubate, const char *pet_name); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_create_pet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_create_pet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, &char_id, &pet_class, &pet_lv, &pet_egg_id, &pet_equip, &intimate, &hungry, &rename_flag, &incubate, pet_name); + retVal___ = postHookFunc(retVal___, fd, account_id, char_id, pet_class, pet_lv, pet_egg_id, pet_equip, intimate, hungry, rename_flag, incubate, pet_name); } } return retVal___; @@ -13823,10 +13823,10 @@ int HP_mapif_load_pet(int fd, int account_id, int char_id, int pet_id) { retVal___ = HPMHooks.source.mapif.load_pet(fd, account_id, char_id, pet_id); } if( HPMHooks.count.HP_mapif_load_pet_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, int *char_id, int *pet_id); + int (*postHookFunc) (int retVal___, int fd, int account_id, int char_id, int pet_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_load_pet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_load_pet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, &char_id, &pet_id); + retVal___ = postHookFunc(retVal___, fd, account_id, char_id, pet_id); } } return retVal___; @@ -13850,10 +13850,10 @@ int HP_mapif_save_pet(int fd, int account_id, const struct s_pet *data) { retVal___ = HPMHooks.source.mapif.save_pet(fd, account_id, data); } if( HPMHooks.count.HP_mapif_save_pet_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, const struct s_pet *data); + int (*postHookFunc) (int retVal___, int fd, int account_id, const struct s_pet *data); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_save_pet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_save_pet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, data); + retVal___ = postHookFunc(retVal___, fd, account_id, data); } } return retVal___; @@ -13877,10 +13877,10 @@ int HP_mapif_delete_pet(int fd, int pet_id) { retVal___ = HPMHooks.source.mapif.delete_pet(fd, pet_id); } if( HPMHooks.count.HP_mapif_delete_pet_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *pet_id); + int (*postHookFunc) (int retVal___, int fd, int pet_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_delete_pet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_delete_pet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &pet_id); + retVal___ = postHookFunc(retVal___, fd, pet_id); } } return retVal___; @@ -13904,10 +13904,10 @@ int HP_mapif_parse_CreatePet(int fd) { retVal___ = HPMHooks.source.mapif.parse_CreatePet(fd); } if( HPMHooks.count.HP_mapif_parse_CreatePet_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_CreatePet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_CreatePet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -13931,10 +13931,10 @@ int HP_mapif_parse_LoadPet(int fd) { retVal___ = HPMHooks.source.mapif.parse_LoadPet(fd); } if( HPMHooks.count.HP_mapif_parse_LoadPet_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_LoadPet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_LoadPet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -13958,10 +13958,10 @@ int HP_mapif_parse_SavePet(int fd) { retVal___ = HPMHooks.source.mapif.parse_SavePet(fd); } if( HPMHooks.count.HP_mapif_parse_SavePet_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_SavePet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_SavePet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -13985,10 +13985,10 @@ int HP_mapif_parse_DeletePet(int fd) { retVal___ = HPMHooks.source.mapif.parse_DeletePet(fd); } if( HPMHooks.count.HP_mapif_parse_DeletePet_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_DeletePet_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_DeletePet_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14012,10 +14012,10 @@ struct quest* HP_mapif_quests_fromsql(int char_id, int *count) { retVal___ = HPMHooks.source.mapif.quests_fromsql(char_id, count); } if( HPMHooks.count.HP_mapif_quests_fromsql_post ) { - struct quest* (*postHookFunc) (struct quest* retVal___, int *char_id, int *count); + struct quest* (*postHookFunc) (struct quest* retVal___, int char_id, int *count); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_quests_fromsql_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_quests_fromsql_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, count); + retVal___ = postHookFunc(retVal___, char_id, count); } } return retVal___; @@ -14039,10 +14039,10 @@ bool HP_mapif_quest_delete(int char_id, int quest_id) { retVal___ = HPMHooks.source.mapif.quest_delete(char_id, quest_id); } if( HPMHooks.count.HP_mapif_quest_delete_post ) { - bool (*postHookFunc) (bool retVal___, int *char_id, int *quest_id); + bool (*postHookFunc) (bool retVal___, int char_id, int quest_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_quest_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_quest_delete_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &quest_id); + retVal___ = postHookFunc(retVal___, char_id, quest_id); } } return retVal___; @@ -14066,10 +14066,10 @@ bool HP_mapif_quest_add(int char_id, struct quest qd) { retVal___ = HPMHooks.source.mapif.quest_add(char_id, qd); } if( HPMHooks.count.HP_mapif_quest_add_post ) { - bool (*postHookFunc) (bool retVal___, int *char_id, struct quest *qd); + bool (*postHookFunc) (bool retVal___, int char_id, struct quest qd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_quest_add_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_quest_add_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &qd); + retVal___ = postHookFunc(retVal___, char_id, qd); } } return retVal___; @@ -14093,10 +14093,10 @@ bool HP_mapif_quest_update(int char_id, struct quest qd) { retVal___ = HPMHooks.source.mapif.quest_update(char_id, qd); } if( HPMHooks.count.HP_mapif_quest_update_post ) { - bool (*postHookFunc) (bool retVal___, int *char_id, struct quest *qd); + bool (*postHookFunc) (bool retVal___, int char_id, struct quest qd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_quest_update_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_quest_update_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &char_id, &qd); + retVal___ = postHookFunc(retVal___, char_id, qd); } } return retVal___; @@ -14119,10 +14119,10 @@ void HP_mapif_quest_save_ack(int fd, int char_id, bool success) { HPMHooks.source.mapif.quest_save_ack(fd, char_id, success); } if( HPMHooks.count.HP_mapif_quest_save_ack_post ) { - void (*postHookFunc) (int *fd, int *char_id, bool *success); + void (*postHookFunc) (int fd, int char_id, bool success); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_quest_save_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_quest_save_ack_post[hIndex].func; - postHookFunc(&fd, &char_id, &success); + postHookFunc(fd, char_id, success); } } return; @@ -14146,10 +14146,10 @@ int HP_mapif_parse_quest_save(int fd) { retVal___ = HPMHooks.source.mapif.parse_quest_save(fd); } if( HPMHooks.count.HP_mapif_parse_quest_save_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_quest_save_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_quest_save_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14172,10 +14172,10 @@ void HP_mapif_send_quests(int fd, int char_id, struct quest *tmp_questlog, int n HPMHooks.source.mapif.send_quests(fd, char_id, tmp_questlog, num_quests); } if( HPMHooks.count.HP_mapif_send_quests_post ) { - void (*postHookFunc) (int *fd, int *char_id, struct quest *tmp_questlog, int *num_quests); + void (*postHookFunc) (int fd, int char_id, struct quest *tmp_questlog, int num_quests); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_send_quests_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_send_quests_post[hIndex].func; - postHookFunc(&fd, &char_id, tmp_questlog, &num_quests); + postHookFunc(fd, char_id, tmp_questlog, num_quests); } } return; @@ -14199,10 +14199,10 @@ int HP_mapif_parse_quest_load(int fd) { retVal___ = HPMHooks.source.mapif.parse_quest_load(fd); } if( HPMHooks.count.HP_mapif_parse_quest_load_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_quest_load_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_quest_load_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14226,10 +14226,10 @@ int HP_mapif_load_guild_storage(int fd, int account_id, int guild_id, char flag) retVal___ = HPMHooks.source.mapif.load_guild_storage(fd, account_id, guild_id, flag); } if( HPMHooks.count.HP_mapif_load_guild_storage_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, int *guild_id, char *flag); + int (*postHookFunc) (int retVal___, int fd, int account_id, int guild_id, char flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_load_guild_storage_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_load_guild_storage_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, &guild_id, &flag); + retVal___ = postHookFunc(retVal___, fd, account_id, guild_id, flag); } } return retVal___; @@ -14253,10 +14253,10 @@ int HP_mapif_save_guild_storage_ack(int fd, int account_id, int guild_id, int fa retVal___ = HPMHooks.source.mapif.save_guild_storage_ack(fd, account_id, guild_id, fail); } if( HPMHooks.count.HP_mapif_save_guild_storage_ack_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, int *guild_id, int *fail); + int (*postHookFunc) (int retVal___, int fd, int account_id, int guild_id, int fail); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_save_guild_storage_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_save_guild_storage_ack_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, &guild_id, &fail); + retVal___ = postHookFunc(retVal___, fd, account_id, guild_id, fail); } } return retVal___; @@ -14280,10 +14280,10 @@ int HP_mapif_parse_LoadGuildStorage(int fd) { retVal___ = HPMHooks.source.mapif.parse_LoadGuildStorage(fd); } if( HPMHooks.count.HP_mapif_parse_LoadGuildStorage_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_LoadGuildStorage_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_LoadGuildStorage_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14307,10 +14307,10 @@ int HP_mapif_parse_SaveGuildStorage(int fd) { retVal___ = HPMHooks.source.mapif.parse_SaveGuildStorage(fd); } if( HPMHooks.count.HP_mapif_parse_SaveGuildStorage_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_SaveGuildStorage_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_SaveGuildStorage_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14334,10 +14334,10 @@ int HP_mapif_itembound_ack(int fd, int aid, int guild_id) { retVal___ = HPMHooks.source.mapif.itembound_ack(fd, aid, guild_id); } if( HPMHooks.count.HP_mapif_itembound_ack_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *aid, int *guild_id); + int (*postHookFunc) (int retVal___, int fd, int aid, int guild_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_itembound_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_itembound_ack_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &aid, &guild_id); + retVal___ = postHookFunc(retVal___, fd, aid, guild_id); } } return retVal___; @@ -14361,10 +14361,10 @@ int HP_mapif_parse_ItemBoundRetrieve_sub(int fd) { retVal___ = HPMHooks.source.mapif.parse_ItemBoundRetrieve_sub(fd); } if( HPMHooks.count.HP_mapif_parse_ItemBoundRetrieve_sub_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_ItemBoundRetrieve_sub_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_ItemBoundRetrieve_sub_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14387,10 +14387,10 @@ void HP_mapif_parse_ItemBoundRetrieve(int fd) { HPMHooks.source.mapif.parse_ItemBoundRetrieve(fd); } if( HPMHooks.count.HP_mapif_parse_ItemBoundRetrieve_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_ItemBoundRetrieve_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_ItemBoundRetrieve_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -14413,10 +14413,10 @@ void HP_mapif_parse_accinfo(int fd) { HPMHooks.source.mapif.parse_accinfo(fd); } if( HPMHooks.count.HP_mapif_parse_accinfo_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_accinfo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_accinfo_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -14439,10 +14439,10 @@ void HP_mapif_parse_accinfo2(bool success, int map_fd, int u_fd, int u_aid, int HPMHooks.source.mapif.parse_accinfo2(success, map_fd, u_fd, u_aid, account_id, userid, user_pass, email, last_ip, lastlogin, pin_code, birthdate, group_id, logincount, state); } if( HPMHooks.count.HP_mapif_parse_accinfo2_post ) { - void (*postHookFunc) (bool *success, int *map_fd, int *u_fd, int *u_aid, int *account_id, const char *userid, const char *user_pass, const char *email, const char *last_ip, const char *lastlogin, const char *pin_code, const char *birthdate, int *group_id, int *logincount, int *state); + void (*postHookFunc) (bool success, int map_fd, int u_fd, int u_aid, int account_id, const char *userid, const char *user_pass, const char *email, const char *last_ip, const char *lastlogin, const char *pin_code, const char *birthdate, int group_id, int logincount, int state); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_accinfo2_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_accinfo2_post[hIndex].func; - postHookFunc(&success, &map_fd, &u_fd, &u_aid, &account_id, userid, user_pass, email, last_ip, lastlogin, pin_code, birthdate, &group_id, &logincount, &state); + postHookFunc(success, map_fd, u_fd, u_aid, account_id, userid, user_pass, email, last_ip, lastlogin, pin_code, birthdate, group_id, logincount, state); } } return; @@ -14466,10 +14466,10 @@ int HP_mapif_broadcast(const unsigned char *mes, int len, unsigned int fontColor retVal___ = HPMHooks.source.mapif.broadcast(mes, len, fontColor, fontType, fontSize, fontAlign, fontY, sfd); } if( HPMHooks.count.HP_mapif_broadcast_post ) { - int (*postHookFunc) (int retVal___, const unsigned char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY, int *sfd); + int (*postHookFunc) (int retVal___, const unsigned char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY, int sfd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_broadcast_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_broadcast_post[hIndex].func; - retVal___ = postHookFunc(retVal___, mes, &len, &fontColor, &fontType, &fontSize, &fontAlign, &fontY, &sfd); + retVal___ = postHookFunc(retVal___, mes, len, fontColor, fontType, fontSize, fontAlign, fontY, sfd); } } return retVal___; @@ -14519,10 +14519,10 @@ void HP_mapif_wis_response(int fd, const unsigned char *src, int flag) { HPMHooks.source.mapif.wis_response(fd, src, flag); } if( HPMHooks.count.HP_mapif_wis_response_post ) { - void (*postHookFunc) (int *fd, const unsigned char *src, int *flag); + void (*postHookFunc) (int fd, const unsigned char *src, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_wis_response_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_wis_response_post[hIndex].func; - postHookFunc(&fd, src, &flag); + postHookFunc(fd, src, flag); } } return; @@ -14546,10 +14546,10 @@ int HP_mapif_wis_end(struct WisData *wd, int flag) { retVal___ = HPMHooks.source.mapif.wis_end(wd, flag); } if( HPMHooks.count.HP_mapif_wis_end_post ) { - int (*postHookFunc) (int retVal___, struct WisData *wd, int *flag); + int (*postHookFunc) (int retVal___, struct WisData *wd, int flag); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_wis_end_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_wis_end_post[hIndex].func; - retVal___ = postHookFunc(retVal___, wd, &flag); + retVal___ = postHookFunc(retVal___, wd, flag); } } return retVal___; @@ -14573,10 +14573,10 @@ int HP_mapif_account_reg_reply(int fd, int account_id, int char_id, int type) { retVal___ = HPMHooks.source.mapif.account_reg_reply(fd, account_id, char_id, type); } if( HPMHooks.count.HP_mapif_account_reg_reply_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, int *char_id, int *type); + int (*postHookFunc) (int retVal___, int fd, int account_id, int char_id, int type); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_account_reg_reply_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_account_reg_reply_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, &char_id, &type); + retVal___ = postHookFunc(retVal___, fd, account_id, char_id, type); } } return retVal___; @@ -14600,10 +14600,10 @@ int HP_mapif_disconnectplayer(int fd, int account_id, int char_id, int reason) { retVal___ = HPMHooks.source.mapif.disconnectplayer(fd, account_id, char_id, reason); } if( HPMHooks.count.HP_mapif_disconnectplayer_post ) { - int (*postHookFunc) (int retVal___, int *fd, int *account_id, int *char_id, int *reason); + int (*postHookFunc) (int retVal___, int fd, int account_id, int char_id, int reason); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_disconnectplayer_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_disconnectplayer_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &account_id, &char_id, &reason); + retVal___ = postHookFunc(retVal___, fd, account_id, char_id, reason); } } return retVal___; @@ -14627,10 +14627,10 @@ int HP_mapif_parse_broadcast(int fd) { retVal___ = HPMHooks.source.mapif.parse_broadcast(fd); } if( HPMHooks.count.HP_mapif_parse_broadcast_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_broadcast_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_broadcast_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14654,10 +14654,10 @@ int HP_mapif_parse_WisRequest(int fd) { retVal___ = HPMHooks.source.mapif.parse_WisRequest(fd); } if( HPMHooks.count.HP_mapif_parse_WisRequest_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_WisRequest_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_WisRequest_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14681,10 +14681,10 @@ int HP_mapif_parse_WisReply(int fd) { retVal___ = HPMHooks.source.mapif.parse_WisReply(fd); } if( HPMHooks.count.HP_mapif_parse_WisReply_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_WisReply_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_WisReply_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14708,10 +14708,10 @@ int HP_mapif_parse_WisToGM(int fd) { retVal___ = HPMHooks.source.mapif.parse_WisToGM(fd); } if( HPMHooks.count.HP_mapif_parse_WisToGM_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_WisToGM_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_WisToGM_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14735,10 +14735,10 @@ int HP_mapif_parse_Registry(int fd) { retVal___ = HPMHooks.source.mapif.parse_Registry(fd); } if( HPMHooks.count.HP_mapif_parse_Registry_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_Registry_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_Registry_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14762,10 +14762,10 @@ int HP_mapif_parse_RegistryRequest(int fd) { retVal___ = HPMHooks.source.mapif.parse_RegistryRequest(fd); } if( HPMHooks.count.HP_mapif_parse_RegistryRequest_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_RegistryRequest_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_RegistryRequest_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14788,10 +14788,10 @@ void HP_mapif_namechange_ack(int fd, int account_id, int char_id, int type, int HPMHooks.source.mapif.namechange_ack(fd, account_id, char_id, type, flag, name); } if( HPMHooks.count.HP_mapif_namechange_ack_post ) { - void (*postHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *name); + void (*postHookFunc) (int fd, int account_id, int char_id, int type, int flag, const char *name); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_namechange_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_namechange_ack_post[hIndex].func; - postHookFunc(&fd, &account_id, &char_id, &type, &flag, name); + postHookFunc(fd, account_id, char_id, type, flag, name); } } return; @@ -14815,10 +14815,10 @@ int HP_mapif_parse_NameChangeRequest(int fd) { retVal___ = HPMHooks.source.mapif.parse_NameChangeRequest(fd); } if( HPMHooks.count.HP_mapif_parse_NameChangeRequest_post ) { - int (*postHookFunc) (int retVal___, int *fd); + int (*postHookFunc) (int retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_NameChangeRequest_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_parse_NameChangeRequest_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -14896,10 +14896,10 @@ int HP_mapindex_addmap(int index, const char *name) { retVal___ = HPMHooks.source.mapindex.addmap(index, name); } if( HPMHooks.count.HP_mapindex_addmap_post ) { - int (*postHookFunc) (int retVal___, int *index, const char *name); + int (*postHookFunc) (int retVal___, int index, const char *name); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapindex_addmap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapindex_addmap_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &index, name); + retVal___ = postHookFunc(retVal___, index, name); } } return retVal___; @@ -14922,10 +14922,10 @@ void HP_mapindex_removemap(int index) { HPMHooks.source.mapindex.removemap(index); } if( HPMHooks.count.HP_mapindex_removemap_post ) { - void (*postHookFunc) (int *index); + void (*postHookFunc) (int index); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapindex_removemap_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapindex_removemap_post[hIndex].func; - postHookFunc(&index); + postHookFunc(index); } } return; @@ -15030,10 +15030,10 @@ const char* HP_mapindex_id2name(uint16 id, const char *file, int line, const cha retVal___ = HPMHooks.source.mapindex.id2name(id, file, line, func); } if( HPMHooks.count.HP_mapindex_id2name_post ) { - const char* (*postHookFunc) (const char* retVal___, uint16 *id, const char *file, int *line, const char *func); + const char* (*postHookFunc) (const char* retVal___, uint16 id, const char *file, int line, const char *func); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapindex_id2name_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapindex_id2name_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &id, file, &line, func); + retVal___ = postHookFunc(retVal___, id, file, line, func); } } return retVal___; @@ -15084,10 +15084,10 @@ void HP_nullpo_assert_report(const char *file, int line, const char *func, const HPMHooks.source.nullpo.assert_report(file, line, func, targetname, title); } if( HPMHooks.count.HP_nullpo_assert_report_post ) { - void (*postHookFunc) (const char *file, int *line, const char *func, const char *targetname, const char *title); + void (*postHookFunc) (const char *file, int line, const char *func, const char *targetname, const char *title); for(hIndex = 0; hIndex < HPMHooks.count.HP_nullpo_assert_report_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_nullpo_assert_report_post[hIndex].func; - postHookFunc(file, &line, func, targetname, title); + postHookFunc(file, line, func, targetname, title); } } return; @@ -15111,10 +15111,10 @@ void HP_pincode_handle(int fd, struct char_session_data *sd) { HPMHooks.source.pincode.handle(fd, sd); } if( HPMHooks.count.HP_pincode_handle_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_handle_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_handle_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -15137,10 +15137,10 @@ void HP_pincode_decrypt(unsigned int userSeed, char *pin) { HPMHooks.source.pincode.decrypt(userSeed, pin); } if( HPMHooks.count.HP_pincode_decrypt_post ) { - void (*postHookFunc) (unsigned int *userSeed, char *pin); + void (*postHookFunc) (unsigned int userSeed, char *pin); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_decrypt_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_decrypt_post[hIndex].func; - postHookFunc(&userSeed, pin); + postHookFunc(userSeed, pin); } } return; @@ -15163,10 +15163,10 @@ void HP_pincode_error(int account_id) { HPMHooks.source.pincode.error(account_id); } if( HPMHooks.count.HP_pincode_error_post ) { - void (*postHookFunc) (int *account_id); + void (*postHookFunc) (int account_id); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_error_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_error_post[hIndex].func; - postHookFunc(&account_id); + postHookFunc(account_id); } } return; @@ -15189,10 +15189,10 @@ void HP_pincode_update(int account_id, char *pin) { HPMHooks.source.pincode.update(account_id, pin); } if( HPMHooks.count.HP_pincode_update_post ) { - void (*postHookFunc) (int *account_id, char *pin); + void (*postHookFunc) (int account_id, char *pin); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_update_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_update_post[hIndex].func; - postHookFunc(&account_id, pin); + postHookFunc(account_id, pin); } } return; @@ -15215,10 +15215,10 @@ void HP_pincode_sendstate(int fd, struct char_session_data *sd, uint16 state) { HPMHooks.source.pincode.sendstate(fd, sd, state); } if( HPMHooks.count.HP_pincode_sendstate_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd, uint16 *state); + void (*postHookFunc) (int fd, struct char_session_data *sd, uint16 state); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_sendstate_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_sendstate_post[hIndex].func; - postHookFunc(&fd, sd, &state); + postHookFunc(fd, sd, state); } } return; @@ -15241,10 +15241,10 @@ void HP_pincode_setnew(int fd, struct char_session_data *sd) { HPMHooks.source.pincode.setnew(fd, sd); } if( HPMHooks.count.HP_pincode_setnew_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_setnew_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_setnew_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -15267,10 +15267,10 @@ void HP_pincode_change(int fd, struct char_session_data *sd) { HPMHooks.source.pincode.change(fd, sd); } if( HPMHooks.count.HP_pincode_change_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_change_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_change_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -15294,10 +15294,10 @@ int HP_pincode_compare(int fd, struct char_session_data *sd, char *pin) { retVal___ = HPMHooks.source.pincode.compare(fd, sd, pin); } if( HPMHooks.count.HP_pincode_compare_post ) { - int (*postHookFunc) (int retVal___, int *fd, struct char_session_data *sd, char *pin); + int (*postHookFunc) (int retVal___, int fd, struct char_session_data *sd, char *pin); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_compare_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_compare_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, sd, pin); + retVal___ = postHookFunc(retVal___, fd, sd, pin); } } return retVal___; @@ -15320,10 +15320,10 @@ void HP_pincode_check(int fd, struct char_session_data *sd) { HPMHooks.source.pincode.check(fd, sd); } if( HPMHooks.count.HP_pincode_check_post ) { - void (*postHookFunc) (int *fd, struct char_session_data *sd); + void (*postHookFunc) (int fd, struct char_session_data *sd); for(hIndex = 0; hIndex < HPMHooks.count.HP_pincode_check_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_pincode_check_post[hIndex].func; - postHookFunc(&fd, sd); + postHookFunc(fd, sd); } } return; @@ -15539,10 +15539,10 @@ int HP_sockt_perform(int next) { retVal___ = HPMHooks.source.sockt.perform(next); } if( HPMHooks.count.HP_sockt_perform_post ) { - int (*postHookFunc) (int retVal___, int *next); + int (*postHookFunc) (int retVal___, int next); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_perform_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_perform_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &next); + retVal___ = postHookFunc(retVal___, next); } } return retVal___; @@ -15565,10 +15565,10 @@ void HP_sockt_datasync(int fd, bool send) { HPMHooks.source.sockt.datasync(fd, send); } if( HPMHooks.count.HP_sockt_datasync_post ) { - void (*postHookFunc) (int *fd, bool *send); + void (*postHookFunc) (int fd, bool send); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_datasync_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_datasync_post[hIndex].func; - postHookFunc(&fd, &send); + postHookFunc(fd, send); } } return; @@ -15592,10 +15592,10 @@ int HP_sockt_make_listen_bind(uint32 ip, uint16 port) { retVal___ = HPMHooks.source.sockt.make_listen_bind(ip, port); } if( HPMHooks.count.HP_sockt_make_listen_bind_post ) { - int (*postHookFunc) (int retVal___, uint32 *ip, uint16 *port); + int (*postHookFunc) (int retVal___, uint32 ip, uint16 port); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_make_listen_bind_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_make_listen_bind_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ip, &port); + retVal___ = postHookFunc(retVal___, ip, port); } } return retVal___; @@ -15619,10 +15619,10 @@ int HP_sockt_make_connection(uint32 ip, uint16 port, struct hSockOpt *opt) { retVal___ = HPMHooks.source.sockt.make_connection(ip, port, opt); } if( HPMHooks.count.HP_sockt_make_connection_post ) { - int (*postHookFunc) (int retVal___, uint32 *ip, uint16 *port, struct hSockOpt *opt); + int (*postHookFunc) (int retVal___, uint32 ip, uint16 port, struct hSockOpt *opt); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_make_connection_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_make_connection_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ip, &port, opt); + retVal___ = postHookFunc(retVal___, ip, port, opt); } } return retVal___; @@ -15646,10 +15646,10 @@ int HP_sockt_realloc_fifo(int fd, unsigned int rfifo_size, unsigned int wfifo_si retVal___ = HPMHooks.source.sockt.realloc_fifo(fd, rfifo_size, wfifo_size); } if( HPMHooks.count.HP_sockt_realloc_fifo_post ) { - int (*postHookFunc) (int retVal___, int *fd, unsigned int *rfifo_size, unsigned int *wfifo_size); + int (*postHookFunc) (int retVal___, int fd, unsigned int rfifo_size, unsigned int wfifo_size); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_realloc_fifo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_realloc_fifo_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &rfifo_size, &wfifo_size); + retVal___ = postHookFunc(retVal___, fd, rfifo_size, wfifo_size); } } return retVal___; @@ -15673,10 +15673,10 @@ int HP_sockt_realloc_writefifo(int fd, size_t addition) { retVal___ = HPMHooks.source.sockt.realloc_writefifo(fd, addition); } if( HPMHooks.count.HP_sockt_realloc_writefifo_post ) { - int (*postHookFunc) (int retVal___, int *fd, size_t *addition); + int (*postHookFunc) (int retVal___, int fd, size_t addition); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_realloc_writefifo_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_realloc_writefifo_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &addition); + retVal___ = postHookFunc(retVal___, fd, addition); } } return retVal___; @@ -15700,10 +15700,10 @@ int HP_sockt_wfifoset(int fd, size_t len) { retVal___ = HPMHooks.source.sockt.wfifoset(fd, len); } if( HPMHooks.count.HP_sockt_wfifoset_post ) { - int (*postHookFunc) (int retVal___, int *fd, size_t *len); + int (*postHookFunc) (int retVal___, int fd, size_t len); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_wfifoset_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_wfifoset_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &len); + retVal___ = postHookFunc(retVal___, fd, len); } } return retVal___; @@ -15727,10 +15727,10 @@ int HP_sockt_rfifoskip(int fd, size_t len) { retVal___ = HPMHooks.source.sockt.rfifoskip(fd, len); } if( HPMHooks.count.HP_sockt_rfifoskip_post ) { - int (*postHookFunc) (int retVal___, int *fd, size_t *len); + int (*postHookFunc) (int retVal___, int fd, size_t len); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_rfifoskip_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_rfifoskip_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd, &len); + retVal___ = postHookFunc(retVal___, fd, len); } } return retVal___; @@ -15753,10 +15753,10 @@ void HP_sockt_close(int fd) { HPMHooks.source.sockt.close(fd); } if( HPMHooks.count.HP_sockt_close_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_close_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_close_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -15780,10 +15780,10 @@ bool HP_sockt_session_is_valid(int fd) { retVal___ = HPMHooks.source.sockt.session_is_valid(fd); } if( HPMHooks.count.HP_sockt_session_is_valid_post ) { - bool (*postHookFunc) (bool retVal___, int *fd); + bool (*postHookFunc) (bool retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_session_is_valid_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_session_is_valid_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -15807,10 +15807,10 @@ bool HP_sockt_session_is_active(int fd) { retVal___ = HPMHooks.source.sockt.session_is_active(fd); } if( HPMHooks.count.HP_sockt_session_is_active_post ) { - bool (*postHookFunc) (bool retVal___, int *fd); + bool (*postHookFunc) (bool retVal___, int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_session_is_active_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_session_is_active_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &fd); + retVal___ = postHookFunc(retVal___, fd); } } return retVal___; @@ -15833,10 +15833,10 @@ void HP_sockt_flush(int fd) { HPMHooks.source.sockt.flush(fd); } if( HPMHooks.count.HP_sockt_flush_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_flush_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_flush_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -15885,10 +15885,10 @@ void HP_sockt_set_nonblocking(int fd, unsigned long yes) { HPMHooks.source.sockt.set_nonblocking(fd, yes); } if( HPMHooks.count.HP_sockt_set_nonblocking_post ) { - void (*postHookFunc) (int *fd, unsigned long *yes); + void (*postHookFunc) (int fd, unsigned long yes); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_set_nonblocking_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_set_nonblocking_post[hIndex].func; - postHookFunc(&fd, &yes); + postHookFunc(fd, yes); } } return; @@ -15911,10 +15911,10 @@ void HP_sockt_set_defaultparse(ParseFunc defaultparse) { HPMHooks.source.sockt.set_defaultparse(defaultparse); } if( HPMHooks.count.HP_sockt_set_defaultparse_post ) { - void (*postHookFunc) (ParseFunc *defaultparse); + void (*postHookFunc) (ParseFunc defaultparse); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_set_defaultparse_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_set_defaultparse_post[hIndex].func; - postHookFunc(&defaultparse); + postHookFunc(defaultparse); } } return; @@ -15965,10 +15965,10 @@ const char* HP_sockt_ip2str(uint32 ip, char *ip_str) { retVal___ = HPMHooks.source.sockt.ip2str(ip, ip_str); } if( HPMHooks.count.HP_sockt_ip2str_post ) { - const char* (*postHookFunc) (const char* retVal___, uint32 *ip, char *ip_str); + const char* (*postHookFunc) (const char* retVal___, uint32 ip, char *ip_str); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_ip2str_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_ip2str_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ip, ip_str); + retVal___ = postHookFunc(retVal___, ip, ip_str); } } return retVal___; @@ -16019,10 +16019,10 @@ uint16 HP_sockt_ntows(uint16 netshort) { retVal___ = HPMHooks.source.sockt.ntows(netshort); } if( HPMHooks.count.HP_sockt_ntows_post ) { - uint16 (*postHookFunc) (uint16 retVal___, uint16 *netshort); + uint16 (*postHookFunc) (uint16 retVal___, uint16 netshort); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_ntows_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_ntows_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &netshort); + retVal___ = postHookFunc(retVal___, netshort); } } return retVal___; @@ -16046,10 +16046,10 @@ int HP_sockt_getips(uint32 *ips, int max) { retVal___ = HPMHooks.source.sockt.getips(ips, max); } if( HPMHooks.count.HP_sockt_getips_post ) { - int (*postHookFunc) (int retVal___, uint32 *ips, int *max); + int (*postHookFunc) (int retVal___, uint32 *ips, int max); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_getips_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_getips_post[hIndex].func; - retVal___ = postHookFunc(retVal___, ips, &max); + retVal___ = postHookFunc(retVal___, ips, max); } } return retVal___; @@ -16072,10 +16072,10 @@ void HP_sockt_eof(int fd) { HPMHooks.source.sockt.eof(fd); } if( HPMHooks.count.HP_sockt_eof_post ) { - void (*postHookFunc) (int *fd); + void (*postHookFunc) (int fd); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_eof_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_eof_post[hIndex].func; - postHookFunc(&fd); + postHookFunc(fd); } } return; @@ -16099,10 +16099,10 @@ uint32 HP_sockt_lan_subnet_check(uint32 ip, struct s_subnet *info) { retVal___ = HPMHooks.source.sockt.lan_subnet_check(ip, info); } if( HPMHooks.count.HP_sockt_lan_subnet_check_post ) { - uint32 (*postHookFunc) (uint32 retVal___, uint32 *ip, struct s_subnet *info); + uint32 (*postHookFunc) (uint32 retVal___, uint32 ip, struct s_subnet *info); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_lan_subnet_check_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_lan_subnet_check_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ip, info); + retVal___ = postHookFunc(retVal___, ip, info); } } return retVal___; @@ -16126,10 +16126,10 @@ bool HP_sockt_allowed_ip_check(uint32 ip) { retVal___ = HPMHooks.source.sockt.allowed_ip_check(ip); } if( HPMHooks.count.HP_sockt_allowed_ip_check_post ) { - bool (*postHookFunc) (bool retVal___, uint32 *ip); + bool (*postHookFunc) (bool retVal___, uint32 ip); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_allowed_ip_check_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_allowed_ip_check_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ip); + retVal___ = postHookFunc(retVal___, ip); } } return retVal___; @@ -16153,10 +16153,10 @@ bool HP_sockt_trusted_ip_check(uint32 ip) { retVal___ = HPMHooks.source.sockt.trusted_ip_check(ip); } if( HPMHooks.count.HP_sockt_trusted_ip_check_post ) { - bool (*postHookFunc) (bool retVal___, uint32 *ip); + bool (*postHookFunc) (bool retVal___, uint32 ip); for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_trusted_ip_check_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sockt_trusted_ip_check_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &ip); + retVal___ = postHookFunc(retVal___, ip); } } return retVal___; @@ -16234,10 +16234,10 @@ int HP_SQL_Connect(struct Sql *self, const char *user, const char *passwd, const retVal___ = HPMHooks.source.SQL.Connect(self, user, passwd, host, port, db); } if( HPMHooks.count.HP_SQL_Connect_post ) { - int (*postHookFunc) (int retVal___, struct Sql *self, const char *user, const char *passwd, const char *host, uint16 *port, const char *db); + int (*postHookFunc) (int retVal___, struct Sql *self, const char *user, const char *passwd, const char *host, uint16 port, const char *db); for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_Connect_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_SQL_Connect_post[hIndex].func; - retVal___ = postHookFunc(retVal___, self, user, passwd, host, &port, db); + retVal___ = postHookFunc(retVal___, self, user, passwd, host, port, db); } } return retVal___; @@ -16288,10 +16288,10 @@ int HP_SQL_GetColumnNames(struct Sql *self, const char *table, char *out_buf, si retVal___ = HPMHooks.source.SQL.GetColumnNames(self, table, out_buf, buf_len, sep); } if( HPMHooks.count.HP_SQL_GetColumnNames_post ) { - int (*postHookFunc) (int retVal___, struct Sql *self, const char *table, char *out_buf, size_t *buf_len, char *sep); + int (*postHookFunc) (int retVal___, struct Sql *self, const char *table, char *out_buf, size_t buf_len, char sep); for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_GetColumnNames_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_SQL_GetColumnNames_post[hIndex].func; - retVal___ = postHookFunc(retVal___, self, table, out_buf, &buf_len, &sep); + retVal___ = postHookFunc(retVal___, self, table, out_buf, buf_len, sep); } } return retVal___; @@ -16396,10 +16396,10 @@ size_t HP_SQL_EscapeStringLen(struct Sql *self, char *out_to, const char *from, retVal___ = HPMHooks.source.SQL.EscapeStringLen(self, out_to, from, from_len); } if( HPMHooks.count.HP_SQL_EscapeStringLen_post ) { - size_t (*postHookFunc) (size_t retVal___, struct Sql *self, char *out_to, const char *from, size_t *from_len); + size_t (*postHookFunc) (size_t retVal___, struct Sql *self, char *out_to, const char *from, size_t from_len); for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_EscapeStringLen_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_SQL_EscapeStringLen_post[hIndex].func; - retVal___ = postHookFunc(retVal___, self, out_to, from, &from_len); + retVal___ = postHookFunc(retVal___, self, out_to, from, from_len); } } return retVal___; @@ -16591,10 +16591,10 @@ int HP_SQL_GetData(struct Sql *self, size_t col, char **out_buf, size_t *out_len retVal___ = HPMHooks.source.SQL.GetData(self, col, out_buf, out_len); } if( HPMHooks.count.HP_SQL_GetData_post ) { - int (*postHookFunc) (int retVal___, struct Sql *self, size_t *col, char **out_buf, size_t *out_len); + int (*postHookFunc) (int retVal___, struct Sql *self, size_t col, char **out_buf, size_t *out_len); for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_GetData_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_SQL_GetData_post[hIndex].func; - retVal___ = postHookFunc(retVal___, self, &col, out_buf, out_len); + retVal___ = postHookFunc(retVal___, self, col, out_buf, out_len); } } return retVal___; @@ -16643,10 +16643,10 @@ void HP_SQL_ShowDebug_(struct Sql *self, const char *debug_file, const unsigned HPMHooks.source.SQL.ShowDebug_(self, debug_file, debug_line); } if( HPMHooks.count.HP_SQL_ShowDebug__post ) { - void (*postHookFunc) (struct Sql *self, const char *debug_file, const unsigned long *debug_line); + void (*postHookFunc) (struct Sql *self, const char *debug_file, const unsigned long debug_line); for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_ShowDebug__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_SQL_ShowDebug__post[hIndex].func; - postHookFunc(self, debug_file, &debug_line); + postHookFunc(self, debug_file, debug_line); } } return; @@ -16837,10 +16837,10 @@ int HP_SQL_StmtBindParam(struct SqlStmt *self, size_t idx, enum SqlDataType buff retVal___ = HPMHooks.source.SQL.StmtBindParam(self, idx, buffer_type, buffer, buffer_len); } if( HPMHooks.count.HP_SQL_StmtBindParam_post ) { - int (*postHookFunc) (int retVal___, struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, const void *buffer, size_t *buffer_len); + int (*postHookFunc) (int retVal___, struct SqlStmt *self, size_t idx, enum SqlDataType buffer_type, const void *buffer, size_t buffer_len); for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtBindParam_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_SQL_StmtBindParam_post[hIndex].func; - retVal___ = postHookFunc(retVal___, self, &idx, &buffer_type, buffer, &buffer_len); + retVal___ = postHookFunc(retVal___, self, idx, buffer_type, buffer, buffer_len); } } return retVal___; @@ -16945,10 +16945,10 @@ int HP_SQL_StmtBindColumn(struct SqlStmt *self, size_t idx, enum SqlDataType buf retVal___ = HPMHooks.source.SQL.StmtBindColumn(self, idx, buffer_type, buffer, buffer_len, out_length, out_is_null); } if( HPMHooks.count.HP_SQL_StmtBindColumn_post ) { - int (*postHookFunc) (int retVal___, struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, void *buffer, size_t *buffer_len, uint32 *out_length, int8 *out_is_null); + int (*postHookFunc) (int retVal___, struct SqlStmt *self, size_t idx, enum SqlDataType buffer_type, void *buffer, size_t buffer_len, uint32 *out_length, int8 *out_is_null); for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtBindColumn_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_SQL_StmtBindColumn_post[hIndex].func; - retVal___ = postHookFunc(retVal___, self, &idx, &buffer_type, buffer, &buffer_len, out_length, out_is_null); + retVal___ = postHookFunc(retVal___, self, idx, buffer_type, buffer, buffer_len, out_length, out_is_null); } } return retVal___; @@ -17077,10 +17077,10 @@ void HP_SQL_StmtShowDebug_(struct SqlStmt *self, const char *debug_file, const u HPMHooks.source.SQL.StmtShowDebug_(self, debug_file, debug_line); } if( HPMHooks.count.HP_SQL_StmtShowDebug__post ) { - void (*postHookFunc) (struct SqlStmt *self, const char *debug_file, const unsigned long *debug_line); + void (*postHookFunc) (struct SqlStmt *self, const char *debug_file, const unsigned long debug_line); for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtShowDebug__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_SQL_StmtShowDebug__post[hIndex].func; - postHookFunc(self, debug_file, &debug_line); + postHookFunc(self, debug_file, debug_line); } } return; @@ -17432,10 +17432,10 @@ int HP_strlib_jmemescapecpy(char *pt, const char *spt, int size) { retVal___ = HPMHooks.source.strlib.jmemescapecpy(pt, spt, size); } if( HPMHooks.count.HP_strlib_jmemescapecpy_post ) { - int (*postHookFunc) (int retVal___, char *pt, const char *spt, int *size); + int (*postHookFunc) (int retVal___, char *pt, const char *spt, int size); for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_jmemescapecpy_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_strlib_jmemescapecpy_post[hIndex].func; - retVal___ = postHookFunc(retVal___, pt, spt, &size); + retVal___ = postHookFunc(retVal___, pt, spt, size); } } return retVal___; @@ -17567,10 +17567,10 @@ size_t HP_strlib_strnlen_(const char *string, size_t maxlen) { retVal___ = HPMHooks.source.strlib.strnlen_(string, maxlen); } if( HPMHooks.count.HP_strlib_strnlen__post ) { - size_t (*postHookFunc) (size_t retVal___, const char *string, size_t *maxlen); + size_t (*postHookFunc) (size_t retVal___, const char *string, size_t maxlen); for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_strnlen__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_strlib_strnlen__post[hIndex].func; - retVal___ = postHookFunc(retVal___, string, &maxlen); + retVal___ = postHookFunc(retVal___, string, maxlen); } } return retVal___; @@ -17675,10 +17675,10 @@ char* HP_strlib_safestrncpy_(char *dst, const char *src, size_t n) { retVal___ = HPMHooks.source.strlib.safestrncpy_(dst, src, n); } if( HPMHooks.count.HP_strlib_safestrncpy__post ) { - char* (*postHookFunc) (char* retVal___, char *dst, const char *src, size_t *n); + char* (*postHookFunc) (char* retVal___, char *dst, const char *src, size_t n); for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_safestrncpy__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_strlib_safestrncpy__post[hIndex].func; - retVal___ = postHookFunc(retVal___, dst, src, &n); + retVal___ = postHookFunc(retVal___, dst, src, n); } } return retVal___; @@ -17702,10 +17702,10 @@ size_t HP_strlib_safestrnlen_(const char *string, size_t maxlen) { retVal___ = HPMHooks.source.strlib.safestrnlen_(string, maxlen); } if( HPMHooks.count.HP_strlib_safestrnlen__post ) { - size_t (*postHookFunc) (size_t retVal___, const char *string, size_t *maxlen); + size_t (*postHookFunc) (size_t retVal___, const char *string, size_t maxlen); for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_safestrnlen__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_strlib_safestrnlen__post[hIndex].func; - retVal___ = postHookFunc(retVal___, string, &maxlen); + retVal___ = postHookFunc(retVal___, string, maxlen); } } return retVal___; @@ -17729,10 +17729,10 @@ int HP_strlib_strline_(const char *str, size_t pos) { retVal___ = HPMHooks.source.strlib.strline_(str, pos); } if( HPMHooks.count.HP_strlib_strline__post ) { - int (*postHookFunc) (int retVal___, const char *str, size_t *pos); + int (*postHookFunc) (int retVal___, const char *str, size_t pos); for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_strline__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_strlib_strline__post[hIndex].func; - retVal___ = postHookFunc(retVal___, str, &pos); + retVal___ = postHookFunc(retVal___, str, pos); } } return retVal___; @@ -17756,10 +17756,10 @@ bool HP_strlib_bin2hex_(char *output, const unsigned char *input, size_t count) retVal___ = HPMHooks.source.strlib.bin2hex_(output, input, count); } if( HPMHooks.count.HP_strlib_bin2hex__post ) { - bool (*postHookFunc) (bool retVal___, char *output, const unsigned char *input, size_t *count); + bool (*postHookFunc) (bool retVal___, char *output, const unsigned char *input, size_t count); for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_bin2hex__post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_strlib_bin2hex__post[hIndex].func; - retVal___ = postHookFunc(retVal___, output, input, &count); + retVal___ = postHookFunc(retVal___, output, input, count); } } return retVal___; @@ -17811,10 +17811,10 @@ int HP_sv_parse(const char *str, int len, int startoff, char delim, int *out_pos retVal___ = HPMHooks.source.sv.parse(str, len, startoff, delim, out_pos, npos, opt); } if( HPMHooks.count.HP_sv_parse_post ) { - int (*postHookFunc) (int retVal___, const char *str, int *len, int *startoff, char *delim, int *out_pos, int *npos, enum e_svopt *opt); + int (*postHookFunc) (int retVal___, const char *str, int len, int startoff, char delim, int *out_pos, int npos, enum e_svopt opt); for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_parse_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sv_parse_post[hIndex].func; - retVal___ = postHookFunc(retVal___, str, &len, &startoff, &delim, out_pos, &npos, &opt); + retVal___ = postHookFunc(retVal___, str, len, startoff, delim, out_pos, npos, opt); } } return retVal___; @@ -17838,10 +17838,10 @@ int HP_sv_split(char *str, int len, int startoff, char delim, char **out_fields, retVal___ = HPMHooks.source.sv.split(str, len, startoff, delim, out_fields, nfields, opt); } if( HPMHooks.count.HP_sv_split_post ) { - int (*postHookFunc) (int retVal___, char *str, int *len, int *startoff, char *delim, char **out_fields, int *nfields, enum e_svopt *opt); + int (*postHookFunc) (int retVal___, char *str, int len, int startoff, char delim, char **out_fields, int nfields, enum e_svopt opt); for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_split_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sv_split_post[hIndex].func; - retVal___ = postHookFunc(retVal___, str, &len, &startoff, &delim, out_fields, &nfields, &opt); + retVal___ = postHookFunc(retVal___, str, len, startoff, delim, out_fields, nfields, opt); } } return retVal___; @@ -17865,10 +17865,10 @@ size_t HP_sv_escape_c(char *out_dest, const char *src, size_t len, const char *e retVal___ = HPMHooks.source.sv.escape_c(out_dest, src, len, escapes); } if( HPMHooks.count.HP_sv_escape_c_post ) { - size_t (*postHookFunc) (size_t retVal___, char *out_dest, const char *src, size_t *len, const char *escapes); + size_t (*postHookFunc) (size_t retVal___, char *out_dest, const char *src, size_t len, const char *escapes); for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_escape_c_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sv_escape_c_post[hIndex].func; - retVal___ = postHookFunc(retVal___, out_dest, src, &len, escapes); + retVal___ = postHookFunc(retVal___, out_dest, src, len, escapes); } } return retVal___; @@ -17892,10 +17892,10 @@ size_t HP_sv_unescape_c(char *out_dest, const char *src, size_t len) { retVal___ = HPMHooks.source.sv.unescape_c(out_dest, src, len); } if( HPMHooks.count.HP_sv_unescape_c_post ) { - size_t (*postHookFunc) (size_t retVal___, char *out_dest, const char *src, size_t *len); + size_t (*postHookFunc) (size_t retVal___, char *out_dest, const char *src, size_t len); for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_unescape_c_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sv_unescape_c_post[hIndex].func; - retVal___ = postHookFunc(retVal___, out_dest, src, &len); + retVal___ = postHookFunc(retVal___, out_dest, src, len); } } return retVal___; @@ -17946,10 +17946,10 @@ bool HP_sv_readdb(const char *directory, const char *filename, char delim, int m retVal___ = HPMHooks.source.sv.readdb(directory, filename, delim, mincols, maxcols, maxrows, parseproc); } if( HPMHooks.count.HP_sv_readdb_post ) { - bool (*postHookFunc) (bool retVal___, const char *directory, const char *filename, char *delim, int *mincols, int *maxcols, int *maxrows, bool ( *parseproc ) (char *fields[], int columns, int current)); + bool (*postHookFunc) (bool retVal___, const char *directory, const char *filename, char delim, int mincols, int maxcols, int maxrows, bool ( *parseproc ) (char *fields[], int columns, int current)); for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_readdb_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_sv_readdb_post[hIndex].func; - retVal___ = postHookFunc(retVal___, directory, filename, &delim, &mincols, &maxcols, &maxrows, parseproc); + retVal___ = postHookFunc(retVal___, directory, filename, delim, mincols, maxcols, maxrows, parseproc); } } return retVal___; @@ -18512,10 +18512,10 @@ int HP_timer_add(int64 tick, TimerFunc func, int id, intptr_t data) { retVal___ = HPMHooks.source.timer.add(tick, func, id, data); } if( HPMHooks.count.HP_timer_add_post ) { - int (*postHookFunc) (int retVal___, int64 *tick, TimerFunc *func, int *id, intptr_t *data); + int (*postHookFunc) (int retVal___, int64 tick, TimerFunc func, int id, intptr_t data); for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_add_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_timer_add_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tick, &func, &id, &data); + retVal___ = postHookFunc(retVal___, tick, func, id, data); } } return retVal___; @@ -18539,10 +18539,10 @@ int HP_timer_add_interval(int64 tick, TimerFunc func, int id, intptr_t data, int retVal___ = HPMHooks.source.timer.add_interval(tick, func, id, data, interval); } if( HPMHooks.count.HP_timer_add_interval_post ) { - int (*postHookFunc) (int retVal___, int64 *tick, TimerFunc *func, int *id, intptr_t *data, int *interval); + int (*postHookFunc) (int retVal___, int64 tick, TimerFunc func, int id, intptr_t data, int interval); for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_add_interval_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_timer_add_interval_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tick, &func, &id, &data, &interval); + retVal___ = postHookFunc(retVal___, tick, func, id, data, interval); } } return retVal___; @@ -18566,10 +18566,10 @@ const struct TimerData* HP_timer_get(int tid) { retVal___ = HPMHooks.source.timer.get(tid); } if( HPMHooks.count.HP_timer_get_post ) { - const struct TimerData* (*postHookFunc) (const struct TimerData* retVal___, int *tid); + const struct TimerData* (*postHookFunc) (const struct TimerData* retVal___, int tid); for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_get_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_timer_get_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid); + retVal___ = postHookFunc(retVal___, tid); } } return retVal___; @@ -18593,10 +18593,10 @@ int HP_timer_delete(int tid, TimerFunc func) { retVal___ = HPMHooks.source.timer.delete(tid, func); } if( HPMHooks.count.HP_timer_delete_post ) { - int (*postHookFunc) (int retVal___, int *tid, TimerFunc *func); + int (*postHookFunc) (int retVal___, int tid, TimerFunc func); for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_delete_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_timer_delete_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &func); + retVal___ = postHookFunc(retVal___, tid, func); } } return retVal___; @@ -18620,10 +18620,10 @@ int64 HP_timer_addtick(int tid, int64 tick) { retVal___ = HPMHooks.source.timer.addtick(tid, tick); } if( HPMHooks.count.HP_timer_addtick_post ) { - int64 (*postHookFunc) (int64 retVal___, int *tid, int64 *tick); + int64 (*postHookFunc) (int64 retVal___, int tid, int64 tick); for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_addtick_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_timer_addtick_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick); + retVal___ = postHookFunc(retVal___, tid, tick); } } return retVal___; @@ -18647,10 +18647,10 @@ int64 HP_timer_settick(int tid, int64 tick) { retVal___ = HPMHooks.source.timer.settick(tid, tick); } if( HPMHooks.count.HP_timer_settick_post ) { - int64 (*postHookFunc) (int64 retVal___, int *tid, int64 *tick); + int64 (*postHookFunc) (int64 retVal___, int tid, int64 tick); for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_settick_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_timer_settick_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tid, &tick); + retVal___ = postHookFunc(retVal___, tid, tick); } } return retVal___; @@ -18674,10 +18674,10 @@ int HP_timer_add_func_list(TimerFunc func, char *name) { retVal___ = HPMHooks.source.timer.add_func_list(func, name); } if( HPMHooks.count.HP_timer_add_func_list_post ) { - int (*postHookFunc) (int retVal___, TimerFunc *func, char *name); + int (*postHookFunc) (int retVal___, TimerFunc func, char *name); for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_add_func_list_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_timer_add_func_list_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &func, name); + retVal___ = postHookFunc(retVal___, func, name); } } return retVal___; @@ -18728,10 +18728,10 @@ int HP_timer_perform(int64 tick) { retVal___ = HPMHooks.source.timer.perform(tick); } if( HPMHooks.count.HP_timer_perform_post ) { - int (*postHookFunc) (int retVal___, int64 *tick); + int (*postHookFunc) (int retVal___, int64 tick); for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_perform_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_timer_perform_post[hIndex].func; - retVal___ = postHookFunc(retVal___, &tick); + retVal___ = postHookFunc(retVal___, tick); } } return retVal___; |