summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-04-17 00:38:37 +0200
committerHaru <haru@dotalux.com>2016-04-30 15:57:50 +0200
commit7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1 (patch)
tree222361e4c4e2eb21fa059a61f5e37b1f7910fa61
parent8aacecc4bf47b40df0f78ef1ef58b2896bbbf299 (diff)
downloadhercules-7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1.tar.gz
hercules-7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1.tar.bz2
hercules-7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1.tar.xz
hercules-7eb4ae4d1f846c1877d3650e4548cb0cb141a2d1.zip
HPM Hooks Update
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Defs.inc4596
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.Hooks.inc1888
-rw-r--r--src/plugins/HPMHooking/HPMHooking_login.Hooks.inc620
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc7432
4 files changed, 7268 insertions, 7268 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc
index 56c9e61fe..848692b70 100644
--- a/src/plugins/HPMHooking/HPMHooking.Defs.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc
@@ -33,23 +33,23 @@ typedef FILE* (*HPMHOOK_post_HCache_open) (FILE* retVal___, const char *file, co
#endif // COMMON_UTILS_H
#ifdef MAP_ATCOMMAND_H /* atcommand */
typedef void (*HPMHOOK_pre_atcommand_init) (bool *minimal);
-typedef void (*HPMHOOK_post_atcommand_init) (bool *minimal);
+typedef void (*HPMHOOK_post_atcommand_init) (bool minimal);
typedef void (*HPMHOOK_pre_atcommand_final) (void);
typedef void (*HPMHOOK_post_atcommand_final) (void);
typedef bool (*HPMHOOK_pre_atcommand_exec) (const int *fd, struct map_session_data *sd, const char *message, bool *player_invoked);
-typedef bool (*HPMHOOK_post_atcommand_exec) (bool retVal___, const int *fd, struct map_session_data *sd, const char *message, bool *player_invoked);
+typedef bool (*HPMHOOK_post_atcommand_exec) (bool retVal___, const int fd, struct map_session_data *sd, const char *message, bool player_invoked);
typedef bool (*HPMHOOK_pre_atcommand_create) (char *name, AtCommandFunc *func);
-typedef bool (*HPMHOOK_post_atcommand_create) (bool retVal___, char *name, AtCommandFunc *func);
+typedef bool (*HPMHOOK_post_atcommand_create) (bool retVal___, char *name, AtCommandFunc func);
typedef bool (*HPMHOOK_pre_atcommand_can_use) (struct map_session_data *sd, const char *command);
typedef bool (*HPMHOOK_post_atcommand_can_use) (bool retVal___, struct map_session_data *sd, const char *command);
typedef bool (*HPMHOOK_pre_atcommand_can_use2) (struct map_session_data *sd, const char *command, AtCommandType *type);
-typedef bool (*HPMHOOK_post_atcommand_can_use2) (bool retVal___, struct map_session_data *sd, const char *command, AtCommandType *type);
+typedef bool (*HPMHOOK_post_atcommand_can_use2) (bool retVal___, struct map_session_data *sd, const char *command, AtCommandType type);
typedef void (*HPMHOOK_pre_atcommand_load_groups) (GroupSettings **groups, struct config_setting_t **commands_, size_t *sz);
-typedef void (*HPMHOOK_post_atcommand_load_groups) (GroupSettings **groups, struct config_setting_t **commands_, size_t *sz);
+typedef void (*HPMHOOK_post_atcommand_load_groups) (GroupSettings **groups, struct config_setting_t **commands_, size_t sz);
typedef AtCommandInfo* (*HPMHOOK_pre_atcommand_exists) (const char *name);
typedef AtCommandInfo* (*HPMHOOK_post_atcommand_exists) (AtCommandInfo* retVal___, const char *name);
typedef bool (*HPMHOOK_pre_atcommand_msg_read) (const char *cfg_name, bool *allow_override);
-typedef bool (*HPMHOOK_post_atcommand_msg_read) (bool retVal___, const char *cfg_name, bool *allow_override);
+typedef bool (*HPMHOOK_post_atcommand_msg_read) (bool retVal___, const char *cfg_name, bool allow_override);
typedef void (*HPMHOOK_pre_atcommand_final_msg) (void);
typedef void (*HPMHOOK_post_atcommand_final_msg) (void);
typedef struct atcmd_binding_data* (*HPMHOOK_pre_atcommand_get_bind_byname) (const char *name);
@@ -59,7 +59,7 @@ typedef AtCommandInfo* (*HPMHOOK_post_atcommand_get_info_byname) (AtCommandInfo*
typedef const char* (*HPMHOOK_pre_atcommand_check_alias) (const char *aliasname);
typedef const char* (*HPMHOOK_post_atcommand_check_alias) (const char* retVal___, const char *aliasname);
typedef void (*HPMHOOK_pre_atcommand_get_suggestions) (struct map_session_data *sd, const char *name, bool *is_atcmd_cmd);
-typedef void (*HPMHOOK_post_atcommand_get_suggestions) (struct map_session_data *sd, const char *name, bool *is_atcmd_cmd);
+typedef void (*HPMHOOK_post_atcommand_get_suggestions) (struct map_session_data *sd, const char *name, bool is_atcmd_cmd);
typedef void (*HPMHOOK_pre_atcommand_config_read) (const char *config_filename);
typedef void (*HPMHOOK_post_atcommand_config_read) (const char *config_filename);
typedef int (*HPMHOOK_pre_atcommand_stopattack) (struct block_list *bl, va_list ap);
@@ -73,7 +73,7 @@ typedef int (*HPMHOOK_post_atcommand_atkillmonster_sub) (int retVal___, struct b
typedef void (*HPMHOOK_pre_atcommand_raise_sub) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_atcommand_raise_sub) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_atcommand_get_jail_time) (int *jailtime, int *year, int *month, int *day, int *hour, int *minute);
-typedef void (*HPMHOOK_post_atcommand_get_jail_time) (int *jailtime, int *year, int *month, int *day, int *hour, int *minute);
+typedef void (*HPMHOOK_post_atcommand_get_jail_time) (int jailtime, int *year, int *month, int *day, int *hour, int *minute);
typedef int (*HPMHOOK_pre_atcommand_cleanfloor_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_atcommand_cleanfloor_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_atcommand_mutearea_sub) (struct block_list *bl, va_list ap);
@@ -81,91 +81,91 @@ typedef int (*HPMHOOK_post_atcommand_mutearea_sub) (int retVal___, struct block_
typedef void (*HPMHOOK_pre_atcommand_getring) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_atcommand_getring) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_atcommand_channel_help) (int *fd, const char *command, bool *can_create);
-typedef void (*HPMHOOK_post_atcommand_channel_help) (int *fd, const char *command, bool *can_create);
+typedef void (*HPMHOOK_post_atcommand_channel_help) (int fd, const char *command, bool can_create);
typedef void (*HPMHOOK_pre_atcommand_commands_sub) (struct map_session_data *sd, const int *fd, AtCommandType *type);
-typedef void (*HPMHOOK_post_atcommand_commands_sub) (struct map_session_data *sd, const int *fd, AtCommandType *type);
+typedef void (*HPMHOOK_post_atcommand_commands_sub) (struct map_session_data *sd, const int fd, AtCommandType type);
typedef void (*HPMHOOK_pre_atcommand_cmd_db_clear) (void);
typedef void (*HPMHOOK_post_atcommand_cmd_db_clear) (void);
typedef int (*HPMHOOK_pre_atcommand_cmd_db_clear_sub) (union DBKey *key, struct DBData *data, va_list args);
-typedef int (*HPMHOOK_post_atcommand_cmd_db_clear_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list args);
+typedef int (*HPMHOOK_post_atcommand_cmd_db_clear_sub) (int retVal___, union DBKey key, struct DBData *data, va_list args);
typedef void (*HPMHOOK_pre_atcommand_doload) (void);
typedef void (*HPMHOOK_post_atcommand_doload) (void);
typedef void (*HPMHOOK_pre_atcommand_base_commands) (void);
typedef void (*HPMHOOK_post_atcommand_base_commands) (void);
typedef bool (*HPMHOOK_pre_atcommand_add) (char *name, AtCommandFunc *func, bool *replace);
-typedef bool (*HPMHOOK_post_atcommand_add) (bool retVal___, char *name, AtCommandFunc *func, bool *replace);
+typedef bool (*HPMHOOK_post_atcommand_add) (bool retVal___, char *name, AtCommandFunc func, bool replace);
typedef const char* (*HPMHOOK_pre_atcommand_msg) (int *msg_number);
-typedef const char* (*HPMHOOK_post_atcommand_msg) (const char* retVal___, int *msg_number);
+typedef const char* (*HPMHOOK_post_atcommand_msg) (const char* retVal___, int msg_number);
typedef void (*HPMHOOK_pre_atcommand_expand_message_table) (void);
typedef void (*HPMHOOK_post_atcommand_expand_message_table) (void);
typedef const char* (*HPMHOOK_pre_atcommand_msgfd) (int *fd, int *msg_number);
-typedef const char* (*HPMHOOK_post_atcommand_msgfd) (const char* retVal___, int *fd, int *msg_number);
+typedef const char* (*HPMHOOK_post_atcommand_msgfd) (const char* retVal___, int fd, int msg_number);
typedef const char* (*HPMHOOK_pre_atcommand_msgsd) (struct map_session_data *sd, int *msg_number);
-typedef const char* (*HPMHOOK_post_atcommand_msgsd) (const char* retVal___, struct map_session_data *sd, int *msg_number);
+typedef const char* (*HPMHOOK_post_atcommand_msgsd) (const char* retVal___, struct map_session_data *sd, int msg_number);
#endif // MAP_ATCOMMAND_H
#ifdef MAP_BATTLE_H /* battle */
typedef void (*HPMHOOK_pre_battle_init) (bool *minimal);
-typedef void (*HPMHOOK_post_battle_init) (bool *minimal);
+typedef void (*HPMHOOK_post_battle_init) (bool minimal);
typedef void (*HPMHOOK_pre_battle_final) (void);
typedef void (*HPMHOOK_post_battle_final) (void);
typedef struct Damage (*HPMHOOK_pre_battle_calc_attack) (int *attack_type, struct block_list *bl, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *count);
-typedef struct Damage (*HPMHOOK_post_battle_calc_attack) (struct Damage retVal___, int *attack_type, struct block_list *bl, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *count);
+typedef struct Damage (*HPMHOOK_post_battle_calc_attack) (struct Damage retVal___, int attack_type, struct block_list *bl, struct block_list *target, uint16 skill_id, uint16 skill_lv, int count);
typedef int64 (*HPMHOOK_pre_battle_calc_damage) (struct block_list *src, struct block_list *bl, struct Damage *d, int64 *damage, uint16 *skill_id, uint16 *skill_lv);
-typedef int64 (*HPMHOOK_post_battle_calc_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, struct Damage *d, int64 *damage, uint16 *skill_id, uint16 *skill_lv);
+typedef int64 (*HPMHOOK_post_battle_calc_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, struct Damage *d, int64 damage, uint16 skill_id, uint16 skill_lv);
typedef int64 (*HPMHOOK_pre_battle_calc_gvg_damage) (struct block_list *src, struct block_list *bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
-typedef int64 (*HPMHOOK_post_battle_calc_gvg_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
+typedef int64 (*HPMHOOK_post_battle_calc_gvg_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 damage, int div_, uint16 skill_id, uint16 skill_lv, int flag);
typedef int64 (*HPMHOOK_pre_battle_calc_bg_damage) (struct block_list *src, struct block_list *bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
-typedef int64 (*HPMHOOK_post_battle_calc_bg_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
+typedef int64 (*HPMHOOK_post_battle_calc_bg_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 damage, int div_, uint16 skill_id, uint16 skill_lv, int flag);
typedef enum damage_lv (*HPMHOOK_pre_battle_weapon_attack) (struct block_list *bl, struct block_list *target, int64 *tick, int *flag);
-typedef enum damage_lv (*HPMHOOK_post_battle_weapon_attack) (enum damage_lv retVal___, struct block_list *bl, struct block_list *target, int64 *tick, int *flag);
+typedef enum damage_lv (*HPMHOOK_post_battle_weapon_attack) (enum damage_lv retVal___, struct block_list *bl, struct block_list *target, int64 tick, int flag);
typedef struct Damage (*HPMHOOK_pre_battle_calc_weapon_attack) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *wflag);
-typedef struct Damage (*HPMHOOK_post_battle_calc_weapon_attack) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *wflag);
+typedef struct Damage (*HPMHOOK_post_battle_calc_weapon_attack) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int wflag);
typedef int (*HPMHOOK_pre_battle_delay_damage) (int64 *tick, int *amotion, struct block_list *src, struct block_list *target, int *attack_type, uint16 *skill_id, uint16 *skill_lv, int64 *damage, enum damage_lv *dmg_lv, int *ddelay, bool *additional_effects);
-typedef int (*HPMHOOK_post_battle_delay_damage) (int retVal___, int64 *tick, int *amotion, struct block_list *src, struct block_list *target, int *attack_type, uint16 *skill_id, uint16 *skill_lv, int64 *damage, enum damage_lv *dmg_lv, int *ddelay, bool *additional_effects);
+typedef int (*HPMHOOK_post_battle_delay_damage) (int retVal___, int64 tick, int amotion, struct block_list *src, struct block_list *target, int attack_type, uint16 skill_id, uint16 skill_lv, int64 damage, enum damage_lv dmg_lv, int ddelay, bool additional_effects);
typedef void (*HPMHOOK_pre_battle_drain) (struct map_session_data *sd, struct block_list *tbl, int64 *rdamage, int64 *ldamage, int *race, int *boss);
-typedef void (*HPMHOOK_post_battle_drain) (struct map_session_data *sd, struct block_list *tbl, int64 *rdamage, int64 *ldamage, int *race, int *boss);
+typedef void (*HPMHOOK_post_battle_drain) (struct map_session_data *sd, struct block_list *tbl, int64 rdamage, int64 ldamage, int race, int boss);
typedef void (*HPMHOOK_pre_battle_reflect_damage) (struct block_list *target, struct block_list *src, struct Damage *wd, uint16 *skill_id);
-typedef void (*HPMHOOK_post_battle_reflect_damage) (struct block_list *target, struct block_list *src, struct Damage *wd, uint16 *skill_id);
+typedef void (*HPMHOOK_post_battle_reflect_damage) (struct block_list *target, struct block_list *src, struct Damage *wd, uint16 skill_id);
typedef int (*HPMHOOK_pre_battle_attr_ratio) (int *atk_elem, int *def_type, int *def_lv);
-typedef int (*HPMHOOK_post_battle_attr_ratio) (int retVal___, int *atk_elem, int *def_type, int *def_lv);
+typedef int (*HPMHOOK_post_battle_attr_ratio) (int retVal___, int atk_elem, int def_type, int def_lv);
typedef int64 (*HPMHOOK_pre_battle_attr_fix) (struct block_list *src, struct block_list *target, int64 *damage, int *atk_elem, int *def_type, int *def_lv);
-typedef int64 (*HPMHOOK_post_battle_attr_fix) (int64 retVal___, struct block_list *src, struct block_list *target, int64 *damage, int *atk_elem, int *def_type, int *def_lv);
+typedef int64 (*HPMHOOK_post_battle_attr_fix) (int64 retVal___, struct block_list *src, struct block_list *target, int64 damage, int atk_elem, int def_type, int def_lv);
typedef int64 (*HPMHOOK_pre_battle_calc_cardfix) (int *attack_type, struct block_list *src, struct block_list *target, int *nk, int *s_ele, int *s_ele_, int64 *damage, int *left, int *flag);
-typedef int64 (*HPMHOOK_post_battle_calc_cardfix) (int64 retVal___, int *attack_type, struct block_list *src, struct block_list *target, int *nk, int *s_ele, int *s_ele_, int64 *damage, int *left, int *flag);
+typedef int64 (*HPMHOOK_post_battle_calc_cardfix) (int64 retVal___, int attack_type, struct block_list *src, struct block_list *target, int nk, int s_ele, int s_ele_, int64 damage, int left, int flag);
typedef int64 (*HPMHOOK_pre_battle_calc_cardfix2) (struct block_list *src, struct block_list *bl, int64 *damage, int *s_ele, int *nk, int *flag);
-typedef int64 (*HPMHOOK_post_battle_calc_cardfix2) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 *damage, int *s_ele, int *nk, int *flag);
+typedef int64 (*HPMHOOK_post_battle_calc_cardfix2) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 damage, int s_ele, int nk, int flag);
typedef int64 (*HPMHOOK_pre_battle_calc_elefix) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *nk, int *n_ele, int *s_ele, int *s_ele_, bool *left, int *flag);
-typedef int64 (*HPMHOOK_post_battle_calc_elefix) (int64 retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *nk, int *n_ele, int *s_ele, int *s_ele_, bool *left, int *flag);
+typedef int64 (*HPMHOOK_post_battle_calc_elefix) (int64 retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int64 damage, int nk, int n_ele, int s_ele, int s_ele_, bool left, int flag);
typedef int64 (*HPMHOOK_pre_battle_calc_masteryfix) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *div, bool *left, bool *weapon);
-typedef int64 (*HPMHOOK_post_battle_calc_masteryfix) (int64 retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *div, bool *left, bool *weapon);
+typedef int64 (*HPMHOOK_post_battle_calc_masteryfix) (int64 retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int64 damage, int div, bool left, bool weapon);
typedef int (*HPMHOOK_pre_battle_calc_chorusbonus) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_battle_calc_chorusbonus) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_battle_calc_skillratio) (int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag);
-typedef int (*HPMHOOK_post_battle_calc_skillratio) (int retVal___, int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag);
+typedef int (*HPMHOOK_post_battle_calc_skillratio) (int retVal___, int attack_type, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int skillratio, int flag);
typedef int64 (*HPMHOOK_pre_battle_calc_sizefix) (struct map_session_data *sd, int64 *damage, int *type, int *size, bool *ignore);
-typedef int64 (*HPMHOOK_post_battle_calc_sizefix) (int64 retVal___, struct map_session_data *sd, int64 *damage, int *type, int *size, bool *ignore);
+typedef int64 (*HPMHOOK_post_battle_calc_sizefix) (int64 retVal___, struct map_session_data *sd, int64 damage, int type, int size, bool ignore);
typedef int64 (*HPMHOOK_pre_battle_calc_weapon_damage) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, struct weapon_atk *watk, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *size, int *type, int *flag, int *flag2);
-typedef int64 (*HPMHOOK_post_battle_calc_weapon_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, struct weapon_atk *watk, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *size, int *type, int *flag, int *flag2);
+typedef int64 (*HPMHOOK_post_battle_calc_weapon_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, struct weapon_atk *watk, int nk, bool n_ele, short s_ele, short s_ele_, int size, int type, int flag, int flag2);
typedef int64 (*HPMHOOK_pre_battle_calc_defense) (int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *flag, int *pdef);
-typedef int64 (*HPMHOOK_post_battle_calc_defense) (int64 retVal___, int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *flag, int *pdef);
+typedef int64 (*HPMHOOK_post_battle_calc_defense) (int64 retVal___, int attack_type, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int64 damage, int flag, int pdef);
typedef struct block_list* (*HPMHOOK_pre_battle_get_master) (struct block_list *src);
typedef struct block_list* (*HPMHOOK_post_battle_get_master) (struct block_list* retVal___, struct block_list *src);
typedef struct block_list* (*HPMHOOK_pre_battle_get_targeted) (struct block_list *target);
typedef struct block_list* (*HPMHOOK_post_battle_get_targeted) (struct block_list* retVal___, struct block_list *target);
typedef struct block_list* (*HPMHOOK_pre_battle_get_enemy) (struct block_list *target, int *type, int *range);
-typedef struct block_list* (*HPMHOOK_post_battle_get_enemy) (struct block_list* retVal___, struct block_list *target, int *type, int *range);
+typedef struct block_list* (*HPMHOOK_post_battle_get_enemy) (struct block_list* retVal___, struct block_list *target, int type, int range);
typedef int (*HPMHOOK_pre_battle_get_target) (struct block_list *bl);
typedef int (*HPMHOOK_post_battle_get_target) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_battle_get_current_skill) (struct block_list *bl);
typedef int (*HPMHOOK_post_battle_get_current_skill) (int retVal___, struct block_list *bl);
typedef bool (*HPMHOOK_pre_battle_check_undead) (int *race, int *element);
-typedef bool (*HPMHOOK_post_battle_check_undead) (bool retVal___, int *race, int *element);
+typedef bool (*HPMHOOK_post_battle_check_undead) (bool retVal___, int race, int element);
typedef int (*HPMHOOK_pre_battle_check_target) (struct block_list *src, struct block_list *target, int *flag);
-typedef int (*HPMHOOK_post_battle_check_target) (int retVal___, struct block_list *src, struct block_list *target, int *flag);
+typedef int (*HPMHOOK_post_battle_check_target) (int retVal___, struct block_list *src, struct block_list *target, int flag);
typedef bool (*HPMHOOK_pre_battle_check_range) (struct block_list *src, struct block_list *bl, int *range);
-typedef bool (*HPMHOOK_post_battle_check_range) (bool retVal___, struct block_list *src, struct block_list *bl, int *range);
+typedef bool (*HPMHOOK_post_battle_check_range) (bool retVal___, struct block_list *src, struct block_list *bl, int range);
typedef void (*HPMHOOK_pre_battle_consume_ammo) (struct map_session_data *sd, int *skill_id, int *lv);
-typedef void (*HPMHOOK_post_battle_consume_ammo) (struct map_session_data *sd, int *skill_id, int *lv);
+typedef void (*HPMHOOK_post_battle_consume_ammo) (struct map_session_data *sd, int skill_id, int lv);
typedef int (*HPMHOOK_pre_battle_get_targeted_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_battle_get_targeted_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_battle_get_enemy_sub) (struct block_list *bl, va_list ap);
@@ -173,25 +173,25 @@ typedef int (*HPMHOOK_post_battle_get_enemy_sub) (int retVal___, struct block_li
typedef int (*HPMHOOK_pre_battle_get_enemy_area_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_battle_get_enemy_area_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_battle_delay_damage_sub) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_battle_delay_damage_sub) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_battle_delay_damage_sub) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_battle_blewcount_bonus) (struct map_session_data *sd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_battle_blewcount_bonus) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_battle_blewcount_bonus) (int retVal___, struct map_session_data *sd, uint16 skill_id);
typedef int (*HPMHOOK_pre_battle_range_type) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_battle_range_type) (int retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_battle_range_type) (int retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv);
typedef int64 (*HPMHOOK_pre_battle_calc_base_damage) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *type, int *flag, int *flag2);
-typedef int64 (*HPMHOOK_post_battle_calc_base_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *type, int *flag, int *flag2);
+typedef int64 (*HPMHOOK_post_battle_calc_base_damage) (int64 retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int nk, bool n_ele, short s_ele, short s_ele_, int type, int flag, int flag2);
typedef int64 (*HPMHOOK_pre_battle_calc_base_damage2) (struct status_data *st, struct weapon_atk *wa, struct status_change *sc, unsigned short *t_size, struct map_session_data *sd, int *flag);
-typedef int64 (*HPMHOOK_post_battle_calc_base_damage2) (int64 retVal___, struct status_data *st, struct weapon_atk *wa, struct status_change *sc, unsigned short *t_size, struct map_session_data *sd, int *flag);
+typedef int64 (*HPMHOOK_post_battle_calc_base_damage2) (int64 retVal___, struct status_data *st, struct weapon_atk *wa, struct status_change *sc, unsigned short t_size, struct map_session_data *sd, int flag);
typedef struct Damage (*HPMHOOK_pre_battle_calc_misc_attack) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
-typedef struct Damage (*HPMHOOK_post_battle_calc_misc_attack) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
+typedef struct Damage (*HPMHOOK_post_battle_calc_misc_attack) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int mflag);
typedef struct Damage (*HPMHOOK_pre_battle_calc_magic_attack) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
-typedef struct Damage (*HPMHOOK_post_battle_calc_magic_attack) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
+typedef struct Damage (*HPMHOOK_post_battle_calc_magic_attack) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int mflag);
typedef int (*HPMHOOK_pre_battle_adjust_skill_damage) (int *m, unsigned short *skill_id);
-typedef int (*HPMHOOK_post_battle_adjust_skill_damage) (int retVal___, int *m, unsigned short *skill_id);
+typedef int (*HPMHOOK_post_battle_adjust_skill_damage) (int retVal___, int m, unsigned short skill_id);
typedef int64 (*HPMHOOK_pre_battle_add_mastery) (struct map_session_data *sd, struct block_list *target, int64 *dmg, int *type);
-typedef int64 (*HPMHOOK_post_battle_add_mastery) (int64 retVal___, struct map_session_data *sd, struct block_list *target, int64 *dmg, int *type);
+typedef int64 (*HPMHOOK_post_battle_add_mastery) (int64 retVal___, struct map_session_data *sd, struct block_list *target, int64 dmg, int type);
typedef int (*HPMHOOK_pre_battle_calc_drain) (int64 *damage, int *rate, int *per);
-typedef int (*HPMHOOK_post_battle_calc_drain) (int retVal___, int64 *damage, int *rate, int *per);
+typedef int (*HPMHOOK_post_battle_calc_drain) (int retVal___, int64 damage, int rate, int per);
typedef int (*HPMHOOK_pre_battle_config_read) (const char *cfgName);
typedef int (*HPMHOOK_post_battle_config_read) (int retVal___, const char *cfgName);
typedef void (*HPMHOOK_pre_battle_config_set_defaults) (void);
@@ -203,7 +203,7 @@ typedef bool (*HPMHOOK_post_battle_config_get_value) (bool retVal___, const char
typedef void (*HPMHOOK_pre_battle_config_adjust) (void);
typedef void (*HPMHOOK_post_battle_config_adjust) (void);
typedef struct block_list* (*HPMHOOK_pre_battle_get_enemy_area) (struct block_list *src, int *x, int *y, int *range, int *type, int *ignore_id);
-typedef struct block_list* (*HPMHOOK_post_battle_get_enemy_area) (struct block_list* retVal___, struct block_list *src, int *x, int *y, int *range, int *type, int *ignore_id);
+typedef struct block_list* (*HPMHOOK_post_battle_get_enemy_area) (struct block_list* retVal___, struct block_list *src, int x, int y, int range, int type, int ignore_id);
typedef int (*HPMHOOK_pre_battle_damage_area) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_battle_damage_area) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_battle_calc_masteryfix_unknown) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *div, bool *left, bool *weapon);
@@ -217,63 +217,63 @@ typedef void (*HPMHOOK_post_battle_calc_misc_attack_unknown) (struct block_list
#endif // MAP_BATTLE_H
#ifdef MAP_BATTLEGROUND_H /* bg */
typedef void (*HPMHOOK_pre_bg_init) (bool *minimal);
-typedef void (*HPMHOOK_post_bg_init) (bool *minimal);
+typedef void (*HPMHOOK_post_bg_init) (bool minimal);
typedef void (*HPMHOOK_pre_bg_final) (void);
typedef void (*HPMHOOK_post_bg_final) (void);
typedef struct bg_arena* (*HPMHOOK_pre_bg_name2arena) (const char *name);
typedef struct bg_arena* (*HPMHOOK_post_bg_name2arena) (struct bg_arena* retVal___, const char *name);
typedef void (*HPMHOOK_pre_bg_queue_add) (struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types *type);
-typedef void (*HPMHOOK_post_bg_queue_add) (struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types *type);
+typedef void (*HPMHOOK_post_bg_queue_add) (struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types type);
typedef enum BATTLEGROUNDS_QUEUE_ACK (*HPMHOOK_pre_bg_can_queue) (struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types *type);
-typedef enum BATTLEGROUNDS_QUEUE_ACK (*HPMHOOK_post_bg_can_queue) (enum BATTLEGROUNDS_QUEUE_ACK retVal___, struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types *type);
+typedef enum BATTLEGROUNDS_QUEUE_ACK (*HPMHOOK_post_bg_can_queue) (enum BATTLEGROUNDS_QUEUE_ACK retVal___, struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types type);
typedef int (*HPMHOOK_pre_bg_id2pos) (int *queue_id, int *account_id);
-typedef int (*HPMHOOK_post_bg_id2pos) (int retVal___, int *queue_id, int *account_id);
+typedef int (*HPMHOOK_post_bg_id2pos) (int retVal___, int queue_id, int account_id);
typedef void (*HPMHOOK_pre_bg_queue_pc_cleanup) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_bg_queue_pc_cleanup) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_bg_begin) (struct bg_arena *arena);
typedef void (*HPMHOOK_post_bg_begin) (struct bg_arena *arena);
typedef int (*HPMHOOK_pre_bg_begin_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_bg_begin_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_bg_begin_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_bg_queue_pregame) (struct bg_arena *arena);
typedef void (*HPMHOOK_post_bg_queue_pregame) (struct bg_arena *arena);
typedef int (*HPMHOOK_pre_bg_fillup_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_bg_fillup_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_bg_fillup_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_bg_queue_ready_ack) (struct bg_arena *arena, struct map_session_data *sd, bool *response);
-typedef void (*HPMHOOK_post_bg_queue_ready_ack) (struct bg_arena *arena, struct map_session_data *sd, bool *response);
+typedef void (*HPMHOOK_post_bg_queue_ready_ack) (struct bg_arena *arena, struct map_session_data *sd, bool response);
typedef void (*HPMHOOK_pre_bg_match_over) (struct bg_arena *arena, bool *canceled);
-typedef void (*HPMHOOK_post_bg_match_over) (struct bg_arena *arena, bool *canceled);
+typedef void (*HPMHOOK_post_bg_match_over) (struct bg_arena *arena, bool canceled);
typedef void (*HPMHOOK_pre_bg_queue_check) (struct bg_arena *arena);
typedef void (*HPMHOOK_post_bg_queue_check) (struct bg_arena *arena);
typedef struct battleground_data* (*HPMHOOK_pre_bg_team_search) (int *bg_id);
-typedef struct battleground_data* (*HPMHOOK_post_bg_team_search) (struct battleground_data* retVal___, int *bg_id);
+typedef struct battleground_data* (*HPMHOOK_post_bg_team_search) (struct battleground_data* retVal___, int bg_id);
typedef struct map_session_data* (*HPMHOOK_pre_bg_getavailablesd) (struct battleground_data *bgd);
typedef struct map_session_data* (*HPMHOOK_post_bg_getavailablesd) (struct map_session_data* retVal___, struct battleground_data *bgd);
typedef bool (*HPMHOOK_pre_bg_team_delete) (int *bg_id);
-typedef bool (*HPMHOOK_post_bg_team_delete) (bool retVal___, int *bg_id);
+typedef bool (*HPMHOOK_post_bg_team_delete) (bool retVal___, int bg_id);
typedef bool (*HPMHOOK_pre_bg_team_warp) (int *bg_id, unsigned short *map_index, short *x, short *y);
-typedef bool (*HPMHOOK_post_bg_team_warp) (bool retVal___, int *bg_id, unsigned short *map_index, short *x, short *y);
+typedef bool (*HPMHOOK_post_bg_team_warp) (bool retVal___, int bg_id, unsigned short map_index, short x, short y);
typedef void (*HPMHOOK_pre_bg_send_dot_remove) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_bg_send_dot_remove) (struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_bg_team_join) (int *bg_id, struct map_session_data *sd);
-typedef bool (*HPMHOOK_post_bg_team_join) (bool retVal___, int *bg_id, struct map_session_data *sd);
+typedef bool (*HPMHOOK_post_bg_team_join) (bool retVal___, int bg_id, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_bg_team_leave) (struct map_session_data *sd, enum bg_team_leave_type *flag);
-typedef int (*HPMHOOK_post_bg_team_leave) (int retVal___, struct map_session_data *sd, enum bg_team_leave_type *flag);
+typedef int (*HPMHOOK_post_bg_team_leave) (int retVal___, struct map_session_data *sd, enum bg_team_leave_type flag);
typedef bool (*HPMHOOK_pre_bg_member_respawn) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_bg_member_respawn) (bool retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_bg_create) (unsigned short *map_index, short *rx, short *ry, const char *ev, const char *dev);
-typedef int (*HPMHOOK_post_bg_create) (int retVal___, unsigned short *map_index, short *rx, short *ry, const char *ev, const char *dev);
+typedef int (*HPMHOOK_post_bg_create) (int retVal___, unsigned short map_index, short rx, short ry, const char *ev, const char *dev);
typedef int (*HPMHOOK_pre_bg_team_get_id) (struct block_list *bl);
typedef int (*HPMHOOK_post_bg_team_get_id) (int retVal___, struct block_list *bl);
typedef bool (*HPMHOOK_pre_bg_send_message) (struct map_session_data *sd, const char *mes);
typedef bool (*HPMHOOK_post_bg_send_message) (bool retVal___, struct map_session_data *sd, const char *mes);
typedef int (*HPMHOOK_pre_bg_send_xy_timer_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_bg_send_xy_timer_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_bg_send_xy_timer_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_bg_send_xy_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_bg_send_xy_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_bg_send_xy_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_bg_afk_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_bg_afk_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_bg_afk_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_bg_team_db_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_bg_team_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_bg_team_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef enum bg_queue_types (*HPMHOOK_pre_bg_str2teamtype) (const char *str);
typedef enum bg_queue_types (*HPMHOOK_post_bg_str2teamtype) (enum bg_queue_types retVal___, const char *str);
typedef void (*HPMHOOK_pre_bg_config_read) (void);
@@ -281,17 +281,17 @@ typedef void (*HPMHOOK_post_bg_config_read) (void);
#endif // MAP_BATTLEGROUND_H
#ifdef MAP_BUYINGSTORE_H /* buyingstore */
typedef bool (*HPMHOOK_pre_buyingstore_setup) (struct map_session_data *sd, unsigned char *slots);
-typedef bool (*HPMHOOK_post_buyingstore_setup) (bool retVal___, struct map_session_data *sd, unsigned char *slots);
+typedef bool (*HPMHOOK_post_buyingstore_setup) (bool retVal___, struct map_session_data *sd, unsigned char slots);
typedef void (*HPMHOOK_pre_buyingstore_create) (struct map_session_data *sd, int *zenylimit, unsigned char *result, const char *storename, const uint8 *itemlist, unsigned int *count);
-typedef void (*HPMHOOK_post_buyingstore_create) (struct map_session_data *sd, int *zenylimit, unsigned char *result, const char *storename, const uint8 *itemlist, unsigned int *count);
+typedef void (*HPMHOOK_post_buyingstore_create) (struct map_session_data *sd, int zenylimit, unsigned char result, const char *storename, const uint8 *itemlist, unsigned int count);
typedef void (*HPMHOOK_pre_buyingstore_close) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_buyingstore_close) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_buyingstore_open) (struct map_session_data *sd, int *account_id);
-typedef void (*HPMHOOK_post_buyingstore_open) (struct map_session_data *sd, int *account_id);
+typedef void (*HPMHOOK_post_buyingstore_open) (struct map_session_data *sd, int account_id);
typedef void (*HPMHOOK_pre_buyingstore_trade) (struct map_session_data *sd, int *account_id, unsigned int *buyer_id, const uint8 *itemlist, unsigned int *count);
-typedef void (*HPMHOOK_post_buyingstore_trade) (struct map_session_data *sd, int *account_id, unsigned int *buyer_id, const uint8 *itemlist, unsigned int *count);
+typedef void (*HPMHOOK_post_buyingstore_trade) (struct map_session_data *sd, int account_id, unsigned int buyer_id, const uint8 *itemlist, unsigned int count);
typedef bool (*HPMHOOK_pre_buyingstore_search) (struct map_session_data *sd, unsigned short *nameid);
-typedef bool (*HPMHOOK_post_buyingstore_search) (bool retVal___, struct map_session_data *sd, unsigned short *nameid);
+typedef bool (*HPMHOOK_post_buyingstore_search) (bool retVal___, struct map_session_data *sd, unsigned short nameid);
typedef bool (*HPMHOOK_pre_buyingstore_searchall) (struct map_session_data *sd, const struct s_search_store_search *s);
typedef bool (*HPMHOOK_post_buyingstore_searchall) (bool retVal___, struct map_session_data *sd, const struct s_search_store_search *s);
typedef unsigned int (*HPMHOOK_pre_buyingstore_getuid) (void);
@@ -299,13 +299,13 @@ typedef unsigned int (*HPMHOOK_post_buyingstore_getuid) (unsigned int retVal___)
#endif // MAP_BUYINGSTORE_H
#ifdef MAP_CHANNEL_H /* channel */
typedef int (*HPMHOOK_pre_channel_init) (bool *minimal);
-typedef int (*HPMHOOK_post_channel_init) (int retVal___, bool *minimal);
+typedef int (*HPMHOOK_post_channel_init) (int retVal___, bool minimal);
typedef void (*HPMHOOK_pre_channel_final) (void);
typedef void (*HPMHOOK_post_channel_final) (void);
typedef struct channel_data* (*HPMHOOK_pre_channel_search) (const char *name, struct map_session_data *sd);
typedef struct channel_data* (*HPMHOOK_post_channel_search) (struct channel_data* retVal___, const char *name, struct map_session_data *sd);
typedef struct channel_data* (*HPMHOOK_pre_channel_create) (enum channel_types *type, const char *name, unsigned char *color);
-typedef struct channel_data* (*HPMHOOK_post_channel_create) (struct channel_data* retVal___, enum channel_types *type, const char *name, unsigned char *color);
+typedef struct channel_data* (*HPMHOOK_post_channel_create) (struct channel_data* retVal___, enum channel_types type, const char *name, unsigned char color);
typedef void (*HPMHOOK_pre_channel_delete) (struct channel_data *chan);
typedef void (*HPMHOOK_post_channel_delete) (struct channel_data *chan);
typedef void (*HPMHOOK_pre_channel_set_password) (struct channel_data *chan, const char *password);
@@ -315,13 +315,13 @@ typedef enum channel_operation_status (*HPMHOOK_post_channel_ban) (enum channel_
typedef enum channel_operation_status (*HPMHOOK_pre_channel_unban) (struct channel_data *chan, const struct map_session_data *ssd, struct map_session_data *tsd);
typedef enum channel_operation_status (*HPMHOOK_post_channel_unban) (enum channel_operation_status retVal___, struct channel_data *chan, const struct map_session_data *ssd, struct map_session_data *tsd);
typedef void (*HPMHOOK_pre_channel_set_options) (struct channel_data *chan, unsigned int *options);
-typedef void (*HPMHOOK_post_channel_set_options) (struct channel_data *chan, unsigned int *options);
+typedef void (*HPMHOOK_post_channel_set_options) (struct channel_data *chan, unsigned int options);
typedef void (*HPMHOOK_pre_channel_send) (struct channel_data *chan, struct map_session_data *sd, const char *msg);
typedef void (*HPMHOOK_post_channel_send) (struct channel_data *chan, struct map_session_data *sd, const char *msg);
typedef void (*HPMHOOK_pre_channel_join_sub) (struct channel_data *chan, struct map_session_data *sd, bool *stealth);
-typedef void (*HPMHOOK_post_channel_join_sub) (struct channel_data *chan, struct map_session_data *sd, bool *stealth);
+typedef void (*HPMHOOK_post_channel_join_sub) (struct channel_data *chan, struct map_session_data *sd, bool stealth);
typedef enum channel_operation_status (*HPMHOOK_pre_channel_join) (struct channel_data *chan, struct map_session_data *sd, const char *password, bool *silent);
-typedef enum channel_operation_status (*HPMHOOK_post_channel_join) (enum channel_operation_status retVal___, struct channel_data *chan, struct map_session_data *sd, const char *password, bool *silent);
+typedef enum channel_operation_status (*HPMHOOK_post_channel_join) (enum channel_operation_status retVal___, struct channel_data *chan, struct map_session_data *sd, const char *password, bool silent);
typedef void (*HPMHOOK_pre_channel_leave) (struct channel_data *chan, struct map_session_data *sd);
typedef void (*HPMHOOK_post_channel_leave) (struct channel_data *chan, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_channel_leave_sub) (struct channel_data *chan, struct map_session_data *sd);
@@ -343,315 +343,315 @@ typedef void (*HPMHOOK_post_channel_config_read) (void);
#endif // MAP_CHANNEL_H
#ifdef CHAR_CHAR_H /* chr */
typedef int (*HPMHOOK_pre_chr_waiting_disconnect) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_chr_waiting_disconnect) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_chr_waiting_disconnect) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_chr_delete_char_sql) (int *char_id);
-typedef int (*HPMHOOK_post_chr_delete_char_sql) (int retVal___, int *char_id);
+typedef int (*HPMHOOK_post_chr_delete_char_sql) (int retVal___, int char_id);
typedef struct DBData (*HPMHOOK_pre_chr_create_online_char_data) (union DBKey *key, va_list args);
-typedef struct DBData (*HPMHOOK_post_chr_create_online_char_data) (struct DBData retVal___, union DBKey *key, va_list args);
+typedef struct DBData (*HPMHOOK_post_chr_create_online_char_data) (struct DBData retVal___, union DBKey key, va_list args);
typedef void (*HPMHOOK_pre_chr_set_account_online) (int *account_id);
-typedef void (*HPMHOOK_post_chr_set_account_online) (int *account_id);
+typedef void (*HPMHOOK_post_chr_set_account_online) (int account_id);
typedef void (*HPMHOOK_pre_chr_set_account_offline) (int *account_id);
-typedef void (*HPMHOOK_post_chr_set_account_offline) (int *account_id);
+typedef void (*HPMHOOK_post_chr_set_account_offline) (int account_id);
typedef void (*HPMHOOK_pre_chr_set_char_charselect) (int *account_id);
-typedef void (*HPMHOOK_post_chr_set_char_charselect) (int *account_id);
+typedef void (*HPMHOOK_post_chr_set_char_charselect) (int account_id);
typedef void (*HPMHOOK_pre_chr_set_char_online) (int *map_id, int *char_id, int *account_id);
-typedef void (*HPMHOOK_post_chr_set_char_online) (int *map_id, int *char_id, int *account_id);
+typedef void (*HPMHOOK_post_chr_set_char_online) (int map_id, int char_id, int account_id);
typedef void (*HPMHOOK_pre_chr_set_char_offline) (int *char_id, int *account_id);
-typedef void (*HPMHOOK_post_chr_set_char_offline) (int *char_id, int *account_id);
+typedef void (*HPMHOOK_post_chr_set_char_offline) (int char_id, int account_id);
typedef int (*HPMHOOK_pre_chr_db_setoffline) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_chr_db_setoffline) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_chr_db_setoffline) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_chr_db_kickoffline) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_chr_db_kickoffline) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_chr_db_kickoffline) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_chr_set_login_all_offline) (void);
typedef void (*HPMHOOK_post_chr_set_login_all_offline) (void);
typedef void (*HPMHOOK_pre_chr_set_all_offline) (int *id);
-typedef void (*HPMHOOK_post_chr_set_all_offline) (int *id);
+typedef void (*HPMHOOK_post_chr_set_all_offline) (int id);
typedef void (*HPMHOOK_pre_chr_set_all_offline_sql) (void);
typedef void (*HPMHOOK_post_chr_set_all_offline_sql) (void);
typedef struct DBData (*HPMHOOK_pre_chr_create_charstatus) (union DBKey *key, va_list args);
-typedef struct DBData (*HPMHOOK_post_chr_create_charstatus) (struct DBData retVal___, union DBKey *key, va_list args);
+typedef struct DBData (*HPMHOOK_post_chr_create_charstatus) (struct DBData retVal___, union DBKey key, va_list args);
typedef int (*HPMHOOK_pre_chr_mmo_char_tosql) (int *char_id, struct mmo_charstatus *p);
-typedef int (*HPMHOOK_post_chr_mmo_char_tosql) (int retVal___, int *char_id, struct mmo_charstatus *p);
+typedef int (*HPMHOOK_post_chr_mmo_char_tosql) (int retVal___, int char_id, struct mmo_charstatus *p);
typedef int (*HPMHOOK_pre_chr_memitemdata_to_sql) (const struct item *items[], int *max, int *id, int *tableswitch);
-typedef int (*HPMHOOK_post_chr_memitemdata_to_sql) (int retVal___, const struct item *items[], int *max, int *id, int *tableswitch);
+typedef int (*HPMHOOK_post_chr_memitemdata_to_sql) (int retVal___, const struct item items[], int max, int id, int tableswitch);
typedef int (*HPMHOOK_pre_chr_mmo_gender) (const struct char_session_data *sd, const struct mmo_charstatus *p, char *sex);
-typedef int (*HPMHOOK_post_chr_mmo_gender) (int retVal___, const struct char_session_data *sd, const struct mmo_charstatus *p, char *sex);
+typedef int (*HPMHOOK_post_chr_mmo_gender) (int retVal___, const struct char_session_data *sd, const struct mmo_charstatus *p, char sex);
typedef int (*HPMHOOK_pre_chr_mmo_chars_fromsql) (struct char_session_data *sd, uint8 *buf);
typedef int (*HPMHOOK_post_chr_mmo_chars_fromsql) (int retVal___, struct char_session_data *sd, uint8 *buf);
typedef int (*HPMHOOK_pre_chr_mmo_char_fromsql) (int *char_id, struct mmo_charstatus *p, bool *load_everything);
-typedef int (*HPMHOOK_post_chr_mmo_char_fromsql) (int retVal___, int *char_id, struct mmo_charstatus *p, bool *load_everything);
+typedef int (*HPMHOOK_post_chr_mmo_char_fromsql) (int retVal___, int char_id, struct mmo_charstatus *p, bool load_everything);
typedef int (*HPMHOOK_pre_chr_mmo_char_sql_init) (void);
typedef int (*HPMHOOK_post_chr_mmo_char_sql_init) (int retVal___);
typedef bool (*HPMHOOK_pre_chr_char_slotchange) (struct char_session_data *sd, int *fd, unsigned short *from, unsigned short *to);
-typedef bool (*HPMHOOK_post_chr_char_slotchange) (bool retVal___, struct char_session_data *sd, int *fd, unsigned short *from, unsigned short *to);
+typedef bool (*HPMHOOK_post_chr_char_slotchange) (bool retVal___, struct char_session_data *sd, int fd, unsigned short from, unsigned short to);
typedef int (*HPMHOOK_pre_chr_rename_char_sql) (struct char_session_data *sd, int *char_id);
-typedef int (*HPMHOOK_post_chr_rename_char_sql) (int retVal___, struct char_session_data *sd, int *char_id);
+typedef int (*HPMHOOK_post_chr_rename_char_sql) (int retVal___, struct char_session_data *sd, int char_id);
typedef int (*HPMHOOK_pre_chr_check_char_name) (char *name, char *esc_name);
typedef int (*HPMHOOK_post_chr_check_char_name) (int retVal___, char *name, char *esc_name);
typedef int (*HPMHOOK_pre_chr_make_new_char_sql) (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);
-typedef int (*HPMHOOK_post_chr_make_new_char_sql) (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);
+typedef int (*HPMHOOK_post_chr_make_new_char_sql) (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);
typedef int (*HPMHOOK_pre_chr_divorce_char_sql) (int *partner_id1, int *partner_id2);
-typedef int (*HPMHOOK_post_chr_divorce_char_sql) (int retVal___, int *partner_id1, int *partner_id2);
+typedef int (*HPMHOOK_post_chr_divorce_char_sql) (int retVal___, int partner_id1, int partner_id2);
typedef int (*HPMHOOK_pre_chr_count_users) (void);
typedef int (*HPMHOOK_post_chr_count_users) (int retVal___);
typedef int (*HPMHOOK_pre_chr_mmo_char_tobuf) (uint8 *buffer, struct mmo_charstatus *p);
typedef int (*HPMHOOK_post_chr_mmo_char_tobuf) (int retVal___, uint8 *buffer, struct mmo_charstatus *p);
typedef void (*HPMHOOK_pre_chr_mmo_char_send099d) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_mmo_char_send099d) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_mmo_char_send099d) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_mmo_char_send_ban_list) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_mmo_char_send_ban_list) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_mmo_char_send_ban_list) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_mmo_char_send_slots_info) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_mmo_char_send_slots_info) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_mmo_char_send_slots_info) (int fd, struct char_session_data *sd);
typedef int (*HPMHOOK_pre_chr_mmo_char_send_characters) (int *fd, struct char_session_data *sd);
-typedef int (*HPMHOOK_post_chr_mmo_char_send_characters) (int retVal___, int *fd, struct char_session_data *sd);
+typedef int (*HPMHOOK_post_chr_mmo_char_send_characters) (int retVal___, int fd, struct char_session_data *sd);
typedef int (*HPMHOOK_pre_chr_char_married) (int *pl1, int *pl2);
-typedef int (*HPMHOOK_post_chr_char_married) (int retVal___, int *pl1, int *pl2);
+typedef int (*HPMHOOK_post_chr_char_married) (int retVal___, int pl1, int pl2);
typedef int (*HPMHOOK_pre_chr_char_child) (int *parent_id, int *child_id);
-typedef int (*HPMHOOK_post_chr_char_child) (int retVal___, int *parent_id, int *child_id);
+typedef int (*HPMHOOK_post_chr_char_child) (int retVal___, int parent_id, int child_id);
typedef int (*HPMHOOK_pre_chr_char_family) (int *cid1, int *cid2, int *cid3);
-typedef int (*HPMHOOK_post_chr_char_family) (int retVal___, int *cid1, int *cid2, int *cid3);
+typedef int (*HPMHOOK_post_chr_char_family) (int retVal___, int cid1, int cid2, int cid3);
typedef void (*HPMHOOK_pre_chr_disconnect_player) (int *account_id);
-typedef void (*HPMHOOK_post_chr_disconnect_player) (int *account_id);
+typedef void (*HPMHOOK_post_chr_disconnect_player) (int account_id);
typedef void (*HPMHOOK_pre_chr_authfail_fd) (int *fd, int *type);
-typedef void (*HPMHOOK_post_chr_authfail_fd) (int *fd, int *type);
+typedef void (*HPMHOOK_post_chr_authfail_fd) (int fd, int type);
typedef void (*HPMHOOK_pre_chr_request_account_data) (int *account_id);
-typedef void (*HPMHOOK_post_chr_request_account_data) (int *account_id);
+typedef void (*HPMHOOK_post_chr_request_account_data) (int account_id);
typedef void (*HPMHOOK_pre_chr_auth_ok) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_auth_ok) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_auth_ok) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_ping_login_server) (int *fd);
-typedef void (*HPMHOOK_post_chr_ping_login_server) (int *fd);
+typedef void (*HPMHOOK_post_chr_ping_login_server) (int fd);
typedef int (*HPMHOOK_pre_chr_parse_fromlogin_connection_state) (int *fd);
-typedef int (*HPMHOOK_post_chr_parse_fromlogin_connection_state) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chr_parse_fromlogin_connection_state) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_chr_auth_error) (int *fd, unsigned char *flag);
-typedef void (*HPMHOOK_post_chr_auth_error) (int *fd, unsigned char *flag);
+typedef void (*HPMHOOK_post_chr_auth_error) (int fd, unsigned char flag);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_auth_state) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_auth_state) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_auth_state) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_account_data) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_account_data) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_account_data) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_login_pong) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_login_pong) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_login_pong) (int fd);
typedef void (*HPMHOOK_pre_chr_changesex) (int *account_id, int *sex);
-typedef void (*HPMHOOK_post_chr_changesex) (int *account_id, int *sex);
+typedef void (*HPMHOOK_post_chr_changesex) (int account_id, int sex);
typedef int (*HPMHOOK_pre_chr_parse_fromlogin_changesex_reply) (int *fd);
-typedef int (*HPMHOOK_post_chr_parse_fromlogin_changesex_reply) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chr_parse_fromlogin_changesex_reply) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_account_reg2) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_account_reg2) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_account_reg2) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_ban) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_ban) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_ban) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_kick) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_kick) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_kick) (int fd);
typedef void (*HPMHOOK_pre_chr_update_ip) (int *fd);
-typedef void (*HPMHOOK_post_chr_update_ip) (int *fd);
+typedef void (*HPMHOOK_post_chr_update_ip) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_update_ip) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_update_ip) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_update_ip) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_accinfo2_failed) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_accinfo2_failed) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_accinfo2_failed) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_fromlogin_accinfo2_ok) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_fromlogin_accinfo2_ok) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_fromlogin_accinfo2_ok) (int fd);
typedef int (*HPMHOOK_pre_chr_parse_fromlogin) (int *fd);
-typedef int (*HPMHOOK_post_chr_parse_fromlogin) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chr_parse_fromlogin) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_chr_request_accreg2) (int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_chr_request_accreg2) (int retVal___, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_chr_request_accreg2) (int retVal___, int account_id, int char_id);
typedef void (*HPMHOOK_pre_chr_global_accreg_to_login_start) (int *account_id, int *char_id);
-typedef void (*HPMHOOK_post_chr_global_accreg_to_login_start) (int *account_id, int *char_id);
+typedef void (*HPMHOOK_post_chr_global_accreg_to_login_start) (int account_id, int char_id);
typedef void (*HPMHOOK_pre_chr_global_accreg_to_login_send) (void);
typedef void (*HPMHOOK_post_chr_global_accreg_to_login_send) (void);
typedef void (*HPMHOOK_pre_chr_global_accreg_to_login_add) (const char *key, unsigned int *index, intptr_t *val, bool *is_string);
-typedef void (*HPMHOOK_post_chr_global_accreg_to_login_add) (const char *key, unsigned int *index, intptr_t *val, bool *is_string);
+typedef void (*HPMHOOK_post_chr_global_accreg_to_login_add) (const char *key, unsigned int index, intptr_t val, bool is_string);
typedef void (*HPMHOOK_pre_chr_read_fame_list) (void);
typedef void (*HPMHOOK_post_chr_read_fame_list) (void);
typedef int (*HPMHOOK_pre_chr_send_fame_list) (int *fd);
-typedef int (*HPMHOOK_post_chr_send_fame_list) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chr_send_fame_list) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_chr_update_fame_list) (int *type, int *index, int *fame);
-typedef void (*HPMHOOK_post_chr_update_fame_list) (int *type, int *index, int *fame);
+typedef void (*HPMHOOK_post_chr_update_fame_list) (int type, int index, int fame);
typedef int (*HPMHOOK_pre_chr_loadName) (int *char_id, char *name);
-typedef int (*HPMHOOK_post_chr_loadName) (int retVal___, int *char_id, char *name);
+typedef int (*HPMHOOK_post_chr_loadName) (int retVal___, int char_id, char *name);
typedef void (*HPMHOOK_pre_chr_parse_frommap_datasync) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_datasync) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_datasync) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_skillid2idx) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_skillid2idx) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_skillid2idx) (int fd);
typedef void (*HPMHOOK_pre_chr_map_received_ok) (int *fd);
-typedef void (*HPMHOOK_post_chr_map_received_ok) (int *fd);
+typedef void (*HPMHOOK_post_chr_map_received_ok) (int fd);
typedef void (*HPMHOOK_pre_chr_send_maps) (int *fd, int *id, int *j);
-typedef void (*HPMHOOK_post_chr_send_maps) (int *fd, int *id, int *j);
+typedef void (*HPMHOOK_post_chr_send_maps) (int fd, int id, int j);
typedef void (*HPMHOOK_pre_chr_parse_frommap_map_names) (int *fd, int *id);
-typedef void (*HPMHOOK_post_chr_parse_frommap_map_names) (int *fd, int *id);
+typedef void (*HPMHOOK_post_chr_parse_frommap_map_names) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_send_scdata) (int *fd, int *aid, int *cid);
-typedef void (*HPMHOOK_post_chr_send_scdata) (int *fd, int *aid, int *cid);
+typedef void (*HPMHOOK_post_chr_send_scdata) (int fd, int aid, int cid);
typedef void (*HPMHOOK_pre_chr_parse_frommap_request_scdata) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_request_scdata) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_request_scdata) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_set_users_count) (int *fd, int *id);
-typedef void (*HPMHOOK_post_chr_parse_frommap_set_users_count) (int *fd, int *id);
+typedef void (*HPMHOOK_post_chr_parse_frommap_set_users_count) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_parse_frommap_set_users) (int *fd, int *id);
-typedef void (*HPMHOOK_post_chr_parse_frommap_set_users) (int *fd, int *id);
+typedef void (*HPMHOOK_post_chr_parse_frommap_set_users) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_save_character_ack) (int *fd, int *aid, int *cid);
-typedef void (*HPMHOOK_post_chr_save_character_ack) (int *fd, int *aid, int *cid);
+typedef void (*HPMHOOK_post_chr_save_character_ack) (int fd, int aid, int cid);
typedef void (*HPMHOOK_pre_chr_parse_frommap_save_character) (int *fd, int *id);
-typedef void (*HPMHOOK_post_chr_parse_frommap_save_character) (int *fd, int *id);
+typedef void (*HPMHOOK_post_chr_parse_frommap_save_character) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_select_ack) (int *fd, int *account_id, uint8 *flag);
-typedef void (*HPMHOOK_post_chr_select_ack) (int *fd, int *account_id, uint8 *flag);
+typedef void (*HPMHOOK_post_chr_select_ack) (int fd, int account_id, uint8 flag);
typedef void (*HPMHOOK_pre_chr_parse_frommap_char_select_req) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_char_select_req) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_char_select_req) (int fd);
typedef void (*HPMHOOK_pre_chr_change_map_server_ack) (int *fd, const uint8 *data, bool *ok);
-typedef void (*HPMHOOK_post_chr_change_map_server_ack) (int *fd, const uint8 *data, bool *ok);
+typedef void (*HPMHOOK_post_chr_change_map_server_ack) (int fd, const uint8 *data, bool ok);
typedef void (*HPMHOOK_pre_chr_parse_frommap_change_map_server) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_change_map_server) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_change_map_server) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_remove_friend) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_remove_friend) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_remove_friend) (int fd);
typedef void (*HPMHOOK_pre_chr_char_name_ack) (int *fd, int *char_id);
-typedef void (*HPMHOOK_post_chr_char_name_ack) (int *fd, int *char_id);
+typedef void (*HPMHOOK_post_chr_char_name_ack) (int fd, int char_id);
typedef void (*HPMHOOK_pre_chr_parse_frommap_char_name_request) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_char_name_request) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_char_name_request) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_change_email) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_change_email) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_change_email) (int fd);
typedef void (*HPMHOOK_pre_chr_ban) (int *account_id, int *char_id, time_t *unban_time, short *year, short *month, short *day, short *hour, short *minute, short *second);
-typedef void (*HPMHOOK_post_chr_ban) (int *account_id, int *char_id, time_t *unban_time, short *year, short *month, short *day, short *hour, short *minute, short *second);
+typedef void (*HPMHOOK_post_chr_ban) (int account_id, int char_id, time_t *unban_time, short year, short month, short day, short hour, short minute, short second);
typedef void (*HPMHOOK_pre_chr_unban) (int *char_id, int *result);
-typedef void (*HPMHOOK_post_chr_unban) (int *char_id, int *result);
+typedef void (*HPMHOOK_post_chr_unban) (int char_id, int *result);
typedef void (*HPMHOOK_pre_chr_ask_name_ack) (int *fd, int *acc, const char *name, int *type, int *result);
-typedef void (*HPMHOOK_post_chr_ask_name_ack) (int *fd, int *acc, const char *name, int *type, int *result);
+typedef void (*HPMHOOK_post_chr_ask_name_ack) (int fd, int acc, const char *name, int type, int result);
typedef int (*HPMHOOK_pre_chr_changecharsex) (int *char_id, int *sex);
-typedef int (*HPMHOOK_post_chr_changecharsex) (int retVal___, int *char_id, int *sex);
+typedef int (*HPMHOOK_post_chr_changecharsex) (int retVal___, int char_id, int sex);
typedef void (*HPMHOOK_pre_chr_parse_frommap_change_account) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_change_account) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_change_account) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_fame_list) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_fame_list) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_fame_list) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_divorce_char) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_divorce_char) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_divorce_char) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_ragsrvinfo) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_ragsrvinfo) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_ragsrvinfo) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_set_char_offline) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_set_char_offline) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_set_char_offline) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_set_all_offline) (int *fd, int *id);
-typedef void (*HPMHOOK_post_chr_parse_frommap_set_all_offline) (int *fd, int *id);
+typedef void (*HPMHOOK_post_chr_parse_frommap_set_all_offline) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_parse_frommap_set_char_online) (int *fd, int *id);
-typedef void (*HPMHOOK_post_chr_parse_frommap_set_char_online) (int *fd, int *id);
+typedef void (*HPMHOOK_post_chr_parse_frommap_set_char_online) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_parse_frommap_build_fame_list) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_build_fame_list) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_build_fame_list) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_save_status_change_data) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_save_status_change_data) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_save_status_change_data) (int fd);
typedef void (*HPMHOOK_pre_chr_send_pong) (int *fd);
-typedef void (*HPMHOOK_post_chr_send_pong) (int *fd);
+typedef void (*HPMHOOK_post_chr_send_pong) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_ping) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_ping) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_ping) (int fd);
typedef void (*HPMHOOK_pre_chr_map_auth_ok) (int *fd, int *account_id, struct char_auth_node *node, struct mmo_charstatus *cd);
-typedef void (*HPMHOOK_post_chr_map_auth_ok) (int *fd, int *account_id, struct char_auth_node *node, struct mmo_charstatus *cd);
+typedef void (*HPMHOOK_post_chr_map_auth_ok) (int fd, int account_id, struct char_auth_node *node, struct mmo_charstatus *cd);
typedef void (*HPMHOOK_pre_chr_map_auth_failed) (int *fd, int *account_id, int *char_id, int *login_id1, char *sex, uint32 *ip);
-typedef void (*HPMHOOK_post_chr_map_auth_failed) (int *fd, int *account_id, int *char_id, int *login_id1, char *sex, uint32 *ip);
+typedef void (*HPMHOOK_post_chr_map_auth_failed) (int fd, int account_id, int char_id, int login_id1, char sex, uint32 ip);
typedef void (*HPMHOOK_pre_chr_parse_frommap_auth_request) (int *fd, int *id);
-typedef void (*HPMHOOK_post_chr_parse_frommap_auth_request) (int *fd, int *id);
+typedef void (*HPMHOOK_post_chr_parse_frommap_auth_request) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_parse_frommap_update_ip) (int *fd, int *id);
-typedef void (*HPMHOOK_post_chr_parse_frommap_update_ip) (int *fd, int *id);
+typedef void (*HPMHOOK_post_chr_parse_frommap_update_ip) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_parse_frommap_request_stats_report) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_request_stats_report) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_request_stats_report) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_scdata_update) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_scdata_update) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_scdata_update) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_scdata_delete) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_scdata_delete) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_frommap_scdata_delete) (int fd);
typedef int (*HPMHOOK_pre_chr_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_chr_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chr_parse_frommap) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_chr_search_mapserver) (unsigned short *map, uint32 *ip, uint16 *port);
-typedef int (*HPMHOOK_post_chr_search_mapserver) (int retVal___, unsigned short *map, uint32 *ip, uint16 *port);
+typedef int (*HPMHOOK_post_chr_search_mapserver) (int retVal___, unsigned short map, uint32 ip, uint16 port);
typedef int (*HPMHOOK_pre_chr_mapif_init) (int *fd);
-typedef int (*HPMHOOK_post_chr_mapif_init) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chr_mapif_init) (int retVal___, int fd);
typedef uint32 (*HPMHOOK_pre_chr_lan_subnet_check) (uint32 *ip);
-typedef uint32 (*HPMHOOK_post_chr_lan_subnet_check) (uint32 retVal___, uint32 *ip);
+typedef uint32 (*HPMHOOK_post_chr_lan_subnet_check) (uint32 retVal___, uint32 ip);
typedef void (*HPMHOOK_pre_chr_delete2_ack) (int *fd, int *char_id, uint32 *result, time_t *delete_date);
-typedef void (*HPMHOOK_post_chr_delete2_ack) (int *fd, int *char_id, uint32 *result, time_t *delete_date);
+typedef void (*HPMHOOK_post_chr_delete2_ack) (int fd, int char_id, uint32 result, time_t delete_date);
typedef void (*HPMHOOK_pre_chr_delete2_accept_actual_ack) (int *fd, int *char_id, uint32 *result);
-typedef void (*HPMHOOK_post_chr_delete2_accept_actual_ack) (int *fd, int *char_id, uint32 *result);
+typedef void (*HPMHOOK_post_chr_delete2_accept_actual_ack) (int fd, int char_id, uint32 result);
typedef void (*HPMHOOK_pre_chr_delete2_accept_ack) (int *fd, int *char_id, uint32 *result);
-typedef void (*HPMHOOK_post_chr_delete2_accept_ack) (int *fd, int *char_id, uint32 *result);
+typedef void (*HPMHOOK_post_chr_delete2_accept_ack) (int fd, int char_id, uint32 result);
typedef void (*HPMHOOK_pre_chr_delete2_cancel_ack) (int *fd, int *char_id, uint32 *result);
-typedef void (*HPMHOOK_post_chr_delete2_cancel_ack) (int *fd, int *char_id, uint32 *result);
+typedef void (*HPMHOOK_post_chr_delete2_cancel_ack) (int fd, int char_id, uint32 result);
typedef void (*HPMHOOK_pre_chr_delete2_req) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_delete2_req) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_delete2_req) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_delete2_accept) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_delete2_accept) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_delete2_accept) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_delete2_cancel) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_delete2_cancel) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_delete2_cancel) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_send_account_id) (int *fd, int *account_id);
-typedef void (*HPMHOOK_post_chr_send_account_id) (int *fd, int *account_id);
+typedef void (*HPMHOOK_post_chr_send_account_id) (int fd, int account_id);
typedef void (*HPMHOOK_pre_chr_parse_char_connect) (int *fd, struct char_session_data *sd, uint32 *ipl);
-typedef void (*HPMHOOK_post_chr_parse_char_connect) (int *fd, struct char_session_data *sd, uint32 *ipl);
+typedef void (*HPMHOOK_post_chr_parse_char_connect) (int fd, struct char_session_data *sd, uint32 ipl);
typedef void (*HPMHOOK_pre_chr_send_map_info) (int *fd, int *i, uint32 *subnet_map_ip, struct mmo_charstatus *cd);
-typedef void (*HPMHOOK_post_chr_send_map_info) (int *fd, int *i, uint32 *subnet_map_ip, struct mmo_charstatus *cd);
+typedef void (*HPMHOOK_post_chr_send_map_info) (int fd, int i, uint32 subnet_map_ip, struct mmo_charstatus *cd);
typedef void (*HPMHOOK_pre_chr_send_wait_char_server) (int *fd);
-typedef void (*HPMHOOK_post_chr_send_wait_char_server) (int *fd);
+typedef void (*HPMHOOK_post_chr_send_wait_char_server) (int fd);
typedef int (*HPMHOOK_pre_chr_search_default_maps_mapserver) (struct mmo_charstatus *cd);
typedef int (*HPMHOOK_post_chr_search_default_maps_mapserver) (int retVal___, struct mmo_charstatus *cd);
typedef void (*HPMHOOK_pre_chr_parse_char_select) (int *fd, struct char_session_data *sd, uint32 *ipl);
-typedef void (*HPMHOOK_post_chr_parse_char_select) (int *fd, struct char_session_data *sd, uint32 *ipl);
+typedef void (*HPMHOOK_post_chr_parse_char_select) (int fd, struct char_session_data *sd, uint32 ipl);
typedef void (*HPMHOOK_pre_chr_creation_failed) (int *fd, int *result);
-typedef void (*HPMHOOK_post_chr_creation_failed) (int *fd, int *result);
+typedef void (*HPMHOOK_post_chr_creation_failed) (int fd, int result);
typedef void (*HPMHOOK_pre_chr_creation_ok) (int *fd, struct mmo_charstatus *char_dat);
-typedef void (*HPMHOOK_post_chr_creation_ok) (int *fd, struct mmo_charstatus *char_dat);
+typedef void (*HPMHOOK_post_chr_creation_ok) (int fd, struct mmo_charstatus *char_dat);
typedef void (*HPMHOOK_pre_chr_parse_char_create_new_char) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_create_new_char) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_create_new_char) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_delete_char_failed) (int *fd, int *flag);
-typedef void (*HPMHOOK_post_chr_delete_char_failed) (int *fd, int *flag);
+typedef void (*HPMHOOK_post_chr_delete_char_failed) (int fd, int flag);
typedef void (*HPMHOOK_pre_chr_delete_char_ok) (int *fd);
-typedef void (*HPMHOOK_post_chr_delete_char_ok) (int *fd);
+typedef void (*HPMHOOK_post_chr_delete_char_ok) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_char_delete_char) (int *fd, struct char_session_data *sd, unsigned short *cmd);
-typedef void (*HPMHOOK_post_chr_parse_char_delete_char) (int *fd, struct char_session_data *sd, unsigned short *cmd);
+typedef void (*HPMHOOK_post_chr_parse_char_delete_char) (int fd, struct char_session_data *sd, unsigned short cmd);
typedef void (*HPMHOOK_pre_chr_parse_char_ping) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_char_ping) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_char_ping) (int fd);
typedef void (*HPMHOOK_pre_chr_allow_rename) (int *fd, int *flag);
-typedef void (*HPMHOOK_post_chr_allow_rename) (int *fd, int *flag);
+typedef void (*HPMHOOK_post_chr_allow_rename) (int fd, int flag);
typedef void (*HPMHOOK_pre_chr_parse_char_rename_char) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_rename_char) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_rename_char) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_parse_char_rename_char2) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_rename_char2) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_rename_char2) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_rename_char_ack) (int *fd, int *flag);
-typedef void (*HPMHOOK_post_chr_rename_char_ack) (int *fd, int *flag);
+typedef void (*HPMHOOK_post_chr_rename_char_ack) (int fd, int flag);
typedef void (*HPMHOOK_pre_chr_parse_char_rename_char_confirm) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_rename_char_confirm) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_rename_char_confirm) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_captcha_notsupported) (int *fd);
-typedef void (*HPMHOOK_post_chr_captcha_notsupported) (int *fd);
+typedef void (*HPMHOOK_post_chr_captcha_notsupported) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_char_request_captcha) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_char_request_captcha) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_char_request_captcha) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_char_check_captcha) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_char_check_captcha) (int *fd);
+typedef void (*HPMHOOK_post_chr_parse_char_check_captcha) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_char_delete2_req) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_delete2_req) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_delete2_req) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_parse_char_delete2_accept) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_delete2_accept) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_delete2_accept) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_parse_char_delete2_cancel) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_delete2_cancel) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_delete2_cancel) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_login_map_server_ack) (int *fd, uint8 *flag);
-typedef void (*HPMHOOK_post_chr_login_map_server_ack) (int *fd, uint8 *flag);
+typedef void (*HPMHOOK_post_chr_login_map_server_ack) (int fd, uint8 flag);
typedef void (*HPMHOOK_pre_chr_parse_char_login_map_server) (int *fd, uint32 *ipl);
-typedef void (*HPMHOOK_post_chr_parse_char_login_map_server) (int *fd, uint32 *ipl);
+typedef void (*HPMHOOK_post_chr_parse_char_login_map_server) (int fd, uint32 ipl);
typedef void (*HPMHOOK_pre_chr_parse_char_pincode_check) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_pincode_check) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_pincode_check) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_parse_char_pincode_window) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_pincode_window) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_pincode_window) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_parse_char_pincode_change) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_pincode_change) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_pincode_change) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_parse_char_pincode_first_pin) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_pincode_first_pin) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_pincode_first_pin) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_parse_char_request_chars) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_request_chars) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_request_chars) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_chr_change_character_slot_ack) (int *fd, bool *ret);
-typedef void (*HPMHOOK_post_chr_change_character_slot_ack) (int *fd, bool *ret);
+typedef void (*HPMHOOK_post_chr_change_character_slot_ack) (int fd, bool ret);
typedef void (*HPMHOOK_pre_chr_parse_char_move_character) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_chr_parse_char_move_character) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_chr_parse_char_move_character) (int fd, struct char_session_data *sd);
typedef int (*HPMHOOK_pre_chr_parse_char_unknown_packet) (int *fd, uint32 *ipl);
-typedef int (*HPMHOOK_post_chr_parse_char_unknown_packet) (int retVal___, int *fd, uint32 *ipl);
+typedef int (*HPMHOOK_post_chr_parse_char_unknown_packet) (int retVal___, int fd, uint32 ipl);
typedef int (*HPMHOOK_pre_chr_parse_char) (int *fd);
-typedef int (*HPMHOOK_post_chr_parse_char) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chr_parse_char) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_chr_broadcast_user_count) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_chr_broadcast_user_count) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_chr_broadcast_user_count) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_chr_send_accounts_tologin_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_chr_send_accounts_tologin_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_chr_send_accounts_tologin_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_chr_send_accounts_tologin) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_chr_send_accounts_tologin) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_chr_send_accounts_tologin) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_chr_check_connect_login_server) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_chr_check_connect_login_server) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_chr_check_connect_login_server) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_chr_online_data_cleanup_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_chr_online_data_cleanup_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_chr_online_data_cleanup_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_chr_online_data_cleanup) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_chr_online_data_cleanup) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_chr_online_data_cleanup) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_chr_sql_config_read) (const char *cfgName);
typedef void (*HPMHOOK_post_chr_sql_config_read) (const char *cfgName);
typedef void (*HPMHOOK_pre_chr_config_dispatch) (char *w1, char *w2);
@@ -661,19 +661,19 @@ typedef int (*HPMHOOK_post_chr_config_read) (int retVal___, const char *cfgName)
#endif // CHAR_CHAR_H
#ifdef MAP_CHAT_H /* chat */
typedef bool (*HPMHOOK_pre_chat_create_pc_chat) (struct map_session_data *sd, const char *title, const char *pass, int *limit, bool *pub);
-typedef bool (*HPMHOOK_post_chat_create_pc_chat) (bool retVal___, struct map_session_data *sd, const char *title, const char *pass, int *limit, bool *pub);
+typedef bool (*HPMHOOK_post_chat_create_pc_chat) (bool retVal___, struct map_session_data *sd, const char *title, const char *pass, int limit, bool pub);
typedef bool (*HPMHOOK_pre_chat_join) (struct map_session_data *sd, int *chatid, const char *pass);
-typedef bool (*HPMHOOK_post_chat_join) (bool retVal___, struct map_session_data *sd, int *chatid, const char *pass);
+typedef bool (*HPMHOOK_post_chat_join) (bool retVal___, struct map_session_data *sd, int chatid, const char *pass);
typedef int (*HPMHOOK_pre_chat_leave) (struct map_session_data *sd, bool *kicked);
-typedef int (*HPMHOOK_post_chat_leave) (int retVal___, struct map_session_data *sd, bool *kicked);
+typedef int (*HPMHOOK_post_chat_leave) (int retVal___, struct map_session_data *sd, bool kicked);
typedef bool (*HPMHOOK_pre_chat_change_owner) (struct map_session_data *sd, const char *nextownername);
typedef bool (*HPMHOOK_post_chat_change_owner) (bool retVal___, struct map_session_data *sd, const char *nextownername);
typedef bool (*HPMHOOK_pre_chat_change_status) (struct map_session_data *sd, const char *title, const char *pass, int *limit, bool *pub);
-typedef bool (*HPMHOOK_post_chat_change_status) (bool retVal___, struct map_session_data *sd, const char *title, const char *pass, int *limit, bool *pub);
+typedef bool (*HPMHOOK_post_chat_change_status) (bool retVal___, struct map_session_data *sd, const char *title, const char *pass, int limit, bool pub);
typedef bool (*HPMHOOK_pre_chat_kick) (struct map_session_data *sd, const char *kickusername);
typedef bool (*HPMHOOK_post_chat_kick) (bool retVal___, struct map_session_data *sd, const char *kickusername);
typedef bool (*HPMHOOK_pre_chat_create_npc_chat) (struct npc_data *nd, const char *title, int *limit, bool *pub, int *trigger, const char *ev, int *zeny, int *minLvl, int *maxLvl);
-typedef bool (*HPMHOOK_post_chat_create_npc_chat) (bool retVal___, struct npc_data *nd, const char *title, int *limit, bool *pub, int *trigger, const char *ev, int *zeny, int *minLvl, int *maxLvl);
+typedef bool (*HPMHOOK_post_chat_create_npc_chat) (bool retVal___, struct npc_data *nd, const char *title, int limit, bool pub, int trigger, const char *ev, int zeny, int minLvl, int maxLvl);
typedef bool (*HPMHOOK_pre_chat_delete_npc_chat) (struct npc_data *nd);
typedef bool (*HPMHOOK_post_chat_delete_npc_chat) (bool retVal___, struct npc_data *nd);
typedef bool (*HPMHOOK_pre_chat_enable_event) (struct chat_data *cd);
@@ -685,11 +685,11 @@ typedef bool (*HPMHOOK_post_chat_npc_kick_all) (bool retVal___, struct chat_data
typedef bool (*HPMHOOK_pre_chat_trigger_event) (struct chat_data *cd);
typedef bool (*HPMHOOK_post_chat_trigger_event) (bool retVal___, struct chat_data *cd);
typedef struct chat_data* (*HPMHOOK_pre_chat_create) (struct block_list *bl, const char *title, const char *pass, int *limit, bool *pub, int *trigger, const char *ev, int *zeny, int *minLvl, int *maxLvl);
-typedef struct chat_data* (*HPMHOOK_post_chat_create) (struct chat_data* retVal___, struct block_list *bl, const char *title, const char *pass, int *limit, bool *pub, int *trigger, const char *ev, int *zeny, int *minLvl, int *maxLvl);
+typedef struct chat_data* (*HPMHOOK_post_chat_create) (struct chat_data* retVal___, struct block_list *bl, const char *title, const char *pass, int limit, bool pub, int trigger, const char *ev, int zeny, int minLvl, int maxLvl);
#endif // MAP_CHAT_H
#ifdef MAP_CHRIF_H /* chrif */
typedef void (*HPMHOOK_pre_chrif_init) (bool *minimal);
-typedef void (*HPMHOOK_post_chrif_init) (bool *minimal);
+typedef void (*HPMHOOK_post_chrif_init) (bool minimal);
typedef void (*HPMHOOK_pre_chrif_final) (void);
typedef void (*HPMHOOK_post_chrif_final) (void);
typedef void (*HPMHOOK_pre_chrif_setuserid) (char *id);
@@ -701,37 +701,37 @@ typedef void (*HPMHOOK_post_chrif_checkdefaultlogin) (void);
typedef bool (*HPMHOOK_pre_chrif_setip) (const char *ip);
typedef bool (*HPMHOOK_post_chrif_setip) (bool retVal___, const char *ip);
typedef void (*HPMHOOK_pre_chrif_setport) (uint16 *port);
-typedef void (*HPMHOOK_post_chrif_setport) (uint16 *port);
+typedef void (*HPMHOOK_post_chrif_setport) (uint16 port);
typedef int (*HPMHOOK_pre_chrif_isconnected) (void);
typedef int (*HPMHOOK_post_chrif_isconnected) (int retVal___);
typedef void (*HPMHOOK_pre_chrif_check_shutdown) (void);
typedef void (*HPMHOOK_post_chrif_check_shutdown) (void);
typedef struct auth_node* (*HPMHOOK_pre_chrif_search) (int *account_id);
-typedef struct auth_node* (*HPMHOOK_post_chrif_search) (struct auth_node* retVal___, int *account_id);
+typedef struct auth_node* (*HPMHOOK_post_chrif_search) (struct auth_node* retVal___, int account_id);
typedef struct auth_node* (*HPMHOOK_pre_chrif_auth_check) (int *account_id, int *char_id, enum sd_state *state);
-typedef struct auth_node* (*HPMHOOK_post_chrif_auth_check) (struct auth_node* retVal___, int *account_id, int *char_id, enum sd_state *state);
+typedef struct auth_node* (*HPMHOOK_post_chrif_auth_check) (struct auth_node* retVal___, int account_id, int char_id, enum sd_state state);
typedef bool (*HPMHOOK_pre_chrif_auth_delete) (int *account_id, int *char_id, enum sd_state *state);
-typedef bool (*HPMHOOK_post_chrif_auth_delete) (bool retVal___, int *account_id, int *char_id, enum sd_state *state);
+typedef bool (*HPMHOOK_post_chrif_auth_delete) (bool retVal___, int account_id, int char_id, enum sd_state state);
typedef bool (*HPMHOOK_pre_chrif_auth_finished) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_chrif_auth_finished) (bool retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_chrif_authreq) (struct map_session_data *sd, bool *hstandalone);
-typedef void (*HPMHOOK_post_chrif_authreq) (struct map_session_data *sd, bool *hstandalone);
+typedef void (*HPMHOOK_post_chrif_authreq) (struct map_session_data *sd, bool hstandalone);
typedef void (*HPMHOOK_pre_chrif_authok) (int *fd);
-typedef void (*HPMHOOK_post_chrif_authok) (int *fd);
+typedef void (*HPMHOOK_post_chrif_authok) (int fd);
typedef bool (*HPMHOOK_pre_chrif_scdata_request) (int *account_id, int *char_id);
-typedef bool (*HPMHOOK_post_chrif_scdata_request) (bool retVal___, int *account_id, int *char_id);
+typedef bool (*HPMHOOK_post_chrif_scdata_request) (bool retVal___, int account_id, int char_id);
typedef bool (*HPMHOOK_pre_chrif_save) (struct map_session_data *sd, int *flag);
-typedef bool (*HPMHOOK_post_chrif_save) (bool retVal___, struct map_session_data *sd, int *flag);
+typedef bool (*HPMHOOK_post_chrif_save) (bool retVal___, struct map_session_data *sd, int flag);
typedef bool (*HPMHOOK_pre_chrif_charselectreq) (struct map_session_data *sd, uint32 *s_ip);
-typedef bool (*HPMHOOK_post_chrif_charselectreq) (bool retVal___, struct map_session_data *sd, uint32 *s_ip);
+typedef bool (*HPMHOOK_post_chrif_charselectreq) (bool retVal___, struct map_session_data *sd, uint32 s_ip);
typedef bool (*HPMHOOK_pre_chrif_changemapserver) (struct map_session_data *sd, uint32 *ip, uint16 *port);
-typedef bool (*HPMHOOK_post_chrif_changemapserver) (bool retVal___, struct map_session_data *sd, uint32 *ip, uint16 *port);
+typedef bool (*HPMHOOK_post_chrif_changemapserver) (bool retVal___, struct map_session_data *sd, uint32 ip, uint16 port);
typedef bool (*HPMHOOK_pre_chrif_searchcharid) (int *char_id);
-typedef bool (*HPMHOOK_post_chrif_searchcharid) (bool retVal___, int *char_id);
+typedef bool (*HPMHOOK_post_chrif_searchcharid) (bool retVal___, int char_id);
typedef bool (*HPMHOOK_pre_chrif_changeemail) (int *id, const char *actual_email, const char *new_email);
-typedef bool (*HPMHOOK_post_chrif_changeemail) (bool retVal___, int *id, const char *actual_email, const char *new_email);
+typedef bool (*HPMHOOK_post_chrif_changeemail) (bool retVal___, int id, const char *actual_email, const char *new_email);
typedef bool (*HPMHOOK_pre_chrif_char_ask_name) (int *acc, const char *character_name, unsigned short *operation_type, int *year, int *month, int *day, int *hour, int *minute, int *second);
-typedef bool (*HPMHOOK_post_chrif_char_ask_name) (bool retVal___, int *acc, const char *character_name, unsigned short *operation_type, int *year, int *month, int *day, int *hour, int *minute, int *second);
+typedef bool (*HPMHOOK_post_chrif_char_ask_name) (bool retVal___, int acc, const char *character_name, unsigned short operation_type, int year, int month, int day, int hour, int minute, int second);
typedef int (*HPMHOOK_pre_chrif_updatefamelist) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_chrif_updatefamelist) (int retVal___, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_chrif_buildfamelist) (void);
@@ -739,9 +739,9 @@ typedef bool (*HPMHOOK_post_chrif_buildfamelist) (bool retVal___);
typedef bool (*HPMHOOK_pre_chrif_save_scdata) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_chrif_save_scdata) (bool retVal___, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_chrif_ragsrvinfo) (int *base_rate, int *job_rate, int *drop_rate);
-typedef bool (*HPMHOOK_post_chrif_ragsrvinfo) (bool retVal___, int *base_rate, int *job_rate, int *drop_rate);
+typedef bool (*HPMHOOK_post_chrif_ragsrvinfo) (bool retVal___, int base_rate, int job_rate, int drop_rate);
typedef bool (*HPMHOOK_pre_chrif_char_offline_nsd) (int *account_id, int *char_id);
-typedef bool (*HPMHOOK_post_chrif_char_offline_nsd) (bool retVal___, int *account_id, int *char_id);
+typedef bool (*HPMHOOK_post_chrif_char_offline_nsd) (bool retVal___, int account_id, int char_id);
typedef bool (*HPMHOOK_pre_chrif_char_reset_offline) (void);
typedef bool (*HPMHOOK_post_chrif_char_reset_offline) (bool retVal___);
typedef bool (*HPMHOOK_pre_chrif_send_users_tochar) (void);
@@ -749,89 +749,89 @@ typedef bool (*HPMHOOK_post_chrif_send_users_tochar) (bool retVal___);
typedef bool (*HPMHOOK_pre_chrif_char_online) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_chrif_char_online) (bool retVal___, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_chrif_changesex) (struct map_session_data *sd, bool *change_account);
-typedef bool (*HPMHOOK_post_chrif_changesex) (bool retVal___, struct map_session_data *sd, bool *change_account);
+typedef bool (*HPMHOOK_post_chrif_changesex) (bool retVal___, struct map_session_data *sd, bool change_account);
typedef bool (*HPMHOOK_pre_chrif_divorce) (int *partner_id1, int *partner_id2);
-typedef bool (*HPMHOOK_post_chrif_divorce) (bool retVal___, int *partner_id1, int *partner_id2);
+typedef bool (*HPMHOOK_post_chrif_divorce) (bool retVal___, int partner_id1, int partner_id2);
typedef bool (*HPMHOOK_pre_chrif_removefriend) (int *char_id, int *friend_id);
-typedef bool (*HPMHOOK_post_chrif_removefriend) (bool retVal___, int *char_id, int *friend_id);
+typedef bool (*HPMHOOK_post_chrif_removefriend) (bool retVal___, int char_id, int friend_id);
typedef void (*HPMHOOK_pre_chrif_send_report) (char *buf, int *len);
-typedef void (*HPMHOOK_post_chrif_send_report) (char *buf, int *len);
+typedef void (*HPMHOOK_post_chrif_send_report) (char *buf, int len);
typedef bool (*HPMHOOK_pre_chrif_flush) (void);
typedef bool (*HPMHOOK_post_chrif_flush) (bool retVal___);
typedef void (*HPMHOOK_pre_chrif_skillid2idx) (int *fd);
-typedef void (*HPMHOOK_post_chrif_skillid2idx) (int *fd);
+typedef void (*HPMHOOK_post_chrif_skillid2idx) (int fd);
typedef bool (*HPMHOOK_pre_chrif_sd_to_auth) (struct map_session_data *sd, enum sd_state *state);
-typedef bool (*HPMHOOK_post_chrif_sd_to_auth) (bool retVal___, struct map_session_data *sd, enum sd_state *state);
+typedef bool (*HPMHOOK_post_chrif_sd_to_auth) (bool retVal___, struct map_session_data *sd, enum sd_state state);
typedef int (*HPMHOOK_pre_chrif_check_connect_char_server) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_chrif_check_connect_char_server) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_chrif_check_connect_char_server) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef bool (*HPMHOOK_pre_chrif_auth_logout) (struct map_session_data *sd, enum sd_state *state);
-typedef bool (*HPMHOOK_post_chrif_auth_logout) (bool retVal___, struct map_session_data *sd, enum sd_state *state);
+typedef bool (*HPMHOOK_post_chrif_auth_logout) (bool retVal___, struct map_session_data *sd, enum sd_state state);
typedef void (*HPMHOOK_pre_chrif_save_ack) (int *fd);
-typedef void (*HPMHOOK_post_chrif_save_ack) (int *fd);
+typedef void (*HPMHOOK_post_chrif_save_ack) (int fd);
typedef int (*HPMHOOK_pre_chrif_reconnect) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_chrif_reconnect) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_chrif_reconnect) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_chrif_auth_db_cleanup_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_chrif_auth_db_cleanup_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_chrif_auth_db_cleanup_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef bool (*HPMHOOK_pre_chrif_char_ask_name_answer) (int *acc, const char *player_name, uint16 *type, uint16 *answer);
-typedef bool (*HPMHOOK_post_chrif_char_ask_name_answer) (bool retVal___, int *acc, const char *player_name, uint16 *type, uint16 *answer);
+typedef bool (*HPMHOOK_post_chrif_char_ask_name_answer) (bool retVal___, int acc, const char *player_name, uint16 type, uint16 answer);
typedef int (*HPMHOOK_pre_chrif_auth_db_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_chrif_auth_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_chrif_auth_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_chrif_send_usercount_tochar) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_chrif_send_usercount_tochar) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_chrif_send_usercount_tochar) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_chrif_auth_db_cleanup) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_chrif_auth_db_cleanup) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_chrif_auth_db_cleanup) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_chrif_connect) (int *fd);
-typedef void (*HPMHOOK_post_chrif_connect) (int *fd);
+typedef void (*HPMHOOK_post_chrif_connect) (int fd);
typedef void (*HPMHOOK_pre_chrif_connectack) (int *fd);
-typedef void (*HPMHOOK_post_chrif_connectack) (int *fd);
+typedef void (*HPMHOOK_post_chrif_connectack) (int fd);
typedef void (*HPMHOOK_pre_chrif_sendmap) (int *fd);
-typedef void (*HPMHOOK_post_chrif_sendmap) (int *fd);
+typedef void (*HPMHOOK_post_chrif_sendmap) (int fd);
typedef void (*HPMHOOK_pre_chrif_sendmapack) (int *fd);
-typedef void (*HPMHOOK_post_chrif_sendmapack) (int *fd);
+typedef void (*HPMHOOK_post_chrif_sendmapack) (int fd);
typedef void (*HPMHOOK_pre_chrif_recvmap) (int *fd);
-typedef void (*HPMHOOK_post_chrif_recvmap) (int *fd);
+typedef void (*HPMHOOK_post_chrif_recvmap) (int fd);
typedef bool (*HPMHOOK_pre_chrif_changemapserverack) (int *account_id, int *login_id1, int *login_id2, int *char_id, short *map_index, short *x, short *y, uint32 *ip, uint16 *port);
-typedef bool (*HPMHOOK_post_chrif_changemapserverack) (bool retVal___, int *account_id, int *login_id1, int *login_id2, int *char_id, short *map_index, short *x, short *y, uint32 *ip, uint16 *port);
+typedef bool (*HPMHOOK_post_chrif_changemapserverack) (bool retVal___, int account_id, int login_id1, int login_id2, int char_id, short map_index, short x, short y, uint32 ip, uint16 port);
typedef void (*HPMHOOK_pre_chrif_changedsex) (int *fd);
-typedef void (*HPMHOOK_post_chrif_changedsex) (int *fd);
+typedef void (*HPMHOOK_post_chrif_changedsex) (int fd);
typedef bool (*HPMHOOK_pre_chrif_divorceack) (int *char_id, int *partner_id);
-typedef bool (*HPMHOOK_post_chrif_divorceack) (bool retVal___, int *char_id, int *partner_id);
+typedef bool (*HPMHOOK_post_chrif_divorceack) (bool retVal___, int char_id, int partner_id);
typedef void (*HPMHOOK_pre_chrif_idbanned) (int *fd);
-typedef void (*HPMHOOK_post_chrif_idbanned) (int *fd);
+typedef void (*HPMHOOK_post_chrif_idbanned) (int fd);
typedef void (*HPMHOOK_pre_chrif_recvfamelist) (int *fd);
-typedef void (*HPMHOOK_post_chrif_recvfamelist) (int *fd);
+typedef void (*HPMHOOK_post_chrif_recvfamelist) (int fd);
typedef bool (*HPMHOOK_pre_chrif_load_scdata) (int *fd);
-typedef bool (*HPMHOOK_post_chrif_load_scdata) (bool retVal___, int *fd);
+typedef bool (*HPMHOOK_post_chrif_load_scdata) (bool retVal___, int fd);
typedef void (*HPMHOOK_pre_chrif_update_ip) (int *fd);
-typedef void (*HPMHOOK_post_chrif_update_ip) (int *fd);
+typedef void (*HPMHOOK_post_chrif_update_ip) (int fd);
typedef int (*HPMHOOK_pre_chrif_disconnectplayer) (int *fd);
-typedef int (*HPMHOOK_post_chrif_disconnectplayer) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chrif_disconnectplayer) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_chrif_removemap) (int *fd);
-typedef void (*HPMHOOK_post_chrif_removemap) (int *fd);
+typedef void (*HPMHOOK_post_chrif_removemap) (int fd);
typedef int (*HPMHOOK_pre_chrif_updatefamelist_ack) (int *fd);
-typedef int (*HPMHOOK_post_chrif_updatefamelist_ack) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chrif_updatefamelist_ack) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_chrif_keepalive) (int *fd);
-typedef void (*HPMHOOK_post_chrif_keepalive) (int *fd);
+typedef void (*HPMHOOK_post_chrif_keepalive) (int fd);
typedef void (*HPMHOOK_pre_chrif_keepalive_ack) (int *fd);
-typedef void (*HPMHOOK_post_chrif_keepalive_ack) (int *fd);
+typedef void (*HPMHOOK_post_chrif_keepalive_ack) (int fd);
typedef void (*HPMHOOK_pre_chrif_deadopt) (int *father_id, int *mother_id, int *child_id);
-typedef void (*HPMHOOK_post_chrif_deadopt) (int *father_id, int *mother_id, int *child_id);
+typedef void (*HPMHOOK_post_chrif_deadopt) (int father_id, int mother_id, int child_id);
typedef void (*HPMHOOK_pre_chrif_authfail) (int *fd);
-typedef void (*HPMHOOK_post_chrif_authfail) (int *fd);
+typedef void (*HPMHOOK_post_chrif_authfail) (int fd);
typedef void (*HPMHOOK_pre_chrif_on_ready) (void);
typedef void (*HPMHOOK_post_chrif_on_ready) (void);
typedef void (*HPMHOOK_pre_chrif_on_disconnect) (void);
typedef void (*HPMHOOK_post_chrif_on_disconnect) (void);
typedef int (*HPMHOOK_pre_chrif_parse) (int *fd);
-typedef int (*HPMHOOK_post_chrif_parse) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_chrif_parse) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_chrif_save_scdata_single) (int *account_id, int *char_id, short *type, struct status_change_entry *sce);
-typedef void (*HPMHOOK_post_chrif_save_scdata_single) (int *account_id, int *char_id, short *type, struct status_change_entry *sce);
+typedef void (*HPMHOOK_post_chrif_save_scdata_single) (int account_id, int char_id, short type, struct status_change_entry *sce);
typedef void (*HPMHOOK_pre_chrif_del_scdata_single) (int *account_id, int *char_id, short *type);
-typedef void (*HPMHOOK_post_chrif_del_scdata_single) (int *account_id, int *char_id, short *type);
+typedef void (*HPMHOOK_post_chrif_del_scdata_single) (int account_id, int char_id, short type);
#endif // MAP_CHRIF_H
#ifdef MAP_CLIF_H /* clif */
typedef int (*HPMHOOK_pre_clif_init) (bool *minimal);
-typedef int (*HPMHOOK_post_clif_init) (int retVal___, bool *minimal);
+typedef int (*HPMHOOK_post_clif_init) (int retVal___, bool minimal);
typedef void (*HPMHOOK_pre_clif_final) (void);
typedef void (*HPMHOOK_post_clif_final) (void);
typedef bool (*HPMHOOK_pre_clif_setip) (const char *ip);
@@ -839,85 +839,85 @@ typedef bool (*HPMHOOK_post_clif_setip) (bool retVal___, const char *ip);
typedef bool (*HPMHOOK_pre_clif_setbindip) (const char *ip);
typedef bool (*HPMHOOK_post_clif_setbindip) (bool retVal___, const char *ip);
typedef void (*HPMHOOK_pre_clif_setport) (uint16 *port);
-typedef void (*HPMHOOK_post_clif_setport) (uint16 *port);
+typedef void (*HPMHOOK_post_clif_setport) (uint16 port);
typedef uint32 (*HPMHOOK_pre_clif_refresh_ip) (void);
typedef uint32 (*HPMHOOK_post_clif_refresh_ip) (uint32 retVal___);
typedef bool (*HPMHOOK_pre_clif_send) (const void *buf, int *len, struct block_list *bl, enum send_target *type);
-typedef bool (*HPMHOOK_post_clif_send) (bool retVal___, const void *buf, int *len, struct block_list *bl, enum send_target *type);
+typedef bool (*HPMHOOK_post_clif_send) (bool retVal___, const void *buf, int len, struct block_list *bl, enum send_target type);
typedef int (*HPMHOOK_pre_clif_send_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_clif_send_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_clif_send_actual) (int *fd, void *buf, int *len);
-typedef int (*HPMHOOK_post_clif_send_actual) (int retVal___, int *fd, void *buf, int *len);
+typedef int (*HPMHOOK_post_clif_send_actual) (int retVal___, int fd, void *buf, int len);
typedef int (*HPMHOOK_pre_clif_parse) (int *fd);
-typedef int (*HPMHOOK_post_clif_parse) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_clif_parse) (int retVal___, int fd);
typedef const struct s_packet_db* (*HPMHOOK_pre_clif_packet) (int *packet_id);
-typedef const struct s_packet_db* (*HPMHOOK_post_clif_packet) (const struct s_packet_db* retVal___, int *packet_id);
+typedef const struct s_packet_db* (*HPMHOOK_post_clif_packet) (const struct s_packet_db* retVal___, int packet_id);
typedef unsigned short (*HPMHOOK_pre_clif_parse_cmd) (int *fd, struct map_session_data *sd);
-typedef unsigned short (*HPMHOOK_post_clif_parse_cmd) (unsigned short retVal___, int *fd, struct map_session_data *sd);
+typedef unsigned short (*HPMHOOK_post_clif_parse_cmd) (unsigned short retVal___, int fd, struct map_session_data *sd);
typedef unsigned short (*HPMHOOK_pre_clif_decrypt_cmd) (int *cmd, struct map_session_data *sd);
-typedef unsigned short (*HPMHOOK_post_clif_decrypt_cmd) (unsigned short retVal___, int *cmd, struct map_session_data *sd);
+typedef unsigned short (*HPMHOOK_post_clif_decrypt_cmd) (unsigned short retVal___, int cmd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_authok) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_authok) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_authrefuse) (int *fd, uint8 *error_code);
-typedef void (*HPMHOOK_post_clif_authrefuse) (int *fd, uint8 *error_code);
+typedef void (*HPMHOOK_post_clif_authrefuse) (int fd, uint8 error_code);
typedef void (*HPMHOOK_pre_clif_authfail_fd) (int *fd, int *type);
-typedef void (*HPMHOOK_post_clif_authfail_fd) (int *fd, int *type);
+typedef void (*HPMHOOK_post_clif_authfail_fd) (int fd, int type);
typedef void (*HPMHOOK_pre_clif_charselectok) (int *id, uint8 *ok);
-typedef void (*HPMHOOK_post_clif_charselectok) (int *id, uint8 *ok);
+typedef void (*HPMHOOK_post_clif_charselectok) (int id, uint8 ok);
typedef void (*HPMHOOK_pre_clif_dropflooritem) (struct flooritem_data *fitem);
typedef void (*HPMHOOK_post_clif_dropflooritem) (struct flooritem_data *fitem);
typedef void (*HPMHOOK_pre_clif_clearflooritem) (struct flooritem_data *fitem, int *fd);
-typedef void (*HPMHOOK_post_clif_clearflooritem) (struct flooritem_data *fitem, int *fd);
+typedef void (*HPMHOOK_post_clif_clearflooritem) (struct flooritem_data *fitem, int fd);
typedef void (*HPMHOOK_pre_clif_additem) (struct map_session_data *sd, int *n, int *amount, int *fail);
-typedef void (*HPMHOOK_post_clif_additem) (struct map_session_data *sd, int *n, int *amount, int *fail);
+typedef void (*HPMHOOK_post_clif_additem) (struct map_session_data *sd, int n, int amount, int fail);
typedef void (*HPMHOOK_pre_clif_dropitem) (struct map_session_data *sd, int *n, int *amount);
-typedef void (*HPMHOOK_post_clif_dropitem) (struct map_session_data *sd, int *n, int *amount);
+typedef void (*HPMHOOK_post_clif_dropitem) (struct map_session_data *sd, int n, int amount);
typedef void (*HPMHOOK_pre_clif_delitem) (struct map_session_data *sd, int *n, int *amount, short *reason);
-typedef void (*HPMHOOK_post_clif_delitem) (struct map_session_data *sd, int *n, int *amount, short *reason);
+typedef void (*HPMHOOK_post_clif_delitem) (struct map_session_data *sd, int n, int amount, short reason);
typedef void (*HPMHOOK_pre_clif_takeitem) (struct block_list *src, struct block_list *dst);
typedef void (*HPMHOOK_post_clif_takeitem) (struct block_list *src, struct block_list *dst);
typedef void (*HPMHOOK_pre_clif_item_equip) (short *idx, struct EQUIPITEM_INFO *p, struct item *i, struct item_data *id, int *eqp_pos);
-typedef void (*HPMHOOK_post_clif_item_equip) (short *idx, struct EQUIPITEM_INFO *p, struct item *i, struct item_data *id, int *eqp_pos);
+typedef void (*HPMHOOK_post_clif_item_equip) (short idx, struct EQUIPITEM_INFO *p, struct item *i, struct item_data *id, int eqp_pos);
typedef void (*HPMHOOK_pre_clif_item_normal) (short *idx, struct NORMALITEM_INFO *p, struct item *i, struct item_data *id);
-typedef void (*HPMHOOK_post_clif_item_normal) (short *idx, struct NORMALITEM_INFO *p, struct item *i, struct item_data *id);
+typedef void (*HPMHOOK_post_clif_item_normal) (short idx, struct NORMALITEM_INFO *p, struct item *i, struct item_data *id);
typedef void (*HPMHOOK_pre_clif_arrowequip) (struct map_session_data *sd, int *val);
-typedef void (*HPMHOOK_post_clif_arrowequip) (struct map_session_data *sd, int *val);
+typedef void (*HPMHOOK_post_clif_arrowequip) (struct map_session_data *sd, int val);
typedef void (*HPMHOOK_pre_clif_arrow_fail) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_clif_arrow_fail) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_clif_arrow_fail) (struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_clif_use_card) (struct map_session_data *sd, int *idx);
-typedef void (*HPMHOOK_post_clif_use_card) (struct map_session_data *sd, int *idx);
+typedef void (*HPMHOOK_post_clif_use_card) (struct map_session_data *sd, int idx);
typedef void (*HPMHOOK_pre_clif_cart_additem) (struct map_session_data *sd, int *n, int *amount, int *fail);
-typedef void (*HPMHOOK_post_clif_cart_additem) (struct map_session_data *sd, int *n, int *amount, int *fail);
+typedef void (*HPMHOOK_post_clif_cart_additem) (struct map_session_data *sd, int n, int amount, int fail);
typedef void (*HPMHOOK_pre_clif_cart_delitem) (struct map_session_data *sd, int *n, int *amount);
-typedef void (*HPMHOOK_post_clif_cart_delitem) (struct map_session_data *sd, int *n, int *amount);
+typedef void (*HPMHOOK_post_clif_cart_delitem) (struct map_session_data *sd, int n, int amount);
typedef void (*HPMHOOK_pre_clif_equipitemack) (struct map_session_data *sd, int *n, int *pos, enum e_EQUIP_ITEM_ACK *result);
-typedef void (*HPMHOOK_post_clif_equipitemack) (struct map_session_data *sd, int *n, int *pos, enum e_EQUIP_ITEM_ACK *result);
+typedef void (*HPMHOOK_post_clif_equipitemack) (struct map_session_data *sd, int n, int pos, enum e_EQUIP_ITEM_ACK result);
typedef void (*HPMHOOK_pre_clif_unequipitemack) (struct map_session_data *sd, int *n, int *pos, enum e_UNEQUIP_ITEM_ACK *result);
-typedef void (*HPMHOOK_post_clif_unequipitemack) (struct map_session_data *sd, int *n, int *pos, enum e_UNEQUIP_ITEM_ACK *result);
+typedef void (*HPMHOOK_post_clif_unequipitemack) (struct map_session_data *sd, int n, int pos, enum e_UNEQUIP_ITEM_ACK result);
typedef void (*HPMHOOK_pre_clif_useitemack) (struct map_session_data *sd, int *index, int *amount, bool *ok);
-typedef void (*HPMHOOK_post_clif_useitemack) (struct map_session_data *sd, int *index, int *amount, bool *ok);
+typedef void (*HPMHOOK_post_clif_useitemack) (struct map_session_data *sd, int index, int amount, bool ok);
typedef void (*HPMHOOK_pre_clif_addcards) (unsigned char *buf, struct item *item);
typedef void (*HPMHOOK_post_clif_addcards) (unsigned char *buf, struct item *item);
typedef void (*HPMHOOK_pre_clif_addcards2) (unsigned short *cards, struct item *item);
typedef void (*HPMHOOK_post_clif_addcards2) (unsigned short *cards, struct item *item);
typedef void (*HPMHOOK_pre_clif_item_sub) (unsigned char *buf, int *n, struct item *i, struct item_data *id, int *equip);
-typedef void (*HPMHOOK_post_clif_item_sub) (unsigned char *buf, int *n, struct item *i, struct item_data *id, int *equip);
+typedef void (*HPMHOOK_post_clif_item_sub) (unsigned char *buf, int n, struct item *i, struct item_data *id, int equip);
typedef void (*HPMHOOK_pre_clif_getareachar_item) (struct map_session_data *sd, struct flooritem_data *fitem);
typedef void (*HPMHOOK_post_clif_getareachar_item) (struct map_session_data *sd, struct flooritem_data *fitem);
typedef void (*HPMHOOK_pre_clif_cart_additem_ack) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_cart_additem_ack) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_cart_additem_ack) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_cashshop_load) (void);
typedef void (*HPMHOOK_post_clif_cashshop_load) (void);
typedef void (*HPMHOOK_pre_clif_package_announce) (struct map_session_data *sd, unsigned short *nameid, unsigned short *containerid);
-typedef void (*HPMHOOK_post_clif_package_announce) (struct map_session_data *sd, unsigned short *nameid, unsigned short *containerid);
+typedef void (*HPMHOOK_post_clif_package_announce) (struct map_session_data *sd, unsigned short nameid, unsigned short containerid);
typedef void (*HPMHOOK_pre_clif_item_drop_announce) (struct map_session_data *sd, unsigned short *nameid, char *monsterName);
-typedef void (*HPMHOOK_post_clif_item_drop_announce) (struct map_session_data *sd, unsigned short *nameid, char *monsterName);
+typedef void (*HPMHOOK_post_clif_item_drop_announce) (struct map_session_data *sd, unsigned short nameid, char *monsterName);
typedef void (*HPMHOOK_pre_clif_clearunit_single) (int *id, clr_type *type, int *fd);
-typedef void (*HPMHOOK_post_clif_clearunit_single) (int *id, clr_type *type, int *fd);
+typedef void (*HPMHOOK_post_clif_clearunit_single) (int id, clr_type type, int fd);
typedef void (*HPMHOOK_pre_clif_clearunit_area) (struct block_list *bl, clr_type *type);
-typedef void (*HPMHOOK_post_clif_clearunit_area) (struct block_list *bl, clr_type *type);
+typedef void (*HPMHOOK_post_clif_clearunit_area) (struct block_list *bl, clr_type type);
typedef void (*HPMHOOK_pre_clif_clearunit_delayed) (struct block_list *bl, clr_type *type, int64 *tick);
-typedef void (*HPMHOOK_post_clif_clearunit_delayed) (struct block_list *bl, clr_type *type, int64 *tick);
+typedef void (*HPMHOOK_post_clif_clearunit_delayed) (struct block_list *bl, clr_type type, int64 tick);
typedef void (*HPMHOOK_pre_clif_walkok) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_walkok) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_move) (struct unit_data *ud);
@@ -927,69 +927,69 @@ typedef void (*HPMHOOK_post_clif_move2) (struct block_list *bl, struct view_data
typedef void (*HPMHOOK_pre_clif_blown) (struct block_list *bl);
typedef void (*HPMHOOK_post_clif_blown) (struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_slide) (struct block_list *bl, int *x, int *y);
-typedef void (*HPMHOOK_post_clif_slide) (struct block_list *bl, int *x, int *y);
+typedef void (*HPMHOOK_post_clif_slide) (struct block_list *bl, int x, int y);
typedef void (*HPMHOOK_pre_clif_fixpos) (struct block_list *bl);
typedef void (*HPMHOOK_post_clif_fixpos) (struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_changelook) (struct block_list *bl, int *type, int *val);
-typedef void (*HPMHOOK_post_clif_changelook) (struct block_list *bl, int *type, int *val);
+typedef void (*HPMHOOK_post_clif_changelook) (struct block_list *bl, int type, int val);
typedef void (*HPMHOOK_pre_clif_changetraplook) (struct block_list *bl, int *val);
-typedef void (*HPMHOOK_post_clif_changetraplook) (struct block_list *bl, int *val);
+typedef void (*HPMHOOK_post_clif_changetraplook) (struct block_list *bl, int val);
typedef void (*HPMHOOK_pre_clif_refreshlook) (struct block_list *bl, int *id, int *type, int *val, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_refreshlook) (struct block_list *bl, int *id, int *type, int *val, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_refreshlook) (struct block_list *bl, int id, int type, int val, enum send_target target);
typedef void (*HPMHOOK_pre_clif_sendlook) (struct block_list *bl, int *id, int *type, int *val, int *val2, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_sendlook) (struct block_list *bl, int *id, int *type, int *val, int *val2, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_sendlook) (struct block_list *bl, int id, int type, int val, int val2, enum send_target target);
typedef void (*HPMHOOK_pre_clif_class_change) (struct block_list *bl, int *class_, int *type);
-typedef void (*HPMHOOK_post_clif_class_change) (struct block_list *bl, int *class_, int *type);
+typedef void (*HPMHOOK_post_clif_class_change) (struct block_list *bl, int class_, int type);
typedef void (*HPMHOOK_pre_clif_skill_delunit) (struct skill_unit *su);
typedef void (*HPMHOOK_post_clif_skill_delunit) (struct skill_unit *su);
typedef void (*HPMHOOK_pre_clif_skillunit_update) (struct block_list *bl);
typedef void (*HPMHOOK_post_clif_skillunit_update) (struct block_list *bl);
typedef int (*HPMHOOK_pre_clif_clearunit_delayed_sub) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_clif_clearunit_delayed_sub) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_clif_clearunit_delayed_sub) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_clif_set_unit_idle) (struct block_list *bl, struct map_session_data *tsd, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_set_unit_idle) (struct block_list *bl, struct map_session_data *tsd, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_set_unit_idle) (struct block_list *bl, struct map_session_data *tsd, enum send_target target);
typedef void (*HPMHOOK_pre_clif_spawn_unit) (struct block_list *bl, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_spawn_unit) (struct block_list *bl, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_spawn_unit) (struct block_list *bl, enum send_target target);
typedef void (*HPMHOOK_pre_clif_spawn_unit2) (struct block_list *bl, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_spawn_unit2) (struct block_list *bl, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_spawn_unit2) (struct block_list *bl, enum send_target target);
typedef void (*HPMHOOK_pre_clif_set_unit_idle2) (struct block_list *bl, struct map_session_data *tsd, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_set_unit_idle2) (struct block_list *bl, struct map_session_data *tsd, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_set_unit_idle2) (struct block_list *bl, struct map_session_data *tsd, enum send_target target);
typedef void (*HPMHOOK_pre_clif_set_unit_walking) (struct block_list *bl, struct map_session_data *tsd, struct unit_data *ud, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_set_unit_walking) (struct block_list *bl, struct map_session_data *tsd, struct unit_data *ud, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_set_unit_walking) (struct block_list *bl, struct map_session_data *tsd, struct unit_data *ud, enum send_target target);
typedef int (*HPMHOOK_pre_clif_calc_walkdelay) (struct block_list *bl, int *delay, int *type, int *damage, int *div_);
-typedef int (*HPMHOOK_post_clif_calc_walkdelay) (int retVal___, struct block_list *bl, int *delay, int *type, int *damage, int *div_);
+typedef int (*HPMHOOK_post_clif_calc_walkdelay) (int retVal___, struct block_list *bl, int delay, int type, int damage, int div_);
typedef void (*HPMHOOK_pre_clif_getareachar_skillunit) (struct block_list *bl, struct skill_unit *su, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_getareachar_skillunit) (struct block_list *bl, struct skill_unit *su, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_getareachar_skillunit) (struct block_list *bl, struct skill_unit *su, enum send_target target);
typedef void (*HPMHOOK_pre_clif_getareachar_unit) (struct map_session_data *sd, struct block_list *bl);
typedef void (*HPMHOOK_post_clif_getareachar_unit) (struct map_session_data *sd, struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_clearchar_skillunit) (struct skill_unit *su, int *fd);
-typedef void (*HPMHOOK_post_clif_clearchar_skillunit) (struct skill_unit *su, int *fd);
+typedef void (*HPMHOOK_post_clif_clearchar_skillunit) (struct skill_unit *su, int fd);
typedef int (*HPMHOOK_pre_clif_getareachar) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_clif_getareachar) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_clif_graffiti_entry) (struct block_list *bl, struct skill_unit *su, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_graffiti_entry) (struct block_list *bl, struct skill_unit *su, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_graffiti_entry) (struct block_list *bl, struct skill_unit *su, enum send_target target);
typedef bool (*HPMHOOK_pre_clif_spawn) (struct block_list *bl);
typedef bool (*HPMHOOK_post_clif_spawn) (bool retVal___, struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_changemap) (struct map_session_data *sd, short *m, int *x, int *y);
-typedef void (*HPMHOOK_post_clif_changemap) (struct map_session_data *sd, short *m, int *x, int *y);
+typedef void (*HPMHOOK_post_clif_changemap) (struct map_session_data *sd, short m, int x, int y);
typedef void (*HPMHOOK_pre_clif_changemapcell) (int *fd, int16 *m, int *x, int *y, int *type, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_changemapcell) (int *fd, int16 *m, int *x, int *y, int *type, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_changemapcell) (int fd, int16 m, int x, int y, int type, enum send_target target);
typedef void (*HPMHOOK_pre_clif_map_property) (struct map_session_data *sd, enum map_property *property);
-typedef void (*HPMHOOK_post_clif_map_property) (struct map_session_data *sd, enum map_property *property);
+typedef void (*HPMHOOK_post_clif_map_property) (struct map_session_data *sd, enum map_property property);
typedef void (*HPMHOOK_pre_clif_pvpset) (struct map_session_data *sd, int *pvprank, int *pvpnum, int *type);
-typedef void (*HPMHOOK_post_clif_pvpset) (struct map_session_data *sd, int *pvprank, int *pvpnum, int *type);
+typedef void (*HPMHOOK_post_clif_pvpset) (struct map_session_data *sd, int pvprank, int pvpnum, int type);
typedef void (*HPMHOOK_pre_clif_map_property_mapall) (int *mapid, enum map_property *property);
-typedef void (*HPMHOOK_post_clif_map_property_mapall) (int *mapid, enum map_property *property);
+typedef void (*HPMHOOK_post_clif_map_property_mapall) (int mapid, enum map_property property);
typedef void (*HPMHOOK_pre_clif_bossmapinfo) (int *fd, struct mob_data *md, short *flag);
-typedef void (*HPMHOOK_post_clif_bossmapinfo) (int *fd, struct mob_data *md, short *flag);
+typedef void (*HPMHOOK_post_clif_bossmapinfo) (int fd, struct mob_data *md, short flag);
typedef void (*HPMHOOK_pre_clif_map_type) (struct map_session_data *sd, enum map_type *type);
-typedef void (*HPMHOOK_post_clif_map_type) (struct map_session_data *sd, enum map_type *type);
+typedef void (*HPMHOOK_post_clif_map_type) (struct map_session_data *sd, enum map_type type);
typedef void (*HPMHOOK_pre_clif_maptypeproperty2) (struct block_list *bl, enum send_target *t);
-typedef void (*HPMHOOK_post_clif_maptypeproperty2) (struct block_list *bl, enum send_target *t);
+typedef void (*HPMHOOK_post_clif_maptypeproperty2) (struct block_list *bl, enum send_target t);
typedef void (*HPMHOOK_pre_clif_changemapserver) (struct map_session_data *sd, unsigned short *map_index, int *x, int *y, uint32 *ip, uint16 *port);
-typedef void (*HPMHOOK_post_clif_changemapserver) (struct map_session_data *sd, unsigned short *map_index, int *x, int *y, uint32 *ip, uint16 *port);
+typedef void (*HPMHOOK_post_clif_changemapserver) (struct map_session_data *sd, unsigned short map_index, int x, int y, uint32 ip, uint16 port);
typedef void (*HPMHOOK_pre_clif_npcbuysell) (struct map_session_data *sd, int *id);
-typedef void (*HPMHOOK_post_clif_npcbuysell) (struct map_session_data *sd, int *id);
+typedef void (*HPMHOOK_post_clif_npcbuysell) (struct map_session_data *sd, int id);
typedef void (*HPMHOOK_pre_clif_buylist) (struct map_session_data *sd, struct npc_data *nd);
typedef void (*HPMHOOK_post_clif_buylist) (struct map_session_data *sd, struct npc_data *nd);
typedef void (*HPMHOOK_pre_clif_selllist) (struct map_session_data *sd);
@@ -997,33 +997,33 @@ typedef void (*HPMHOOK_post_clif_selllist) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_cashshop_show) (struct map_session_data *sd, struct npc_data *nd);
typedef void (*HPMHOOK_post_clif_cashshop_show) (struct map_session_data *sd, struct npc_data *nd);
typedef void (*HPMHOOK_pre_clif_npc_buy_result) (struct map_session_data *sd, unsigned char *result);
-typedef void (*HPMHOOK_post_clif_npc_buy_result) (struct map_session_data *sd, unsigned char *result);
+typedef void (*HPMHOOK_post_clif_npc_buy_result) (struct map_session_data *sd, unsigned char result);
typedef void (*HPMHOOK_pre_clif_npc_sell_result) (struct map_session_data *sd, unsigned char *result);
-typedef void (*HPMHOOK_post_clif_npc_sell_result) (struct map_session_data *sd, unsigned char *result);
+typedef void (*HPMHOOK_post_clif_npc_sell_result) (struct map_session_data *sd, unsigned char result);
typedef void (*HPMHOOK_pre_clif_cashshop_ack) (struct map_session_data *sd, int *error);
-typedef void (*HPMHOOK_post_clif_cashshop_ack) (struct map_session_data *sd, int *error);
+typedef void (*HPMHOOK_post_clif_cashshop_ack) (struct map_session_data *sd, int error);
typedef void (*HPMHOOK_pre_clif_scriptmes) (struct map_session_data *sd, int *npcid, const char *mes);
-typedef void (*HPMHOOK_post_clif_scriptmes) (struct map_session_data *sd, int *npcid, const char *mes);
+typedef void (*HPMHOOK_post_clif_scriptmes) (struct map_session_data *sd, int npcid, const char *mes);
typedef void (*HPMHOOK_pre_clif_scriptnext) (struct map_session_data *sd, int *npcid);
-typedef void (*HPMHOOK_post_clif_scriptnext) (struct map_session_data *sd, int *npcid);
+typedef void (*HPMHOOK_post_clif_scriptnext) (struct map_session_data *sd, int npcid);
typedef void (*HPMHOOK_pre_clif_scriptclose) (struct map_session_data *sd, int *npcid);
-typedef void (*HPMHOOK_post_clif_scriptclose) (struct map_session_data *sd, int *npcid);
+typedef void (*HPMHOOK_post_clif_scriptclose) (struct map_session_data *sd, int npcid);
typedef void (*HPMHOOK_pre_clif_scriptmenu) (struct map_session_data *sd, int *npcid, const char *mes);
-typedef void (*HPMHOOK_post_clif_scriptmenu) (struct map_session_data *sd, int *npcid, const char *mes);
+typedef void (*HPMHOOK_post_clif_scriptmenu) (struct map_session_data *sd, int npcid, const char *mes);
typedef void (*HPMHOOK_pre_clif_scriptinput) (struct map_session_data *sd, int *npcid);
-typedef void (*HPMHOOK_post_clif_scriptinput) (struct map_session_data *sd, int *npcid);
+typedef void (*HPMHOOK_post_clif_scriptinput) (struct map_session_data *sd, int npcid);
typedef void (*HPMHOOK_pre_clif_scriptinputstr) (struct map_session_data *sd, int *npcid);
-typedef void (*HPMHOOK_post_clif_scriptinputstr) (struct map_session_data *sd, int *npcid);
+typedef void (*HPMHOOK_post_clif_scriptinputstr) (struct map_session_data *sd, int npcid);
typedef void (*HPMHOOK_pre_clif_cutin) (struct map_session_data *sd, const char *image, int *type);
-typedef void (*HPMHOOK_post_clif_cutin) (struct map_session_data *sd, const char *image, int *type);
+typedef void (*HPMHOOK_post_clif_cutin) (struct map_session_data *sd, const char *image, int type);
typedef void (*HPMHOOK_pre_clif_sendfakenpc) (struct map_session_data *sd, int *npcid);
-typedef void (*HPMHOOK_post_clif_sendfakenpc) (struct map_session_data *sd, int *npcid);
+typedef void (*HPMHOOK_post_clif_sendfakenpc) (struct map_session_data *sd, int npcid);
typedef void (*HPMHOOK_pre_clif_scriptclear) (struct map_session_data *sd, int *npcid);
-typedef void (*HPMHOOK_post_clif_scriptclear) (struct map_session_data *sd, int *npcid);
+typedef void (*HPMHOOK_post_clif_scriptclear) (struct map_session_data *sd, int npcid);
typedef void (*HPMHOOK_pre_clif_viewpoint) (struct map_session_data *sd, int *npc_id, int *type, int *x, int *y, int *id, int *color);
-typedef void (*HPMHOOK_post_clif_viewpoint) (struct map_session_data *sd, int *npc_id, int *type, int *x, int *y, int *id, int *color);
+typedef void (*HPMHOOK_post_clif_viewpoint) (struct map_session_data *sd, int npc_id, int type, int x, int y, int id, int color);
typedef int (*HPMHOOK_pre_clif_damage) (struct block_list *src, struct block_list *dst, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
-typedef int (*HPMHOOK_post_clif_damage) (int retVal___, struct block_list *src, struct block_list *dst, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
+typedef int (*HPMHOOK_post_clif_damage) (int retVal___, struct block_list *src, struct block_list *dst, int sdelay, int ddelay, int64 damage, short div, unsigned char type, int64 damage2);
typedef void (*HPMHOOK_pre_clif_sitting) (struct block_list *bl);
typedef void (*HPMHOOK_post_clif_sitting) (struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_standing) (struct block_list *bl);
@@ -1035,17 +1035,17 @@ typedef void (*HPMHOOK_post_clif_refresh_storagewindow) (struct map_session_data
typedef void (*HPMHOOK_pre_clif_refresh) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_refresh) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_fame_blacksmith) (struct map_session_data *sd, int *points);
-typedef void (*HPMHOOK_post_clif_fame_blacksmith) (struct map_session_data *sd, int *points);
+typedef void (*HPMHOOK_post_clif_fame_blacksmith) (struct map_session_data *sd, int points);
typedef void (*HPMHOOK_pre_clif_fame_alchemist) (struct map_session_data *sd, int *points);
-typedef void (*HPMHOOK_post_clif_fame_alchemist) (struct map_session_data *sd, int *points);
+typedef void (*HPMHOOK_post_clif_fame_alchemist) (struct map_session_data *sd, int points);
typedef void (*HPMHOOK_pre_clif_fame_taekwon) (struct map_session_data *sd, int *points);
-typedef void (*HPMHOOK_post_clif_fame_taekwon) (struct map_session_data *sd, int *points);
+typedef void (*HPMHOOK_post_clif_fame_taekwon) (struct map_session_data *sd, int points);
typedef void (*HPMHOOK_pre_clif_ranklist) (struct map_session_data *sd, enum fame_list_type *type);
-typedef void (*HPMHOOK_post_clif_ranklist) (struct map_session_data *sd, enum fame_list_type *type);
+typedef void (*HPMHOOK_post_clif_ranklist) (struct map_session_data *sd, enum fame_list_type type);
typedef void (*HPMHOOK_pre_clif_update_rankingpoint) (struct map_session_data *sd, enum fame_list_type *type, int *points);
-typedef void (*HPMHOOK_post_clif_update_rankingpoint) (struct map_session_data *sd, enum fame_list_type *type, int *points);
+typedef void (*HPMHOOK_post_clif_update_rankingpoint) (struct map_session_data *sd, enum fame_list_type type, int points);
typedef void (*HPMHOOK_pre_clif_pRanklist) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRanklist) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRanklist) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_hotkeys) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_hotkeys) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_clif_insight) (struct block_list *bl, va_list ap);
@@ -1055,25 +1055,25 @@ typedef int (*HPMHOOK_post_clif_outsight) (int retVal___, struct block_list *bl,
typedef void (*HPMHOOK_pre_clif_skillcastcancel) (struct block_list *bl);
typedef void (*HPMHOOK_post_clif_skillcastcancel) (struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_skill_fail) (struct map_session_data *sd, uint16 *skill_id, enum useskill_fail_cause *cause, int *btype);
-typedef void (*HPMHOOK_post_clif_skill_fail) (struct map_session_data *sd, uint16 *skill_id, enum useskill_fail_cause *cause, int *btype);
+typedef void (*HPMHOOK_post_clif_skill_fail) (struct map_session_data *sd, uint16 skill_id, enum useskill_fail_cause cause, int btype);
typedef void (*HPMHOOK_pre_clif_skill_cooldown) (struct map_session_data *sd, uint16 *skill_id, unsigned int *duration);
-typedef void (*HPMHOOK_post_clif_skill_cooldown) (struct map_session_data *sd, uint16 *skill_id, unsigned int *duration);
+typedef void (*HPMHOOK_post_clif_skill_cooldown) (struct map_session_data *sd, uint16 skill_id, unsigned int duration);
typedef void (*HPMHOOK_pre_clif_skill_memomessage) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_clif_skill_memomessage) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_clif_skill_memomessage) (struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_clif_skill_mapinfomessage) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_clif_skill_mapinfomessage) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_clif_skill_mapinfomessage) (struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_clif_skill_produce_mix_list) (struct map_session_data *sd, int *skill_id, int *trigger);
-typedef void (*HPMHOOK_post_clif_skill_produce_mix_list) (struct map_session_data *sd, int *skill_id, int *trigger);
+typedef void (*HPMHOOK_post_clif_skill_produce_mix_list) (struct map_session_data *sd, int skill_id, int trigger);
typedef void (*HPMHOOK_pre_clif_cooking_list) (struct map_session_data *sd, int *trigger, uint16 *skill_id, int *qty, int *list_type);
-typedef void (*HPMHOOK_post_clif_cooking_list) (struct map_session_data *sd, int *trigger, uint16 *skill_id, int *qty, int *list_type);
+typedef void (*HPMHOOK_post_clif_cooking_list) (struct map_session_data *sd, int trigger, uint16 skill_id, int qty, int list_type);
typedef void (*HPMHOOK_pre_clif_autospell) (struct map_session_data *sd, uint16 *skill_lv);
-typedef void (*HPMHOOK_post_clif_autospell) (struct map_session_data *sd, uint16 *skill_lv);
+typedef void (*HPMHOOK_post_clif_autospell) (struct map_session_data *sd, uint16 skill_lv);
typedef void (*HPMHOOK_pre_clif_combo_delay) (struct block_list *bl, int *wait);
-typedef void (*HPMHOOK_post_clif_combo_delay) (struct block_list *bl, int *wait);
+typedef void (*HPMHOOK_post_clif_combo_delay) (struct block_list *bl, int wait);
typedef void (*HPMHOOK_pre_clif_status_change) (struct block_list *bl, int *type, int *flag, int *tick, int *val1, int *val2, int *val3);
-typedef void (*HPMHOOK_post_clif_status_change) (struct block_list *bl, int *type, int *flag, int *tick, int *val1, int *val2, int *val3);
+typedef void (*HPMHOOK_post_clif_status_change) (struct block_list *bl, int type, int flag, int tick, int val1, int val2, int val3);
typedef void (*HPMHOOK_pre_clif_insert_card) (struct map_session_data *sd, int *idx_equip, int *idx_card, int *flag);
-typedef void (*HPMHOOK_post_clif_insert_card) (struct map_session_data *sd, int *idx_equip, int *idx_card, int *flag);
+typedef void (*HPMHOOK_post_clif_insert_card) (struct map_session_data *sd, int idx_equip, int idx_card, int flag);
typedef void (*HPMHOOK_pre_clif_inventorylist) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_inventorylist) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_equiplist) (struct map_session_data *sd);
@@ -1081,115 +1081,115 @@ typedef void (*HPMHOOK_post_clif_equiplist) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_cartlist) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_cartlist) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_favorite_item) (struct map_session_data *sd, unsigned short *index);
-typedef void (*HPMHOOK_post_clif_favorite_item) (struct map_session_data *sd, unsigned short *index);
+typedef void (*HPMHOOK_post_clif_favorite_item) (struct map_session_data *sd, unsigned short index);
typedef void (*HPMHOOK_pre_clif_clearcart) (int *fd);
-typedef void (*HPMHOOK_post_clif_clearcart) (int *fd);
+typedef void (*HPMHOOK_post_clif_clearcart) (int fd);
typedef void (*HPMHOOK_pre_clif_item_identify_list) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_item_identify_list) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_item_identified) (struct map_session_data *sd, int *idx, int *flag);
-typedef void (*HPMHOOK_post_clif_item_identified) (struct map_session_data *sd, int *idx, int *flag);
+typedef void (*HPMHOOK_post_clif_item_identified) (struct map_session_data *sd, int idx, int flag);
typedef void (*HPMHOOK_pre_clif_item_repair_list) (struct map_session_data *sd, struct map_session_data *dstsd, int *lv);
-typedef void (*HPMHOOK_post_clif_item_repair_list) (struct map_session_data *sd, struct map_session_data *dstsd, int *lv);
+typedef void (*HPMHOOK_post_clif_item_repair_list) (struct map_session_data *sd, struct map_session_data *dstsd, int lv);
typedef void (*HPMHOOK_pre_clif_item_repaireffect) (struct map_session_data *sd, int *idx, int *flag);
-typedef void (*HPMHOOK_post_clif_item_repaireffect) (struct map_session_data *sd, int *idx, int *flag);
+typedef void (*HPMHOOK_post_clif_item_repaireffect) (struct map_session_data *sd, int idx, int flag);
typedef void (*HPMHOOK_pre_clif_item_damaged) (struct map_session_data *sd, unsigned short *position);
-typedef void (*HPMHOOK_post_clif_item_damaged) (struct map_session_data *sd, unsigned short *position);
+typedef void (*HPMHOOK_post_clif_item_damaged) (struct map_session_data *sd, unsigned short position);
typedef void (*HPMHOOK_pre_clif_item_refine_list) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_item_refine_list) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_item_skill) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
-typedef void (*HPMHOOK_post_clif_item_skill) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+typedef void (*HPMHOOK_post_clif_item_skill) (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
typedef void (*HPMHOOK_pre_clif_mvp_item) (struct map_session_data *sd, int *nameid);
-typedef void (*HPMHOOK_post_clif_mvp_item) (struct map_session_data *sd, int *nameid);
+typedef void (*HPMHOOK_post_clif_mvp_item) (struct map_session_data *sd, int nameid);
typedef void (*HPMHOOK_pre_clif_mvp_exp) (struct map_session_data *sd, unsigned int *exp);
-typedef void (*HPMHOOK_post_clif_mvp_exp) (struct map_session_data *sd, unsigned int *exp);
+typedef void (*HPMHOOK_post_clif_mvp_exp) (struct map_session_data *sd, unsigned int exp);
typedef void (*HPMHOOK_pre_clif_mvp_noitem) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_mvp_noitem) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_changed_dir) (struct block_list *bl, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_changed_dir) (struct block_list *bl, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_changed_dir) (struct block_list *bl, enum send_target target);
typedef void (*HPMHOOK_pre_clif_charnameack) (int *fd, struct block_list *bl);
-typedef void (*HPMHOOK_post_clif_charnameack) (int *fd, struct block_list *bl);
+typedef void (*HPMHOOK_post_clif_charnameack) (int fd, struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_monster_hp_bar) (struct mob_data *md, struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_monster_hp_bar) (struct mob_data *md, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_clif_hpmeter) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_clif_hpmeter) (int retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_hpmeter_single) (int *fd, int *id, unsigned int *hp, unsigned int *maxhp);
-typedef void (*HPMHOOK_post_clif_hpmeter_single) (int *fd, int *id, unsigned int *hp, unsigned int *maxhp);
+typedef void (*HPMHOOK_post_clif_hpmeter_single) (int fd, int id, unsigned int hp, unsigned int maxhp);
typedef int (*HPMHOOK_pre_clif_hpmeter_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_clif_hpmeter_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_clif_upgrademessage) (int *fd, int *result, int *item_id);
-typedef void (*HPMHOOK_post_clif_upgrademessage) (int *fd, int *result, int *item_id);
+typedef void (*HPMHOOK_post_clif_upgrademessage) (int fd, int result, int item_id);
typedef void (*HPMHOOK_pre_clif_get_weapon_view) (struct map_session_data *sd, unsigned short *rhand, unsigned short *lhand);
typedef void (*HPMHOOK_post_clif_get_weapon_view) (struct map_session_data *sd, unsigned short *rhand, unsigned short *lhand);
typedef void (*HPMHOOK_pre_clif_gospel_info) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_clif_gospel_info) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_clif_gospel_info) (struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_clif_feel_req) (int *fd, struct map_session_data *sd, uint16 *skill_lv);
-typedef void (*HPMHOOK_post_clif_feel_req) (int *fd, struct map_session_data *sd, uint16 *skill_lv);
+typedef void (*HPMHOOK_post_clif_feel_req) (int fd, struct map_session_data *sd, uint16 skill_lv);
typedef void (*HPMHOOK_pre_clif_starskill) (struct map_session_data *sd, const char *mapname, int *monster_id, unsigned char *star, unsigned char *result);
-typedef void (*HPMHOOK_post_clif_starskill) (struct map_session_data *sd, const char *mapname, int *monster_id, unsigned char *star, unsigned char *result);
+typedef void (*HPMHOOK_post_clif_starskill) (struct map_session_data *sd, const char *mapname, int monster_id, unsigned char star, unsigned char result);
typedef void (*HPMHOOK_pre_clif_feel_info) (struct map_session_data *sd, unsigned char *feel_level, unsigned char *type);
-typedef void (*HPMHOOK_post_clif_feel_info) (struct map_session_data *sd, unsigned char *feel_level, unsigned char *type);
+typedef void (*HPMHOOK_post_clif_feel_info) (struct map_session_data *sd, unsigned char feel_level, unsigned char type);
typedef void (*HPMHOOK_pre_clif_hate_info) (struct map_session_data *sd, unsigned char *hate_level, int *class_, unsigned char *type);
-typedef void (*HPMHOOK_post_clif_hate_info) (struct map_session_data *sd, unsigned char *hate_level, int *class_, unsigned char *type);
+typedef void (*HPMHOOK_post_clif_hate_info) (struct map_session_data *sd, unsigned char hate_level, int class_, unsigned char type);
typedef void (*HPMHOOK_pre_clif_mission_info) (struct map_session_data *sd, int *mob_id, unsigned char *progress);
-typedef void (*HPMHOOK_post_clif_mission_info) (struct map_session_data *sd, int *mob_id, unsigned char *progress);
+typedef void (*HPMHOOK_post_clif_mission_info) (struct map_session_data *sd, int mob_id, unsigned char progress);
typedef void (*HPMHOOK_pre_clif_feel_hate_reset) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_feel_hate_reset) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_partytickack) (struct map_session_data *sd, bool *flag);
-typedef void (*HPMHOOK_post_clif_partytickack) (struct map_session_data *sd, bool *flag);
+typedef void (*HPMHOOK_post_clif_partytickack) (struct map_session_data *sd, bool flag);
typedef void (*HPMHOOK_pre_clif_equiptickack) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_equiptickack) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_equiptickack) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_viewequip_ack) (struct map_session_data *sd, struct map_session_data *tsd);
typedef void (*HPMHOOK_post_clif_viewequip_ack) (struct map_session_data *sd, struct map_session_data *tsd);
typedef void (*HPMHOOK_pre_clif_equpcheckbox) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_equpcheckbox) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_displayexp) (struct map_session_data *sd, unsigned int *exp, char *type, bool *is_quest);
-typedef void (*HPMHOOK_post_clif_displayexp) (struct map_session_data *sd, unsigned int *exp, char *type, bool *is_quest);
+typedef void (*HPMHOOK_post_clif_displayexp) (struct map_session_data *sd, unsigned int exp, char type, bool is_quest);
typedef void (*HPMHOOK_pre_clif_font) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_font) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_progressbar) (struct map_session_data *sd, unsigned int *color, unsigned int *second);
-typedef void (*HPMHOOK_post_clif_progressbar) (struct map_session_data *sd, unsigned int *color, unsigned int *second);
+typedef void (*HPMHOOK_post_clif_progressbar) (struct map_session_data *sd, unsigned int color, unsigned int second);
typedef void (*HPMHOOK_pre_clif_progressbar_abort) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_progressbar_abort) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_showdigit) (struct map_session_data *sd, unsigned char *type, int *value);
-typedef void (*HPMHOOK_post_clif_showdigit) (struct map_session_data *sd, unsigned char *type, int *value);
+typedef void (*HPMHOOK_post_clif_showdigit) (struct map_session_data *sd, unsigned char type, int value);
typedef int (*HPMHOOK_pre_clif_elementalconverter_list) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_clif_elementalconverter_list) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_clif_spellbook_list) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_clif_spellbook_list) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_clif_magicdecoy_list) (struct map_session_data *sd, uint16 *skill_lv, short *x, short *y);
-typedef int (*HPMHOOK_post_clif_magicdecoy_list) (int retVal___, struct map_session_data *sd, uint16 *skill_lv, short *x, short *y);
+typedef int (*HPMHOOK_post_clif_magicdecoy_list) (int retVal___, struct map_session_data *sd, uint16 skill_lv, short x, short y);
typedef int (*HPMHOOK_pre_clif_poison_list) (struct map_session_data *sd, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_clif_poison_list) (int retVal___, struct map_session_data *sd, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_clif_poison_list) (int retVal___, struct map_session_data *sd, uint16 skill_lv);
typedef int (*HPMHOOK_pre_clif_autoshadowspell_list) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_clif_autoshadowspell_list) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_clif_skill_itemlistwindow) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_clif_skill_itemlistwindow) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_clif_skill_itemlistwindow) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
typedef void (*HPMHOOK_pre_clif_sc_load) (struct block_list *bl, int *tid, enum send_target *target, int *type, int *val1, int *val2, int *val3);
-typedef void (*HPMHOOK_post_clif_sc_load) (struct block_list *bl, int *tid, enum send_target *target, int *type, int *val1, int *val2, int *val3);
+typedef void (*HPMHOOK_post_clif_sc_load) (struct block_list *bl, int tid, enum send_target target, int type, int val1, int val2, int val3);
typedef void (*HPMHOOK_pre_clif_sc_end) (struct block_list *bl, int *tid, enum send_target *target, int *type);
-typedef void (*HPMHOOK_post_clif_sc_end) (struct block_list *bl, int *tid, enum send_target *target, int *type);
+typedef void (*HPMHOOK_post_clif_sc_end) (struct block_list *bl, int tid, enum send_target target, int type);
typedef void (*HPMHOOK_pre_clif_initialstatus) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_initialstatus) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_cooldown_list) (int *fd, struct skill_cd *cd);
-typedef void (*HPMHOOK_post_clif_cooldown_list) (int *fd, struct skill_cd *cd);
+typedef void (*HPMHOOK_post_clif_cooldown_list) (int fd, struct skill_cd *cd);
typedef void (*HPMHOOK_pre_clif_updatestatus) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_clif_updatestatus) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_clif_updatestatus) (struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_clif_changestatus) (struct map_session_data *sd, int *type, int *val);
-typedef void (*HPMHOOK_post_clif_changestatus) (struct map_session_data *sd, int *type, int *val);
+typedef void (*HPMHOOK_post_clif_changestatus) (struct map_session_data *sd, int type, int val);
typedef void (*HPMHOOK_pre_clif_statusupack) (struct map_session_data *sd, int *type, int *ok, int *val);
-typedef void (*HPMHOOK_post_clif_statusupack) (struct map_session_data *sd, int *type, int *ok, int *val);
+typedef void (*HPMHOOK_post_clif_statusupack) (struct map_session_data *sd, int type, int ok, int val);
typedef void (*HPMHOOK_pre_clif_movetoattack) (struct map_session_data *sd, struct block_list *bl);
typedef void (*HPMHOOK_post_clif_movetoattack) (struct map_session_data *sd, struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_solved_charname) (int *fd, int *charid, const char *name);
-typedef void (*HPMHOOK_post_clif_solved_charname) (int *fd, int *charid, const char *name);
+typedef void (*HPMHOOK_post_clif_solved_charname) (int fd, int charid, const char *name);
typedef void (*HPMHOOK_pre_clif_charnameupdate) (struct map_session_data *ssd);
typedef void (*HPMHOOK_post_clif_charnameupdate) (struct map_session_data *ssd);
typedef int (*HPMHOOK_pre_clif_delayquit) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_clif_delayquit) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_clif_delayquit) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_clif_getareachar_pc) (struct map_session_data *sd, struct map_session_data *dstsd);
typedef void (*HPMHOOK_post_clif_getareachar_pc) (struct map_session_data *sd, struct map_session_data *dstsd);
typedef void (*HPMHOOK_pre_clif_disconnect_ack) (struct map_session_data *sd, short *result);
-typedef void (*HPMHOOK_post_clif_disconnect_ack) (struct map_session_data *sd, short *result);
+typedef void (*HPMHOOK_post_clif_disconnect_ack) (struct map_session_data *sd, short result);
typedef void (*HPMHOOK_pre_clif_PVPInfo) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_PVPInfo) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_blacksmith) (struct map_session_data *sd);
@@ -1201,15 +1201,15 @@ typedef void (*HPMHOOK_post_clif_taekwon) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_ranking_pk) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_ranking_pk) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_quitsave) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_quitsave) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_quitsave) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_misceffect) (struct block_list *bl, int *type);
-typedef void (*HPMHOOK_post_clif_misceffect) (struct block_list *bl, int *type);
+typedef void (*HPMHOOK_post_clif_misceffect) (struct block_list *bl, int type);
typedef void (*HPMHOOK_pre_clif_changeoption) (struct block_list *bl);
typedef void (*HPMHOOK_post_clif_changeoption) (struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_changeoption2) (struct block_list *bl);
typedef void (*HPMHOOK_post_clif_changeoption2) (struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_emotion) (struct block_list *bl, int *type);
-typedef void (*HPMHOOK_post_clif_emotion) (struct block_list *bl, int *type);
+typedef void (*HPMHOOK_post_clif_emotion) (struct block_list *bl, int type);
typedef void (*HPMHOOK_pre_clif_talkiebox) (struct block_list *bl, const char *talkie);
typedef void (*HPMHOOK_post_clif_talkiebox) (struct block_list *bl, const char *talkie);
typedef void (*HPMHOOK_pre_clif_wedding_effect) (struct block_list *bl);
@@ -1219,67 +1219,67 @@ typedef void (*HPMHOOK_post_clif_divorced) (struct map_session_data *sd, const c
typedef void (*HPMHOOK_pre_clif_callpartner) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_callpartner) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_clif_skill_damage) (struct block_list *src, struct block_list *dst, int64 *tick, int *sdelay, int *ddelay, int64 *damage, int *div, uint16 *skill_id, uint16 *skill_lv, int *type);
-typedef int (*HPMHOOK_post_clif_skill_damage) (int retVal___, struct block_list *src, struct block_list *dst, int64 *tick, int *sdelay, int *ddelay, int64 *damage, int *div, uint16 *skill_id, uint16 *skill_lv, int *type);
+typedef int (*HPMHOOK_post_clif_skill_damage) (int retVal___, struct block_list *src, struct block_list *dst, int64 tick, int sdelay, int ddelay, int64 damage, int div, uint16 skill_id, uint16 skill_lv, int type);
typedef int (*HPMHOOK_pre_clif_skill_nodamage) (struct block_list *src, struct block_list *dst, uint16 *skill_id, int *heal, int *fail);
-typedef int (*HPMHOOK_post_clif_skill_nodamage) (int retVal___, struct block_list *src, struct block_list *dst, uint16 *skill_id, int *heal, int *fail);
+typedef int (*HPMHOOK_post_clif_skill_nodamage) (int retVal___, struct block_list *src, struct block_list *dst, uint16 skill_id, int heal, int fail);
typedef void (*HPMHOOK_pre_clif_skill_poseffect) (struct block_list *src, uint16 *skill_id, int *val, int *x, int *y, int64 *tick);
-typedef void (*HPMHOOK_post_clif_skill_poseffect) (struct block_list *src, uint16 *skill_id, int *val, int *x, int *y, int64 *tick);
+typedef void (*HPMHOOK_post_clif_skill_poseffect) (struct block_list *src, uint16 skill_id, int val, int x, int y, int64 tick);
typedef void (*HPMHOOK_pre_clif_skill_estimation) (struct map_session_data *sd, struct block_list *dst);
typedef void (*HPMHOOK_post_clif_skill_estimation) (struct map_session_data *sd, struct block_list *dst);
typedef void (*HPMHOOK_pre_clif_skill_warppoint) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, unsigned short *map1, unsigned short *map2, unsigned short *map3, unsigned short *map4);
-typedef void (*HPMHOOK_post_clif_skill_warppoint) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, unsigned short *map1, unsigned short *map2, unsigned short *map3, unsigned short *map4);
+typedef void (*HPMHOOK_post_clif_skill_warppoint) (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv, unsigned short map1, unsigned short map2, unsigned short map3, unsigned short map4);
typedef void (*HPMHOOK_pre_clif_skillcasting) (struct block_list *bl, int *src_id, int *dst_id, int *dst_x, int *dst_y, uint16 *skill_id, int *property, int *casttime);
-typedef void (*HPMHOOK_post_clif_skillcasting) (struct block_list *bl, int *src_id, int *dst_id, int *dst_x, int *dst_y, uint16 *skill_id, int *property, int *casttime);
+typedef void (*HPMHOOK_post_clif_skillcasting) (struct block_list *bl, int src_id, int dst_id, int dst_x, int dst_y, uint16 skill_id, int property, int casttime);
typedef void (*HPMHOOK_pre_clif_produce_effect) (struct map_session_data *sd, int *flag, int *nameid);
-typedef void (*HPMHOOK_post_clif_produce_effect) (struct map_session_data *sd, int *flag, int *nameid);
+typedef void (*HPMHOOK_post_clif_produce_effect) (struct map_session_data *sd, int flag, int nameid);
typedef void (*HPMHOOK_pre_clif_devotion) (struct block_list *src, struct map_session_data *tsd);
typedef void (*HPMHOOK_post_clif_devotion) (struct block_list *src, struct map_session_data *tsd);
typedef void (*HPMHOOK_pre_clif_spiritball) (struct block_list *bl);
typedef void (*HPMHOOK_post_clif_spiritball) (struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_spiritball_single) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_spiritball_single) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_spiritball_single) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_bladestop) (struct block_list *src, int *dst_id, int *active);
-typedef void (*HPMHOOK_post_clif_bladestop) (struct block_list *src, int *dst_id, int *active);
+typedef void (*HPMHOOK_post_clif_bladestop) (struct block_list *src, int dst_id, int active);
typedef void (*HPMHOOK_pre_clif_mvp_effect) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_mvp_effect) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_heal) (int *fd, int *type, int *val);
-typedef void (*HPMHOOK_post_clif_heal) (int *fd, int *type, int *val);
+typedef void (*HPMHOOK_post_clif_heal) (int fd, int type, int val);
typedef void (*HPMHOOK_pre_clif_resurrection) (struct block_list *bl, int *type);
-typedef void (*HPMHOOK_post_clif_resurrection) (struct block_list *bl, int *type);
+typedef void (*HPMHOOK_post_clif_resurrection) (struct block_list *bl, int type);
typedef void (*HPMHOOK_pre_clif_refine) (int *fd, int *fail, int *index, int *val);
-typedef void (*HPMHOOK_post_clif_refine) (int *fd, int *fail, int *index, int *val);
+typedef void (*HPMHOOK_post_clif_refine) (int fd, int fail, int index, int val);
typedef void (*HPMHOOK_pre_clif_weather) (int16 *m);
-typedef void (*HPMHOOK_post_clif_weather) (int16 *m);
+typedef void (*HPMHOOK_post_clif_weather) (int16 m);
typedef void (*HPMHOOK_pre_clif_specialeffect) (struct block_list *bl, int *type, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_specialeffect) (struct block_list *bl, int *type, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_specialeffect) (struct block_list *bl, int type, enum send_target target);
typedef void (*HPMHOOK_pre_clif_specialeffect_single) (struct block_list *bl, int *type, int *fd);
-typedef void (*HPMHOOK_post_clif_specialeffect_single) (struct block_list *bl, int *type, int *fd);
+typedef void (*HPMHOOK_post_clif_specialeffect_single) (struct block_list *bl, int type, int fd);
typedef void (*HPMHOOK_pre_clif_specialeffect_value) (struct block_list *bl, int *effect_id, int *num, send_target *target);
-typedef void (*HPMHOOK_post_clif_specialeffect_value) (struct block_list *bl, int *effect_id, int *num, send_target *target);
+typedef void (*HPMHOOK_post_clif_specialeffect_value) (struct block_list *bl, int effect_id, int num, send_target target);
typedef void (*HPMHOOK_pre_clif_millenniumshield) (struct block_list *bl, short *shields);
-typedef void (*HPMHOOK_post_clif_millenniumshield) (struct block_list *bl, short *shields);
+typedef void (*HPMHOOK_post_clif_millenniumshield) (struct block_list *bl, short shields);
typedef void (*HPMHOOK_pre_clif_spiritcharm) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_spiritcharm) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_charm_single) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_charm_single) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_charm_single) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_snap) (struct block_list *bl, short *x, short *y);
-typedef void (*HPMHOOK_post_clif_snap) (struct block_list *bl, short *x, short *y);
+typedef void (*HPMHOOK_post_clif_snap) (struct block_list *bl, short x, short y);
typedef void (*HPMHOOK_pre_clif_weather_check) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_weather_check) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_playBGM) (struct map_session_data *sd, const char *name);
typedef void (*HPMHOOK_post_clif_playBGM) (struct map_session_data *sd, const char *name);
typedef void (*HPMHOOK_pre_clif_soundeffect) (struct map_session_data *sd, struct block_list *bl, const char *name, int *type);
-typedef void (*HPMHOOK_post_clif_soundeffect) (struct map_session_data *sd, struct block_list *bl, const char *name, int *type);
+typedef void (*HPMHOOK_post_clif_soundeffect) (struct map_session_data *sd, struct block_list *bl, const char *name, int type);
typedef void (*HPMHOOK_pre_clif_soundeffectall) (struct block_list *bl, const char *name, int *type, enum send_target *coverage);
-typedef void (*HPMHOOK_post_clif_soundeffectall) (struct block_list *bl, const char *name, int *type, enum send_target *coverage);
+typedef void (*HPMHOOK_post_clif_soundeffectall) (struct block_list *bl, const char *name, int type, enum send_target coverage);
typedef void (*HPMHOOK_pre_clif_GlobalMessage) (struct block_list *bl, const char *message);
typedef void (*HPMHOOK_post_clif_GlobalMessage) (struct block_list *bl, const char *message);
typedef void (*HPMHOOK_pre_clif_createchat) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_createchat) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_createchat) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_dispchat) (struct chat_data *cd, int *fd);
-typedef void (*HPMHOOK_post_clif_dispchat) (struct chat_data *cd, int *fd);
+typedef void (*HPMHOOK_post_clif_dispchat) (struct chat_data *cd, int fd);
typedef void (*HPMHOOK_pre_clif_joinchatfail) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_joinchatfail) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_joinchatfail) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_joinchatok) (struct map_session_data *sd, struct chat_data *cd);
typedef void (*HPMHOOK_post_clif_joinchatok) (struct map_session_data *sd, struct chat_data *cd);
typedef void (*HPMHOOK_pre_clif_addchat) (struct chat_data *cd, struct map_session_data *sd);
@@ -1287,45 +1287,45 @@ typedef void (*HPMHOOK_post_clif_addchat) (struct chat_data *cd, struct map_sess
typedef void (*HPMHOOK_pre_clif_changechatowner) (struct chat_data *cd, struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_changechatowner) (struct chat_data *cd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_clearchat) (struct chat_data *cd, int *fd);
-typedef void (*HPMHOOK_post_clif_clearchat) (struct chat_data *cd, int *fd);
+typedef void (*HPMHOOK_post_clif_clearchat) (struct chat_data *cd, int fd);
typedef void (*HPMHOOK_pre_clif_leavechat) (struct chat_data *cd, struct map_session_data *sd, bool *flag);
-typedef void (*HPMHOOK_post_clif_leavechat) (struct chat_data *cd, struct map_session_data *sd, bool *flag);
+typedef void (*HPMHOOK_post_clif_leavechat) (struct chat_data *cd, struct map_session_data *sd, bool flag);
typedef void (*HPMHOOK_pre_clif_changechatstatus) (struct chat_data *cd);
typedef void (*HPMHOOK_post_clif_changechatstatus) (struct chat_data *cd);
typedef void (*HPMHOOK_pre_clif_wis_message) (int *fd, const char *nick, const char *mes, int *mes_len);
-typedef void (*HPMHOOK_post_clif_wis_message) (int *fd, const char *nick, const char *mes, int *mes_len);
+typedef void (*HPMHOOK_post_clif_wis_message) (int fd, const char *nick, const char *mes, int mes_len);
typedef void (*HPMHOOK_pre_clif_wis_end) (int *fd, int *flag);
-typedef void (*HPMHOOK_post_clif_wis_end) (int *fd, int *flag);
+typedef void (*HPMHOOK_post_clif_wis_end) (int fd, int flag);
typedef void (*HPMHOOK_pre_clif_disp_message) (struct block_list *src, const char *mes, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_disp_message) (struct block_list *src, const char *mes, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_disp_message) (struct block_list *src, const char *mes, enum send_target target);
typedef void (*HPMHOOK_pre_clif_broadcast) (struct block_list *bl, const char *mes, int *len, int *type, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_broadcast) (struct block_list *bl, const char *mes, int *len, int *type, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_broadcast) (struct block_list *bl, const char *mes, int len, int type, enum send_target target);
typedef void (*HPMHOOK_pre_clif_broadcast2) (struct block_list *bl, const char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_broadcast2) (struct block_list *bl, const char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_broadcast2) (struct block_list *bl, const char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY, enum send_target target);
typedef void (*HPMHOOK_pre_clif_messagecolor_self) (int *fd, uint32 *color, const char *msg);
-typedef void (*HPMHOOK_post_clif_messagecolor_self) (int *fd, uint32 *color, const char *msg);
+typedef void (*HPMHOOK_post_clif_messagecolor_self) (int fd, uint32 color, const char *msg);
typedef void (*HPMHOOK_pre_clif_messagecolor) (struct block_list *bl, uint32 *color, const char *msg);
-typedef void (*HPMHOOK_post_clif_messagecolor) (struct block_list *bl, uint32 *color, const char *msg);
+typedef void (*HPMHOOK_post_clif_messagecolor) (struct block_list *bl, uint32 color, const char *msg);
typedef void (*HPMHOOK_pre_clif_disp_overhead) (struct block_list *bl, const char *mes);
typedef void (*HPMHOOK_post_clif_disp_overhead) (struct block_list *bl, const char *mes);
typedef void (*HPMHOOK_pre_clif_msgtable) (struct map_session_data *sd, unsigned short *msg_id);
-typedef void (*HPMHOOK_post_clif_msgtable) (struct map_session_data *sd, unsigned short *msg_id);
+typedef void (*HPMHOOK_post_clif_msgtable) (struct map_session_data *sd, unsigned short msg_id);
typedef void (*HPMHOOK_pre_clif_msgtable_num) (struct map_session_data *sd, unsigned short *msg_id, int *value);
-typedef void (*HPMHOOK_post_clif_msgtable_num) (struct map_session_data *sd, unsigned short *msg_id, int *value);
+typedef void (*HPMHOOK_post_clif_msgtable_num) (struct map_session_data *sd, unsigned short msg_id, int value);
typedef void (*HPMHOOK_pre_clif_msgtable_skill) (struct map_session_data *sd, uint16 *skill_id, int *msg_id);
-typedef void (*HPMHOOK_post_clif_msgtable_skill) (struct map_session_data *sd, uint16 *skill_id, int *msg_id);
+typedef void (*HPMHOOK_post_clif_msgtable_skill) (struct map_session_data *sd, uint16 skill_id, int msg_id);
typedef void (*HPMHOOK_pre_clif_message) (const int *fd, const char *mes);
-typedef void (*HPMHOOK_post_clif_message) (const int *fd, const char *mes);
+typedef void (*HPMHOOK_post_clif_message) (const int fd, const char *mes);
typedef void (*HPMHOOK_pre_clif_messageln) (const int *fd, const char *mes);
-typedef void (*HPMHOOK_post_clif_messageln) (const int *fd, const char *mes);
+typedef void (*HPMHOOK_post_clif_messageln) (const int fd, const char *mes);
typedef const char* (*HPMHOOK_pre_clif_process_chat_message) (struct map_session_data *sd, const struct packet_chat_message *packet, char *out_buf, int *out_buflen);
-typedef const char* (*HPMHOOK_post_clif_process_chat_message) (const char* retVal___, struct map_session_data *sd, const struct packet_chat_message *packet, char *out_buf, int *out_buflen);
+typedef const char* (*HPMHOOK_post_clif_process_chat_message) (const char* retVal___, struct map_session_data *sd, const struct packet_chat_message *packet, char *out_buf, int out_buflen);
typedef bool (*HPMHOOK_pre_clif_process_whisper_message) (struct map_session_data *sd, const struct packet_whisper_message *packet, char *out_name, char *out_message, int *out_messagelen);
-typedef bool (*HPMHOOK_post_clif_process_whisper_message) (bool retVal___, struct map_session_data *sd, const struct packet_whisper_message *packet, char *out_name, char *out_message, int *out_messagelen);
+typedef bool (*HPMHOOK_post_clif_process_whisper_message) (bool retVal___, struct map_session_data *sd, const struct packet_whisper_message *packet, char *out_name, char *out_message, int out_messagelen);
typedef void (*HPMHOOK_pre_clif_wisexin) (struct map_session_data *sd, int *type, int *flag);
-typedef void (*HPMHOOK_post_clif_wisexin) (struct map_session_data *sd, int *type, int *flag);
+typedef void (*HPMHOOK_post_clif_wisexin) (struct map_session_data *sd, int type, int flag);
typedef void (*HPMHOOK_pre_clif_wisall) (struct map_session_data *sd, int *type, int *flag);
-typedef void (*HPMHOOK_post_clif_wisall) (struct map_session_data *sd, int *type, int *flag);
+typedef void (*HPMHOOK_post_clif_wisall) (struct map_session_data *sd, int type, int flag);
typedef void (*HPMHOOK_pre_clif_PMIgnoreList) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_PMIgnoreList) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_ShowScript) (struct block_list *bl, const char *message);
@@ -1333,55 +1333,55 @@ typedef void (*HPMHOOK_post_clif_ShowScript) (struct block_list *bl, const char
typedef void (*HPMHOOK_pre_clif_traderequest) (struct map_session_data *sd, const char *name);
typedef void (*HPMHOOK_post_clif_traderequest) (struct map_session_data *sd, const char *name);
typedef void (*HPMHOOK_pre_clif_tradestart) (struct map_session_data *sd, uint8 *type);
-typedef void (*HPMHOOK_post_clif_tradestart) (struct map_session_data *sd, uint8 *type);
+typedef void (*HPMHOOK_post_clif_tradestart) (struct map_session_data *sd, uint8 type);
typedef void (*HPMHOOK_pre_clif_tradeadditem) (struct map_session_data *sd, struct map_session_data *tsd, int *index, int *amount);
-typedef void (*HPMHOOK_post_clif_tradeadditem) (struct map_session_data *sd, struct map_session_data *tsd, int *index, int *amount);
+typedef void (*HPMHOOK_post_clif_tradeadditem) (struct map_session_data *sd, struct map_session_data *tsd, int index, int amount);
typedef void (*HPMHOOK_pre_clif_tradeitemok) (struct map_session_data *sd, int *index, int *fail);
-typedef void (*HPMHOOK_post_clif_tradeitemok) (struct map_session_data *sd, int *index, int *fail);
+typedef void (*HPMHOOK_post_clif_tradeitemok) (struct map_session_data *sd, int index, int fail);
typedef void (*HPMHOOK_pre_clif_tradedeal_lock) (struct map_session_data *sd, int *fail);
-typedef void (*HPMHOOK_post_clif_tradedeal_lock) (struct map_session_data *sd, int *fail);
+typedef void (*HPMHOOK_post_clif_tradedeal_lock) (struct map_session_data *sd, int fail);
typedef void (*HPMHOOK_pre_clif_tradecancelled) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_tradecancelled) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_tradecompleted) (struct map_session_data *sd, int *fail);
-typedef void (*HPMHOOK_post_clif_tradecompleted) (struct map_session_data *sd, int *fail);
+typedef void (*HPMHOOK_post_clif_tradecompleted) (struct map_session_data *sd, int fail);
typedef void (*HPMHOOK_pre_clif_tradeundo) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_tradeundo) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_openvendingreq) (struct map_session_data *sd, int *num);
-typedef void (*HPMHOOK_post_clif_openvendingreq) (struct map_session_data *sd, int *num);
+typedef void (*HPMHOOK_post_clif_openvendingreq) (struct map_session_data *sd, int num);
typedef void (*HPMHOOK_pre_clif_showvendingboard) (struct block_list *bl, const char *message, int *fd);
-typedef void (*HPMHOOK_post_clif_showvendingboard) (struct block_list *bl, const char *message, int *fd);
+typedef void (*HPMHOOK_post_clif_showvendingboard) (struct block_list *bl, const char *message, int fd);
typedef void (*HPMHOOK_pre_clif_closevendingboard) (struct block_list *bl, int *fd);
-typedef void (*HPMHOOK_post_clif_closevendingboard) (struct block_list *bl, int *fd);
+typedef void (*HPMHOOK_post_clif_closevendingboard) (struct block_list *bl, int fd);
typedef void (*HPMHOOK_pre_clif_vendinglist) (struct map_session_data *sd, unsigned int *id, struct s_vending *vending_list);
-typedef void (*HPMHOOK_post_clif_vendinglist) (struct map_session_data *sd, unsigned int *id, struct s_vending *vending_list);
+typedef void (*HPMHOOK_post_clif_vendinglist) (struct map_session_data *sd, unsigned int id, struct s_vending *vending_list);
typedef void (*HPMHOOK_pre_clif_buyvending) (struct map_session_data *sd, int *index, int *amount, int *fail);
-typedef void (*HPMHOOK_post_clif_buyvending) (struct map_session_data *sd, int *index, int *amount, int *fail);
+typedef void (*HPMHOOK_post_clif_buyvending) (struct map_session_data *sd, int index, int amount, int fail);
typedef void (*HPMHOOK_pre_clif_openvending) (struct map_session_data *sd, int *id, struct s_vending *vending_list);
-typedef void (*HPMHOOK_post_clif_openvending) (struct map_session_data *sd, int *id, struct s_vending *vending_list);
+typedef void (*HPMHOOK_post_clif_openvending) (struct map_session_data *sd, int id, struct s_vending *vending_list);
typedef void (*HPMHOOK_pre_clif_vendingreport) (struct map_session_data *sd, int *index, int *amount);
-typedef void (*HPMHOOK_post_clif_vendingreport) (struct map_session_data *sd, int *index, int *amount);
+typedef void (*HPMHOOK_post_clif_vendingreport) (struct map_session_data *sd, int index, int amount);
typedef void (*HPMHOOK_pre_clif_storagelist) (struct map_session_data *sd, struct item *items, int *items_length);
-typedef void (*HPMHOOK_post_clif_storagelist) (struct map_session_data *sd, struct item *items, int *items_length);
+typedef void (*HPMHOOK_post_clif_storagelist) (struct map_session_data *sd, struct item *items, int items_length);
typedef void (*HPMHOOK_pre_clif_updatestorageamount) (struct map_session_data *sd, int *amount, int *max_amount);
-typedef void (*HPMHOOK_post_clif_updatestorageamount) (struct map_session_data *sd, int *amount, int *max_amount);
+typedef void (*HPMHOOK_post_clif_updatestorageamount) (struct map_session_data *sd, int amount, int max_amount);
typedef void (*HPMHOOK_pre_clif_storageitemadded) (struct map_session_data *sd, struct item *i, int *index, int *amount);
-typedef void (*HPMHOOK_post_clif_storageitemadded) (struct map_session_data *sd, struct item *i, int *index, int *amount);
+typedef void (*HPMHOOK_post_clif_storageitemadded) (struct map_session_data *sd, struct item *i, int index, int amount);
typedef void (*HPMHOOK_pre_clif_storageitemremoved) (struct map_session_data *sd, int *index, int *amount);
-typedef void (*HPMHOOK_post_clif_storageitemremoved) (struct map_session_data *sd, int *index, int *amount);
+typedef void (*HPMHOOK_post_clif_storageitemremoved) (struct map_session_data *sd, int index, int amount);
typedef void (*HPMHOOK_pre_clif_storageclose) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_storageclose) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_skillinfoblock) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_skillinfoblock) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_skillup) (struct map_session_data *sd, uint16 *skill_id, int *skill_lv, int *flag);
-typedef void (*HPMHOOK_post_clif_skillup) (struct map_session_data *sd, uint16 *skill_id, int *skill_lv, int *flag);
+typedef void (*HPMHOOK_post_clif_skillup) (struct map_session_data *sd, uint16 skill_id, int skill_lv, int flag);
typedef void (*HPMHOOK_pre_clif_skillinfo) (struct map_session_data *sd, int *skill_id, int *inf);
-typedef void (*HPMHOOK_post_clif_skillinfo) (struct map_session_data *sd, int *skill_id, int *inf);
+typedef void (*HPMHOOK_post_clif_skillinfo) (struct map_session_data *sd, int skill_id, int inf);
typedef void (*HPMHOOK_pre_clif_addskill) (struct map_session_data *sd, int *id);
-typedef void (*HPMHOOK_post_clif_addskill) (struct map_session_data *sd, int *id);
+typedef void (*HPMHOOK_post_clif_addskill) (struct map_session_data *sd, int id);
typedef void (*HPMHOOK_pre_clif_deleteskill) (struct map_session_data *sd, int *id);
-typedef void (*HPMHOOK_post_clif_deleteskill) (struct map_session_data *sd, int *id);
+typedef void (*HPMHOOK_post_clif_deleteskill) (struct map_session_data *sd, int id);
typedef void (*HPMHOOK_pre_clif_party_created) (struct map_session_data *sd, int *result);
-typedef void (*HPMHOOK_post_clif_party_created) (struct map_session_data *sd, int *result);
+typedef void (*HPMHOOK_post_clif_party_created) (struct map_session_data *sd, int result);
typedef void (*HPMHOOK_pre_clif_party_member_info) (struct party_data *p, struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_party_member_info) (struct party_data *p, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_party_info) (struct party_data *p, struct map_session_data *sd);
@@ -1389,17 +1389,17 @@ typedef void (*HPMHOOK_post_clif_party_info) (struct party_data *p, struct map_s
typedef void (*HPMHOOK_pre_clif_party_invite) (struct map_session_data *sd, struct map_session_data *tsd);
typedef void (*HPMHOOK_post_clif_party_invite) (struct map_session_data *sd, struct map_session_data *tsd);
typedef void (*HPMHOOK_pre_clif_party_inviteack) (struct map_session_data *sd, const char *nick, int *result);
-typedef void (*HPMHOOK_post_clif_party_inviteack) (struct map_session_data *sd, const char *nick, int *result);
+typedef void (*HPMHOOK_post_clif_party_inviteack) (struct map_session_data *sd, const char *nick, int result);
typedef void (*HPMHOOK_pre_clif_party_option) (struct party_data *p, struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_party_option) (struct party_data *p, struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_party_option) (struct party_data *p, struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_party_withdraw) (struct party_data *p, struct map_session_data *sd, int *account_id, const char *name, int *flag);
-typedef void (*HPMHOOK_post_clif_party_withdraw) (struct party_data *p, struct map_session_data *sd, int *account_id, const char *name, int *flag);
+typedef void (*HPMHOOK_post_clif_party_withdraw) (struct party_data *p, struct map_session_data *sd, int account_id, const char *name, int flag);
typedef void (*HPMHOOK_pre_clif_party_message) (struct party_data *p, int *account_id, const char *mes, int *len);
-typedef void (*HPMHOOK_post_clif_party_message) (struct party_data *p, int *account_id, const char *mes, int *len);
+typedef void (*HPMHOOK_post_clif_party_message) (struct party_data *p, int account_id, const char *mes, int len);
typedef void (*HPMHOOK_pre_clif_party_xy) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_party_xy) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_party_xy_single) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_party_xy_single) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_party_xy_single) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_party_hp) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_party_hp) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_party_xy_remove) (struct map_session_data *sd);
@@ -1409,9 +1409,9 @@ typedef void (*HPMHOOK_post_clif_party_show_picker) (struct map_session_data *sd
typedef void (*HPMHOOK_pre_clif_partyinvitationstate) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_partyinvitationstate) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_PartyLeaderChanged) (struct map_session_data *sd, int *prev_leader_aid, int *new_leader_aid);
-typedef void (*HPMHOOK_post_clif_PartyLeaderChanged) (struct map_session_data *sd, int *prev_leader_aid, int *new_leader_aid);
+typedef void (*HPMHOOK_post_clif_PartyLeaderChanged) (struct map_session_data *sd, int prev_leader_aid, int new_leader_aid);
typedef void (*HPMHOOK_pre_clif_guild_created) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_guild_created) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_guild_created) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_guild_belonginfo) (struct map_session_data *sd, struct guild *g);
typedef void (*HPMHOOK_post_clif_guild_belonginfo) (struct map_session_data *sd, struct guild *g);
typedef void (*HPMHOOK_pre_clif_guild_masterormember) (struct map_session_data *sd);
@@ -1427,19 +1427,19 @@ typedef void (*HPMHOOK_post_clif_guild_skillinfo) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_guild_send_onlineinfo) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_guild_send_onlineinfo) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_guild_memberlogin_notice) (struct guild *g, int *idx, int *flag);
-typedef void (*HPMHOOK_post_clif_guild_memberlogin_notice) (struct guild *g, int *idx, int *flag);
+typedef void (*HPMHOOK_post_clif_guild_memberlogin_notice) (struct guild *g, int idx, int flag);
typedef void (*HPMHOOK_pre_clif_guild_invite) (struct map_session_data *sd, struct guild *g);
typedef void (*HPMHOOK_post_clif_guild_invite) (struct map_session_data *sd, struct guild *g);
typedef void (*HPMHOOK_pre_clif_guild_inviteack) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_guild_inviteack) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_guild_inviteack) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_guild_leave) (struct map_session_data *sd, const char *name, const char *mes);
typedef void (*HPMHOOK_post_clif_guild_leave) (struct map_session_data *sd, const char *name, const char *mes);
typedef void (*HPMHOOK_pre_clif_guild_expulsion) (struct map_session_data *sd, const char *name, const char *mes, int *account_id);
-typedef void (*HPMHOOK_post_clif_guild_expulsion) (struct map_session_data *sd, const char *name, const char *mes, int *account_id);
+typedef void (*HPMHOOK_post_clif_guild_expulsion) (struct map_session_data *sd, const char *name, const char *mes, int account_id);
typedef void (*HPMHOOK_pre_clif_guild_positionchanged) (struct guild *g, int *idx);
-typedef void (*HPMHOOK_post_clif_guild_positionchanged) (struct guild *g, int *idx);
+typedef void (*HPMHOOK_post_clif_guild_positionchanged) (struct guild *g, int idx);
typedef void (*HPMHOOK_pre_clif_guild_memberpositionchanged) (struct guild *g, int *idx);
-typedef void (*HPMHOOK_post_clif_guild_memberpositionchanged) (struct guild *g, int *idx);
+typedef void (*HPMHOOK_post_clif_guild_memberpositionchanged) (struct guild *g, int idx);
typedef void (*HPMHOOK_pre_clif_guild_emblem) (struct map_session_data *sd, struct guild *g);
typedef void (*HPMHOOK_post_clif_guild_emblem) (struct map_session_data *sd, struct guild *g);
typedef void (*HPMHOOK_pre_clif_guild_emblem_area) (struct block_list *bl);
@@ -1447,21 +1447,21 @@ typedef void (*HPMHOOK_post_clif_guild_emblem_area) (struct block_list *bl);
typedef void (*HPMHOOK_pre_clif_guild_notice) (struct map_session_data *sd, struct guild *g);
typedef void (*HPMHOOK_post_clif_guild_notice) (struct map_session_data *sd, struct guild *g);
typedef void (*HPMHOOK_pre_clif_guild_message) (struct guild *g, int *account_id, const char *mes, int *len);
-typedef void (*HPMHOOK_post_clif_guild_message) (struct guild *g, int *account_id, const char *mes, int *len);
+typedef void (*HPMHOOK_post_clif_guild_message) (struct guild *g, int account_id, const char *mes, int len);
typedef void (*HPMHOOK_pre_clif_guild_reqalliance) (struct map_session_data *sd, int *account_id, const char *name);
-typedef void (*HPMHOOK_post_clif_guild_reqalliance) (struct map_session_data *sd, int *account_id, const char *name);
+typedef void (*HPMHOOK_post_clif_guild_reqalliance) (struct map_session_data *sd, int account_id, const char *name);
typedef void (*HPMHOOK_pre_clif_guild_allianceack) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_guild_allianceack) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_guild_allianceack) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_guild_delalliance) (struct map_session_data *sd, int *guild_id, int *flag);
-typedef void (*HPMHOOK_post_clif_guild_delalliance) (struct map_session_data *sd, int *guild_id, int *flag);
+typedef void (*HPMHOOK_post_clif_guild_delalliance) (struct map_session_data *sd, int guild_id, int flag);
typedef void (*HPMHOOK_pre_clif_guild_oppositionack) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_guild_oppositionack) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_guild_oppositionack) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_guild_broken) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_guild_broken) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_guild_broken) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_guild_xy) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_guild_xy) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_guild_xy_single) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_guild_xy_single) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_guild_xy_single) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_guild_xy_remove) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_guild_xy_remove) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_guild_positionnamelist) (struct map_session_data *sd);
@@ -1471,7 +1471,7 @@ typedef void (*HPMHOOK_post_clif_guild_positioninfolist) (struct map_session_dat
typedef void (*HPMHOOK_pre_clif_guild_expulsionlist) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_guild_expulsionlist) (struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_clif_validate_emblem) (const uint8 *emblem, unsigned long *emblem_len);
-typedef bool (*HPMHOOK_post_clif_validate_emblem) (bool retVal___, const uint8 *emblem, unsigned long *emblem_len);
+typedef bool (*HPMHOOK_post_clif_validate_emblem) (bool retVal___, const uint8 *emblem, unsigned long emblem_len);
typedef void (*HPMHOOK_pre_clif_bg_hp) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_bg_hp) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_bg_xy) (struct map_session_data *sd);
@@ -1479,67 +1479,67 @@ typedef void (*HPMHOOK_post_clif_bg_xy) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_bg_xy_remove) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_bg_xy_remove) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_bg_message) (struct battleground_data *bgd, int *src_id, const char *name, const char *mes);
-typedef void (*HPMHOOK_post_clif_bg_message) (struct battleground_data *bgd, int *src_id, const char *name, const char *mes);
+typedef void (*HPMHOOK_post_clif_bg_message) (struct battleground_data *bgd, int src_id, const char *name, const char *mes);
typedef void (*HPMHOOK_pre_clif_bg_updatescore) (int16 *m);
-typedef void (*HPMHOOK_post_clif_bg_updatescore) (int16 *m);
+typedef void (*HPMHOOK_post_clif_bg_updatescore) (int16 m);
typedef void (*HPMHOOK_pre_clif_bg_updatescore_single) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_bg_updatescore_single) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_sendbgemblem_area) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_sendbgemblem_area) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_sendbgemblem_single) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_sendbgemblem_single) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_sendbgemblem_single) (int fd, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_clif_instance) (int *instance_id, int *type, int *flag);
-typedef int (*HPMHOOK_post_clif_instance) (int retVal___, int *instance_id, int *type, int *flag);
+typedef int (*HPMHOOK_post_clif_instance) (int retVal___, int instance_id, int type, int flag);
typedef void (*HPMHOOK_pre_clif_instance_join) (int *fd, int *instance_id);
-typedef void (*HPMHOOK_post_clif_instance_join) (int *fd, int *instance_id);
+typedef void (*HPMHOOK_post_clif_instance_join) (int fd, int instance_id);
typedef void (*HPMHOOK_pre_clif_instance_leave) (int *fd);
-typedef void (*HPMHOOK_post_clif_instance_leave) (int *fd);
+typedef void (*HPMHOOK_post_clif_instance_leave) (int fd);
typedef void (*HPMHOOK_pre_clif_catch_process) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_catch_process) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pet_roulette) (struct map_session_data *sd, int *data);
-typedef void (*HPMHOOK_post_clif_pet_roulette) (struct map_session_data *sd, int *data);
+typedef void (*HPMHOOK_post_clif_pet_roulette) (struct map_session_data *sd, int data);
typedef void (*HPMHOOK_pre_clif_sendegg) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_sendegg) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_send_petstatus) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_send_petstatus) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_send_petdata) (struct map_session_data *sd, struct pet_data *pd, int *type, int *param);
-typedef void (*HPMHOOK_post_clif_send_petdata) (struct map_session_data *sd, struct pet_data *pd, int *type, int *param);
+typedef void (*HPMHOOK_post_clif_send_petdata) (struct map_session_data *sd, struct pet_data *pd, int type, int param);
typedef void (*HPMHOOK_pre_clif_pet_emotion) (struct pet_data *pd, int *param);
-typedef void (*HPMHOOK_post_clif_pet_emotion) (struct pet_data *pd, int *param);
+typedef void (*HPMHOOK_post_clif_pet_emotion) (struct pet_data *pd, int param);
typedef void (*HPMHOOK_pre_clif_pet_food) (struct map_session_data *sd, int *foodid, int *fail);
-typedef void (*HPMHOOK_post_clif_pet_food) (struct map_session_data *sd, int *foodid, int *fail);
+typedef void (*HPMHOOK_post_clif_pet_food) (struct map_session_data *sd, int foodid, int fail);
typedef int (*HPMHOOK_pre_clif_friendslist_toggle_sub) (struct map_session_data *sd, va_list ap);
typedef int (*HPMHOOK_post_clif_friendslist_toggle_sub) (int retVal___, struct map_session_data *sd, va_list ap);
typedef void (*HPMHOOK_pre_clif_friendslist_send) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_friendslist_send) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_friendslist_reqack) (struct map_session_data *sd, struct map_session_data *f_sd, int *type);
-typedef void (*HPMHOOK_post_clif_friendslist_reqack) (struct map_session_data *sd, struct map_session_data *f_sd, int *type);
+typedef void (*HPMHOOK_post_clif_friendslist_reqack) (struct map_session_data *sd, struct map_session_data *f_sd, int type);
typedef void (*HPMHOOK_pre_clif_friendslist_toggle) (struct map_session_data *sd, int *account_id, int *char_id, int *online);
-typedef void (*HPMHOOK_post_clif_friendslist_toggle) (struct map_session_data *sd, int *account_id, int *char_id, int *online);
+typedef void (*HPMHOOK_post_clif_friendslist_toggle) (struct map_session_data *sd, int account_id, int char_id, int online);
typedef void (*HPMHOOK_pre_clif_friendlist_req) (struct map_session_data *sd, int *account_id, int *char_id, const char *name);
-typedef void (*HPMHOOK_post_clif_friendlist_req) (struct map_session_data *sd, int *account_id, int *char_id, const char *name);
+typedef void (*HPMHOOK_post_clif_friendlist_req) (struct map_session_data *sd, int account_id, int char_id, const char *name);
typedef void (*HPMHOOK_pre_clif_GM_kickack) (struct map_session_data *sd, int *result);
-typedef void (*HPMHOOK_post_clif_GM_kickack) (struct map_session_data *sd, int *result);
+typedef void (*HPMHOOK_post_clif_GM_kickack) (struct map_session_data *sd, int result);
typedef void (*HPMHOOK_pre_clif_GM_kick) (struct map_session_data *sd, struct map_session_data *tsd);
typedef void (*HPMHOOK_post_clif_GM_kick) (struct map_session_data *sd, struct map_session_data *tsd);
typedef void (*HPMHOOK_pre_clif_manner_message) (struct map_session_data *sd, uint32 *type);
-typedef void (*HPMHOOK_post_clif_manner_message) (struct map_session_data *sd, uint32 *type);
+typedef void (*HPMHOOK_post_clif_manner_message) (struct map_session_data *sd, uint32 type);
typedef void (*HPMHOOK_pre_clif_GM_silence) (struct map_session_data *sd, struct map_session_data *tsd, uint8 *type);
-typedef void (*HPMHOOK_post_clif_GM_silence) (struct map_session_data *sd, struct map_session_data *tsd, uint8 *type);
+typedef void (*HPMHOOK_post_clif_GM_silence) (struct map_session_data *sd, struct map_session_data *tsd, uint8 type);
typedef void (*HPMHOOK_pre_clif_account_name) (struct map_session_data *sd, int *account_id, const char *accname);
-typedef void (*HPMHOOK_post_clif_account_name) (struct map_session_data *sd, int *account_id, const char *accname);
+typedef void (*HPMHOOK_post_clif_account_name) (struct map_session_data *sd, int account_id, const char *accname);
typedef void (*HPMHOOK_pre_clif_check) (int *fd, struct map_session_data *pl_sd);
-typedef void (*HPMHOOK_post_clif_check) (int *fd, struct map_session_data *pl_sd);
+typedef void (*HPMHOOK_post_clif_check) (int fd, struct map_session_data *pl_sd);
typedef void (*HPMHOOK_pre_clif_hominfo) (struct map_session_data *sd, struct homun_data *hd, int *flag);
-typedef void (*HPMHOOK_post_clif_hominfo) (struct map_session_data *sd, struct homun_data *hd, int *flag);
+typedef void (*HPMHOOK_post_clif_hominfo) (struct map_session_data *sd, struct homun_data *hd, int flag);
typedef void (*HPMHOOK_pre_clif_homskillinfoblock) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_homskillinfoblock) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_homskillup) (struct map_session_data *sd, uint16 *skill_id);
-typedef void (*HPMHOOK_post_clif_homskillup) (struct map_session_data *sd, uint16 *skill_id);
+typedef void (*HPMHOOK_post_clif_homskillup) (struct map_session_data *sd, uint16 skill_id);
typedef void (*HPMHOOK_pre_clif_hom_food) (struct map_session_data *sd, int *foodid, int *fail);
-typedef void (*HPMHOOK_post_clif_hom_food) (struct map_session_data *sd, int *foodid, int *fail);
+typedef void (*HPMHOOK_post_clif_hom_food) (struct map_session_data *sd, int foodid, int fail);
typedef void (*HPMHOOK_pre_clif_send_homdata) (struct map_session_data *sd, int *state, int *param);
-typedef void (*HPMHOOK_post_clif_send_homdata) (struct map_session_data *sd, int *state, int *param);
+typedef void (*HPMHOOK_post_clif_send_homdata) (struct map_session_data *sd, int state, int param);
typedef void (*HPMHOOK_pre_clif_quest_send_list) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_quest_send_list) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_quest_send_mission) (struct map_session_data *sd);
@@ -1547,91 +1547,91 @@ typedef void (*HPMHOOK_post_clif_quest_send_mission) (struct map_session_data *s
typedef void (*HPMHOOK_pre_clif_quest_add) (struct map_session_data *sd, struct quest *qd);
typedef void (*HPMHOOK_post_clif_quest_add) (struct map_session_data *sd, struct quest *qd);
typedef void (*HPMHOOK_pre_clif_quest_delete) (struct map_session_data *sd, int *quest_id);
-typedef void (*HPMHOOK_post_clif_quest_delete) (struct map_session_data *sd, int *quest_id);
+typedef void (*HPMHOOK_post_clif_quest_delete) (struct map_session_data *sd, int quest_id);
typedef void (*HPMHOOK_pre_clif_quest_update_status) (struct map_session_data *sd, int *quest_id, bool *active);
-typedef void (*HPMHOOK_post_clif_quest_update_status) (struct map_session_data *sd, int *quest_id, bool *active);
+typedef void (*HPMHOOK_post_clif_quest_update_status) (struct map_session_data *sd, int quest_id, bool active);
typedef void (*HPMHOOK_pre_clif_quest_update_objective) (struct map_session_data *sd, struct quest *qd);
typedef void (*HPMHOOK_post_clif_quest_update_objective) (struct map_session_data *sd, struct quest *qd);
typedef void (*HPMHOOK_pre_clif_quest_show_event) (struct map_session_data *sd, struct block_list *bl, short *state, short *color);
-typedef void (*HPMHOOK_post_clif_quest_show_event) (struct map_session_data *sd, struct block_list *bl, short *state, short *color);
+typedef void (*HPMHOOK_post_clif_quest_show_event) (struct map_session_data *sd, struct block_list *bl, short state, short color);
typedef void (*HPMHOOK_pre_clif_mail_window) (int *fd, int *flag);
-typedef void (*HPMHOOK_post_clif_mail_window) (int *fd, int *flag);
+typedef void (*HPMHOOK_post_clif_mail_window) (int fd, int flag);
typedef void (*HPMHOOK_pre_clif_mail_read) (struct map_session_data *sd, int *mail_id);
-typedef void (*HPMHOOK_post_clif_mail_read) (struct map_session_data *sd, int *mail_id);
+typedef void (*HPMHOOK_post_clif_mail_read) (struct map_session_data *sd, int mail_id);
typedef void (*HPMHOOK_pre_clif_mail_delete) (int *fd, int *mail_id, short *fail);
-typedef void (*HPMHOOK_post_clif_mail_delete) (int *fd, int *mail_id, short *fail);
+typedef void (*HPMHOOK_post_clif_mail_delete) (int fd, int mail_id, short fail);
typedef void (*HPMHOOK_pre_clif_mail_return) (int *fd, int *mail_id, short *fail);
-typedef void (*HPMHOOK_post_clif_mail_return) (int *fd, int *mail_id, short *fail);
+typedef void (*HPMHOOK_post_clif_mail_return) (int fd, int mail_id, short fail);
typedef void (*HPMHOOK_pre_clif_mail_send) (int *fd, bool *fail);
-typedef void (*HPMHOOK_post_clif_mail_send) (int *fd, bool *fail);
+typedef void (*HPMHOOK_post_clif_mail_send) (int fd, bool fail);
typedef void (*HPMHOOK_pre_clif_mail_new) (int *fd, int *mail_id, const char *sender, const char *title);
-typedef void (*HPMHOOK_post_clif_mail_new) (int *fd, int *mail_id, const char *sender, const char *title);
+typedef void (*HPMHOOK_post_clif_mail_new) (int fd, int mail_id, const char *sender, const char *title);
typedef void (*HPMHOOK_pre_clif_mail_refreshinbox) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_mail_refreshinbox) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_mail_getattachment) (int *fd, uint8 *flag);
-typedef void (*HPMHOOK_post_clif_mail_getattachment) (int *fd, uint8 *flag);
+typedef void (*HPMHOOK_post_clif_mail_getattachment) (int fd, uint8 flag);
typedef void (*HPMHOOK_pre_clif_mail_setattachment) (int *fd, int *index, uint8 *flag);
-typedef void (*HPMHOOK_post_clif_mail_setattachment) (int *fd, int *index, uint8 *flag);
+typedef void (*HPMHOOK_post_clif_mail_setattachment) (int fd, int index, uint8 flag);
typedef void (*HPMHOOK_pre_clif_auction_openwindow) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_auction_openwindow) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_auction_results) (struct map_session_data *sd, short *count, short *pages, const uint8 *buf);
-typedef void (*HPMHOOK_post_clif_auction_results) (struct map_session_data *sd, short *count, short *pages, const uint8 *buf);
+typedef void (*HPMHOOK_post_clif_auction_results) (struct map_session_data *sd, short count, short pages, const uint8 *buf);
typedef void (*HPMHOOK_pre_clif_auction_message) (int *fd, unsigned char *flag);
-typedef void (*HPMHOOK_post_clif_auction_message) (int *fd, unsigned char *flag);
+typedef void (*HPMHOOK_post_clif_auction_message) (int fd, unsigned char flag);
typedef void (*HPMHOOK_pre_clif_auction_close) (int *fd, unsigned char *flag);
-typedef void (*HPMHOOK_post_clif_auction_close) (int *fd, unsigned char *flag);
+typedef void (*HPMHOOK_post_clif_auction_close) (int fd, unsigned char flag);
typedef void (*HPMHOOK_pre_clif_auction_setitem) (int *fd, int *index, bool *fail);
-typedef void (*HPMHOOK_post_clif_auction_setitem) (int *fd, int *index, bool *fail);
+typedef void (*HPMHOOK_post_clif_auction_setitem) (int fd, int index, bool fail);
typedef void (*HPMHOOK_pre_clif_mercenary_info) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_mercenary_info) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_mercenary_skillblock) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_mercenary_skillblock) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_mercenary_message) (struct map_session_data *sd, int *message);
-typedef void (*HPMHOOK_post_clif_mercenary_message) (struct map_session_data *sd, int *message);
+typedef void (*HPMHOOK_post_clif_mercenary_message) (struct map_session_data *sd, int message);
typedef void (*HPMHOOK_pre_clif_mercenary_updatestatus) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_clif_mercenary_updatestatus) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_clif_mercenary_updatestatus) (struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_clif_rental_time) (int *fd, int *nameid, int *seconds);
-typedef void (*HPMHOOK_post_clif_rental_time) (int *fd, int *nameid, int *seconds);
+typedef void (*HPMHOOK_post_clif_rental_time) (int fd, int nameid, int seconds);
typedef void (*HPMHOOK_pre_clif_rental_expired) (int *fd, int *index, int *nameid);
-typedef void (*HPMHOOK_post_clif_rental_expired) (int *fd, int *index, int *nameid);
+typedef void (*HPMHOOK_post_clif_rental_expired) (int fd, int index, int nameid);
typedef void (*HPMHOOK_pre_clif_PartyBookingRegisterAck) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_PartyBookingRegisterAck) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_PartyBookingRegisterAck) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_PartyBookingDeleteAck) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_PartyBookingDeleteAck) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_PartyBookingDeleteAck) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_PartyBookingSearchAck) (int *fd, struct party_booking_ad_info **results, int *count, bool *more_result);
-typedef void (*HPMHOOK_post_clif_PartyBookingSearchAck) (int *fd, struct party_booking_ad_info **results, int *count, bool *more_result);
+typedef void (*HPMHOOK_post_clif_PartyBookingSearchAck) (int fd, struct party_booking_ad_info **results, int count, bool more_result);
typedef void (*HPMHOOK_pre_clif_PartyBookingUpdateNotify) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
typedef void (*HPMHOOK_post_clif_PartyBookingUpdateNotify) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
typedef void (*HPMHOOK_pre_clif_PartyBookingDeleteNotify) (struct map_session_data *sd, int *index);
-typedef void (*HPMHOOK_post_clif_PartyBookingDeleteNotify) (struct map_session_data *sd, int *index);
+typedef void (*HPMHOOK_post_clif_PartyBookingDeleteNotify) (struct map_session_data *sd, int index);
typedef void (*HPMHOOK_pre_clif_PartyBookingInsertNotify) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
typedef void (*HPMHOOK_post_clif_PartyBookingInsertNotify) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
typedef void (*HPMHOOK_pre_clif_PartyRecruitRegisterAck) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_PartyRecruitRegisterAck) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_PartyRecruitRegisterAck) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_PartyRecruitDeleteAck) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_clif_PartyRecruitDeleteAck) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_clif_PartyRecruitDeleteAck) (struct map_session_data *sd, int flag);
typedef void (*HPMHOOK_pre_clif_PartyRecruitSearchAck) (int *fd, struct party_booking_ad_info **results, int *count, bool *more_result);
-typedef void (*HPMHOOK_post_clif_PartyRecruitSearchAck) (int *fd, struct party_booking_ad_info **results, int *count, bool *more_result);
+typedef void (*HPMHOOK_post_clif_PartyRecruitSearchAck) (int fd, struct party_booking_ad_info **results, int count, bool more_result);
typedef void (*HPMHOOK_pre_clif_PartyRecruitUpdateNotify) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
typedef void (*HPMHOOK_post_clif_PartyRecruitUpdateNotify) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
typedef void (*HPMHOOK_pre_clif_PartyRecruitDeleteNotify) (struct map_session_data *sd, int *index);
-typedef void (*HPMHOOK_post_clif_PartyRecruitDeleteNotify) (struct map_session_data *sd, int *index);
+typedef void (*HPMHOOK_post_clif_PartyRecruitDeleteNotify) (struct map_session_data *sd, int index);
typedef void (*HPMHOOK_pre_clif_PartyRecruitInsertNotify) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
typedef void (*HPMHOOK_post_clif_PartyRecruitInsertNotify) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
typedef void (*HPMHOOK_pre_clif_PartyBookingVolunteerInfo) (int *index, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_PartyBookingVolunteerInfo) (int *index, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_PartyBookingVolunteerInfo) (int index, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_PartyBookingRefuseVolunteer) (unsigned int *aid, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_PartyBookingRefuseVolunteer) (unsigned int *aid, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_PartyBookingRefuseVolunteer) (unsigned int aid, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_PartyBookingCancelVolunteer) (int *index, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_PartyBookingCancelVolunteer) (int *index, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_PartyBookingCancelVolunteer) (int index, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_PartyBookingAddFilteringList) (int *index, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_PartyBookingAddFilteringList) (int *index, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_PartyBookingAddFilteringList) (int index, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_PartyBookingSubFilteringList) (int *gid, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_PartyBookingSubFilteringList) (int *gid, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_PartyBookingSubFilteringList) (int gid, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_buyingstore_open) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_buyingstore_open) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_buyingstore_open_failed) (struct map_session_data *sd, unsigned short *result, unsigned int *weight);
-typedef void (*HPMHOOK_post_clif_buyingstore_open_failed) (struct map_session_data *sd, unsigned short *result, unsigned int *weight);
+typedef void (*HPMHOOK_post_clif_buyingstore_open_failed) (struct map_session_data *sd, unsigned short result, unsigned int weight);
typedef void (*HPMHOOK_pre_clif_buyingstore_myitemlist) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_buyingstore_myitemlist) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_buyingstore_entry) (struct map_session_data *sd);
@@ -1645,49 +1645,49 @@ typedef void (*HPMHOOK_post_clif_buyingstore_disappear_entry_single) (struct map
typedef void (*HPMHOOK_pre_clif_buyingstore_itemlist) (struct map_session_data *sd, struct map_session_data *pl_sd);
typedef void (*HPMHOOK_post_clif_buyingstore_itemlist) (struct map_session_data *sd, struct map_session_data *pl_sd);
typedef void (*HPMHOOK_pre_clif_buyingstore_trade_failed_buyer) (struct map_session_data *sd, short *result);
-typedef void (*HPMHOOK_post_clif_buyingstore_trade_failed_buyer) (struct map_session_data *sd, short *result);
+typedef void (*HPMHOOK_post_clif_buyingstore_trade_failed_buyer) (struct map_session_data *sd, short result);
typedef void (*HPMHOOK_pre_clif_buyingstore_update_item) (struct map_session_data *sd, unsigned short *nameid, unsigned short *amount);
-typedef void (*HPMHOOK_post_clif_buyingstore_update_item) (struct map_session_data *sd, unsigned short *nameid, unsigned short *amount);
+typedef void (*HPMHOOK_post_clif_buyingstore_update_item) (struct map_session_data *sd, unsigned short nameid, unsigned short amount);
typedef void (*HPMHOOK_pre_clif_buyingstore_delete_item) (struct map_session_data *sd, short *index, unsigned short *amount, int *price);
-typedef void (*HPMHOOK_post_clif_buyingstore_delete_item) (struct map_session_data *sd, short *index, unsigned short *amount, int *price);
+typedef void (*HPMHOOK_post_clif_buyingstore_delete_item) (struct map_session_data *sd, short index, unsigned short amount, int price);
typedef void (*HPMHOOK_pre_clif_buyingstore_trade_failed_seller) (struct map_session_data *sd, short *result, unsigned short *nameid);
-typedef void (*HPMHOOK_post_clif_buyingstore_trade_failed_seller) (struct map_session_data *sd, short *result, unsigned short *nameid);
+typedef void (*HPMHOOK_post_clif_buyingstore_trade_failed_seller) (struct map_session_data *sd, short result, unsigned short nameid);
typedef void (*HPMHOOK_pre_clif_search_store_info_ack) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_search_store_info_ack) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_search_store_info_failed) (struct map_session_data *sd, unsigned char *reason);
-typedef void (*HPMHOOK_post_clif_search_store_info_failed) (struct map_session_data *sd, unsigned char *reason);
+typedef void (*HPMHOOK_post_clif_search_store_info_failed) (struct map_session_data *sd, unsigned char reason);
typedef void (*HPMHOOK_pre_clif_open_search_store_info) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_open_search_store_info) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_search_store_info_click_ack) (struct map_session_data *sd, short *x, short *y);
-typedef void (*HPMHOOK_post_clif_search_store_info_click_ack) (struct map_session_data *sd, short *x, short *y);
+typedef void (*HPMHOOK_post_clif_search_store_info_click_ack) (struct map_session_data *sd, short x, short y);
typedef void (*HPMHOOK_pre_clif_elemental_info) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_elemental_info) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_elemental_updatestatus) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_clif_elemental_updatestatus) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_clif_elemental_updatestatus) (struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_clif_bgqueue_ack) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_ACK *response, unsigned char *arena_id);
-typedef void (*HPMHOOK_post_clif_bgqueue_ack) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_ACK *response, unsigned char *arena_id);
+typedef void (*HPMHOOK_post_clif_bgqueue_ack) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_ACK response, unsigned char arena_id);
typedef void (*HPMHOOK_pre_clif_bgqueue_notice_delete) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED *response, const char *name);
-typedef void (*HPMHOOK_post_clif_bgqueue_notice_delete) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED *response, const char *name);
+typedef void (*HPMHOOK_post_clif_bgqueue_notice_delete) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED response, const char *name);
typedef void (*HPMHOOK_pre_clif_bgqueue_update_info) (struct map_session_data *sd, unsigned char *arena_id, int *position);
-typedef void (*HPMHOOK_post_clif_bgqueue_update_info) (struct map_session_data *sd, unsigned char *arena_id, int *position);
+typedef void (*HPMHOOK_post_clif_bgqueue_update_info) (struct map_session_data *sd, unsigned char arena_id, int position);
typedef void (*HPMHOOK_pre_clif_bgqueue_joined) (struct map_session_data *sd, int *pos);
-typedef void (*HPMHOOK_post_clif_bgqueue_joined) (struct map_session_data *sd, int *pos);
+typedef void (*HPMHOOK_post_clif_bgqueue_joined) (struct map_session_data *sd, int pos);
typedef void (*HPMHOOK_pre_clif_bgqueue_pcleft) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_bgqueue_pcleft) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_bgqueue_battlebegins) (struct map_session_data *sd, unsigned char *arena_id, enum send_target *target);
-typedef void (*HPMHOOK_post_clif_bgqueue_battlebegins) (struct map_session_data *sd, unsigned char *arena_id, enum send_target *target);
+typedef void (*HPMHOOK_post_clif_bgqueue_battlebegins) (struct map_session_data *sd, unsigned char arena_id, enum send_target target);
typedef void (*HPMHOOK_pre_clif_adopt_reply) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_clif_adopt_reply) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_clif_adopt_reply) (struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_clif_adopt_request) (struct map_session_data *sd, struct map_session_data *src, int *p_id);
-typedef void (*HPMHOOK_post_clif_adopt_request) (struct map_session_data *sd, struct map_session_data *src, int *p_id);
+typedef void (*HPMHOOK_post_clif_adopt_request) (struct map_session_data *sd, struct map_session_data *src, int p_id);
typedef void (*HPMHOOK_pre_clif_readbook) (int *fd, int *book_id, int *page);
-typedef void (*HPMHOOK_post_clif_readbook) (int *fd, int *book_id, int *page);
+typedef void (*HPMHOOK_post_clif_readbook) (int fd, int book_id, int page);
typedef void (*HPMHOOK_pre_clif_notify_time) (struct map_session_data *sd, int64 *time);
-typedef void (*HPMHOOK_post_clif_notify_time) (struct map_session_data *sd, int64 *time);
+typedef void (*HPMHOOK_post_clif_notify_time) (struct map_session_data *sd, int64 time);
typedef void (*HPMHOOK_pre_clif_user_count) (struct map_session_data *sd, int *count);
-typedef void (*HPMHOOK_post_clif_user_count) (struct map_session_data *sd, int *count);
+typedef void (*HPMHOOK_post_clif_user_count) (struct map_session_data *sd, int count);
typedef void (*HPMHOOK_pre_clif_noask_sub) (struct map_session_data *src, struct map_session_data *target, int *type);
-typedef void (*HPMHOOK_post_clif_noask_sub) (struct map_session_data *src, struct map_session_data *target, int *type);
+typedef void (*HPMHOOK_post_clif_noask_sub) (struct map_session_data *src, struct map_session_data *target, int type);
typedef void (*HPMHOOK_pre_clif_bc_ready) (void);
typedef void (*HPMHOOK_post_clif_bc_ready) (void);
typedef void (*HPMHOOK_pre_clif_channel_msg) (struct channel_data *chan, struct map_session_data *sd, char *msg);
@@ -1695,501 +1695,501 @@ typedef void (*HPMHOOK_post_clif_channel_msg) (struct channel_data *chan, struct
typedef void (*HPMHOOK_pre_clif_channel_msg2) (struct channel_data *chan, char *msg);
typedef void (*HPMHOOK_post_clif_channel_msg2) (struct channel_data *chan, char *msg);
typedef int (*HPMHOOK_pre_clif_undisguise_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_clif_undisguise_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_clif_undisguise_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_clif_bank_deposit) (struct map_session_data *sd, enum e_BANKING_DEPOSIT_ACK *reason);
-typedef void (*HPMHOOK_post_clif_bank_deposit) (struct map_session_data *sd, enum e_BANKING_DEPOSIT_ACK *reason);
+typedef void (*HPMHOOK_post_clif_bank_deposit) (struct map_session_data *sd, enum e_BANKING_DEPOSIT_ACK reason);
typedef void (*HPMHOOK_pre_clif_bank_withdraw) (struct map_session_data *sd, enum e_BANKING_WITHDRAW_ACK *reason);
-typedef void (*HPMHOOK_post_clif_bank_withdraw) (struct map_session_data *sd, enum e_BANKING_WITHDRAW_ACK *reason);
+typedef void (*HPMHOOK_post_clif_bank_withdraw) (struct map_session_data *sd, enum e_BANKING_WITHDRAW_ACK reason);
typedef void (*HPMHOOK_pre_clif_show_modifiers) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_show_modifiers) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_notify_bounditem) (struct map_session_data *sd, unsigned short *index);
-typedef void (*HPMHOOK_post_clif_notify_bounditem) (struct map_session_data *sd, unsigned short *index);
+typedef void (*HPMHOOK_post_clif_notify_bounditem) (struct map_session_data *sd, unsigned short index);
typedef int (*HPMHOOK_pre_clif_delay_damage) (int64 *tick, struct block_list *src, struct block_list *dst, int *sdelay, int *ddelay, int64 *in_damage, short *div, unsigned char *type);
-typedef int (*HPMHOOK_post_clif_delay_damage) (int retVal___, int64 *tick, struct block_list *src, struct block_list *dst, int *sdelay, int *ddelay, int64 *in_damage, short *div, unsigned char *type);
+typedef int (*HPMHOOK_post_clif_delay_damage) (int retVal___, int64 tick, struct block_list *src, struct block_list *dst, int sdelay, int ddelay, int64 in_damage, short div, unsigned char type);
typedef int (*HPMHOOK_pre_clif_delay_damage_sub) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_clif_delay_damage_sub) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_clif_delay_damage_sub) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_clif_npc_market_open) (struct map_session_data *sd, struct npc_data *nd);
typedef void (*HPMHOOK_post_clif_npc_market_open) (struct map_session_data *sd, struct npc_data *nd);
typedef void (*HPMHOOK_pre_clif_npc_market_purchase_ack) (struct map_session_data *sd, const struct itemlist *item_list, unsigned char *response);
-typedef void (*HPMHOOK_post_clif_npc_market_purchase_ack) (struct map_session_data *sd, const struct itemlist *item_list, unsigned char *response);
+typedef void (*HPMHOOK_post_clif_npc_market_purchase_ack) (struct map_session_data *sd, const struct itemlist *item_list, unsigned char response);
typedef bool (*HPMHOOK_pre_clif_parse_roulette_db) (void);
typedef bool (*HPMHOOK_post_clif_parse_roulette_db) (bool retVal___);
typedef void (*HPMHOOK_pre_clif_roulette_generate_ack) (struct map_session_data *sd, unsigned char *result, short *stage, short *prizeIdx, short *bonusItemID);
-typedef void (*HPMHOOK_post_clif_roulette_generate_ack) (struct map_session_data *sd, unsigned char *result, short *stage, short *prizeIdx, short *bonusItemID);
+typedef void (*HPMHOOK_post_clif_roulette_generate_ack) (struct map_session_data *sd, unsigned char result, short stage, short prizeIdx, short bonusItemID);
typedef void (*HPMHOOK_pre_clif_openmergeitem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_openmergeitem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_openmergeitem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_cancelmergeitem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_cancelmergeitem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_cancelmergeitem) (int fd, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_clif_comparemergeitem) (const void *a, const void *b);
typedef int (*HPMHOOK_post_clif_comparemergeitem) (int retVal___, const void *a, const void *b);
typedef void (*HPMHOOK_pre_clif_ackmergeitems) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_ackmergeitems) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_ackmergeitems) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pWantToConnection) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pWantToConnection) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pWantToConnection) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pLoadEndAck) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pLoadEndAck) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pLoadEndAck) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTickSend) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTickSend) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTickSend) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pHotkey) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pHotkey) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pHotkey) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pProgressbar) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pProgressbar) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pProgressbar) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pWalkToXY) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pWalkToXY) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pWalkToXY) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pQuitGame) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pQuitGame) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pQuitGame) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGetCharNameRequest) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGetCharNameRequest) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGetCharNameRequest) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGlobalMessage) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGlobalMessage) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGlobalMessage) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMapMove) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMapMove) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMapMove) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pChangeDir) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pChangeDir) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pChangeDir) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pEmotion) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pEmotion) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pEmotion) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pHowManyConnections) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pHowManyConnections) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pHowManyConnections) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pActionRequest) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pActionRequest) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pActionRequest) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pActionRequest_sub) (struct map_session_data *sd, int *action_type, int *target_id, int64 *tick);
-typedef void (*HPMHOOK_post_clif_pActionRequest_sub) (struct map_session_data *sd, int *action_type, int *target_id, int64 *tick);
+typedef void (*HPMHOOK_post_clif_pActionRequest_sub) (struct map_session_data *sd, int action_type, int target_id, int64 tick);
typedef void (*HPMHOOK_pre_clif_pRestart) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRestart) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRestart) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pWisMessage) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pWisMessage) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pWisMessage) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBroadcast) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBroadcast) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBroadcast) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTakeItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTakeItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTakeItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pDropItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pDropItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pDropItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pUseItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pUseItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pUseItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pEquipItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pEquipItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pEquipItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pUnequipItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pUnequipItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pUnequipItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcClicked) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcClicked) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcClicked) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcBuySellSelected) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcBuySellSelected) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcBuySellSelected) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcBuyListSend) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcBuyListSend) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcBuyListSend) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcSellListSend) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcSellListSend) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcSellListSend) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCreateChatRoom) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCreateChatRoom) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCreateChatRoom) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pChatAddMember) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pChatAddMember) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pChatAddMember) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pChatRoomStatusChange) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pChatRoomStatusChange) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pChatRoomStatusChange) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pChangeChatOwner) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pChangeChatOwner) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pChangeChatOwner) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pKickFromChat) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pKickFromChat) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pKickFromChat) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pChatLeave) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pChatLeave) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pChatLeave) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTradeRequest) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTradeRequest) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTradeRequest) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTradeAck) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTradeAck) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTradeAck) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTradeAddItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTradeAddItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTradeAddItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTradeOk) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTradeOk) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTradeOk) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTradeCancel) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTradeCancel) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTradeCancel) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTradeCommit) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTradeCommit) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTradeCommit) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pStopAttack) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pStopAttack) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pStopAttack) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPutItemToCart) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPutItemToCart) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPutItemToCart) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGetItemFromCart) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGetItemFromCart) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGetItemFromCart) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRemoveOption) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRemoveOption) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRemoveOption) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pChangeCart) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pChangeCart) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pChangeCart) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pStatusUp) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pStatusUp) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pStatusUp) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSkillUp) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSkillUp) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSkillUp) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pUseSkillToId) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pUseSkillToId) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pUseSkillToId) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pUseSkillToId_homun) (struct homun_data *hd, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
-typedef void (*HPMHOOK_post_clif_pUseSkillToId_homun) (struct homun_data *hd, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
+typedef void (*HPMHOOK_post_clif_pUseSkillToId_homun) (struct homun_data *hd, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, int target_id);
typedef void (*HPMHOOK_pre_clif_pUseSkillToId_mercenary) (struct mercenary_data *md, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
-typedef void (*HPMHOOK_post_clif_pUseSkillToId_mercenary) (struct mercenary_data *md, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
+typedef void (*HPMHOOK_post_clif_pUseSkillToId_mercenary) (struct mercenary_data *md, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, int target_id);
typedef void (*HPMHOOK_pre_clif_pUseSkillToPos) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pUseSkillToPos) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pUseSkillToPos) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pUseSkillToPosSub) (int *fd, struct map_session_data *sd, uint16 *skill_lv, uint16 *skill_id, short *x, short *y, int *skillmoreinfo);
-typedef void (*HPMHOOK_post_clif_pUseSkillToPosSub) (int *fd, struct map_session_data *sd, uint16 *skill_lv, uint16 *skill_id, short *x, short *y, int *skillmoreinfo);
+typedef void (*HPMHOOK_post_clif_pUseSkillToPosSub) (int fd, struct map_session_data *sd, uint16 skill_lv, uint16 skill_id, short x, short y, int skillmoreinfo);
typedef void (*HPMHOOK_pre_clif_pUseSkillToPos_homun) (struct homun_data *hd, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
-typedef void (*HPMHOOK_post_clif_pUseSkillToPos_homun) (struct homun_data *hd, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
+typedef void (*HPMHOOK_post_clif_pUseSkillToPos_homun) (struct homun_data *hd, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, short x, short y, int skillmoreinfo);
typedef void (*HPMHOOK_pre_clif_pUseSkillToPos_mercenary) (struct mercenary_data *md, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
-typedef void (*HPMHOOK_post_clif_pUseSkillToPos_mercenary) (struct mercenary_data *md, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
+typedef void (*HPMHOOK_post_clif_pUseSkillToPos_mercenary) (struct mercenary_data *md, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, short x, short y, int skillmoreinfo);
typedef void (*HPMHOOK_pre_clif_pUseSkillToPosMoreInfo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pUseSkillToPosMoreInfo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pUseSkillToPosMoreInfo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pUseSkillMap) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pUseSkillMap) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pUseSkillMap) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRequestMemo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRequestMemo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRequestMemo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pProduceMix) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pProduceMix) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pProduceMix) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCooking) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCooking) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCooking) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRepairItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRepairItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRepairItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pWeaponRefine) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pWeaponRefine) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pWeaponRefine) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcSelectMenu) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcSelectMenu) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcSelectMenu) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcNextClicked) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcNextClicked) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcNextClicked) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcAmountInput) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcAmountInput) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcAmountInput) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcStringInput) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcStringInput) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcStringInput) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNpcCloseClicked) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNpcCloseClicked) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNpcCloseClicked) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pItemIdentify) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pItemIdentify) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pItemIdentify) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSelectArrow) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSelectArrow) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSelectArrow) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAutoSpell) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAutoSpell) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAutoSpell) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pUseCard) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pUseCard) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pUseCard) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pInsertCard) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pInsertCard) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pInsertCard) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSolveCharName) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSolveCharName) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSolveCharName) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pResetChar) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pResetChar) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pResetChar) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pLocalBroadcast) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pLocalBroadcast) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pLocalBroadcast) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMoveToKafra) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMoveToKafra) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMoveToKafra) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMoveFromKafra) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMoveFromKafra) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMoveFromKafra) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMoveToKafraFromCart) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMoveToKafraFromCart) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMoveToKafraFromCart) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMoveFromKafraToCart) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMoveFromKafraToCart) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMoveFromKafraToCart) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCloseKafra) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCloseKafra) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCloseKafra) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pStoragePassword) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pStoragePassword) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pStoragePassword) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCreateParty) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCreateParty) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCreateParty) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCreateParty2) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCreateParty2) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCreateParty2) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyInvite) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyInvite) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyInvite) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyInvite2) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyInvite2) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyInvite2) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pReplyPartyInvite) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pReplyPartyInvite) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pReplyPartyInvite) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pReplyPartyInvite2) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pReplyPartyInvite2) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pReplyPartyInvite2) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pLeaveParty) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pLeaveParty) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pLeaveParty) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRemovePartyMember) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRemovePartyMember) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRemovePartyMember) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyChangeOption) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyChangeOption) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyChangeOption) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyMessage) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyMessage) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyMessage) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyChangeLeader) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyChangeLeader) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyChangeLeader) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingRegisterReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingRegisterReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingRegisterReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingSearchReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingSearchReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingSearchReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingDeleteReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingDeleteReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingDeleteReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingUpdateReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingUpdateReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingUpdateReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyRecruitRegisterReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyRecruitRegisterReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyRecruitRegisterReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyRecruitSearchReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyRecruitSearchReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyRecruitSearchReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyRecruitDeleteReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyRecruitDeleteReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyRecruitDeleteReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyRecruitUpdateReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyRecruitUpdateReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyRecruitUpdateReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCloseVending) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCloseVending) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCloseVending) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pVendingListReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pVendingListReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pVendingListReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPurchaseReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPurchaseReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPurchaseReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPurchaseReq2) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPurchaseReq2) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPurchaseReq2) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pOpenVending) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pOpenVending) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pOpenVending) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCreateGuild) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCreateGuild) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCreateGuild) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildCheckMaster) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildCheckMaster) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildCheckMaster) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildRequestInfo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildRequestInfo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildRequestInfo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildChangePositionInfo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildChangePositionInfo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildChangePositionInfo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildChangeMemberPosition) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildChangeMemberPosition) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildChangeMemberPosition) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildRequestEmblem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildRequestEmblem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildRequestEmblem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildChangeEmblem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildChangeEmblem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildChangeEmblem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildChangeNotice) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildChangeNotice) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildChangeNotice) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildInvite) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildInvite) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildInvite) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildReplyInvite) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildReplyInvite) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildReplyInvite) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildLeave) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildLeave) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildLeave) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildExpulsion) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildExpulsion) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildExpulsion) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildMessage) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildMessage) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildMessage) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildRequestAlliance) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildRequestAlliance) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildRequestAlliance) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildReplyAlliance) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildReplyAlliance) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildReplyAlliance) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildDelAlliance) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildDelAlliance) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildDelAlliance) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildOpposition) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildOpposition) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildOpposition) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildBreak) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildBreak) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildBreak) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPetMenu) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPetMenu) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPetMenu) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCatchPet) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCatchPet) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCatchPet) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSelectEgg) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSelectEgg) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSelectEgg) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSendEmotion) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSendEmotion) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSendEmotion) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pChangePetName) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pChangePetName) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pChangePetName) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMKick) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMKick) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMKick) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMKickAll) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMKickAll) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMKickAll) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMShift) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMShift) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMShift) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMRemove2) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMRemove2) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMRemove2) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMRecall) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMRecall) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMRecall) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMRecall2) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMRecall2) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMRecall2) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGM_Monster_Item) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGM_Monster_Item) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGM_Monster_Item) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMHide) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMHide) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMHide) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMReqNoChat) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMReqNoChat) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMReqNoChat) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMRc) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMRc) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMRc) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMReqAccountName) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMReqAccountName) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMReqAccountName) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMChangeMapType) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMChangeMapType) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMChangeMapType) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGMFullStrip) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGMFullStrip) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGMFullStrip) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPMIgnore) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPMIgnore) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPMIgnore) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPMIgnoreAll) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPMIgnoreAll) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPMIgnoreAll) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPMIgnoreList) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPMIgnoreList) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPMIgnoreList) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNoviceDoriDori) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNoviceDoriDori) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNoviceDoriDori) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNoviceExplosionSpirits) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNoviceExplosionSpirits) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNoviceExplosionSpirits) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pFriendsListAdd) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pFriendsListAdd) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pFriendsListAdd) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pFriendsListReply) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pFriendsListReply) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pFriendsListReply) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pFriendsListRemove) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pFriendsListRemove) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pFriendsListRemove) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPVPInfo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPVPInfo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPVPInfo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBlacksmith) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBlacksmith) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBlacksmith) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAlchemist) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAlchemist) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAlchemist) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pTaekwon) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pTaekwon) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pTaekwon) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRankingPk) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRankingPk) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRankingPk) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pFeelSaveOk) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pFeelSaveOk) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pFeelSaveOk) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pChangeHomunculusName) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pChangeHomunculusName) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pChangeHomunculusName) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pHomMoveToMaster) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pHomMoveToMaster) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pHomMoveToMaster) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pHomMoveTo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pHomMoveTo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pHomMoveTo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pHomAttack) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pHomAttack) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pHomAttack) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pHomMenu) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pHomMenu) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pHomMenu) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAutoRevive) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAutoRevive) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAutoRevive) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCheck) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCheck) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCheck) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMail_refreshinbox) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMail_refreshinbox) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMail_refreshinbox) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMail_read) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMail_read) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMail_read) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMail_getattach) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMail_getattach) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMail_getattach) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMail_delete) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMail_delete) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMail_delete) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMail_return) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMail_return) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMail_return) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMail_setattach) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMail_setattach) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMail_setattach) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMail_winopen) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMail_winopen) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMail_winopen) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMail_send) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMail_send) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMail_send) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAuction_cancelreg) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAuction_cancelreg) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAuction_cancelreg) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAuction_setitem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAuction_setitem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAuction_setitem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAuction_register) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAuction_register) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAuction_register) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAuction_cancel) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAuction_cancel) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAuction_cancel) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAuction_close) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAuction_close) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAuction_close) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAuction_bid) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAuction_bid) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAuction_bid) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAuction_search) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAuction_search) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAuction_search) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAuction_buysell) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAuction_buysell) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAuction_buysell) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pcashshop_buy) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pcashshop_buy) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pcashshop_buy) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAdopt_request) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAdopt_request) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAdopt_request) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pAdopt_reply) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pAdopt_reply) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pAdopt_reply) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pViewPlayerEquip) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pViewPlayerEquip) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pViewPlayerEquip) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pEquipTick) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pEquipTick) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pEquipTick) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pquestStateAck) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pquestStateAck) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pquestStateAck) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pmercenary_action) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pmercenary_action) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pmercenary_action) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBattleChat) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBattleChat) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBattleChat) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pLessEffect) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pLessEffect) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pLessEffect) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pItemListWindowSelected) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pItemListWindowSelected) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pItemListWindowSelected) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pReqOpenBuyingStore) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pReqOpenBuyingStore) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pReqOpenBuyingStore) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pReqCloseBuyingStore) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pReqCloseBuyingStore) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pReqCloseBuyingStore) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pReqClickBuyingStore) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pReqClickBuyingStore) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pReqClickBuyingStore) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pReqTradeBuyingStore) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pReqTradeBuyingStore) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pReqTradeBuyingStore) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSearchStoreInfo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSearchStoreInfo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSearchStoreInfo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSearchStoreInfoNextPage) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSearchStoreInfoNextPage) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSearchStoreInfoNextPage) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCloseSearchStoreInfo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCloseSearchStoreInfo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCloseSearchStoreInfo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSearchStoreInfoListItemClick) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSearchStoreInfoListItemClick) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSearchStoreInfoListItemClick) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pDebug) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pDebug) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pDebug) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSkillSelectMenu) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSkillSelectMenu) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSkillSelectMenu) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pMoveItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pMoveItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pMoveItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pDull) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pDull) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pDull) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBGQueueRegister) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBGQueueRegister) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBGQueueRegister) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBGQueueCheckState) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBGQueueCheckState) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBGQueueCheckState) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBGQueueRevokeReq) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBGQueueRevokeReq) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBGQueueRevokeReq) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBGQueueBattleBeginAck) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBGQueueBattleBeginAck) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBGQueueBattleBeginAck) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCashShopOpen) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCashShopOpen) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCashShopOpen) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCashShopClose) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCashShopClose) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCashShopClose) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCashShopReqTab) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCashShopReqTab) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCashShopReqTab) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCashShopSchedule) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCashShopSchedule) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCashShopSchedule) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pCashShopBuy) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pCashShopBuy) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pCashShopBuy) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyTick) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyTick) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyTick) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pGuildInvite2) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pGuildInvite2) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pGuildInvite2) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingAddFilter) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingAddFilter) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingAddFilter) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingSubFilter) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingSubFilter) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingSubFilter) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingReqVolunteer) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingReqVolunteer) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingReqVolunteer) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingRefuseVolunteer) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingRefuseVolunteer) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingRefuseVolunteer) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pPartyBookingCancelVolunteer) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pPartyBookingCancelVolunteer) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pPartyBookingCancelVolunteer) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBankDeposit) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBankDeposit) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBankDeposit) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBankWithdraw) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBankWithdraw) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBankWithdraw) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBankCheck) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBankCheck) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBankCheck) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBankOpen) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBankOpen) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBankOpen) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pBankClose) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pBankClose) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pBankClose) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRouletteOpen) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRouletteOpen) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRouletteOpen) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRouletteInfo) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRouletteInfo) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRouletteInfo) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRouletteClose) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRouletteClose) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRouletteClose) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRouletteGenerate) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRouletteGenerate) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRouletteGenerate) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pRouletteRecvItem) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pRouletteRecvItem) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pRouletteRecvItem) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNPCShopClosed) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNPCShopClosed) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNPCShopClosed) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNPCMarketClosed) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNPCMarketClosed) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNPCMarketClosed) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pNPCMarketPurchase) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pNPCMarketPurchase) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pNPCMarketPurchase) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_add_random_options) (unsigned char *buf, struct item *item);
typedef void (*HPMHOOK_post_clif_add_random_options) (unsigned char *buf, struct item *item);
typedef void (*HPMHOOK_pre_clif_pHotkeyRowShift) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pHotkeyRowShift) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pHotkeyRowShift) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_dressroom_open) (struct map_session_data *sd, int *view);
-typedef void (*HPMHOOK_post_clif_dressroom_open) (struct map_session_data *sd, int *view);
+typedef void (*HPMHOOK_post_clif_dressroom_open) (struct map_session_data *sd, int view);
typedef void (*HPMHOOK_pre_clif_pOneClick_ItemIdentify) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pOneClick_ItemIdentify) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pOneClick_ItemIdentify) (int fd, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_selectcart) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_clif_selectcart) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_clif_pSelectCart) (int *fd, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_clif_pSelectCart) (int *fd, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_clif_pSelectCart) (int fd, struct map_session_data *sd);
typedef const char* (*HPMHOOK_pre_clif_get_bl_name) (const struct block_list *bl);
typedef const char* (*HPMHOOK_post_clif_get_bl_name) (const char* retVal___, const struct block_list *bl);
#endif // MAP_CLIF_H
@@ -2199,11 +2199,11 @@ typedef void (*HPMHOOK_post_cmdline_init) (void);
typedef void (*HPMHOOK_pre_cmdline_final) (void);
typedef void (*HPMHOOK_post_cmdline_final) (void);
typedef bool (*HPMHOOK_pre_cmdline_arg_add) (unsigned int *pluginID, const char *name, char *shortname, CmdlineExecFunc *func, const char *help, unsigned int *options);
-typedef bool (*HPMHOOK_post_cmdline_arg_add) (bool retVal___, unsigned int *pluginID, const char *name, char *shortname, CmdlineExecFunc *func, const char *help, unsigned int *options);
+typedef bool (*HPMHOOK_post_cmdline_arg_add) (bool retVal___, unsigned int pluginID, const char *name, char shortname, CmdlineExecFunc func, const char *help, unsigned int options);
typedef int (*HPMHOOK_pre_cmdline_exec) (int *argc, char **argv, unsigned int *options);
-typedef int (*HPMHOOK_post_cmdline_exec) (int retVal___, int *argc, char **argv, unsigned int *options);
+typedef int (*HPMHOOK_post_cmdline_exec) (int retVal___, int argc, char **argv, unsigned int options);
typedef bool (*HPMHOOK_pre_cmdline_arg_next_value) (const char *name, int *current_arg, int *argc);
-typedef bool (*HPMHOOK_post_cmdline_arg_next_value) (bool retVal___, const char *name, int *current_arg, int *argc);
+typedef bool (*HPMHOOK_post_cmdline_arg_next_value) (bool retVal___, const char *name, int current_arg, int argc);
typedef const char* (*HPMHOOK_pre_cmdline_arg_source) (struct CmdlineArgData *arg);
typedef const char* (*HPMHOOK_post_cmdline_arg_source) (const char* retVal___, struct CmdlineArgData *arg);
#endif // COMMON_CORE_H
@@ -2223,31 +2223,31 @@ typedef void (*HPMHOOK_post_core_shutdown_callback) (void);
#endif // COMMON_CORE_H
#ifdef COMMON_DB_H /* DB */
typedef enum DBOptions (*HPMHOOK_pre_DB_fix_options) (enum DBType *type, enum DBOptions *options);
-typedef enum DBOptions (*HPMHOOK_post_DB_fix_options) (enum DBOptions retVal___, enum DBType *type, enum DBOptions *options);
+typedef enum DBOptions (*HPMHOOK_post_DB_fix_options) (enum DBOptions retVal___, enum DBType type, enum DBOptions options);
typedef DBComparator (*HPMHOOK_pre_DB_default_cmp) (enum DBType *type);
-typedef DBComparator (*HPMHOOK_post_DB_default_cmp) (DBComparator retVal___, enum DBType *type);
+typedef DBComparator (*HPMHOOK_post_DB_default_cmp) (DBComparator retVal___, enum DBType type);
typedef DBHasher (*HPMHOOK_pre_DB_default_hash) (enum DBType *type);
-typedef DBHasher (*HPMHOOK_post_DB_default_hash) (DBHasher retVal___, enum DBType *type);
+typedef DBHasher (*HPMHOOK_post_DB_default_hash) (DBHasher retVal___, enum DBType type);
typedef DBReleaser (*HPMHOOK_pre_DB_default_release) (enum DBType *type, enum DBOptions *options);
-typedef DBReleaser (*HPMHOOK_post_DB_default_release) (DBReleaser retVal___, enum DBType *type, enum DBOptions *options);
+typedef DBReleaser (*HPMHOOK_post_DB_default_release) (DBReleaser retVal___, enum DBType type, enum DBOptions options);
typedef DBReleaser (*HPMHOOK_pre_DB_custom_release) (enum DBReleaseOption *which);
-typedef DBReleaser (*HPMHOOK_post_DB_custom_release) (DBReleaser retVal___, enum DBReleaseOption *which);
+typedef DBReleaser (*HPMHOOK_post_DB_custom_release) (DBReleaser retVal___, enum DBReleaseOption which);
typedef struct DBMap* (*HPMHOOK_pre_DB_alloc) (const char *file, const char *func, int *line, enum DBType *type, enum DBOptions *options, unsigned short *maxlen);
-typedef struct DBMap* (*HPMHOOK_post_DB_alloc) (struct DBMap* retVal___, const char *file, const char *func, int *line, enum DBType *type, enum DBOptions *options, unsigned short *maxlen);
+typedef struct DBMap* (*HPMHOOK_post_DB_alloc) (struct DBMap* retVal___, const char *file, const char *func, int line, enum DBType type, enum DBOptions options, unsigned short maxlen);
typedef union DBKey (*HPMHOOK_pre_DB_i2key) (int *key);
-typedef union DBKey (*HPMHOOK_post_DB_i2key) (union DBKey retVal___, int *key);
+typedef union DBKey (*HPMHOOK_post_DB_i2key) (union DBKey retVal___, int key);
typedef union DBKey (*HPMHOOK_pre_DB_ui2key) (unsigned int *key);
-typedef union DBKey (*HPMHOOK_post_DB_ui2key) (union DBKey retVal___, unsigned int *key);
+typedef union DBKey (*HPMHOOK_post_DB_ui2key) (union DBKey retVal___, unsigned int key);
typedef union DBKey (*HPMHOOK_pre_DB_str2key) (const char *key);
typedef union DBKey (*HPMHOOK_post_DB_str2key) (union DBKey retVal___, const char *key);
typedef union DBKey (*HPMHOOK_pre_DB_i642key) (int64 *key);
-typedef union DBKey (*HPMHOOK_post_DB_i642key) (union DBKey retVal___, int64 *key);
+typedef union DBKey (*HPMHOOK_post_DB_i642key) (union DBKey retVal___, int64 key);
typedef union DBKey (*HPMHOOK_pre_DB_ui642key) (uint64 *key);
-typedef union DBKey (*HPMHOOK_post_DB_ui642key) (union DBKey retVal___, uint64 *key);
+typedef union DBKey (*HPMHOOK_post_DB_ui642key) (union DBKey retVal___, uint64 key);
typedef struct DBData (*HPMHOOK_pre_DB_i2data) (int *data);
-typedef struct DBData (*HPMHOOK_post_DB_i2data) (struct DBData retVal___, int *data);
+typedef struct DBData (*HPMHOOK_post_DB_i2data) (struct DBData retVal___, int data);
typedef struct DBData (*HPMHOOK_pre_DB_ui2data) (unsigned int *data);
-typedef struct DBData (*HPMHOOK_post_DB_ui2data) (struct DBData retVal___, unsigned int *data);
+typedef struct DBData (*HPMHOOK_post_DB_ui2data) (struct DBData retVal___, unsigned int data);
typedef struct DBData (*HPMHOOK_pre_DB_ptr2data) (void *data);
typedef struct DBData (*HPMHOOK_post_DB_ptr2data) (struct DBData retVal___, void *data);
typedef int (*HPMHOOK_pre_DB_data2i) (struct DBData *data);
@@ -2263,49 +2263,49 @@ typedef void (*HPMHOOK_post_DB_final) (void);
#endif // COMMON_DB_H
#ifdef MAP_DUEL_H /* duel */
typedef int (*HPMHOOK_pre_duel_create) (struct map_session_data *sd, const unsigned int *maxpl);
-typedef int (*HPMHOOK_post_duel_create) (int retVal___, struct map_session_data *sd, const unsigned int *maxpl);
+typedef int (*HPMHOOK_post_duel_create) (int retVal___, struct map_session_data *sd, const unsigned int maxpl);
typedef void (*HPMHOOK_pre_duel_invite) (const unsigned int *did, struct map_session_data *sd, struct map_session_data *target_sd);
-typedef void (*HPMHOOK_post_duel_invite) (const unsigned int *did, struct map_session_data *sd, struct map_session_data *target_sd);
+typedef void (*HPMHOOK_post_duel_invite) (const unsigned int did, struct map_session_data *sd, struct map_session_data *target_sd);
typedef void (*HPMHOOK_pre_duel_accept) (const unsigned int *did, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_duel_accept) (const unsigned int *did, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_duel_accept) (const unsigned int did, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_duel_reject) (const unsigned int *did, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_duel_reject) (const unsigned int *did, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_duel_reject) (const unsigned int did, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_duel_leave) (const unsigned int *did, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_duel_leave) (const unsigned int *did, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_duel_leave) (const unsigned int did, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_duel_showinfo) (const unsigned int *did, struct map_session_data *sd);
-typedef void (*HPMHOOK_post_duel_showinfo) (const unsigned int *did, struct map_session_data *sd);
+typedef void (*HPMHOOK_post_duel_showinfo) (const unsigned int did, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_duel_checktime) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_duel_checktime) (int retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_duel_init) (bool *minimal);
-typedef void (*HPMHOOK_post_duel_init) (bool *minimal);
+typedef void (*HPMHOOK_post_duel_init) (bool minimal);
typedef void (*HPMHOOK_pre_duel_final) (void);
typedef void (*HPMHOOK_post_duel_final) (void);
#endif // MAP_DUEL_H
#ifdef MAP_ELEMENTAL_H /* elemental */
typedef int (*HPMHOOK_pre_elemental_init) (bool *minimal);
-typedef int (*HPMHOOK_post_elemental_init) (int retVal___, bool *minimal);
+typedef int (*HPMHOOK_post_elemental_init) (int retVal___, bool minimal);
typedef void (*HPMHOOK_pre_elemental_final) (void);
typedef void (*HPMHOOK_post_elemental_final) (void);
typedef bool (*HPMHOOK_pre_elemental_class) (int *class_);
-typedef bool (*HPMHOOK_post_elemental_class) (bool retVal___, int *class_);
+typedef bool (*HPMHOOK_post_elemental_class) (bool retVal___, int class_);
typedef struct view_data* (*HPMHOOK_pre_elemental_get_viewdata) (int *class_);
-typedef struct view_data* (*HPMHOOK_post_elemental_get_viewdata) (struct view_data* retVal___, int *class_);
+typedef struct view_data* (*HPMHOOK_post_elemental_get_viewdata) (struct view_data* retVal___, int class_);
typedef int (*HPMHOOK_pre_elemental_create) (struct map_session_data *sd, int *class_, unsigned int *lifetime);
-typedef int (*HPMHOOK_post_elemental_create) (int retVal___, struct map_session_data *sd, int *class_, unsigned int *lifetime);
+typedef int (*HPMHOOK_post_elemental_create) (int retVal___, struct map_session_data *sd, int class_, unsigned int lifetime);
typedef int (*HPMHOOK_pre_elemental_data_received) (const struct s_elemental *ele, bool *flag);
-typedef int (*HPMHOOK_post_elemental_data_received) (int retVal___, const struct s_elemental *ele, bool *flag);
+typedef int (*HPMHOOK_post_elemental_data_received) (int retVal___, const struct s_elemental *ele, bool flag);
typedef int (*HPMHOOK_pre_elemental_save) (struct elemental_data *ed);
typedef int (*HPMHOOK_post_elemental_save) (int retVal___, struct elemental_data *ed);
typedef int (*HPMHOOK_pre_elemental_change_mode_ack) (struct elemental_data *ed, int *mode);
-typedef int (*HPMHOOK_post_elemental_change_mode_ack) (int retVal___, struct elemental_data *ed, int *mode);
+typedef int (*HPMHOOK_post_elemental_change_mode_ack) (int retVal___, struct elemental_data *ed, int mode);
typedef int (*HPMHOOK_pre_elemental_change_mode) (struct elemental_data *ed, uint32 *mode);
-typedef int (*HPMHOOK_post_elemental_change_mode) (int retVal___, struct elemental_data *ed, uint32 *mode);
+typedef int (*HPMHOOK_post_elemental_change_mode) (int retVal___, struct elemental_data *ed, uint32 mode);
typedef void (*HPMHOOK_pre_elemental_heal) (struct elemental_data *ed, int *hp, int *sp);
-typedef void (*HPMHOOK_post_elemental_heal) (struct elemental_data *ed, int *hp, int *sp);
+typedef void (*HPMHOOK_post_elemental_heal) (struct elemental_data *ed, int hp, int sp);
typedef int (*HPMHOOK_pre_elemental_dead) (struct elemental_data *ed);
typedef int (*HPMHOOK_post_elemental_dead) (int retVal___, struct elemental_data *ed);
typedef int (*HPMHOOK_pre_elemental_delete) (struct elemental_data *ed, int *reply);
-typedef int (*HPMHOOK_post_elemental_delete) (int retVal___, struct elemental_data *ed, int *reply);
+typedef int (*HPMHOOK_post_elemental_delete) (int retVal___, struct elemental_data *ed, int reply);
typedef void (*HPMHOOK_pre_elemental_summon_stop) (struct elemental_data *ed);
typedef void (*HPMHOOK_post_elemental_summon_stop) (struct elemental_data *ed);
typedef int (*HPMHOOK_pre_elemental_get_lifetime) (struct elemental_data *ed);
@@ -2313,17 +2313,17 @@ typedef int (*HPMHOOK_post_elemental_get_lifetime) (int retVal___, struct elemen
typedef int (*HPMHOOK_pre_elemental_unlocktarget) (struct elemental_data *ed);
typedef int (*HPMHOOK_post_elemental_unlocktarget) (int retVal___, struct elemental_data *ed);
typedef int (*HPMHOOK_pre_elemental_skillnotok) (uint16 *skill_id, struct elemental_data *ed);
-typedef int (*HPMHOOK_post_elemental_skillnotok) (int retVal___, uint16 *skill_id, struct elemental_data *ed);
+typedef int (*HPMHOOK_post_elemental_skillnotok) (int retVal___, uint16 skill_id, struct elemental_data *ed);
typedef int (*HPMHOOK_pre_elemental_set_target) (struct map_session_data *sd, struct block_list *bl);
typedef int (*HPMHOOK_post_elemental_set_target) (int retVal___, struct map_session_data *sd, struct block_list *bl);
typedef int (*HPMHOOK_pre_elemental_clean_single_effect) (struct elemental_data *ed, uint16 *skill_id);
-typedef int (*HPMHOOK_post_elemental_clean_single_effect) (int retVal___, struct elemental_data *ed, uint16 *skill_id);
+typedef int (*HPMHOOK_post_elemental_clean_single_effect) (int retVal___, struct elemental_data *ed, uint16 skill_id);
typedef int (*HPMHOOK_pre_elemental_clean_effect) (struct elemental_data *ed);
typedef int (*HPMHOOK_post_elemental_clean_effect) (int retVal___, struct elemental_data *ed);
typedef int (*HPMHOOK_pre_elemental_action) (struct elemental_data *ed, struct block_list *bl, int64 *tick);
-typedef int (*HPMHOOK_post_elemental_action) (int retVal___, struct elemental_data *ed, struct block_list *bl, int64 *tick);
+typedef int (*HPMHOOK_post_elemental_action) (int retVal___, struct elemental_data *ed, struct block_list *bl, int64 tick);
typedef struct skill_condition (*HPMHOOK_pre_elemental_skill_get_requirements) (uint16 *skill_id, uint16 *skill_lv);
-typedef struct skill_condition (*HPMHOOK_post_elemental_skill_get_requirements) (struct skill_condition retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef struct skill_condition (*HPMHOOK_post_elemental_skill_get_requirements) (struct skill_condition retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_elemental_read_skilldb) (void);
typedef int (*HPMHOOK_post_elemental_read_skilldb) (int retVal___);
typedef void (*HPMHOOK_pre_elemental_reload_db) (void);
@@ -2331,151 +2331,151 @@ typedef void (*HPMHOOK_post_elemental_reload_db) (void);
typedef void (*HPMHOOK_pre_elemental_reload_skilldb) (void);
typedef void (*HPMHOOK_post_elemental_reload_skilldb) (void);
typedef int (*HPMHOOK_pre_elemental_search_index) (int *class_);
-typedef int (*HPMHOOK_post_elemental_search_index) (int retVal___, int *class_);
+typedef int (*HPMHOOK_post_elemental_search_index) (int retVal___, int class_);
typedef void (*HPMHOOK_pre_elemental_summon_init) (struct elemental_data *ed);
typedef void (*HPMHOOK_post_elemental_summon_init) (struct elemental_data *ed);
typedef int (*HPMHOOK_pre_elemental_summon_end_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_elemental_summon_end_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_elemental_summon_end_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_elemental_ai_sub_timer_activesearch) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_elemental_ai_sub_timer_activesearch) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_elemental_ai_sub_timer) (struct elemental_data *ed, struct map_session_data *sd, int64 *tick);
-typedef int (*HPMHOOK_post_elemental_ai_sub_timer) (int retVal___, struct elemental_data *ed, struct map_session_data *sd, int64 *tick);
+typedef int (*HPMHOOK_post_elemental_ai_sub_timer) (int retVal___, struct elemental_data *ed, struct map_session_data *sd, int64 tick);
typedef int (*HPMHOOK_pre_elemental_ai_sub_foreachclient) (struct map_session_data *sd, va_list ap);
typedef int (*HPMHOOK_post_elemental_ai_sub_foreachclient) (int retVal___, struct map_session_data *sd, va_list ap);
typedef int (*HPMHOOK_pre_elemental_ai_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_elemental_ai_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_elemental_ai_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_elemental_read_db) (void);
typedef int (*HPMHOOK_post_elemental_read_db) (int retVal___);
#endif // MAP_ELEMENTAL_H
#ifdef CHAR_GEOIP_H /* geoip */
typedef const char* (*HPMHOOK_pre_geoip_getcountry) (uint32 *ipnum);
-typedef const char* (*HPMHOOK_post_geoip_getcountry) (const char* retVal___, uint32 *ipnum);
+typedef const char* (*HPMHOOK_post_geoip_getcountry) (const char* retVal___, uint32 ipnum);
typedef void (*HPMHOOK_pre_geoip_final) (bool *shutdown);
-typedef void (*HPMHOOK_post_geoip_final) (bool *shutdown);
+typedef void (*HPMHOOK_post_geoip_final) (bool shutdown);
typedef void (*HPMHOOK_pre_geoip_init) (void);
typedef void (*HPMHOOK_post_geoip_init) (void);
#endif // CHAR_GEOIP_H
#ifdef MAP_GUILD_H /* guild */
typedef void (*HPMHOOK_pre_guild_init) (bool *minimal);
-typedef void (*HPMHOOK_post_guild_init) (bool *minimal);
+typedef void (*HPMHOOK_post_guild_init) (bool minimal);
typedef void (*HPMHOOK_pre_guild_final) (void);
typedef void (*HPMHOOK_post_guild_final) (void);
typedef int (*HPMHOOK_pre_guild_skill_get_max) (int *id);
-typedef int (*HPMHOOK_post_guild_skill_get_max) (int retVal___, int *id);
+typedef int (*HPMHOOK_post_guild_skill_get_max) (int retVal___, int id);
typedef int (*HPMHOOK_pre_guild_checkskill) (struct guild *g, int *id);
-typedef int (*HPMHOOK_post_guild_checkskill) (int retVal___, struct guild *g, int *id);
+typedef int (*HPMHOOK_post_guild_checkskill) (int retVal___, struct guild *g, int id);
typedef int (*HPMHOOK_pre_guild_check_skill_require) (struct guild *g, int *id);
-typedef int (*HPMHOOK_post_guild_check_skill_require) (int retVal___, struct guild *g, int *id);
+typedef int (*HPMHOOK_post_guild_check_skill_require) (int retVal___, struct guild *g, int id);
typedef int (*HPMHOOK_pre_guild_checkcastles) (struct guild *g);
typedef int (*HPMHOOK_post_guild_checkcastles) (int retVal___, struct guild *g);
typedef bool (*HPMHOOK_pre_guild_isallied) (int *guild_id, int *guild_id2);
-typedef bool (*HPMHOOK_post_guild_isallied) (bool retVal___, int *guild_id, int *guild_id2);
+typedef bool (*HPMHOOK_post_guild_isallied) (bool retVal___, int guild_id, int guild_id2);
typedef struct guild* (*HPMHOOK_pre_guild_search) (int *guild_id);
-typedef struct guild* (*HPMHOOK_post_guild_search) (struct guild* retVal___, int *guild_id);
+typedef struct guild* (*HPMHOOK_post_guild_search) (struct guild* retVal___, int guild_id);
typedef struct guild* (*HPMHOOK_pre_guild_searchname) (char *str);
typedef struct guild* (*HPMHOOK_post_guild_searchname) (struct guild* retVal___, char *str);
typedef struct guild_castle* (*HPMHOOK_pre_guild_castle_search) (int *gcid);
-typedef struct guild_castle* (*HPMHOOK_post_guild_castle_search) (struct guild_castle* retVal___, int *gcid);
+typedef struct guild_castle* (*HPMHOOK_post_guild_castle_search) (struct guild_castle* retVal___, int gcid);
typedef struct guild_castle* (*HPMHOOK_pre_guild_mapname2gc) (const char *mapname);
typedef struct guild_castle* (*HPMHOOK_post_guild_mapname2gc) (struct guild_castle* retVal___, const char *mapname);
typedef struct guild_castle* (*HPMHOOK_pre_guild_mapindex2gc) (short *map_index);
-typedef struct guild_castle* (*HPMHOOK_post_guild_mapindex2gc) (struct guild_castle* retVal___, short *map_index);
+typedef struct guild_castle* (*HPMHOOK_post_guild_mapindex2gc) (struct guild_castle* retVal___, short map_index);
typedef struct map_session_data* (*HPMHOOK_pre_guild_getavailablesd) (struct guild *g);
typedef struct map_session_data* (*HPMHOOK_post_guild_getavailablesd) (struct map_session_data* retVal___, struct guild *g);
typedef int (*HPMHOOK_pre_guild_getindex) (const struct guild *g, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_guild_getindex) (int retVal___, const struct guild *g, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_guild_getindex) (int retVal___, const struct guild *g, int account_id, int char_id);
typedef int (*HPMHOOK_pre_guild_getposition) (struct guild *g, struct map_session_data *sd);
typedef int (*HPMHOOK_post_guild_getposition) (int retVal___, struct guild *g, struct map_session_data *sd);
typedef unsigned int (*HPMHOOK_pre_guild_payexp) (struct map_session_data *sd, unsigned int *exp);
-typedef unsigned int (*HPMHOOK_post_guild_payexp) (unsigned int retVal___, struct map_session_data *sd, unsigned int *exp);
+typedef unsigned int (*HPMHOOK_post_guild_payexp) (unsigned int retVal___, struct map_session_data *sd, unsigned int exp);
typedef int (*HPMHOOK_pre_guild_getexp) (struct map_session_data *sd, int *exp);
-typedef int (*HPMHOOK_post_guild_getexp) (int retVal___, struct map_session_data *sd, int *exp);
+typedef int (*HPMHOOK_post_guild_getexp) (int retVal___, struct map_session_data *sd, int exp);
typedef int (*HPMHOOK_pre_guild_create) (struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_post_guild_create) (int retVal___, struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_pre_guild_created) (int *account_id, int *guild_id);
-typedef int (*HPMHOOK_post_guild_created) (int retVal___, int *account_id, int *guild_id);
+typedef int (*HPMHOOK_post_guild_created) (int retVal___, int account_id, int guild_id);
typedef int (*HPMHOOK_pre_guild_request_info) (int *guild_id);
-typedef int (*HPMHOOK_post_guild_request_info) (int retVal___, int *guild_id);
+typedef int (*HPMHOOK_post_guild_request_info) (int retVal___, int guild_id);
typedef int (*HPMHOOK_pre_guild_recv_noinfo) (int *guild_id);
-typedef int (*HPMHOOK_post_guild_recv_noinfo) (int retVal___, int *guild_id);
+typedef int (*HPMHOOK_post_guild_recv_noinfo) (int retVal___, int guild_id);
typedef int (*HPMHOOK_pre_guild_recv_info) (const struct guild *sg);
typedef int (*HPMHOOK_post_guild_recv_info) (int retVal___, const struct guild *sg);
typedef int (*HPMHOOK_pre_guild_npc_request_info) (int *guild_id, const char *ev);
-typedef int (*HPMHOOK_post_guild_npc_request_info) (int retVal___, int *guild_id, const char *ev);
+typedef int (*HPMHOOK_post_guild_npc_request_info) (int retVal___, int guild_id, const char *ev);
typedef int (*HPMHOOK_pre_guild_invite) (struct map_session_data *sd, struct map_session_data *tsd);
typedef int (*HPMHOOK_post_guild_invite) (int retVal___, struct map_session_data *sd, struct map_session_data *tsd);
typedef int (*HPMHOOK_pre_guild_reply_invite) (struct map_session_data *sd, int *guild_id, int *flag);
-typedef int (*HPMHOOK_post_guild_reply_invite) (int retVal___, struct map_session_data *sd, int *guild_id, int *flag);
+typedef int (*HPMHOOK_post_guild_reply_invite) (int retVal___, struct map_session_data *sd, int guild_id, int flag);
typedef void (*HPMHOOK_pre_guild_member_joined) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_guild_member_joined) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_guild_member_added) (int *guild_id, int *account_id, int *char_id, int *flag);
-typedef int (*HPMHOOK_post_guild_member_added) (int retVal___, int *guild_id, int *account_id, int *char_id, int *flag);
+typedef int (*HPMHOOK_post_guild_member_added) (int retVal___, int guild_id, int account_id, int char_id, int flag);
typedef int (*HPMHOOK_pre_guild_leave) (struct map_session_data *sd, int *guild_id, int *account_id, int *char_id, const char *mes);
-typedef int (*HPMHOOK_post_guild_leave) (int retVal___, struct map_session_data *sd, int *guild_id, int *account_id, int *char_id, const char *mes);
+typedef int (*HPMHOOK_post_guild_leave) (int retVal___, struct map_session_data *sd, int guild_id, int account_id, int char_id, const char *mes);
typedef int (*HPMHOOK_pre_guild_member_withdraw) (int *guild_id, int *account_id, int *char_id, int *flag, const char *name, const char *mes);
-typedef int (*HPMHOOK_post_guild_member_withdraw) (int retVal___, int *guild_id, int *account_id, int *char_id, int *flag, const char *name, const char *mes);
+typedef int (*HPMHOOK_post_guild_member_withdraw) (int retVal___, int guild_id, int account_id, int char_id, int flag, const char *name, const char *mes);
typedef int (*HPMHOOK_pre_guild_expulsion) (struct map_session_data *sd, int *guild_id, int *account_id, int *char_id, const char *mes);
-typedef int (*HPMHOOK_post_guild_expulsion) (int retVal___, struct map_session_data *sd, int *guild_id, int *account_id, int *char_id, const char *mes);
+typedef int (*HPMHOOK_post_guild_expulsion) (int retVal___, struct map_session_data *sd, int guild_id, int account_id, int char_id, const char *mes);
typedef int (*HPMHOOK_pre_guild_skillup) (struct map_session_data *sd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_guild_skillup) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_guild_skillup) (int retVal___, struct map_session_data *sd, uint16 skill_id);
typedef void (*HPMHOOK_pre_guild_block_skill) (struct map_session_data *sd, int *time);
-typedef void (*HPMHOOK_post_guild_block_skill) (struct map_session_data *sd, int *time);
+typedef void (*HPMHOOK_post_guild_block_skill) (struct map_session_data *sd, int time);
typedef int (*HPMHOOK_pre_guild_reqalliance) (struct map_session_data *sd, struct map_session_data *tsd);
typedef int (*HPMHOOK_post_guild_reqalliance) (int retVal___, struct map_session_data *sd, struct map_session_data *tsd);
typedef int (*HPMHOOK_pre_guild_reply_reqalliance) (struct map_session_data *sd, int *account_id, int *flag);
-typedef int (*HPMHOOK_post_guild_reply_reqalliance) (int retVal___, struct map_session_data *sd, int *account_id, int *flag);
+typedef int (*HPMHOOK_post_guild_reply_reqalliance) (int retVal___, struct map_session_data *sd, int account_id, int flag);
typedef int (*HPMHOOK_pre_guild_allianceack) (int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag, const char *name1, const char *name2);
-typedef int (*HPMHOOK_post_guild_allianceack) (int retVal___, int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag, const char *name1, const char *name2);
+typedef int (*HPMHOOK_post_guild_allianceack) (int retVal___, int guild_id1, int guild_id2, int account_id1, int account_id2, int flag, const char *name1, const char *name2);
typedef int (*HPMHOOK_pre_guild_delalliance) (struct map_session_data *sd, int *guild_id, int *flag);
-typedef int (*HPMHOOK_post_guild_delalliance) (int retVal___, struct map_session_data *sd, int *guild_id, int *flag);
+typedef int (*HPMHOOK_post_guild_delalliance) (int retVal___, struct map_session_data *sd, int guild_id, int flag);
typedef int (*HPMHOOK_pre_guild_opposition) (struct map_session_data *sd, struct map_session_data *tsd);
typedef int (*HPMHOOK_post_guild_opposition) (int retVal___, struct map_session_data *sd, struct map_session_data *tsd);
typedef int (*HPMHOOK_pre_guild_check_alliance) (int *guild_id1, int *guild_id2, int *flag);
-typedef int (*HPMHOOK_post_guild_check_alliance) (int retVal___, int *guild_id1, int *guild_id2, int *flag);
+typedef int (*HPMHOOK_post_guild_check_alliance) (int retVal___, int guild_id1, int guild_id2, int flag);
typedef int (*HPMHOOK_pre_guild_send_memberinfoshort) (struct map_session_data *sd, int *online);
-typedef int (*HPMHOOK_post_guild_send_memberinfoshort) (int retVal___, struct map_session_data *sd, int *online);
+typedef int (*HPMHOOK_post_guild_send_memberinfoshort) (int retVal___, struct map_session_data *sd, int online);
typedef int (*HPMHOOK_pre_guild_recv_memberinfoshort) (int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
-typedef int (*HPMHOOK_post_guild_recv_memberinfoshort) (int retVal___, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
+typedef int (*HPMHOOK_post_guild_recv_memberinfoshort) (int retVal___, int guild_id, int account_id, int char_id, int online, int lv, int class_);
typedef int (*HPMHOOK_pre_guild_change_memberposition) (int *guild_id, int *account_id, int *char_id, short *idx);
-typedef int (*HPMHOOK_post_guild_change_memberposition) (int retVal___, int *guild_id, int *account_id, int *char_id, short *idx);
+typedef int (*HPMHOOK_post_guild_change_memberposition) (int retVal___, int guild_id, int account_id, int char_id, short idx);
typedef int (*HPMHOOK_pre_guild_memberposition_changed) (struct guild *g, int *idx, int *pos);
-typedef int (*HPMHOOK_post_guild_memberposition_changed) (int retVal___, struct guild *g, int *idx, int *pos);
+typedef int (*HPMHOOK_post_guild_memberposition_changed) (int retVal___, struct guild *g, int idx, int pos);
typedef int (*HPMHOOK_pre_guild_change_position) (int *guild_id, int *idx, int *mode, int *exp_mode, const char *name);
-typedef int (*HPMHOOK_post_guild_change_position) (int retVal___, int *guild_id, int *idx, int *mode, int *exp_mode, const char *name);
+typedef int (*HPMHOOK_post_guild_change_position) (int retVal___, int guild_id, int idx, int mode, int exp_mode, const char *name);
typedef int (*HPMHOOK_pre_guild_position_changed) (int *guild_id, int *idx, const struct guild_position *p);
-typedef int (*HPMHOOK_post_guild_position_changed) (int retVal___, int *guild_id, int *idx, const struct guild_position *p);
+typedef int (*HPMHOOK_post_guild_position_changed) (int retVal___, int guild_id, int idx, const struct guild_position *p);
typedef int (*HPMHOOK_pre_guild_change_notice) (struct map_session_data *sd, int *guild_id, const char *mes1, const char *mes2);
-typedef int (*HPMHOOK_post_guild_change_notice) (int retVal___, struct map_session_data *sd, int *guild_id, const char *mes1, const char *mes2);
+typedef int (*HPMHOOK_post_guild_change_notice) (int retVal___, struct map_session_data *sd, int guild_id, const char *mes1, const char *mes2);
typedef int (*HPMHOOK_pre_guild_notice_changed) (int *guild_id, const char *mes1, const char *mes2);
-typedef int (*HPMHOOK_post_guild_notice_changed) (int retVal___, int *guild_id, const char *mes1, const char *mes2);
+typedef int (*HPMHOOK_post_guild_notice_changed) (int retVal___, int guild_id, const char *mes1, const char *mes2);
typedef int (*HPMHOOK_pre_guild_change_emblem) (struct map_session_data *sd, int *len, const char *data);
-typedef int (*HPMHOOK_post_guild_change_emblem) (int retVal___, struct map_session_data *sd, int *len, const char *data);
+typedef int (*HPMHOOK_post_guild_change_emblem) (int retVal___, struct map_session_data *sd, int len, const char *data);
typedef int (*HPMHOOK_pre_guild_emblem_changed) (int *len, int *guild_id, int *emblem_id, const char *data);
-typedef int (*HPMHOOK_post_guild_emblem_changed) (int retVal___, int *len, int *guild_id, int *emblem_id, const char *data);
+typedef int (*HPMHOOK_post_guild_emblem_changed) (int retVal___, int len, int guild_id, int emblem_id, const char *data);
typedef int (*HPMHOOK_pre_guild_send_message) (struct map_session_data *sd, const char *mes);
typedef int (*HPMHOOK_post_guild_send_message) (int retVal___, struct map_session_data *sd, const char *mes);
typedef int (*HPMHOOK_pre_guild_recv_message) (int *guild_id, int *account_id, const char *mes, int *len);
-typedef int (*HPMHOOK_post_guild_recv_message) (int retVal___, int *guild_id, int *account_id, const char *mes, int *len);
+typedef int (*HPMHOOK_post_guild_recv_message) (int retVal___, int guild_id, int account_id, const char *mes, int len);
typedef int (*HPMHOOK_pre_guild_send_dot_remove) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_guild_send_dot_remove) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_guild_skillupack) (int *guild_id, uint16 *skill_id, int *account_id);
-typedef int (*HPMHOOK_post_guild_skillupack) (int retVal___, int *guild_id, uint16 *skill_id, int *account_id);
+typedef int (*HPMHOOK_post_guild_skillupack) (int retVal___, int guild_id, uint16 skill_id, int account_id);
typedef int (*HPMHOOK_pre_guild_dobreak) (struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_post_guild_dobreak) (int retVal___, struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_pre_guild_broken) (int *guild_id, int *flag);
-typedef int (*HPMHOOK_post_guild_broken) (int retVal___, int *guild_id, int *flag);
+typedef int (*HPMHOOK_post_guild_broken) (int retVal___, int guild_id, int flag);
typedef int (*HPMHOOK_pre_guild_gm_change) (int *guild_id, struct map_session_data *sd);
-typedef int (*HPMHOOK_post_guild_gm_change) (int retVal___, int *guild_id, struct map_session_data *sd);
+typedef int (*HPMHOOK_post_guild_gm_change) (int retVal___, int guild_id, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_guild_gm_changed) (int *guild_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_guild_gm_changed) (int retVal___, int *guild_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_guild_gm_changed) (int retVal___, int guild_id, int account_id, int char_id);
typedef void (*HPMHOOK_pre_guild_castle_map_init) (void);
typedef void (*HPMHOOK_post_guild_castle_map_init) (void);
typedef int (*HPMHOOK_pre_guild_castledatasave) (int *castle_id, int *index, int *value);
-typedef int (*HPMHOOK_post_guild_castledatasave) (int retVal___, int *castle_id, int *index, int *value);
+typedef int (*HPMHOOK_post_guild_castledatasave) (int retVal___, int castle_id, int index, int value);
typedef int (*HPMHOOK_pre_guild_castledataloadack) (int *len, const struct guild_castle *gc);
-typedef int (*HPMHOOK_post_guild_castledataloadack) (int retVal___, int *len, const struct guild_castle *gc);
+typedef int (*HPMHOOK_post_guild_castledataloadack) (int retVal___, int len, const struct guild_castle *gc);
typedef void (*HPMHOOK_pre_guild_castle_reconnect) (int *castle_id, int *index, int *value);
-typedef void (*HPMHOOK_post_guild_castle_reconnect) (int *castle_id, int *index, int *value);
+typedef void (*HPMHOOK_post_guild_castle_reconnect) (int castle_id, int index, int value);
typedef void (*HPMHOOK_pre_guild_agit_start) (void);
typedef void (*HPMHOOK_post_guild_agit_start) (void);
typedef void (*HPMHOOK_pre_guild_agit_end) (void);
@@ -2491,81 +2491,81 @@ typedef void (*HPMHOOK_post_guild_flag_remove) (struct npc_data *nd);
typedef void (*HPMHOOK_pre_guild_flags_clear) (void);
typedef void (*HPMHOOK_post_guild_flags_clear) (void);
typedef void (*HPMHOOK_pre_guild_aura_refresh) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
-typedef void (*HPMHOOK_post_guild_aura_refresh) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+typedef void (*HPMHOOK_post_guild_aura_refresh) (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
typedef void (*HPMHOOK_pre_guild_retrieveitembound) (int *char_id, int *aid, int *guild_id);
-typedef void (*HPMHOOK_post_guild_retrieveitembound) (int *char_id, int *aid, int *guild_id);
+typedef void (*HPMHOOK_post_guild_retrieveitembound) (int char_id, int aid, int guild_id);
typedef int (*HPMHOOK_pre_guild_payexp_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_guild_payexp_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_guild_payexp_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef struct map_session_data* (*HPMHOOK_pre_guild_sd_check) (int *guild_id, int *account_id, int *char_id);
-typedef struct map_session_data* (*HPMHOOK_post_guild_sd_check) (struct map_session_data* retVal___, int *guild_id, int *account_id, int *char_id);
+typedef struct map_session_data* (*HPMHOOK_post_guild_sd_check) (struct map_session_data* retVal___, int guild_id, int account_id, int char_id);
typedef bool (*HPMHOOK_pre_guild_read_guildskill_tree_db) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_guild_read_guildskill_tree_db) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_guild_read_guildskill_tree_db) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_guild_read_castledb) (char *str[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_guild_read_castledb) (bool retVal___, char *str[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_guild_read_castledb) (bool retVal___, char *str[], int columns, int current);
typedef int (*HPMHOOK_pre_guild_payexp_timer_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_guild_payexp_timer_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_guild_payexp_timer_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_guild_send_xy_timer_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_guild_send_xy_timer_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_guild_send_xy_timer_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_guild_send_xy_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_guild_send_xy_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_guild_send_xy_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef struct DBData (*HPMHOOK_pre_guild_create_expcache) (union DBKey *key, va_list args);
-typedef struct DBData (*HPMHOOK_post_guild_create_expcache) (struct DBData retVal___, union DBKey *key, va_list args);
+typedef struct DBData (*HPMHOOK_post_guild_create_expcache) (struct DBData retVal___, union DBKey key, va_list args);
typedef int (*HPMHOOK_pre_guild_eventlist_db_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_guild_eventlist_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_guild_eventlist_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_guild_expcache_db_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_guild_expcache_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_guild_expcache_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_guild_castle_db_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_guild_castle_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_guild_castle_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_guild_broken_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_guild_broken_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_guild_broken_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_guild_castle_broken_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_guild_castle_broken_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_guild_castle_broken_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_guild_makemember) (struct guild_member *m, struct map_session_data *sd);
typedef void (*HPMHOOK_post_guild_makemember) (struct guild_member *m, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_guild_check_member) (const struct guild *g);
typedef int (*HPMHOOK_post_guild_check_member) (int retVal___, const struct guild *g);
typedef int (*HPMHOOK_pre_guild_get_alliance_count) (struct guild *g, int *flag);
-typedef int (*HPMHOOK_post_guild_get_alliance_count) (int retVal___, struct guild *g, int *flag);
+typedef int (*HPMHOOK_post_guild_get_alliance_count) (int retVal___, struct guild *g, int flag);
typedef void (*HPMHOOK_pre_guild_castle_reconnect_sub) (void *key, void *data, va_list ap);
typedef void (*HPMHOOK_post_guild_castle_reconnect_sub) (void *key, void *data, va_list ap);
#endif // MAP_GUILD_H
#ifdef MAP_STORAGE_H /* gstorage */
typedef struct guild_storage* (*HPMHOOK_pre_gstorage_ensure) (int *guild_id);
-typedef struct guild_storage* (*HPMHOOK_post_gstorage_ensure) (struct guild_storage* retVal___, int *guild_id);
+typedef struct guild_storage* (*HPMHOOK_post_gstorage_ensure) (struct guild_storage* retVal___, int guild_id);
typedef void (*HPMHOOK_pre_gstorage_init) (bool *minimal);
-typedef void (*HPMHOOK_post_gstorage_init) (bool *minimal);
+typedef void (*HPMHOOK_post_gstorage_init) (bool minimal);
typedef void (*HPMHOOK_pre_gstorage_final) (void);
typedef void (*HPMHOOK_post_gstorage_final) (void);
typedef int (*HPMHOOK_pre_gstorage_delete) (int *guild_id);
-typedef int (*HPMHOOK_post_gstorage_delete) (int retVal___, int *guild_id);
+typedef int (*HPMHOOK_post_gstorage_delete) (int retVal___, int guild_id);
typedef int (*HPMHOOK_pre_gstorage_open) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_gstorage_open) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_gstorage_additem) (struct map_session_data *sd, struct guild_storage *stor, struct item *item_data, int *amount);
-typedef int (*HPMHOOK_post_gstorage_additem) (int retVal___, struct map_session_data *sd, struct guild_storage *stor, struct item *item_data, int *amount);
+typedef int (*HPMHOOK_post_gstorage_additem) (int retVal___, struct map_session_data *sd, struct guild_storage *stor, struct item *item_data, int amount);
typedef int (*HPMHOOK_pre_gstorage_delitem) (struct map_session_data *sd, struct guild_storage *stor, int *n, int *amount);
-typedef int (*HPMHOOK_post_gstorage_delitem) (int retVal___, struct map_session_data *sd, struct guild_storage *stor, int *n, int *amount);
+typedef int (*HPMHOOK_post_gstorage_delitem) (int retVal___, struct map_session_data *sd, struct guild_storage *stor, int n, int amount);
typedef int (*HPMHOOK_pre_gstorage_add) (struct map_session_data *sd, int *index, int *amount);
-typedef int (*HPMHOOK_post_gstorage_add) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+typedef int (*HPMHOOK_post_gstorage_add) (int retVal___, struct map_session_data *sd, int index, int amount);
typedef int (*HPMHOOK_pre_gstorage_get) (struct map_session_data *sd, int *index, int *amount);
-typedef int (*HPMHOOK_post_gstorage_get) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+typedef int (*HPMHOOK_post_gstorage_get) (int retVal___, struct map_session_data *sd, int index, int amount);
typedef int (*HPMHOOK_pre_gstorage_addfromcart) (struct map_session_data *sd, int *index, int *amount);
-typedef int (*HPMHOOK_post_gstorage_addfromcart) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+typedef int (*HPMHOOK_post_gstorage_addfromcart) (int retVal___, struct map_session_data *sd, int index, int amount);
typedef int (*HPMHOOK_pre_gstorage_gettocart) (struct map_session_data *sd, int *index, int *amount);
-typedef int (*HPMHOOK_post_gstorage_gettocart) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+typedef int (*HPMHOOK_post_gstorage_gettocart) (int retVal___, struct map_session_data *sd, int index, int amount);
typedef int (*HPMHOOK_pre_gstorage_close) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_gstorage_close) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_gstorage_pc_quit) (struct map_session_data *sd, int *flag);
-typedef int (*HPMHOOK_post_gstorage_pc_quit) (int retVal___, struct map_session_data *sd, int *flag);
+typedef int (*HPMHOOK_post_gstorage_pc_quit) (int retVal___, struct map_session_data *sd, int flag);
typedef int (*HPMHOOK_pre_gstorage_save) (int *account_id, int *guild_id, int *flag);
-typedef int (*HPMHOOK_post_gstorage_save) (int retVal___, int *account_id, int *guild_id, int *flag);
+typedef int (*HPMHOOK_post_gstorage_save) (int retVal___, int account_id, int guild_id, int flag);
typedef int (*HPMHOOK_pre_gstorage_saved) (int *guild_id);
-typedef int (*HPMHOOK_post_gstorage_saved) (int retVal___, int *guild_id);
+typedef int (*HPMHOOK_post_gstorage_saved) (int retVal___, int guild_id);
typedef struct DBData (*HPMHOOK_pre_gstorage_create) (union DBKey *key, va_list args);
-typedef struct DBData (*HPMHOOK_post_gstorage_create) (struct DBData retVal___, union DBKey *key, va_list args);
+typedef struct DBData (*HPMHOOK_post_gstorage_create) (struct DBData retVal___, union DBKey key, va_list args);
#endif // MAP_STORAGE_H
#ifdef MAP_HOMUNCULUS_H /* homun */
typedef void (*HPMHOOK_pre_homun_init) (bool *minimal);
-typedef void (*HPMHOOK_post_homun_init) (bool *minimal);
+typedef void (*HPMHOOK_post_homun_init) (bool minimal);
typedef void (*HPMHOOK_pre_homun_final) (void);
typedef void (*HPMHOOK_post_homun_final) (void);
typedef void (*HPMHOOK_pre_homun_reload) (void);
@@ -2573,57 +2573,57 @@ typedef void (*HPMHOOK_post_homun_reload) (void);
typedef void (*HPMHOOK_pre_homun_reload_skill) (void);
typedef void (*HPMHOOK_post_homun_reload_skill) (void);
typedef struct view_data* (*HPMHOOK_pre_homun_get_viewdata) (int *class_);
-typedef struct view_data* (*HPMHOOK_post_homun_get_viewdata) (struct view_data* retVal___, int *class_);
+typedef struct view_data* (*HPMHOOK_post_homun_get_viewdata) (struct view_data* retVal___, int class_);
typedef enum homun_type (*HPMHOOK_pre_homun_class2type) (int *class_);
-typedef enum homun_type (*HPMHOOK_post_homun_class2type) (enum homun_type retVal___, int *class_);
+typedef enum homun_type (*HPMHOOK_post_homun_class2type) (enum homun_type retVal___, int class_);
typedef void (*HPMHOOK_pre_homun_damaged) (struct homun_data *hd);
typedef void (*HPMHOOK_post_homun_damaged) (struct homun_data *hd);
typedef int (*HPMHOOK_pre_homun_dead) (struct homun_data *hd);
typedef int (*HPMHOOK_post_homun_dead) (int retVal___, struct homun_data *hd);
typedef int (*HPMHOOK_pre_homun_vaporize) (struct map_session_data *sd, enum homun_state *flag);
-typedef int (*HPMHOOK_post_homun_vaporize) (int retVal___, struct map_session_data *sd, enum homun_state *flag);
+typedef int (*HPMHOOK_post_homun_vaporize) (int retVal___, struct map_session_data *sd, enum homun_state flag);
typedef int (*HPMHOOK_pre_homun_delete) (struct homun_data *hd, int *emote);
-typedef int (*HPMHOOK_post_homun_delete) (int retVal___, struct homun_data *hd, int *emote);
+typedef int (*HPMHOOK_post_homun_delete) (int retVal___, struct homun_data *hd, int emote);
typedef int (*HPMHOOK_pre_homun_checkskill) (struct homun_data *hd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_homun_checkskill) (int retVal___, struct homun_data *hd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_homun_checkskill) (int retVal___, struct homun_data *hd, uint16 skill_id);
typedef int (*HPMHOOK_pre_homun_calc_skilltree) (struct homun_data *hd, int *flag_evolve);
-typedef int (*HPMHOOK_post_homun_calc_skilltree) (int retVal___, struct homun_data *hd, int *flag_evolve);
+typedef int (*HPMHOOK_post_homun_calc_skilltree) (int retVal___, struct homun_data *hd, int flag_evolve);
typedef int (*HPMHOOK_pre_homun_skill_tree_get_max) (int *id, int *b_class);
-typedef int (*HPMHOOK_post_homun_skill_tree_get_max) (int retVal___, int *id, int *b_class);
+typedef int (*HPMHOOK_post_homun_skill_tree_get_max) (int retVal___, int id, int b_class);
typedef void (*HPMHOOK_pre_homun_skillup) (struct homun_data *hd, uint16 *skill_id);
-typedef void (*HPMHOOK_post_homun_skillup) (struct homun_data *hd, uint16 *skill_id);
+typedef void (*HPMHOOK_post_homun_skillup) (struct homun_data *hd, uint16 skill_id);
typedef bool (*HPMHOOK_pre_homun_levelup) (struct homun_data *hd);
typedef bool (*HPMHOOK_post_homun_levelup) (bool retVal___, struct homun_data *hd);
typedef int (*HPMHOOK_pre_homun_change_class) (struct homun_data *hd, short *class_);
-typedef int (*HPMHOOK_post_homun_change_class) (int retVal___, struct homun_data *hd, short *class_);
+typedef int (*HPMHOOK_post_homun_change_class) (int retVal___, struct homun_data *hd, short class_);
typedef bool (*HPMHOOK_pre_homun_evolve) (struct homun_data *hd);
typedef bool (*HPMHOOK_post_homun_evolve) (bool retVal___, struct homun_data *hd);
typedef bool (*HPMHOOK_pre_homun_mutate) (struct homun_data *hd, int *homun_id);
-typedef bool (*HPMHOOK_post_homun_mutate) (bool retVal___, struct homun_data *hd, int *homun_id);
+typedef bool (*HPMHOOK_post_homun_mutate) (bool retVal___, struct homun_data *hd, int homun_id);
typedef int (*HPMHOOK_pre_homun_gainexp) (struct homun_data *hd, unsigned int *exp);
-typedef int (*HPMHOOK_post_homun_gainexp) (int retVal___, struct homun_data *hd, unsigned int *exp);
+typedef int (*HPMHOOK_post_homun_gainexp) (int retVal___, struct homun_data *hd, unsigned int exp);
typedef unsigned int (*HPMHOOK_pre_homun_add_intimacy) (struct homun_data *hd, unsigned int *value);
-typedef unsigned int (*HPMHOOK_post_homun_add_intimacy) (unsigned int retVal___, struct homun_data *hd, unsigned int *value);
+typedef unsigned int (*HPMHOOK_post_homun_add_intimacy) (unsigned int retVal___, struct homun_data *hd, unsigned int value);
typedef unsigned int (*HPMHOOK_pre_homun_consume_intimacy) (struct homun_data *hd, unsigned int *value);
-typedef unsigned int (*HPMHOOK_post_homun_consume_intimacy) (unsigned int retVal___, struct homun_data *hd, unsigned int *value);
+typedef unsigned int (*HPMHOOK_post_homun_consume_intimacy) (unsigned int retVal___, struct homun_data *hd, unsigned int value);
typedef void (*HPMHOOK_pre_homun_healed) (struct homun_data *hd);
typedef void (*HPMHOOK_post_homun_healed) (struct homun_data *hd);
typedef void (*HPMHOOK_pre_homun_save) (struct homun_data *hd);
typedef void (*HPMHOOK_post_homun_save) (struct homun_data *hd);
typedef unsigned char (*HPMHOOK_pre_homun_menu) (struct map_session_data *sd, unsigned char *menu_num);
-typedef unsigned char (*HPMHOOK_post_homun_menu) (unsigned char retVal___, struct map_session_data *sd, unsigned char *menu_num);
+typedef unsigned char (*HPMHOOK_post_homun_menu) (unsigned char retVal___, struct map_session_data *sd, unsigned char menu_num);
typedef bool (*HPMHOOK_pre_homun_feed) (struct map_session_data *sd, struct homun_data *hd);
typedef bool (*HPMHOOK_post_homun_feed) (bool retVal___, struct map_session_data *sd, struct homun_data *hd);
typedef int (*HPMHOOK_pre_homun_hunger_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_homun_hunger_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_homun_hunger_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_homun_hunger_timer_delete) (struct homun_data *hd);
typedef void (*HPMHOOK_post_homun_hunger_timer_delete) (struct homun_data *hd);
typedef int (*HPMHOOK_pre_homun_change_name) (struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_post_homun_change_name) (int retVal___, struct map_session_data *sd, const char *name);
typedef bool (*HPMHOOK_pre_homun_change_name_ack) (struct map_session_data *sd, const char *name, int *flag);
-typedef bool (*HPMHOOK_post_homun_change_name_ack) (bool retVal___, struct map_session_data *sd, const char *name, int *flag);
+typedef bool (*HPMHOOK_post_homun_change_name_ack) (bool retVal___, struct map_session_data *sd, const char *name, int flag);
typedef int (*HPMHOOK_pre_homun_db_search) (int *key, int *type);
-typedef int (*HPMHOOK_post_homun_db_search) (int retVal___, int *key, int *type);
+typedef int (*HPMHOOK_post_homun_db_search) (int retVal___, int key, int type);
typedef bool (*HPMHOOK_pre_homun_create) (struct map_session_data *sd, const struct s_homunculus *hom);
typedef bool (*HPMHOOK_post_homun_create) (bool retVal___, struct map_session_data *sd, const struct s_homunculus *hom);
typedef void (*HPMHOOK_pre_homun_init_timers) (struct homun_data *hd);
@@ -2631,87 +2631,87 @@ typedef void (*HPMHOOK_post_homun_init_timers) (struct homun_data *hd);
typedef bool (*HPMHOOK_pre_homun_call) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_homun_call) (bool retVal___, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_homun_recv_data) (int *account_id, const struct s_homunculus *sh, int *flag);
-typedef bool (*HPMHOOK_post_homun_recv_data) (bool retVal___, int *account_id, const struct s_homunculus *sh, int *flag);
+typedef bool (*HPMHOOK_post_homun_recv_data) (bool retVal___, int account_id, const struct s_homunculus *sh, int flag);
typedef bool (*HPMHOOK_pre_homun_creation_request) (struct map_session_data *sd, int *class_);
-typedef bool (*HPMHOOK_post_homun_creation_request) (bool retVal___, struct map_session_data *sd, int *class_);
+typedef bool (*HPMHOOK_post_homun_creation_request) (bool retVal___, struct map_session_data *sd, int class_);
typedef bool (*HPMHOOK_pre_homun_ressurect) (struct map_session_data *sd, unsigned char *per, short *x, short *y);
-typedef bool (*HPMHOOK_post_homun_ressurect) (bool retVal___, struct map_session_data *sd, unsigned char *per, short *x, short *y);
+typedef bool (*HPMHOOK_post_homun_ressurect) (bool retVal___, struct map_session_data *sd, unsigned char per, short x, short y);
typedef void (*HPMHOOK_pre_homun_revive) (struct homun_data *hd, unsigned int *hp, unsigned int *sp);
-typedef void (*HPMHOOK_post_homun_revive) (struct homun_data *hd, unsigned int *hp, unsigned int *sp);
+typedef void (*HPMHOOK_post_homun_revive) (struct homun_data *hd, unsigned int hp, unsigned int sp);
typedef void (*HPMHOOK_pre_homun_stat_reset) (struct homun_data *hd);
typedef void (*HPMHOOK_post_homun_stat_reset) (struct homun_data *hd);
typedef bool (*HPMHOOK_pre_homun_shuffle) (struct homun_data *hd);
typedef bool (*HPMHOOK_post_homun_shuffle) (bool retVal___, struct homun_data *hd);
typedef bool (*HPMHOOK_pre_homun_read_db_sub) (char *str[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_homun_read_db_sub) (bool retVal___, char *str[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_homun_read_db_sub) (bool retVal___, char *str[], int columns, int current);
typedef void (*HPMHOOK_pre_homun_read_db) (void);
typedef void (*HPMHOOK_post_homun_read_db) (void);
typedef bool (*HPMHOOK_pre_homun_read_skill_db_sub) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_homun_read_skill_db_sub) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_homun_read_skill_db_sub) (bool retVal___, char *split[], int columns, int current);
typedef void (*HPMHOOK_pre_homun_skill_db_read) (void);
typedef void (*HPMHOOK_post_homun_skill_db_read) (void);
typedef void (*HPMHOOK_pre_homun_exp_db_read) (void);
typedef void (*HPMHOOK_post_homun_exp_db_read) (void);
typedef void (*HPMHOOK_pre_homun_addspiritball) (struct homun_data *hd, int *max);
-typedef void (*HPMHOOK_post_homun_addspiritball) (struct homun_data *hd, int *max);
+typedef void (*HPMHOOK_post_homun_addspiritball) (struct homun_data *hd, int max);
typedef void (*HPMHOOK_pre_homun_delspiritball) (struct homun_data *hd, int *count, int *type);
-typedef void (*HPMHOOK_post_homun_delspiritball) (struct homun_data *hd, int *count, int *type);
+typedef void (*HPMHOOK_post_homun_delspiritball) (struct homun_data *hd, int count, int type);
typedef int8 (*HPMHOOK_pre_homun_get_intimacy_grade) (struct homun_data *hd);
typedef int8 (*HPMHOOK_post_homun_get_intimacy_grade) (int8 retVal___, struct homun_data *hd);
#endif // MAP_HOMUNCULUS_H
#ifdef MAP_INSTANCE_H /* instance */
typedef void (*HPMHOOK_pre_instance_init) (bool *minimal);
-typedef void (*HPMHOOK_post_instance_init) (bool *minimal);
+typedef void (*HPMHOOK_post_instance_init) (bool minimal);
typedef void (*HPMHOOK_pre_instance_final) (void);
typedef void (*HPMHOOK_post_instance_final) (void);
typedef void (*HPMHOOK_pre_instance_reload) (void);
typedef void (*HPMHOOK_post_instance_reload) (void);
typedef int (*HPMHOOK_pre_instance_create) (int *party_id, const char *name, enum instance_owner_type *type);
-typedef int (*HPMHOOK_post_instance_create) (int retVal___, int *party_id, const char *name, enum instance_owner_type *type);
+typedef int (*HPMHOOK_post_instance_create) (int retVal___, int party_id, const char *name, enum instance_owner_type type);
typedef int (*HPMHOOK_pre_instance_add_map) (const char *name, int *instance_id, bool *usebasename, const char *map_name);
-typedef int (*HPMHOOK_post_instance_add_map) (int retVal___, const char *name, int *instance_id, bool *usebasename, const char *map_name);
+typedef int (*HPMHOOK_post_instance_add_map) (int retVal___, const char *name, int instance_id, bool usebasename, const char *map_name);
typedef void (*HPMHOOK_pre_instance_del_map) (int16 *m);
-typedef void (*HPMHOOK_post_instance_del_map) (int16 *m);
+typedef void (*HPMHOOK_post_instance_del_map) (int16 m);
typedef int (*HPMHOOK_pre_instance_map2imap) (int16 *m, int *instance_id);
-typedef int (*HPMHOOK_post_instance_map2imap) (int retVal___, int16 *m, int *instance_id);
+typedef int (*HPMHOOK_post_instance_map2imap) (int retVal___, int16 m, int instance_id);
typedef int (*HPMHOOK_pre_instance_mapid2imapid) (int16 *m, int *instance_id);
-typedef int (*HPMHOOK_post_instance_mapid2imapid) (int retVal___, int16 *m, int *instance_id);
+typedef int (*HPMHOOK_post_instance_mapid2imapid) (int retVal___, int16 m, int instance_id);
typedef int (*HPMHOOK_pre_instance_mapname2imap) (const char *map_name, int *instance_id);
-typedef int (*HPMHOOK_post_instance_mapname2imap) (int retVal___, const char *map_name, int *instance_id);
+typedef int (*HPMHOOK_post_instance_mapname2imap) (int retVal___, const char *map_name, int instance_id);
typedef int (*HPMHOOK_pre_instance_map_npcsub) (struct block_list *bl, va_list args);
typedef int (*HPMHOOK_post_instance_map_npcsub) (int retVal___, struct block_list *bl, va_list args);
typedef int (*HPMHOOK_pre_instance_init_npc) (struct block_list *bl, va_list args);
typedef int (*HPMHOOK_post_instance_init_npc) (int retVal___, struct block_list *bl, va_list args);
typedef void (*HPMHOOK_pre_instance_destroy) (int *instance_id);
-typedef void (*HPMHOOK_post_instance_destroy) (int *instance_id);
+typedef void (*HPMHOOK_post_instance_destroy) (int instance_id);
typedef void (*HPMHOOK_pre_instance_start) (int *instance_id);
-typedef void (*HPMHOOK_post_instance_start) (int *instance_id);
+typedef void (*HPMHOOK_post_instance_start) (int instance_id);
typedef void (*HPMHOOK_pre_instance_check_idle) (int *instance_id);
-typedef void (*HPMHOOK_post_instance_check_idle) (int *instance_id);
+typedef void (*HPMHOOK_post_instance_check_idle) (int instance_id);
typedef void (*HPMHOOK_pre_instance_check_kick) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_instance_check_kick) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_instance_set_timeout) (int *instance_id, unsigned int *progress_timeout, unsigned int *idle_timeout);
-typedef void (*HPMHOOK_post_instance_set_timeout) (int *instance_id, unsigned int *progress_timeout, unsigned int *idle_timeout);
+typedef void (*HPMHOOK_post_instance_set_timeout) (int instance_id, unsigned int progress_timeout, unsigned int idle_timeout);
typedef bool (*HPMHOOK_pre_instance_valid) (int *instance_id);
-typedef bool (*HPMHOOK_post_instance_valid) (bool retVal___, int *instance_id);
+typedef bool (*HPMHOOK_post_instance_valid) (bool retVal___, int instance_id);
typedef int (*HPMHOOK_pre_instance_destroy_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_instance_destroy_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_instance_destroy_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
#endif // MAP_INSTANCE_H
#ifdef CHAR_INT_AUCTION_H /* inter_auction */
typedef int (*HPMHOOK_pre_inter_auction_count) (int *char_id, bool *buy);
-typedef int (*HPMHOOK_post_inter_auction_count) (int retVal___, int *char_id, bool *buy);
+typedef int (*HPMHOOK_post_inter_auction_count) (int retVal___, int char_id, bool buy);
typedef void (*HPMHOOK_pre_inter_auction_save) (struct auction_data *auction);
typedef void (*HPMHOOK_post_inter_auction_save) (struct auction_data *auction);
typedef unsigned int (*HPMHOOK_pre_inter_auction_create) (struct auction_data *auction);
typedef unsigned int (*HPMHOOK_post_inter_auction_create) (unsigned int retVal___, struct auction_data *auction);
typedef int (*HPMHOOK_pre_inter_auction_end_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_inter_auction_end_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_inter_auction_end_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_inter_auction_delete_) (struct auction_data *auction);
typedef void (*HPMHOOK_post_inter_auction_delete_) (struct auction_data *auction);
typedef void (*HPMHOOK_pre_inter_auction_fromsql) (void);
typedef void (*HPMHOOK_post_inter_auction_fromsql) (void);
typedef int (*HPMHOOK_pre_inter_auction_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_auction_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_auction_parse_frommap) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_inter_auction_sql_init) (void);
typedef int (*HPMHOOK_post_inter_auction_sql_init) (int retVal___);
typedef void (*HPMHOOK_pre_inter_auction_sql_final) (void);
@@ -2723,31 +2723,31 @@ typedef void (*HPMHOOK_post_inter_elemental_sql_init) (void);
typedef void (*HPMHOOK_pre_inter_elemental_sql_final) (void);
typedef void (*HPMHOOK_post_inter_elemental_sql_final) (void);
typedef int (*HPMHOOK_pre_inter_elemental_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_elemental_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_elemental_parse_frommap) (int retVal___, int fd);
#endif // CHAR_INT_ELEMENTAL_H
#ifdef CHAR_INT_GUILD_H /* inter_guild */
typedef int (*HPMHOOK_pre_inter_guild_save_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_inter_guild_save_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_inter_guild_save_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_inter_guild_removemember_tosql) (int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_inter_guild_removemember_tosql) (int retVal___, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_inter_guild_removemember_tosql) (int retVal___, int account_id, int char_id);
typedef int (*HPMHOOK_pre_inter_guild_tosql) (struct guild *g, int *flag);
-typedef int (*HPMHOOK_post_inter_guild_tosql) (int retVal___, struct guild *g, int *flag);
+typedef int (*HPMHOOK_post_inter_guild_tosql) (int retVal___, struct guild *g, int flag);
typedef struct guild* (*HPMHOOK_pre_inter_guild_fromsql) (int *guild_id);
-typedef struct guild* (*HPMHOOK_post_inter_guild_fromsql) (struct guild* retVal___, int *guild_id);
+typedef struct guild* (*HPMHOOK_post_inter_guild_fromsql) (struct guild* retVal___, int guild_id);
typedef int (*HPMHOOK_pre_inter_guild_castle_tosql) (struct guild_castle *gc);
typedef int (*HPMHOOK_post_inter_guild_castle_tosql) (int retVal___, struct guild_castle *gc);
typedef struct guild_castle* (*HPMHOOK_pre_inter_guild_castle_fromsql) (int *castle_id);
-typedef struct guild_castle* (*HPMHOOK_post_inter_guild_castle_fromsql) (struct guild_castle* retVal___, int *castle_id);
+typedef struct guild_castle* (*HPMHOOK_post_inter_guild_castle_fromsql) (struct guild_castle* retVal___, int castle_id);
typedef bool (*HPMHOOK_pre_inter_guild_exp_parse_row) (char *split[], int *column, int *current);
-typedef bool (*HPMHOOK_post_inter_guild_exp_parse_row) (bool retVal___, char *split[], int *column, int *current);
+typedef bool (*HPMHOOK_post_inter_guild_exp_parse_row) (bool retVal___, char *split[], int column, int current);
typedef int (*HPMHOOK_pre_inter_guild_CharOnline) (int *char_id, int *guild_id);
-typedef int (*HPMHOOK_post_inter_guild_CharOnline) (int retVal___, int *char_id, int *guild_id);
+typedef int (*HPMHOOK_post_inter_guild_CharOnline) (int retVal___, int char_id, int guild_id);
typedef int (*HPMHOOK_pre_inter_guild_CharOffline) (int *char_id, int *guild_id);
-typedef int (*HPMHOOK_post_inter_guild_CharOffline) (int retVal___, int *char_id, int *guild_id);
+typedef int (*HPMHOOK_post_inter_guild_CharOffline) (int retVal___, int char_id, int guild_id);
typedef int (*HPMHOOK_pre_inter_guild_sql_init) (void);
typedef int (*HPMHOOK_post_inter_guild_sql_init) (int retVal___);
typedef int (*HPMHOOK_pre_inter_guild_db_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_inter_guild_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_inter_guild_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_inter_guild_sql_final) (void);
typedef void (*HPMHOOK_post_inter_guild_sql_final) (void);
typedef int (*HPMHOOK_pre_inter_guild_search_guildname) (const char *str);
@@ -2755,21 +2755,21 @@ typedef int (*HPMHOOK_post_inter_guild_search_guildname) (int retVal___, const c
typedef bool (*HPMHOOK_pre_inter_guild_check_empty) (struct guild *g);
typedef bool (*HPMHOOK_post_inter_guild_check_empty) (bool retVal___, struct guild *g);
typedef unsigned int (*HPMHOOK_pre_inter_guild_nextexp) (int *level);
-typedef unsigned int (*HPMHOOK_post_inter_guild_nextexp) (unsigned int retVal___, int *level);
+typedef unsigned int (*HPMHOOK_post_inter_guild_nextexp) (unsigned int retVal___, int level);
typedef int (*HPMHOOK_pre_inter_guild_checkskill) (struct guild *g, int *id);
-typedef int (*HPMHOOK_post_inter_guild_checkskill) (int retVal___, struct guild *g, int *id);
+typedef int (*HPMHOOK_post_inter_guild_checkskill) (int retVal___, struct guild *g, int id);
typedef int (*HPMHOOK_pre_inter_guild_calcinfo) (struct guild *g);
typedef int (*HPMHOOK_post_inter_guild_calcinfo) (int retVal___, struct guild *g);
typedef int (*HPMHOOK_pre_inter_guild_sex_changed) (int *guild_id, int *account_id, int *char_id, short *gender);
-typedef int (*HPMHOOK_post_inter_guild_sex_changed) (int retVal___, int *guild_id, int *account_id, int *char_id, short *gender);
+typedef int (*HPMHOOK_post_inter_guild_sex_changed) (int retVal___, int guild_id, int account_id, int char_id, short gender);
typedef int (*HPMHOOK_pre_inter_guild_charname_changed) (int *guild_id, int *account_id, int *char_id, char *name);
-typedef int (*HPMHOOK_post_inter_guild_charname_changed) (int retVal___, int *guild_id, int *account_id, int *char_id, char *name);
+typedef int (*HPMHOOK_post_inter_guild_charname_changed) (int retVal___, int guild_id, int account_id, int char_id, char *name);
typedef int (*HPMHOOK_pre_inter_guild_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_guild_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_guild_parse_frommap) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_inter_guild_leave) (int *guild_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_inter_guild_leave) (int retVal___, int *guild_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_inter_guild_leave) (int retVal___, int guild_id, int account_id, int char_id);
typedef int (*HPMHOOK_pre_inter_guild_broken) (int *guild_id);
-typedef int (*HPMHOOK_post_inter_guild_broken) (int retVal___, int *guild_id);
+typedef int (*HPMHOOK_post_inter_guild_broken) (int retVal___, int guild_id);
#endif // CHAR_INT_GUILD_H
#ifdef CHAR_INT_HOMUN_H /* inter_homunculus */
typedef int (*HPMHOOK_pre_inter_homunculus_sql_init) (void);
@@ -2777,23 +2777,23 @@ typedef int (*HPMHOOK_post_inter_homunculus_sql_init) (int retVal___);
typedef void (*HPMHOOK_pre_inter_homunculus_sql_final) (void);
typedef void (*HPMHOOK_post_inter_homunculus_sql_final) (void);
typedef int (*HPMHOOK_pre_inter_homunculus_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_homunculus_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_homunculus_parse_frommap) (int retVal___, int fd);
#endif // CHAR_INT_HOMUN_H
#ifdef CHAR_INTER_H /* inter */
typedef const char* (*HPMHOOK_pre_inter_msg_txt) (int *msg_number);
-typedef const char* (*HPMHOOK_post_inter_msg_txt) (const char* retVal___, int *msg_number);
+typedef const char* (*HPMHOOK_post_inter_msg_txt) (const char* retVal___, int msg_number);
typedef bool (*HPMHOOK_pre_inter_msg_config_read) (const char *cfg_name, bool *allow_override);
-typedef bool (*HPMHOOK_post_inter_msg_config_read) (bool retVal___, const char *cfg_name, bool *allow_override);
+typedef bool (*HPMHOOK_post_inter_msg_config_read) (bool retVal___, const char *cfg_name, bool allow_override);
typedef void (*HPMHOOK_pre_inter_do_final_msg) (void);
typedef void (*HPMHOOK_post_inter_do_final_msg) (void);
typedef const char* (*HPMHOOK_pre_inter_job_name) (int *class_);
-typedef const char* (*HPMHOOK_post_inter_job_name) (const char* retVal___, int *class_);
+typedef const char* (*HPMHOOK_post_inter_job_name) (const char* retVal___, int class_);
typedef void (*HPMHOOK_pre_inter_vmsg_to_fd) (int *fd, int *u_fd, int *aid, char *msg, va_list ap);
-typedef void (*HPMHOOK_post_inter_vmsg_to_fd) (int *fd, int *u_fd, int *aid, char *msg, va_list ap);
+typedef void (*HPMHOOK_post_inter_vmsg_to_fd) (int fd, int u_fd, int aid, char *msg, va_list ap);
typedef void (*HPMHOOK_pre_inter_savereg) (int *account_id, int *char_id, const char *key, unsigned int *index, intptr_t *val, bool *is_string);
-typedef void (*HPMHOOK_post_inter_savereg) (int *account_id, int *char_id, const char *key, unsigned int *index, intptr_t *val, bool *is_string);
+typedef void (*HPMHOOK_post_inter_savereg) (int account_id, int char_id, const char *key, unsigned int index, intptr_t val, bool is_string);
typedef int (*HPMHOOK_pre_inter_accreg_fromsql) (int *account_id, int *char_id, int *fd, int *type);
-typedef int (*HPMHOOK_post_inter_accreg_fromsql) (int retVal___, int *account_id, int *char_id, int *fd, int *type);
+typedef int (*HPMHOOK_post_inter_accreg_fromsql) (int retVal___, int account_id, int char_id, int fd, int type);
typedef int (*HPMHOOK_pre_inter_config_read) (const char *cfgName);
typedef int (*HPMHOOK_post_inter_config_read) (int retVal___, const char *cfgName);
typedef int (*HPMHOOK_pre_inter_vlog) (char *fmt, va_list ap);
@@ -2801,15 +2801,15 @@ typedef int (*HPMHOOK_post_inter_vlog) (int retVal___, char *fmt, va_list ap);
typedef int (*HPMHOOK_pre_inter_init_sql) (const char *file);
typedef int (*HPMHOOK_post_inter_init_sql) (int retVal___, const char *file);
typedef int (*HPMHOOK_pre_inter_mapif_init) (int *fd);
-typedef int (*HPMHOOK_post_inter_mapif_init) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_mapif_init) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_inter_check_ttl_wisdata_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_inter_check_ttl_wisdata_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_inter_check_ttl_wisdata_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_inter_check_ttl_wisdata) (void);
typedef int (*HPMHOOK_post_inter_check_ttl_wisdata) (int retVal___);
typedef int (*HPMHOOK_pre_inter_check_length) (int *fd, int *length);
-typedef int (*HPMHOOK_post_inter_check_length) (int retVal___, int *fd, int *length);
+typedef int (*HPMHOOK_post_inter_check_length) (int retVal___, int fd, int length);
typedef int (*HPMHOOK_pre_inter_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_parse_frommap) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_inter_final) (void);
typedef void (*HPMHOOK_post_inter_final) (void);
#endif // CHAR_INTER_H
@@ -2819,31 +2819,31 @@ typedef int (*HPMHOOK_post_inter_mail_sql_init) (int retVal___);
typedef void (*HPMHOOK_pre_inter_mail_sql_final) (void);
typedef void (*HPMHOOK_post_inter_mail_sql_final) (void);
typedef int (*HPMHOOK_pre_inter_mail_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_mail_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_mail_parse_frommap) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_inter_mail_fromsql) (int *char_id, struct mail_data *md);
-typedef int (*HPMHOOK_post_inter_mail_fromsql) (int retVal___, int *char_id, struct mail_data *md);
+typedef int (*HPMHOOK_post_inter_mail_fromsql) (int retVal___, int char_id, struct mail_data *md);
typedef int (*HPMHOOK_pre_inter_mail_savemessage) (struct mail_message *msg);
typedef int (*HPMHOOK_post_inter_mail_savemessage) (int retVal___, struct mail_message *msg);
typedef bool (*HPMHOOK_pre_inter_mail_loadmessage) (int *mail_id, struct mail_message *msg);
-typedef bool (*HPMHOOK_post_inter_mail_loadmessage) (bool retVal___, int *mail_id, struct mail_message *msg);
+typedef bool (*HPMHOOK_post_inter_mail_loadmessage) (bool retVal___, int mail_id, struct mail_message *msg);
typedef bool (*HPMHOOK_pre_inter_mail_DeleteAttach) (int *mail_id);
-typedef bool (*HPMHOOK_post_inter_mail_DeleteAttach) (bool retVal___, int *mail_id);
+typedef bool (*HPMHOOK_post_inter_mail_DeleteAttach) (bool retVal___, int mail_id);
typedef void (*HPMHOOK_pre_inter_mail_sendmail) (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);
-typedef void (*HPMHOOK_post_inter_mail_sendmail) (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);
+typedef void (*HPMHOOK_post_inter_mail_sendmail) (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);
#endif // CHAR_INT_MAIL_H
#ifdef CHAR_INT_MERCENARY_H /* inter_mercenary */
typedef bool (*HPMHOOK_pre_inter_mercenary_owner_fromsql) (int *char_id, struct mmo_charstatus *status);
-typedef bool (*HPMHOOK_post_inter_mercenary_owner_fromsql) (bool retVal___, int *char_id, struct mmo_charstatus *status);
+typedef bool (*HPMHOOK_post_inter_mercenary_owner_fromsql) (bool retVal___, int char_id, struct mmo_charstatus *status);
typedef bool (*HPMHOOK_pre_inter_mercenary_owner_tosql) (int *char_id, struct mmo_charstatus *status);
-typedef bool (*HPMHOOK_post_inter_mercenary_owner_tosql) (bool retVal___, int *char_id, struct mmo_charstatus *status);
+typedef bool (*HPMHOOK_post_inter_mercenary_owner_tosql) (bool retVal___, int char_id, struct mmo_charstatus *status);
typedef bool (*HPMHOOK_pre_inter_mercenary_owner_delete) (int *char_id);
-typedef bool (*HPMHOOK_post_inter_mercenary_owner_delete) (bool retVal___, int *char_id);
+typedef bool (*HPMHOOK_post_inter_mercenary_owner_delete) (bool retVal___, int char_id);
typedef int (*HPMHOOK_pre_inter_mercenary_sql_init) (void);
typedef int (*HPMHOOK_post_inter_mercenary_sql_init) (int retVal___);
typedef void (*HPMHOOK_pre_inter_mercenary_sql_final) (void);
typedef void (*HPMHOOK_post_inter_mercenary_sql_final) (void);
typedef int (*HPMHOOK_pre_inter_mercenary_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_mercenary_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_mercenary_parse_frommap) (int retVal___, int fd);
#endif // CHAR_INT_MERCENARY_H
#ifdef CHAR_INT_PARTY_H /* inter_party */
typedef int (*HPMHOOK_pre_inter_party_check_lv) (struct party_data *p);
@@ -2851,9 +2851,9 @@ typedef int (*HPMHOOK_post_inter_party_check_lv) (int retVal___, struct party_da
typedef void (*HPMHOOK_pre_inter_party_calc_state) (struct party_data *p);
typedef void (*HPMHOOK_post_inter_party_calc_state) (struct party_data *p);
typedef int (*HPMHOOK_pre_inter_party_tosql) (struct party *p, int *flag, int *index);
-typedef int (*HPMHOOK_post_inter_party_tosql) (int retVal___, struct party *p, int *flag, int *index);
+typedef int (*HPMHOOK_post_inter_party_tosql) (int retVal___, struct party *p, int flag, int index);
typedef struct party_data* (*HPMHOOK_pre_inter_party_fromsql) (int *party_id);
-typedef struct party_data* (*HPMHOOK_post_inter_party_fromsql) (struct party_data* retVal___, int *party_id);
+typedef struct party_data* (*HPMHOOK_post_inter_party_fromsql) (struct party_data* retVal___, int party_id);
typedef int (*HPMHOOK_pre_inter_party_sql_init) (void);
typedef int (*HPMHOOK_post_inter_party_sql_init) (int retVal___);
typedef void (*HPMHOOK_pre_inter_party_sql_final) (void);
@@ -2865,145 +2865,145 @@ typedef int (*HPMHOOK_post_inter_party_check_exp_share) (int retVal___, struct p
typedef int (*HPMHOOK_pre_inter_party_check_empty) (struct party_data *p);
typedef int (*HPMHOOK_post_inter_party_check_empty) (int retVal___, struct party_data *p);
typedef int (*HPMHOOK_pre_inter_party_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_party_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_party_parse_frommap) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_inter_party_leave) (int *party_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_inter_party_leave) (int retVal___, int *party_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_inter_party_leave) (int retVal___, int party_id, int account_id, int char_id);
typedef int (*HPMHOOK_pre_inter_party_CharOnline) (int *char_id, int *party_id);
-typedef int (*HPMHOOK_post_inter_party_CharOnline) (int retVal___, int *char_id, int *party_id);
+typedef int (*HPMHOOK_post_inter_party_CharOnline) (int retVal___, int char_id, int party_id);
typedef int (*HPMHOOK_pre_inter_party_CharOffline) (int *char_id, int *party_id);
-typedef int (*HPMHOOK_post_inter_party_CharOffline) (int retVal___, int *char_id, int *party_id);
+typedef int (*HPMHOOK_post_inter_party_CharOffline) (int retVal___, int char_id, int party_id);
#endif // CHAR_INT_PARTY_H
#ifdef CHAR_INT_PET_H /* inter_pet */
typedef int (*HPMHOOK_pre_inter_pet_tosql) (const struct s_pet *p);
typedef int (*HPMHOOK_post_inter_pet_tosql) (int retVal___, const struct s_pet *p);
typedef int (*HPMHOOK_pre_inter_pet_fromsql) (int *pet_id, struct s_pet *p);
-typedef int (*HPMHOOK_post_inter_pet_fromsql) (int retVal___, int *pet_id, struct s_pet *p);
+typedef int (*HPMHOOK_post_inter_pet_fromsql) (int retVal___, int pet_id, struct s_pet *p);
typedef int (*HPMHOOK_pre_inter_pet_sql_init) (void);
typedef int (*HPMHOOK_post_inter_pet_sql_init) (int retVal___);
typedef void (*HPMHOOK_pre_inter_pet_sql_final) (void);
typedef void (*HPMHOOK_post_inter_pet_sql_final) (void);
typedef int (*HPMHOOK_pre_inter_pet_delete_) (int *pet_id);
-typedef int (*HPMHOOK_post_inter_pet_delete_) (int retVal___, int *pet_id);
+typedef int (*HPMHOOK_post_inter_pet_delete_) (int retVal___, int pet_id);
typedef int (*HPMHOOK_pre_inter_pet_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_pet_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_pet_parse_frommap) (int retVal___, int fd);
#endif // CHAR_INT_PET_H
#ifdef CHAR_INT_QUEST_H /* inter_quest */
typedef int (*HPMHOOK_pre_inter_quest_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_quest_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_quest_parse_frommap) (int retVal___, int fd);
#endif // CHAR_INT_QUEST_H
#ifdef CHAR_INT_STORAGE_H /* inter_storage */
typedef int (*HPMHOOK_pre_inter_storage_tosql) (int *account_id, struct storage_data *p);
-typedef int (*HPMHOOK_post_inter_storage_tosql) (int retVal___, int *account_id, struct storage_data *p);
+typedef int (*HPMHOOK_post_inter_storage_tosql) (int retVal___, int account_id, struct storage_data *p);
typedef int (*HPMHOOK_pre_inter_storage_fromsql) (int *account_id, struct storage_data *p);
-typedef int (*HPMHOOK_post_inter_storage_fromsql) (int retVal___, int *account_id, struct storage_data *p);
+typedef int (*HPMHOOK_post_inter_storage_fromsql) (int retVal___, int account_id, struct storage_data *p);
typedef int (*HPMHOOK_pre_inter_storage_guild_storage_tosql) (int *guild_id, const struct guild_storage *p);
-typedef int (*HPMHOOK_post_inter_storage_guild_storage_tosql) (int retVal___, int *guild_id, const struct guild_storage *p);
+typedef int (*HPMHOOK_post_inter_storage_guild_storage_tosql) (int retVal___, int guild_id, const struct guild_storage *p);
typedef int (*HPMHOOK_pre_inter_storage_guild_storage_fromsql) (int *guild_id, struct guild_storage *p);
-typedef int (*HPMHOOK_post_inter_storage_guild_storage_fromsql) (int retVal___, int *guild_id, struct guild_storage *p);
+typedef int (*HPMHOOK_post_inter_storage_guild_storage_fromsql) (int retVal___, int guild_id, struct guild_storage *p);
typedef int (*HPMHOOK_pre_inter_storage_sql_init) (void);
typedef int (*HPMHOOK_post_inter_storage_sql_init) (int retVal___);
typedef void (*HPMHOOK_pre_inter_storage_sql_final) (void);
typedef void (*HPMHOOK_post_inter_storage_sql_final) (void);
typedef int (*HPMHOOK_pre_inter_storage_delete_) (int *account_id);
-typedef int (*HPMHOOK_post_inter_storage_delete_) (int retVal___, int *account_id);
+typedef int (*HPMHOOK_post_inter_storage_delete_) (int retVal___, int account_id);
typedef int (*HPMHOOK_pre_inter_storage_guild_storage_delete) (int *guild_id);
-typedef int (*HPMHOOK_post_inter_storage_guild_storage_delete) (int retVal___, int *guild_id);
+typedef int (*HPMHOOK_post_inter_storage_guild_storage_delete) (int retVal___, int guild_id);
typedef int (*HPMHOOK_pre_inter_storage_parse_frommap) (int *fd);
-typedef int (*HPMHOOK_post_inter_storage_parse_frommap) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_inter_storage_parse_frommap) (int retVal___, int fd);
#endif // CHAR_INT_STORAGE_H
#ifdef MAP_INTIF_H /* intif */
typedef int (*HPMHOOK_pre_intif_parse) (int *fd);
-typedef int (*HPMHOOK_post_intif_parse) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_intif_parse) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_intif_create_pet) (int *account_id, int *char_id, short *pet_type, short *pet_lv, short *pet_egg_id, short *pet_equip, short *intimate, short *hungry, char *rename_flag, char *incubate, char *pet_name);
-typedef int (*HPMHOOK_post_intif_create_pet) (int retVal___, int *account_id, int *char_id, short *pet_type, short *pet_lv, short *pet_egg_id, short *pet_equip, short *intimate, short *hungry, char *rename_flag, char *incubate, char *pet_name);
+typedef int (*HPMHOOK_post_intif_create_pet) (int retVal___, int account_id, int char_id, short pet_type, short pet_lv, short pet_egg_id, short pet_equip, short intimate, short hungry, char rename_flag, char incubate, char *pet_name);
typedef int (*HPMHOOK_pre_intif_broadcast) (const char *mes, int *len, int *type);
-typedef int (*HPMHOOK_post_intif_broadcast) (int retVal___, const char *mes, int *len, int *type);
+typedef int (*HPMHOOK_post_intif_broadcast) (int retVal___, const char *mes, int len, int type);
typedef int (*HPMHOOK_pre_intif_broadcast2) (const char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY);
-typedef int (*HPMHOOK_post_intif_broadcast2) (int retVal___, const char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY);
+typedef int (*HPMHOOK_post_intif_broadcast2) (int retVal___, const char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY);
typedef int (*HPMHOOK_pre_intif_main_message) (struct map_session_data *sd, const char *message);
typedef int (*HPMHOOK_post_intif_main_message) (int retVal___, struct map_session_data *sd, const char *message);
typedef int (*HPMHOOK_pre_intif_wis_message) (struct map_session_data *sd, const char *nick, const char *mes, int *mes_len);
-typedef int (*HPMHOOK_post_intif_wis_message) (int retVal___, struct map_session_data *sd, const char *nick, const char *mes, int *mes_len);
+typedef int (*HPMHOOK_post_intif_wis_message) (int retVal___, struct map_session_data *sd, const char *nick, const char *mes, int mes_len);
typedef int (*HPMHOOK_pre_intif_wis_message_to_gm) (char *Wisp_name, int *permission, char *mes);
-typedef int (*HPMHOOK_post_intif_wis_message_to_gm) (int retVal___, char *Wisp_name, int *permission, char *mes);
+typedef int (*HPMHOOK_post_intif_wis_message_to_gm) (int retVal___, char *Wisp_name, int permission, char *mes);
typedef int (*HPMHOOK_pre_intif_saveregistry) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_intif_saveregistry) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_intif_request_registry) (struct map_session_data *sd, int *flag);
-typedef int (*HPMHOOK_post_intif_request_registry) (int retVal___, struct map_session_data *sd, int *flag);
+typedef int (*HPMHOOK_post_intif_request_registry) (int retVal___, struct map_session_data *sd, int flag);
typedef int (*HPMHOOK_pre_intif_request_guild_storage) (int *account_id, int *guild_id);
-typedef int (*HPMHOOK_post_intif_request_guild_storage) (int retVal___, int *account_id, int *guild_id);
+typedef int (*HPMHOOK_post_intif_request_guild_storage) (int retVal___, int account_id, int guild_id);
typedef int (*HPMHOOK_pre_intif_send_guild_storage) (int *account_id, struct guild_storage *gstor);
-typedef int (*HPMHOOK_post_intif_send_guild_storage) (int retVal___, int *account_id, struct guild_storage *gstor);
+typedef int (*HPMHOOK_post_intif_send_guild_storage) (int retVal___, int account_id, struct guild_storage *gstor);
typedef int (*HPMHOOK_pre_intif_create_party) (struct party_member *member, const char *name, int *item, int *item2);
-typedef int (*HPMHOOK_post_intif_create_party) (int retVal___, struct party_member *member, const char *name, int *item, int *item2);
+typedef int (*HPMHOOK_post_intif_create_party) (int retVal___, struct party_member *member, const char *name, int item, int item2);
typedef int (*HPMHOOK_pre_intif_request_partyinfo) (int *party_id, int *char_id);
-typedef int (*HPMHOOK_post_intif_request_partyinfo) (int retVal___, int *party_id, int *char_id);
+typedef int (*HPMHOOK_post_intif_request_partyinfo) (int retVal___, int party_id, int char_id);
typedef int (*HPMHOOK_pre_intif_party_addmember) (int *party_id, struct party_member *member);
-typedef int (*HPMHOOK_post_intif_party_addmember) (int retVal___, int *party_id, struct party_member *member);
+typedef int (*HPMHOOK_post_intif_party_addmember) (int retVal___, int party_id, struct party_member *member);
typedef int (*HPMHOOK_pre_intif_party_changeoption) (int *party_id, int *account_id, int *exp, int *item);
-typedef int (*HPMHOOK_post_intif_party_changeoption) (int retVal___, int *party_id, int *account_id, int *exp, int *item);
+typedef int (*HPMHOOK_post_intif_party_changeoption) (int retVal___, int party_id, int account_id, int exp, int item);
typedef int (*HPMHOOK_pre_intif_party_leave) (int *party_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_intif_party_leave) (int retVal___, int *party_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_intif_party_leave) (int retVal___, int party_id, int account_id, int char_id);
typedef int (*HPMHOOK_pre_intif_party_changemap) (struct map_session_data *sd, int *online);
-typedef int (*HPMHOOK_post_intif_party_changemap) (int retVal___, struct map_session_data *sd, int *online);
+typedef int (*HPMHOOK_post_intif_party_changemap) (int retVal___, struct map_session_data *sd, int online);
typedef int (*HPMHOOK_pre_intif_break_party) (int *party_id);
-typedef int (*HPMHOOK_post_intif_break_party) (int retVal___, int *party_id);
+typedef int (*HPMHOOK_post_intif_break_party) (int retVal___, int party_id);
typedef int (*HPMHOOK_pre_intif_party_message) (int *party_id, int *account_id, const char *mes, int *len);
-typedef int (*HPMHOOK_post_intif_party_message) (int retVal___, int *party_id, int *account_id, const char *mes, int *len);
+typedef int (*HPMHOOK_post_intif_party_message) (int retVal___, int party_id, int account_id, const char *mes, int len);
typedef int (*HPMHOOK_pre_intif_party_leaderchange) (int *party_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_intif_party_leaderchange) (int retVal___, int *party_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_intif_party_leaderchange) (int retVal___, int party_id, int account_id, int char_id);
typedef int (*HPMHOOK_pre_intif_guild_create) (const char *name, const struct guild_member *master);
typedef int (*HPMHOOK_post_intif_guild_create) (int retVal___, const char *name, const struct guild_member *master);
typedef int (*HPMHOOK_pre_intif_guild_request_info) (int *guild_id);
-typedef int (*HPMHOOK_post_intif_guild_request_info) (int retVal___, int *guild_id);
+typedef int (*HPMHOOK_post_intif_guild_request_info) (int retVal___, int guild_id);
typedef int (*HPMHOOK_pre_intif_guild_addmember) (int *guild_id, struct guild_member *m);
-typedef int (*HPMHOOK_post_intif_guild_addmember) (int retVal___, int *guild_id, struct guild_member *m);
+typedef int (*HPMHOOK_post_intif_guild_addmember) (int retVal___, int guild_id, struct guild_member *m);
typedef int (*HPMHOOK_pre_intif_guild_leave) (int *guild_id, int *account_id, int *char_id, int *flag, const char *mes);
-typedef int (*HPMHOOK_post_intif_guild_leave) (int retVal___, int *guild_id, int *account_id, int *char_id, int *flag, const char *mes);
+typedef int (*HPMHOOK_post_intif_guild_leave) (int retVal___, int guild_id, int account_id, int char_id, int flag, const char *mes);
typedef int (*HPMHOOK_pre_intif_guild_memberinfoshort) (int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
-typedef int (*HPMHOOK_post_intif_guild_memberinfoshort) (int retVal___, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
+typedef int (*HPMHOOK_post_intif_guild_memberinfoshort) (int retVal___, int guild_id, int account_id, int char_id, int online, int lv, int class_);
typedef int (*HPMHOOK_pre_intif_guild_break) (int *guild_id);
-typedef int (*HPMHOOK_post_intif_guild_break) (int retVal___, int *guild_id);
+typedef int (*HPMHOOK_post_intif_guild_break) (int retVal___, int guild_id);
typedef int (*HPMHOOK_pre_intif_guild_message) (int *guild_id, int *account_id, const char *mes, int *len);
-typedef int (*HPMHOOK_post_intif_guild_message) (int retVal___, int *guild_id, int *account_id, const char *mes, int *len);
+typedef int (*HPMHOOK_post_intif_guild_message) (int retVal___, int guild_id, int account_id, const char *mes, int len);
typedef int (*HPMHOOK_pre_intif_guild_change_gm) (int *guild_id, const char *name, int *len);
-typedef int (*HPMHOOK_post_intif_guild_change_gm) (int retVal___, int *guild_id, const char *name, int *len);
+typedef int (*HPMHOOK_post_intif_guild_change_gm) (int retVal___, int guild_id, const char *name, int len);
typedef int (*HPMHOOK_pre_intif_guild_change_basicinfo) (int *guild_id, int *type, const void *data, int *len);
-typedef int (*HPMHOOK_post_intif_guild_change_basicinfo) (int retVal___, int *guild_id, int *type, const void *data, int *len);
+typedef int (*HPMHOOK_post_intif_guild_change_basicinfo) (int retVal___, int guild_id, int type, const void *data, int len);
typedef int (*HPMHOOK_pre_intif_guild_change_memberinfo) (int *guild_id, int *account_id, int *char_id, int *type, const void *data, int *len);
-typedef int (*HPMHOOK_post_intif_guild_change_memberinfo) (int retVal___, int *guild_id, int *account_id, int *char_id, int *type, const void *data, int *len);
+typedef int (*HPMHOOK_post_intif_guild_change_memberinfo) (int retVal___, int guild_id, int account_id, int char_id, int type, const void *data, int len);
typedef int (*HPMHOOK_pre_intif_guild_position) (int *guild_id, int *idx, struct guild_position *p);
-typedef int (*HPMHOOK_post_intif_guild_position) (int retVal___, int *guild_id, int *idx, struct guild_position *p);
+typedef int (*HPMHOOK_post_intif_guild_position) (int retVal___, int guild_id, int idx, struct guild_position *p);
typedef int (*HPMHOOK_pre_intif_guild_skillup) (int *guild_id, uint16 *skill_id, int *account_id, int *max);
-typedef int (*HPMHOOK_post_intif_guild_skillup) (int retVal___, int *guild_id, uint16 *skill_id, int *account_id, int *max);
+typedef int (*HPMHOOK_post_intif_guild_skillup) (int retVal___, int guild_id, uint16 skill_id, int account_id, int max);
typedef int (*HPMHOOK_pre_intif_guild_alliance) (int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag);
-typedef int (*HPMHOOK_post_intif_guild_alliance) (int retVal___, int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag);
+typedef int (*HPMHOOK_post_intif_guild_alliance) (int retVal___, int guild_id1, int guild_id2, int account_id1, int account_id2, int flag);
typedef int (*HPMHOOK_pre_intif_guild_notice) (int *guild_id, const char *mes1, const char *mes2);
-typedef int (*HPMHOOK_post_intif_guild_notice) (int retVal___, int *guild_id, const char *mes1, const char *mes2);
+typedef int (*HPMHOOK_post_intif_guild_notice) (int retVal___, int guild_id, const char *mes1, const char *mes2);
typedef int (*HPMHOOK_pre_intif_guild_emblem) (int *guild_id, int *len, const char *data);
-typedef int (*HPMHOOK_post_intif_guild_emblem) (int retVal___, int *guild_id, int *len, const char *data);
+typedef int (*HPMHOOK_post_intif_guild_emblem) (int retVal___, int guild_id, int len, const char *data);
typedef int (*HPMHOOK_pre_intif_guild_castle_dataload) (int *num, int *castle_ids);
-typedef int (*HPMHOOK_post_intif_guild_castle_dataload) (int retVal___, int *num, int *castle_ids);
+typedef int (*HPMHOOK_post_intif_guild_castle_dataload) (int retVal___, int num, int *castle_ids);
typedef int (*HPMHOOK_pre_intif_guild_castle_datasave) (int *castle_id, int *index, int *value);
-typedef int (*HPMHOOK_post_intif_guild_castle_datasave) (int retVal___, int *castle_id, int *index, int *value);
+typedef int (*HPMHOOK_post_intif_guild_castle_datasave) (int retVal___, int castle_id, int index, int value);
typedef void (*HPMHOOK_pre_intif_itembound_req) (int *char_id, int *aid, int *guild_id);
-typedef void (*HPMHOOK_post_intif_itembound_req) (int *char_id, int *aid, int *guild_id);
+typedef void (*HPMHOOK_post_intif_itembound_req) (int char_id, int aid, int guild_id);
typedef int (*HPMHOOK_pre_intif_request_petdata) (int *account_id, int *char_id, int *pet_id);
-typedef int (*HPMHOOK_post_intif_request_petdata) (int retVal___, int *account_id, int *char_id, int *pet_id);
+typedef int (*HPMHOOK_post_intif_request_petdata) (int retVal___, int account_id, int char_id, int pet_id);
typedef int (*HPMHOOK_pre_intif_save_petdata) (int *account_id, struct s_pet *p);
-typedef int (*HPMHOOK_post_intif_save_petdata) (int retVal___, int *account_id, struct s_pet *p);
+typedef int (*HPMHOOK_post_intif_save_petdata) (int retVal___, int account_id, struct s_pet *p);
typedef int (*HPMHOOK_pre_intif_delete_petdata) (int *pet_id);
-typedef int (*HPMHOOK_post_intif_delete_petdata) (int retVal___, int *pet_id);
+typedef int (*HPMHOOK_post_intif_delete_petdata) (int retVal___, int pet_id);
typedef int (*HPMHOOK_pre_intif_rename) (struct map_session_data *sd, int *type, const char *name);
-typedef int (*HPMHOOK_post_intif_rename) (int retVal___, struct map_session_data *sd, int *type, const char *name);
+typedef int (*HPMHOOK_post_intif_rename) (int retVal___, struct map_session_data *sd, int type, const char *name);
typedef int (*HPMHOOK_pre_intif_homunculus_create) (int *account_id, struct s_homunculus *sh);
-typedef int (*HPMHOOK_post_intif_homunculus_create) (int retVal___, int *account_id, struct s_homunculus *sh);
+typedef int (*HPMHOOK_post_intif_homunculus_create) (int retVal___, int account_id, struct s_homunculus *sh);
typedef bool (*HPMHOOK_pre_intif_homunculus_requestload) (int *account_id, int *homun_id);
-typedef bool (*HPMHOOK_post_intif_homunculus_requestload) (bool retVal___, int *account_id, int *homun_id);
+typedef bool (*HPMHOOK_post_intif_homunculus_requestload) (bool retVal___, int account_id, int homun_id);
typedef int (*HPMHOOK_pre_intif_homunculus_requestsave) (int *account_id, struct s_homunculus *sh);
-typedef int (*HPMHOOK_post_intif_homunculus_requestsave) (int retVal___, int *account_id, struct s_homunculus *sh);
+typedef int (*HPMHOOK_post_intif_homunculus_requestsave) (int retVal___, int account_id, struct s_homunculus *sh);
typedef int (*HPMHOOK_pre_intif_homunculus_requestdelete) (int *homun_id);
-typedef int (*HPMHOOK_post_intif_homunculus_requestdelete) (int retVal___, int *homun_id);
+typedef int (*HPMHOOK_post_intif_homunculus_requestdelete) (int retVal___, int homun_id);
typedef void (*HPMHOOK_pre_intif_request_questlog) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_intif_request_questlog) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_intif_quest_save) (struct map_session_data *sd);
@@ -3011,213 +3011,213 @@ typedef int (*HPMHOOK_post_intif_quest_save) (int retVal___, struct map_session_
typedef int (*HPMHOOK_pre_intif_mercenary_create) (struct s_mercenary *merc);
typedef int (*HPMHOOK_post_intif_mercenary_create) (int retVal___, struct s_mercenary *merc);
typedef int (*HPMHOOK_pre_intif_mercenary_request) (int *merc_id, int *char_id);
-typedef int (*HPMHOOK_post_intif_mercenary_request) (int retVal___, int *merc_id, int *char_id);
+typedef int (*HPMHOOK_post_intif_mercenary_request) (int retVal___, int merc_id, int char_id);
typedef int (*HPMHOOK_pre_intif_mercenary_delete) (int *merc_id);
-typedef int (*HPMHOOK_post_intif_mercenary_delete) (int retVal___, int *merc_id);
+typedef int (*HPMHOOK_post_intif_mercenary_delete) (int retVal___, int merc_id);
typedef int (*HPMHOOK_pre_intif_mercenary_save) (struct s_mercenary *merc);
typedef int (*HPMHOOK_post_intif_mercenary_save) (int retVal___, struct s_mercenary *merc);
typedef int (*HPMHOOK_pre_intif_Mail_requestinbox) (int *char_id, unsigned char *flag);
-typedef int (*HPMHOOK_post_intif_Mail_requestinbox) (int retVal___, int *char_id, unsigned char *flag);
+typedef int (*HPMHOOK_post_intif_Mail_requestinbox) (int retVal___, int char_id, unsigned char flag);
typedef int (*HPMHOOK_pre_intif_Mail_read) (int *mail_id);
-typedef int (*HPMHOOK_post_intif_Mail_read) (int retVal___, int *mail_id);
+typedef int (*HPMHOOK_post_intif_Mail_read) (int retVal___, int mail_id);
typedef int (*HPMHOOK_pre_intif_Mail_getattach) (int *char_id, int *mail_id);
-typedef int (*HPMHOOK_post_intif_Mail_getattach) (int retVal___, int *char_id, int *mail_id);
+typedef int (*HPMHOOK_post_intif_Mail_getattach) (int retVal___, int char_id, int mail_id);
typedef int (*HPMHOOK_pre_intif_Mail_delete) (int *char_id, int *mail_id);
-typedef int (*HPMHOOK_post_intif_Mail_delete) (int retVal___, int *char_id, int *mail_id);
+typedef int (*HPMHOOK_post_intif_Mail_delete) (int retVal___, int char_id, int mail_id);
typedef int (*HPMHOOK_pre_intif_Mail_return) (int *char_id, int *mail_id);
-typedef int (*HPMHOOK_post_intif_Mail_return) (int retVal___, int *char_id, int *mail_id);
+typedef int (*HPMHOOK_post_intif_Mail_return) (int retVal___, int char_id, int mail_id);
typedef int (*HPMHOOK_pre_intif_Mail_send) (int *account_id, struct mail_message *msg);
-typedef int (*HPMHOOK_post_intif_Mail_send) (int retVal___, int *account_id, struct mail_message *msg);
+typedef int (*HPMHOOK_post_intif_Mail_send) (int retVal___, int account_id, struct mail_message *msg);
typedef int (*HPMHOOK_pre_intif_Auction_requestlist) (int *char_id, short *type, int *price, const char *searchtext, short *page);
-typedef int (*HPMHOOK_post_intif_Auction_requestlist) (int retVal___, int *char_id, short *type, int *price, const char *searchtext, short *page);
+typedef int (*HPMHOOK_post_intif_Auction_requestlist) (int retVal___, int char_id, short type, int price, const char *searchtext, short page);
typedef int (*HPMHOOK_pre_intif_Auction_register) (struct auction_data *auction);
typedef int (*HPMHOOK_post_intif_Auction_register) (int retVal___, struct auction_data *auction);
typedef int (*HPMHOOK_pre_intif_Auction_cancel) (int *char_id, unsigned int *auction_id);
-typedef int (*HPMHOOK_post_intif_Auction_cancel) (int retVal___, int *char_id, unsigned int *auction_id);
+typedef int (*HPMHOOK_post_intif_Auction_cancel) (int retVal___, int char_id, unsigned int auction_id);
typedef int (*HPMHOOK_pre_intif_Auction_close) (int *char_id, unsigned int *auction_id);
-typedef int (*HPMHOOK_post_intif_Auction_close) (int retVal___, int *char_id, unsigned int *auction_id);
+typedef int (*HPMHOOK_post_intif_Auction_close) (int retVal___, int char_id, unsigned int auction_id);
typedef int (*HPMHOOK_pre_intif_Auction_bid) (int *char_id, const char *name, unsigned int *auction_id, int *bid);
-typedef int (*HPMHOOK_post_intif_Auction_bid) (int retVal___, int *char_id, const char *name, unsigned int *auction_id, int *bid);
+typedef int (*HPMHOOK_post_intif_Auction_bid) (int retVal___, int char_id, const char *name, unsigned int auction_id, int bid);
typedef int (*HPMHOOK_pre_intif_elemental_create) (struct s_elemental *ele);
typedef int (*HPMHOOK_post_intif_elemental_create) (int retVal___, struct s_elemental *ele);
typedef int (*HPMHOOK_pre_intif_elemental_request) (int *ele_id, int *char_id);
-typedef int (*HPMHOOK_post_intif_elemental_request) (int retVal___, int *ele_id, int *char_id);
+typedef int (*HPMHOOK_post_intif_elemental_request) (int retVal___, int ele_id, int char_id);
typedef int (*HPMHOOK_pre_intif_elemental_delete) (int *ele_id);
-typedef int (*HPMHOOK_post_intif_elemental_delete) (int retVal___, int *ele_id);
+typedef int (*HPMHOOK_post_intif_elemental_delete) (int retVal___, int ele_id);
typedef int (*HPMHOOK_pre_intif_elemental_save) (struct s_elemental *ele);
typedef int (*HPMHOOK_post_intif_elemental_save) (int retVal___, struct s_elemental *ele);
typedef void (*HPMHOOK_pre_intif_request_accinfo) (int *u_fd, int *aid, int *group_lv, char *query);
-typedef void (*HPMHOOK_post_intif_request_accinfo) (int *u_fd, int *aid, int *group_lv, char *query);
+typedef void (*HPMHOOK_post_intif_request_accinfo) (int u_fd, int aid, int group_lv, char *query);
typedef int (*HPMHOOK_pre_intif_CheckForCharServer) (void);
typedef int (*HPMHOOK_post_intif_CheckForCharServer) (int retVal___);
typedef void (*HPMHOOK_pre_intif_pWisMessage) (int *fd);
-typedef void (*HPMHOOK_post_intif_pWisMessage) (int *fd);
+typedef void (*HPMHOOK_post_intif_pWisMessage) (int fd);
typedef void (*HPMHOOK_pre_intif_pWisEnd) (int *fd);
-typedef void (*HPMHOOK_post_intif_pWisEnd) (int *fd);
+typedef void (*HPMHOOK_post_intif_pWisEnd) (int fd);
typedef int (*HPMHOOK_pre_intif_pWisToGM_sub) (struct map_session_data *sd, va_list va);
typedef int (*HPMHOOK_post_intif_pWisToGM_sub) (int retVal___, struct map_session_data *sd, va_list va);
typedef void (*HPMHOOK_pre_intif_pWisToGM) (int *fd);
-typedef void (*HPMHOOK_post_intif_pWisToGM) (int *fd);
+typedef void (*HPMHOOK_post_intif_pWisToGM) (int fd);
typedef void (*HPMHOOK_pre_intif_pRegisters) (int *fd);
-typedef void (*HPMHOOK_post_intif_pRegisters) (int *fd);
+typedef void (*HPMHOOK_post_intif_pRegisters) (int fd);
typedef void (*HPMHOOK_pre_intif_pChangeNameOk) (int *fd);
-typedef void (*HPMHOOK_post_intif_pChangeNameOk) (int *fd);
+typedef void (*HPMHOOK_post_intif_pChangeNameOk) (int fd);
typedef void (*HPMHOOK_pre_intif_pMessageToFD) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMessageToFD) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMessageToFD) (int fd);
typedef void (*HPMHOOK_pre_intif_pLoadGuildStorage) (int *fd);
-typedef void (*HPMHOOK_post_intif_pLoadGuildStorage) (int *fd);
+typedef void (*HPMHOOK_post_intif_pLoadGuildStorage) (int fd);
typedef void (*HPMHOOK_pre_intif_pSaveGuildStorage) (int *fd);
-typedef void (*HPMHOOK_post_intif_pSaveGuildStorage) (int *fd);
+typedef void (*HPMHOOK_post_intif_pSaveGuildStorage) (int fd);
typedef void (*HPMHOOK_pre_intif_pPartyCreated) (int *fd);
-typedef void (*HPMHOOK_post_intif_pPartyCreated) (int *fd);
+typedef void (*HPMHOOK_post_intif_pPartyCreated) (int fd);
typedef void (*HPMHOOK_pre_intif_pPartyInfo) (int *fd);
-typedef void (*HPMHOOK_post_intif_pPartyInfo) (int *fd);
+typedef void (*HPMHOOK_post_intif_pPartyInfo) (int fd);
typedef void (*HPMHOOK_pre_intif_pPartyMemberAdded) (int *fd);
-typedef void (*HPMHOOK_post_intif_pPartyMemberAdded) (int *fd);
+typedef void (*HPMHOOK_post_intif_pPartyMemberAdded) (int fd);
typedef void (*HPMHOOK_pre_intif_pPartyOptionChanged) (int *fd);
-typedef void (*HPMHOOK_post_intif_pPartyOptionChanged) (int *fd);
+typedef void (*HPMHOOK_post_intif_pPartyOptionChanged) (int fd);
typedef void (*HPMHOOK_pre_intif_pPartyMemberWithdraw) (int *fd);
-typedef void (*HPMHOOK_post_intif_pPartyMemberWithdraw) (int *fd);
+typedef void (*HPMHOOK_post_intif_pPartyMemberWithdraw) (int fd);
typedef void (*HPMHOOK_pre_intif_pPartyMove) (int *fd);
-typedef void (*HPMHOOK_post_intif_pPartyMove) (int *fd);
+typedef void (*HPMHOOK_post_intif_pPartyMove) (int fd);
typedef void (*HPMHOOK_pre_intif_pPartyBroken) (int *fd);
-typedef void (*HPMHOOK_post_intif_pPartyBroken) (int *fd);
+typedef void (*HPMHOOK_post_intif_pPartyBroken) (int fd);
typedef void (*HPMHOOK_pre_intif_pPartyMessage) (int *fd);
-typedef void (*HPMHOOK_post_intif_pPartyMessage) (int *fd);
+typedef void (*HPMHOOK_post_intif_pPartyMessage) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildCreated) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildCreated) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildCreated) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildInfo) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildInfo) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildInfo) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildMemberAdded) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildMemberAdded) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildMemberAdded) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildMemberWithdraw) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildMemberWithdraw) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildMemberWithdraw) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildMemberInfoShort) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildMemberInfoShort) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildMemberInfoShort) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildBroken) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildBroken) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildBroken) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildMessage) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildMessage) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildMessage) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildBasicInfoChanged) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildBasicInfoChanged) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildBasicInfoChanged) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildMemberInfoChanged) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildMemberInfoChanged) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildMemberInfoChanged) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildPosition) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildPosition) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildPosition) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildSkillUp) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildSkillUp) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildSkillUp) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildAlliance) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildAlliance) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildAlliance) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildNotice) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildNotice) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildNotice) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildEmblem) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildEmblem) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildEmblem) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildCastleDataLoad) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildCastleDataLoad) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildCastleDataLoad) (int fd);
typedef void (*HPMHOOK_pre_intif_pGuildMasterChanged) (int *fd);
-typedef void (*HPMHOOK_post_intif_pGuildMasterChanged) (int *fd);
+typedef void (*HPMHOOK_post_intif_pGuildMasterChanged) (int fd);
typedef void (*HPMHOOK_pre_intif_pQuestLog) (int *fd);
-typedef void (*HPMHOOK_post_intif_pQuestLog) (int *fd);
+typedef void (*HPMHOOK_post_intif_pQuestLog) (int fd);
typedef void (*HPMHOOK_pre_intif_pQuestSave) (int *fd);
-typedef void (*HPMHOOK_post_intif_pQuestSave) (int *fd);
+typedef void (*HPMHOOK_post_intif_pQuestSave) (int fd);
typedef void (*HPMHOOK_pre_intif_pMailInboxReceived) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMailInboxReceived) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMailInboxReceived) (int fd);
typedef void (*HPMHOOK_pre_intif_pMailNew) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMailNew) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMailNew) (int fd);
typedef void (*HPMHOOK_pre_intif_pMailGetAttach) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMailGetAttach) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMailGetAttach) (int fd);
typedef void (*HPMHOOK_pre_intif_pMailDelete) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMailDelete) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMailDelete) (int fd);
typedef void (*HPMHOOK_pre_intif_pMailReturn) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMailReturn) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMailReturn) (int fd);
typedef void (*HPMHOOK_pre_intif_pMailSend) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMailSend) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMailSend) (int fd);
typedef void (*HPMHOOK_pre_intif_pAuctionResults) (int *fd);
-typedef void (*HPMHOOK_post_intif_pAuctionResults) (int *fd);
+typedef void (*HPMHOOK_post_intif_pAuctionResults) (int fd);
typedef void (*HPMHOOK_pre_intif_pAuctionRegister) (int *fd);
-typedef void (*HPMHOOK_post_intif_pAuctionRegister) (int *fd);
+typedef void (*HPMHOOK_post_intif_pAuctionRegister) (int fd);
typedef void (*HPMHOOK_pre_intif_pAuctionCancel) (int *fd);
-typedef void (*HPMHOOK_post_intif_pAuctionCancel) (int *fd);
+typedef void (*HPMHOOK_post_intif_pAuctionCancel) (int fd);
typedef void (*HPMHOOK_pre_intif_pAuctionClose) (int *fd);
-typedef void (*HPMHOOK_post_intif_pAuctionClose) (int *fd);
+typedef void (*HPMHOOK_post_intif_pAuctionClose) (int fd);
typedef void (*HPMHOOK_pre_intif_pAuctionMessage) (int *fd);
-typedef void (*HPMHOOK_post_intif_pAuctionMessage) (int *fd);
+typedef void (*HPMHOOK_post_intif_pAuctionMessage) (int fd);
typedef void (*HPMHOOK_pre_intif_pAuctionBid) (int *fd);
-typedef void (*HPMHOOK_post_intif_pAuctionBid) (int *fd);
+typedef void (*HPMHOOK_post_intif_pAuctionBid) (int fd);
typedef void (*HPMHOOK_pre_intif_pItembound_ack) (int *fd);
-typedef void (*HPMHOOK_post_intif_pItembound_ack) (int *fd);
+typedef void (*HPMHOOK_post_intif_pItembound_ack) (int fd);
typedef void (*HPMHOOK_pre_intif_pMercenaryReceived) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMercenaryReceived) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMercenaryReceived) (int fd);
typedef void (*HPMHOOK_pre_intif_pMercenaryDeleted) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMercenaryDeleted) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMercenaryDeleted) (int fd);
typedef void (*HPMHOOK_pre_intif_pMercenarySaved) (int *fd);
-typedef void (*HPMHOOK_post_intif_pMercenarySaved) (int *fd);
+typedef void (*HPMHOOK_post_intif_pMercenarySaved) (int fd);
typedef void (*HPMHOOK_pre_intif_pElementalReceived) (int *fd);
-typedef void (*HPMHOOK_post_intif_pElementalReceived) (int *fd);
+typedef void (*HPMHOOK_post_intif_pElementalReceived) (int fd);
typedef void (*HPMHOOK_pre_intif_pElementalDeleted) (int *fd);
-typedef void (*HPMHOOK_post_intif_pElementalDeleted) (int *fd);
+typedef void (*HPMHOOK_post_intif_pElementalDeleted) (int fd);
typedef void (*HPMHOOK_pre_intif_pElementalSaved) (int *fd);
-typedef void (*HPMHOOK_post_intif_pElementalSaved) (int *fd);
+typedef void (*HPMHOOK_post_intif_pElementalSaved) (int fd);
typedef void (*HPMHOOK_pre_intif_pCreatePet) (int *fd);
-typedef void (*HPMHOOK_post_intif_pCreatePet) (int *fd);
+typedef void (*HPMHOOK_post_intif_pCreatePet) (int fd);
typedef void (*HPMHOOK_pre_intif_pRecvPetData) (int *fd);
-typedef void (*HPMHOOK_post_intif_pRecvPetData) (int *fd);
+typedef void (*HPMHOOK_post_intif_pRecvPetData) (int fd);
typedef void (*HPMHOOK_pre_intif_pSavePetOk) (int *fd);
-typedef void (*HPMHOOK_post_intif_pSavePetOk) (int *fd);
+typedef void (*HPMHOOK_post_intif_pSavePetOk) (int fd);
typedef void (*HPMHOOK_pre_intif_pDeletePetOk) (int *fd);
-typedef void (*HPMHOOK_post_intif_pDeletePetOk) (int *fd);
+typedef void (*HPMHOOK_post_intif_pDeletePetOk) (int fd);
typedef void (*HPMHOOK_pre_intif_pCreateHomunculus) (int *fd);
-typedef void (*HPMHOOK_post_intif_pCreateHomunculus) (int *fd);
+typedef void (*HPMHOOK_post_intif_pCreateHomunculus) (int fd);
typedef void (*HPMHOOK_pre_intif_pRecvHomunculusData) (int *fd);
-typedef void (*HPMHOOK_post_intif_pRecvHomunculusData) (int *fd);
+typedef void (*HPMHOOK_post_intif_pRecvHomunculusData) (int fd);
typedef void (*HPMHOOK_pre_intif_pSaveHomunculusOk) (int *fd);
-typedef void (*HPMHOOK_post_intif_pSaveHomunculusOk) (int *fd);
+typedef void (*HPMHOOK_post_intif_pSaveHomunculusOk) (int fd);
typedef void (*HPMHOOK_pre_intif_pDeleteHomunculusOk) (int *fd);
-typedef void (*HPMHOOK_post_intif_pDeleteHomunculusOk) (int *fd);
+typedef void (*HPMHOOK_post_intif_pDeleteHomunculusOk) (int fd);
#endif // MAP_INTIF_H
#ifdef MAP_IRC_BOT_H /* ircbot */
typedef void (*HPMHOOK_pre_ircbot_init) (bool *minimal);
-typedef void (*HPMHOOK_post_ircbot_init) (bool *minimal);
+typedef void (*HPMHOOK_post_ircbot_init) (bool minimal);
typedef void (*HPMHOOK_pre_ircbot_final) (void);
typedef void (*HPMHOOK_post_ircbot_final) (void);
typedef int (*HPMHOOK_pre_ircbot_parse) (int *fd);
-typedef int (*HPMHOOK_post_ircbot_parse) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_ircbot_parse) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_ircbot_parse_sub) (int *fd, char *str);
-typedef void (*HPMHOOK_post_ircbot_parse_sub) (int *fd, char *str);
+typedef void (*HPMHOOK_post_ircbot_parse_sub) (int fd, char *str);
typedef void (*HPMHOOK_pre_ircbot_parse_source) (char *source, char *nick, char *ident, char *host);
typedef void (*HPMHOOK_post_ircbot_parse_source) (char *source, char *nick, char *ident, char *host);
typedef struct irc_func* (*HPMHOOK_pre_ircbot_func_search) (char *function_name);
typedef struct irc_func* (*HPMHOOK_post_ircbot_func_search) (struct irc_func* retVal___, char *function_name);
typedef int (*HPMHOOK_pre_ircbot_connect_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_ircbot_connect_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_ircbot_connect_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_ircbot_identify_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_ircbot_identify_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_ircbot_identify_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_ircbot_join_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_ircbot_join_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_ircbot_join_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_ircbot_queue_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_ircbot_queue_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_ircbot_queue_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_ircbot_queue) (char *str);
typedef void (*HPMHOOK_post_ircbot_queue) (char *str);
typedef void (*HPMHOOK_pre_ircbot_send) (char *str, bool *force);
-typedef void (*HPMHOOK_post_ircbot_send) (char *str, bool *force);
+typedef void (*HPMHOOK_post_ircbot_send) (char *str, bool force);
typedef void (*HPMHOOK_pre_ircbot_relay) (const char *name, const char *msg);
typedef void (*HPMHOOK_post_ircbot_relay) (const char *name, const char *msg);
typedef void (*HPMHOOK_pre_ircbot_pong) (int *fd, char *cmd, char *source, char *target, char *msg);
-typedef void (*HPMHOOK_post_ircbot_pong) (int *fd, char *cmd, char *source, char *target, char *msg);
+typedef void (*HPMHOOK_post_ircbot_pong) (int fd, char *cmd, char *source, char *target, char *msg);
typedef void (*HPMHOOK_pre_ircbot_privmsg) (int *fd, char *cmd, char *source, char *target, char *msg);
-typedef void (*HPMHOOK_post_ircbot_privmsg) (int *fd, char *cmd, char *source, char *target, char *msg);
+typedef void (*HPMHOOK_post_ircbot_privmsg) (int fd, char *cmd, char *source, char *target, char *msg);
typedef void (*HPMHOOK_pre_ircbot_privmsg_ctcp) (int *fd, char *cmd, char *source, char *target, char *msg);
-typedef void (*HPMHOOK_post_ircbot_privmsg_ctcp) (int *fd, char *cmd, char *source, char *target, char *msg);
+typedef void (*HPMHOOK_post_ircbot_privmsg_ctcp) (int fd, char *cmd, char *source, char *target, char *msg);
typedef void (*HPMHOOK_pre_ircbot_userjoin) (int *fd, char *cmd, char *source, char *target, char *msg);
-typedef void (*HPMHOOK_post_ircbot_userjoin) (int *fd, char *cmd, char *source, char *target, char *msg);
+typedef void (*HPMHOOK_post_ircbot_userjoin) (int fd, char *cmd, char *source, char *target, char *msg);
typedef void (*HPMHOOK_pre_ircbot_userleave) (int *fd, char *cmd, char *source, char *target, char *msg);
-typedef void (*HPMHOOK_post_ircbot_userleave) (int *fd, char *cmd, char *source, char *target, char *msg);
+typedef void (*HPMHOOK_post_ircbot_userleave) (int fd, char *cmd, char *source, char *target, char *msg);
typedef void (*HPMHOOK_pre_ircbot_usernick) (int *fd, char *cmd, char *source, char *target, char *msg);
-typedef void (*HPMHOOK_post_ircbot_usernick) (int *fd, char *cmd, char *source, char *target, char *msg);
+typedef void (*HPMHOOK_post_ircbot_usernick) (int fd, char *cmd, char *source, char *target, char *msg);
#endif // MAP_IRC_BOT_H
#ifdef MAP_ITEMDB_H /* itemdb */
typedef void (*HPMHOOK_pre_itemdb_init) (bool *minimal);
-typedef void (*HPMHOOK_post_itemdb_init) (bool *minimal);
+typedef void (*HPMHOOK_post_itemdb_init) (bool minimal);
typedef void (*HPMHOOK_pre_itemdb_final) (void);
typedef void (*HPMHOOK_post_itemdb_final) (void);
typedef void (*HPMHOOK_pre_itemdb_reload) (void);
@@ -3239,67 +3239,67 @@ typedef struct item_data* (*HPMHOOK_post_itemdb_name2id) (struct item_data* retV
typedef struct item_data* (*HPMHOOK_pre_itemdb_search_name) (const char *name);
typedef struct item_data* (*HPMHOOK_post_itemdb_search_name) (struct item_data* retVal___, const char *name);
typedef int (*HPMHOOK_pre_itemdb_search_name_array) (struct item_data **data, int *size, const char *str, int *flag);
-typedef int (*HPMHOOK_post_itemdb_search_name_array) (int retVal___, struct item_data **data, int *size, const char *str, int *flag);
+typedef int (*HPMHOOK_post_itemdb_search_name_array) (int retVal___, struct item_data **data, int size, const char *str, int flag);
typedef struct item_data* (*HPMHOOK_pre_itemdb_load) (int *nameid);
-typedef struct item_data* (*HPMHOOK_post_itemdb_load) (struct item_data* retVal___, int *nameid);
+typedef struct item_data* (*HPMHOOK_post_itemdb_load) (struct item_data* retVal___, int nameid);
typedef struct item_data* (*HPMHOOK_pre_itemdb_search) (int *nameid);
-typedef struct item_data* (*HPMHOOK_post_itemdb_search) (struct item_data* retVal___, int *nameid);
+typedef struct item_data* (*HPMHOOK_post_itemdb_search) (struct item_data* retVal___, int nameid);
typedef struct item_data* (*HPMHOOK_pre_itemdb_exists) (int *nameid);
-typedef struct item_data* (*HPMHOOK_post_itemdb_exists) (struct item_data* retVal___, int *nameid);
+typedef struct item_data* (*HPMHOOK_post_itemdb_exists) (struct item_data* retVal___, int nameid);
typedef bool (*HPMHOOK_pre_itemdb_in_group) (struct item_group *group, int *nameid);
-typedef bool (*HPMHOOK_post_itemdb_in_group) (bool retVal___, struct item_group *group, int *nameid);
+typedef bool (*HPMHOOK_post_itemdb_in_group) (bool retVal___, struct item_group *group, int nameid);
typedef int (*HPMHOOK_pre_itemdb_group_item) (struct item_group *group);
typedef int (*HPMHOOK_post_itemdb_group_item) (int retVal___, struct item_group *group);
typedef int (*HPMHOOK_pre_itemdb_chain_item) (unsigned short *chain_id, int *rate);
-typedef int (*HPMHOOK_post_itemdb_chain_item) (int retVal___, unsigned short *chain_id, int *rate);
+typedef int (*HPMHOOK_post_itemdb_chain_item) (int retVal___, unsigned short chain_id, int *rate);
typedef void (*HPMHOOK_pre_itemdb_package_item) (struct map_session_data *sd, struct item_package *package);
typedef void (*HPMHOOK_post_itemdb_package_item) (struct map_session_data *sd, struct item_package *package);
typedef int (*HPMHOOK_pre_itemdb_searchname_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_itemdb_searchname_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_itemdb_searchname_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_itemdb_searchname_array_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_itemdb_searchname_array_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_itemdb_searchname_array_sub) (int retVal___, union DBKey key, struct DBData data, va_list ap);
typedef int (*HPMHOOK_pre_itemdb_searchrandomid) (struct item_group *group);
typedef int (*HPMHOOK_post_itemdb_searchrandomid) (int retVal___, struct item_group *group);
typedef const char* (*HPMHOOK_pre_itemdb_typename) (int *type);
-typedef const char* (*HPMHOOK_post_itemdb_typename) (const char* retVal___, int *type);
+typedef const char* (*HPMHOOK_post_itemdb_typename) (const char* retVal___, int type);
typedef void (*HPMHOOK_pre_itemdb_jobmask2mapid) (uint64 *bclass, uint64 *jobmask);
-typedef void (*HPMHOOK_post_itemdb_jobmask2mapid) (uint64 *bclass, uint64 *jobmask);
+typedef void (*HPMHOOK_post_itemdb_jobmask2mapid) (uint64 *bclass, uint64 jobmask);
typedef void (*HPMHOOK_pre_itemdb_jobid2mapid) (uint64 *bclass, int *job_id, bool *enable);
-typedef void (*HPMHOOK_post_itemdb_jobid2mapid) (uint64 *bclass, int *job_id, bool *enable);
+typedef void (*HPMHOOK_post_itemdb_jobid2mapid) (uint64 *bclass, int job_id, bool enable);
typedef void (*HPMHOOK_pre_itemdb_create_dummy_data) (void);
typedef void (*HPMHOOK_post_itemdb_create_dummy_data) (void);
typedef struct item_data* (*HPMHOOK_pre_itemdb_create_item_data) (int *nameid);
-typedef struct item_data* (*HPMHOOK_post_itemdb_create_item_data) (struct item_data* retVal___, int *nameid);
+typedef struct item_data* (*HPMHOOK_post_itemdb_create_item_data) (struct item_data* retVal___, int nameid);
typedef int (*HPMHOOK_pre_itemdb_isequip) (int *nameid);
-typedef int (*HPMHOOK_post_itemdb_isequip) (int retVal___, int *nameid);
+typedef int (*HPMHOOK_post_itemdb_isequip) (int retVal___, int nameid);
typedef int (*HPMHOOK_pre_itemdb_isequip2) (struct item_data *data);
typedef int (*HPMHOOK_post_itemdb_isequip2) (int retVal___, struct item_data *data);
typedef int (*HPMHOOK_pre_itemdb_isstackable) (int *nameid);
-typedef int (*HPMHOOK_post_itemdb_isstackable) (int retVal___, int *nameid);
+typedef int (*HPMHOOK_post_itemdb_isstackable) (int retVal___, int nameid);
typedef int (*HPMHOOK_pre_itemdb_isstackable2) (struct item_data *data);
typedef int (*HPMHOOK_post_itemdb_isstackable2) (int retVal___, struct item_data *data);
typedef int (*HPMHOOK_pre_itemdb_isdropable_sub) (struct item_data *item, int *gmlv, int *unused);
-typedef int (*HPMHOOK_post_itemdb_isdropable_sub) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+typedef int (*HPMHOOK_post_itemdb_isdropable_sub) (int retVal___, struct item_data *item, int gmlv, int unused);
typedef int (*HPMHOOK_pre_itemdb_cantrade_sub) (struct item_data *item, int *gmlv, int *gmlv2);
-typedef int (*HPMHOOK_post_itemdb_cantrade_sub) (int retVal___, struct item_data *item, int *gmlv, int *gmlv2);
+typedef int (*HPMHOOK_post_itemdb_cantrade_sub) (int retVal___, struct item_data *item, int gmlv, int gmlv2);
typedef int (*HPMHOOK_pre_itemdb_canpartnertrade_sub) (struct item_data *item, int *gmlv, int *gmlv2);
-typedef int (*HPMHOOK_post_itemdb_canpartnertrade_sub) (int retVal___, struct item_data *item, int *gmlv, int *gmlv2);
+typedef int (*HPMHOOK_post_itemdb_canpartnertrade_sub) (int retVal___, struct item_data *item, int gmlv, int gmlv2);
typedef int (*HPMHOOK_pre_itemdb_cansell_sub) (struct item_data *item, int *gmlv, int *unused);
-typedef int (*HPMHOOK_post_itemdb_cansell_sub) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+typedef int (*HPMHOOK_post_itemdb_cansell_sub) (int retVal___, struct item_data *item, int gmlv, int unused);
typedef int (*HPMHOOK_pre_itemdb_cancartstore_sub) (struct item_data *item, int *gmlv, int *unused);
-typedef int (*HPMHOOK_post_itemdb_cancartstore_sub) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+typedef int (*HPMHOOK_post_itemdb_cancartstore_sub) (int retVal___, struct item_data *item, int gmlv, int unused);
typedef int (*HPMHOOK_pre_itemdb_canstore_sub) (struct item_data *item, int *gmlv, int *unused);
-typedef int (*HPMHOOK_post_itemdb_canstore_sub) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+typedef int (*HPMHOOK_post_itemdb_canstore_sub) (int retVal___, struct item_data *item, int gmlv, int unused);
typedef int (*HPMHOOK_pre_itemdb_canguildstore_sub) (struct item_data *item, int *gmlv, int *unused);
-typedef int (*HPMHOOK_post_itemdb_canguildstore_sub) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+typedef int (*HPMHOOK_post_itemdb_canguildstore_sub) (int retVal___, struct item_data *item, int gmlv, int unused);
typedef int (*HPMHOOK_pre_itemdb_canmail_sub) (struct item_data *item, int *gmlv, int *unused);
-typedef int (*HPMHOOK_post_itemdb_canmail_sub) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+typedef int (*HPMHOOK_post_itemdb_canmail_sub) (int retVal___, struct item_data *item, int gmlv, int unused);
typedef int (*HPMHOOK_pre_itemdb_canauction_sub) (struct item_data *item, int *gmlv, int *unused);
-typedef int (*HPMHOOK_post_itemdb_canauction_sub) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+typedef int (*HPMHOOK_post_itemdb_canauction_sub) (int retVal___, struct item_data *item, int gmlv, int unused);
typedef int (*HPMHOOK_pre_itemdb_isrestricted) (struct item *item, int *gmlv, int *gmlv2, int ( *func ) (struct item_data *, int, int));
-typedef int (*HPMHOOK_post_itemdb_isrestricted) (int retVal___, struct item *item, int *gmlv, int *gmlv2, int ( *func ) (struct item_data *, int, int));
+typedef int (*HPMHOOK_post_itemdb_isrestricted) (int retVal___, struct item *item, int gmlv, int gmlv2, int ( *func ) (struct item_data *, int, int));
typedef int (*HPMHOOK_pre_itemdb_isidentified) (int *nameid);
-typedef int (*HPMHOOK_post_itemdb_isidentified) (int retVal___, int *nameid);
+typedef int (*HPMHOOK_post_itemdb_isidentified) (int retVal___, int nameid);
typedef int (*HPMHOOK_pre_itemdb_isidentified2) (struct item_data *data);
typedef int (*HPMHOOK_post_itemdb_isidentified2) (int retVal___, struct item_data *data);
typedef int (*HPMHOOK_pre_itemdb_combo_split_atoi) (char *str, int *val);
@@ -3309,27 +3309,27 @@ typedef void (*HPMHOOK_post_itemdb_read_combos) (void);
typedef int (*HPMHOOK_pre_itemdb_gendercheck) (struct item_data *id);
typedef int (*HPMHOOK_post_itemdb_gendercheck) (int retVal___, struct item_data *id);
typedef int (*HPMHOOK_pre_itemdb_validate_entry) (struct item_data *entry, int *n, const char *source);
-typedef int (*HPMHOOK_post_itemdb_validate_entry) (int retVal___, struct item_data *entry, int *n, const char *source);
+typedef int (*HPMHOOK_post_itemdb_validate_entry) (int retVal___, struct item_data *entry, int n, const char *source);
typedef void (*HPMHOOK_pre_itemdb_readdb_additional_fields) (int *itemid, struct config_setting_t *it, int *n, const char *source);
-typedef void (*HPMHOOK_post_itemdb_readdb_additional_fields) (int *itemid, struct config_setting_t *it, int *n, const char *source);
+typedef void (*HPMHOOK_post_itemdb_readdb_additional_fields) (int itemid, struct config_setting_t *it, int n, const char *source);
typedef void (*HPMHOOK_pre_itemdb_readdb_job_sub) (struct item_data *id, struct config_setting_t *t);
typedef void (*HPMHOOK_post_itemdb_readdb_job_sub) (struct item_data *id, struct config_setting_t *t);
typedef int (*HPMHOOK_pre_itemdb_readdb_libconfig_sub) (struct config_setting_t *it, int *n, const char *source);
-typedef int (*HPMHOOK_post_itemdb_readdb_libconfig_sub) (int retVal___, struct config_setting_t *it, int *n, const char *source);
+typedef int (*HPMHOOK_post_itemdb_readdb_libconfig_sub) (int retVal___, struct config_setting_t *it, int n, const char *source);
typedef int (*HPMHOOK_pre_itemdb_readdb_libconfig) (const char *filename);
typedef int (*HPMHOOK_post_itemdb_readdb_libconfig) (int retVal___, const char *filename);
typedef uint64 (*HPMHOOK_pre_itemdb_unique_id) (struct map_session_data *sd);
typedef uint64 (*HPMHOOK_post_itemdb_unique_id) (uint64 retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_itemdb_read) (bool *minimal);
-typedef void (*HPMHOOK_post_itemdb_read) (bool *minimal);
+typedef void (*HPMHOOK_post_itemdb_read) (bool minimal);
typedef void (*HPMHOOK_pre_itemdb_destroy_item_data) (struct item_data *self, int *free_self);
-typedef void (*HPMHOOK_post_itemdb_destroy_item_data) (struct item_data *self, int *free_self);
+typedef void (*HPMHOOK_post_itemdb_destroy_item_data) (struct item_data *self, int free_self);
typedef int (*HPMHOOK_pre_itemdb_final_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_itemdb_final_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_itemdb_final_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_itemdb_clear) (bool *total);
-typedef void (*HPMHOOK_post_itemdb_clear) (bool *total);
+typedef void (*HPMHOOK_post_itemdb_clear) (bool total);
typedef struct item_combo* (*HPMHOOK_pre_itemdb_id2combo) (unsigned short *id);
-typedef struct item_combo* (*HPMHOOK_post_itemdb_id2combo) (struct item_combo* retVal___, unsigned short *id);
+typedef struct item_combo* (*HPMHOOK_post_itemdb_id2combo) (struct item_combo* retVal___, unsigned short id);
typedef bool (*HPMHOOK_pre_itemdb_is_item_usable) (struct item_data *item);
typedef bool (*HPMHOOK_post_itemdb_is_item_usable) (bool retVal___, struct item_data *item);
typedef bool (*HPMHOOK_pre_itemdb_lookup_const) (const struct config_setting_t *it, const char *name, int *value);
@@ -3341,49 +3341,49 @@ typedef void (*HPMHOOK_post_lclif_init) (void);
typedef void (*HPMHOOK_pre_lclif_final) (void);
typedef void (*HPMHOOK_post_lclif_final) (void);
typedef void (*HPMHOOK_pre_lclif_connection_error) (int *fd, uint8 *error);
-typedef void (*HPMHOOK_post_lclif_connection_error) (int *fd, uint8 *error);
+typedef void (*HPMHOOK_post_lclif_connection_error) (int fd, uint8 error);
typedef bool (*HPMHOOK_pre_lclif_server_list) (struct login_session_data *sd);
typedef bool (*HPMHOOK_post_lclif_server_list) (bool retVal___, struct login_session_data *sd);
typedef void (*HPMHOOK_pre_lclif_auth_failed) (int *fd, time_t *ban, uint32 *error);
-typedef void (*HPMHOOK_post_lclif_auth_failed) (int *fd, time_t *ban, uint32 *error);
+typedef void (*HPMHOOK_post_lclif_auth_failed) (int fd, time_t ban, uint32 error);
typedef void (*HPMHOOK_pre_lclif_login_error) (int *fd, uint8 *error);
-typedef void (*HPMHOOK_post_lclif_login_error) (int *fd, uint8 *error);
+typedef void (*HPMHOOK_post_lclif_login_error) (int fd, uint8 error);
typedef void (*HPMHOOK_pre_lclif_coding_key) (int *fd, struct login_session_data *sd);
-typedef void (*HPMHOOK_post_lclif_coding_key) (int *fd, struct login_session_data *sd);
+typedef void (*HPMHOOK_post_lclif_coding_key) (int fd, struct login_session_data *sd);
typedef const struct login_packet_db* (*HPMHOOK_pre_lclif_packet) (int16 *packet_id);
-typedef const struct login_packet_db* (*HPMHOOK_post_lclif_packet) (const struct login_packet_db* retVal___, int16 *packet_id);
+typedef const struct login_packet_db* (*HPMHOOK_post_lclif_packet) (const struct login_packet_db* retVal___, int16 packet_id);
typedef enum parsefunc_rcode (*HPMHOOK_pre_lclif_parse_packet) (const struct login_packet_db *lpd, int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_lclif_parse_packet) (enum parsefunc_rcode retVal___, const struct login_packet_db *lpd, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_lclif_parse_packet) (enum parsefunc_rcode retVal___, const struct login_packet_db *lpd, int fd, struct login_session_data *sd);
typedef int (*HPMHOOK_pre_lclif_parse) (int *fd);
-typedef int (*HPMHOOK_post_lclif_parse) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_lclif_parse) (int retVal___, int fd);
#endif // LOGIN_LCLIF_H
#ifdef LOGIN_LCLIF_P_H /* PRIV__lclif */
typedef void (*HPMHOOK_pre_PRIV__lclif_packetdb_loaddb) (void);
typedef void (*HPMHOOK_post_PRIV__lclif_packetdb_loaddb) (void);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_sub) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_sub) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_sub) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_EXE_HASHCHECK) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_EXE_HASHCHECK) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_EXE_HASHCHECK) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_LOGIN) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_LOGIN2) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN2) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN2) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_LOGIN3) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN3) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN3) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_LOGIN4) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN4) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN4) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_LOGIN_PCBANG) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN_PCBANG) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN_PCBANG) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_LOGIN_HAN) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN_HAN) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_LOGIN_HAN) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_SSO_LOGIN_REQ) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_SSO_LOGIN_REQ) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_SSO_LOGIN_REQ) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_REQ_HASH) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_REQ_HASH) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_REQ_HASH) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
typedef enum parsefunc_rcode (*HPMHOOK_pre_PRIV__lclif_parse_CA_CHARSERVERCONNECT) (int *fd, struct login_session_data *sd);
-typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_CHARSERVERCONNECT) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+typedef enum parsefunc_rcode (*HPMHOOK_post_PRIV__lclif_parse_CA_CHARSERVERCONNECT) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
#endif // LOGIN_LCLIF_P_H
#ifdef COMMON_CONF_H /* libconfig */
typedef int (*HPMHOOK_pre_libconfig_read) (struct config_t *config, FILE *stream);
@@ -3391,7 +3391,7 @@ typedef int (*HPMHOOK_post_libconfig_read) (int retVal___, struct config_t *conf
typedef void (*HPMHOOK_pre_libconfig_write) (const struct config_t *config, FILE *stream);
typedef void (*HPMHOOK_post_libconfig_write) (const struct config_t *config, FILE *stream);
typedef void (*HPMHOOK_pre_libconfig_set_options) (struct config_t *config, int *options);
-typedef void (*HPMHOOK_post_libconfig_set_options) (struct config_t *config, int *options);
+typedef void (*HPMHOOK_post_libconfig_set_options) (struct config_t *config, int options);
typedef int (*HPMHOOK_pre_libconfig_get_options) (const struct config_t *config);
typedef int (*HPMHOOK_post_libconfig_get_options) (int retVal___, const struct config_t *config);
typedef int (*HPMHOOK_pre_libconfig_read_string) (struct config_t *config, const char *str);
@@ -3431,53 +3431,53 @@ typedef int (*HPMHOOK_post_libconfig_setting_lookup_bool) (int retVal___, const
typedef int (*HPMHOOK_pre_libconfig_setting_lookup_string) (const struct config_setting_t *setting, const char *name, const char **value);
typedef int (*HPMHOOK_post_libconfig_setting_lookup_string) (int retVal___, const struct config_setting_t *setting, const char *name, const char **value);
typedef int (*HPMHOOK_pre_libconfig_setting_set_int) (struct config_setting_t *setting, int *value);
-typedef int (*HPMHOOK_post_libconfig_setting_set_int) (int retVal___, struct config_setting_t *setting, int *value);
+typedef int (*HPMHOOK_post_libconfig_setting_set_int) (int retVal___, struct config_setting_t *setting, int value);
typedef int (*HPMHOOK_pre_libconfig_setting_set_int64) (struct config_setting_t *setting, long long *value);
-typedef int (*HPMHOOK_post_libconfig_setting_set_int64) (int retVal___, struct config_setting_t *setting, long long *value);
+typedef int (*HPMHOOK_post_libconfig_setting_set_int64) (int retVal___, struct config_setting_t *setting, long long value);
typedef int (*HPMHOOK_pre_libconfig_setting_set_float) (struct config_setting_t *setting, double *value);
-typedef int (*HPMHOOK_post_libconfig_setting_set_float) (int retVal___, struct config_setting_t *setting, double *value);
+typedef int (*HPMHOOK_post_libconfig_setting_set_float) (int retVal___, struct config_setting_t *setting, double value);
typedef int (*HPMHOOK_pre_libconfig_setting_set_bool) (struct config_setting_t *setting, int *value);
-typedef int (*HPMHOOK_post_libconfig_setting_set_bool) (int retVal___, struct config_setting_t *setting, int *value);
+typedef int (*HPMHOOK_post_libconfig_setting_set_bool) (int retVal___, struct config_setting_t *setting, int value);
typedef int (*HPMHOOK_pre_libconfig_setting_set_string) (struct config_setting_t *setting, const char *value);
typedef int (*HPMHOOK_post_libconfig_setting_set_string) (int retVal___, struct config_setting_t *setting, const char *value);
typedef int (*HPMHOOK_pre_libconfig_setting_set_format) (struct config_setting_t *setting, short *format);
-typedef int (*HPMHOOK_post_libconfig_setting_set_format) (int retVal___, struct config_setting_t *setting, short *format);
+typedef int (*HPMHOOK_post_libconfig_setting_set_format) (int retVal___, struct config_setting_t *setting, short format);
typedef short (*HPMHOOK_pre_libconfig_setting_get_format) (const struct config_setting_t *setting);
typedef short (*HPMHOOK_post_libconfig_setting_get_format) (short retVal___, const struct config_setting_t *setting);
typedef int (*HPMHOOK_pre_libconfig_setting_get_int_elem) (const struct config_setting_t *setting, int *idx);
-typedef int (*HPMHOOK_post_libconfig_setting_get_int_elem) (int retVal___, const struct config_setting_t *setting, int *idx);
+typedef int (*HPMHOOK_post_libconfig_setting_get_int_elem) (int retVal___, const struct config_setting_t *setting, int idx);
typedef long long (*HPMHOOK_pre_libconfig_setting_get_int64_elem) (const struct config_setting_t *setting, int *idx);
-typedef long long (*HPMHOOK_post_libconfig_setting_get_int64_elem) (long long retVal___, const struct config_setting_t *setting, int *idx);
+typedef long long (*HPMHOOK_post_libconfig_setting_get_int64_elem) (long long retVal___, const struct config_setting_t *setting, int idx);
typedef double (*HPMHOOK_pre_libconfig_setting_get_float_elem) (const struct config_setting_t *setting, int *idx);
-typedef double (*HPMHOOK_post_libconfig_setting_get_float_elem) (double retVal___, const struct config_setting_t *setting, int *idx);
+typedef double (*HPMHOOK_post_libconfig_setting_get_float_elem) (double retVal___, const struct config_setting_t *setting, int idx);
typedef int (*HPMHOOK_pre_libconfig_setting_get_bool_elem) (const struct config_setting_t *setting, int *idx);
-typedef int (*HPMHOOK_post_libconfig_setting_get_bool_elem) (int retVal___, const struct config_setting_t *setting, int *idx);
+typedef int (*HPMHOOK_post_libconfig_setting_get_bool_elem) (int retVal___, const struct config_setting_t *setting, int idx);
typedef const char* (*HPMHOOK_pre_libconfig_setting_get_string_elem) (const struct config_setting_t *setting, int *idx);
-typedef const char* (*HPMHOOK_post_libconfig_setting_get_string_elem) (const char* retVal___, const struct config_setting_t *setting, int *idx);
+typedef const char* (*HPMHOOK_post_libconfig_setting_get_string_elem) (const char* retVal___, const struct config_setting_t *setting, int idx);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_setting_set_int_elem) (struct config_setting_t *setting, int *idx, int *value);
-typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_int_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, int *value);
+typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_int_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, int value);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_setting_set_int64_elem) (struct config_setting_t *setting, int *idx, long long *value);
-typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_int64_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, long long *value);
+typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_int64_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, long long value);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_setting_set_float_elem) (struct config_setting_t *setting, int *idx, double *value);
-typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_float_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, double *value);
+typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_float_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, double value);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_setting_set_bool_elem) (struct config_setting_t *setting, int *idx, int *value);
-typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_bool_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, int *value);
+typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_bool_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, int value);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_setting_set_string_elem) (struct config_setting_t *setting, int *idx, const char *value);
-typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_string_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int *idx, const char *value);
+typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_set_string_elem) (struct config_setting_t* retVal___, struct config_setting_t *setting, int idx, const char *value);
typedef int (*HPMHOOK_pre_libconfig_setting_index) (const struct config_setting_t *setting);
typedef int (*HPMHOOK_post_libconfig_setting_index) (int retVal___, const struct config_setting_t *setting);
typedef int (*HPMHOOK_pre_libconfig_setting_length) (const struct config_setting_t *setting);
typedef int (*HPMHOOK_post_libconfig_setting_length) (int retVal___, const struct config_setting_t *setting);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_setting_get_elem) (const struct config_setting_t *setting, unsigned int *idx);
-typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_get_elem) (struct config_setting_t* retVal___, const struct config_setting_t *setting, unsigned int *idx);
+typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_get_elem) (struct config_setting_t* retVal___, const struct config_setting_t *setting, unsigned int idx);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_setting_get_member) (const struct config_setting_t *setting, const char *name);
typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_get_member) (struct config_setting_t* retVal___, const struct config_setting_t *setting, const char *name);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_setting_add) (struct config_setting_t *parent, const char *name, int *type);
-typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_add) (struct config_setting_t* retVal___, struct config_setting_t *parent, const char *name, int *type);
+typedef struct config_setting_t* (*HPMHOOK_post_libconfig_setting_add) (struct config_setting_t* retVal___, struct config_setting_t *parent, const char *name, int type);
typedef int (*HPMHOOK_pre_libconfig_setting_remove) (struct config_setting_t *parent, const char *name);
typedef int (*HPMHOOK_post_libconfig_setting_remove) (int retVal___, struct config_setting_t *parent, const char *name);
typedef int (*HPMHOOK_pre_libconfig_setting_remove_elem) (struct config_setting_t *parent, unsigned int *idx);
-typedef int (*HPMHOOK_post_libconfig_setting_remove_elem) (int retVal___, struct config_setting_t *parent, unsigned int *idx);
+typedef int (*HPMHOOK_post_libconfig_setting_remove_elem) (int retVal___, struct config_setting_t *parent, unsigned int idx);
typedef void (*HPMHOOK_pre_libconfig_setting_set_hook) (struct config_setting_t *setting, void *hook);
typedef void (*HPMHOOK_post_libconfig_setting_set_hook) (struct config_setting_t *setting, void *hook);
typedef struct config_setting_t* (*HPMHOOK_pre_libconfig_lookup) (const struct config_t *config, const char *filepath);
@@ -3519,41 +3519,41 @@ typedef int (*HPMHOOK_post_libconfig_setting_lookup_uint16) (int retVal___, cons
typedef int (*HPMHOOK_pre_libconfig_setting_lookup_int16) (const struct config_setting_t *setting, const char *name, int16 *value);
typedef int (*HPMHOOK_post_libconfig_setting_lookup_int16) (int retVal___, const struct config_setting_t *setting, const char *name, int16 *value);
typedef int (*HPMHOOK_pre_libconfig_setting_lookup_mutable_string) (const struct config_setting_t *setting, const char *name, char *out, size_t *out_size);
-typedef int (*HPMHOOK_post_libconfig_setting_lookup_mutable_string) (int retVal___, const struct config_setting_t *setting, const char *name, char *out, size_t *out_size);
+typedef int (*HPMHOOK_post_libconfig_setting_lookup_mutable_string) (int retVal___, const struct config_setting_t *setting, const char *name, char *out, size_t out_size);
typedef int (*HPMHOOK_pre_libconfig_lookup_mutable_string) (const struct config_t *config, const char *name, char *out, size_t *out_size);
-typedef int (*HPMHOOK_post_libconfig_lookup_mutable_string) (int retVal___, const struct config_t *config, const char *name, char *out, size_t *out_size);
+typedef int (*HPMHOOK_post_libconfig_lookup_mutable_string) (int retVal___, const struct config_t *config, const char *name, char *out, size_t out_size);
#endif // COMMON_CONF_H
#ifdef MAP_LOG_H /* logs */
typedef void (*HPMHOOK_pre_logs_pick_pc) (struct map_session_data *sd, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
-typedef void (*HPMHOOK_post_logs_pick_pc) (struct map_session_data *sd, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+typedef void (*HPMHOOK_post_logs_pick_pc) (struct map_session_data *sd, e_log_pick_type type, int amount, struct item *itm, struct item_data *data);
typedef void (*HPMHOOK_pre_logs_pick_mob) (struct mob_data *md, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
-typedef void (*HPMHOOK_post_logs_pick_mob) (struct mob_data *md, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+typedef void (*HPMHOOK_post_logs_pick_mob) (struct mob_data *md, e_log_pick_type type, int amount, struct item *itm, struct item_data *data);
typedef void (*HPMHOOK_pre_logs_zeny) (struct map_session_data *sd, e_log_pick_type *type, struct map_session_data *src_sd, int *amount);
-typedef void (*HPMHOOK_post_logs_zeny) (struct map_session_data *sd, e_log_pick_type *type, struct map_session_data *src_sd, int *amount);
+typedef void (*HPMHOOK_post_logs_zeny) (struct map_session_data *sd, e_log_pick_type type, struct map_session_data *src_sd, int amount);
typedef void (*HPMHOOK_pre_logs_npc) (struct map_session_data *sd, const char *message);
typedef void (*HPMHOOK_post_logs_npc) (struct map_session_data *sd, const char *message);
typedef void (*HPMHOOK_pre_logs_chat) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char *mapname, int *x, int *y, const char *dst_charname, const char *message);
-typedef void (*HPMHOOK_post_logs_chat) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char *mapname, int *x, int *y, const char *dst_charname, const char *message);
+typedef void (*HPMHOOK_post_logs_chat) (e_log_chat_type type, int type_id, int src_charid, int src_accid, const char *mapname, int x, int y, const char *dst_charname, const char *message);
typedef void (*HPMHOOK_pre_logs_atcommand) (struct map_session_data *sd, const char *message);
typedef void (*HPMHOOK_post_logs_atcommand) (struct map_session_data *sd, const char *message);
typedef void (*HPMHOOK_pre_logs_branch) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_logs_branch) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_logs_mvpdrop) (struct map_session_data *sd, int *monster_id, int *log_mvp);
-typedef void (*HPMHOOK_post_logs_mvpdrop) (struct map_session_data *sd, int *monster_id, int *log_mvp);
+typedef void (*HPMHOOK_post_logs_mvpdrop) (struct map_session_data *sd, int monster_id, int *log_mvp);
typedef void (*HPMHOOK_pre_logs_pick_sub) (int *id, int16 *m, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
-typedef void (*HPMHOOK_post_logs_pick_sub) (int *id, int16 *m, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+typedef void (*HPMHOOK_post_logs_pick_sub) (int id, int16 m, e_log_pick_type type, int amount, struct item *itm, struct item_data *data);
typedef void (*HPMHOOK_pre_logs_zeny_sub) (struct map_session_data *sd, e_log_pick_type *type, struct map_session_data *src_sd, int *amount);
-typedef void (*HPMHOOK_post_logs_zeny_sub) (struct map_session_data *sd, e_log_pick_type *type, struct map_session_data *src_sd, int *amount);
+typedef void (*HPMHOOK_post_logs_zeny_sub) (struct map_session_data *sd, e_log_pick_type type, struct map_session_data *src_sd, int amount);
typedef void (*HPMHOOK_pre_logs_npc_sub) (struct map_session_data *sd, const char *message);
typedef void (*HPMHOOK_post_logs_npc_sub) (struct map_session_data *sd, const char *message);
typedef void (*HPMHOOK_pre_logs_chat_sub) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char *mapname, int *x, int *y, const char *dst_charname, const char *message);
-typedef void (*HPMHOOK_post_logs_chat_sub) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char *mapname, int *x, int *y, const char *dst_charname, const char *message);
+typedef void (*HPMHOOK_post_logs_chat_sub) (e_log_chat_type type, int type_id, int src_charid, int src_accid, const char *mapname, int x, int y, const char *dst_charname, const char *message);
typedef void (*HPMHOOK_pre_logs_atcommand_sub) (struct map_session_data *sd, const char *message);
typedef void (*HPMHOOK_post_logs_atcommand_sub) (struct map_session_data *sd, const char *message);
typedef void (*HPMHOOK_pre_logs_branch_sub) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_logs_branch_sub) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_logs_mvpdrop_sub) (struct map_session_data *sd, int *monster_id, int *log_mvp);
-typedef void (*HPMHOOK_post_logs_mvpdrop_sub) (struct map_session_data *sd, int *monster_id, int *log_mvp);
+typedef void (*HPMHOOK_post_logs_mvpdrop_sub) (struct map_session_data *sd, int monster_id, int *log_mvp);
typedef int (*HPMHOOK_pre_logs_config_read) (const char *cfgName);
typedef int (*HPMHOOK_post_logs_config_read) (int retVal___, const char *cfgName);
typedef void (*HPMHOOK_pre_logs_config_done) (void);
@@ -3563,107 +3563,107 @@ typedef void (*HPMHOOK_post_logs_sql_init) (void);
typedef void (*HPMHOOK_pre_logs_sql_final) (void);
typedef void (*HPMHOOK_post_logs_sql_final) (void);
typedef char (*HPMHOOK_pre_logs_picktype2char) (e_log_pick_type *type);
-typedef char (*HPMHOOK_post_logs_picktype2char) (char retVal___, e_log_pick_type *type);
+typedef char (*HPMHOOK_post_logs_picktype2char) (char retVal___, e_log_pick_type type);
typedef char (*HPMHOOK_pre_logs_chattype2char) (e_log_chat_type *type);
-typedef char (*HPMHOOK_post_logs_chattype2char) (char retVal___, e_log_chat_type *type);
+typedef char (*HPMHOOK_post_logs_chattype2char) (char retVal___, e_log_chat_type type);
typedef bool (*HPMHOOK_pre_logs_should_log_item) (int *nameid, int *amount, int *refine, struct item_data *id);
-typedef bool (*HPMHOOK_post_logs_should_log_item) (bool retVal___, int *nameid, int *amount, int *refine, struct item_data *id);
+typedef bool (*HPMHOOK_post_logs_should_log_item) (bool retVal___, int nameid, int amount, int refine, struct item_data *id);
#endif // MAP_LOG_H
#ifdef LOGIN_LOGIN_H /* login */
typedef int (*HPMHOOK_pre_login_mmo_auth) (struct login_session_data *sd, bool *isServer);
-typedef int (*HPMHOOK_post_login_mmo_auth) (int retVal___, struct login_session_data *sd, bool *isServer);
+typedef int (*HPMHOOK_post_login_mmo_auth) (int retVal___, struct login_session_data *sd, bool isServer);
typedef int (*HPMHOOK_pre_login_mmo_auth_new) (const char *userid, const char *pass, const char *sex, const char *last_ip);
-typedef int (*HPMHOOK_post_login_mmo_auth_new) (int retVal___, const char *userid, const char *pass, const char *sex, const char *last_ip);
+typedef int (*HPMHOOK_post_login_mmo_auth_new) (int retVal___, const char *userid, const char *pass, const char sex, const char *last_ip);
typedef int (*HPMHOOK_pre_login_waiting_disconnect_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_login_waiting_disconnect_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_login_waiting_disconnect_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef struct DBData (*HPMHOOK_pre_login_create_online_user) (union DBKey *key, va_list args);
-typedef struct DBData (*HPMHOOK_post_login_create_online_user) (struct DBData retVal___, union DBKey *key, va_list args);
+typedef struct DBData (*HPMHOOK_post_login_create_online_user) (struct DBData retVal___, union DBKey key, va_list args);
typedef struct online_login_data* (*HPMHOOK_pre_login_add_online_user) (int *char_server, int *account_id);
-typedef struct online_login_data* (*HPMHOOK_post_login_add_online_user) (struct online_login_data* retVal___, int *char_server, int *account_id);
+typedef struct online_login_data* (*HPMHOOK_post_login_add_online_user) (struct online_login_data* retVal___, int char_server, int account_id);
typedef void (*HPMHOOK_pre_login_remove_online_user) (int *account_id);
-typedef void (*HPMHOOK_post_login_remove_online_user) (int *account_id);
+typedef void (*HPMHOOK_post_login_remove_online_user) (int account_id);
typedef int (*HPMHOOK_pre_login_online_db_setoffline) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_login_online_db_setoffline) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_login_online_db_setoffline) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_login_online_data_cleanup_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_login_online_data_cleanup_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_login_online_data_cleanup_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_login_online_data_cleanup) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_login_online_data_cleanup) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_login_online_data_cleanup) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_login_sync_ip_addresses) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_login_sync_ip_addresses) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_login_sync_ip_addresses) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef bool (*HPMHOOK_pre_login_check_encrypted) (const char *str1, const char *str2, const char *passwd);
typedef bool (*HPMHOOK_post_login_check_encrypted) (bool retVal___, const char *str1, const char *str2, const char *passwd);
typedef bool (*HPMHOOK_pre_login_check_password) (const char *md5key, int *passwdenc, const char *passwd, const char *refpass);
-typedef bool (*HPMHOOK_post_login_check_password) (bool retVal___, const char *md5key, int *passwdenc, const char *passwd, const char *refpass);
+typedef bool (*HPMHOOK_post_login_check_password) (bool retVal___, const char *md5key, int passwdenc, const char *passwd, const char *refpass);
typedef uint32 (*HPMHOOK_pre_login_lan_subnet_check) (uint32 *ip);
-typedef uint32 (*HPMHOOK_post_login_lan_subnet_check) (uint32 retVal___, uint32 *ip);
+typedef uint32 (*HPMHOOK_post_login_lan_subnet_check) (uint32 retVal___, uint32 ip);
typedef void (*HPMHOOK_pre_login_fromchar_accinfo) (int *fd, int *account_id, int *u_fd, int *u_aid, int *u_group, int *map_fd, struct mmo_account *acc);
-typedef void (*HPMHOOK_post_login_fromchar_accinfo) (int *fd, int *account_id, int *u_fd, int *u_aid, int *u_group, int *map_fd, struct mmo_account *acc);
+typedef void (*HPMHOOK_post_login_fromchar_accinfo) (int fd, int account_id, int u_fd, int u_aid, int u_group, int map_fd, struct mmo_account *acc);
typedef void (*HPMHOOK_pre_login_fromchar_account) (int *fd, int *account_id, struct mmo_account *acc);
-typedef void (*HPMHOOK_post_login_fromchar_account) (int *fd, int *account_id, struct mmo_account *acc);
+typedef void (*HPMHOOK_post_login_fromchar_account) (int fd, int account_id, struct mmo_account *acc);
typedef void (*HPMHOOK_pre_login_fromchar_account_update_other) (int *account_id, unsigned int *state);
-typedef void (*HPMHOOK_post_login_fromchar_account_update_other) (int *account_id, unsigned int *state);
+typedef void (*HPMHOOK_post_login_fromchar_account_update_other) (int account_id, unsigned int state);
typedef void (*HPMHOOK_pre_login_fromchar_auth_ack) (int *fd, int *account_id, uint32 *login_id1, uint32 *login_id2, uint8 *sex, int *request_id, struct login_auth_node *node);
-typedef void (*HPMHOOK_post_login_fromchar_auth_ack) (int *fd, int *account_id, uint32 *login_id1, uint32 *login_id2, uint8 *sex, int *request_id, struct login_auth_node *node);
+typedef void (*HPMHOOK_post_login_fromchar_auth_ack) (int fd, int account_id, uint32 login_id1, uint32 login_id2, uint8 sex, int request_id, struct login_auth_node *node);
typedef void (*HPMHOOK_pre_login_fromchar_ban) (int *account_id, time_t *timestamp);
-typedef void (*HPMHOOK_post_login_fromchar_ban) (int *account_id, time_t *timestamp);
+typedef void (*HPMHOOK_post_login_fromchar_ban) (int account_id, time_t timestamp);
typedef void (*HPMHOOK_pre_login_fromchar_change_sex_other) (int *account_id, char *sex);
-typedef void (*HPMHOOK_post_login_fromchar_change_sex_other) (int *account_id, char *sex);
+typedef void (*HPMHOOK_post_login_fromchar_change_sex_other) (int account_id, char sex);
typedef void (*HPMHOOK_pre_login_fromchar_pong) (int *fd);
-typedef void (*HPMHOOK_post_login_fromchar_pong) (int *fd);
+typedef void (*HPMHOOK_post_login_fromchar_pong) (int fd);
typedef void (*HPMHOOK_pre_login_fromchar_parse_auth) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_auth) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_auth) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_update_users) (int *fd, int *id);
-typedef void (*HPMHOOK_post_login_fromchar_parse_update_users) (int *fd, int *id);
+typedef void (*HPMHOOK_post_login_fromchar_parse_update_users) (int fd, int id);
typedef void (*HPMHOOK_pre_login_fromchar_parse_request_change_email) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_request_change_email) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_request_change_email) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_account_data) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_account_data) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_account_data) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_ping) (int *fd);
-typedef void (*HPMHOOK_post_login_fromchar_parse_ping) (int *fd);
+typedef void (*HPMHOOK_post_login_fromchar_parse_ping) (int fd);
typedef void (*HPMHOOK_pre_login_fromchar_parse_change_email) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_change_email) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_change_email) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_account_update) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_account_update) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_account_update) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_ban) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_ban) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_ban) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_change_sex) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_change_sex) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_change_sex) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_account_reg2) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_account_reg2) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_account_reg2) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_unban) (int *fd, int *id, const char *ip);
-typedef void (*HPMHOOK_post_login_fromchar_parse_unban) (int *fd, int *id, const char *ip);
+typedef void (*HPMHOOK_post_login_fromchar_parse_unban) (int fd, int id, const char *ip);
typedef void (*HPMHOOK_pre_login_fromchar_parse_account_online) (int *fd, int *id);
-typedef void (*HPMHOOK_post_login_fromchar_parse_account_online) (int *fd, int *id);
+typedef void (*HPMHOOK_post_login_fromchar_parse_account_online) (int fd, int id);
typedef void (*HPMHOOK_pre_login_fromchar_parse_account_offline) (int *fd);
-typedef void (*HPMHOOK_post_login_fromchar_parse_account_offline) (int *fd);
+typedef void (*HPMHOOK_post_login_fromchar_parse_account_offline) (int fd);
typedef void (*HPMHOOK_pre_login_fromchar_parse_online_accounts) (int *fd, int *id);
-typedef void (*HPMHOOK_post_login_fromchar_parse_online_accounts) (int *fd, int *id);
+typedef void (*HPMHOOK_post_login_fromchar_parse_online_accounts) (int fd, int id);
typedef void (*HPMHOOK_pre_login_fromchar_parse_request_account_reg2) (int *fd);
-typedef void (*HPMHOOK_post_login_fromchar_parse_request_account_reg2) (int *fd);
+typedef void (*HPMHOOK_post_login_fromchar_parse_request_account_reg2) (int fd);
typedef void (*HPMHOOK_pre_login_fromchar_parse_update_wan_ip) (int *fd, int *id);
-typedef void (*HPMHOOK_post_login_fromchar_parse_update_wan_ip) (int *fd, int *id);
+typedef void (*HPMHOOK_post_login_fromchar_parse_update_wan_ip) (int fd, int id);
typedef void (*HPMHOOK_pre_login_fromchar_parse_all_offline) (int *fd, int *id);
-typedef void (*HPMHOOK_post_login_fromchar_parse_all_offline) (int *fd, int *id);
+typedef void (*HPMHOOK_post_login_fromchar_parse_all_offline) (int fd, int id);
typedef void (*HPMHOOK_pre_login_fromchar_parse_change_pincode) (int *fd);
-typedef void (*HPMHOOK_post_login_fromchar_parse_change_pincode) (int *fd);
+typedef void (*HPMHOOK_post_login_fromchar_parse_change_pincode) (int fd);
typedef bool (*HPMHOOK_pre_login_fromchar_parse_wrong_pincode) (int *fd);
-typedef bool (*HPMHOOK_post_login_fromchar_parse_wrong_pincode) (bool retVal___, int *fd);
+typedef bool (*HPMHOOK_post_login_fromchar_parse_wrong_pincode) (bool retVal___, int fd);
typedef void (*HPMHOOK_pre_login_fromchar_parse_accinfo) (int *fd);
-typedef void (*HPMHOOK_post_login_fromchar_parse_accinfo) (int *fd);
+typedef void (*HPMHOOK_post_login_fromchar_parse_accinfo) (int fd);
typedef int (*HPMHOOK_pre_login_parse_fromchar) (int *fd);
-typedef int (*HPMHOOK_post_login_parse_fromchar) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_login_parse_fromchar) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_login_kick) (struct login_session_data *sd);
typedef void (*HPMHOOK_post_login_kick) (struct login_session_data *sd);
typedef void (*HPMHOOK_pre_login_auth_ok) (struct login_session_data *sd);
typedef void (*HPMHOOK_post_login_auth_ok) (struct login_session_data *sd);
typedef void (*HPMHOOK_pre_login_auth_failed) (struct login_session_data *sd, int *result);
-typedef void (*HPMHOOK_post_login_auth_failed) (struct login_session_data *sd, int *result);
+typedef void (*HPMHOOK_post_login_auth_failed) (struct login_session_data *sd, int result);
typedef bool (*HPMHOOK_pre_login_client_login) (int *fd, struct login_session_data *sd);
-typedef bool (*HPMHOOK_post_login_client_login) (bool retVal___, int *fd, struct login_session_data *sd);
+typedef bool (*HPMHOOK_post_login_client_login) (bool retVal___, int fd, struct login_session_data *sd);
typedef void (*HPMHOOK_pre_login_char_server_connection_status) (int *fd, struct login_session_data *sd, uint8 *status);
-typedef void (*HPMHOOK_post_login_char_server_connection_status) (int *fd, struct login_session_data *sd, uint8 *status);
+typedef void (*HPMHOOK_post_login_char_server_connection_status) (int fd, struct login_session_data *sd, uint8 status);
typedef void (*HPMHOOK_pre_login_parse_request_connection) (int *fd, struct login_session_data *sd, const char *ip, uint32 *ipl);
-typedef void (*HPMHOOK_post_login_parse_request_connection) (int *fd, struct login_session_data *sd, const char *ip, uint32 *ipl);
+typedef void (*HPMHOOK_post_login_parse_request_connection) (int fd, struct login_session_data *sd, const char *ip, uint32 ipl);
typedef void (*HPMHOOK_pre_login_config_set_defaults) (void);
typedef void (*HPMHOOK_post_login_config_set_defaults) (void);
typedef int (*HPMHOOK_pre_login_config_read) (const char *cfgName);
@@ -3683,17 +3683,17 @@ typedef void (*HPMHOOK_post_loginif_on_disconnect) (void);
typedef void (*HPMHOOK_pre_loginif_on_ready) (void);
typedef void (*HPMHOOK_post_loginif_on_ready) (void);
typedef void (*HPMHOOK_pre_loginif_block_account) (int *account_id, int *flag);
-typedef void (*HPMHOOK_post_loginif_block_account) (int *account_id, int *flag);
+typedef void (*HPMHOOK_post_loginif_block_account) (int account_id, int flag);
typedef void (*HPMHOOK_pre_loginif_ban_account) (int *account_id, short *year, short *month, short *day, short *hour, short *minute, short *second);
-typedef void (*HPMHOOK_post_loginif_ban_account) (int *account_id, short *year, short *month, short *day, short *hour, short *minute, short *second);
+typedef void (*HPMHOOK_post_loginif_ban_account) (int account_id, short year, short month, short day, short hour, short minute, short second);
typedef void (*HPMHOOK_pre_loginif_unban_account) (int *account_id);
-typedef void (*HPMHOOK_post_loginif_unban_account) (int *account_id);
+typedef void (*HPMHOOK_post_loginif_unban_account) (int account_id);
typedef void (*HPMHOOK_pre_loginif_changesex) (int *account_id);
-typedef void (*HPMHOOK_post_loginif_changesex) (int *account_id);
+typedef void (*HPMHOOK_post_loginif_changesex) (int account_id);
typedef void (*HPMHOOK_pre_loginif_auth) (int *fd, struct char_session_data *sd, uint32 *ipl);
-typedef void (*HPMHOOK_post_loginif_auth) (int *fd, struct char_session_data *sd, uint32 *ipl);
+typedef void (*HPMHOOK_post_loginif_auth) (int fd, struct char_session_data *sd, uint32 ipl);
typedef void (*HPMHOOK_pre_loginif_send_users_count) (int *users);
-typedef void (*HPMHOOK_post_loginif_send_users_count) (int *users);
+typedef void (*HPMHOOK_post_loginif_send_users_count) (int users);
typedef void (*HPMHOOK_pre_loginif_connect_to_server) (void);
typedef void (*HPMHOOK_post_loginif_connect_to_server) (void);
#endif // CHAR_LOGINIF_H
@@ -3701,15 +3701,15 @@ typedef void (*HPMHOOK_post_loginif_connect_to_server) (void);
typedef void (*HPMHOOK_pre_mail_clear) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_mail_clear) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_mail_removeitem) (struct map_session_data *sd, short *flag);
-typedef int (*HPMHOOK_post_mail_removeitem) (int retVal___, struct map_session_data *sd, short *flag);
+typedef int (*HPMHOOK_post_mail_removeitem) (int retVal___, struct map_session_data *sd, short flag);
typedef int (*HPMHOOK_pre_mail_removezeny) (struct map_session_data *sd, short *flag);
-typedef int (*HPMHOOK_post_mail_removezeny) (int retVal___, struct map_session_data *sd, short *flag);
+typedef int (*HPMHOOK_post_mail_removezeny) (int retVal___, struct map_session_data *sd, short flag);
typedef unsigned char (*HPMHOOK_pre_mail_setitem) (struct map_session_data *sd, int *idx, int *amount);
-typedef unsigned char (*HPMHOOK_post_mail_setitem) (unsigned char retVal___, struct map_session_data *sd, int *idx, int *amount);
+typedef unsigned char (*HPMHOOK_post_mail_setitem) (unsigned char retVal___, struct map_session_data *sd, int idx, int amount);
typedef bool (*HPMHOOK_pre_mail_setattachment) (struct map_session_data *sd, struct mail_message *msg);
typedef bool (*HPMHOOK_post_mail_setattachment) (bool retVal___, struct map_session_data *sd, struct mail_message *msg);
typedef void (*HPMHOOK_pre_mail_getattachment) (struct map_session_data *sd, int *zeny, struct item *item);
-typedef void (*HPMHOOK_post_mail_getattachment) (struct map_session_data *sd, int *zeny, struct item *item);
+typedef void (*HPMHOOK_post_mail_getattachment) (struct map_session_data *sd, int zeny, struct item *item);
typedef int (*HPMHOOK_pre_mail_openmail) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_mail_openmail) (int retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_mail_deliveryfail) (struct map_session_data *sd, struct mail_message *msg);
@@ -3723,19 +3723,19 @@ typedef void (*HPMHOOK_post_iMalloc_init) (void);
typedef void (*HPMHOOK_pre_iMalloc_final) (void);
typedef void (*HPMHOOK_post_iMalloc_final) (void);
typedef void* (*HPMHOOK_pre_iMalloc_malloc) (size_t *size, const char *file, int *line, const char *func);
-typedef void* (*HPMHOOK_post_iMalloc_malloc) (void* retVal___, size_t *size, const char *file, int *line, const char *func);
+typedef void* (*HPMHOOK_post_iMalloc_malloc) (void* retVal___, size_t size, const char *file, int line, const char *func);
typedef void* (*HPMHOOK_pre_iMalloc_calloc) (size_t *num, size_t *size, const char *file, int *line, const char *func);
-typedef void* (*HPMHOOK_post_iMalloc_calloc) (void* retVal___, size_t *num, size_t *size, const char *file, int *line, const char *func);
+typedef void* (*HPMHOOK_post_iMalloc_calloc) (void* retVal___, size_t num, size_t size, const char *file, int line, const char *func);
typedef void* (*HPMHOOK_pre_iMalloc_realloc) (void *p, size_t *size, const char *file, int *line, const char *func);
-typedef void* (*HPMHOOK_post_iMalloc_realloc) (void* retVal___, void *p, size_t *size, const char *file, int *line, const char *func);
+typedef void* (*HPMHOOK_post_iMalloc_realloc) (void* retVal___, void *p, size_t size, const char *file, int line, const char *func);
typedef void* (*HPMHOOK_pre_iMalloc_reallocz) (void *p, size_t *size, const char *file, int *line, const char *func);
-typedef void* (*HPMHOOK_post_iMalloc_reallocz) (void* retVal___, void *p, size_t *size, const char *file, int *line, const char *func);
+typedef void* (*HPMHOOK_post_iMalloc_reallocz) (void* retVal___, void *p, size_t size, const char *file, int line, const char *func);
typedef char* (*HPMHOOK_pre_iMalloc_astrdup) (const char *p, const char *file, int *line, const char *func);
-typedef char* (*HPMHOOK_post_iMalloc_astrdup) (char* retVal___, const char *p, const char *file, int *line, const char *func);
+typedef char* (*HPMHOOK_post_iMalloc_astrdup) (char* retVal___, const char *p, const char *file, int line, const char *func);
typedef char* (*HPMHOOK_pre_iMalloc_astrndup) (const char *p, size_t *size, const char *file, int *line, const char *func);
-typedef char* (*HPMHOOK_post_iMalloc_astrndup) (char* retVal___, const char *p, size_t *size, const char *file, int *line, const char *func);
+typedef char* (*HPMHOOK_post_iMalloc_astrndup) (char* retVal___, const char *p, size_t size, const char *file, int line, const char *func);
typedef void (*HPMHOOK_pre_iMalloc_free) (void *p, const char *file, int *line, const char *func);
-typedef void (*HPMHOOK_post_iMalloc_free) (void *p, const char *file, int *line, const char *func);
+typedef void (*HPMHOOK_post_iMalloc_free) (void *p, const char *file, int line, const char *func);
typedef void (*HPMHOOK_pre_iMalloc_memory_check) (void);
typedef void (*HPMHOOK_post_iMalloc_memory_check) (void);
typedef bool (*HPMHOOK_pre_iMalloc_verify_ptr) (void *ptr);
@@ -3751,21 +3751,21 @@ typedef void (*HPMHOOK_post_iMalloc_init_messages) (void);
typedef void (*HPMHOOK_pre_map_zone_init) (void);
typedef void (*HPMHOOK_post_map_zone_init) (void);
typedef void (*HPMHOOK_pre_map_zone_remove) (int *m);
-typedef void (*HPMHOOK_post_map_zone_remove) (int *m);
+typedef void (*HPMHOOK_post_map_zone_remove) (int m);
typedef void (*HPMHOOK_pre_map_zone_apply) (int *m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
-typedef void (*HPMHOOK_post_map_zone_apply) (int *m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
+typedef void (*HPMHOOK_post_map_zone_apply) (int m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
typedef void (*HPMHOOK_pre_map_zone_change) (int *m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
-typedef void (*HPMHOOK_post_map_zone_change) (int *m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
+typedef void (*HPMHOOK_post_map_zone_change) (int m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
typedef void (*HPMHOOK_pre_map_zone_change2) (int *m, struct map_zone_data *zone);
-typedef void (*HPMHOOK_post_map_zone_change2) (int *m, struct map_zone_data *zone);
+typedef void (*HPMHOOK_post_map_zone_change2) (int m, struct map_zone_data *zone);
typedef int (*HPMHOOK_pre_map_getcell) (int16 *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
-typedef int (*HPMHOOK_post_map_getcell) (int retVal___, int16 *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+typedef int (*HPMHOOK_post_map_getcell) (int retVal___, int16 m, const struct block_list *bl, int16 x, int16 y, cell_chk cellchk);
typedef void (*HPMHOOK_pre_map_setgatcell) (int16 *m, int16 *x, int16 *y, int *gat);
-typedef void (*HPMHOOK_post_map_setgatcell) (int16 *m, int16 *x, int16 *y, int *gat);
+typedef void (*HPMHOOK_post_map_setgatcell) (int16 m, int16 x, int16 y, int gat);
typedef void (*HPMHOOK_pre_map_cellfromcache) (struct map_data *m);
typedef void (*HPMHOOK_post_map_cellfromcache) (struct map_data *m);
typedef void (*HPMHOOK_pre_map_setusers) (int *p1);
-typedef void (*HPMHOOK_post_map_setusers) (int *p1);
+typedef void (*HPMHOOK_post_map_setusers) (int p1);
typedef int (*HPMHOOK_pre_map_getusers) (void);
typedef int (*HPMHOOK_post_map_getusers) (int retVal___);
typedef int (*HPMHOOK_pre_map_usercount) (void);
@@ -3781,39 +3781,39 @@ typedef int (*HPMHOOK_post_map_addblock) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_map_delblock) (struct block_list *bl);
typedef int (*HPMHOOK_post_map_delblock) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_map_moveblock) (struct block_list *bl, int *x1, int *y1, int64 *tick);
-typedef int (*HPMHOOK_post_map_moveblock) (int retVal___, struct block_list *bl, int *x1, int *y1, int64 *tick);
+typedef int (*HPMHOOK_post_map_moveblock) (int retVal___, struct block_list *bl, int x1, int y1, int64 tick);
typedef int (*HPMHOOK_pre_map_count_oncell) (int16 *m, int16 *x, int16 *y, int *type, int *flag);
-typedef int (*HPMHOOK_post_map_count_oncell) (int retVal___, int16 *m, int16 *x, int16 *y, int *type, int *flag);
+typedef int (*HPMHOOK_post_map_count_oncell) (int retVal___, int16 m, int16 x, int16 y, int type, int flag);
typedef struct skill_unit* (*HPMHOOK_pre_map_find_skill_unit_oncell) (struct block_list *target, int16 *x, int16 *y, uint16 *skill_id, struct skill_unit *out_unit, int *flag);
-typedef struct skill_unit* (*HPMHOOK_post_map_find_skill_unit_oncell) (struct skill_unit* retVal___, struct block_list *target, int16 *x, int16 *y, uint16 *skill_id, struct skill_unit *out_unit, int *flag);
+typedef struct skill_unit* (*HPMHOOK_post_map_find_skill_unit_oncell) (struct skill_unit* retVal___, struct block_list *target, int16 x, int16 y, uint16 skill_id, struct skill_unit *out_unit, int flag);
typedef int (*HPMHOOK_pre_map_get_new_object_id) (void);
typedef int (*HPMHOOK_post_map_get_new_object_id) (int retVal___);
typedef int (*HPMHOOK_pre_map_search_freecell) (struct block_list *src, int16 *m, int16 *x, int16 *y, int16 *rx, int16 *ry, int *flag);
-typedef int (*HPMHOOK_post_map_search_freecell) (int retVal___, struct block_list *src, int16 *m, int16 *x, int16 *y, int16 *rx, int16 *ry, int *flag);
+typedef int (*HPMHOOK_post_map_search_freecell) (int retVal___, struct block_list *src, int16 m, int16 *x, int16 *y, int16 rx, int16 ry, int flag);
typedef bool (*HPMHOOK_pre_map_closest_freecell) (int16 *m, const struct block_list *bl, int16 *x, int16 *y, int *type, int *flag);
-typedef bool (*HPMHOOK_post_map_closest_freecell) (bool retVal___, int16 *m, const struct block_list *bl, int16 *x, int16 *y, int *type, int *flag);
+typedef bool (*HPMHOOK_post_map_closest_freecell) (bool retVal___, int16 m, const struct block_list *bl, int16 *x, int16 *y, int type, int flag);
typedef int (*HPMHOOK_pre_map_quit) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_map_quit) (int retVal___, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_map_addnpc) (int16 *m, struct npc_data *nd);
-typedef bool (*HPMHOOK_post_map_addnpc) (bool retVal___, int16 *m, struct npc_data *nd);
+typedef bool (*HPMHOOK_post_map_addnpc) (bool retVal___, int16 m, struct npc_data *nd);
typedef int (*HPMHOOK_pre_map_clearflooritem_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_map_clearflooritem_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_map_clearflooritem_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_map_removemobs_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_map_removemobs_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_map_removemobs_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_map_clearflooritem) (struct block_list *bl);
typedef void (*HPMHOOK_post_map_clearflooritem) (struct block_list *bl);
typedef int (*HPMHOOK_pre_map_addflooritem) (const struct block_list *bl, struct item *item_data, int *amount, int16 *m, int16 *x, int16 *y, int *first_charid, int *second_charid, int *third_charid, int *flags);
-typedef int (*HPMHOOK_post_map_addflooritem) (int retVal___, const struct block_list *bl, struct item *item_data, int *amount, int16 *m, int16 *x, int16 *y, int *first_charid, int *second_charid, int *third_charid, int *flags);
+typedef int (*HPMHOOK_post_map_addflooritem) (int retVal___, const struct block_list *bl, struct item *item_data, int amount, int16 m, int16 x, int16 y, int first_charid, int second_charid, int third_charid, int flags);
typedef void (*HPMHOOK_pre_map_addnickdb) (int *charid, const char *nick);
-typedef void (*HPMHOOK_post_map_addnickdb) (int *charid, const char *nick);
+typedef void (*HPMHOOK_post_map_addnickdb) (int charid, const char *nick);
typedef void (*HPMHOOK_pre_map_delnickdb) (int *charid, const char *nick);
-typedef void (*HPMHOOK_post_map_delnickdb) (int *charid, const char *nick);
+typedef void (*HPMHOOK_post_map_delnickdb) (int charid, const char *nick);
typedef void (*HPMHOOK_pre_map_reqnickdb) (struct map_session_data *sd, int *charid);
-typedef void (*HPMHOOK_post_map_reqnickdb) (struct map_session_data *sd, int *charid);
+typedef void (*HPMHOOK_post_map_reqnickdb) (struct map_session_data *sd, int charid);
typedef const char* (*HPMHOOK_pre_map_charid2nick) (int *charid);
-typedef const char* (*HPMHOOK_post_map_charid2nick) (const char* retVal___, int *charid);
+typedef const char* (*HPMHOOK_post_map_charid2nick) (const char* retVal___, int charid);
typedef struct map_session_data* (*HPMHOOK_pre_map_charid2sd) (int *charid);
-typedef struct map_session_data* (*HPMHOOK_post_map_charid2sd) (struct map_session_data* retVal___, int *charid);
+typedef struct map_session_data* (*HPMHOOK_post_map_charid2sd) (struct map_session_data* retVal___, int charid);
typedef void (*HPMHOOK_pre_map_vforeachpc) (int ( *func ) (struct map_session_data *sd, va_list args), va_list args);
typedef void (*HPMHOOK_post_map_vforeachpc) (int ( *func ) (struct map_session_data *sd, va_list args), va_list args);
typedef void (*HPMHOOK_pre_map_vforeachmob) (int ( *func ) (struct mob_data *md, va_list args), va_list args);
@@ -3825,59 +3825,59 @@ typedef void (*HPMHOOK_post_map_vforeachregen) (int ( *func ) (struct block_list
typedef void (*HPMHOOK_pre_map_vforeachiddb) (int ( *func ) (struct block_list *bl, va_list args), va_list args);
typedef void (*HPMHOOK_post_map_vforeachiddb) (int ( *func ) (struct block_list *bl, va_list args), va_list args);
typedef int (*HPMHOOK_pre_map_vforeachinrange) (int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforeachinrange) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforeachinrange) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 range, int type, va_list ap);
typedef int (*HPMHOOK_pre_map_vforeachinshootrange) (int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforeachinshootrange) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforeachinshootrange) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 range, int type, va_list ap);
typedef int (*HPMHOOK_pre_map_vforeachinarea) (int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforeachinarea) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforeachinarea) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int type, va_list ap);
typedef int (*HPMHOOK_pre_map_vforcountinrange) (int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *count, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforcountinrange) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *count, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforcountinrange) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 range, int count, int type, va_list ap);
typedef int (*HPMHOOK_pre_map_vforcountinarea) (int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *count, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforcountinarea) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *count, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforcountinarea) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int count, int type, va_list ap);
typedef int (*HPMHOOK_pre_map_vforeachinmovearea) (int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int16 *dx, int16 *dy, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforeachinmovearea) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int16 *dx, int16 *dy, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforeachinmovearea) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 range, int16 dx, int16 dy, int type, va_list ap);
typedef int (*HPMHOOK_pre_map_vforeachincell) (int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x, int16 *y, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforeachincell) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x, int16 *y, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforeachincell) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int16 x, int16 y, int type, va_list ap);
typedef int (*HPMHOOK_pre_map_vforeachinpath) (int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int16 *range, int *length, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforeachinpath) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int16 *range, int *length, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforeachinpath) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int16 range, int length, int type, va_list ap);
typedef int (*HPMHOOK_pre_map_vforeachinmap) (int ( *func ) (struct block_list *, va_list), int16 *m, int *type, va_list args);
-typedef int (*HPMHOOK_post_map_vforeachinmap) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int *type, va_list args);
+typedef int (*HPMHOOK_post_map_vforeachinmap) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int type, va_list args);
typedef int (*HPMHOOK_pre_map_vforeachininstance) (int ( *func ) (struct block_list *, va_list), int16 *instance_id, int *type, va_list ap);
-typedef int (*HPMHOOK_post_map_vforeachininstance) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *instance_id, int *type, va_list ap);
+typedef int (*HPMHOOK_post_map_vforeachininstance) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 instance_id, int type, va_list ap);
typedef struct map_session_data* (*HPMHOOK_pre_map_id2sd) (int *id);
-typedef struct map_session_data* (*HPMHOOK_post_map_id2sd) (struct map_session_data* retVal___, int *id);
+typedef struct map_session_data* (*HPMHOOK_post_map_id2sd) (struct map_session_data* retVal___, int id);
typedef struct npc_data* (*HPMHOOK_pre_map_id2nd) (int *id);
-typedef struct npc_data* (*HPMHOOK_post_map_id2nd) (struct npc_data* retVal___, int *id);
+typedef struct npc_data* (*HPMHOOK_post_map_id2nd) (struct npc_data* retVal___, int id);
typedef struct mob_data* (*HPMHOOK_pre_map_id2md) (int *id);
-typedef struct mob_data* (*HPMHOOK_post_map_id2md) (struct mob_data* retVal___, int *id);
+typedef struct mob_data* (*HPMHOOK_post_map_id2md) (struct mob_data* retVal___, int id);
typedef struct flooritem_data* (*HPMHOOK_pre_map_id2fi) (int *id);
-typedef struct flooritem_data* (*HPMHOOK_post_map_id2fi) (struct flooritem_data* retVal___, int *id);
+typedef struct flooritem_data* (*HPMHOOK_post_map_id2fi) (struct flooritem_data* retVal___, int id);
typedef struct chat_data* (*HPMHOOK_pre_map_id2cd) (int *id);
-typedef struct chat_data* (*HPMHOOK_post_map_id2cd) (struct chat_data* retVal___, int *id);
+typedef struct chat_data* (*HPMHOOK_post_map_id2cd) (struct chat_data* retVal___, int id);
typedef struct skill_unit* (*HPMHOOK_pre_map_id2su) (int *id);
-typedef struct skill_unit* (*HPMHOOK_post_map_id2su) (struct skill_unit* retVal___, int *id);
+typedef struct skill_unit* (*HPMHOOK_post_map_id2su) (struct skill_unit* retVal___, int id);
typedef struct pet_data* (*HPMHOOK_pre_map_id2pd) (int *id);
-typedef struct pet_data* (*HPMHOOK_post_map_id2pd) (struct pet_data* retVal___, int *id);
+typedef struct pet_data* (*HPMHOOK_post_map_id2pd) (struct pet_data* retVal___, int id);
typedef struct homun_data* (*HPMHOOK_pre_map_id2hd) (int *id);
-typedef struct homun_data* (*HPMHOOK_post_map_id2hd) (struct homun_data* retVal___, int *id);
+typedef struct homun_data* (*HPMHOOK_post_map_id2hd) (struct homun_data* retVal___, int id);
typedef struct mercenary_data* (*HPMHOOK_pre_map_id2mc) (int *id);
-typedef struct mercenary_data* (*HPMHOOK_post_map_id2mc) (struct mercenary_data* retVal___, int *id);
+typedef struct mercenary_data* (*HPMHOOK_post_map_id2mc) (struct mercenary_data* retVal___, int id);
typedef struct elemental_data* (*HPMHOOK_pre_map_id2ed) (int *id);
-typedef struct elemental_data* (*HPMHOOK_post_map_id2ed) (struct elemental_data* retVal___, int *id);
+typedef struct elemental_data* (*HPMHOOK_post_map_id2ed) (struct elemental_data* retVal___, int id);
typedef struct block_list* (*HPMHOOK_pre_map_id2bl) (int *id);
-typedef struct block_list* (*HPMHOOK_post_map_id2bl) (struct block_list* retVal___, int *id);
+typedef struct block_list* (*HPMHOOK_post_map_id2bl) (struct block_list* retVal___, int id);
typedef bool (*HPMHOOK_pre_map_blid_exists) (int *id);
-typedef bool (*HPMHOOK_post_map_blid_exists) (bool retVal___, int *id);
+typedef bool (*HPMHOOK_post_map_blid_exists) (bool retVal___, int id);
typedef int16 (*HPMHOOK_pre_map_mapindex2mapid) (unsigned short *map_index);
-typedef int16 (*HPMHOOK_post_map_mapindex2mapid) (int16 retVal___, unsigned short *map_index);
+typedef int16 (*HPMHOOK_post_map_mapindex2mapid) (int16 retVal___, unsigned short map_index);
typedef int16 (*HPMHOOK_pre_map_mapname2mapid) (const char *name);
typedef int16 (*HPMHOOK_post_map_mapname2mapid) (int16 retVal___, const char *name);
typedef int (*HPMHOOK_pre_map_mapname2ipport) (unsigned short *name, uint32 *ip, uint16 *port);
-typedef int (*HPMHOOK_post_map_mapname2ipport) (int retVal___, unsigned short *name, uint32 *ip, uint16 *port);
+typedef int (*HPMHOOK_post_map_mapname2ipport) (int retVal___, unsigned short name, uint32 *ip, uint16 *port);
typedef int (*HPMHOOK_pre_map_setipport) (unsigned short *map_index, uint32 *ip, uint16 *port);
-typedef int (*HPMHOOK_post_map_setipport) (int retVal___, unsigned short *map_index, uint32 *ip, uint16 *port);
+typedef int (*HPMHOOK_post_map_setipport) (int retVal___, unsigned short map_index, uint32 ip, uint16 port);
typedef int (*HPMHOOK_pre_map_eraseipport) (unsigned short *map_index, uint32 *ip, uint16 *port);
-typedef int (*HPMHOOK_post_map_eraseipport) (int retVal___, unsigned short *map_index, uint32 *ip, uint16 *port);
+typedef int (*HPMHOOK_post_map_eraseipport) (int retVal___, unsigned short map_index, uint32 ip, uint16 port);
typedef int (*HPMHOOK_pre_map_eraseallipport) (void);
typedef int (*HPMHOOK_post_map_eraseallipport) (int retVal___);
typedef void (*HPMHOOK_pre_map_addiddb) (struct block_list *bl);
@@ -3887,17 +3887,17 @@ typedef void (*HPMHOOK_post_map_deliddb) (struct block_list *bl);
typedef struct map_session_data* (*HPMHOOK_pre_map_nick2sd) (const char *nick);
typedef struct map_session_data* (*HPMHOOK_post_map_nick2sd) (struct map_session_data* retVal___, const char *nick);
typedef struct mob_data* (*HPMHOOK_pre_map_getmob_boss) (int16 *m);
-typedef struct mob_data* (*HPMHOOK_post_map_getmob_boss) (struct mob_data* retVal___, int16 *m);
+typedef struct mob_data* (*HPMHOOK_post_map_getmob_boss) (struct mob_data* retVal___, int16 m);
typedef struct mob_data* (*HPMHOOK_pre_map_id2boss) (int *id);
-typedef struct mob_data* (*HPMHOOK_post_map_id2boss) (struct mob_data* retVal___, int *id);
+typedef struct mob_data* (*HPMHOOK_post_map_id2boss) (struct mob_data* retVal___, int id);
typedef uint32 (*HPMHOOK_pre_map_race_id2mask) (int *race);
-typedef uint32 (*HPMHOOK_post_map_race_id2mask) (uint32 retVal___, int *race);
+typedef uint32 (*HPMHOOK_post_map_race_id2mask) (uint32 retVal___, int race);
typedef void (*HPMHOOK_pre_map_reloadnpc) (bool *clear);
-typedef void (*HPMHOOK_post_map_reloadnpc) (bool *clear);
+typedef void (*HPMHOOK_post_map_reloadnpc) (bool clear);
typedef int (*HPMHOOK_pre_map_check_dir) (int *s_dir, int *t_dir);
-typedef int (*HPMHOOK_post_map_check_dir) (int retVal___, int *s_dir, int *t_dir);
+typedef int (*HPMHOOK_post_map_check_dir) (int retVal___, int s_dir, int t_dir);
typedef uint8 (*HPMHOOK_pre_map_calc_dir) (struct block_list *src, int16 *x, int16 *y);
-typedef uint8 (*HPMHOOK_post_map_calc_dir) (uint8 retVal___, struct block_list *src, int16 *x, int16 *y);
+typedef uint8 (*HPMHOOK_post_map_calc_dir) (uint8 retVal___, struct block_list *src, int16 x, int16 y);
typedef int (*HPMHOOK_pre_map_random_dir) (struct block_list *bl, short *x, short *y);
typedef int (*HPMHOOK_post_map_random_dir) (int retVal___, struct block_list *bl, short *x, short *y);
typedef int (*HPMHOOK_pre_map_cleanup_sub) (struct block_list *bl, va_list ap);
@@ -3907,53 +3907,53 @@ typedef int (*HPMHOOK_post_map_delmap) (int retVal___, char *mapname);
typedef void (*HPMHOOK_pre_map_flags_init) (void);
typedef void (*HPMHOOK_post_map_flags_init) (void);
typedef bool (*HPMHOOK_pre_map_iwall_set) (int16 *m, int16 *x, int16 *y, int *size, int8 *dir, bool *shootable, const char *wall_name);
-typedef bool (*HPMHOOK_post_map_iwall_set) (bool retVal___, int16 *m, int16 *x, int16 *y, int *size, int8 *dir, bool *shootable, const char *wall_name);
+typedef bool (*HPMHOOK_post_map_iwall_set) (bool retVal___, int16 m, int16 x, int16 y, int size, int8 dir, bool shootable, const char *wall_name);
typedef void (*HPMHOOK_pre_map_iwall_get) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_map_iwall_get) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_map_iwall_remove) (const char *wall_name);
typedef void (*HPMHOOK_post_map_iwall_remove) (const char *wall_name);
typedef int (*HPMHOOK_pre_map_addmobtolist) (unsigned short *m, struct spawn_data *spawn);
-typedef int (*HPMHOOK_post_map_addmobtolist) (int retVal___, unsigned short *m, struct spawn_data *spawn);
+typedef int (*HPMHOOK_post_map_addmobtolist) (int retVal___, unsigned short m, struct spawn_data *spawn);
typedef void (*HPMHOOK_pre_map_spawnmobs) (int16 *m);
-typedef void (*HPMHOOK_post_map_spawnmobs) (int16 *m);
+typedef void (*HPMHOOK_post_map_spawnmobs) (int16 m);
typedef void (*HPMHOOK_pre_map_removemobs) (int16 *m);
-typedef void (*HPMHOOK_post_map_removemobs) (int16 *m);
+typedef void (*HPMHOOK_post_map_removemobs) (int16 m);
typedef void (*HPMHOOK_pre_map_addmap2db) (struct map_data *m);
typedef void (*HPMHOOK_post_map_addmap2db) (struct map_data *m);
typedef void (*HPMHOOK_pre_map_removemapdb) (struct map_data *m);
typedef void (*HPMHOOK_post_map_removemapdb) (struct map_data *m);
typedef void (*HPMHOOK_pre_map_clean) (int *i);
-typedef void (*HPMHOOK_post_map_clean) (int *i);
+typedef void (*HPMHOOK_post_map_clean) (int i);
typedef void (*HPMHOOK_pre_map_do_shutdown) (void);
typedef void (*HPMHOOK_post_map_do_shutdown) (void);
typedef int (*HPMHOOK_pre_map_freeblock_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_map_freeblock_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_map_freeblock_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_map_searchrandfreecell) (int16 *m, const struct block_list *bl, int16 *x, int16 *y, int *stack);
-typedef int (*HPMHOOK_post_map_searchrandfreecell) (int retVal___, int16 *m, const struct block_list *bl, int16 *x, int16 *y, int *stack);
+typedef int (*HPMHOOK_post_map_searchrandfreecell) (int retVal___, int16 m, const struct block_list *bl, int16 *x, int16 *y, int stack);
typedef int (*HPMHOOK_pre_map_count_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_map_count_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef struct DBData (*HPMHOOK_pre_map_create_charid2nick) (union DBKey *key, va_list args);
-typedef struct DBData (*HPMHOOK_post_map_create_charid2nick) (struct DBData retVal___, union DBKey *key, va_list args);
+typedef struct DBData (*HPMHOOK_post_map_create_charid2nick) (struct DBData retVal___, union DBKey key, va_list args);
typedef int (*HPMHOOK_pre_map_removemobs_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_map_removemobs_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef struct mapcell (*HPMHOOK_pre_map_gat2cell) (int *gat);
-typedef struct mapcell (*HPMHOOK_post_map_gat2cell) (struct mapcell retVal___, int *gat);
+typedef struct mapcell (*HPMHOOK_post_map_gat2cell) (struct mapcell retVal___, int gat);
typedef int (*HPMHOOK_pre_map_cell2gat) (struct mapcell *cell);
-typedef int (*HPMHOOK_post_map_cell2gat) (int retVal___, struct mapcell *cell);
+typedef int (*HPMHOOK_post_map_cell2gat) (int retVal___, struct mapcell cell);
typedef int (*HPMHOOK_pre_map_getcellp) (struct map_data *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
-typedef int (*HPMHOOK_post_map_getcellp) (int retVal___, struct map_data *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+typedef int (*HPMHOOK_post_map_getcellp) (int retVal___, struct map_data *m, const struct block_list *bl, int16 x, int16 y, cell_chk cellchk);
typedef void (*HPMHOOK_pre_map_setcell) (int16 *m, int16 *x, int16 *y, cell_t *cell, bool *flag);
-typedef void (*HPMHOOK_post_map_setcell) (int16 *m, int16 *x, int16 *y, cell_t *cell, bool *flag);
+typedef void (*HPMHOOK_post_map_setcell) (int16 m, int16 x, int16 y, cell_t cell, bool flag);
typedef int (*HPMHOOK_pre_map_sub_getcellp) (struct map_data *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
-typedef int (*HPMHOOK_post_map_sub_getcellp) (int retVal___, struct map_data *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+typedef int (*HPMHOOK_post_map_sub_getcellp) (int retVal___, struct map_data *m, const struct block_list *bl, int16 x, int16 y, cell_chk cellchk);
typedef void (*HPMHOOK_pre_map_sub_setcell) (int16 *m, int16 *x, int16 *y, cell_t *cell, bool *flag);
-typedef void (*HPMHOOK_post_map_sub_setcell) (int16 *m, int16 *x, int16 *y, cell_t *cell, bool *flag);
+typedef void (*HPMHOOK_post_map_sub_setcell) (int16 m, int16 x, int16 y, cell_t cell, bool flag);
typedef void (*HPMHOOK_pre_map_iwall_nextxy) (int16 *x, int16 *y, int8 *dir, int *pos, int16 *x1, int16 *y1);
-typedef void (*HPMHOOK_post_map_iwall_nextxy) (int16 *x, int16 *y, int8 *dir, int *pos, int16 *x1, int16 *y1);
+typedef void (*HPMHOOK_post_map_iwall_nextxy) (int16 x, int16 y, int8 dir, int pos, int16 *x1, int16 *y1);
typedef struct DBData (*HPMHOOK_pre_map_create_map_data_other_server) (union DBKey *key, va_list args);
-typedef struct DBData (*HPMHOOK_post_map_create_map_data_other_server) (struct DBData retVal___, union DBKey *key, va_list args);
+typedef struct DBData (*HPMHOOK_post_map_create_map_data_other_server) (struct DBData retVal___, union DBKey key, va_list args);
typedef int (*HPMHOOK_pre_map_eraseallipport_sub) (union DBKey *key, struct DBData *data, va_list va);
-typedef int (*HPMHOOK_post_map_eraseallipport_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list va);
+typedef int (*HPMHOOK_post_map_eraseallipport_sub) (int retVal___, union DBKey key, struct DBData *data, va_list va);
typedef char* (*HPMHOOK_pre_map_init_mapcache) (FILE *fp);
typedef char* (*HPMHOOK_post_map_init_mapcache) (char* retVal___, FILE *fp);
typedef int (*HPMHOOK_pre_map_readfromcache) (struct map_data *m, char *buffer);
@@ -3961,7 +3961,7 @@ typedef int (*HPMHOOK_post_map_readfromcache) (int retVal___, struct map_data *m
typedef int (*HPMHOOK_pre_map_addmap) (const char *mapname);
typedef int (*HPMHOOK_post_map_addmap) (int retVal___, const char *mapname);
typedef void (*HPMHOOK_pre_map_delmapid) (int *id);
-typedef void (*HPMHOOK_post_map_delmapid) (int *id);
+typedef void (*HPMHOOK_post_map_delmapid) (int id);
typedef void (*HPMHOOK_pre_map_zone_db_clear) (void);
typedef void (*HPMHOOK_post_map_zone_db_clear) (void);
typedef void (*HPMHOOK_pre_map_list_final) (void);
@@ -3985,7 +3985,7 @@ typedef int (*HPMHOOK_post_map_sql_init) (int retVal___);
typedef int (*HPMHOOK_pre_map_sql_close) (void);
typedef int (*HPMHOOK_post_map_sql_close) (int retVal___);
typedef bool (*HPMHOOK_pre_map_zone_mf_cache) (int *m, char *flag, char *params);
-typedef bool (*HPMHOOK_post_map_zone_mf_cache) (bool retVal___, int *m, char *flag, char *params);
+typedef bool (*HPMHOOK_post_map_zone_mf_cache) (bool retVal___, int m, char *flag, char *params);
typedef unsigned short (*HPMHOOK_pre_map_zone_str2itemid) (const char *name);
typedef unsigned short (*HPMHOOK_post_map_zone_str2itemid) (unsigned short retVal___, const char *name);
typedef unsigned short (*HPMHOOK_pre_map_zone_str2skillid) (const char *name);
@@ -3995,21 +3995,21 @@ typedef enum bl_type (*HPMHOOK_post_map_zone_bl_type) (enum bl_type retVal___, c
typedef void (*HPMHOOK_pre_map_read_zone_db) (void);
typedef void (*HPMHOOK_post_map_read_zone_db) (void);
typedef int (*HPMHOOK_pre_map_db_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_map_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_map_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_map_nick_db_final) (union DBKey *key, struct DBData *data, va_list args);
-typedef int (*HPMHOOK_post_map_nick_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list args);
+typedef int (*HPMHOOK_post_map_nick_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list args);
typedef int (*HPMHOOK_pre_map_cleanup_db_sub) (union DBKey *key, struct DBData *data, va_list va);
-typedef int (*HPMHOOK_post_map_cleanup_db_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list va);
+typedef int (*HPMHOOK_post_map_cleanup_db_sub) (int retVal___, union DBKey key, struct DBData *data, va_list va);
typedef int (*HPMHOOK_pre_map_abort_sub) (struct map_session_data *sd, va_list ap);
typedef int (*HPMHOOK_post_map_abort_sub) (int retVal___, struct map_session_data *sd, va_list ap);
typedef void (*HPMHOOK_pre_map_update_cell_bl) (struct block_list *bl, bool *increase);
-typedef void (*HPMHOOK_post_map_update_cell_bl) (struct block_list *bl, bool *increase);
+typedef void (*HPMHOOK_post_map_update_cell_bl) (struct block_list *bl, bool increase);
typedef int (*HPMHOOK_pre_map_get_new_bonus_id) (void);
typedef int (*HPMHOOK_post_map_get_new_bonus_id) (int retVal___);
typedef void (*HPMHOOK_pre_map_add_questinfo) (int *m, struct questinfo *qi);
-typedef void (*HPMHOOK_post_map_add_questinfo) (int *m, struct questinfo *qi);
+typedef void (*HPMHOOK_post_map_add_questinfo) (int m, struct questinfo *qi);
typedef bool (*HPMHOOK_pre_map_remove_questinfo) (int *m, struct npc_data *nd);
-typedef bool (*HPMHOOK_post_map_remove_questinfo) (bool retVal___, int *m, struct npc_data *nd);
+typedef bool (*HPMHOOK_post_map_remove_questinfo) (bool retVal___, int m, struct npc_data *nd);
typedef struct map_zone_data* (*HPMHOOK_pre_map_merge_zone) (struct map_zone_data *main, struct map_zone_data *other);
typedef struct map_zone_data* (*HPMHOOK_post_map_merge_zone) (struct map_zone_data* retVal___, struct map_zone_data *main, struct map_zone_data *other);
typedef void (*HPMHOOK_pre_map_zone_clear_single) (struct map_zone_data *zone);
@@ -4017,343 +4017,343 @@ typedef void (*HPMHOOK_post_map_zone_clear_single) (struct map_zone_data *zone);
#endif // MAP_MAP_H
#ifdef CHAR_MAPIF_H /* mapif */
typedef void (*HPMHOOK_pre_mapif_ban) (int *id, unsigned int *flag, int *status);
-typedef void (*HPMHOOK_post_mapif_ban) (int *id, unsigned int *flag, int *status);
+typedef void (*HPMHOOK_post_mapif_ban) (int id, unsigned int flag, int status);
typedef void (*HPMHOOK_pre_mapif_server_init) (int *id);
-typedef void (*HPMHOOK_post_mapif_server_init) (int *id);
+typedef void (*HPMHOOK_post_mapif_server_init) (int id);
typedef void (*HPMHOOK_pre_mapif_server_destroy) (int *id);
-typedef void (*HPMHOOK_post_mapif_server_destroy) (int *id);
+typedef void (*HPMHOOK_post_mapif_server_destroy) (int id);
typedef void (*HPMHOOK_pre_mapif_server_reset) (int *id);
-typedef void (*HPMHOOK_post_mapif_server_reset) (int *id);
+typedef void (*HPMHOOK_post_mapif_server_reset) (int id);
typedef void (*HPMHOOK_pre_mapif_on_disconnect) (int *id);
-typedef void (*HPMHOOK_post_mapif_on_disconnect) (int *id);
+typedef void (*HPMHOOK_post_mapif_on_disconnect) (int id);
typedef void (*HPMHOOK_pre_mapif_on_parse_accinfo) (int *account_id, int *u_fd, int *u_aid, int *u_group, int *map_fd);
-typedef void (*HPMHOOK_post_mapif_on_parse_accinfo) (int *account_id, int *u_fd, int *u_aid, int *u_group, int *map_fd);
+typedef void (*HPMHOOK_post_mapif_on_parse_accinfo) (int account_id, int u_fd, int u_aid, int u_group, int map_fd);
typedef void (*HPMHOOK_pre_mapif_char_ban) (int *char_id, time_t *timestamp);
-typedef void (*HPMHOOK_post_mapif_char_ban) (int *char_id, time_t *timestamp);
+typedef void (*HPMHOOK_post_mapif_char_ban) (int char_id, time_t timestamp);
typedef int (*HPMHOOK_pre_mapif_sendall) (const unsigned char *buf, unsigned int *len);
-typedef int (*HPMHOOK_post_mapif_sendall) (int retVal___, const unsigned char *buf, unsigned int *len);
+typedef int (*HPMHOOK_post_mapif_sendall) (int retVal___, const unsigned char *buf, unsigned int len);
typedef int (*HPMHOOK_pre_mapif_sendallwos) (int *sfd, unsigned char *buf, unsigned int *len);
-typedef int (*HPMHOOK_post_mapif_sendallwos) (int retVal___, int *sfd, unsigned char *buf, unsigned int *len);
+typedef int (*HPMHOOK_post_mapif_sendallwos) (int retVal___, int sfd, unsigned char *buf, unsigned int len);
typedef int (*HPMHOOK_pre_mapif_send) (int *fd, unsigned char *buf, unsigned int *len);
-typedef int (*HPMHOOK_post_mapif_send) (int retVal___, int *fd, unsigned char *buf, unsigned int *len);
+typedef int (*HPMHOOK_post_mapif_send) (int retVal___, int fd, unsigned char *buf, unsigned int len);
typedef void (*HPMHOOK_pre_mapif_send_users_count) (int *users);
-typedef void (*HPMHOOK_post_mapif_send_users_count) (int *users);
+typedef void (*HPMHOOK_post_mapif_send_users_count) (int users);
typedef void (*HPMHOOK_pre_mapif_auction_message) (int *char_id, unsigned char *result);
-typedef void (*HPMHOOK_post_mapif_auction_message) (int *char_id, unsigned char *result);
+typedef void (*HPMHOOK_post_mapif_auction_message) (int char_id, unsigned char result);
typedef void (*HPMHOOK_pre_mapif_auction_sendlist) (int *fd, int *char_id, short *count, short *pages, unsigned char *buf);
-typedef void (*HPMHOOK_post_mapif_auction_sendlist) (int *fd, int *char_id, short *count, short *pages, unsigned char *buf);
+typedef void (*HPMHOOK_post_mapif_auction_sendlist) (int fd, int char_id, short count, short pages, unsigned char *buf);
typedef void (*HPMHOOK_pre_mapif_parse_auction_requestlist) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_auction_requestlist) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_auction_requestlist) (int fd);
typedef void (*HPMHOOK_pre_mapif_auction_register) (int *fd, struct auction_data *auction);
-typedef void (*HPMHOOK_post_mapif_auction_register) (int *fd, struct auction_data *auction);
+typedef void (*HPMHOOK_post_mapif_auction_register) (int fd, struct auction_data *auction);
typedef void (*HPMHOOK_pre_mapif_parse_auction_register) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_auction_register) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_auction_register) (int fd);
typedef void (*HPMHOOK_pre_mapif_auction_cancel) (int *fd, int *char_id, unsigned char *result);
-typedef void (*HPMHOOK_post_mapif_auction_cancel) (int *fd, int *char_id, unsigned char *result);
+typedef void (*HPMHOOK_post_mapif_auction_cancel) (int fd, int char_id, unsigned char result);
typedef void (*HPMHOOK_pre_mapif_parse_auction_cancel) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_auction_cancel) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_auction_cancel) (int fd);
typedef void (*HPMHOOK_pre_mapif_auction_close) (int *fd, int *char_id, unsigned char *result);
-typedef void (*HPMHOOK_post_mapif_auction_close) (int *fd, int *char_id, unsigned char *result);
+typedef void (*HPMHOOK_post_mapif_auction_close) (int fd, int char_id, unsigned char result);
typedef void (*HPMHOOK_pre_mapif_parse_auction_close) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_auction_close) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_auction_close) (int fd);
typedef void (*HPMHOOK_pre_mapif_auction_bid) (int *fd, int *char_id, int *bid, unsigned char *result);
-typedef void (*HPMHOOK_post_mapif_auction_bid) (int *fd, int *char_id, int *bid, unsigned char *result);
+typedef void (*HPMHOOK_post_mapif_auction_bid) (int fd, int char_id, int bid, unsigned char result);
typedef void (*HPMHOOK_pre_mapif_parse_auction_bid) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_auction_bid) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_auction_bid) (int fd);
typedef bool (*HPMHOOK_pre_mapif_elemental_create) (struct s_elemental *ele);
typedef bool (*HPMHOOK_post_mapif_elemental_create) (bool retVal___, struct s_elemental *ele);
typedef bool (*HPMHOOK_pre_mapif_elemental_save) (const struct s_elemental *ele);
typedef bool (*HPMHOOK_post_mapif_elemental_save) (bool retVal___, const struct s_elemental *ele);
typedef bool (*HPMHOOK_pre_mapif_elemental_load) (int *ele_id, int *char_id, struct s_elemental *ele);
-typedef bool (*HPMHOOK_post_mapif_elemental_load) (bool retVal___, int *ele_id, int *char_id, struct s_elemental *ele);
+typedef bool (*HPMHOOK_post_mapif_elemental_load) (bool retVal___, int ele_id, int char_id, struct s_elemental *ele);
typedef bool (*HPMHOOK_pre_mapif_elemental_delete) (int *ele_id);
-typedef bool (*HPMHOOK_post_mapif_elemental_delete) (bool retVal___, int *ele_id);
+typedef bool (*HPMHOOK_post_mapif_elemental_delete) (bool retVal___, int ele_id);
typedef void (*HPMHOOK_pre_mapif_elemental_send) (int *fd, struct s_elemental *ele, unsigned char *flag);
-typedef void (*HPMHOOK_post_mapif_elemental_send) (int *fd, struct s_elemental *ele, unsigned char *flag);
+typedef void (*HPMHOOK_post_mapif_elemental_send) (int fd, struct s_elemental *ele, unsigned char flag);
typedef void (*HPMHOOK_pre_mapif_parse_elemental_create) (int *fd, const struct s_elemental *ele);
-typedef void (*HPMHOOK_post_mapif_parse_elemental_create) (int *fd, const struct s_elemental *ele);
+typedef void (*HPMHOOK_post_mapif_parse_elemental_create) (int fd, const struct s_elemental *ele);
typedef void (*HPMHOOK_pre_mapif_parse_elemental_load) (int *fd, int *ele_id, int *char_id);
-typedef void (*HPMHOOK_post_mapif_parse_elemental_load) (int *fd, int *ele_id, int *char_id);
+typedef void (*HPMHOOK_post_mapif_parse_elemental_load) (int fd, int ele_id, int char_id);
typedef void (*HPMHOOK_pre_mapif_elemental_deleted) (int *fd, unsigned char *flag);
-typedef void (*HPMHOOK_post_mapif_elemental_deleted) (int *fd, unsigned char *flag);
+typedef void (*HPMHOOK_post_mapif_elemental_deleted) (int fd, unsigned char flag);
typedef void (*HPMHOOK_pre_mapif_parse_elemental_delete) (int *fd, int *ele_id);
-typedef void (*HPMHOOK_post_mapif_parse_elemental_delete) (int *fd, int *ele_id);
+typedef void (*HPMHOOK_post_mapif_parse_elemental_delete) (int fd, int ele_id);
typedef void (*HPMHOOK_pre_mapif_elemental_saved) (int *fd, unsigned char *flag);
-typedef void (*HPMHOOK_post_mapif_elemental_saved) (int *fd, unsigned char *flag);
+typedef void (*HPMHOOK_post_mapif_elemental_saved) (int fd, unsigned char flag);
typedef void (*HPMHOOK_pre_mapif_parse_elemental_save) (int *fd, const struct s_elemental *ele);
-typedef void (*HPMHOOK_post_mapif_parse_elemental_save) (int *fd, const struct s_elemental *ele);
+typedef void (*HPMHOOK_post_mapif_parse_elemental_save) (int fd, const struct s_elemental *ele);
typedef int (*HPMHOOK_pre_mapif_guild_created) (int *fd, int *account_id, struct guild *g);
-typedef int (*HPMHOOK_post_mapif_guild_created) (int retVal___, int *fd, int *account_id, struct guild *g);
+typedef int (*HPMHOOK_post_mapif_guild_created) (int retVal___, int fd, int account_id, struct guild *g);
typedef int (*HPMHOOK_pre_mapif_guild_noinfo) (int *fd, int *guild_id);
-typedef int (*HPMHOOK_post_mapif_guild_noinfo) (int retVal___, int *fd, int *guild_id);
+typedef int (*HPMHOOK_post_mapif_guild_noinfo) (int retVal___, int fd, int guild_id);
typedef int (*HPMHOOK_pre_mapif_guild_info) (int *fd, struct guild *g);
-typedef int (*HPMHOOK_post_mapif_guild_info) (int retVal___, int *fd, struct guild *g);
+typedef int (*HPMHOOK_post_mapif_guild_info) (int retVal___, int fd, struct guild *g);
typedef int (*HPMHOOK_pre_mapif_guild_memberadded) (int *fd, int *guild_id, int *account_id, int *char_id, int *flag);
-typedef int (*HPMHOOK_post_mapif_guild_memberadded) (int retVal___, int *fd, int *guild_id, int *account_id, int *char_id, int *flag);
+typedef int (*HPMHOOK_post_mapif_guild_memberadded) (int retVal___, int fd, int guild_id, int account_id, int char_id, int flag);
typedef int (*HPMHOOK_pre_mapif_guild_withdraw) (int *guild_id, int *account_id, int *char_id, int *flag, const char *name, const char *mes);
-typedef int (*HPMHOOK_post_mapif_guild_withdraw) (int retVal___, int *guild_id, int *account_id, int *char_id, int *flag, const char *name, const char *mes);
+typedef int (*HPMHOOK_post_mapif_guild_withdraw) (int retVal___, int guild_id, int account_id, int char_id, int flag, const char *name, const char *mes);
typedef int (*HPMHOOK_pre_mapif_guild_memberinfoshort) (struct guild *g, int *idx);
-typedef int (*HPMHOOK_post_mapif_guild_memberinfoshort) (int retVal___, struct guild *g, int *idx);
+typedef int (*HPMHOOK_post_mapif_guild_memberinfoshort) (int retVal___, struct guild *g, int idx);
typedef int (*HPMHOOK_pre_mapif_guild_broken) (int *guild_id, int *flag);
-typedef int (*HPMHOOK_post_mapif_guild_broken) (int retVal___, int *guild_id, int *flag);
+typedef int (*HPMHOOK_post_mapif_guild_broken) (int retVal___, int guild_id, int flag);
typedef int (*HPMHOOK_pre_mapif_guild_message) (int *guild_id, int *account_id, const char *mes, int *len, int *sfd);
-typedef int (*HPMHOOK_post_mapif_guild_message) (int retVal___, int *guild_id, int *account_id, const char *mes, int *len, int *sfd);
+typedef int (*HPMHOOK_post_mapif_guild_message) (int retVal___, int guild_id, int account_id, const char *mes, int len, int sfd);
typedef int (*HPMHOOK_pre_mapif_guild_basicinfochanged) (int *guild_id, int *type, const void *data, int *len);
-typedef int (*HPMHOOK_post_mapif_guild_basicinfochanged) (int retVal___, int *guild_id, int *type, const void *data, int *len);
+typedef int (*HPMHOOK_post_mapif_guild_basicinfochanged) (int retVal___, int guild_id, int type, const void *data, int len);
typedef int (*HPMHOOK_pre_mapif_guild_memberinfochanged) (int *guild_id, int *account_id, int *char_id, int *type, const void *data, int *len);
-typedef int (*HPMHOOK_post_mapif_guild_memberinfochanged) (int retVal___, int *guild_id, int *account_id, int *char_id, int *type, const void *data, int *len);
+typedef int (*HPMHOOK_post_mapif_guild_memberinfochanged) (int retVal___, int guild_id, int account_id, int char_id, int type, const void *data, int len);
typedef int (*HPMHOOK_pre_mapif_guild_skillupack) (int *guild_id, uint16 *skill_id, int *account_id);
-typedef int (*HPMHOOK_post_mapif_guild_skillupack) (int retVal___, int *guild_id, uint16 *skill_id, int *account_id);
+typedef int (*HPMHOOK_post_mapif_guild_skillupack) (int retVal___, int guild_id, uint16 skill_id, int account_id);
typedef int (*HPMHOOK_pre_mapif_guild_alliance) (int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag, const char *name1, const char *name2);
-typedef int (*HPMHOOK_post_mapif_guild_alliance) (int retVal___, int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag, const char *name1, const char *name2);
+typedef int (*HPMHOOK_post_mapif_guild_alliance) (int retVal___, int guild_id1, int guild_id2, int account_id1, int account_id2, int flag, const char *name1, const char *name2);
typedef int (*HPMHOOK_pre_mapif_guild_position) (struct guild *g, int *idx);
-typedef int (*HPMHOOK_post_mapif_guild_position) (int retVal___, struct guild *g, int *idx);
+typedef int (*HPMHOOK_post_mapif_guild_position) (int retVal___, struct guild *g, int idx);
typedef int (*HPMHOOK_pre_mapif_guild_notice) (struct guild *g);
typedef int (*HPMHOOK_post_mapif_guild_notice) (int retVal___, struct guild *g);
typedef int (*HPMHOOK_pre_mapif_guild_emblem) (struct guild *g);
typedef int (*HPMHOOK_post_mapif_guild_emblem) (int retVal___, struct guild *g);
typedef int (*HPMHOOK_pre_mapif_guild_master_changed) (struct guild *g, int *aid, int *cid);
-typedef int (*HPMHOOK_post_mapif_guild_master_changed) (int retVal___, struct guild *g, int *aid, int *cid);
+typedef int (*HPMHOOK_post_mapif_guild_master_changed) (int retVal___, struct guild *g, int aid, int cid);
typedef int (*HPMHOOK_pre_mapif_guild_castle_dataload) (int *fd, int *sz, const int *castle_ids);
-typedef int (*HPMHOOK_post_mapif_guild_castle_dataload) (int retVal___, int *fd, int *sz, const int *castle_ids);
+typedef int (*HPMHOOK_post_mapif_guild_castle_dataload) (int retVal___, int fd, int sz, const int *castle_ids);
typedef int (*HPMHOOK_pre_mapif_parse_CreateGuild) (int *fd, int *account_id, const char *name, const struct guild_member *master);
-typedef int (*HPMHOOK_post_mapif_parse_CreateGuild) (int retVal___, int *fd, int *account_id, const char *name, const struct guild_member *master);
+typedef int (*HPMHOOK_post_mapif_parse_CreateGuild) (int retVal___, int fd, int account_id, const char *name, const struct guild_member *master);
typedef int (*HPMHOOK_pre_mapif_parse_GuildInfo) (int *fd, int *guild_id);
-typedef int (*HPMHOOK_post_mapif_parse_GuildInfo) (int retVal___, int *fd, int *guild_id);
+typedef int (*HPMHOOK_post_mapif_parse_GuildInfo) (int retVal___, int fd, int guild_id);
typedef int (*HPMHOOK_pre_mapif_parse_GuildAddMember) (int *fd, int *guild_id, const struct guild_member *m);
-typedef int (*HPMHOOK_post_mapif_parse_GuildAddMember) (int retVal___, int *fd, int *guild_id, const struct guild_member *m);
+typedef int (*HPMHOOK_post_mapif_parse_GuildAddMember) (int retVal___, int fd, int guild_id, const struct guild_member *m);
typedef int (*HPMHOOK_pre_mapif_parse_GuildLeave) (int *fd, int *guild_id, int *account_id, int *char_id, int *flag, const char *mes);
-typedef int (*HPMHOOK_post_mapif_parse_GuildLeave) (int retVal___, int *fd, int *guild_id, int *account_id, int *char_id, int *flag, const char *mes);
+typedef int (*HPMHOOK_post_mapif_parse_GuildLeave) (int retVal___, int fd, int guild_id, int account_id, int char_id, int flag, const char *mes);
typedef int (*HPMHOOK_pre_mapif_parse_GuildChangeMemberInfoShort) (int *fd, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
-typedef int (*HPMHOOK_post_mapif_parse_GuildChangeMemberInfoShort) (int retVal___, int *fd, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
+typedef int (*HPMHOOK_post_mapif_parse_GuildChangeMemberInfoShort) (int retVal___, int fd, int guild_id, int account_id, int char_id, int online, int lv, int class_);
typedef int (*HPMHOOK_pre_mapif_parse_BreakGuild) (int *fd, int *guild_id);
-typedef int (*HPMHOOK_post_mapif_parse_BreakGuild) (int retVal___, int *fd, int *guild_id);
+typedef int (*HPMHOOK_post_mapif_parse_BreakGuild) (int retVal___, int fd, int guild_id);
typedef int (*HPMHOOK_pre_mapif_parse_GuildMessage) (int *fd, int *guild_id, int *account_id, const char *mes, int *len);
-typedef int (*HPMHOOK_post_mapif_parse_GuildMessage) (int retVal___, int *fd, int *guild_id, int *account_id, const char *mes, int *len);
+typedef int (*HPMHOOK_post_mapif_parse_GuildMessage) (int retVal___, int fd, int guild_id, int account_id, const char *mes, int len);
typedef int (*HPMHOOK_pre_mapif_parse_GuildBasicInfoChange) (int *fd, int *guild_id, int *type, const void *data, int *len);
-typedef int (*HPMHOOK_post_mapif_parse_GuildBasicInfoChange) (int retVal___, int *fd, int *guild_id, int *type, const void *data, int *len);
+typedef int (*HPMHOOK_post_mapif_parse_GuildBasicInfoChange) (int retVal___, int fd, int guild_id, int type, const void *data, int len);
typedef int (*HPMHOOK_pre_mapif_parse_GuildMemberInfoChange) (int *fd, int *guild_id, int *account_id, int *char_id, int *type, const char *data, int *len);
-typedef int (*HPMHOOK_post_mapif_parse_GuildMemberInfoChange) (int retVal___, int *fd, int *guild_id, int *account_id, int *char_id, int *type, const char *data, int *len);
+typedef int (*HPMHOOK_post_mapif_parse_GuildMemberInfoChange) (int retVal___, int fd, int guild_id, int account_id, int char_id, int type, const char *data, int len);
typedef int (*HPMHOOK_pre_mapif_parse_GuildPosition) (int *fd, int *guild_id, int *idx, const struct guild_position *p);
-typedef int (*HPMHOOK_post_mapif_parse_GuildPosition) (int retVal___, int *fd, int *guild_id, int *idx, const struct guild_position *p);
+typedef int (*HPMHOOK_post_mapif_parse_GuildPosition) (int retVal___, int fd, int guild_id, int idx, const struct guild_position *p);
typedef int (*HPMHOOK_pre_mapif_parse_GuildSkillUp) (int *fd, int *guild_id, uint16 *skill_id, int *account_id, int *max);
-typedef int (*HPMHOOK_post_mapif_parse_GuildSkillUp) (int retVal___, int *fd, int *guild_id, uint16 *skill_id, int *account_id, int *max);
+typedef int (*HPMHOOK_post_mapif_parse_GuildSkillUp) (int retVal___, int fd, int guild_id, uint16 skill_id, int account_id, int max);
typedef int (*HPMHOOK_pre_mapif_parse_GuildDeleteAlliance) (struct guild *g, int *guild_id, int *account_id1, int *account_id2, int *flag);
-typedef int (*HPMHOOK_post_mapif_parse_GuildDeleteAlliance) (int retVal___, struct guild *g, int *guild_id, int *account_id1, int *account_id2, int *flag);
+typedef int (*HPMHOOK_post_mapif_parse_GuildDeleteAlliance) (int retVal___, struct guild *g, int guild_id, int account_id1, int account_id2, int flag);
typedef int (*HPMHOOK_pre_mapif_parse_GuildAlliance) (int *fd, int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag);
-typedef int (*HPMHOOK_post_mapif_parse_GuildAlliance) (int retVal___, int *fd, int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag);
+typedef int (*HPMHOOK_post_mapif_parse_GuildAlliance) (int retVal___, int fd, int guild_id1, int guild_id2, int account_id1, int account_id2, int flag);
typedef int (*HPMHOOK_pre_mapif_parse_GuildNotice) (int *fd, int *guild_id, const char *mes1, const char *mes2);
-typedef int (*HPMHOOK_post_mapif_parse_GuildNotice) (int retVal___, int *fd, int *guild_id, const char *mes1, const char *mes2);
+typedef int (*HPMHOOK_post_mapif_parse_GuildNotice) (int retVal___, int fd, int guild_id, const char *mes1, const char *mes2);
typedef int (*HPMHOOK_pre_mapif_parse_GuildEmblem) (int *fd, int *len, int *guild_id, int *dummy, const char *data);
-typedef int (*HPMHOOK_post_mapif_parse_GuildEmblem) (int retVal___, int *fd, int *len, int *guild_id, int *dummy, const char *data);
+typedef int (*HPMHOOK_post_mapif_parse_GuildEmblem) (int retVal___, int fd, int len, int guild_id, int dummy, const char *data);
typedef int (*HPMHOOK_pre_mapif_parse_GuildCastleDataLoad) (int *fd, int *len, const int *castle_ids);
-typedef int (*HPMHOOK_post_mapif_parse_GuildCastleDataLoad) (int retVal___, int *fd, int *len, const int *castle_ids);
+typedef int (*HPMHOOK_post_mapif_parse_GuildCastleDataLoad) (int retVal___, int fd, int len, const int *castle_ids);
typedef int (*HPMHOOK_pre_mapif_parse_GuildCastleDataSave) (int *fd, int *castle_id, int *index, int *value);
-typedef int (*HPMHOOK_post_mapif_parse_GuildCastleDataSave) (int retVal___, int *fd, int *castle_id, int *index, int *value);
+typedef int (*HPMHOOK_post_mapif_parse_GuildCastleDataSave) (int retVal___, int fd, int castle_id, int index, int value);
typedef int (*HPMHOOK_pre_mapif_parse_GuildMasterChange) (int *fd, int *guild_id, const char *name, int *len);
-typedef int (*HPMHOOK_post_mapif_parse_GuildMasterChange) (int retVal___, int *fd, int *guild_id, const char *name, int *len);
+typedef int (*HPMHOOK_post_mapif_parse_GuildMasterChange) (int retVal___, int fd, int guild_id, const char *name, int len);
typedef void (*HPMHOOK_pre_mapif_homunculus_created) (int *fd, int *account_id, const struct s_homunculus *sh, unsigned char *flag);
-typedef void (*HPMHOOK_post_mapif_homunculus_created) (int *fd, int *account_id, const struct s_homunculus *sh, unsigned char *flag);
+typedef void (*HPMHOOK_post_mapif_homunculus_created) (int fd, int account_id, const struct s_homunculus *sh, unsigned char flag);
typedef void (*HPMHOOK_pre_mapif_homunculus_deleted) (int *fd, int *flag);
-typedef void (*HPMHOOK_post_mapif_homunculus_deleted) (int *fd, int *flag);
+typedef void (*HPMHOOK_post_mapif_homunculus_deleted) (int fd, int flag);
typedef void (*HPMHOOK_pre_mapif_homunculus_loaded) (int *fd, int *account_id, struct s_homunculus *hd);
-typedef void (*HPMHOOK_post_mapif_homunculus_loaded) (int *fd, int *account_id, struct s_homunculus *hd);
+typedef void (*HPMHOOK_post_mapif_homunculus_loaded) (int fd, int account_id, struct s_homunculus *hd);
typedef void (*HPMHOOK_pre_mapif_homunculus_saved) (int *fd, int *account_id, bool *flag);
-typedef void (*HPMHOOK_post_mapif_homunculus_saved) (int *fd, int *account_id, bool *flag);
+typedef void (*HPMHOOK_post_mapif_homunculus_saved) (int fd, int account_id, bool flag);
typedef void (*HPMHOOK_pre_mapif_homunculus_renamed) (int *fd, int *account_id, int *char_id, unsigned char *flag, const char *name);
-typedef void (*HPMHOOK_post_mapif_homunculus_renamed) (int *fd, int *account_id, int *char_id, unsigned char *flag, const char *name);
+typedef void (*HPMHOOK_post_mapif_homunculus_renamed) (int fd, int account_id, int char_id, unsigned char flag, const char *name);
typedef bool (*HPMHOOK_pre_mapif_homunculus_create) (struct s_homunculus *hd);
typedef bool (*HPMHOOK_post_mapif_homunculus_create) (bool retVal___, struct s_homunculus *hd);
typedef bool (*HPMHOOK_pre_mapif_homunculus_save) (const struct s_homunculus *hd);
typedef bool (*HPMHOOK_post_mapif_homunculus_save) (bool retVal___, const struct s_homunculus *hd);
typedef bool (*HPMHOOK_pre_mapif_homunculus_load) (int *homun_id, struct s_homunculus *hd);
-typedef bool (*HPMHOOK_post_mapif_homunculus_load) (bool retVal___, int *homun_id, struct s_homunculus *hd);
+typedef bool (*HPMHOOK_post_mapif_homunculus_load) (bool retVal___, int homun_id, struct s_homunculus *hd);
typedef bool (*HPMHOOK_pre_mapif_homunculus_delete) (int *homun_id);
-typedef bool (*HPMHOOK_post_mapif_homunculus_delete) (bool retVal___, int *homun_id);
+typedef bool (*HPMHOOK_post_mapif_homunculus_delete) (bool retVal___, int homun_id);
typedef bool (*HPMHOOK_pre_mapif_homunculus_rename) (const char *name);
typedef bool (*HPMHOOK_post_mapif_homunculus_rename) (bool retVal___, const char *name);
typedef void (*HPMHOOK_pre_mapif_parse_homunculus_create) (int *fd, int *len, int *account_id, const struct s_homunculus *phd);
-typedef void (*HPMHOOK_post_mapif_parse_homunculus_create) (int *fd, int *len, int *account_id, const struct s_homunculus *phd);
+typedef void (*HPMHOOK_post_mapif_parse_homunculus_create) (int fd, int len, int account_id, const struct s_homunculus *phd);
typedef void (*HPMHOOK_pre_mapif_parse_homunculus_delete) (int *fd, int *homun_id);
-typedef void (*HPMHOOK_post_mapif_parse_homunculus_delete) (int *fd, int *homun_id);
+typedef void (*HPMHOOK_post_mapif_parse_homunculus_delete) (int fd, int homun_id);
typedef void (*HPMHOOK_pre_mapif_parse_homunculus_load) (int *fd, int *account_id, int *homun_id);
-typedef void (*HPMHOOK_post_mapif_parse_homunculus_load) (int *fd, int *account_id, int *homun_id);
+typedef void (*HPMHOOK_post_mapif_parse_homunculus_load) (int fd, int account_id, int homun_id);
typedef void (*HPMHOOK_pre_mapif_parse_homunculus_save) (int *fd, int *len, int *account_id, const struct s_homunculus *phd);
-typedef void (*HPMHOOK_post_mapif_parse_homunculus_save) (int *fd, int *len, int *account_id, const struct s_homunculus *phd);
+typedef void (*HPMHOOK_post_mapif_parse_homunculus_save) (int fd, int len, int account_id, const struct s_homunculus *phd);
typedef void (*HPMHOOK_pre_mapif_parse_homunculus_rename) (int *fd, int *account_id, int *char_id, const char *name);
-typedef void (*HPMHOOK_post_mapif_parse_homunculus_rename) (int *fd, int *account_id, int *char_id, const char *name);
+typedef void (*HPMHOOK_post_mapif_parse_homunculus_rename) (int fd, int account_id, int char_id, const char *name);
typedef void (*HPMHOOK_pre_mapif_mail_sendinbox) (int *fd, int *char_id, unsigned char *flag, struct mail_data *md);
-typedef void (*HPMHOOK_post_mapif_mail_sendinbox) (int *fd, int *char_id, unsigned char *flag, struct mail_data *md);
+typedef void (*HPMHOOK_post_mapif_mail_sendinbox) (int fd, int char_id, unsigned char flag, struct mail_data *md);
typedef void (*HPMHOOK_pre_mapif_parse_mail_requestinbox) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_mail_requestinbox) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_mail_requestinbox) (int fd);
typedef void (*HPMHOOK_pre_mapif_parse_mail_read) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_mail_read) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_mail_read) (int fd);
typedef void (*HPMHOOK_pre_mapif_mail_sendattach) (int *fd, int *char_id, struct mail_message *msg);
-typedef void (*HPMHOOK_post_mapif_mail_sendattach) (int *fd, int *char_id, struct mail_message *msg);
+typedef void (*HPMHOOK_post_mapif_mail_sendattach) (int fd, int char_id, struct mail_message *msg);
typedef void (*HPMHOOK_pre_mapif_mail_getattach) (int *fd, int *char_id, int *mail_id);
-typedef void (*HPMHOOK_post_mapif_mail_getattach) (int *fd, int *char_id, int *mail_id);
+typedef void (*HPMHOOK_post_mapif_mail_getattach) (int fd, int char_id, int mail_id);
typedef void (*HPMHOOK_pre_mapif_parse_mail_getattach) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_mail_getattach) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_mail_getattach) (int fd);
typedef void (*HPMHOOK_pre_mapif_mail_delete) (int *fd, int *char_id, int *mail_id, bool *failed);
-typedef void (*HPMHOOK_post_mapif_mail_delete) (int *fd, int *char_id, int *mail_id, bool *failed);
+typedef void (*HPMHOOK_post_mapif_mail_delete) (int fd, int char_id, int mail_id, bool failed);
typedef void (*HPMHOOK_pre_mapif_parse_mail_delete) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_mail_delete) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_mail_delete) (int fd);
typedef void (*HPMHOOK_pre_mapif_mail_new) (struct mail_message *msg);
typedef void (*HPMHOOK_post_mapif_mail_new) (struct mail_message *msg);
typedef void (*HPMHOOK_pre_mapif_mail_return) (int *fd, int *char_id, int *mail_id, int *new_mail);
-typedef void (*HPMHOOK_post_mapif_mail_return) (int *fd, int *char_id, int *mail_id, int *new_mail);
+typedef void (*HPMHOOK_post_mapif_mail_return) (int fd, int char_id, int mail_id, int new_mail);
typedef void (*HPMHOOK_pre_mapif_parse_mail_return) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_mail_return) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_mail_return) (int fd);
typedef void (*HPMHOOK_pre_mapif_mail_send) (int *fd, struct mail_message *msg);
-typedef void (*HPMHOOK_post_mapif_mail_send) (int *fd, struct mail_message *msg);
+typedef void (*HPMHOOK_post_mapif_mail_send) (int fd, struct mail_message *msg);
typedef void (*HPMHOOK_pre_mapif_parse_mail_send) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_mail_send) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_mail_send) (int fd);
typedef bool (*HPMHOOK_pre_mapif_mercenary_create) (struct s_mercenary *merc);
typedef bool (*HPMHOOK_post_mapif_mercenary_create) (bool retVal___, struct s_mercenary *merc);
typedef bool (*HPMHOOK_pre_mapif_mercenary_save) (const struct s_mercenary *merc);
typedef bool (*HPMHOOK_post_mapif_mercenary_save) (bool retVal___, const struct s_mercenary *merc);
typedef bool (*HPMHOOK_pre_mapif_mercenary_load) (int *merc_id, int *char_id, struct s_mercenary *merc);
-typedef bool (*HPMHOOK_post_mapif_mercenary_load) (bool retVal___, int *merc_id, int *char_id, struct s_mercenary *merc);
+typedef bool (*HPMHOOK_post_mapif_mercenary_load) (bool retVal___, int merc_id, int char_id, struct s_mercenary *merc);
typedef bool (*HPMHOOK_pre_mapif_mercenary_delete) (int *merc_id);
-typedef bool (*HPMHOOK_post_mapif_mercenary_delete) (bool retVal___, int *merc_id);
+typedef bool (*HPMHOOK_post_mapif_mercenary_delete) (bool retVal___, int merc_id);
typedef void (*HPMHOOK_pre_mapif_mercenary_send) (int *fd, struct s_mercenary *merc, unsigned char *flag);
-typedef void (*HPMHOOK_post_mapif_mercenary_send) (int *fd, struct s_mercenary *merc, unsigned char *flag);
+typedef void (*HPMHOOK_post_mapif_mercenary_send) (int fd, struct s_mercenary *merc, unsigned char flag);
typedef void (*HPMHOOK_pre_mapif_parse_mercenary_create) (int *fd, const struct s_mercenary *merc);
-typedef void (*HPMHOOK_post_mapif_parse_mercenary_create) (int *fd, const struct s_mercenary *merc);
+typedef void (*HPMHOOK_post_mapif_parse_mercenary_create) (int fd, const struct s_mercenary *merc);
typedef void (*HPMHOOK_pre_mapif_parse_mercenary_load) (int *fd, int *merc_id, int *char_id);
-typedef void (*HPMHOOK_post_mapif_parse_mercenary_load) (int *fd, int *merc_id, int *char_id);
+typedef void (*HPMHOOK_post_mapif_parse_mercenary_load) (int fd, int merc_id, int char_id);
typedef void (*HPMHOOK_pre_mapif_mercenary_deleted) (int *fd, unsigned char *flag);
-typedef void (*HPMHOOK_post_mapif_mercenary_deleted) (int *fd, unsigned char *flag);
+typedef void (*HPMHOOK_post_mapif_mercenary_deleted) (int fd, unsigned char flag);
typedef void (*HPMHOOK_pre_mapif_parse_mercenary_delete) (int *fd, int *merc_id);
-typedef void (*HPMHOOK_post_mapif_parse_mercenary_delete) (int *fd, int *merc_id);
+typedef void (*HPMHOOK_post_mapif_parse_mercenary_delete) (int fd, int merc_id);
typedef void (*HPMHOOK_pre_mapif_mercenary_saved) (int *fd, unsigned char *flag);
-typedef void (*HPMHOOK_post_mapif_mercenary_saved) (int *fd, unsigned char *flag);
+typedef void (*HPMHOOK_post_mapif_mercenary_saved) (int fd, unsigned char flag);
typedef void (*HPMHOOK_pre_mapif_parse_mercenary_save) (int *fd, const struct s_mercenary *merc);
-typedef void (*HPMHOOK_post_mapif_parse_mercenary_save) (int *fd, const struct s_mercenary *merc);
+typedef void (*HPMHOOK_post_mapif_parse_mercenary_save) (int fd, const struct s_mercenary *merc);
typedef int (*HPMHOOK_pre_mapif_party_created) (int *fd, int *account_id, int *char_id, struct party *p);
-typedef int (*HPMHOOK_post_mapif_party_created) (int retVal___, int *fd, int *account_id, int *char_id, struct party *p);
+typedef int (*HPMHOOK_post_mapif_party_created) (int retVal___, int fd, int account_id, int char_id, struct party *p);
typedef void (*HPMHOOK_pre_mapif_party_noinfo) (int *fd, int *party_id, int *char_id);
-typedef void (*HPMHOOK_post_mapif_party_noinfo) (int *fd, int *party_id, int *char_id);
+typedef void (*HPMHOOK_post_mapif_party_noinfo) (int fd, int party_id, int char_id);
typedef void (*HPMHOOK_pre_mapif_party_info) (int *fd, struct party *p, int *char_id);
-typedef void (*HPMHOOK_post_mapif_party_info) (int *fd, struct party *p, int *char_id);
+typedef void (*HPMHOOK_post_mapif_party_info) (int fd, struct party *p, int char_id);
typedef int (*HPMHOOK_pre_mapif_party_memberadded) (int *fd, int *party_id, int *account_id, int *char_id, int *flag);
-typedef int (*HPMHOOK_post_mapif_party_memberadded) (int retVal___, int *fd, int *party_id, int *account_id, int *char_id, int *flag);
+typedef int (*HPMHOOK_post_mapif_party_memberadded) (int retVal___, int fd, int party_id, int account_id, int char_id, int flag);
typedef int (*HPMHOOK_pre_mapif_party_optionchanged) (int *fd, struct party *p, int *account_id, int *flag);
-typedef int (*HPMHOOK_post_mapif_party_optionchanged) (int retVal___, int *fd, struct party *p, int *account_id, int *flag);
+typedef int (*HPMHOOK_post_mapif_party_optionchanged) (int retVal___, int fd, struct party *p, int account_id, int flag);
typedef int (*HPMHOOK_pre_mapif_party_withdraw) (int *party_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_mapif_party_withdraw) (int retVal___, int *party_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_mapif_party_withdraw) (int retVal___, int party_id, int account_id, int char_id);
typedef int (*HPMHOOK_pre_mapif_party_membermoved) (struct party *p, int *idx);
-typedef int (*HPMHOOK_post_mapif_party_membermoved) (int retVal___, struct party *p, int *idx);
+typedef int (*HPMHOOK_post_mapif_party_membermoved) (int retVal___, struct party *p, int idx);
typedef int (*HPMHOOK_pre_mapif_party_broken) (int *party_id, int *flag);
-typedef int (*HPMHOOK_post_mapif_party_broken) (int retVal___, int *party_id, int *flag);
+typedef int (*HPMHOOK_post_mapif_party_broken) (int retVal___, int party_id, int flag);
typedef int (*HPMHOOK_pre_mapif_party_message) (int *party_id, int *account_id, const char *mes, int *len, int *sfd);
-typedef int (*HPMHOOK_post_mapif_party_message) (int retVal___, int *party_id, int *account_id, const char *mes, int *len, int *sfd);
+typedef int (*HPMHOOK_post_mapif_party_message) (int retVal___, int party_id, int account_id, const char *mes, int len, int sfd);
typedef int (*HPMHOOK_pre_mapif_parse_CreateParty) (int *fd, const char *name, int *item, int *item2, const struct party_member *leader);
-typedef int (*HPMHOOK_post_mapif_parse_CreateParty) (int retVal___, int *fd, const char *name, int *item, int *item2, const struct party_member *leader);
+typedef int (*HPMHOOK_post_mapif_parse_CreateParty) (int retVal___, int fd, const char *name, int item, int item2, const struct party_member *leader);
typedef void (*HPMHOOK_pre_mapif_parse_PartyInfo) (int *fd, int *party_id, int *char_id);
-typedef void (*HPMHOOK_post_mapif_parse_PartyInfo) (int *fd, int *party_id, int *char_id);
+typedef void (*HPMHOOK_post_mapif_parse_PartyInfo) (int fd, int party_id, int char_id);
typedef int (*HPMHOOK_pre_mapif_parse_PartyAddMember) (int *fd, int *party_id, const struct party_member *member);
-typedef int (*HPMHOOK_post_mapif_parse_PartyAddMember) (int retVal___, int *fd, int *party_id, const struct party_member *member);
+typedef int (*HPMHOOK_post_mapif_parse_PartyAddMember) (int retVal___, int fd, int party_id, const struct party_member *member);
typedef int (*HPMHOOK_pre_mapif_parse_PartyChangeOption) (int *fd, int *party_id, int *account_id, int *exp, int *item);
-typedef int (*HPMHOOK_post_mapif_parse_PartyChangeOption) (int retVal___, int *fd, int *party_id, int *account_id, int *exp, int *item);
+typedef int (*HPMHOOK_post_mapif_parse_PartyChangeOption) (int retVal___, int fd, int party_id, int account_id, int exp, int item);
typedef int (*HPMHOOK_pre_mapif_parse_PartyLeave) (int *fd, int *party_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_mapif_parse_PartyLeave) (int retVal___, int *fd, int *party_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_mapif_parse_PartyLeave) (int retVal___, int fd, int party_id, int account_id, int char_id);
typedef int (*HPMHOOK_pre_mapif_parse_PartyChangeMap) (int *fd, int *party_id, int *account_id, int *char_id, unsigned short *map, int *online, unsigned int *lv);
-typedef int (*HPMHOOK_post_mapif_parse_PartyChangeMap) (int retVal___, int *fd, int *party_id, int *account_id, int *char_id, unsigned short *map, int *online, unsigned int *lv);
+typedef int (*HPMHOOK_post_mapif_parse_PartyChangeMap) (int retVal___, int fd, int party_id, int account_id, int char_id, unsigned short map, int online, unsigned int lv);
typedef int (*HPMHOOK_pre_mapif_parse_BreakParty) (int *fd, int *party_id);
-typedef int (*HPMHOOK_post_mapif_parse_BreakParty) (int retVal___, int *fd, int *party_id);
+typedef int (*HPMHOOK_post_mapif_parse_BreakParty) (int retVal___, int fd, int party_id);
typedef int (*HPMHOOK_pre_mapif_parse_PartyMessage) (int *fd, int *party_id, int *account_id, const char *mes, int *len);
-typedef int (*HPMHOOK_post_mapif_parse_PartyMessage) (int retVal___, int *fd, int *party_id, int *account_id, const char *mes, int *len);
+typedef int (*HPMHOOK_post_mapif_parse_PartyMessage) (int retVal___, int fd, int party_id, int account_id, const char *mes, int len);
typedef int (*HPMHOOK_pre_mapif_parse_PartyLeaderChange) (int *fd, int *party_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_mapif_parse_PartyLeaderChange) (int retVal___, int *fd, int *party_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_mapif_parse_PartyLeaderChange) (int retVal___, int fd, int party_id, int account_id, int char_id);
typedef int (*HPMHOOK_pre_mapif_pet_created) (int *fd, int *account_id, struct s_pet *p);
-typedef int (*HPMHOOK_post_mapif_pet_created) (int retVal___, int *fd, int *account_id, struct s_pet *p);
+typedef int (*HPMHOOK_post_mapif_pet_created) (int retVal___, int fd, int account_id, struct s_pet *p);
typedef int (*HPMHOOK_pre_mapif_pet_info) (int *fd, int *account_id, struct s_pet *p);
-typedef int (*HPMHOOK_post_mapif_pet_info) (int retVal___, int *fd, int *account_id, struct s_pet *p);
+typedef int (*HPMHOOK_post_mapif_pet_info) (int retVal___, int fd, int account_id, struct s_pet *p);
typedef int (*HPMHOOK_pre_mapif_pet_noinfo) (int *fd, int *account_id);
-typedef int (*HPMHOOK_post_mapif_pet_noinfo) (int retVal___, int *fd, int *account_id);
+typedef int (*HPMHOOK_post_mapif_pet_noinfo) (int retVal___, int fd, int account_id);
typedef int (*HPMHOOK_pre_mapif_save_pet_ack) (int *fd, int *account_id, int *flag);
-typedef int (*HPMHOOK_post_mapif_save_pet_ack) (int retVal___, int *fd, int *account_id, int *flag);
+typedef int (*HPMHOOK_post_mapif_save_pet_ack) (int retVal___, int fd, int account_id, int flag);
typedef int (*HPMHOOK_pre_mapif_delete_pet_ack) (int *fd, int *flag);
-typedef int (*HPMHOOK_post_mapif_delete_pet_ack) (int retVal___, int *fd, int *flag);
+typedef int (*HPMHOOK_post_mapif_delete_pet_ack) (int retVal___, int fd, int flag);
typedef int (*HPMHOOK_pre_mapif_create_pet) (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);
-typedef int (*HPMHOOK_post_mapif_create_pet) (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);
+typedef int (*HPMHOOK_post_mapif_create_pet) (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);
typedef int (*HPMHOOK_pre_mapif_load_pet) (int *fd, int *account_id, int *char_id, int *pet_id);
-typedef int (*HPMHOOK_post_mapif_load_pet) (int retVal___, int *fd, int *account_id, int *char_id, int *pet_id);
+typedef int (*HPMHOOK_post_mapif_load_pet) (int retVal___, int fd, int account_id, int char_id, int pet_id);
typedef int (*HPMHOOK_pre_mapif_save_pet) (int *fd, int *account_id, const struct s_pet *data);
-typedef int (*HPMHOOK_post_mapif_save_pet) (int retVal___, int *fd, int *account_id, const struct s_pet *data);
+typedef int (*HPMHOOK_post_mapif_save_pet) (int retVal___, int fd, int account_id, const struct s_pet *data);
typedef int (*HPMHOOK_pre_mapif_delete_pet) (int *fd, int *pet_id);
-typedef int (*HPMHOOK_post_mapif_delete_pet) (int retVal___, int *fd, int *pet_id);
+typedef int (*HPMHOOK_post_mapif_delete_pet) (int retVal___, int fd, int pet_id);
typedef int (*HPMHOOK_pre_mapif_parse_CreatePet) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_CreatePet) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_CreatePet) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_LoadPet) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_LoadPet) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_LoadPet) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_SavePet) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_SavePet) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_SavePet) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_DeletePet) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_DeletePet) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_DeletePet) (int retVal___, int fd);
typedef struct quest* (*HPMHOOK_pre_mapif_quests_fromsql) (int *char_id, int *count);
-typedef struct quest* (*HPMHOOK_post_mapif_quests_fromsql) (struct quest* retVal___, int *char_id, int *count);
+typedef struct quest* (*HPMHOOK_post_mapif_quests_fromsql) (struct quest* retVal___, int char_id, int *count);
typedef bool (*HPMHOOK_pre_mapif_quest_delete) (int *char_id, int *quest_id);
-typedef bool (*HPMHOOK_post_mapif_quest_delete) (bool retVal___, int *char_id, int *quest_id);
+typedef bool (*HPMHOOK_post_mapif_quest_delete) (bool retVal___, int char_id, int quest_id);
typedef bool (*HPMHOOK_pre_mapif_quest_add) (int *char_id, struct quest *qd);
-typedef bool (*HPMHOOK_post_mapif_quest_add) (bool retVal___, int *char_id, struct quest *qd);
+typedef bool (*HPMHOOK_post_mapif_quest_add) (bool retVal___, int char_id, struct quest qd);
typedef bool (*HPMHOOK_pre_mapif_quest_update) (int *char_id, struct quest *qd);
-typedef bool (*HPMHOOK_post_mapif_quest_update) (bool retVal___, int *char_id, struct quest *qd);
+typedef bool (*HPMHOOK_post_mapif_quest_update) (bool retVal___, int char_id, struct quest qd);
typedef void (*HPMHOOK_pre_mapif_quest_save_ack) (int *fd, int *char_id, bool *success);
-typedef void (*HPMHOOK_post_mapif_quest_save_ack) (int *fd, int *char_id, bool *success);
+typedef void (*HPMHOOK_post_mapif_quest_save_ack) (int fd, int char_id, bool success);
typedef int (*HPMHOOK_pre_mapif_parse_quest_save) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_quest_save) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_quest_save) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_mapif_send_quests) (int *fd, int *char_id, struct quest *tmp_questlog, int *num_quests);
-typedef void (*HPMHOOK_post_mapif_send_quests) (int *fd, int *char_id, struct quest *tmp_questlog, int *num_quests);
+typedef void (*HPMHOOK_post_mapif_send_quests) (int fd, int char_id, struct quest *tmp_questlog, int num_quests);
typedef int (*HPMHOOK_pre_mapif_parse_quest_load) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_quest_load) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_quest_load) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_load_guild_storage) (int *fd, int *account_id, int *guild_id, char *flag);
-typedef int (*HPMHOOK_post_mapif_load_guild_storage) (int retVal___, int *fd, int *account_id, int *guild_id, char *flag);
+typedef int (*HPMHOOK_post_mapif_load_guild_storage) (int retVal___, int fd, int account_id, int guild_id, char flag);
typedef int (*HPMHOOK_pre_mapif_save_guild_storage_ack) (int *fd, int *account_id, int *guild_id, int *fail);
-typedef int (*HPMHOOK_post_mapif_save_guild_storage_ack) (int retVal___, int *fd, int *account_id, int *guild_id, int *fail);
+typedef int (*HPMHOOK_post_mapif_save_guild_storage_ack) (int retVal___, int fd, int account_id, int guild_id, int fail);
typedef int (*HPMHOOK_pre_mapif_parse_LoadGuildStorage) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_LoadGuildStorage) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_LoadGuildStorage) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_SaveGuildStorage) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_SaveGuildStorage) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_SaveGuildStorage) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_itembound_ack) (int *fd, int *aid, int *guild_id);
-typedef int (*HPMHOOK_post_mapif_itembound_ack) (int retVal___, int *fd, int *aid, int *guild_id);
+typedef int (*HPMHOOK_post_mapif_itembound_ack) (int retVal___, int fd, int aid, int guild_id);
typedef int (*HPMHOOK_pre_mapif_parse_ItemBoundRetrieve_sub) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_ItemBoundRetrieve_sub) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_ItemBoundRetrieve_sub) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_mapif_parse_ItemBoundRetrieve) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_ItemBoundRetrieve) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_ItemBoundRetrieve) (int fd);
typedef void (*HPMHOOK_pre_mapif_parse_accinfo) (int *fd);
-typedef void (*HPMHOOK_post_mapif_parse_accinfo) (int *fd);
+typedef void (*HPMHOOK_post_mapif_parse_accinfo) (int fd);
typedef void (*HPMHOOK_pre_mapif_parse_accinfo2) (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);
-typedef void (*HPMHOOK_post_mapif_parse_accinfo2) (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);
+typedef void (*HPMHOOK_post_mapif_parse_accinfo2) (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);
typedef int (*HPMHOOK_pre_mapif_broadcast) (const unsigned char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY, int *sfd);
-typedef int (*HPMHOOK_post_mapif_broadcast) (int retVal___, const unsigned char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY, int *sfd);
+typedef int (*HPMHOOK_post_mapif_broadcast) (int retVal___, const unsigned char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY, int sfd);
typedef int (*HPMHOOK_pre_mapif_wis_message) (struct WisData *wd);
typedef int (*HPMHOOK_post_mapif_wis_message) (int retVal___, struct WisData *wd);
typedef void (*HPMHOOK_pre_mapif_wis_response) (int *fd, const unsigned char *src, int *flag);
-typedef void (*HPMHOOK_post_mapif_wis_response) (int *fd, const unsigned char *src, int *flag);
+typedef void (*HPMHOOK_post_mapif_wis_response) (int fd, const unsigned char *src, int flag);
typedef int (*HPMHOOK_pre_mapif_wis_end) (struct WisData *wd, int *flag);
-typedef int (*HPMHOOK_post_mapif_wis_end) (int retVal___, struct WisData *wd, int *flag);
+typedef int (*HPMHOOK_post_mapif_wis_end) (int retVal___, struct WisData *wd, int flag);
typedef int (*HPMHOOK_pre_mapif_account_reg_reply) (int *fd, int *account_id, int *char_id, int *type);
-typedef int (*HPMHOOK_post_mapif_account_reg_reply) (int retVal___, int *fd, int *account_id, int *char_id, int *type);
+typedef int (*HPMHOOK_post_mapif_account_reg_reply) (int retVal___, int fd, int account_id, int char_id, int type);
typedef int (*HPMHOOK_pre_mapif_disconnectplayer) (int *fd, int *account_id, int *char_id, int *reason);
-typedef int (*HPMHOOK_post_mapif_disconnectplayer) (int retVal___, int *fd, int *account_id, int *char_id, int *reason);
+typedef int (*HPMHOOK_post_mapif_disconnectplayer) (int retVal___, int fd, int account_id, int char_id, int reason);
typedef int (*HPMHOOK_pre_mapif_parse_broadcast) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_broadcast) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_broadcast) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_WisRequest) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_WisRequest) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_WisRequest) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_WisReply) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_WisReply) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_WisReply) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_WisToGM) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_WisToGM) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_WisToGM) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_Registry) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_Registry) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_Registry) (int retVal___, int fd);
typedef int (*HPMHOOK_pre_mapif_parse_RegistryRequest) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_RegistryRequest) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_RegistryRequest) (int retVal___, int fd);
typedef void (*HPMHOOK_pre_mapif_namechange_ack) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *name);
-typedef void (*HPMHOOK_post_mapif_namechange_ack) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *name);
+typedef void (*HPMHOOK_post_mapif_namechange_ack) (int fd, int account_id, int char_id, int type, int flag, const char *name);
typedef int (*HPMHOOK_pre_mapif_parse_NameChangeRequest) (int *fd);
-typedef int (*HPMHOOK_post_mapif_parse_NameChangeRequest) (int retVal___, int *fd);
+typedef int (*HPMHOOK_post_mapif_parse_NameChangeRequest) (int retVal___, int fd);
#endif // CHAR_MAPIF_H
#ifdef COMMON_MAPINDEX_H /* mapindex */
typedef int (*HPMHOOK_pre_mapindex_init) (void);
@@ -4361,9 +4361,9 @@ typedef int (*HPMHOOK_post_mapindex_init) (int retVal___);
typedef void (*HPMHOOK_pre_mapindex_final) (void);
typedef void (*HPMHOOK_post_mapindex_final) (void);
typedef int (*HPMHOOK_pre_mapindex_addmap) (int *index, const char *name);
-typedef int (*HPMHOOK_post_mapindex_addmap) (int retVal___, int *index, const char *name);
+typedef int (*HPMHOOK_post_mapindex_addmap) (int retVal___, int index, const char *name);
typedef void (*HPMHOOK_pre_mapindex_removemap) (int *index);
-typedef void (*HPMHOOK_post_mapindex_removemap) (int *index);
+typedef void (*HPMHOOK_post_mapindex_removemap) (int index);
typedef const char* (*HPMHOOK_pre_mapindex_getmapname) (const char *string, char *output);
typedef const char* (*HPMHOOK_post_mapindex_getmapname) (const char* retVal___, const char *string, char *output);
typedef const char* (*HPMHOOK_pre_mapindex_getmapname_ext) (const char *string, char *output);
@@ -4371,13 +4371,13 @@ typedef const char* (*HPMHOOK_post_mapindex_getmapname_ext) (const char* retVal_
typedef unsigned short (*HPMHOOK_pre_mapindex_name2id) (const char *p1);
typedef unsigned short (*HPMHOOK_post_mapindex_name2id) (unsigned short retVal___, const char *p1);
typedef const char* (*HPMHOOK_pre_mapindex_id2name) (uint16 *id, const char *file, int *line, const char *func);
-typedef const char* (*HPMHOOK_post_mapindex_id2name) (const char* retVal___, uint16 *id, const char *file, int *line, const char *func);
+typedef const char* (*HPMHOOK_post_mapindex_id2name) (const char* retVal___, uint16 id, const char *file, int line, const char *func);
typedef bool (*HPMHOOK_pre_mapindex_check_default) (void);
typedef bool (*HPMHOOK_post_mapindex_check_default) (bool retVal___);
#endif // COMMON_MAPINDEX_H
#ifdef MAP_MAP_H /* mapit */
typedef struct s_mapiterator* (*HPMHOOK_pre_mapit_alloc) (enum e_mapitflags *flags, enum bl_type *types);
-typedef struct s_mapiterator* (*HPMHOOK_post_mapit_alloc) (struct s_mapiterator* retVal___, enum e_mapitflags *flags, enum bl_type *types);
+typedef struct s_mapiterator* (*HPMHOOK_post_mapit_alloc) (struct s_mapiterator* retVal___, enum e_mapitflags flags, enum bl_type types);
typedef void (*HPMHOOK_pre_mapit_free) (struct s_mapiterator *iter);
typedef void (*HPMHOOK_post_mapit_free) (struct s_mapiterator *iter);
typedef struct block_list* (*HPMHOOK_pre_mapit_first) (struct s_mapiterator *iter);
@@ -4397,21 +4397,21 @@ typedef void (*HPMHOOK_post_mapreg_init) (void);
typedef void (*HPMHOOK_pre_mapreg_final) (void);
typedef void (*HPMHOOK_post_mapreg_final) (void);
typedef int (*HPMHOOK_pre_mapreg_readreg) (int64 *uid);
-typedef int (*HPMHOOK_post_mapreg_readreg) (int retVal___, int64 *uid);
+typedef int (*HPMHOOK_post_mapreg_readreg) (int retVal___, int64 uid);
typedef char* (*HPMHOOK_pre_mapreg_readregstr) (int64 *uid);
-typedef char* (*HPMHOOK_post_mapreg_readregstr) (char* retVal___, int64 *uid);
+typedef char* (*HPMHOOK_post_mapreg_readregstr) (char* retVal___, int64 uid);
typedef bool (*HPMHOOK_pre_mapreg_setreg) (int64 *uid, int *val);
-typedef bool (*HPMHOOK_post_mapreg_setreg) (bool retVal___, int64 *uid, int *val);
+typedef bool (*HPMHOOK_post_mapreg_setreg) (bool retVal___, int64 uid, int val);
typedef bool (*HPMHOOK_pre_mapreg_setregstr) (int64 *uid, const char *str);
-typedef bool (*HPMHOOK_post_mapreg_setregstr) (bool retVal___, int64 *uid, const char *str);
+typedef bool (*HPMHOOK_post_mapreg_setregstr) (bool retVal___, int64 uid, const char *str);
typedef void (*HPMHOOK_pre_mapreg_load) (void);
typedef void (*HPMHOOK_post_mapreg_load) (void);
typedef void (*HPMHOOK_pre_mapreg_save) (void);
typedef void (*HPMHOOK_post_mapreg_save) (void);
typedef int (*HPMHOOK_pre_mapreg_save_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mapreg_save_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mapreg_save_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_mapreg_destroyreg) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_mapreg_destroyreg) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_mapreg_destroyreg) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_mapreg_reload) (void);
typedef void (*HPMHOOK_post_mapreg_reload) (void);
typedef bool (*HPMHOOK_pre_mapreg_config_read) (const char *w1, const char *w2);
@@ -4419,23 +4419,23 @@ typedef bool (*HPMHOOK_post_mapreg_config_read) (bool retVal___, const char *w1,
#endif // MAP_MAPREG_H
#ifdef MAP_MERCENARY_H /* mercenary */
typedef void (*HPMHOOK_pre_mercenary_init) (bool *minimal);
-typedef void (*HPMHOOK_post_mercenary_init) (bool *minimal);
+typedef void (*HPMHOOK_post_mercenary_init) (bool minimal);
typedef bool (*HPMHOOK_pre_mercenary_class) (int *class_);
-typedef bool (*HPMHOOK_post_mercenary_class) (bool retVal___, int *class_);
+typedef bool (*HPMHOOK_post_mercenary_class) (bool retVal___, int class_);
typedef struct view_data* (*HPMHOOK_pre_mercenary_get_viewdata) (int *class_);
-typedef struct view_data* (*HPMHOOK_post_mercenary_get_viewdata) (struct view_data* retVal___, int *class_);
+typedef struct view_data* (*HPMHOOK_post_mercenary_get_viewdata) (struct view_data* retVal___, int class_);
typedef int (*HPMHOOK_pre_mercenary_create) (struct map_session_data *sd, int *class_, unsigned int *lifetime);
-typedef int (*HPMHOOK_post_mercenary_create) (int retVal___, struct map_session_data *sd, int *class_, unsigned int *lifetime);
+typedef int (*HPMHOOK_post_mercenary_create) (int retVal___, struct map_session_data *sd, int class_, unsigned int lifetime);
typedef int (*HPMHOOK_pre_mercenary_data_received) (const struct s_mercenary *merc, bool *flag);
-typedef int (*HPMHOOK_post_mercenary_data_received) (int retVal___, const struct s_mercenary *merc, bool *flag);
+typedef int (*HPMHOOK_post_mercenary_data_received) (int retVal___, const struct s_mercenary *merc, bool flag);
typedef int (*HPMHOOK_pre_mercenary_save) (struct mercenary_data *md);
typedef int (*HPMHOOK_post_mercenary_save) (int retVal___, struct mercenary_data *md);
typedef void (*HPMHOOK_pre_mercenary_heal) (struct mercenary_data *md, int *hp, int *sp);
-typedef void (*HPMHOOK_post_mercenary_heal) (struct mercenary_data *md, int *hp, int *sp);
+typedef void (*HPMHOOK_post_mercenary_heal) (struct mercenary_data *md, int hp, int sp);
typedef int (*HPMHOOK_pre_mercenary_dead) (struct mercenary_data *md);
typedef int (*HPMHOOK_post_mercenary_dead) (int retVal___, struct mercenary_data *md);
typedef int (*HPMHOOK_pre_mercenary_delete) (struct mercenary_data *md, int *reply);
-typedef int (*HPMHOOK_post_mercenary_delete) (int retVal___, struct mercenary_data *md, int *reply);
+typedef int (*HPMHOOK_post_mercenary_delete) (int retVal___, struct mercenary_data *md, int reply);
typedef void (*HPMHOOK_pre_mercenary_contract_stop) (struct mercenary_data *md);
typedef void (*HPMHOOK_post_mercenary_contract_stop) (struct mercenary_data *md);
typedef int (*HPMHOOK_pre_mercenary_get_lifetime) (struct mercenary_data *md);
@@ -4445,15 +4445,15 @@ typedef int (*HPMHOOK_post_mercenary_get_guild) (int retVal___, struct mercenary
typedef int (*HPMHOOK_pre_mercenary_get_faith) (struct mercenary_data *md);
typedef int (*HPMHOOK_post_mercenary_get_faith) (int retVal___, struct mercenary_data *md);
typedef int (*HPMHOOK_pre_mercenary_set_faith) (struct mercenary_data *md, int *value);
-typedef int (*HPMHOOK_post_mercenary_set_faith) (int retVal___, struct mercenary_data *md, int *value);
+typedef int (*HPMHOOK_post_mercenary_set_faith) (int retVal___, struct mercenary_data *md, int value);
typedef int (*HPMHOOK_pre_mercenary_get_calls) (struct mercenary_data *md);
typedef int (*HPMHOOK_post_mercenary_get_calls) (int retVal___, struct mercenary_data *md);
typedef int (*HPMHOOK_pre_mercenary_set_calls) (struct mercenary_data *md, int *value);
-typedef int (*HPMHOOK_post_mercenary_set_calls) (int retVal___, struct mercenary_data *md, int *value);
+typedef int (*HPMHOOK_post_mercenary_set_calls) (int retVal___, struct mercenary_data *md, int value);
typedef int (*HPMHOOK_pre_mercenary_kills) (struct mercenary_data *md);
typedef int (*HPMHOOK_post_mercenary_kills) (int retVal___, struct mercenary_data *md);
typedef int (*HPMHOOK_pre_mercenary_checkskill) (struct mercenary_data *md, uint16 *skill_id);
-typedef int (*HPMHOOK_post_mercenary_checkskill) (int retVal___, struct mercenary_data *md, uint16 *skill_id);
+typedef int (*HPMHOOK_post_mercenary_checkskill) (int retVal___, struct mercenary_data *md, uint16 skill_id);
typedef int (*HPMHOOK_pre_mercenary_read_db) (void);
typedef int (*HPMHOOK_post_mercenary_read_db) (int retVal___);
typedef int (*HPMHOOK_pre_mercenary_read_skilldb) (void);
@@ -4461,69 +4461,69 @@ typedef int (*HPMHOOK_post_mercenary_read_skilldb) (int retVal___);
typedef int (*HPMHOOK_pre_mercenary_killbonus) (struct mercenary_data *md);
typedef int (*HPMHOOK_post_mercenary_killbonus) (int retVal___, struct mercenary_data *md);
typedef int (*HPMHOOK_pre_mercenary_search_index) (int *class_);
-typedef int (*HPMHOOK_post_mercenary_search_index) (int retVal___, int *class_);
+typedef int (*HPMHOOK_post_mercenary_search_index) (int retVal___, int class_);
typedef int (*HPMHOOK_pre_mercenary_contract_end_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mercenary_contract_end_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mercenary_contract_end_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef bool (*HPMHOOK_pre_mercenary_read_db_sub) (char *str[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_mercenary_read_db_sub) (bool retVal___, char *str[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_mercenary_read_db_sub) (bool retVal___, char *str[], int columns, int current);
typedef bool (*HPMHOOK_pre_mercenary_read_skill_db_sub) (char *str[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_mercenary_read_skill_db_sub) (bool retVal___, char *str[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_mercenary_read_skill_db_sub) (bool retVal___, char *str[], int columns, int current);
#endif // MAP_MERCENARY_H
#ifdef MAP_MOB_H /* mob */
typedef int (*HPMHOOK_pre_mob_init) (bool *mimimal);
-typedef int (*HPMHOOK_post_mob_init) (int retVal___, bool *mimimal);
+typedef int (*HPMHOOK_post_mob_init) (int retVal___, bool mimimal);
typedef int (*HPMHOOK_pre_mob_final) (void);
typedef int (*HPMHOOK_post_mob_final) (int retVal___);
typedef void (*HPMHOOK_pre_mob_reload) (void);
typedef void (*HPMHOOK_post_mob_reload) (void);
typedef struct mob_db* (*HPMHOOK_pre_mob_db) (int *index);
-typedef struct mob_db* (*HPMHOOK_post_mob_db) (struct mob_db* retVal___, int *index);
+typedef struct mob_db* (*HPMHOOK_post_mob_db) (struct mob_db* retVal___, int index);
typedef struct mob_chat* (*HPMHOOK_pre_mob_chat) (short *id);
-typedef struct mob_chat* (*HPMHOOK_post_mob_chat) (struct mob_chat* retVal___, short *id);
+typedef struct mob_chat* (*HPMHOOK_post_mob_chat) (struct mob_chat* retVal___, short id);
typedef int (*HPMHOOK_pre_mob_makedummymobdb) (int *p1);
-typedef int (*HPMHOOK_post_mob_makedummymobdb) (int retVal___, int *p1);
+typedef int (*HPMHOOK_post_mob_makedummymobdb) (int retVal___, int p1);
typedef int (*HPMHOOK_pre_mob_spawn_guardian_sub) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mob_spawn_guardian_sub) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mob_spawn_guardian_sub) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_mob_skill_id2skill_idx) (int *class_, uint16 *skill_id);
-typedef int (*HPMHOOK_post_mob_skill_id2skill_idx) (int retVal___, int *class_, uint16 *skill_id);
+typedef int (*HPMHOOK_post_mob_skill_id2skill_idx) (int retVal___, int class_, uint16 skill_id);
typedef int (*HPMHOOK_pre_mob_db_searchname) (const char *str);
typedef int (*HPMHOOK_post_mob_db_searchname) (int retVal___, const char *str);
typedef int (*HPMHOOK_pre_mob_db_searchname_array_sub) (struct mob_db *monster, const char *str, int *flag);
-typedef int (*HPMHOOK_post_mob_db_searchname_array_sub) (int retVal___, struct mob_db *monster, const char *str, int *flag);
+typedef int (*HPMHOOK_post_mob_db_searchname_array_sub) (int retVal___, struct mob_db *monster, const char *str, int flag);
typedef void (*HPMHOOK_pre_mob_mvptomb_create) (struct mob_data *md, char *killer, time_t *time);
-typedef void (*HPMHOOK_post_mob_mvptomb_create) (struct mob_data *md, char *killer, time_t *time);
+typedef void (*HPMHOOK_post_mob_mvptomb_create) (struct mob_data *md, char *killer, time_t time);
typedef void (*HPMHOOK_pre_mob_mvptomb_destroy) (struct mob_data *md);
typedef void (*HPMHOOK_post_mob_mvptomb_destroy) (struct mob_data *md);
typedef int (*HPMHOOK_pre_mob_db_searchname_array) (struct mob_db **data, int *size, const char *str, int *flag);
-typedef int (*HPMHOOK_post_mob_db_searchname_array) (int retVal___, struct mob_db **data, int *size, const char *str, int *flag);
+typedef int (*HPMHOOK_post_mob_db_searchname_array) (int retVal___, struct mob_db **data, int size, const char *str, int flag);
typedef int (*HPMHOOK_pre_mob_db_checkid) (const int *id);
-typedef int (*HPMHOOK_post_mob_db_checkid) (int retVal___, const int *id);
+typedef int (*HPMHOOK_post_mob_db_checkid) (int retVal___, const int id);
typedef struct view_data* (*HPMHOOK_pre_mob_get_viewdata) (int *class_);
-typedef struct view_data* (*HPMHOOK_post_mob_get_viewdata) (struct view_data* retVal___, int *class_);
+typedef struct view_data* (*HPMHOOK_post_mob_get_viewdata) (struct view_data* retVal___, int class_);
typedef int (*HPMHOOK_pre_mob_parse_dataset) (struct spawn_data *data);
typedef int (*HPMHOOK_post_mob_parse_dataset) (int retVal___, struct spawn_data *data);
typedef struct mob_data* (*HPMHOOK_pre_mob_spawn_dataset) (struct spawn_data *data);
typedef struct mob_data* (*HPMHOOK_post_mob_spawn_dataset) (struct mob_data* retVal___, struct spawn_data *data);
typedef int (*HPMHOOK_pre_mob_get_random_id) (int *type, int *flag, int *lv);
-typedef int (*HPMHOOK_post_mob_get_random_id) (int retVal___, int *type, int *flag, int *lv);
+typedef int (*HPMHOOK_post_mob_get_random_id) (int retVal___, int type, int flag, int lv);
typedef bool (*HPMHOOK_pre_mob_ksprotected) (struct block_list *src, struct block_list *target);
typedef bool (*HPMHOOK_post_mob_ksprotected) (bool retVal___, struct block_list *src, struct block_list *target);
typedef struct mob_data* (*HPMHOOK_pre_mob_once_spawn_sub) (struct block_list *bl, int16 *m, int16 *x, int16 *y, const char *mobname, int *class_, const char *event, unsigned int *size, unsigned int *ai);
-typedef struct mob_data* (*HPMHOOK_post_mob_once_spawn_sub) (struct mob_data* retVal___, struct block_list *bl, int16 *m, int16 *x, int16 *y, const char *mobname, int *class_, const char *event, unsigned int *size, unsigned int *ai);
+typedef struct mob_data* (*HPMHOOK_post_mob_once_spawn_sub) (struct mob_data* retVal___, struct block_list *bl, int16 m, int16 x, int16 y, const char *mobname, int class_, const char *event, unsigned int size, unsigned int ai);
typedef int (*HPMHOOK_pre_mob_once_spawn) (struct map_session_data *sd, int16 *m, int16 *x, int16 *y, const char *mobname, int *class_, int *amount, const char *event, unsigned int *size, unsigned int *ai);
-typedef int (*HPMHOOK_post_mob_once_spawn) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x, int16 *y, const char *mobname, int *class_, int *amount, const char *event, unsigned int *size, unsigned int *ai);
+typedef int (*HPMHOOK_post_mob_once_spawn) (int retVal___, struct map_session_data *sd, int16 m, int16 x, int16 y, const char *mobname, int class_, int amount, const char *event, unsigned int size, unsigned int ai);
typedef int (*HPMHOOK_pre_mob_once_spawn_area) (struct map_session_data *sd, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, const char *mobname, int *class_, int *amount, const char *event, unsigned int *size, unsigned int *ai);
-typedef int (*HPMHOOK_post_mob_once_spawn_area) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, const char *mobname, int *class_, int *amount, const char *event, unsigned int *size, unsigned int *ai);
+typedef int (*HPMHOOK_post_mob_once_spawn_area) (int retVal___, struct map_session_data *sd, int16 m, int16 x0, int16 y0, int16 x1, int16 y1, const char *mobname, int class_, int amount, const char *event, unsigned int size, unsigned int ai);
typedef int (*HPMHOOK_pre_mob_spawn_guardian) (const char *mapname, short *x, short *y, const char *mobname, int *class_, const char *event, int *guardian, bool *has_index);
-typedef int (*HPMHOOK_post_mob_spawn_guardian) (int retVal___, const char *mapname, short *x, short *y, const char *mobname, int *class_, const char *event, int *guardian, bool *has_index);
+typedef int (*HPMHOOK_post_mob_spawn_guardian) (int retVal___, const char *mapname, short x, short y, const char *mobname, int class_, const char *event, int guardian, bool has_index);
typedef int (*HPMHOOK_pre_mob_spawn_bg) (const char *mapname, short *x, short *y, const char *mobname, int *class_, const char *event, unsigned int *bg_id);
-typedef int (*HPMHOOK_post_mob_spawn_bg) (int retVal___, const char *mapname, short *x, short *y, const char *mobname, int *class_, const char *event, unsigned int *bg_id);
+typedef int (*HPMHOOK_post_mob_spawn_bg) (int retVal___, const char *mapname, short x, short y, const char *mobname, int class_, const char *event, unsigned int bg_id);
typedef int (*HPMHOOK_pre_mob_can_reach) (struct mob_data *md, struct block_list *bl, int *range, int *state);
-typedef int (*HPMHOOK_post_mob_can_reach) (int retVal___, struct mob_data *md, struct block_list *bl, int *range, int *state);
+typedef int (*HPMHOOK_post_mob_can_reach) (int retVal___, struct mob_data *md, struct block_list *bl, int range, int state);
typedef int (*HPMHOOK_pre_mob_linksearch) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_linksearch) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_mob_delayspawn) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mob_delayspawn) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mob_delayspawn) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_mob_setdelayspawn) (struct mob_data *md);
typedef int (*HPMHOOK_post_mob_setdelayspawn) (int retVal___, struct mob_data *md);
typedef int (*HPMHOOK_pre_mob_count_sub) (struct block_list *bl, va_list ap);
@@ -4531,9 +4531,9 @@ typedef int (*HPMHOOK_post_mob_count_sub) (int retVal___, struct block_list *bl,
typedef int (*HPMHOOK_pre_mob_spawn) (struct mob_data *md);
typedef int (*HPMHOOK_post_mob_spawn) (int retVal___, struct mob_data *md);
typedef int (*HPMHOOK_pre_mob_can_changetarget) (const struct mob_data *md, const struct block_list *target, uint32 *mode);
-typedef int (*HPMHOOK_post_mob_can_changetarget) (int retVal___, const struct mob_data *md, const struct block_list *target, uint32 *mode);
+typedef int (*HPMHOOK_post_mob_can_changetarget) (int retVal___, const struct mob_data *md, const struct block_list *target, uint32 mode);
typedef int (*HPMHOOK_pre_mob_target) (struct mob_data *md, struct block_list *bl, int *dist);
-typedef int (*HPMHOOK_post_mob_target) (int retVal___, struct mob_data *md, struct block_list *bl, int *dist);
+typedef int (*HPMHOOK_post_mob_target) (int retVal___, struct mob_data *md, struct block_list *bl, int dist);
typedef int (*HPMHOOK_pre_mob_ai_sub_hard_activesearch) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_ai_sub_hard_activesearch) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_mob_ai_sub_hard_changechase) (struct block_list *bl, va_list ap);
@@ -4545,15 +4545,15 @@ typedef int (*HPMHOOK_post_mob_ai_sub_hard_lootsearch) (int retVal___, struct bl
typedef int (*HPMHOOK_pre_mob_warpchase_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_warpchase_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_mob_ai_sub_hard_slavemob) (struct mob_data *md, int64 *tick);
-typedef int (*HPMHOOK_post_mob_ai_sub_hard_slavemob) (int retVal___, struct mob_data *md, int64 *tick);
+typedef int (*HPMHOOK_post_mob_ai_sub_hard_slavemob) (int retVal___, struct mob_data *md, int64 tick);
typedef int (*HPMHOOK_pre_mob_unlocktarget) (struct mob_data *md, int64 *tick);
-typedef int (*HPMHOOK_post_mob_unlocktarget) (int retVal___, struct mob_data *md, int64 *tick);
+typedef int (*HPMHOOK_post_mob_unlocktarget) (int retVal___, struct mob_data *md, int64 tick);
typedef int (*HPMHOOK_pre_mob_randomwalk) (struct mob_data *md, int64 *tick);
-typedef int (*HPMHOOK_post_mob_randomwalk) (int retVal___, struct mob_data *md, int64 *tick);
+typedef int (*HPMHOOK_post_mob_randomwalk) (int retVal___, struct mob_data *md, int64 tick);
typedef int (*HPMHOOK_pre_mob_warpchase) (struct mob_data *md, struct block_list *target);
typedef int (*HPMHOOK_post_mob_warpchase) (int retVal___, struct mob_data *md, struct block_list *target);
typedef bool (*HPMHOOK_pre_mob_ai_sub_hard) (struct mob_data *md, int64 *tick);
-typedef bool (*HPMHOOK_post_mob_ai_sub_hard) (bool retVal___, struct mob_data *md, int64 *tick);
+typedef bool (*HPMHOOK_post_mob_ai_sub_hard) (bool retVal___, struct mob_data *md, int64 tick);
typedef int (*HPMHOOK_pre_mob_ai_sub_hard_timer) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_ai_sub_hard_timer) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_mob_ai_sub_foreachclient) (struct map_session_data *sd, va_list ap);
@@ -4561,75 +4561,75 @@ typedef int (*HPMHOOK_post_mob_ai_sub_foreachclient) (int retVal___, struct map_
typedef int (*HPMHOOK_pre_mob_ai_sub_lazy) (struct mob_data *md, va_list args);
typedef int (*HPMHOOK_post_mob_ai_sub_lazy) (int retVal___, struct mob_data *md, va_list args);
typedef int (*HPMHOOK_pre_mob_ai_lazy) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mob_ai_lazy) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mob_ai_lazy) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_mob_ai_hard) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mob_ai_hard) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mob_ai_hard) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef struct item_drop* (*HPMHOOK_pre_mob_setdropitem) (int *nameid, int *qty, struct item_data *data);
-typedef struct item_drop* (*HPMHOOK_post_mob_setdropitem) (struct item_drop* retVal___, int *nameid, int *qty, struct item_data *data);
+typedef struct item_drop* (*HPMHOOK_post_mob_setdropitem) (struct item_drop* retVal___, int nameid, int qty, struct item_data *data);
typedef struct item_drop* (*HPMHOOK_pre_mob_setlootitem) (struct item *item);
typedef struct item_drop* (*HPMHOOK_post_mob_setlootitem) (struct item_drop* retVal___, struct item *item);
typedef int (*HPMHOOK_pre_mob_delay_item_drop) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mob_delay_item_drop) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mob_delay_item_drop) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_mob_item_drop) (struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int *loot, int *drop_rate, unsigned short *flag);
-typedef void (*HPMHOOK_post_mob_item_drop) (struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int *loot, int *drop_rate, unsigned short *flag);
+typedef void (*HPMHOOK_post_mob_item_drop) (struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int loot, int drop_rate, unsigned short flag);
typedef int (*HPMHOOK_pre_mob_timer_delete) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mob_timer_delete) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mob_timer_delete) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_mob_deleteslave_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_deleteslave_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_mob_deleteslave) (struct mob_data *md);
typedef int (*HPMHOOK_post_mob_deleteslave) (int retVal___, struct mob_data *md);
typedef int (*HPMHOOK_pre_mob_respawn) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_mob_respawn) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_mob_respawn) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_mob_log_damage) (struct mob_data *md, struct block_list *src, int *damage);
-typedef void (*HPMHOOK_post_mob_log_damage) (struct mob_data *md, struct block_list *src, int *damage);
+typedef void (*HPMHOOK_post_mob_log_damage) (struct mob_data *md, struct block_list *src, int damage);
typedef void (*HPMHOOK_pre_mob_damage) (struct mob_data *md, struct block_list *src, int *damage);
-typedef void (*HPMHOOK_post_mob_damage) (struct mob_data *md, struct block_list *src, int *damage);
+typedef void (*HPMHOOK_post_mob_damage) (struct mob_data *md, struct block_list *src, int damage);
typedef int (*HPMHOOK_pre_mob_dead) (struct mob_data *md, struct block_list *src, int *type);
-typedef int (*HPMHOOK_post_mob_dead) (int retVal___, struct mob_data *md, struct block_list *src, int *type);
+typedef int (*HPMHOOK_post_mob_dead) (int retVal___, struct mob_data *md, struct block_list *src, int type);
typedef void (*HPMHOOK_pre_mob_revive) (struct mob_data *md, unsigned int *hp);
-typedef void (*HPMHOOK_post_mob_revive) (struct mob_data *md, unsigned int *hp);
+typedef void (*HPMHOOK_post_mob_revive) (struct mob_data *md, unsigned int hp);
typedef int (*HPMHOOK_pre_mob_guardian_guildchange) (struct mob_data *md);
typedef int (*HPMHOOK_post_mob_guardian_guildchange) (int retVal___, struct mob_data *md);
typedef int (*HPMHOOK_pre_mob_random_class) (int *value, size_t *count);
-typedef int (*HPMHOOK_post_mob_random_class) (int retVal___, int *value, size_t *count);
+typedef int (*HPMHOOK_post_mob_random_class) (int retVal___, int *value, size_t count);
typedef int (*HPMHOOK_pre_mob_class_change) (struct mob_data *md, int *class_);
-typedef int (*HPMHOOK_post_mob_class_change) (int retVal___, struct mob_data *md, int *class_);
+typedef int (*HPMHOOK_post_mob_class_change) (int retVal___, struct mob_data *md, int class_);
typedef void (*HPMHOOK_pre_mob_heal) (struct mob_data *md, unsigned int *heal);
-typedef void (*HPMHOOK_post_mob_heal) (struct mob_data *md, unsigned int *heal);
+typedef void (*HPMHOOK_post_mob_heal) (struct mob_data *md, unsigned int heal);
typedef int (*HPMHOOK_pre_mob_warpslave_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_warpslave_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_mob_warpslave) (struct block_list *bl, int *range);
-typedef int (*HPMHOOK_post_mob_warpslave) (int retVal___, struct block_list *bl, int *range);
+typedef int (*HPMHOOK_post_mob_warpslave) (int retVal___, struct block_list *bl, int range);
typedef int (*HPMHOOK_pre_mob_countslave_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_countslave_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_mob_countslave) (struct block_list *bl);
typedef int (*HPMHOOK_post_mob_countslave) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_mob_summonslave) (struct mob_data *md2, int *value, int *amount, uint16 *skill_id);
-typedef int (*HPMHOOK_post_mob_summonslave) (int retVal___, struct mob_data *md2, int *value, int *amount, uint16 *skill_id);
+typedef int (*HPMHOOK_post_mob_summonslave) (int retVal___, struct mob_data *md2, int *value, int amount, uint16 skill_id);
typedef int (*HPMHOOK_pre_mob_getfriendhprate_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_getfriendhprate_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef struct block_list* (*HPMHOOK_pre_mob_getfriendhprate) (struct mob_data *md, int *min_rate, int *max_rate);
-typedef struct block_list* (*HPMHOOK_post_mob_getfriendhprate) (struct block_list* retVal___, struct mob_data *md, int *min_rate, int *max_rate);
+typedef struct block_list* (*HPMHOOK_post_mob_getfriendhprate) (struct block_list* retVal___, struct mob_data *md, int min_rate, int max_rate);
typedef struct block_list* (*HPMHOOK_pre_mob_getmasterhpltmaxrate) (struct mob_data *md, int *rate);
-typedef struct block_list* (*HPMHOOK_post_mob_getmasterhpltmaxrate) (struct block_list* retVal___, struct mob_data *md, int *rate);
+typedef struct block_list* (*HPMHOOK_post_mob_getmasterhpltmaxrate) (struct block_list* retVal___, struct mob_data *md, int rate);
typedef int (*HPMHOOK_pre_mob_getfriendstatus_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_mob_getfriendstatus_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef struct mob_data* (*HPMHOOK_pre_mob_getfriendstatus) (struct mob_data *md, int *cond1, int *cond2);
-typedef struct mob_data* (*HPMHOOK_post_mob_getfriendstatus) (struct mob_data* retVal___, struct mob_data *md, int *cond1, int *cond2);
+typedef struct mob_data* (*HPMHOOK_post_mob_getfriendstatus) (struct mob_data* retVal___, struct mob_data *md, int cond1, int cond2);
typedef int (*HPMHOOK_pre_mob_skill_use) (struct mob_data *md, int64 *tick, int *event);
-typedef int (*HPMHOOK_post_mob_skill_use) (int retVal___, struct mob_data *md, int64 *tick, int *event);
+typedef int (*HPMHOOK_post_mob_skill_use) (int retVal___, struct mob_data *md, int64 tick, int event);
typedef int (*HPMHOOK_pre_mob_skill_event) (struct mob_data *md, struct block_list *src, int64 *tick, int *flag);
-typedef int (*HPMHOOK_post_mob_skill_event) (int retVal___, struct mob_data *md, struct block_list *src, int64 *tick, int *flag);
+typedef int (*HPMHOOK_post_mob_skill_event) (int retVal___, struct mob_data *md, struct block_list *src, int64 tick, int flag);
typedef int (*HPMHOOK_pre_mob_is_clone) (int *class_);
-typedef int (*HPMHOOK_post_mob_is_clone) (int retVal___, int *class_);
+typedef int (*HPMHOOK_post_mob_is_clone) (int retVal___, int class_);
typedef int (*HPMHOOK_pre_mob_clone_spawn) (struct map_session_data *sd, int16 *m, int16 *x, int16 *y, const char *event, int *master_id, uint32 *mode, int *flag, unsigned int *duration);
-typedef int (*HPMHOOK_post_mob_clone_spawn) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x, int16 *y, const char *event, int *master_id, uint32 *mode, int *flag, unsigned int *duration);
+typedef int (*HPMHOOK_post_mob_clone_spawn) (int retVal___, struct map_session_data *sd, int16 m, int16 x, int16 y, const char *event, int master_id, uint32 mode, int flag, unsigned int duration);
typedef int (*HPMHOOK_pre_mob_clone_delete) (struct mob_data *md);
typedef int (*HPMHOOK_post_mob_clone_delete) (int retVal___, struct mob_data *md);
typedef unsigned int (*HPMHOOK_pre_mob_drop_adjust) (int *baserate, int *rate_adjust, unsigned short *rate_min, unsigned short *rate_max);
-typedef unsigned int (*HPMHOOK_post_mob_drop_adjust) (unsigned int retVal___, int *baserate, int *rate_adjust, unsigned short *rate_min, unsigned short *rate_max);
+typedef unsigned int (*HPMHOOK_post_mob_drop_adjust) (unsigned int retVal___, int baserate, int rate_adjust, unsigned short rate_min, unsigned short rate_max);
typedef void (*HPMHOOK_pre_mob_item_dropratio_adjust) (int *nameid, int *mob_id, int *rate_adjust);
-typedef void (*HPMHOOK_post_mob_item_dropratio_adjust) (int *nameid, int *mob_id, int *rate_adjust);
+typedef void (*HPMHOOK_post_mob_item_dropratio_adjust) (int nameid, int mob_id, int *rate_adjust);
typedef void (*HPMHOOK_pre_mob_readdb) (void);
typedef void (*HPMHOOK_post_mob_readdb) (void);
typedef bool (*HPMHOOK_pre_mob_lookup_const) (const struct config_setting_t *it, const char *name, int *value);
@@ -4637,13 +4637,13 @@ typedef bool (*HPMHOOK_post_mob_lookup_const) (bool retVal___, const struct conf
typedef bool (*HPMHOOK_pre_mob_get_const) (const struct config_setting_t *it, int *value);
typedef bool (*HPMHOOK_post_mob_get_const) (bool retVal___, const struct config_setting_t *it, int *value);
typedef int (*HPMHOOK_pre_mob_db_validate_entry) (struct mob_db *entry, int *n, const char *source);
-typedef int (*HPMHOOK_post_mob_db_validate_entry) (int retVal___, struct mob_db *entry, int *n, const char *source);
+typedef int (*HPMHOOK_post_mob_db_validate_entry) (int retVal___, struct mob_db *entry, int n, const char *source);
typedef int (*HPMHOOK_pre_mob_read_libconfig) (const char *filename, bool *ignore_missing);
-typedef int (*HPMHOOK_post_mob_read_libconfig) (int retVal___, const char *filename, bool *ignore_missing);
+typedef int (*HPMHOOK_post_mob_read_libconfig) (int retVal___, const char *filename, bool ignore_missing);
typedef void (*HPMHOOK_pre_mob_read_db_additional_fields) (struct mob_db *entry, struct config_setting_t *it, int *n, const char *source);
-typedef void (*HPMHOOK_post_mob_read_db_additional_fields) (struct mob_db *entry, struct config_setting_t *it, int *n, const char *source);
+typedef void (*HPMHOOK_post_mob_read_db_additional_fields) (struct mob_db *entry, struct config_setting_t *it, int n, const char *source);
typedef int (*HPMHOOK_pre_mob_read_db_sub) (struct config_setting_t *mobt, int *id, const char *source);
-typedef int (*HPMHOOK_post_mob_read_db_sub) (int retVal___, struct config_setting_t *mobt, int *id, const char *source);
+typedef int (*HPMHOOK_post_mob_read_db_sub) (int retVal___, struct config_setting_t *mobt, int id, const char *source);
typedef void (*HPMHOOK_pre_mob_read_db_drops_sub) (struct mob_db *entry, struct config_setting_t *t);
typedef void (*HPMHOOK_post_mob_read_db_drops_sub) (struct mob_db *entry, struct config_setting_t *t);
typedef void (*HPMHOOK_pre_mob_read_db_mvpdrops_sub) (struct mob_db *entry, struct config_setting_t *t);
@@ -4655,27 +4655,27 @@ typedef void (*HPMHOOK_post_mob_read_db_stats_sub) (struct mob_db *entry, struct
typedef void (*HPMHOOK_pre_mob_name_constants) (void);
typedef void (*HPMHOOK_post_mob_name_constants) (void);
typedef bool (*HPMHOOK_pre_mob_readdb_mobavail) (char *str[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_mob_readdb_mobavail) (bool retVal___, char *str[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_mob_readdb_mobavail) (bool retVal___, char *str[], int columns, int current);
typedef int (*HPMHOOK_pre_mob_read_randommonster) (void);
typedef int (*HPMHOOK_post_mob_read_randommonster) (int retVal___);
typedef bool (*HPMHOOK_pre_mob_parse_row_chatdb) (char **str, const char *source, int *line, int *last_msg_id);
-typedef bool (*HPMHOOK_post_mob_parse_row_chatdb) (bool retVal___, char **str, const char *source, int *line, int *last_msg_id);
+typedef bool (*HPMHOOK_post_mob_parse_row_chatdb) (bool retVal___, char **str, const char *source, int line, int *last_msg_id);
typedef void (*HPMHOOK_pre_mob_readchatdb) (void);
typedef void (*HPMHOOK_post_mob_readchatdb) (void);
typedef bool (*HPMHOOK_pre_mob_parse_row_mobskilldb) (char **str, int *columns, int *current);
-typedef bool (*HPMHOOK_post_mob_parse_row_mobskilldb) (bool retVal___, char **str, int *columns, int *current);
+typedef bool (*HPMHOOK_post_mob_parse_row_mobskilldb) (bool retVal___, char **str, int columns, int current);
typedef void (*HPMHOOK_pre_mob_readskilldb) (void);
typedef void (*HPMHOOK_post_mob_readskilldb) (void);
typedef bool (*HPMHOOK_pre_mob_readdb_race2) (char *fields[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_mob_readdb_race2) (bool retVal___, char *fields[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_mob_readdb_race2) (bool retVal___, char *fields[], int columns, int current);
typedef bool (*HPMHOOK_pre_mob_readdb_itemratio) (char *str[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_mob_readdb_itemratio) (bool retVal___, char *str[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_mob_readdb_itemratio) (bool retVal___, char *str[], int columns, int current);
typedef void (*HPMHOOK_pre_mob_load) (bool *minimal);
-typedef void (*HPMHOOK_post_mob_load) (bool *minimal);
+typedef void (*HPMHOOK_post_mob_load) (bool minimal);
typedef void (*HPMHOOK_pre_mob_clear_spawninfo) (void);
typedef void (*HPMHOOK_post_mob_clear_spawninfo) (void);
typedef void (*HPMHOOK_pre_mob_destroy_mob_db) (int *index);
-typedef void (*HPMHOOK_post_mob_destroy_mob_db) (int *index);
+typedef void (*HPMHOOK_post_mob_destroy_mob_db) (int index);
#endif // MAP_MOB_H
#ifdef MAP_NPC_H /* npc_chat */
typedef int (*HPMHOOK_pre_npc_chat_sub) (struct block_list *bl, va_list ap);
@@ -4683,29 +4683,29 @@ typedef int (*HPMHOOK_post_npc_chat_sub) (int retVal___, struct block_list *bl,
typedef void (*HPMHOOK_pre_npc_chat_finalize) (struct npc_data *nd);
typedef void (*HPMHOOK_post_npc_chat_finalize) (struct npc_data *nd);
typedef void (*HPMHOOK_pre_npc_chat_def_pattern) (struct npc_data *nd, int *setid, const char *pattern, const char *label);
-typedef void (*HPMHOOK_post_npc_chat_def_pattern) (struct npc_data *nd, int *setid, const char *pattern, const char *label);
+typedef void (*HPMHOOK_post_npc_chat_def_pattern) (struct npc_data *nd, int setid, const char *pattern, const char *label);
typedef struct pcrematch_entry* (*HPMHOOK_pre_npc_chat_create_pcrematch_entry) (struct pcrematch_set *set);
typedef struct pcrematch_entry* (*HPMHOOK_post_npc_chat_create_pcrematch_entry) (struct pcrematch_entry* retVal___, struct pcrematch_set *set);
typedef void (*HPMHOOK_pre_npc_chat_delete_pcreset) (struct npc_data *nd, int *setid);
-typedef void (*HPMHOOK_post_npc_chat_delete_pcreset) (struct npc_data *nd, int *setid);
+typedef void (*HPMHOOK_post_npc_chat_delete_pcreset) (struct npc_data *nd, int setid);
typedef void (*HPMHOOK_pre_npc_chat_deactivate_pcreset) (struct npc_data *nd, int *setid);
-typedef void (*HPMHOOK_post_npc_chat_deactivate_pcreset) (struct npc_data *nd, int *setid);
+typedef void (*HPMHOOK_post_npc_chat_deactivate_pcreset) (struct npc_data *nd, int setid);
typedef void (*HPMHOOK_pre_npc_chat_activate_pcreset) (struct npc_data *nd, int *setid);
-typedef void (*HPMHOOK_post_npc_chat_activate_pcreset) (struct npc_data *nd, int *setid);
+typedef void (*HPMHOOK_post_npc_chat_activate_pcreset) (struct npc_data *nd, int setid);
typedef struct pcrematch_set* (*HPMHOOK_pre_npc_chat_lookup_pcreset) (struct npc_data *nd, int *setid);
-typedef struct pcrematch_set* (*HPMHOOK_post_npc_chat_lookup_pcreset) (struct pcrematch_set* retVal___, struct npc_data *nd, int *setid);
+typedef struct pcrematch_set* (*HPMHOOK_post_npc_chat_lookup_pcreset) (struct pcrematch_set* retVal___, struct npc_data *nd, int setid);
typedef void (*HPMHOOK_pre_npc_chat_finalize_pcrematch_entry) (struct pcrematch_entry *e);
typedef void (*HPMHOOK_post_npc_chat_finalize_pcrematch_entry) (struct pcrematch_entry *e);
#endif // MAP_NPC_H
#ifdef MAP_NPC_H /* npc */
typedef int (*HPMHOOK_pre_npc_init) (bool *minimal);
-typedef int (*HPMHOOK_post_npc_init) (int retVal___, bool *minimal);
+typedef int (*HPMHOOK_post_npc_init) (int retVal___, bool minimal);
typedef int (*HPMHOOK_pre_npc_final) (void);
typedef int (*HPMHOOK_post_npc_final) (int retVal___);
typedef int (*HPMHOOK_pre_npc_get_new_npc_id) (void);
typedef int (*HPMHOOK_post_npc_get_new_npc_id) (int retVal___);
typedef struct view_data* (*HPMHOOK_pre_npc_get_viewdata) (int *class_);
-typedef struct view_data* (*HPMHOOK_post_npc_get_viewdata) (struct view_data* retVal___, int *class_);
+typedef struct view_data* (*HPMHOOK_post_npc_get_viewdata) (struct view_data* retVal___, int class_);
typedef int (*HPMHOOK_pre_npc_isnear_sub) (struct block_list *bl, va_list args);
typedef int (*HPMHOOK_post_npc_isnear_sub) (int retVal___, struct block_list *bl, va_list args);
typedef bool (*HPMHOOK_pre_npc_isnear) (struct block_list *bl);
@@ -4719,15 +4719,15 @@ typedef int (*HPMHOOK_post_npc_onuntouch_event) (int retVal___, struct map_sessi
typedef int (*HPMHOOK_pre_npc_enable_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_npc_enable_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_npc_enable) (const char *name, int *flag);
-typedef int (*HPMHOOK_post_npc_enable) (int retVal___, const char *name, int *flag);
+typedef int (*HPMHOOK_post_npc_enable) (int retVal___, const char *name, int flag);
typedef struct npc_data* (*HPMHOOK_pre_npc_name2id) (const char *name);
typedef struct npc_data* (*HPMHOOK_post_npc_name2id) (struct npc_data* retVal___, const char *name);
typedef int (*HPMHOOK_pre_npc_event_dequeue) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_npc_event_dequeue) (int retVal___, struct map_session_data *sd);
typedef struct DBData (*HPMHOOK_pre_npc_event_export_create) (union DBKey *key, va_list args);
-typedef struct DBData (*HPMHOOK_post_npc_event_export_create) (struct DBData retVal___, union DBKey *key, va_list args);
+typedef struct DBData (*HPMHOOK_post_npc_event_export_create) (struct DBData retVal___, union DBKey key, va_list args);
typedef int (*HPMHOOK_pre_npc_event_export) (struct npc_data *nd, int *i);
-typedef int (*HPMHOOK_post_npc_event_export) (int retVal___, struct npc_data *nd, int *i);
+typedef int (*HPMHOOK_post_npc_event_export) (int retVal___, struct npc_data *nd, int i);
typedef int (*HPMHOOK_pre_npc_event_sub) (struct map_session_data *sd, struct event_data *ev, const char *eventname);
typedef int (*HPMHOOK_post_npc_event_sub) (int retVal___, struct map_session_data *sd, struct event_data *ev, const char *eventname);
typedef void (*HPMHOOK_pre_npc_event_doall_sub) (void *key, void *data, va_list ap);
@@ -4735,19 +4735,19 @@ typedef void (*HPMHOOK_post_npc_event_doall_sub) (void *key, void *data, va_list
typedef int (*HPMHOOK_pre_npc_event_do) (const char *name);
typedef int (*HPMHOOK_post_npc_event_do) (int retVal___, const char *name);
typedef int (*HPMHOOK_pre_npc_event_doall_id) (const char *name, int *rid);
-typedef int (*HPMHOOK_post_npc_event_doall_id) (int retVal___, const char *name, int *rid);
+typedef int (*HPMHOOK_post_npc_event_doall_id) (int retVal___, const char *name, int rid);
typedef int (*HPMHOOK_pre_npc_event_doall) (const char *name);
typedef int (*HPMHOOK_post_npc_event_doall) (int retVal___, const char *name);
typedef int (*HPMHOOK_pre_npc_event_do_clock) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_npc_event_do_clock) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_npc_event_do_clock) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_npc_event_do_oninit) (bool *reload);
-typedef void (*HPMHOOK_post_npc_event_do_oninit) (bool *reload);
+typedef void (*HPMHOOK_post_npc_event_do_oninit) (bool reload);
typedef int (*HPMHOOK_pre_npc_timerevent_export) (struct npc_data *nd, int *i);
-typedef int (*HPMHOOK_post_npc_timerevent_export) (int retVal___, struct npc_data *nd, int *i);
+typedef int (*HPMHOOK_post_npc_timerevent_export) (int retVal___, struct npc_data *nd, int i);
typedef int (*HPMHOOK_pre_npc_timerevent) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_npc_timerevent) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_npc_timerevent) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_npc_timerevent_start) (struct npc_data *nd, int *rid);
-typedef int (*HPMHOOK_post_npc_timerevent_start) (int retVal___, struct npc_data *nd, int *rid);
+typedef int (*HPMHOOK_post_npc_timerevent_start) (int retVal___, struct npc_data *nd, int rid);
typedef int (*HPMHOOK_pre_npc_timerevent_stop) (struct npc_data *nd);
typedef int (*HPMHOOK_post_npc_timerevent_stop) (int retVal___, struct npc_data *nd);
typedef void (*HPMHOOK_pre_npc_timerevent_quit) (struct map_session_data *sd);
@@ -4755,21 +4755,21 @@ typedef void (*HPMHOOK_post_npc_timerevent_quit) (struct map_session_data *sd);
typedef int64 (*HPMHOOK_pre_npc_gettimerevent_tick) (struct npc_data *nd);
typedef int64 (*HPMHOOK_post_npc_gettimerevent_tick) (int64 retVal___, struct npc_data *nd);
typedef int (*HPMHOOK_pre_npc_settimerevent_tick) (struct npc_data *nd, int *newtimer);
-typedef int (*HPMHOOK_post_npc_settimerevent_tick) (int retVal___, struct npc_data *nd, int *newtimer);
+typedef int (*HPMHOOK_post_npc_settimerevent_tick) (int retVal___, struct npc_data *nd, int newtimer);
typedef int (*HPMHOOK_pre_npc_event) (struct map_session_data *sd, const char *eventname, int *ontouch);
-typedef int (*HPMHOOK_post_npc_event) (int retVal___, struct map_session_data *sd, const char *eventname, int *ontouch);
+typedef int (*HPMHOOK_post_npc_event) (int retVal___, struct map_session_data *sd, const char *eventname, int ontouch);
typedef int (*HPMHOOK_pre_npc_touch_areanpc_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_npc_touch_areanpc_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_npc_touchnext_areanpc) (struct map_session_data *sd, bool *leavemap);
-typedef int (*HPMHOOK_post_npc_touchnext_areanpc) (int retVal___, struct map_session_data *sd, bool *leavemap);
+typedef int (*HPMHOOK_post_npc_touchnext_areanpc) (int retVal___, struct map_session_data *sd, bool leavemap);
typedef int (*HPMHOOK_pre_npc_touch_areanpc) (struct map_session_data *sd, int16 *m, int16 *x, int16 *y);
-typedef int (*HPMHOOK_post_npc_touch_areanpc) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x, int16 *y);
+typedef int (*HPMHOOK_post_npc_touch_areanpc) (int retVal___, struct map_session_data *sd, int16 m, int16 x, int16 y);
typedef int (*HPMHOOK_pre_npc_untouch_areanpc) (struct map_session_data *sd, int16 *m, int16 *x, int16 *y);
-typedef int (*HPMHOOK_post_npc_untouch_areanpc) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x, int16 *y);
+typedef int (*HPMHOOK_post_npc_untouch_areanpc) (int retVal___, struct map_session_data *sd, int16 m, int16 x, int16 y);
typedef int (*HPMHOOK_pre_npc_touch_areanpc2) (struct mob_data *md);
typedef int (*HPMHOOK_post_npc_touch_areanpc2) (int retVal___, struct mob_data *md);
typedef int (*HPMHOOK_pre_npc_check_areanpc) (int *flag, int16 *m, int16 *x, int16 *y, int16 *range);
-typedef int (*HPMHOOK_post_npc_check_areanpc) (int retVal___, int *flag, int16 *m, int16 *x, int16 *y, int16 *range);
+typedef int (*HPMHOOK_post_npc_check_areanpc) (int retVal___, int flag, int16 m, int16 x, int16 y, int16 range);
typedef struct npc_data* (*HPMHOOK_pre_npc_checknear) (struct map_session_data *sd, struct block_list *bl);
typedef struct npc_data* (*HPMHOOK_post_npc_checknear) (struct npc_data* retVal___, struct map_session_data *sd, struct block_list *bl);
typedef int (*HPMHOOK_pre_npc_globalmessage) (const char *name, const char *mes);
@@ -4779,15 +4779,15 @@ typedef void (*HPMHOOK_post_npc_run_tomb) (struct map_session_data *sd, struct n
typedef int (*HPMHOOK_pre_npc_click) (struct map_session_data *sd, struct npc_data *nd);
typedef int (*HPMHOOK_post_npc_click) (int retVal___, struct map_session_data *sd, struct npc_data *nd);
typedef int (*HPMHOOK_pre_npc_scriptcont) (struct map_session_data *sd, int *id, bool *closing);
-typedef int (*HPMHOOK_post_npc_scriptcont) (int retVal___, struct map_session_data *sd, int *id, bool *closing);
+typedef int (*HPMHOOK_post_npc_scriptcont) (int retVal___, struct map_session_data *sd, int id, bool closing);
typedef int (*HPMHOOK_pre_npc_buysellsel) (struct map_session_data *sd, int *id, int *type);
-typedef int (*HPMHOOK_post_npc_buysellsel) (int retVal___, struct map_session_data *sd, int *id, int *type);
+typedef int (*HPMHOOK_post_npc_buysellsel) (int retVal___, struct map_session_data *sd, int id, int type);
typedef int (*HPMHOOK_pre_npc_cashshop_buylist) (struct map_session_data *sd, int *points, struct itemlist *item_list);
-typedef int (*HPMHOOK_post_npc_cashshop_buylist) (int retVal___, struct map_session_data *sd, int *points, struct itemlist *item_list);
+typedef int (*HPMHOOK_post_npc_cashshop_buylist) (int retVal___, struct map_session_data *sd, int points, struct itemlist *item_list);
typedef int (*HPMHOOK_pre_npc_buylist_sub) (struct map_session_data *sd, struct itemlist *item_list, struct npc_data *nd);
typedef int (*HPMHOOK_post_npc_buylist_sub) (int retVal___, struct map_session_data *sd, struct itemlist *item_list, struct npc_data *nd);
typedef int (*HPMHOOK_pre_npc_cashshop_buy) (struct map_session_data *sd, int *nameid, int *amount, int *points);
-typedef int (*HPMHOOK_post_npc_cashshop_buy) (int retVal___, struct map_session_data *sd, int *nameid, int *amount, int *points);
+typedef int (*HPMHOOK_post_npc_cashshop_buy) (int retVal___, struct map_session_data *sd, int nameid, int amount, int points);
typedef int (*HPMHOOK_pre_npc_buylist) (struct map_session_data *sd, struct itemlist *item_list);
typedef int (*HPMHOOK_post_npc_buylist) (int retVal___, struct map_session_data *sd, struct itemlist *item_list);
typedef int (*HPMHOOK_pre_npc_selllist_sub) (struct map_session_data *sd, struct itemlist *item_list, struct npc_data *nd);
@@ -4797,15 +4797,15 @@ typedef int (*HPMHOOK_post_npc_selllist) (int retVal___, struct map_session_data
typedef int (*HPMHOOK_pre_npc_remove_map) (struct npc_data *nd);
typedef int (*HPMHOOK_post_npc_remove_map) (int retVal___, struct npc_data *nd);
typedef int (*HPMHOOK_pre_npc_unload_ev) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_npc_unload_ev) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_npc_unload_ev) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_npc_unload_ev_label) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_npc_unload_ev_label) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_npc_unload_ev_label) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_npc_unload_dup_sub) (struct npc_data *nd, va_list args);
typedef int (*HPMHOOK_post_npc_unload_dup_sub) (int retVal___, struct npc_data *nd, va_list args);
typedef void (*HPMHOOK_pre_npc_unload_duplicates) (struct npc_data *nd);
typedef void (*HPMHOOK_post_npc_unload_duplicates) (struct npc_data *nd);
typedef int (*HPMHOOK_pre_npc_unload) (struct npc_data *nd, bool *single);
-typedef int (*HPMHOOK_post_npc_unload) (int retVal___, struct npc_data *nd, bool *single);
+typedef int (*HPMHOOK_post_npc_unload) (int retVal___, struct npc_data *nd, bool single);
typedef void (*HPMHOOK_pre_npc_clearsrcfile) (void);
typedef void (*HPMHOOK_post_npc_clearsrcfile) (void);
typedef void (*HPMHOOK_pre_npc_addsrcfile) (const char *name);
@@ -4823,9 +4823,9 @@ typedef int (*HPMHOOK_post_npc_parseview) (int retVal___, const char *w4, const
typedef bool (*HPMHOOK_pre_npc_viewisid) (const char *viewid);
typedef bool (*HPMHOOK_post_npc_viewisid) (bool retVal___, const char *viewid);
typedef struct npc_data* (*HPMHOOK_pre_npc_create_npc) (enum npc_subtype *subtype, int *m, int *x, int *y, uint8 *dir, int16 *class_);
-typedef struct npc_data* (*HPMHOOK_post_npc_create_npc) (struct npc_data* retVal___, enum npc_subtype *subtype, int *m, int *x, int *y, uint8 *dir, int16 *class_);
+typedef struct npc_data* (*HPMHOOK_post_npc_create_npc) (struct npc_data* retVal___, enum npc_subtype subtype, int m, int x, int y, uint8 dir, int16 class_);
typedef struct npc_data* (*HPMHOOK_pre_npc_add_warp) (char *name, short *from_mapid, short *from_x, short *from_y, short *xs, short *ys, unsigned short *to_mapindex, short *to_x, short *to_y);
-typedef struct npc_data* (*HPMHOOK_post_npc_add_warp) (struct npc_data* retVal___, char *name, short *from_mapid, short *from_x, short *from_y, short *xs, short *ys, unsigned short *to_mapindex, short *to_x, short *to_y);
+typedef struct npc_data* (*HPMHOOK_post_npc_add_warp) (struct npc_data* retVal___, char *name, short from_mapid, short from_x, short from_y, short xs, short ys, unsigned short to_mapindex, short to_x, short to_y);
typedef const char* (*HPMHOOK_pre_npc_parse_warp) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
typedef const char* (*HPMHOOK_post_npc_parse_warp) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
typedef const char* (*HPMHOOK_pre_npc_parse_shop) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
@@ -4837,21 +4837,21 @@ typedef void (*HPMHOOK_post_npc_convertlabel_db) (struct npc_label_list *label_l
typedef const char* (*HPMHOOK_pre_npc_skip_script) (const char *start, const char *buffer, const char *filepath, int *retval);
typedef const char* (*HPMHOOK_post_npc_skip_script) (const char* retVal___, const char *start, const char *buffer, const char *filepath, int *retval);
typedef const char* (*HPMHOOK_pre_npc_parse_script) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *options, int *retval);
-typedef const char* (*HPMHOOK_post_npc_parse_script) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *options, int *retval);
+typedef const char* (*HPMHOOK_post_npc_parse_script) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int options, int *retval);
typedef void (*HPMHOOK_pre_npc_add_to_location) (struct npc_data *nd);
typedef void (*HPMHOOK_post_npc_add_to_location) (struct npc_data *nd);
typedef bool (*HPMHOOK_pre_npc_duplicate_script_sub) (struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
-typedef bool (*HPMHOOK_post_npc_duplicate_script_sub) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+typedef bool (*HPMHOOK_post_npc_duplicate_script_sub) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
typedef bool (*HPMHOOK_pre_npc_duplicate_shop_sub) (struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
-typedef bool (*HPMHOOK_post_npc_duplicate_shop_sub) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+typedef bool (*HPMHOOK_post_npc_duplicate_shop_sub) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
typedef bool (*HPMHOOK_pre_npc_duplicate_warp_sub) (struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
-typedef bool (*HPMHOOK_post_npc_duplicate_warp_sub) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+typedef bool (*HPMHOOK_post_npc_duplicate_warp_sub) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
typedef bool (*HPMHOOK_pre_npc_duplicate_sub) (struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
-typedef bool (*HPMHOOK_post_npc_duplicate_sub) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+typedef bool (*HPMHOOK_post_npc_duplicate_sub) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
typedef const char* (*HPMHOOK_pre_npc_parse_duplicate) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *options, int *retval);
-typedef const char* (*HPMHOOK_post_npc_parse_duplicate) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *options, int *retval);
+typedef const char* (*HPMHOOK_post_npc_parse_duplicate) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int options, int *retval);
typedef int (*HPMHOOK_pre_npc_duplicate4instance) (struct npc_data *snd, int16 *m);
-typedef int (*HPMHOOK_post_npc_duplicate4instance) (int retVal___, struct npc_data *snd, int16 *m);
+typedef int (*HPMHOOK_post_npc_duplicate4instance) (int retVal___, struct npc_data *snd, int16 m);
typedef void (*HPMHOOK_pre_npc_setcells) (struct npc_data *nd);
typedef void (*HPMHOOK_post_npc_setcells) (struct npc_data *nd);
typedef int (*HPMHOOK_pre_npc_unsetcells_sub) (struct block_list *bl, va_list ap);
@@ -4859,11 +4859,11 @@ typedef int (*HPMHOOK_post_npc_unsetcells_sub) (int retVal___, struct block_list
typedef void (*HPMHOOK_pre_npc_unsetcells) (struct npc_data *nd);
typedef void (*HPMHOOK_post_npc_unsetcells) (struct npc_data *nd);
typedef void (*HPMHOOK_pre_npc_movenpc) (struct npc_data *nd, int16 *x, int16 *y);
-typedef void (*HPMHOOK_post_npc_movenpc) (struct npc_data *nd, int16 *x, int16 *y);
+typedef void (*HPMHOOK_post_npc_movenpc) (struct npc_data *nd, int16 x, int16 y);
typedef void (*HPMHOOK_pre_npc_setdisplayname) (struct npc_data *nd, const char *newname);
typedef void (*HPMHOOK_post_npc_setdisplayname) (struct npc_data *nd, const char *newname);
typedef void (*HPMHOOK_pre_npc_setclass) (struct npc_data *nd, short *class_);
-typedef void (*HPMHOOK_post_npc_setclass) (struct npc_data *nd, short *class_);
+typedef void (*HPMHOOK_post_npc_setclass) (struct npc_data *nd, short class_);
typedef int (*HPMHOOK_pre_npc_do_atcmd_event) (struct map_session_data *sd, const char *command, const char *message, const char *eventname);
typedef int (*HPMHOOK_post_npc_do_atcmd_event) (int retVal___, struct map_session_data *sd, const char *command, const char *message, const char *eventname);
typedef const char* (*HPMHOOK_pre_npc_parse_function) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
@@ -4877,15 +4877,15 @@ typedef const char* (*HPMHOOK_post_npc_parse_mapflag) (const char* retVal___, co
typedef void (*HPMHOOK_pre_npc_parse_unknown_mapflag) (const char *name, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
typedef void (*HPMHOOK_post_npc_parse_unknown_mapflag) (const char *name, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
typedef int (*HPMHOOK_pre_npc_parsesrcfile) (const char *filepath, bool *runOnInit);
-typedef int (*HPMHOOK_post_npc_parsesrcfile) (int retVal___, const char *filepath, bool *runOnInit);
+typedef int (*HPMHOOK_post_npc_parsesrcfile) (int retVal___, const char *filepath, bool runOnInit);
typedef int (*HPMHOOK_pre_npc_script_event) (struct map_session_data *sd, enum npce_event *type);
-typedef int (*HPMHOOK_post_npc_script_event) (int retVal___, struct map_session_data *sd, enum npce_event *type);
+typedef int (*HPMHOOK_post_npc_script_event) (int retVal___, struct map_session_data *sd, enum npce_event type);
typedef void (*HPMHOOK_pre_npc_read_event_script) (void);
typedef void (*HPMHOOK_post_npc_read_event_script) (void);
typedef int (*HPMHOOK_pre_npc_path_db_clear_sub) (union DBKey *key, struct DBData *data, va_list args);
-typedef int (*HPMHOOK_post_npc_path_db_clear_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list args);
+typedef int (*HPMHOOK_post_npc_path_db_clear_sub) (int retVal___, union DBKey key, struct DBData *data, va_list args);
typedef int (*HPMHOOK_pre_npc_ev_label_db_clear_sub) (union DBKey *key, struct DBData *data, va_list args);
-typedef int (*HPMHOOK_post_npc_ev_label_db_clear_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list args);
+typedef int (*HPMHOOK_post_npc_ev_label_db_clear_sub) (int retVal___, union DBKey key, struct DBData *data, va_list args);
typedef int (*HPMHOOK_pre_npc_reload) (void);
typedef int (*HPMHOOK_post_npc_reload) (int retVal___);
typedef bool (*HPMHOOK_pre_npc_unloadfile) (const char *filepath);
@@ -4899,9 +4899,9 @@ typedef void (*HPMHOOK_post_npc_debug_warps) (void);
typedef void (*HPMHOOK_pre_npc_trader_count_funds) (struct npc_data *nd, struct map_session_data *sd);
typedef void (*HPMHOOK_post_npc_trader_count_funds) (struct npc_data *nd, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_npc_trader_pay) (struct npc_data *nd, struct map_session_data *sd, int *price, int *points);
-typedef bool (*HPMHOOK_post_npc_trader_pay) (bool retVal___, struct npc_data *nd, struct map_session_data *sd, int *price, int *points);
+typedef bool (*HPMHOOK_post_npc_trader_pay) (bool retVal___, struct npc_data *nd, struct map_session_data *sd, int price, int points);
typedef void (*HPMHOOK_pre_npc_trader_update) (int *master);
-typedef void (*HPMHOOK_post_npc_trader_update) (int *master);
+typedef void (*HPMHOOK_post_npc_trader_update) (int master);
typedef int (*HPMHOOK_pre_npc_market_buylist) (struct map_session_data *sd, struct itemlist *item_list);
typedef int (*HPMHOOK_post_npc_market_buylist) (int retVal___, struct map_session_data *sd, struct itemlist *item_list);
typedef bool (*HPMHOOK_pre_npc_trader_open) (struct map_session_data *sd, struct npc_data *nd);
@@ -4909,27 +4909,27 @@ typedef bool (*HPMHOOK_post_npc_trader_open) (bool retVal___, struct map_session
typedef void (*HPMHOOK_pre_npc_market_fromsql) (void);
typedef void (*HPMHOOK_post_npc_market_fromsql) (void);
typedef void (*HPMHOOK_pre_npc_market_tosql) (struct npc_data *nd, unsigned short *index);
-typedef void (*HPMHOOK_post_npc_market_tosql) (struct npc_data *nd, unsigned short *index);
+typedef void (*HPMHOOK_post_npc_market_tosql) (struct npc_data *nd, unsigned short index);
typedef void (*HPMHOOK_pre_npc_market_delfromsql) (struct npc_data *nd, unsigned short *index);
-typedef void (*HPMHOOK_post_npc_market_delfromsql) (struct npc_data *nd, unsigned short *index);
+typedef void (*HPMHOOK_post_npc_market_delfromsql) (struct npc_data *nd, unsigned short index);
typedef void (*HPMHOOK_pre_npc_market_delfromsql_sub) (const char *npcname, unsigned short *index);
-typedef void (*HPMHOOK_post_npc_market_delfromsql_sub) (const char *npcname, unsigned short *index);
+typedef void (*HPMHOOK_post_npc_market_delfromsql_sub) (const char *npcname, unsigned short index);
typedef bool (*HPMHOOK_pre_npc_db_checkid) (const int *id);
-typedef bool (*HPMHOOK_post_npc_db_checkid) (bool retVal___, const int *id);
+typedef bool (*HPMHOOK_post_npc_db_checkid) (bool retVal___, const int id);
typedef int (*HPMHOOK_pre_npc_secure_timeout_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_npc_secure_timeout_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_npc_secure_timeout_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
#endif // MAP_NPC_H
#ifdef COMMON_NULLPO_H /* nullpo */
typedef void (*HPMHOOK_pre_nullpo_assert_report) (const char *file, int *line, const char *func, const char *targetname, const char *title);
-typedef void (*HPMHOOK_post_nullpo_assert_report) (const char *file, int *line, const char *func, const char *targetname, const char *title);
+typedef void (*HPMHOOK_post_nullpo_assert_report) (const char *file, int line, const char *func, const char *targetname, const char *title);
#endif // COMMON_NULLPO_H
#ifdef MAP_PARTY_H /* party */
typedef void (*HPMHOOK_pre_party_init) (bool *minimal);
-typedef void (*HPMHOOK_post_party_init) (bool *minimal);
+typedef void (*HPMHOOK_post_party_init) (bool minimal);
typedef void (*HPMHOOK_pre_party_final) (void);
typedef void (*HPMHOOK_post_party_final) (void);
typedef struct party_data* (*HPMHOOK_pre_party_search) (int *party_id);
-typedef struct party_data* (*HPMHOOK_post_party_search) (struct party_data* retVal___, int *party_id);
+typedef struct party_data* (*HPMHOOK_post_party_search) (struct party_data* retVal___, int party_id);
typedef struct party_data* (*HPMHOOK_pre_party_searchname) (const char *str);
typedef struct party_data* (*HPMHOOK_post_party_searchname) (struct party_data* retVal___, const char *str);
typedef int (*HPMHOOK_pre_party_getmemberid) (struct party_data *p, struct map_session_data *sd);
@@ -4937,37 +4937,37 @@ typedef int (*HPMHOOK_post_party_getmemberid) (int retVal___, struct party_data
typedef struct map_session_data* (*HPMHOOK_pre_party_getavailablesd) (struct party_data *p);
typedef struct map_session_data* (*HPMHOOK_post_party_getavailablesd) (struct map_session_data* retVal___, struct party_data *p);
typedef int (*HPMHOOK_pre_party_create) (struct map_session_data *sd, const char *name, int *item, int *item2);
-typedef int (*HPMHOOK_post_party_create) (int retVal___, struct map_session_data *sd, const char *name, int *item, int *item2);
+typedef int (*HPMHOOK_post_party_create) (int retVal___, struct map_session_data *sd, const char *name, int item, int item2);
typedef void (*HPMHOOK_pre_party_created) (int *account_id, int *char_id, int *fail, int *party_id, const char *name);
-typedef void (*HPMHOOK_post_party_created) (int *account_id, int *char_id, int *fail, int *party_id, const char *name);
+typedef void (*HPMHOOK_post_party_created) (int account_id, int char_id, int fail, int party_id, const char *name);
typedef int (*HPMHOOK_pre_party_request_info) (int *party_id, int *char_id);
-typedef int (*HPMHOOK_post_party_request_info) (int retVal___, int *party_id, int *char_id);
+typedef int (*HPMHOOK_post_party_request_info) (int retVal___, int party_id, int char_id);
typedef int (*HPMHOOK_pre_party_invite) (struct map_session_data *sd, struct map_session_data *tsd);
typedef int (*HPMHOOK_post_party_invite) (int retVal___, struct map_session_data *sd, struct map_session_data *tsd);
typedef void (*HPMHOOK_pre_party_member_joined) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_party_member_joined) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_party_member_added) (int *party_id, int *account_id, int *char_id, int *flag);
-typedef int (*HPMHOOK_post_party_member_added) (int retVal___, int *party_id, int *account_id, int *char_id, int *flag);
+typedef int (*HPMHOOK_post_party_member_added) (int retVal___, int party_id, int account_id, int char_id, int flag);
typedef int (*HPMHOOK_pre_party_leave) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_party_leave) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_party_removemember) (struct map_session_data *sd, int *account_id, const char *name);
-typedef int (*HPMHOOK_post_party_removemember) (int retVal___, struct map_session_data *sd, int *account_id, const char *name);
+typedef int (*HPMHOOK_post_party_removemember) (int retVal___, struct map_session_data *sd, int account_id, const char *name);
typedef int (*HPMHOOK_pre_party_member_withdraw) (int *party_id, int *account_id, int *char_id);
-typedef int (*HPMHOOK_post_party_member_withdraw) (int retVal___, int *party_id, int *account_id, int *char_id);
+typedef int (*HPMHOOK_post_party_member_withdraw) (int retVal___, int party_id, int account_id, int char_id);
typedef void (*HPMHOOK_pre_party_reply_invite) (struct map_session_data *sd, int *party_id, int *flag);
-typedef void (*HPMHOOK_post_party_reply_invite) (struct map_session_data *sd, int *party_id, int *flag);
+typedef void (*HPMHOOK_post_party_reply_invite) (struct map_session_data *sd, int party_id, int flag);
typedef int (*HPMHOOK_pre_party_recv_noinfo) (int *party_id, int *char_id);
-typedef int (*HPMHOOK_post_party_recv_noinfo) (int retVal___, int *party_id, int *char_id);
+typedef int (*HPMHOOK_post_party_recv_noinfo) (int retVal___, int party_id, int char_id);
typedef int (*HPMHOOK_pre_party_recv_info) (const struct party *sp, int *char_id);
-typedef int (*HPMHOOK_post_party_recv_info) (int retVal___, const struct party *sp, int *char_id);
+typedef int (*HPMHOOK_post_party_recv_info) (int retVal___, const struct party *sp, int char_id);
typedef int (*HPMHOOK_pre_party_recv_movemap) (int *party_id, int *account_id, int *char_id, unsigned short *mapid, int *online, int *lv);
-typedef int (*HPMHOOK_post_party_recv_movemap) (int retVal___, int *party_id, int *account_id, int *char_id, unsigned short *mapid, int *online, int *lv);
+typedef int (*HPMHOOK_post_party_recv_movemap) (int retVal___, int party_id, int account_id, int char_id, unsigned short mapid, int online, int lv);
typedef int (*HPMHOOK_pre_party_broken) (int *party_id);
-typedef int (*HPMHOOK_post_party_broken) (int retVal___, int *party_id);
+typedef int (*HPMHOOK_post_party_broken) (int retVal___, int party_id);
typedef int (*HPMHOOK_pre_party_optionchanged) (int *party_id, int *account_id, int *exp, int *item, int *flag);
-typedef int (*HPMHOOK_post_party_optionchanged) (int retVal___, int *party_id, int *account_id, int *exp, int *item, int *flag);
+typedef int (*HPMHOOK_post_party_optionchanged) (int retVal___, int party_id, int account_id, int exp, int item, int flag);
typedef int (*HPMHOOK_pre_party_changeoption) (struct map_session_data *sd, int *exp, int *item);
-typedef int (*HPMHOOK_post_party_changeoption) (int retVal___, struct map_session_data *sd, int *exp, int *item);
+typedef int (*HPMHOOK_post_party_changeoption) (int retVal___, struct map_session_data *sd, int exp, int item);
typedef bool (*HPMHOOK_pre_party_changeleader) (struct map_session_data *sd, struct map_session_data *t_sd);
typedef bool (*HPMHOOK_post_party_changeleader) (bool retVal___, struct map_session_data *sd, struct map_session_data *t_sd);
typedef void (*HPMHOOK_pre_party_send_movemap) (struct map_session_data *sd);
@@ -4979,15 +4979,15 @@ typedef int (*HPMHOOK_post_party_send_logout) (int retVal___, struct map_session
typedef int (*HPMHOOK_pre_party_send_message) (struct map_session_data *sd, const char *mes);
typedef int (*HPMHOOK_post_party_send_message) (int retVal___, struct map_session_data *sd, const char *mes);
typedef int (*HPMHOOK_pre_party_recv_message) (int *party_id, int *account_id, const char *mes, int *len);
-typedef int (*HPMHOOK_post_party_recv_message) (int retVal___, int *party_id, int *account_id, const char *mes, int *len);
+typedef int (*HPMHOOK_post_party_recv_message) (int retVal___, int party_id, int account_id, const char *mes, int len);
typedef int (*HPMHOOK_pre_party_skill_check) (struct map_session_data *sd, int *party_id, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_party_skill_check) (int retVal___, struct map_session_data *sd, int *party_id, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_party_skill_check) (int retVal___, struct map_session_data *sd, int party_id, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_party_send_xy_clear) (struct party_data *p);
typedef int (*HPMHOOK_post_party_send_xy_clear) (int retVal___, struct party_data *p);
typedef int (*HPMHOOK_pre_party_exp_share) (struct party_data *p, struct block_list *src, unsigned int *base_exp, unsigned int *job_exp, int *zeny);
-typedef int (*HPMHOOK_post_party_exp_share) (int retVal___, struct party_data *p, struct block_list *src, unsigned int *base_exp, unsigned int *job_exp, int *zeny);
+typedef int (*HPMHOOK_post_party_exp_share) (int retVal___, struct party_data *p, struct block_list *src, unsigned int base_exp, unsigned int job_exp, int zeny);
typedef int (*HPMHOOK_pre_party_share_loot) (struct party_data *p, struct map_session_data *sd, struct item *item_data, int *first_charid);
-typedef int (*HPMHOOK_post_party_share_loot) (int retVal___, struct party_data *p, struct map_session_data *sd, struct item *item_data, int *first_charid);
+typedef int (*HPMHOOK_post_party_share_loot) (int retVal___, struct party_data *p, struct map_session_data *sd, struct item *item_data, int first_charid);
typedef int (*HPMHOOK_pre_party_send_dot_remove) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_party_send_dot_remove) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_party_sub_count) (struct block_list *bl, va_list ap);
@@ -4995,49 +4995,49 @@ typedef int (*HPMHOOK_post_party_sub_count) (int retVal___, struct block_list *b
typedef int (*HPMHOOK_pre_party_sub_count_chorus) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_party_sub_count_chorus) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_party_booking_register) (struct map_session_data *sd, short *level, short *mapid, short *job);
-typedef void (*HPMHOOK_post_party_booking_register) (struct map_session_data *sd, short *level, short *mapid, short *job);
+typedef void (*HPMHOOK_post_party_booking_register) (struct map_session_data *sd, short level, short mapid, short *job);
typedef void (*HPMHOOK_pre_party_booking_update) (struct map_session_data *sd, short *job);
typedef void (*HPMHOOK_post_party_booking_update) (struct map_session_data *sd, short *job);
typedef void (*HPMHOOK_pre_party_booking_search) (struct map_session_data *sd, short *level, short *mapid, short *job, unsigned long *lastindex, short *resultcount);
-typedef void (*HPMHOOK_post_party_booking_search) (struct map_session_data *sd, short *level, short *mapid, short *job, unsigned long *lastindex, short *resultcount);
+typedef void (*HPMHOOK_post_party_booking_search) (struct map_session_data *sd, short level, short mapid, short job, unsigned long lastindex, short resultcount);
typedef void (*HPMHOOK_pre_party_recruit_register) (struct map_session_data *sd, short *level, const char *notice);
-typedef void (*HPMHOOK_post_party_recruit_register) (struct map_session_data *sd, short *level, const char *notice);
+typedef void (*HPMHOOK_post_party_recruit_register) (struct map_session_data *sd, short level, const char *notice);
typedef void (*HPMHOOK_pre_party_recruit_update) (struct map_session_data *sd, const char *notice);
typedef void (*HPMHOOK_post_party_recruit_update) (struct map_session_data *sd, const char *notice);
typedef void (*HPMHOOK_pre_party_recruit_search) (struct map_session_data *sd, short *level, short *mapid, unsigned long *lastindex, short *resultcount);
-typedef void (*HPMHOOK_post_party_recruit_search) (struct map_session_data *sd, short *level, short *mapid, unsigned long *lastindex, short *resultcount);
+typedef void (*HPMHOOK_post_party_recruit_search) (struct map_session_data *sd, short level, short mapid, unsigned long lastindex, short resultcount);
typedef bool (*HPMHOOK_pre_party_booking_delete) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_party_booking_delete) (bool retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_party_vforeachsamemap) (int ( *func ) (struct block_list *, va_list), struct map_session_data *sd, int *range, va_list ap);
-typedef int (*HPMHOOK_post_party_vforeachsamemap) (int retVal___, int ( *func ) (struct block_list *, va_list), struct map_session_data *sd, int *range, va_list ap);
+typedef int (*HPMHOOK_post_party_vforeachsamemap) (int retVal___, int ( *func ) (struct block_list *, va_list), struct map_session_data *sd, int range, va_list ap);
typedef int (*HPMHOOK_pre_party_send_xy_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_party_send_xy_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_party_send_xy_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_party_fill_member) (struct party_member *member, struct map_session_data *sd, unsigned int *leader);
-typedef void (*HPMHOOK_post_party_fill_member) (struct party_member *member, struct map_session_data *sd, unsigned int *leader);
+typedef void (*HPMHOOK_post_party_fill_member) (struct party_member *member, struct map_session_data *sd, unsigned int leader);
typedef struct map_session_data* (*HPMHOOK_pre_party_sd_check) (int *party_id, int *account_id, int *char_id);
-typedef struct map_session_data* (*HPMHOOK_post_party_sd_check) (struct map_session_data* retVal___, int *party_id, int *account_id, int *char_id);
+typedef struct map_session_data* (*HPMHOOK_post_party_sd_check) (struct map_session_data* retVal___, int party_id, int account_id, int char_id);
typedef void (*HPMHOOK_pre_party_check_state) (struct party_data *p);
typedef void (*HPMHOOK_post_party_check_state) (struct party_data *p);
typedef struct party_booking_ad_info* (*HPMHOOK_pre_party_create_booking_data) (void);
typedef struct party_booking_ad_info* (*HPMHOOK_post_party_create_booking_data) (struct party_booking_ad_info* retVal___);
typedef int (*HPMHOOK_pre_party_db_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_party_db_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_party_db_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
#endif // MAP_PARTY_H
#ifdef MAP_PATH_H /* path */
typedef int (*HPMHOOK_pre_path_blownpos) (struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *dx, int16 *dy, int *count);
-typedef int (*HPMHOOK_post_path_blownpos) (int retVal___, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *dx, int16 *dy, int *count);
+typedef int (*HPMHOOK_post_path_blownpos) (int retVal___, struct block_list *bl, int16 m, int16 x0, int16 y0, int16 dx, int16 dy, int count);
typedef bool (*HPMHOOK_pre_path_search) (struct walkpath_data *wpd, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *flag, cell_chk *cell);
-typedef bool (*HPMHOOK_post_path_search) (bool retVal___, struct walkpath_data *wpd, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *flag, cell_chk *cell);
+typedef bool (*HPMHOOK_post_path_search) (bool retVal___, struct walkpath_data *wpd, struct block_list *bl, int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int flag, cell_chk cell);
typedef bool (*HPMHOOK_pre_path_search_long) (struct shootpath_data *spd, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, cell_chk *cell);
-typedef bool (*HPMHOOK_post_path_search_long) (bool retVal___, struct shootpath_data *spd, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, cell_chk *cell);
+typedef bool (*HPMHOOK_post_path_search_long) (bool retVal___, struct shootpath_data *spd, struct block_list *bl, int16 m, int16 x0, int16 y0, int16 x1, int16 y1, cell_chk cell);
typedef bool (*HPMHOOK_pre_path_check_distance) (int *dx, int *dy, int *distance);
-typedef bool (*HPMHOOK_post_path_check_distance) (bool retVal___, int *dx, int *dy, int *distance);
+typedef bool (*HPMHOOK_post_path_check_distance) (bool retVal___, int dx, int dy, int distance);
typedef unsigned int (*HPMHOOK_pre_path_distance) (int *dx, int *dy);
-typedef unsigned int (*HPMHOOK_post_path_distance) (unsigned int retVal___, int *dx, int *dy);
+typedef unsigned int (*HPMHOOK_post_path_distance) (unsigned int retVal___, int dx, int dy);
typedef bool (*HPMHOOK_pre_path_check_distance_client) (int *dx, int *dy, int *distance);
-typedef bool (*HPMHOOK_post_path_check_distance_client) (bool retVal___, int *dx, int *dy, int *distance);
+typedef bool (*HPMHOOK_post_path_check_distance_client) (bool retVal___, int dx, int dy, int distance);
typedef int (*HPMHOOK_pre_path_distance_client) (int *dx, int *dy);
-typedef int (*HPMHOOK_post_path_distance_client) (int retVal___, int *dx, int *dy);
+typedef int (*HPMHOOK_post_path_distance_client) (int retVal___, int dx, int dy);
#endif // MAP_PATH_H
#ifdef MAP_PC_GROUPS_H /* pcg */
typedef void (*HPMHOOK_pre_pcg_init) (void);
@@ -5049,11 +5049,11 @@ typedef void (*HPMHOOK_post_pcg_reload) (void);
typedef GroupSettings* (*HPMHOOK_pre_pcg_get_dummy_group) (void);
typedef GroupSettings* (*HPMHOOK_post_pcg_get_dummy_group) (GroupSettings* retVal___);
typedef bool (*HPMHOOK_pre_pcg_exists) (int *group_id);
-typedef bool (*HPMHOOK_post_pcg_exists) (bool retVal___, int *group_id);
+typedef bool (*HPMHOOK_post_pcg_exists) (bool retVal___, int group_id);
typedef GroupSettings* (*HPMHOOK_pre_pcg_id2group) (int *group_id);
-typedef GroupSettings* (*HPMHOOK_post_pcg_id2group) (GroupSettings* retVal___, int *group_id);
+typedef GroupSettings* (*HPMHOOK_post_pcg_id2group) (GroupSettings* retVal___, int group_id);
typedef bool (*HPMHOOK_pre_pcg_has_permission) (GroupSettings *group, unsigned int *permission);
-typedef bool (*HPMHOOK_post_pcg_has_permission) (bool retVal___, GroupSettings *group, unsigned int *permission);
+typedef bool (*HPMHOOK_post_pcg_has_permission) (bool retVal___, GroupSettings *group, unsigned int permission);
typedef bool (*HPMHOOK_pre_pcg_should_log_commands) (GroupSettings *group);
typedef bool (*HPMHOOK_post_pcg_should_log_commands) (bool retVal___, GroupSettings *group);
typedef const char* (*HPMHOOK_pre_pcg_get_name) (GroupSettings *group);
@@ -5065,51 +5065,51 @@ typedef int (*HPMHOOK_post_pcg_get_idx) (int retVal___, GroupSettings *group);
#endif // MAP_PC_GROUPS_H
#ifdef MAP_PC_H /* pc */
typedef void (*HPMHOOK_pre_pc_init) (bool *minimal);
-typedef void (*HPMHOOK_post_pc_init) (bool *minimal);
+typedef void (*HPMHOOK_post_pc_init) (bool minimal);
typedef void (*HPMHOOK_pre_pc_final) (void);
typedef void (*HPMHOOK_post_pc_final) (void);
typedef struct map_session_data* (*HPMHOOK_pre_pc_get_dummy_sd) (void);
typedef struct map_session_data* (*HPMHOOK_post_pc_get_dummy_sd) (struct map_session_data* retVal___);
typedef int (*HPMHOOK_pre_pc_class2idx) (int *class_);
-typedef int (*HPMHOOK_post_pc_class2idx) (int retVal___, int *class_);
+typedef int (*HPMHOOK_post_pc_class2idx) (int retVal___, int class_);
typedef bool (*HPMHOOK_pre_pc_can_talk) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_pc_can_talk) (bool retVal___, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_pc_can_attack) (struct map_session_data *sd, int *target_id);
-typedef bool (*HPMHOOK_post_pc_can_attack) (bool retVal___, struct map_session_data *sd, int *target_id);
+typedef bool (*HPMHOOK_post_pc_can_attack) (bool retVal___, struct map_session_data *sd, int target_id);
typedef bool (*HPMHOOK_pre_pc_can_use_command) (struct map_session_data *sd, const char *command);
typedef bool (*HPMHOOK_post_pc_can_use_command) (bool retVal___, struct map_session_data *sd, const char *command);
typedef int (*HPMHOOK_pre_pc_set_group) (struct map_session_data *sd, int *group_id);
-typedef int (*HPMHOOK_post_pc_set_group) (int retVal___, struct map_session_data *sd, int *group_id);
+typedef int (*HPMHOOK_post_pc_set_group) (int retVal___, struct map_session_data *sd, int group_id);
typedef bool (*HPMHOOK_pre_pc_should_log_commands) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_pc_should_log_commands) (bool retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_setrestartvalue) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_pc_setrestartvalue) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_pc_setrestartvalue) (int retVal___, struct map_session_data *sd, int type);
typedef int (*HPMHOOK_pre_pc_makesavestatus) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_makesavestatus) (int retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_pc_respawn) (struct map_session_data *sd, clr_type *clrtype);
-typedef void (*HPMHOOK_post_pc_respawn) (struct map_session_data *sd, clr_type *clrtype);
+typedef void (*HPMHOOK_post_pc_respawn) (struct map_session_data *sd, clr_type clrtype);
typedef int (*HPMHOOK_pre_pc_setnewpc) (struct map_session_data *sd, int *account_id, int *char_id, int *login_id1, unsigned int *client_tick, int *sex, int *fd);
-typedef int (*HPMHOOK_post_pc_setnewpc) (int retVal___, struct map_session_data *sd, int *account_id, int *char_id, int *login_id1, unsigned int *client_tick, int *sex, int *fd);
+typedef int (*HPMHOOK_post_pc_setnewpc) (int retVal___, struct map_session_data *sd, int account_id, int char_id, int login_id1, unsigned int client_tick, int sex, int fd);
typedef bool (*HPMHOOK_pre_pc_authok) (struct map_session_data *sd, int *login_id2, time_t *expiration_time, int *group_id, const struct mmo_charstatus *st, bool *changing_mapservers);
-typedef bool (*HPMHOOK_post_pc_authok) (bool retVal___, struct map_session_data *sd, int *login_id2, time_t *expiration_time, int *group_id, const struct mmo_charstatus *st, bool *changing_mapservers);
+typedef bool (*HPMHOOK_post_pc_authok) (bool retVal___, struct map_session_data *sd, int login_id2, time_t expiration_time, int group_id, const struct mmo_charstatus *st, bool changing_mapservers);
typedef void (*HPMHOOK_pre_pc_authfail) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_authfail) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_reg_received) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_reg_received) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_isequip) (struct map_session_data *sd, int *n);
-typedef int (*HPMHOOK_post_pc_isequip) (int retVal___, struct map_session_data *sd, int *n);
+typedef int (*HPMHOOK_post_pc_isequip) (int retVal___, struct map_session_data *sd, int n);
typedef int (*HPMHOOK_pre_pc_equippoint) (struct map_session_data *sd, int *n);
-typedef int (*HPMHOOK_post_pc_equippoint) (int retVal___, struct map_session_data *sd, int *n);
+typedef int (*HPMHOOK_post_pc_equippoint) (int retVal___, struct map_session_data *sd, int n);
typedef int (*HPMHOOK_pre_pc_setinventorydata) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_setinventorydata) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_checkskill) (struct map_session_data *sd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_pc_checkskill) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_pc_checkskill) (int retVal___, struct map_session_data *sd, uint16 skill_id);
typedef int (*HPMHOOK_pre_pc_checkskill2) (struct map_session_data *sd, uint16 *index);
-typedef int (*HPMHOOK_post_pc_checkskill2) (int retVal___, struct map_session_data *sd, uint16 *index);
+typedef int (*HPMHOOK_post_pc_checkskill2) (int retVal___, struct map_session_data *sd, uint16 index);
typedef int (*HPMHOOK_pre_pc_checkallowskill) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_checkallowskill) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_checkequip) (struct map_session_data *sd, int *pos);
-typedef int (*HPMHOOK_post_pc_checkequip) (int retVal___, struct map_session_data *sd, int *pos);
+typedef int (*HPMHOOK_post_pc_checkequip) (int retVal___, struct map_session_data *sd, int pos);
typedef int (*HPMHOOK_pre_pc_calc_skilltree) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_calc_skilltree) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_calc_skilltree_normalize_job) (struct map_session_data *sd);
@@ -5117,47 +5117,47 @@ typedef int (*HPMHOOK_post_pc_calc_skilltree_normalize_job) (int retVal___, stru
typedef int (*HPMHOOK_pre_pc_clean_skilltree) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_clean_skilltree) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_setpos) (struct map_session_data *sd, unsigned short *map_index, int *x, int *y, clr_type *clrtype);
-typedef int (*HPMHOOK_post_pc_setpos) (int retVal___, struct map_session_data *sd, unsigned short *map_index, int *x, int *y, clr_type *clrtype);
+typedef int (*HPMHOOK_post_pc_setpos) (int retVal___, struct map_session_data *sd, unsigned short map_index, int x, int y, clr_type clrtype);
typedef int (*HPMHOOK_pre_pc_setsavepoint) (struct map_session_data *sd, short *map_index, int *x, int *y);
-typedef int (*HPMHOOK_post_pc_setsavepoint) (int retVal___, struct map_session_data *sd, short *map_index, int *x, int *y);
+typedef int (*HPMHOOK_post_pc_setsavepoint) (int retVal___, struct map_session_data *sd, short map_index, int x, int y);
typedef int (*HPMHOOK_pre_pc_randomwarp) (struct map_session_data *sd, clr_type *type);
-typedef int (*HPMHOOK_post_pc_randomwarp) (int retVal___, struct map_session_data *sd, clr_type *type);
+typedef int (*HPMHOOK_post_pc_randomwarp) (int retVal___, struct map_session_data *sd, clr_type type);
typedef int (*HPMHOOK_pre_pc_memo) (struct map_session_data *sd, int *pos);
-typedef int (*HPMHOOK_post_pc_memo) (int retVal___, struct map_session_data *sd, int *pos);
+typedef int (*HPMHOOK_post_pc_memo) (int retVal___, struct map_session_data *sd, int pos);
typedef int (*HPMHOOK_pre_pc_checkadditem) (struct map_session_data *sd, int *nameid, int *amount);
-typedef int (*HPMHOOK_post_pc_checkadditem) (int retVal___, struct map_session_data *sd, int *nameid, int *amount);
+typedef int (*HPMHOOK_post_pc_checkadditem) (int retVal___, struct map_session_data *sd, int nameid, int amount);
typedef int (*HPMHOOK_pre_pc_inventoryblank) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_inventoryblank) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_search_inventory) (struct map_session_data *sd, int *item_id);
-typedef int (*HPMHOOK_post_pc_search_inventory) (int retVal___, struct map_session_data *sd, int *item_id);
+typedef int (*HPMHOOK_post_pc_search_inventory) (int retVal___, struct map_session_data *sd, int item_id);
typedef int (*HPMHOOK_pre_pc_payzeny) (struct map_session_data *sd, int *zeny, enum e_log_pick_type *type, struct map_session_data *tsd);
-typedef int (*HPMHOOK_post_pc_payzeny) (int retVal___, struct map_session_data *sd, int *zeny, enum e_log_pick_type *type, struct map_session_data *tsd);
+typedef int (*HPMHOOK_post_pc_payzeny) (int retVal___, struct map_session_data *sd, int zeny, enum e_log_pick_type type, struct map_session_data *tsd);
typedef int (*HPMHOOK_pre_pc_additem) (struct map_session_data *sd, struct item *item_data, int *amount, e_log_pick_type *log_type);
-typedef int (*HPMHOOK_post_pc_additem) (int retVal___, struct map_session_data *sd, struct item *item_data, int *amount, e_log_pick_type *log_type);
+typedef int (*HPMHOOK_post_pc_additem) (int retVal___, struct map_session_data *sd, struct item *item_data, int amount, e_log_pick_type log_type);
typedef int (*HPMHOOK_pre_pc_getzeny) (struct map_session_data *sd, int *zeny, enum e_log_pick_type *type, struct map_session_data *tsd);
-typedef int (*HPMHOOK_post_pc_getzeny) (int retVal___, struct map_session_data *sd, int *zeny, enum e_log_pick_type *type, struct map_session_data *tsd);
+typedef int (*HPMHOOK_post_pc_getzeny) (int retVal___, struct map_session_data *sd, int zeny, enum e_log_pick_type type, struct map_session_data *tsd);
typedef int (*HPMHOOK_pre_pc_delitem) (struct map_session_data *sd, int *n, int *amount, int *type, short *reason, e_log_pick_type *log_type);
-typedef int (*HPMHOOK_post_pc_delitem) (int retVal___, struct map_session_data *sd, int *n, int *amount, int *type, short *reason, e_log_pick_type *log_type);
+typedef int (*HPMHOOK_post_pc_delitem) (int retVal___, struct map_session_data *sd, int n, int amount, int type, short reason, e_log_pick_type log_type);
typedef int (*HPMHOOK_pre_pc_paycash) (struct map_session_data *sd, int *price, int *points);
-typedef int (*HPMHOOK_post_pc_paycash) (int retVal___, struct map_session_data *sd, int *price, int *points);
+typedef int (*HPMHOOK_post_pc_paycash) (int retVal___, struct map_session_data *sd, int price, int points);
typedef int (*HPMHOOK_pre_pc_getcash) (struct map_session_data *sd, int *cash, int *points);
-typedef int (*HPMHOOK_post_pc_getcash) (int retVal___, struct map_session_data *sd, int *cash, int *points);
+typedef int (*HPMHOOK_post_pc_getcash) (int retVal___, struct map_session_data *sd, int cash, int points);
typedef int (*HPMHOOK_pre_pc_cart_additem) (struct map_session_data *sd, struct item *item_data, int *amount, e_log_pick_type *log_type);
-typedef int (*HPMHOOK_post_pc_cart_additem) (int retVal___, struct map_session_data *sd, struct item *item_data, int *amount, e_log_pick_type *log_type);
+typedef int (*HPMHOOK_post_pc_cart_additem) (int retVal___, struct map_session_data *sd, struct item *item_data, int amount, e_log_pick_type log_type);
typedef int (*HPMHOOK_pre_pc_cart_delitem) (struct map_session_data *sd, int *n, int *amount, int *type, e_log_pick_type *log_type);
-typedef int (*HPMHOOK_post_pc_cart_delitem) (int retVal___, struct map_session_data *sd, int *n, int *amount, int *type, e_log_pick_type *log_type);
+typedef int (*HPMHOOK_post_pc_cart_delitem) (int retVal___, struct map_session_data *sd, int n, int amount, int type, e_log_pick_type log_type);
typedef int (*HPMHOOK_pre_pc_putitemtocart) (struct map_session_data *sd, int *idx, int *amount);
-typedef int (*HPMHOOK_post_pc_putitemtocart) (int retVal___, struct map_session_data *sd, int *idx, int *amount);
+typedef int (*HPMHOOK_post_pc_putitemtocart) (int retVal___, struct map_session_data *sd, int idx, int amount);
typedef int (*HPMHOOK_pre_pc_getitemfromcart) (struct map_session_data *sd, int *idx, int *amount);
-typedef int (*HPMHOOK_post_pc_getitemfromcart) (int retVal___, struct map_session_data *sd, int *idx, int *amount);
+typedef int (*HPMHOOK_post_pc_getitemfromcart) (int retVal___, struct map_session_data *sd, int idx, int amount);
typedef int (*HPMHOOK_pre_pc_cartitem_amount) (struct map_session_data *sd, int *idx, int *amount);
-typedef int (*HPMHOOK_post_pc_cartitem_amount) (int retVal___, struct map_session_data *sd, int *idx, int *amount);
+typedef int (*HPMHOOK_post_pc_cartitem_amount) (int retVal___, struct map_session_data *sd, int idx, int amount);
typedef int (*HPMHOOK_pre_pc_takeitem) (struct map_session_data *sd, struct flooritem_data *fitem);
typedef int (*HPMHOOK_post_pc_takeitem) (int retVal___, struct map_session_data *sd, struct flooritem_data *fitem);
typedef int (*HPMHOOK_pre_pc_dropitem) (struct map_session_data *sd, int *n, int *amount);
-typedef int (*HPMHOOK_post_pc_dropitem) (int retVal___, struct map_session_data *sd, int *n, int *amount);
+typedef int (*HPMHOOK_post_pc_dropitem) (int retVal___, struct map_session_data *sd, int n, int amount);
typedef bool (*HPMHOOK_pre_pc_isequipped) (struct map_session_data *sd, int *nameid);
-typedef bool (*HPMHOOK_post_pc_isequipped) (bool retVal___, struct map_session_data *sd, int *nameid);
+typedef bool (*HPMHOOK_post_pc_isequipped) (bool retVal___, struct map_session_data *sd, int nameid);
typedef bool (*HPMHOOK_pre_pc_can_Adopt) (struct map_session_data *p1_sd, struct map_session_data *p2_sd, struct map_session_data *b_sd);
typedef bool (*HPMHOOK_post_pc_can_Adopt) (bool retVal___, struct map_session_data *p1_sd, struct map_session_data *p2_sd, struct map_session_data *b_sd);
typedef bool (*HPMHOOK_pre_pc_adoption) (struct map_session_data *p1_sd, struct map_session_data *p2_sd, struct map_session_data *b_sd);
@@ -5165,41 +5165,41 @@ typedef bool (*HPMHOOK_post_pc_adoption) (bool retVal___, struct map_session_dat
typedef int (*HPMHOOK_pre_pc_updateweightstatus) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_updateweightstatus) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_addautobonus) (struct s_autobonus *bonus, char *max, const char *bonus_script, short *rate, unsigned int *dur, short *atk_type, const char *o_script, unsigned short *pos, bool *onskill);
-typedef int (*HPMHOOK_post_pc_addautobonus) (int retVal___, struct s_autobonus *bonus, char *max, const char *bonus_script, short *rate, unsigned int *dur, short *atk_type, const char *o_script, unsigned short *pos, bool *onskill);
+typedef int (*HPMHOOK_post_pc_addautobonus) (int retVal___, struct s_autobonus *bonus, char max, const char *bonus_script, short rate, unsigned int dur, short atk_type, const char *o_script, unsigned short pos, bool onskill);
typedef int (*HPMHOOK_pre_pc_exeautobonus) (struct map_session_data *sd, struct s_autobonus *bonus);
typedef int (*HPMHOOK_post_pc_exeautobonus) (int retVal___, struct map_session_data *sd, struct s_autobonus *bonus);
typedef int (*HPMHOOK_pre_pc_endautobonus) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_endautobonus) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_endautobonus) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_delautobonus) (struct map_session_data *sd, struct s_autobonus *bonus, char *max, bool *restore);
-typedef int (*HPMHOOK_post_pc_delautobonus) (int retVal___, struct map_session_data *sd, struct s_autobonus *bonus, char *max, bool *restore);
+typedef int (*HPMHOOK_post_pc_delautobonus) (int retVal___, struct map_session_data *sd, struct s_autobonus *bonus, char max, bool restore);
typedef int (*HPMHOOK_pre_pc_bonus) (struct map_session_data *sd, int *type, int *val);
-typedef int (*HPMHOOK_post_pc_bonus) (int retVal___, struct map_session_data *sd, int *type, int *val);
+typedef int (*HPMHOOK_post_pc_bonus) (int retVal___, struct map_session_data *sd, int type, int val);
typedef int (*HPMHOOK_pre_pc_bonus2) (struct map_session_data *sd, int *type, int *type2, int *val);
-typedef int (*HPMHOOK_post_pc_bonus2) (int retVal___, struct map_session_data *sd, int *type, int *type2, int *val);
+typedef int (*HPMHOOK_post_pc_bonus2) (int retVal___, struct map_session_data *sd, int type, int type2, int val);
typedef int (*HPMHOOK_pre_pc_bonus3) (struct map_session_data *sd, int *type, int *type2, int *type3, int *val);
-typedef int (*HPMHOOK_post_pc_bonus3) (int retVal___, struct map_session_data *sd, int *type, int *type2, int *type3, int *val);
+typedef int (*HPMHOOK_post_pc_bonus3) (int retVal___, struct map_session_data *sd, int type, int type2, int type3, int val);
typedef int (*HPMHOOK_pre_pc_bonus4) (struct map_session_data *sd, int *type, int *type2, int *type3, int *type4, int *val);
-typedef int (*HPMHOOK_post_pc_bonus4) (int retVal___, struct map_session_data *sd, int *type, int *type2, int *type3, int *type4, int *val);
+typedef int (*HPMHOOK_post_pc_bonus4) (int retVal___, struct map_session_data *sd, int type, int type2, int type3, int type4, int val);
typedef int (*HPMHOOK_pre_pc_bonus5) (struct map_session_data *sd, int *type, int *type2, int *type3, int *type4, int *type5, int *val);
-typedef int (*HPMHOOK_post_pc_bonus5) (int retVal___, struct map_session_data *sd, int *type, int *type2, int *type3, int *type4, int *type5, int *val);
+typedef int (*HPMHOOK_post_pc_bonus5) (int retVal___, struct map_session_data *sd, int type, int type2, int type3, int type4, int type5, int val);
typedef int (*HPMHOOK_pre_pc_skill) (struct map_session_data *sd, int *id, int *level, int *flag);
-typedef int (*HPMHOOK_post_pc_skill) (int retVal___, struct map_session_data *sd, int *id, int *level, int *flag);
+typedef int (*HPMHOOK_post_pc_skill) (int retVal___, struct map_session_data *sd, int id, int level, int flag);
typedef int (*HPMHOOK_pre_pc_insert_card) (struct map_session_data *sd, int *idx_card, int *idx_equip);
-typedef int (*HPMHOOK_post_pc_insert_card) (int retVal___, struct map_session_data *sd, int *idx_card, int *idx_equip);
+typedef int (*HPMHOOK_post_pc_insert_card) (int retVal___, struct map_session_data *sd, int idx_card, int idx_equip);
typedef bool (*HPMHOOK_pre_pc_can_insert_card) (struct map_session_data *sd, int *idx_card);
-typedef bool (*HPMHOOK_post_pc_can_insert_card) (bool retVal___, struct map_session_data *sd, int *idx_card);
+typedef bool (*HPMHOOK_post_pc_can_insert_card) (bool retVal___, struct map_session_data *sd, int idx_card);
typedef bool (*HPMHOOK_pre_pc_can_insert_card_into) (struct map_session_data *sd, int *idx_card, int *idx_equip);
-typedef bool (*HPMHOOK_post_pc_can_insert_card_into) (bool retVal___, struct map_session_data *sd, int *idx_card, int *idx_equip);
+typedef bool (*HPMHOOK_post_pc_can_insert_card_into) (bool retVal___, struct map_session_data *sd, int idx_card, int idx_equip);
typedef int (*HPMHOOK_pre_pc_steal_item) (struct map_session_data *sd, struct block_list *bl, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_pc_steal_item) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_pc_steal_item) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 skill_lv);
typedef int (*HPMHOOK_pre_pc_steal_coin) (struct map_session_data *sd, struct block_list *bl);
typedef int (*HPMHOOK_post_pc_steal_coin) (int retVal___, struct map_session_data *sd, struct block_list *bl);
typedef int (*HPMHOOK_pre_pc_modifybuyvalue) (struct map_session_data *sd, int *orig_value);
-typedef int (*HPMHOOK_post_pc_modifybuyvalue) (int retVal___, struct map_session_data *sd, int *orig_value);
+typedef int (*HPMHOOK_post_pc_modifybuyvalue) (int retVal___, struct map_session_data *sd, int orig_value);
typedef int (*HPMHOOK_pre_pc_modifysellvalue) (struct map_session_data *sd, int *orig_value);
-typedef int (*HPMHOOK_post_pc_modifysellvalue) (int retVal___, struct map_session_data *sd, int *orig_value);
+typedef int (*HPMHOOK_post_pc_modifysellvalue) (int retVal___, struct map_session_data *sd, int orig_value);
typedef int (*HPMHOOK_pre_pc_follow) (struct map_session_data *sd, int *target_id);
-typedef int (*HPMHOOK_post_pc_follow) (int retVal___, struct map_session_data *sd, int *target_id);
+typedef int (*HPMHOOK_post_pc_follow) (int retVal___, struct map_session_data *sd, int target_id);
typedef int (*HPMHOOK_pre_pc_stop_following) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_stop_following) (int retVal___, struct map_session_data *sd);
typedef unsigned int (*HPMHOOK_pre_pc_maxbaselv) (struct map_session_data *sd);
@@ -5211,7 +5211,7 @@ typedef int (*HPMHOOK_post_pc_checkbaselevelup) (int retVal___, struct map_sessi
typedef int (*HPMHOOK_pre_pc_checkjoblevelup) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_checkjoblevelup) (int retVal___, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_pc_gainexp) (struct map_session_data *sd, struct block_list *src, unsigned int *base_exp, unsigned int *job_exp, bool *is_quest);
-typedef bool (*HPMHOOK_post_pc_gainexp) (bool retVal___, struct map_session_data *sd, struct block_list *src, unsigned int *base_exp, unsigned int *job_exp, bool *is_quest);
+typedef bool (*HPMHOOK_post_pc_gainexp) (bool retVal___, struct map_session_data *sd, struct block_list *src, unsigned int base_exp, unsigned int job_exp, bool is_quest);
typedef unsigned int (*HPMHOOK_pre_pc_nextbaseexp) (struct map_session_data *sd);
typedef unsigned int (*HPMHOOK_post_pc_nextbaseexp) (unsigned int retVal___, struct map_session_data *sd);
typedef unsigned int (*HPMHOOK_pre_pc_thisbaseexp) (struct map_session_data *sd);
@@ -5221,111 +5221,111 @@ typedef unsigned int (*HPMHOOK_post_pc_nextjobexp) (unsigned int retVal___, stru
typedef unsigned int (*HPMHOOK_pre_pc_thisjobexp) (struct map_session_data *sd);
typedef unsigned int (*HPMHOOK_post_pc_thisjobexp) (unsigned int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_gets_status_point) (int *level);
-typedef int (*HPMHOOK_post_pc_gets_status_point) (int retVal___, int *level);
+typedef int (*HPMHOOK_post_pc_gets_status_point) (int retVal___, int level);
typedef int (*HPMHOOK_pre_pc_need_status_point) (struct map_session_data *sd, int *type, int *val);
-typedef int (*HPMHOOK_post_pc_need_status_point) (int retVal___, struct map_session_data *sd, int *type, int *val);
+typedef int (*HPMHOOK_post_pc_need_status_point) (int retVal___, struct map_session_data *sd, int type, int val);
typedef int (*HPMHOOK_pre_pc_maxparameterincrease) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_pc_maxparameterincrease) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_pc_maxparameterincrease) (int retVal___, struct map_session_data *sd, int type);
typedef bool (*HPMHOOK_pre_pc_statusup) (struct map_session_data *sd, int *type, int *increase);
-typedef bool (*HPMHOOK_post_pc_statusup) (bool retVal___, struct map_session_data *sd, int *type, int *increase);
+typedef bool (*HPMHOOK_post_pc_statusup) (bool retVal___, struct map_session_data *sd, int type, int increase);
typedef int (*HPMHOOK_pre_pc_statusup2) (struct map_session_data *sd, int *type, int *val);
-typedef int (*HPMHOOK_post_pc_statusup2) (int retVal___, struct map_session_data *sd, int *type, int *val);
+typedef int (*HPMHOOK_post_pc_statusup2) (int retVal___, struct map_session_data *sd, int type, int val);
typedef int (*HPMHOOK_pre_pc_skillup) (struct map_session_data *sd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_pc_skillup) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_pc_skillup) (int retVal___, struct map_session_data *sd, uint16 skill_id);
typedef int (*HPMHOOK_pre_pc_allskillup) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_allskillup) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_resetlvl) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_pc_resetlvl) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_pc_resetlvl) (int retVal___, struct map_session_data *sd, int type);
typedef int (*HPMHOOK_pre_pc_resetstate) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_resetstate) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_resetskill) (struct map_session_data *sd, int *flag);
-typedef int (*HPMHOOK_post_pc_resetskill) (int retVal___, struct map_session_data *sd, int *flag);
+typedef int (*HPMHOOK_post_pc_resetskill) (int retVal___, struct map_session_data *sd, int flag);
typedef int (*HPMHOOK_pre_pc_resetfeel) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_resetfeel) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_resethate) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_resethate) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_equipitem) (struct map_session_data *sd, int *n, int *req_pos);
-typedef int (*HPMHOOK_post_pc_equipitem) (int retVal___, struct map_session_data *sd, int *n, int *req_pos);
+typedef int (*HPMHOOK_post_pc_equipitem) (int retVal___, struct map_session_data *sd, int n, int req_pos);
typedef void (*HPMHOOK_pre_pc_equipitem_pos) (struct map_session_data *sd, struct item_data *id, int *n, int *pos);
-typedef void (*HPMHOOK_post_pc_equipitem_pos) (struct map_session_data *sd, struct item_data *id, int *n, int *pos);
+typedef void (*HPMHOOK_post_pc_equipitem_pos) (struct map_session_data *sd, struct item_data *id, int n, int pos);
typedef int (*HPMHOOK_pre_pc_unequipitem) (struct map_session_data *sd, int *n, int *flag);
-typedef int (*HPMHOOK_post_pc_unequipitem) (int retVal___, struct map_session_data *sd, int *n, int *flag);
+typedef int (*HPMHOOK_post_pc_unequipitem) (int retVal___, struct map_session_data *sd, int n, int flag);
typedef void (*HPMHOOK_pre_pc_unequipitem_pos) (struct map_session_data *sd, int *n, int *pos);
-typedef void (*HPMHOOK_post_pc_unequipitem_pos) (struct map_session_data *sd, int *n, int *pos);
+typedef void (*HPMHOOK_post_pc_unequipitem_pos) (struct map_session_data *sd, int n, int pos);
typedef int (*HPMHOOK_pre_pc_checkitem) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_checkitem) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_useitem) (struct map_session_data *sd, int *n);
-typedef int (*HPMHOOK_post_pc_useitem) (int retVal___, struct map_session_data *sd, int *n);
+typedef int (*HPMHOOK_post_pc_useitem) (int retVal___, struct map_session_data *sd, int n);
typedef int (*HPMHOOK_pre_pc_skillatk_bonus) (struct map_session_data *sd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_pc_skillatk_bonus) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_pc_skillatk_bonus) (int retVal___, struct map_session_data *sd, uint16 skill_id);
typedef int (*HPMHOOK_pre_pc_skillheal_bonus) (struct map_session_data *sd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_pc_skillheal_bonus) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_pc_skillheal_bonus) (int retVal___, struct map_session_data *sd, uint16 skill_id);
typedef int (*HPMHOOK_pre_pc_skillheal2_bonus) (struct map_session_data *sd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_pc_skillheal2_bonus) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_pc_skillheal2_bonus) (int retVal___, struct map_session_data *sd, uint16 skill_id);
typedef void (*HPMHOOK_pre_pc_damage) (struct map_session_data *sd, struct block_list *src, unsigned int *hp, unsigned int *sp);
-typedef void (*HPMHOOK_post_pc_damage) (struct map_session_data *sd, struct block_list *src, unsigned int *hp, unsigned int *sp);
+typedef void (*HPMHOOK_post_pc_damage) (struct map_session_data *sd, struct block_list *src, unsigned int hp, unsigned int sp);
typedef int (*HPMHOOK_pre_pc_dead) (struct map_session_data *sd, struct block_list *src);
typedef int (*HPMHOOK_post_pc_dead) (int retVal___, struct map_session_data *sd, struct block_list *src);
typedef void (*HPMHOOK_pre_pc_revive) (struct map_session_data *sd, unsigned int *hp, unsigned int *sp);
-typedef void (*HPMHOOK_post_pc_revive) (struct map_session_data *sd, unsigned int *hp, unsigned int *sp);
+typedef void (*HPMHOOK_post_pc_revive) (struct map_session_data *sd, unsigned int hp, unsigned int sp);
typedef void (*HPMHOOK_pre_pc_heal) (struct map_session_data *sd, unsigned int *hp, unsigned int *sp, int *type);
-typedef void (*HPMHOOK_post_pc_heal) (struct map_session_data *sd, unsigned int *hp, unsigned int *sp, int *type);
+typedef void (*HPMHOOK_post_pc_heal) (struct map_session_data *sd, unsigned int hp, unsigned int sp, int type);
typedef int (*HPMHOOK_pre_pc_itemheal) (struct map_session_data *sd, int *itemid, int *hp, int *sp);
-typedef int (*HPMHOOK_post_pc_itemheal) (int retVal___, struct map_session_data *sd, int *itemid, int *hp, int *sp);
+typedef int (*HPMHOOK_post_pc_itemheal) (int retVal___, struct map_session_data *sd, int itemid, int hp, int sp);
typedef int (*HPMHOOK_pre_pc_percentheal) (struct map_session_data *sd, int *hp, int *sp);
-typedef int (*HPMHOOK_post_pc_percentheal) (int retVal___, struct map_session_data *sd, int *hp, int *sp);
+typedef int (*HPMHOOK_post_pc_percentheal) (int retVal___, struct map_session_data *sd, int hp, int sp);
typedef int (*HPMHOOK_pre_pc_jobchange) (struct map_session_data *sd, int *job, int *upper);
-typedef int (*HPMHOOK_post_pc_jobchange) (int retVal___, struct map_session_data *sd, int *job, int *upper);
+typedef int (*HPMHOOK_post_pc_jobchange) (int retVal___, struct map_session_data *sd, int job, int upper);
typedef int (*HPMHOOK_pre_pc_setoption) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_pc_setoption) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_pc_setoption) (int retVal___, struct map_session_data *sd, int type);
typedef int (*HPMHOOK_pre_pc_setcart) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_pc_setcart) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_pc_setcart) (int retVal___, struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_pc_setfalcon) (struct map_session_data *sd, bool *flag);
-typedef void (*HPMHOOK_post_pc_setfalcon) (struct map_session_data *sd, bool *flag);
+typedef void (*HPMHOOK_post_pc_setfalcon) (struct map_session_data *sd, bool flag);
typedef void (*HPMHOOK_pre_pc_setridingpeco) (struct map_session_data *sd, bool *flag);
-typedef void (*HPMHOOK_post_pc_setridingpeco) (struct map_session_data *sd, bool *flag);
+typedef void (*HPMHOOK_post_pc_setridingpeco) (struct map_session_data *sd, bool flag);
typedef void (*HPMHOOK_pre_pc_setmadogear) (struct map_session_data *sd, bool *flag);
-typedef void (*HPMHOOK_post_pc_setmadogear) (struct map_session_data *sd, bool *flag);
+typedef void (*HPMHOOK_post_pc_setmadogear) (struct map_session_data *sd, bool flag);
typedef void (*HPMHOOK_pre_pc_setridingdragon) (struct map_session_data *sd, unsigned int *type);
-typedef void (*HPMHOOK_post_pc_setridingdragon) (struct map_session_data *sd, unsigned int *type);
+typedef void (*HPMHOOK_post_pc_setridingdragon) (struct map_session_data *sd, unsigned int type);
typedef void (*HPMHOOK_pre_pc_setridingwug) (struct map_session_data *sd, bool *flag);
-typedef void (*HPMHOOK_post_pc_setridingwug) (struct map_session_data *sd, bool *flag);
+typedef void (*HPMHOOK_post_pc_setridingwug) (struct map_session_data *sd, bool flag);
typedef int (*HPMHOOK_pre_pc_changelook) (struct map_session_data *sd, int *type, int *val);
-typedef int (*HPMHOOK_post_pc_changelook) (int retVal___, struct map_session_data *sd, int *type, int *val);
+typedef int (*HPMHOOK_post_pc_changelook) (int retVal___, struct map_session_data *sd, int type, int val);
typedef int (*HPMHOOK_pre_pc_equiplookall) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_equiplookall) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_readparam) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_pc_readparam) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_pc_readparam) (int retVal___, struct map_session_data *sd, int type);
typedef int (*HPMHOOK_pre_pc_setparam) (struct map_session_data *sd, int *type, int *val);
-typedef int (*HPMHOOK_post_pc_setparam) (int retVal___, struct map_session_data *sd, int *type, int *val);
+typedef int (*HPMHOOK_post_pc_setparam) (int retVal___, struct map_session_data *sd, int type, int val);
typedef int (*HPMHOOK_pre_pc_readreg) (struct map_session_data *sd, int64 *reg);
-typedef int (*HPMHOOK_post_pc_readreg) (int retVal___, struct map_session_data *sd, int64 *reg);
+typedef int (*HPMHOOK_post_pc_readreg) (int retVal___, struct map_session_data *sd, int64 reg);
typedef void (*HPMHOOK_pre_pc_setreg) (struct map_session_data *sd, int64 *reg, int *val);
-typedef void (*HPMHOOK_post_pc_setreg) (struct map_session_data *sd, int64 *reg, int *val);
+typedef void (*HPMHOOK_post_pc_setreg) (struct map_session_data *sd, int64 reg, int val);
typedef char* (*HPMHOOK_pre_pc_readregstr) (struct map_session_data *sd, int64 *reg);
-typedef char* (*HPMHOOK_post_pc_readregstr) (char* retVal___, struct map_session_data *sd, int64 *reg);
+typedef char* (*HPMHOOK_post_pc_readregstr) (char* retVal___, struct map_session_data *sd, int64 reg);
typedef void (*HPMHOOK_pre_pc_setregstr) (struct map_session_data *sd, int64 *reg, const char *str);
-typedef void (*HPMHOOK_post_pc_setregstr) (struct map_session_data *sd, int64 *reg, const char *str);
+typedef void (*HPMHOOK_post_pc_setregstr) (struct map_session_data *sd, int64 reg, const char *str);
typedef int (*HPMHOOK_pre_pc_readregistry) (struct map_session_data *sd, int64 *reg);
-typedef int (*HPMHOOK_post_pc_readregistry) (int retVal___, struct map_session_data *sd, int64 *reg);
+typedef int (*HPMHOOK_post_pc_readregistry) (int retVal___, struct map_session_data *sd, int64 reg);
typedef int (*HPMHOOK_pre_pc_setregistry) (struct map_session_data *sd, int64 *reg, int *val);
-typedef int (*HPMHOOK_post_pc_setregistry) (int retVal___, struct map_session_data *sd, int64 *reg, int *val);
+typedef int (*HPMHOOK_post_pc_setregistry) (int retVal___, struct map_session_data *sd, int64 reg, int val);
typedef char* (*HPMHOOK_pre_pc_readregistry_str) (struct map_session_data *sd, int64 *reg);
-typedef char* (*HPMHOOK_post_pc_readregistry_str) (char* retVal___, struct map_session_data *sd, int64 *reg);
+typedef char* (*HPMHOOK_post_pc_readregistry_str) (char* retVal___, struct map_session_data *sd, int64 reg);
typedef int (*HPMHOOK_pre_pc_setregistry_str) (struct map_session_data *sd, int64 *reg, const char *val);
-typedef int (*HPMHOOK_post_pc_setregistry_str) (int retVal___, struct map_session_data *sd, int64 *reg, const char *val);
+typedef int (*HPMHOOK_post_pc_setregistry_str) (int retVal___, struct map_session_data *sd, int64 reg, const char *val);
typedef int (*HPMHOOK_pre_pc_addeventtimer) (struct map_session_data *sd, int *tick, const char *name);
-typedef int (*HPMHOOK_post_pc_addeventtimer) (int retVal___, struct map_session_data *sd, int *tick, const char *name);
+typedef int (*HPMHOOK_post_pc_addeventtimer) (int retVal___, struct map_session_data *sd, int tick, const char *name);
typedef int (*HPMHOOK_pre_pc_deleventtimer) (struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_post_pc_deleventtimer) (int retVal___, struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_pre_pc_cleareventtimer) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_cleareventtimer) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_addeventtimercount) (struct map_session_data *sd, const char *name, int *tick);
-typedef int (*HPMHOOK_post_pc_addeventtimercount) (int retVal___, struct map_session_data *sd, const char *name, int *tick);
+typedef int (*HPMHOOK_post_pc_addeventtimercount) (int retVal___, struct map_session_data *sd, const char *name, int tick);
typedef int (*HPMHOOK_pre_pc_calc_pvprank) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_calc_pvprank) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_calc_pvprank_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_calc_pvprank_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_calc_pvprank_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_ismarried) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_ismarried) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_marriage) (struct map_session_data *sd, struct map_session_data *dstsd);
@@ -5341,117 +5341,117 @@ typedef struct map_session_data* (*HPMHOOK_post_pc_get_mother) (struct map_sessi
typedef struct map_session_data* (*HPMHOOK_pre_pc_get_child) (struct map_session_data *sd);
typedef struct map_session_data* (*HPMHOOK_post_pc_get_child) (struct map_session_data* retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_pc_bleeding) (struct map_session_data *sd, unsigned int *diff_tick);
-typedef void (*HPMHOOK_post_pc_bleeding) (struct map_session_data *sd, unsigned int *diff_tick);
+typedef void (*HPMHOOK_post_pc_bleeding) (struct map_session_data *sd, unsigned int diff_tick);
typedef void (*HPMHOOK_pre_pc_regen) (struct map_session_data *sd, unsigned int *diff_tick);
-typedef void (*HPMHOOK_post_pc_regen) (struct map_session_data *sd, unsigned int *diff_tick);
+typedef void (*HPMHOOK_post_pc_regen) (struct map_session_data *sd, unsigned int diff_tick);
typedef void (*HPMHOOK_pre_pc_setstand) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_setstand) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_candrop) (struct map_session_data *sd, struct item *item);
typedef int (*HPMHOOK_post_pc_candrop) (int retVal___, struct map_session_data *sd, struct item *item);
typedef int (*HPMHOOK_pre_pc_jobid2mapid) (unsigned short *b_class);
-typedef int (*HPMHOOK_post_pc_jobid2mapid) (int retVal___, unsigned short *b_class);
+typedef int (*HPMHOOK_post_pc_jobid2mapid) (int retVal___, unsigned short b_class);
typedef int (*HPMHOOK_pre_pc_mapid2jobid) (unsigned short *class_, int *sex);
-typedef int (*HPMHOOK_post_pc_mapid2jobid) (int retVal___, unsigned short *class_, int *sex);
+typedef int (*HPMHOOK_post_pc_mapid2jobid) (int retVal___, unsigned short class_, int sex);
typedef const char* (*HPMHOOK_pre_pc_job_name) (int *class_);
-typedef const char* (*HPMHOOK_post_pc_job_name) (const char* retVal___, int *class_);
+typedef const char* (*HPMHOOK_post_pc_job_name) (const char* retVal___, int class_);
typedef void (*HPMHOOK_pre_pc_setinvincibletimer) (struct map_session_data *sd, int *val);
-typedef void (*HPMHOOK_post_pc_setinvincibletimer) (struct map_session_data *sd, int *val);
+typedef void (*HPMHOOK_post_pc_setinvincibletimer) (struct map_session_data *sd, int val);
typedef void (*HPMHOOK_pre_pc_delinvincibletimer) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_delinvincibletimer) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_addspiritball) (struct map_session_data *sd, int *interval, int *max);
-typedef int (*HPMHOOK_post_pc_addspiritball) (int retVal___, struct map_session_data *sd, int *interval, int *max);
+typedef int (*HPMHOOK_post_pc_addspiritball) (int retVal___, struct map_session_data *sd, int interval, int max);
typedef int (*HPMHOOK_pre_pc_delspiritball) (struct map_session_data *sd, int *count, int *type);
-typedef int (*HPMHOOK_post_pc_delspiritball) (int retVal___, struct map_session_data *sd, int *count, int *type);
+typedef int (*HPMHOOK_post_pc_delspiritball) (int retVal___, struct map_session_data *sd, int count, int type);
typedef int (*HPMHOOK_pre_pc_getmaxspiritball) (struct map_session_data *sd, int *min);
-typedef int (*HPMHOOK_post_pc_getmaxspiritball) (int retVal___, struct map_session_data *sd, int *min);
+typedef int (*HPMHOOK_post_pc_getmaxspiritball) (int retVal___, struct map_session_data *sd, int min);
typedef void (*HPMHOOK_pre_pc_addfame) (struct map_session_data *sd, int *count);
-typedef void (*HPMHOOK_post_pc_addfame) (struct map_session_data *sd, int *count);
+typedef void (*HPMHOOK_post_pc_addfame) (struct map_session_data *sd, int count);
typedef unsigned char (*HPMHOOK_pre_pc_famerank) (int *char_id, int *job);
-typedef unsigned char (*HPMHOOK_post_pc_famerank) (unsigned char retVal___, int *char_id, int *job);
+typedef unsigned char (*HPMHOOK_post_pc_famerank) (unsigned char retVal___, int char_id, int job);
typedef int (*HPMHOOK_pre_pc_set_hate_mob) (struct map_session_data *sd, int *pos, struct block_list *bl);
-typedef int (*HPMHOOK_post_pc_set_hate_mob) (int retVal___, struct map_session_data *sd, int *pos, struct block_list *bl);
+typedef int (*HPMHOOK_post_pc_set_hate_mob) (int retVal___, struct map_session_data *sd, int pos, struct block_list *bl);
typedef int (*HPMHOOK_pre_pc_readdb) (void);
typedef int (*HPMHOOK_post_pc_readdb) (int retVal___);
typedef int (*HPMHOOK_pre_pc_map_day_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_map_day_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_map_day_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_map_night_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_map_night_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_map_night_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_pc_inventory_rentals) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_inventory_rentals) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_inventory_rental_clear) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_inventory_rental_clear) (int retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_pc_inventory_rental_add) (struct map_session_data *sd, int *seconds);
-typedef void (*HPMHOOK_post_pc_inventory_rental_add) (struct map_session_data *sd, int *seconds);
+typedef void (*HPMHOOK_post_pc_inventory_rental_add) (struct map_session_data *sd, int seconds);
typedef int (*HPMHOOK_pre_pc_disguise) (struct map_session_data *sd, int *class_);
-typedef int (*HPMHOOK_post_pc_disguise) (int retVal___, struct map_session_data *sd, int *class_);
+typedef int (*HPMHOOK_post_pc_disguise) (int retVal___, struct map_session_data *sd, int class_);
typedef bool (*HPMHOOK_pre_pc_isautolooting) (struct map_session_data *sd, int *nameid);
-typedef bool (*HPMHOOK_post_pc_isautolooting) (bool retVal___, struct map_session_data *sd, int *nameid);
+typedef bool (*HPMHOOK_post_pc_isautolooting) (bool retVal___, struct map_session_data *sd, int nameid);
typedef void (*HPMHOOK_pre_pc_overheat) (struct map_session_data *sd, int *val);
-typedef void (*HPMHOOK_post_pc_overheat) (struct map_session_data *sd, int *val);
+typedef void (*HPMHOOK_post_pc_overheat) (struct map_session_data *sd, int val);
typedef int (*HPMHOOK_pre_pc_banding) (struct map_session_data *sd, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_pc_banding) (int retVal___, struct map_session_data *sd, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_pc_banding) (int retVal___, struct map_session_data *sd, uint16 skill_lv);
typedef void (*HPMHOOK_pre_pc_itemcd_do) (struct map_session_data *sd, bool *load);
-typedef void (*HPMHOOK_post_pc_itemcd_do) (struct map_session_data *sd, bool *load);
+typedef void (*HPMHOOK_post_pc_itemcd_do) (struct map_session_data *sd, bool load);
typedef int (*HPMHOOK_pre_pc_load_combo) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_load_combo) (int retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_pc_add_charm) (struct map_session_data *sd, int *interval, int *max, int *type);
-typedef void (*HPMHOOK_post_pc_add_charm) (struct map_session_data *sd, int *interval, int *max, int *type);
+typedef void (*HPMHOOK_post_pc_add_charm) (struct map_session_data *sd, int interval, int max, int type);
typedef void (*HPMHOOK_pre_pc_del_charm) (struct map_session_data *sd, int *count, int *type);
-typedef void (*HPMHOOK_post_pc_del_charm) (struct map_session_data *sd, int *count, int *type);
+typedef void (*HPMHOOK_post_pc_del_charm) (struct map_session_data *sd, int count, int type);
typedef void (*HPMHOOK_pre_pc_baselevelchanged) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_baselevelchanged) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_level_penalty_mod) (int *diff, unsigned char *race, uint32 *mode, int *type);
-typedef int (*HPMHOOK_post_pc_level_penalty_mod) (int retVal___, int *diff, unsigned char *race, uint32 *mode, int *type);
+typedef int (*HPMHOOK_post_pc_level_penalty_mod) (int retVal___, int diff, unsigned char race, uint32 mode, int type);
typedef int (*HPMHOOK_pre_pc_calc_skillpoint) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_calc_skillpoint) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_invincible_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_invincible_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_invincible_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_spiritball_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_spiritball_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_spiritball_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_check_banding) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_pc_check_banding) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_pc_inventory_rental_end) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_inventory_rental_end) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_inventory_rental_end) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_pc_check_skilltree) (struct map_session_data *sd, int *skill_id);
-typedef void (*HPMHOOK_post_pc_check_skilltree) (struct map_session_data *sd, int *skill_id);
+typedef void (*HPMHOOK_post_pc_check_skilltree) (struct map_session_data *sd, int skill_id);
typedef int (*HPMHOOK_pre_pc_bonus_autospell) (struct s_autospell *spell, int *max, short *id, short *lv, short *rate, short *flag, short *card_id);
-typedef int (*HPMHOOK_post_pc_bonus_autospell) (int retVal___, struct s_autospell *spell, int *max, short *id, short *lv, short *rate, short *flag, short *card_id);
+typedef int (*HPMHOOK_post_pc_bonus_autospell) (int retVal___, struct s_autospell *spell, int max, short id, short lv, short rate, short flag, short card_id);
typedef int (*HPMHOOK_pre_pc_bonus_autospell_onskill) (struct s_autospell *spell, int *max, short *src_skill, short *id, short *lv, short *rate, short *card_id);
-typedef int (*HPMHOOK_post_pc_bonus_autospell_onskill) (int retVal___, struct s_autospell *spell, int *max, short *src_skill, short *id, short *lv, short *rate, short *card_id);
+typedef int (*HPMHOOK_post_pc_bonus_autospell_onskill) (int retVal___, struct s_autospell *spell, int max, short src_skill, short id, short lv, short rate, short card_id);
typedef int (*HPMHOOK_pre_pc_bonus_addeff) (struct s_addeffect *effect, int *max, enum sc_type *id, int16 *rate, int16 *arrow_rate, uint8 *flag, uint16 *duration);
-typedef int (*HPMHOOK_post_pc_bonus_addeff) (int retVal___, struct s_addeffect *effect, int *max, enum sc_type *id, int16 *rate, int16 *arrow_rate, uint8 *flag, uint16 *duration);
+typedef int (*HPMHOOK_post_pc_bonus_addeff) (int retVal___, struct s_addeffect *effect, int max, enum sc_type id, int16 rate, int16 arrow_rate, uint8 flag, uint16 duration);
typedef int (*HPMHOOK_pre_pc_bonus_addeff_onskill) (struct s_addeffectonskill *effect, int *max, enum sc_type *id, short *rate, short *skill_id, unsigned char *target);
-typedef int (*HPMHOOK_post_pc_bonus_addeff_onskill) (int retVal___, struct s_addeffectonskill *effect, int *max, enum sc_type *id, short *rate, short *skill_id, unsigned char *target);
+typedef int (*HPMHOOK_post_pc_bonus_addeff_onskill) (int retVal___, struct s_addeffectonskill *effect, int max, enum sc_type id, short rate, short skill_id, unsigned char target);
typedef int (*HPMHOOK_pre_pc_bonus_item_drop) (struct s_add_drop *drop, const short *max, short *id, short *group, int *race, int *rate);
-typedef int (*HPMHOOK_post_pc_bonus_item_drop) (int retVal___, struct s_add_drop *drop, const short *max, short *id, short *group, int *race, int *rate);
+typedef int (*HPMHOOK_post_pc_bonus_item_drop) (int retVal___, struct s_add_drop *drop, const short max, short id, short group, int race, int rate);
typedef void (*HPMHOOK_pre_pc_calcexp) (struct map_session_data *sd, unsigned int *base_exp, unsigned int *job_exp, struct block_list *src);
typedef void (*HPMHOOK_post_pc_calcexp) (struct map_session_data *sd, unsigned int *base_exp, unsigned int *job_exp, struct block_list *src);
typedef int (*HPMHOOK_pre_pc_respawn_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_respawn_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_respawn_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_jobchange_killclone) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_pc_jobchange_killclone) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_pc_getstat) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_pc_getstat) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_pc_getstat) (int retVal___, struct map_session_data *sd, int type);
typedef int (*HPMHOOK_pre_pc_setstat) (struct map_session_data *sd, int *type, int *val);
-typedef int (*HPMHOOK_post_pc_setstat) (int retVal___, struct map_session_data *sd, int *type, int *val);
+typedef int (*HPMHOOK_post_pc_setstat) (int retVal___, struct map_session_data *sd, int type, int val);
typedef int (*HPMHOOK_pre_pc_eventtimer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_eventtimer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_eventtimer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_daynight_timer_sub) (struct map_session_data *sd, va_list ap);
typedef int (*HPMHOOK_post_pc_daynight_timer_sub) (int retVal___, struct map_session_data *sd, va_list ap);
typedef int (*HPMHOOK_pre_pc_charm_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_charm_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_charm_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef bool (*HPMHOOK_pre_pc_readdb_levelpenalty) (char *fields[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_pc_readdb_levelpenalty) (bool retVal___, char *fields[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_pc_readdb_levelpenalty) (bool retVal___, char *fields[], int columns, int current);
typedef int (*HPMHOOK_pre_pc_autosave) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_autosave) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_autosave) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_follow_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_follow_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_follow_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_pc_read_skill_tree) (void);
typedef void (*HPMHOOK_post_pc_read_skill_tree) (void);
typedef void (*HPMHOOK_pre_pc_clear_skill_tree) (void);
typedef void (*HPMHOOK_post_pc_clear_skill_tree) (void);
typedef int (*HPMHOOK_pre_pc_isUseitem) (struct map_session_data *sd, int *n);
-typedef int (*HPMHOOK_post_pc_isUseitem) (int retVal___, struct map_session_data *sd, int *n);
+typedef int (*HPMHOOK_post_pc_isUseitem) (int retVal___, struct map_session_data *sd, int n);
typedef int (*HPMHOOK_pre_pc_show_steal) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_pc_show_steal) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_pc_checkcombo) (struct map_session_data *sd, struct item_data *data);
@@ -5461,29 +5461,29 @@ typedef int (*HPMHOOK_post_pc_calcweapontype) (int retVal___, struct map_session
typedef int (*HPMHOOK_pre_pc_removecombo) (struct map_session_data *sd, struct item_data *data);
typedef int (*HPMHOOK_post_pc_removecombo) (int retVal___, struct map_session_data *sd, struct item_data *data);
typedef void (*HPMHOOK_pre_pc_bank_deposit) (struct map_session_data *sd, int *money);
-typedef void (*HPMHOOK_post_pc_bank_deposit) (struct map_session_data *sd, int *money);
+typedef void (*HPMHOOK_post_pc_bank_deposit) (struct map_session_data *sd, int money);
typedef void (*HPMHOOK_pre_pc_bank_withdraw) (struct map_session_data *sd, int *money);
-typedef void (*HPMHOOK_post_pc_bank_withdraw) (struct map_session_data *sd, int *money);
+typedef void (*HPMHOOK_post_pc_bank_withdraw) (struct map_session_data *sd, int money);
typedef void (*HPMHOOK_pre_pc_rental_expire) (struct map_session_data *sd, int *i);
-typedef void (*HPMHOOK_post_pc_rental_expire) (struct map_session_data *sd, int *i);
+typedef void (*HPMHOOK_post_pc_rental_expire) (struct map_session_data *sd, int i);
typedef void (*HPMHOOK_pre_pc_scdata_received) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_scdata_received) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_pc_bound_clear) (struct map_session_data *sd, enum e_item_bound_type *type);
-typedef void (*HPMHOOK_post_pc_bound_clear) (struct map_session_data *sd, enum e_item_bound_type *type);
+typedef void (*HPMHOOK_post_pc_bound_clear) (struct map_session_data *sd, enum e_item_bound_type type);
typedef int (*HPMHOOK_pre_pc_expiration_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_expiration_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_expiration_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pc_global_expiration_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pc_global_expiration_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pc_global_expiration_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_pc_expire_check) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_expire_check) (struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_pc_db_checkid) (unsigned int *class_);
-typedef bool (*HPMHOOK_post_pc_db_checkid) (bool retVal___, unsigned int *class_);
+typedef bool (*HPMHOOK_post_pc_db_checkid) (bool retVal___, unsigned int class_);
typedef void (*HPMHOOK_pre_pc_validate_levels) (void);
typedef void (*HPMHOOK_post_pc_validate_levels) (void);
typedef void (*HPMHOOK_pre_pc_autotrade_load) (void);
typedef void (*HPMHOOK_post_pc_autotrade_load) (void);
typedef void (*HPMHOOK_pre_pc_autotrade_update) (struct map_session_data *sd, enum e_pc_autotrade_update_action *action);
-typedef void (*HPMHOOK_post_pc_autotrade_update) (struct map_session_data *sd, enum e_pc_autotrade_update_action *action);
+typedef void (*HPMHOOK_post_pc_autotrade_update) (struct map_session_data *sd, enum e_pc_autotrade_update_action action);
typedef void (*HPMHOOK_pre_pc_autotrade_start) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_autotrade_start) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_pc_autotrade_prepare) (struct map_session_data *sd);
@@ -5491,11 +5491,11 @@ typedef void (*HPMHOOK_post_pc_autotrade_prepare) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_pc_autotrade_populate) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_pc_autotrade_populate) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pc_autotrade_final) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_pc_autotrade_final) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_pc_autotrade_final) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef int (*HPMHOOK_pre_pc_check_job_name) (const char *name);
typedef int (*HPMHOOK_post_pc_check_job_name) (int retVal___, const char *name);
typedef void (*HPMHOOK_pre_pc_update_idle_time) (struct map_session_data *sd, enum e_battle_config_idletime *type);
-typedef void (*HPMHOOK_post_pc_update_idle_time) (struct map_session_data *sd, enum e_battle_config_idletime *type);
+typedef void (*HPMHOOK_post_pc_update_idle_time) (struct map_session_data *sd, enum e_battle_config_idletime type);
typedef int (*HPMHOOK_pre_pc_have_magnifier) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_pc_have_magnifier) (int retVal___, struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_pc_process_chat_message) (struct map_session_data *sd, const char *message);
@@ -5505,45 +5505,45 @@ typedef void (*HPMHOOK_post_pc_check_supernovice_call) (struct map_session_data
#endif // MAP_PC_H
#ifdef MAP_NPC_H /* libpcre */
typedef pcre* (*HPMHOOK_pre_libpcre_compile) (const char *pattern, int *options, const char **errptr, int *erroffset, const unsigned char *tableptr);
-typedef pcre* (*HPMHOOK_post_libpcre_compile) (pcre* retVal___, const char *pattern, int *options, const char **errptr, int *erroffset, const unsigned char *tableptr);
+typedef pcre* (*HPMHOOK_post_libpcre_compile) (pcre* retVal___, const char *pattern, int options, const char **errptr, int *erroffset, const unsigned char *tableptr);
typedef pcre_extra* (*HPMHOOK_pre_libpcre_study) (const pcre *code, int *options, const char **errptr);
-typedef pcre_extra* (*HPMHOOK_post_libpcre_study) (pcre_extra* retVal___, const pcre *code, int *options, const char **errptr);
+typedef pcre_extra* (*HPMHOOK_post_libpcre_study) (pcre_extra* retVal___, const pcre *code, int options, const char **errptr);
typedef int (*HPMHOOK_pre_libpcre_exec) (const pcre *code, const pcre_extra *extra, PCRE_SPTR *subject, int *length, int *startoffset, int *options, int *ovector, int *ovecsize);
-typedef int (*HPMHOOK_post_libpcre_exec) (int retVal___, const pcre *code, const pcre_extra *extra, PCRE_SPTR *subject, int *length, int *startoffset, int *options, int *ovector, int *ovecsize);
+typedef int (*HPMHOOK_post_libpcre_exec) (int retVal___, const pcre *code, const pcre_extra *extra, PCRE_SPTR subject, int length, int startoffset, int options, int *ovector, int ovecsize);
typedef void (*HPMHOOK_pre_libpcre_free) (void *ptr);
typedef void (*HPMHOOK_post_libpcre_free) (void *ptr);
typedef int (*HPMHOOK_pre_libpcre_copy_substring) (const char *subject, int *ovector, int *stringcount, int *stringnumber, char *buffer, int *buffersize);
-typedef int (*HPMHOOK_post_libpcre_copy_substring) (int retVal___, const char *subject, int *ovector, int *stringcount, int *stringnumber, char *buffer, int *buffersize);
+typedef int (*HPMHOOK_post_libpcre_copy_substring) (int retVal___, const char *subject, int *ovector, int stringcount, int stringnumber, char *buffer, int buffersize);
typedef void (*HPMHOOK_pre_libpcre_free_substring) (const char *stringptr);
typedef void (*HPMHOOK_post_libpcre_free_substring) (const char *stringptr);
typedef int (*HPMHOOK_pre_libpcre_copy_named_substring) (const pcre *code, const char *subject, int *ovector, int *stringcount, const char *stringname, char *buffer, int *buffersize);
-typedef int (*HPMHOOK_post_libpcre_copy_named_substring) (int retVal___, const pcre *code, const char *subject, int *ovector, int *stringcount, const char *stringname, char *buffer, int *buffersize);
+typedef int (*HPMHOOK_post_libpcre_copy_named_substring) (int retVal___, const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, char *buffer, int buffersize);
typedef int (*HPMHOOK_pre_libpcre_get_substring) (const char *subject, int *ovector, int *stringcount, int *stringnumber, const char **stringptr);
-typedef int (*HPMHOOK_post_libpcre_get_substring) (int retVal___, const char *subject, int *ovector, int *stringcount, int *stringnumber, const char **stringptr);
+typedef int (*HPMHOOK_post_libpcre_get_substring) (int retVal___, const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr);
#endif // MAP_NPC_H
#ifdef MAP_PET_H /* pet */
typedef int (*HPMHOOK_pre_pet_init) (bool *minimal);
-typedef int (*HPMHOOK_post_pet_init) (int retVal___, bool *minimal);
+typedef int (*HPMHOOK_post_pet_init) (int retVal___, bool minimal);
typedef int (*HPMHOOK_pre_pet_final) (void);
typedef int (*HPMHOOK_post_pet_final) (int retVal___);
typedef int (*HPMHOOK_pre_pet_hungry_val) (struct pet_data *pd);
typedef int (*HPMHOOK_post_pet_hungry_val) (int retVal___, struct pet_data *pd);
typedef void (*HPMHOOK_pre_pet_set_intimate) (struct pet_data *pd, int *value);
-typedef void (*HPMHOOK_post_pet_set_intimate) (struct pet_data *pd, int *value);
+typedef void (*HPMHOOK_post_pet_set_intimate) (struct pet_data *pd, int value);
typedef int (*HPMHOOK_pre_pet_create_egg) (struct map_session_data *sd, int *item_id);
-typedef int (*HPMHOOK_post_pet_create_egg) (int retVal___, struct map_session_data *sd, int *item_id);
+typedef int (*HPMHOOK_post_pet_create_egg) (int retVal___, struct map_session_data *sd, int item_id);
typedef int (*HPMHOOK_pre_pet_unlocktarget) (struct pet_data *pd);
typedef int (*HPMHOOK_post_pet_unlocktarget) (int retVal___, struct pet_data *pd);
typedef int (*HPMHOOK_pre_pet_attackskill) (struct pet_data *pd, int *target_id);
-typedef int (*HPMHOOK_post_pet_attackskill) (int retVal___, struct pet_data *pd, int *target_id);
+typedef int (*HPMHOOK_post_pet_attackskill) (int retVal___, struct pet_data *pd, int target_id);
typedef int (*HPMHOOK_pre_pet_target_check) (struct map_session_data *sd, struct block_list *bl, int *type);
-typedef int (*HPMHOOK_post_pet_target_check) (int retVal___, struct map_session_data *sd, struct block_list *bl, int *type);
+typedef int (*HPMHOOK_post_pet_target_check) (int retVal___, struct map_session_data *sd, struct block_list *bl, int type);
typedef int (*HPMHOOK_pre_pet_sc_check) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_pet_sc_check) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_pet_sc_check) (int retVal___, struct map_session_data *sd, int type);
typedef int (*HPMHOOK_pre_pet_hungry) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pet_hungry) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pet_hungry) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pet_search_petDB_index) (int *key, int *type);
-typedef int (*HPMHOOK_post_pet_search_petDB_index) (int retVal___, int *key, int *type);
+typedef int (*HPMHOOK_post_pet_search_petDB_index) (int retVal___, int key, int type);
typedef int (*HPMHOOK_pre_pet_hungry_timer_delete) (struct pet_data *pd);
typedef int (*HPMHOOK_post_pet_hungry_timer_delete) (int retVal___, struct pet_data *pd);
typedef int (*HPMHOOK_pre_pet_performance) (struct map_session_data *sd, struct pet_data *pd);
@@ -5555,15 +5555,15 @@ typedef int (*HPMHOOK_post_pet_data_init) (int retVal___, struct map_session_dat
typedef int (*HPMHOOK_pre_pet_birth_process) (struct map_session_data *sd, struct s_pet *petinfo);
typedef int (*HPMHOOK_post_pet_birth_process) (int retVal___, struct map_session_data *sd, struct s_pet *petinfo);
typedef int (*HPMHOOK_pre_pet_recv_petdata) (int *account_id, struct s_pet *p, int *flag);
-typedef int (*HPMHOOK_post_pet_recv_petdata) (int retVal___, int *account_id, struct s_pet *p, int *flag);
+typedef int (*HPMHOOK_post_pet_recv_petdata) (int retVal___, int account_id, struct s_pet *p, int flag);
typedef int (*HPMHOOK_pre_pet_select_egg) (struct map_session_data *sd, short *egg_index);
-typedef int (*HPMHOOK_post_pet_select_egg) (int retVal___, struct map_session_data *sd, short *egg_index);
+typedef int (*HPMHOOK_post_pet_select_egg) (int retVal___, struct map_session_data *sd, short egg_index);
typedef int (*HPMHOOK_pre_pet_catch_process1) (struct map_session_data *sd, int *target_class);
-typedef int (*HPMHOOK_post_pet_catch_process1) (int retVal___, struct map_session_data *sd, int *target_class);
+typedef int (*HPMHOOK_post_pet_catch_process1) (int retVal___, struct map_session_data *sd, int target_class);
typedef int (*HPMHOOK_pre_pet_catch_process2) (struct map_session_data *sd, int *target_id);
-typedef int (*HPMHOOK_post_pet_catch_process2) (int retVal___, struct map_session_data *sd, int *target_id);
+typedef int (*HPMHOOK_post_pet_catch_process2) (int retVal___, struct map_session_data *sd, int target_id);
typedef bool (*HPMHOOK_pre_pet_get_egg) (int *account_id, short *pet_class, int *pet_id);
-typedef bool (*HPMHOOK_post_pet_get_egg) (bool retVal___, int *account_id, short *pet_class, int *pet_id);
+typedef bool (*HPMHOOK_post_pet_get_egg) (bool retVal___, int account_id, short pet_class, int pet_id);
typedef int (*HPMHOOK_pre_pet_unequipitem) (struct map_session_data *sd, struct pet_data *pd);
typedef int (*HPMHOOK_post_pet_unequipitem) (int retVal___, struct map_session_data *sd, struct pet_data *pd);
typedef int (*HPMHOOK_pre_pet_food) (struct map_session_data *sd, struct pet_data *pd);
@@ -5571,111 +5571,111 @@ typedef int (*HPMHOOK_post_pet_food) (int retVal___, struct map_session_data *sd
typedef int (*HPMHOOK_pre_pet_ai_sub_hard_lootsearch) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_pet_ai_sub_hard_lootsearch) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_pet_menu) (struct map_session_data *sd, int *menunum);
-typedef int (*HPMHOOK_post_pet_menu) (int retVal___, struct map_session_data *sd, int *menunum);
+typedef int (*HPMHOOK_post_pet_menu) (int retVal___, struct map_session_data *sd, int menunum);
typedef int (*HPMHOOK_pre_pet_change_name) (struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_post_pet_change_name) (int retVal___, struct map_session_data *sd, const char *name);
typedef int (*HPMHOOK_pre_pet_change_name_ack) (struct map_session_data *sd, const char *name, int *flag);
-typedef int (*HPMHOOK_post_pet_change_name_ack) (int retVal___, struct map_session_data *sd, const char *name, int *flag);
+typedef int (*HPMHOOK_post_pet_change_name_ack) (int retVal___, struct map_session_data *sd, const char *name, int flag);
typedef int (*HPMHOOK_pre_pet_equipitem) (struct map_session_data *sd, int *index);
-typedef int (*HPMHOOK_post_pet_equipitem) (int retVal___, struct map_session_data *sd, int *index);
+typedef int (*HPMHOOK_post_pet_equipitem) (int retVal___, struct map_session_data *sd, int index);
typedef int (*HPMHOOK_pre_pet_randomwalk) (struct pet_data *pd, int64 *tick);
-typedef int (*HPMHOOK_post_pet_randomwalk) (int retVal___, struct pet_data *pd, int64 *tick);
+typedef int (*HPMHOOK_post_pet_randomwalk) (int retVal___, struct pet_data *pd, int64 tick);
typedef int (*HPMHOOK_pre_pet_ai_sub_hard) (struct pet_data *pd, struct map_session_data *sd, int64 *tick);
-typedef int (*HPMHOOK_post_pet_ai_sub_hard) (int retVal___, struct pet_data *pd, struct map_session_data *sd, int64 *tick);
+typedef int (*HPMHOOK_post_pet_ai_sub_hard) (int retVal___, struct pet_data *pd, struct map_session_data *sd, int64 tick);
typedef int (*HPMHOOK_pre_pet_ai_sub_foreachclient) (struct map_session_data *sd, va_list ap);
typedef int (*HPMHOOK_post_pet_ai_sub_foreachclient) (int retVal___, struct map_session_data *sd, va_list ap);
typedef int (*HPMHOOK_pre_pet_ai_hard) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pet_ai_hard) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pet_ai_hard) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pet_delay_item_drop) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pet_delay_item_drop) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pet_delay_item_drop) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pet_lootitem_drop) (struct pet_data *pd, struct map_session_data *sd);
typedef int (*HPMHOOK_post_pet_lootitem_drop) (int retVal___, struct pet_data *pd, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_pet_skill_bonus_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pet_skill_bonus_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pet_skill_bonus_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pet_recovery_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pet_recovery_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pet_recovery_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pet_skill_support_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_pet_skill_support_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_pet_skill_support_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_pet_read_db) (void);
typedef int (*HPMHOOK_post_pet_read_db) (int retVal___);
#endif // MAP_PET_H
#ifdef CHAR_PINCODE_H /* pincode */
typedef void (*HPMHOOK_pre_pincode_handle) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_pincode_handle) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_pincode_handle) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_pincode_decrypt) (unsigned int *userSeed, char *pin);
-typedef void (*HPMHOOK_post_pincode_decrypt) (unsigned int *userSeed, char *pin);
+typedef void (*HPMHOOK_post_pincode_decrypt) (unsigned int userSeed, char *pin);
typedef void (*HPMHOOK_pre_pincode_error) (int *account_id);
-typedef void (*HPMHOOK_post_pincode_error) (int *account_id);
+typedef void (*HPMHOOK_post_pincode_error) (int account_id);
typedef void (*HPMHOOK_pre_pincode_update) (int *account_id, char *pin);
-typedef void (*HPMHOOK_post_pincode_update) (int *account_id, char *pin);
+typedef void (*HPMHOOK_post_pincode_update) (int account_id, char *pin);
typedef void (*HPMHOOK_pre_pincode_sendstate) (int *fd, struct char_session_data *sd, uint16 *state);
-typedef void (*HPMHOOK_post_pincode_sendstate) (int *fd, struct char_session_data *sd, uint16 *state);
+typedef void (*HPMHOOK_post_pincode_sendstate) (int fd, struct char_session_data *sd, uint16 state);
typedef void (*HPMHOOK_pre_pincode_setnew) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_pincode_setnew) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_pincode_setnew) (int fd, struct char_session_data *sd);
typedef void (*HPMHOOK_pre_pincode_change) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_pincode_change) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_pincode_change) (int fd, struct char_session_data *sd);
typedef int (*HPMHOOK_pre_pincode_compare) (int *fd, struct char_session_data *sd, char *pin);
-typedef int (*HPMHOOK_post_pincode_compare) (int retVal___, int *fd, struct char_session_data *sd, char *pin);
+typedef int (*HPMHOOK_post_pincode_compare) (int retVal___, int fd, struct char_session_data *sd, char *pin);
typedef void (*HPMHOOK_pre_pincode_check) (int *fd, struct char_session_data *sd);
-typedef void (*HPMHOOK_post_pincode_check) (int *fd, struct char_session_data *sd);
+typedef void (*HPMHOOK_post_pincode_check) (int fd, struct char_session_data *sd);
typedef bool (*HPMHOOK_pre_pincode_config_read) (char *w1, char *w2);
typedef bool (*HPMHOOK_post_pincode_config_read) (bool retVal___, char *w1, char *w2);
#endif // CHAR_PINCODE_H
#ifdef MAP_QUEST_H /* quest */
typedef void (*HPMHOOK_pre_quest_init) (bool *minimal);
-typedef void (*HPMHOOK_post_quest_init) (bool *minimal);
+typedef void (*HPMHOOK_post_quest_init) (bool minimal);
typedef void (*HPMHOOK_pre_quest_final) (void);
typedef void (*HPMHOOK_post_quest_final) (void);
typedef void (*HPMHOOK_pre_quest_reload) (void);
typedef void (*HPMHOOK_post_quest_reload) (void);
typedef struct quest_db* (*HPMHOOK_pre_quest_db) (int *quest_id);
-typedef struct quest_db* (*HPMHOOK_post_quest_db) (struct quest_db* retVal___, int *quest_id);
+typedef struct quest_db* (*HPMHOOK_post_quest_db) (struct quest_db* retVal___, int quest_id);
typedef int (*HPMHOOK_pre_quest_pc_login) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_quest_pc_login) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_quest_add) (struct map_session_data *sd, int *quest_id);
-typedef int (*HPMHOOK_post_quest_add) (int retVal___, struct map_session_data *sd, int *quest_id);
+typedef int (*HPMHOOK_post_quest_add) (int retVal___, struct map_session_data *sd, int quest_id);
typedef int (*HPMHOOK_pre_quest_change) (struct map_session_data *sd, int *qid1, int *qid2);
-typedef int (*HPMHOOK_post_quest_change) (int retVal___, struct map_session_data *sd, int *qid1, int *qid2);
+typedef int (*HPMHOOK_post_quest_change) (int retVal___, struct map_session_data *sd, int qid1, int qid2);
typedef int (*HPMHOOK_pre_quest_delete) (struct map_session_data *sd, int *quest_id);
-typedef int (*HPMHOOK_post_quest_delete) (int retVal___, struct map_session_data *sd, int *quest_id);
+typedef int (*HPMHOOK_post_quest_delete) (int retVal___, struct map_session_data *sd, int quest_id);
typedef int (*HPMHOOK_pre_quest_update_objective_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_quest_update_objective_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_quest_update_objective) (struct map_session_data *sd, int *mob_id);
-typedef void (*HPMHOOK_post_quest_update_objective) (struct map_session_data *sd, int *mob_id);
+typedef void (*HPMHOOK_post_quest_update_objective) (struct map_session_data *sd, int mob_id);
typedef int (*HPMHOOK_pre_quest_update_status) (struct map_session_data *sd, int *quest_id, enum quest_state *qs);
-typedef int (*HPMHOOK_post_quest_update_status) (int retVal___, struct map_session_data *sd, int *quest_id, enum quest_state *qs);
+typedef int (*HPMHOOK_post_quest_update_status) (int retVal___, struct map_session_data *sd, int quest_id, enum quest_state qs);
typedef int (*HPMHOOK_pre_quest_check) (struct map_session_data *sd, int *quest_id, enum quest_check_type *type);
-typedef int (*HPMHOOK_post_quest_check) (int retVal___, struct map_session_data *sd, int *quest_id, enum quest_check_type *type);
+typedef int (*HPMHOOK_post_quest_check) (int retVal___, struct map_session_data *sd, int quest_id, enum quest_check_type type);
typedef void (*HPMHOOK_pre_quest_clear) (void);
typedef void (*HPMHOOK_post_quest_clear) (void);
typedef int (*HPMHOOK_pre_quest_read_db) (void);
typedef int (*HPMHOOK_post_quest_read_db) (int retVal___);
typedef struct quest_db* (*HPMHOOK_pre_quest_read_db_sub) (struct config_setting_t *cs, int *n, const char *source);
-typedef struct quest_db* (*HPMHOOK_post_quest_read_db_sub) (struct quest_db* retVal___, struct config_setting_t *cs, int *n, const char *source);
+typedef struct quest_db* (*HPMHOOK_post_quest_read_db_sub) (struct quest_db* retVal___, struct config_setting_t *cs, int n, const char *source);
#endif // MAP_QUEST_H
#ifdef MAP_SCRIPT_H /* script */
typedef void (*HPMHOOK_pre_script_init) (bool *minimal);
-typedef void (*HPMHOOK_post_script_init) (bool *minimal);
+typedef void (*HPMHOOK_post_script_init) (bool minimal);
typedef void (*HPMHOOK_pre_script_final) (void);
typedef void (*HPMHOOK_post_script_final) (void);
typedef int (*HPMHOOK_pre_script_reload) (void);
typedef int (*HPMHOOK_post_script_reload) (int retVal___);
typedef struct script_code* (*HPMHOOK_pre_script_parse) (const char *src, const char *file, int *line, int *options, int *retval);
-typedef struct script_code* (*HPMHOOK_post_script_parse) (struct script_code* retVal___, const char *src, const char *file, int *line, int *options, int *retval);
+typedef struct script_code* (*HPMHOOK_post_script_parse) (struct script_code* retVal___, const char *src, const char *file, int line, int options, int *retval);
typedef bool (*HPMHOOK_pre_script_add_builtin) (const struct script_function *buildin, bool *override);
-typedef bool (*HPMHOOK_post_script_add_builtin) (bool retVal___, const struct script_function *buildin, bool *override);
+typedef bool (*HPMHOOK_post_script_add_builtin) (bool retVal___, const struct script_function *buildin, bool override);
typedef void (*HPMHOOK_pre_script_parse_builtin) (void);
typedef void (*HPMHOOK_post_script_parse_builtin) (void);
typedef const char* (*HPMHOOK_pre_script_parse_subexpr) (const char *p, int *limit);
-typedef const char* (*HPMHOOK_post_script_parse_subexpr) (const char* retVal___, const char *p, int *limit);
+typedef const char* (*HPMHOOK_post_script_parse_subexpr) (const char* retVal___, const char *p, int limit);
typedef const char* (*HPMHOOK_pre_script_skip_space) (const char *p);
typedef const char* (*HPMHOOK_post_script_skip_space) (const char* retVal___, const char *p);
typedef void (*HPMHOOK_pre_script_error) (const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
-typedef void (*HPMHOOK_post_script_error) (const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+typedef void (*HPMHOOK_post_script_error) (const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos);
typedef void (*HPMHOOK_pre_script_warning) (const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
-typedef void (*HPMHOOK_post_script_warning) (const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+typedef void (*HPMHOOK_post_script_warning) (const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos);
typedef bool (*HPMHOOK_pre_script_addScript) (char *name, char *args, bool ( *func ) (struct script_state *st), bool *isDeprecated);
-typedef bool (*HPMHOOK_post_script_addScript) (bool retVal___, char *name, char *args, bool ( *func ) (struct script_state *st), bool *isDeprecated);
+typedef bool (*HPMHOOK_post_script_addScript) (bool retVal___, char *name, char *args, bool ( *func ) (struct script_state *st), bool isDeprecated);
typedef int (*HPMHOOK_pre_script_conv_num) (struct script_state *st, struct script_data *data);
typedef int (*HPMHOOK_post_script_conv_num) (int retVal___, struct script_state *st, struct script_data *data);
typedef const char* (*HPMHOOK_pre_script_conv_str) (struct script_state *st, struct script_data *data);
@@ -5683,15 +5683,15 @@ typedef const char* (*HPMHOOK_post_script_conv_str) (const char* retVal___, stru
typedef struct map_session_data* (*HPMHOOK_pre_script_rid2sd) (struct script_state *st);
typedef struct map_session_data* (*HPMHOOK_post_script_rid2sd) (struct map_session_data* retVal___, struct script_state *st);
typedef struct map_session_data* (*HPMHOOK_pre_script_id2sd) (struct script_state *st, int *account_id);
-typedef struct map_session_data* (*HPMHOOK_post_script_id2sd) (struct map_session_data* retVal___, struct script_state *st, int *account_id);
+typedef struct map_session_data* (*HPMHOOK_post_script_id2sd) (struct map_session_data* retVal___, struct script_state *st, int account_id);
typedef struct map_session_data* (*HPMHOOK_pre_script_charid2sd) (struct script_state *st, int *char_id);
-typedef struct map_session_data* (*HPMHOOK_post_script_charid2sd) (struct map_session_data* retVal___, struct script_state *st, int *char_id);
+typedef struct map_session_data* (*HPMHOOK_post_script_charid2sd) (struct map_session_data* retVal___, struct script_state *st, int char_id);
typedef struct map_session_data* (*HPMHOOK_pre_script_nick2sd) (struct script_state *st, const char *name);
typedef struct map_session_data* (*HPMHOOK_post_script_nick2sd) (struct map_session_data* retVal___, struct script_state *st, const char *name);
typedef void (*HPMHOOK_pre_script_detach_rid) (struct script_state *st);
typedef void (*HPMHOOK_post_script_detach_rid) (struct script_state *st);
typedef struct script_data* (*HPMHOOK_pre_script_push_val) (struct script_stack *stack, enum c_op *type, int64 *val, struct reg_db *ref);
-typedef struct script_data* (*HPMHOOK_post_script_push_val) (struct script_data* retVal___, struct script_stack *stack, enum c_op *type, int64 *val, struct reg_db *ref);
+typedef struct script_data* (*HPMHOOK_post_script_push_val) (struct script_data* retVal___, struct script_stack *stack, enum c_op type, int64 val, struct reg_db *ref);
typedef struct script_data* (*HPMHOOK_pre_script_get_val) (struct script_state *st, struct script_data *data);
typedef struct script_data* (*HPMHOOK_post_script_get_val) (struct script_data* retVal___, struct script_state *st, struct script_data *data);
typedef char* (*HPMHOOK_pre_script_get_val_ref_str) (struct script_state *st, struct reg_db *n, struct script_data *data);
@@ -5711,33 +5711,33 @@ typedef int (*HPMHOOK_post_script_get_val_npc_num) (int retVal___, struct script
typedef int (*HPMHOOK_pre_script_get_val_instance_num) (struct script_state *st, const char *name, struct script_data *data);
typedef int (*HPMHOOK_post_script_get_val_instance_num) (int retVal___, struct script_state *st, const char *name, struct script_data *data);
typedef const void* (*HPMHOOK_pre_script_get_val2) (struct script_state *st, int64 *uid, struct reg_db *ref);
-typedef const void* (*HPMHOOK_post_script_get_val2) (const void* retVal___, struct script_state *st, int64 *uid, struct reg_db *ref);
+typedef const void* (*HPMHOOK_post_script_get_val2) (const void* retVal___, struct script_state *st, int64 uid, struct reg_db *ref);
typedef struct script_data* (*HPMHOOK_pre_script_push_str) (struct script_stack *stack, char *str);
typedef struct script_data* (*HPMHOOK_post_script_push_str) (struct script_data* retVal___, struct script_stack *stack, char *str);
typedef struct script_data* (*HPMHOOK_pre_script_push_conststr) (struct script_stack *stack, const char *str);
typedef struct script_data* (*HPMHOOK_post_script_push_conststr) (struct script_data* retVal___, struct script_stack *stack, const char *str);
typedef struct script_data* (*HPMHOOK_pre_script_push_copy) (struct script_stack *stack, int *pos);
-typedef struct script_data* (*HPMHOOK_post_script_push_copy) (struct script_data* retVal___, struct script_stack *stack, int *pos);
+typedef struct script_data* (*HPMHOOK_post_script_push_copy) (struct script_data* retVal___, struct script_stack *stack, int pos);
typedef void (*HPMHOOK_pre_script_pop_stack) (struct script_state *st, int *start, int *end);
-typedef void (*HPMHOOK_post_script_pop_stack) (struct script_state *st, int *start, int *end);
+typedef void (*HPMHOOK_post_script_pop_stack) (struct script_state *st, int start, int end);
typedef void (*HPMHOOK_pre_script_set_constant) (const char *name, int *value, bool *is_parameter, bool *is_deprecated);
-typedef void (*HPMHOOK_post_script_set_constant) (const char *name, int *value, bool *is_parameter, bool *is_deprecated);
+typedef void (*HPMHOOK_post_script_set_constant) (const char *name, int value, bool is_parameter, bool is_deprecated);
typedef void (*HPMHOOK_pre_script_set_constant2) (const char *name, int *value, bool *is_parameter, bool *is_deprecated);
-typedef void (*HPMHOOK_post_script_set_constant2) (const char *name, int *value, bool *is_parameter, bool *is_deprecated);
+typedef void (*HPMHOOK_post_script_set_constant2) (const char *name, int value, bool is_parameter, bool is_deprecated);
typedef bool (*HPMHOOK_pre_script_get_constant) (const char *name, int *value);
typedef bool (*HPMHOOK_post_script_get_constant) (bool retVal___, const char *name, int *value);
typedef void (*HPMHOOK_pre_script_label_add) (int *key, int *pos);
-typedef void (*HPMHOOK_post_script_label_add) (int *key, int *pos);
+typedef void (*HPMHOOK_post_script_label_add) (int key, int pos);
typedef void (*HPMHOOK_pre_script_run) (struct script_code *rootscript, int *pos, int *rid, int *oid);
-typedef void (*HPMHOOK_post_script_run) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+typedef void (*HPMHOOK_post_script_run) (struct script_code *rootscript, int pos, int rid, int oid);
typedef void (*HPMHOOK_pre_script_run_npc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
-typedef void (*HPMHOOK_post_script_run_npc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+typedef void (*HPMHOOK_post_script_run_npc) (struct script_code *rootscript, int pos, int rid, int oid);
typedef void (*HPMHOOK_pre_script_run_pet) (struct script_code *rootscript, int *pos, int *rid, int *oid);
-typedef void (*HPMHOOK_post_script_run_pet) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+typedef void (*HPMHOOK_post_script_run_pet) (struct script_code *rootscript, int pos, int rid, int oid);
typedef void (*HPMHOOK_pre_script_run_main) (struct script_state *st);
typedef void (*HPMHOOK_post_script_run_main) (struct script_state *st);
typedef int (*HPMHOOK_pre_script_run_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_script_run_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_script_run_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_script_set_var) (struct map_session_data *sd, char *name, void *val);
typedef int (*HPMHOOK_post_script_set_var) (int retVal___, struct map_session_data *sd, char *name, void *val);
typedef void (*HPMHOOK_pre_script_stop_instances) (struct script_code *code);
@@ -5747,41 +5747,41 @@ typedef void (*HPMHOOK_post_script_free_code) (struct script_code *code);
typedef void (*HPMHOOK_pre_script_free_vars) (struct DBMap *var_storage);
typedef void (*HPMHOOK_post_script_free_vars) (struct DBMap *var_storage);
typedef struct script_state* (*HPMHOOK_pre_script_alloc_state) (struct script_code *rootscript, int *pos, int *rid, int *oid);
-typedef struct script_state* (*HPMHOOK_post_script_alloc_state) (struct script_state* retVal___, struct script_code *rootscript, int *pos, int *rid, int *oid);
+typedef struct script_state* (*HPMHOOK_post_script_alloc_state) (struct script_state* retVal___, struct script_code *rootscript, int pos, int rid, int oid);
typedef void (*HPMHOOK_pre_script_free_state) (struct script_state *st);
typedef void (*HPMHOOK_post_script_free_state) (struct script_state *st);
typedef void (*HPMHOOK_pre_script_add_pending_ref) (struct script_state *st, struct reg_db *ref);
typedef void (*HPMHOOK_post_script_add_pending_ref) (struct script_state *st, struct reg_db *ref);
typedef void (*HPMHOOK_pre_script_run_autobonus) (const char *autobonus, int *id, int *pos);
-typedef void (*HPMHOOK_post_script_run_autobonus) (const char *autobonus, int *id, int *pos);
+typedef void (*HPMHOOK_post_script_run_autobonus) (const char *autobonus, int id, int pos);
typedef void (*HPMHOOK_pre_script_cleararray_pc) (struct map_session_data *sd, const char *varname, void *value);
typedef void (*HPMHOOK_post_script_cleararray_pc) (struct map_session_data *sd, const char *varname, void *value);
typedef void (*HPMHOOK_pre_script_setarray_pc) (struct map_session_data *sd, const char *varname, uint32 *idx, void *value, int *refcache);
-typedef void (*HPMHOOK_post_script_setarray_pc) (struct map_session_data *sd, const char *varname, uint32 *idx, void *value, int *refcache);
+typedef void (*HPMHOOK_post_script_setarray_pc) (struct map_session_data *sd, const char *varname, uint32 idx, void *value, int *refcache);
typedef int (*HPMHOOK_pre_script_config_read) (char *cfgName);
typedef int (*HPMHOOK_post_script_config_read) (int retVal___, char *cfgName);
typedef int (*HPMHOOK_pre_script_add_str) (const char *p);
typedef int (*HPMHOOK_post_script_add_str) (int retVal___, const char *p);
typedef const char* (*HPMHOOK_pre_script_get_str) (int *id);
-typedef const char* (*HPMHOOK_post_script_get_str) (const char* retVal___, int *id);
+typedef const char* (*HPMHOOK_post_script_get_str) (const char* retVal___, int id);
typedef int (*HPMHOOK_pre_script_search_str) (const char *p);
typedef int (*HPMHOOK_post_script_search_str) (int retVal___, const char *p);
typedef void (*HPMHOOK_pre_script_setd_sub) (struct script_state *st, struct map_session_data *sd, const char *varname, int *elem, const void *value, struct reg_db *ref);
-typedef void (*HPMHOOK_post_script_setd_sub) (struct script_state *st, struct map_session_data *sd, const char *varname, int *elem, const void *value, struct reg_db *ref);
+typedef void (*HPMHOOK_post_script_setd_sub) (struct script_state *st, struct map_session_data *sd, const char *varname, int elem, const void *value, struct reg_db *ref);
typedef void (*HPMHOOK_pre_script_attach_state) (struct script_state *st);
typedef void (*HPMHOOK_post_script_attach_state) (struct script_state *st);
typedef struct script_queue* (*HPMHOOK_pre_script_queue) (int *idx);
-typedef struct script_queue* (*HPMHOOK_post_script_queue) (struct script_queue* retVal___, int *idx);
+typedef struct script_queue* (*HPMHOOK_post_script_queue) (struct script_queue* retVal___, int idx);
typedef bool (*HPMHOOK_pre_script_queue_add) (int *idx, int *var);
-typedef bool (*HPMHOOK_post_script_queue_add) (bool retVal___, int *idx, int *var);
+typedef bool (*HPMHOOK_post_script_queue_add) (bool retVal___, int idx, int var);
typedef bool (*HPMHOOK_pre_script_queue_del) (int *idx);
-typedef bool (*HPMHOOK_post_script_queue_del) (bool retVal___, int *idx);
+typedef bool (*HPMHOOK_post_script_queue_del) (bool retVal___, int idx);
typedef bool (*HPMHOOK_pre_script_queue_remove) (int *idx, int *var);
-typedef bool (*HPMHOOK_post_script_queue_remove) (bool retVal___, int *idx, int *var);
+typedef bool (*HPMHOOK_post_script_queue_remove) (bool retVal___, int idx, int var);
typedef int (*HPMHOOK_pre_script_queue_create) (void);
typedef int (*HPMHOOK_post_script_queue_create) (int retVal___);
typedef bool (*HPMHOOK_pre_script_queue_clear) (int *idx);
-typedef bool (*HPMHOOK_post_script_queue_clear) (bool retVal___, int *idx);
+typedef bool (*HPMHOOK_post_script_queue_clear) (bool retVal___, int idx);
typedef const char* (*HPMHOOK_pre_script_parse_curly_close) (const char *p);
typedef const char* (*HPMHOOK_post_script_parse_curly_close) (const char* retVal___, const char *p);
typedef const char* (*HPMHOOK_pre_script_parse_syntax_close) (const char *p);
@@ -5795,7 +5795,7 @@ typedef c_op (*HPMHOOK_post_script_get_com) (c_op retVal___, unsigned char *scri
typedef int (*HPMHOOK_pre_script_get_num) (unsigned char *scriptbuf, int *pos);
typedef int (*HPMHOOK_post_script_get_num) (int retVal___, unsigned char *scriptbuf, int *pos);
typedef const char* (*HPMHOOK_pre_script_op2name) (int *op);
-typedef const char* (*HPMHOOK_post_script_op2name) (const char* retVal___, int *op);
+typedef const char* (*HPMHOOK_post_script_op2name) (const char* retVal___, int op);
typedef void (*HPMHOOK_pre_script_reportsrc) (struct script_state *st);
typedef void (*HPMHOOK_post_script_reportsrc) (struct script_state *st);
typedef void (*HPMHOOK_pre_script_reportdata) (struct script_data *data);
@@ -5809,23 +5809,23 @@ typedef void (*HPMHOOK_post_script_check_event) (struct script_state *st, const
typedef unsigned int (*HPMHOOK_pre_script_calc_hash) (const char *p);
typedef unsigned int (*HPMHOOK_post_script_calc_hash) (unsigned int retVal___, const char *p);
typedef void (*HPMHOOK_pre_script_addb) (int *a);
-typedef void (*HPMHOOK_post_script_addb) (int *a);
+typedef void (*HPMHOOK_post_script_addb) (int a);
typedef void (*HPMHOOK_pre_script_addc) (int *a);
-typedef void (*HPMHOOK_post_script_addc) (int *a);
+typedef void (*HPMHOOK_post_script_addc) (int a);
typedef void (*HPMHOOK_pre_script_addi) (int *a);
-typedef void (*HPMHOOK_post_script_addi) (int *a);
+typedef void (*HPMHOOK_post_script_addi) (int a);
typedef void (*HPMHOOK_pre_script_addl) (int *l);
-typedef void (*HPMHOOK_post_script_addl) (int *l);
+typedef void (*HPMHOOK_post_script_addl) (int l);
typedef void (*HPMHOOK_pre_script_set_label) (int *l, int *pos, const char *script_pos);
-typedef void (*HPMHOOK_post_script_set_label) (int *l, int *pos, const char *script_pos);
+typedef void (*HPMHOOK_post_script_set_label) (int l, int pos, const char *script_pos);
typedef const char* (*HPMHOOK_pre_script_skip_word) (const char *p);
typedef const char* (*HPMHOOK_post_script_skip_word) (const char* retVal___, const char *p);
typedef int (*HPMHOOK_pre_script_add_word) (const char *p);
typedef int (*HPMHOOK_post_script_add_word) (int retVal___, const char *p);
typedef const char* (*HPMHOOK_pre_script_parse_callfunc) (const char *p, int *require_paren, int *is_custom);
-typedef const char* (*HPMHOOK_post_script_parse_callfunc) (const char* retVal___, const char *p, int *require_paren, int *is_custom);
+typedef const char* (*HPMHOOK_post_script_parse_callfunc) (const char* retVal___, const char *p, int require_paren, int is_custom);
typedef void (*HPMHOOK_pre_script_parse_nextline) (bool *first, const char *p);
-typedef void (*HPMHOOK_post_script_parse_nextline) (bool *first, const char *p);
+typedef void (*HPMHOOK_post_script_parse_nextline) (bool first, const char *p);
typedef const char* (*HPMHOOK_pre_script_parse_variable) (const char *p);
typedef const char* (*HPMHOOK_post_script_parse_variable) (const char* retVal___, const char *p);
typedef const char* (*HPMHOOK_pre_script_parse_simpleexpr) (const char *p);
@@ -5841,59 +5841,59 @@ typedef void (*HPMHOOK_post_script_constdb_comment) (const char *comment);
typedef void (*HPMHOOK_pre_script_load_parameters) (void);
typedef void (*HPMHOOK_post_script_load_parameters) (void);
typedef const char* (*HPMHOOK_pre_script_print_line) (StringBuf *buf, const char *p, const char *mark, int *line);
-typedef const char* (*HPMHOOK_post_script_print_line) (const char* retVal___, StringBuf *buf, const char *p, const char *mark, int *line);
+typedef const char* (*HPMHOOK_post_script_print_line) (const char* retVal___, StringBuf *buf, const char *p, const char *mark, int line);
typedef void (*HPMHOOK_pre_script_errorwarning_sub) (StringBuf *buf, const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
-typedef void (*HPMHOOK_post_script_errorwarning_sub) (StringBuf *buf, const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+typedef void (*HPMHOOK_post_script_errorwarning_sub) (StringBuf *buf, const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos);
typedef int (*HPMHOOK_pre_script_set_reg) (struct script_state *st, struct map_session_data *sd, int64 *num, const char *name, const void *value, struct reg_db *ref);
-typedef int (*HPMHOOK_post_script_set_reg) (int retVal___, struct script_state *st, struct map_session_data *sd, int64 *num, const char *name, const void *value, struct reg_db *ref);
+typedef int (*HPMHOOK_post_script_set_reg) (int retVal___, struct script_state *st, struct map_session_data *sd, int64 num, const char *name, const void *value, struct reg_db *ref);
typedef void (*HPMHOOK_pre_script_set_reg_ref_str) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
-typedef void (*HPMHOOK_post_script_set_reg_ref_str) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+typedef void (*HPMHOOK_post_script_set_reg_ref_str) (struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str);
typedef void (*HPMHOOK_pre_script_set_reg_scope_str) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
-typedef void (*HPMHOOK_post_script_set_reg_scope_str) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+typedef void (*HPMHOOK_post_script_set_reg_scope_str) (struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str);
typedef void (*HPMHOOK_pre_script_set_reg_npc_str) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
-typedef void (*HPMHOOK_post_script_set_reg_npc_str) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+typedef void (*HPMHOOK_post_script_set_reg_npc_str) (struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str);
typedef void (*HPMHOOK_pre_script_set_reg_instance_str) (struct script_state *st, int64 *num, const char *name, const char *str);
-typedef void (*HPMHOOK_post_script_set_reg_instance_str) (struct script_state *st, int64 *num, const char *name, const char *str);
+typedef void (*HPMHOOK_post_script_set_reg_instance_str) (struct script_state *st, int64 num, const char *name, const char *str);
typedef void (*HPMHOOK_pre_script_set_reg_ref_num) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
-typedef void (*HPMHOOK_post_script_set_reg_ref_num) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+typedef void (*HPMHOOK_post_script_set_reg_ref_num) (struct script_state *st, struct reg_db *n, int64 num, const char *name, int val);
typedef void (*HPMHOOK_pre_script_set_reg_scope_num) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
-typedef void (*HPMHOOK_post_script_set_reg_scope_num) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+typedef void (*HPMHOOK_post_script_set_reg_scope_num) (struct script_state *st, struct reg_db *n, int64 num, const char *name, int val);
typedef void (*HPMHOOK_pre_script_set_reg_npc_num) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
-typedef void (*HPMHOOK_post_script_set_reg_npc_num) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+typedef void (*HPMHOOK_post_script_set_reg_npc_num) (struct script_state *st, struct reg_db *n, int64 num, const char *name, int val);
typedef void (*HPMHOOK_pre_script_set_reg_instance_num) (struct script_state *st, int64 *num, const char *name, int *val);
-typedef void (*HPMHOOK_post_script_set_reg_instance_num) (struct script_state *st, int64 *num, const char *name, int *val);
+typedef void (*HPMHOOK_post_script_set_reg_instance_num) (struct script_state *st, int64 num, const char *name, int val);
typedef void (*HPMHOOK_pre_script_stack_expand) (struct script_stack *stack);
typedef void (*HPMHOOK_post_script_stack_expand) (struct script_stack *stack);
typedef struct script_data* (*HPMHOOK_pre_script_push_retinfo) (struct script_stack *stack, struct script_retinfo *ri, struct reg_db *ref);
typedef struct script_data* (*HPMHOOK_post_script_push_retinfo) (struct script_data* retVal___, struct script_stack *stack, struct script_retinfo *ri, struct reg_db *ref);
typedef void (*HPMHOOK_pre_script_op_3) (struct script_state *st, int *op);
-typedef void (*HPMHOOK_post_script_op_3) (struct script_state *st, int *op);
+typedef void (*HPMHOOK_post_script_op_3) (struct script_state *st, int op);
typedef void (*HPMHOOK_pre_script_op_2str) (struct script_state *st, int *op, const char *s1, const char *s2);
-typedef void (*HPMHOOK_post_script_op_2str) (struct script_state *st, int *op, const char *s1, const char *s2);
+typedef void (*HPMHOOK_post_script_op_2str) (struct script_state *st, int op, const char *s1, const char *s2);
typedef void (*HPMHOOK_pre_script_op_2num) (struct script_state *st, int *op, int *i1, int *i2);
-typedef void (*HPMHOOK_post_script_op_2num) (struct script_state *st, int *op, int *i1, int *i2);
+typedef void (*HPMHOOK_post_script_op_2num) (struct script_state *st, int op, int i1, int i2);
typedef void (*HPMHOOK_pre_script_op_2) (struct script_state *st, int *op);
-typedef void (*HPMHOOK_post_script_op_2) (struct script_state *st, int *op);
+typedef void (*HPMHOOK_post_script_op_2) (struct script_state *st, int op);
typedef void (*HPMHOOK_pre_script_op_1) (struct script_state *st, int *op);
-typedef void (*HPMHOOK_post_script_op_1) (struct script_state *st, int *op);
+typedef void (*HPMHOOK_post_script_op_1) (struct script_state *st, int op);
typedef void (*HPMHOOK_pre_script_check_buildin_argtype) (struct script_state *st, int *func);
-typedef void (*HPMHOOK_post_script_check_buildin_argtype) (struct script_state *st, int *func);
+typedef void (*HPMHOOK_post_script_check_buildin_argtype) (struct script_state *st, int func);
typedef void (*HPMHOOK_pre_script_detach_state) (struct script_state *st, bool *dequeue_event);
-typedef void (*HPMHOOK_post_script_detach_state) (struct script_state *st, bool *dequeue_event);
+typedef void (*HPMHOOK_post_script_detach_state) (struct script_state *st, bool dequeue_event);
typedef int (*HPMHOOK_pre_script_db_free_code_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_script_db_free_code_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_script_db_free_code_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_script_add_autobonus) (const char *autobonus);
typedef void (*HPMHOOK_post_script_add_autobonus) (const char *autobonus);
typedef int (*HPMHOOK_pre_script_menu_countoptions) (const char *str, int *max_count, int *total);
-typedef int (*HPMHOOK_post_script_menu_countoptions) (int retVal___, const char *str, int *max_count, int *total);
+typedef int (*HPMHOOK_post_script_menu_countoptions) (int retVal___, const char *str, int max_count, int *total);
typedef int (*HPMHOOK_pre_script_buildin_areawarp_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_script_buildin_areawarp_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_script_buildin_areapercentheal_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_script_buildin_areapercentheal_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_script_buildin_delitem_delete) (struct map_session_data *sd, int *idx, int *amount, bool *delete_items);
-typedef void (*HPMHOOK_post_script_buildin_delitem_delete) (struct map_session_data *sd, int *idx, int *amount, bool *delete_items);
+typedef void (*HPMHOOK_post_script_buildin_delitem_delete) (struct map_session_data *sd, int idx, int *amount, bool delete_items);
typedef bool (*HPMHOOK_pre_script_buildin_delitem_search) (struct map_session_data *sd, struct item *it, bool *exact_match);
-typedef bool (*HPMHOOK_post_script_buildin_delitem_search) (bool retVal___, struct map_session_data *sd, struct item *it, bool *exact_match);
+typedef bool (*HPMHOOK_post_script_buildin_delitem_search) (bool retVal___, struct map_session_data *sd, struct item *it, bool exact_match);
typedef int (*HPMHOOK_pre_script_buildin_killmonster_sub_strip) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_script_buildin_killmonster_sub_strip) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_script_buildin_killmonster_sub) (struct block_list *bl, va_list ap);
@@ -5941,27 +5941,27 @@ typedef unsigned int (*HPMHOOK_post_script_calc_hash_ci) (unsigned int retVal___
typedef struct reg_db* (*HPMHOOK_pre_script_array_src) (struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
typedef struct reg_db* (*HPMHOOK_post_script_array_src) (struct reg_db* retVal___, struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
typedef void (*HPMHOOK_pre_script_array_update) (struct reg_db *src, int64 *num, bool *empty);
-typedef void (*HPMHOOK_post_script_array_update) (struct reg_db *src, int64 *num, bool *empty);
+typedef void (*HPMHOOK_post_script_array_update) (struct reg_db *src, int64 num, bool empty);
typedef void (*HPMHOOK_pre_script_array_delete) (struct reg_db *src, struct script_array *sa);
typedef void (*HPMHOOK_post_script_array_delete) (struct reg_db *src, struct script_array *sa);
typedef void (*HPMHOOK_pre_script_array_remove_member) (struct reg_db *src, struct script_array *sa, unsigned int *idx);
-typedef void (*HPMHOOK_post_script_array_remove_member) (struct reg_db *src, struct script_array *sa, unsigned int *idx);
+typedef void (*HPMHOOK_post_script_array_remove_member) (struct reg_db *src, struct script_array *sa, unsigned int idx);
typedef void (*HPMHOOK_pre_script_array_add_member) (struct script_array *sa, unsigned int *idx);
-typedef void (*HPMHOOK_post_script_array_add_member) (struct script_array *sa, unsigned int *idx);
+typedef void (*HPMHOOK_post_script_array_add_member) (struct script_array *sa, unsigned int idx);
typedef unsigned int (*HPMHOOK_pre_script_array_size) (struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
typedef unsigned int (*HPMHOOK_post_script_array_size) (unsigned int retVal___, struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
typedef unsigned int (*HPMHOOK_pre_script_array_highest_key) (struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
typedef unsigned int (*HPMHOOK_post_script_array_highest_key) (unsigned int retVal___, struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
typedef int (*HPMHOOK_pre_script_array_free_db) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_script_array_free_db) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_script_array_free_db) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_script_array_ensure_zero) (struct script_state *st, struct map_session_data *sd, int64 *uid, struct reg_db *ref);
-typedef void (*HPMHOOK_post_script_array_ensure_zero) (struct script_state *st, struct map_session_data *sd, int64 *uid, struct reg_db *ref);
+typedef void (*HPMHOOK_post_script_array_ensure_zero) (struct script_state *st, struct map_session_data *sd, int64 uid, struct reg_db *ref);
typedef void (*HPMHOOK_pre_script_reg_destroy_single) (struct map_session_data *sd, int64 *reg, struct script_reg_state *data);
-typedef void (*HPMHOOK_post_script_reg_destroy_single) (struct map_session_data *sd, int64 *reg, struct script_reg_state *data);
+typedef void (*HPMHOOK_post_script_reg_destroy_single) (struct map_session_data *sd, int64 reg, struct script_reg_state *data);
typedef int (*HPMHOOK_pre_script_reg_destroy) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_script_reg_destroy) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_script_reg_destroy) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_script_generic_ui_array_expand) (unsigned int *plus);
-typedef void (*HPMHOOK_post_script_generic_ui_array_expand) (unsigned int *plus);
+typedef void (*HPMHOOK_post_script_generic_ui_array_expand) (unsigned int plus);
typedef unsigned int* (*HPMHOOK_pre_script_array_cpy_list) (struct script_array *sa);
typedef unsigned int* (*HPMHOOK_post_script_array_cpy_list) (unsigned int* retVal___, struct script_array *sa);
typedef void (*HPMHOOK_pre_script_hardcoded_constants) (void);
@@ -5973,13 +5973,13 @@ typedef int (*HPMHOOK_post_script_string_dup) (int retVal___, char *str);
typedef void (*HPMHOOK_pre_script_load_translations) (void);
typedef void (*HPMHOOK_post_script_load_translations) (void);
typedef void (*HPMHOOK_pre_script_load_translation) (const char *file, uint8 *lang_id, uint32 *total);
-typedef void (*HPMHOOK_post_script_load_translation) (const char *file, uint8 *lang_id, uint32 *total);
+typedef void (*HPMHOOK_post_script_load_translation) (const char *file, uint8 lang_id, uint32 *total);
typedef int (*HPMHOOK_pre_script_translation_db_destroyer) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_script_translation_db_destroyer) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_script_translation_db_destroyer) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_script_clear_translations) (bool *reload);
-typedef void (*HPMHOOK_post_script_clear_translations) (bool *reload);
+typedef void (*HPMHOOK_post_script_clear_translations) (bool reload);
typedef int (*HPMHOOK_pre_script_parse_cleanup_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_script_parse_cleanup_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_script_parse_cleanup_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef uint8 (*HPMHOOK_pre_script_add_language) (const char *name);
typedef uint8 (*HPMHOOK_post_script_add_language) (uint8 retVal___, const char *name);
typedef const char* (*HPMHOOK_pre_script_get_translation_file_name) (const char *file);
@@ -5987,17 +5987,17 @@ typedef const char* (*HPMHOOK_post_script_get_translation_file_name) (const char
typedef void (*HPMHOOK_pre_script_parser_clean_leftovers) (void);
typedef void (*HPMHOOK_post_script_parser_clean_leftovers) (void);
typedef void (*HPMHOOK_pre_script_run_use_script) (struct map_session_data *sd, struct item_data *data, int *oid);
-typedef void (*HPMHOOK_post_script_run_use_script) (struct map_session_data *sd, struct item_data *data, int *oid);
+typedef void (*HPMHOOK_post_script_run_use_script) (struct map_session_data *sd, struct item_data *data, int oid);
typedef void (*HPMHOOK_pre_script_run_item_equip_script) (struct map_session_data *sd, struct item_data *data, int *oid);
-typedef void (*HPMHOOK_post_script_run_item_equip_script) (struct map_session_data *sd, struct item_data *data, int *oid);
+typedef void (*HPMHOOK_post_script_run_item_equip_script) (struct map_session_data *sd, struct item_data *data, int oid);
typedef void (*HPMHOOK_pre_script_run_item_unequip_script) (struct map_session_data *sd, struct item_data *data, int *oid);
-typedef void (*HPMHOOK_post_script_run_item_unequip_script) (struct map_session_data *sd, struct item_data *data, int *oid);
+typedef void (*HPMHOOK_post_script_run_item_unequip_script) (struct map_session_data *sd, struct item_data *data, int oid);
#endif // MAP_SCRIPT_H
#ifdef MAP_SEARCHSTORE_H /* searchstore */
typedef bool (*HPMHOOK_pre_searchstore_open) (struct map_session_data *sd, unsigned int *uses, unsigned short *effect);
-typedef bool (*HPMHOOK_post_searchstore_open) (bool retVal___, struct map_session_data *sd, unsigned int *uses, unsigned short *effect);
+typedef bool (*HPMHOOK_post_searchstore_open) (bool retVal___, struct map_session_data *sd, unsigned int uses, unsigned short effect);
typedef void (*HPMHOOK_pre_searchstore_query) (struct map_session_data *sd, unsigned char *type, unsigned int *min_price, unsigned int *max_price, const unsigned short *itemlist, unsigned int *item_count, const unsigned short *cardlist, unsigned int *card_count);
-typedef void (*HPMHOOK_post_searchstore_query) (struct map_session_data *sd, unsigned char *type, unsigned int *min_price, unsigned int *max_price, const unsigned short *itemlist, unsigned int *item_count, const unsigned short *cardlist, unsigned int *card_count);
+typedef void (*HPMHOOK_post_searchstore_query) (struct map_session_data *sd, unsigned char type, unsigned int min_price, unsigned int max_price, const unsigned short *itemlist, unsigned int item_count, const unsigned short *cardlist, unsigned int card_count);
typedef bool (*HPMHOOK_pre_searchstore_querynext) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_searchstore_querynext) (bool retVal___, struct map_session_data *sd);
typedef void (*HPMHOOK_pre_searchstore_next) (struct map_session_data *sd);
@@ -6007,13 +6007,13 @@ typedef void (*HPMHOOK_post_searchstore_clear) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_searchstore_close) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_searchstore_close) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_searchstore_click) (struct map_session_data *sd, int *account_id, int *store_id, unsigned short *nameid);
-typedef void (*HPMHOOK_post_searchstore_click) (struct map_session_data *sd, int *account_id, int *store_id, unsigned short *nameid);
+typedef void (*HPMHOOK_post_searchstore_click) (struct map_session_data *sd, int account_id, int store_id, unsigned short nameid);
typedef bool (*HPMHOOK_pre_searchstore_queryremote) (struct map_session_data *sd, int *account_id);
-typedef bool (*HPMHOOK_post_searchstore_queryremote) (bool retVal___, struct map_session_data *sd, int *account_id);
+typedef bool (*HPMHOOK_post_searchstore_queryremote) (bool retVal___, struct map_session_data *sd, int account_id);
typedef void (*HPMHOOK_pre_searchstore_clearremote) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_searchstore_clearremote) (struct map_session_data *sd);
typedef bool (*HPMHOOK_pre_searchstore_result) (struct map_session_data *sd, unsigned int *store_id, int *account_id, const char *store_name, unsigned short *nameid, unsigned short *amount, unsigned int *price, const short *card, unsigned char *refine);
-typedef bool (*HPMHOOK_post_searchstore_result) (bool retVal___, struct map_session_data *sd, unsigned int *store_id, int *account_id, const char *store_name, unsigned short *nameid, unsigned short *amount, unsigned int *price, const short *card, unsigned char *refine);
+typedef bool (*HPMHOOK_post_searchstore_result) (bool retVal___, struct map_session_data *sd, unsigned int store_id, int account_id, const char *store_name, unsigned short nameid, unsigned short amount, unsigned int price, const short *card, unsigned char refine);
#endif // MAP_SEARCHSTORE_H
#ifdef COMMON_SHOWMSG_H /* showmsg */
typedef void (*HPMHOOK_pre_showmsg_init) (void);
@@ -6027,191 +6027,191 @@ typedef int (*HPMHOOK_post_showmsg_showMessageV) (int retVal___, const char *str
#endif // COMMON_SHOWMSG_H
#ifdef MAP_SKILL_H /* skill */
typedef int (*HPMHOOK_pre_skill_init) (bool *minimal);
-typedef int (*HPMHOOK_post_skill_init) (int retVal___, bool *minimal);
+typedef int (*HPMHOOK_post_skill_init) (int retVal___, bool minimal);
typedef int (*HPMHOOK_pre_skill_final) (void);
typedef int (*HPMHOOK_post_skill_final) (int retVal___);
typedef void (*HPMHOOK_pre_skill_reload) (void);
typedef void (*HPMHOOK_post_skill_reload) (void);
typedef void (*HPMHOOK_pre_skill_read_db) (bool *minimal);
-typedef void (*HPMHOOK_post_skill_read_db) (bool *minimal);
+typedef void (*HPMHOOK_post_skill_read_db) (bool minimal);
typedef int (*HPMHOOK_pre_skill_get_index) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_index) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_index) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_type) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_type) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_type) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_hit) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_hit) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_hit) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_inf) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_inf) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_inf) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_ele) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_ele) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_ele) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_nk) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_nk) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_nk) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_max) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_max) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_max) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_range) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_range) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_range) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_range2) (struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_range2) (int retVal___, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_range2) (int retVal___, struct block_list *bl, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_splash) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_splash) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_splash) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_hp) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_hp) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_hp) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_mhp) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_mhp) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_mhp) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_sp) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_sp) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_sp) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_state) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_state) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_state) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_spiritball) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_spiritball) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_spiritball) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_zeny) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_zeny) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_zeny) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_num) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_num) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_num) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_cast) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_cast) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_cast) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_delay) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_delay) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_delay) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_walkdelay) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_walkdelay) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_walkdelay) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_time) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_time) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_time) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_time2) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_time2) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_time2) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_castnodex) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_castnodex) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_castnodex) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_delaynodex) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_delaynodex) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_delaynodex) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_castdef) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_castdef) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_castdef) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_weapontype) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_weapontype) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_weapontype) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_ammotype) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_ammotype) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_ammotype) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_ammo_qty) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_ammo_qty) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_ammo_qty) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_unit_id) (uint16 *skill_id, int *flag);
-typedef int (*HPMHOOK_post_skill_get_unit_id) (int retVal___, uint16 *skill_id, int *flag);
+typedef int (*HPMHOOK_post_skill_get_unit_id) (int retVal___, uint16 skill_id, int flag);
typedef int (*HPMHOOK_pre_skill_get_inf2) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_inf2) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_inf2) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_castcancel) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_castcancel) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_castcancel) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_maxcount) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_maxcount) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_maxcount) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_blewcount) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_blewcount) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_blewcount) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_unit_flag) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_unit_flag) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_unit_flag) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_unit_target) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_unit_target) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_unit_target) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_unit_interval) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_unit_interval) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_unit_interval) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_unit_bl_target) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_unit_bl_target) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_unit_bl_target) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_unit_layout_type) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_unit_layout_type) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_unit_layout_type) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_unit_range) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_unit_range) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_unit_range) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_get_cooldown) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_cooldown) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_cooldown) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_tree_get_max) (uint16 *skill_id, int *b_class);
-typedef int (*HPMHOOK_post_skill_tree_get_max) (int retVal___, uint16 *skill_id, int *b_class);
+typedef int (*HPMHOOK_post_skill_tree_get_max) (int retVal___, uint16 skill_id, int b_class);
typedef const char* (*HPMHOOK_pre_skill_get_name) (uint16 *skill_id);
-typedef const char* (*HPMHOOK_post_skill_get_name) (const char* retVal___, uint16 *skill_id);
+typedef const char* (*HPMHOOK_post_skill_get_name) (const char* retVal___, uint16 skill_id);
typedef const char* (*HPMHOOK_pre_skill_get_desc) (uint16 *skill_id);
-typedef const char* (*HPMHOOK_post_skill_get_desc) (const char* retVal___, uint16 *skill_id);
+typedef const char* (*HPMHOOK_post_skill_get_desc) (const char* retVal___, uint16 skill_id);
typedef void (*HPMHOOK_pre_skill_chk) (uint16 *skill_id);
typedef void (*HPMHOOK_post_skill_chk) (uint16 *skill_id);
typedef int (*HPMHOOK_pre_skill_get_casttype) (uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_get_casttype) (int retVal___, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_get_casttype) (int retVal___, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_get_casttype2) (uint16 *index);
-typedef int (*HPMHOOK_post_skill_get_casttype2) (int retVal___, uint16 *index);
+typedef int (*HPMHOOK_post_skill_get_casttype2) (int retVal___, uint16 index);
typedef bool (*HPMHOOK_pre_skill_is_combo) (int *skill_id);
-typedef bool (*HPMHOOK_post_skill_is_combo) (bool retVal___, int *skill_id);
+typedef bool (*HPMHOOK_post_skill_is_combo) (bool retVal___, int skill_id);
typedef int (*HPMHOOK_pre_skill_name2id) (const char *name);
typedef int (*HPMHOOK_post_skill_name2id) (int retVal___, const char *name);
typedef int (*HPMHOOK_pre_skill_isammotype) (struct map_session_data *sd, int *skill_id);
-typedef int (*HPMHOOK_post_skill_isammotype) (int retVal___, struct map_session_data *sd, int *skill_id);
+typedef int (*HPMHOOK_post_skill_isammotype) (int retVal___, struct map_session_data *sd, int skill_id);
typedef int (*HPMHOOK_pre_skill_castend_id) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_skill_castend_id) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_skill_castend_id) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_skill_castend_pos) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_skill_castend_pos) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_skill_castend_pos) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_skill_castend_map) (struct map_session_data *sd, uint16 *skill_id, const char *mapname);
-typedef int (*HPMHOOK_post_skill_castend_map) (int retVal___, struct map_session_data *sd, uint16 *skill_id, const char *mapname);
+typedef int (*HPMHOOK_post_skill_castend_map) (int retVal___, struct map_session_data *sd, uint16 skill_id, const char *mapname);
typedef int (*HPMHOOK_pre_skill_cleartimerskill) (struct block_list *src);
typedef int (*HPMHOOK_post_skill_cleartimerskill) (int retVal___, struct block_list *src);
typedef int (*HPMHOOK_pre_skill_addtimerskill) (struct block_list *src, int64 *tick, int *target, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int *type, int *flag);
-typedef int (*HPMHOOK_post_skill_addtimerskill) (int retVal___, struct block_list *src, int64 *tick, int *target, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int *type, int *flag);
+typedef int (*HPMHOOK_post_skill_addtimerskill) (int retVal___, struct block_list *src, int64 tick, int target, int x, int y, uint16 skill_id, uint16 skill_lv, int type, int flag);
typedef int (*HPMHOOK_pre_skill_additional_effect) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int *dmg_lv, int64 *tick);
-typedef int (*HPMHOOK_post_skill_additional_effect) (int retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int *dmg_lv, int64 *tick);
+typedef int (*HPMHOOK_post_skill_additional_effect) (int retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int attack_type, int dmg_lv, int64 tick);
typedef int (*HPMHOOK_pre_skill_counter_additional_effect) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int64 *tick);
-typedef int (*HPMHOOK_post_skill_counter_additional_effect) (int retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int64 *tick);
+typedef int (*HPMHOOK_post_skill_counter_additional_effect) (int retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int attack_type, int64 tick);
typedef int (*HPMHOOK_pre_skill_blown) (struct block_list *src, struct block_list *target, int *count, int8 *dir, int *flag);
-typedef int (*HPMHOOK_post_skill_blown) (int retVal___, struct block_list *src, struct block_list *target, int *count, int8 *dir, int *flag);
+typedef int (*HPMHOOK_post_skill_blown) (int retVal___, struct block_list *src, struct block_list *target, int count, int8 dir, int flag);
typedef int (*HPMHOOK_pre_skill_break_equip) (struct block_list *bl, unsigned short *where, int *rate, int *flag);
-typedef int (*HPMHOOK_post_skill_break_equip) (int retVal___, struct block_list *bl, unsigned short *where, int *rate, int *flag);
+typedef int (*HPMHOOK_post_skill_break_equip) (int retVal___, struct block_list *bl, unsigned short where, int rate, int flag);
typedef int (*HPMHOOK_pre_skill_strip_equip) (struct block_list *bl, unsigned short *where, int *rate, int *lv, int *time);
-typedef int (*HPMHOOK_post_skill_strip_equip) (int retVal___, struct block_list *bl, unsigned short *where, int *rate, int *lv, int *time);
+typedef int (*HPMHOOK_post_skill_strip_equip) (int retVal___, struct block_list *bl, unsigned short where, int rate, int lv, int time);
typedef struct skill_unit_group* (*HPMHOOK_pre_skill_id2group) (int *group_id);
-typedef struct skill_unit_group* (*HPMHOOK_post_skill_id2group) (struct skill_unit_group* retVal___, int *group_id);
+typedef struct skill_unit_group* (*HPMHOOK_post_skill_id2group) (struct skill_unit_group* retVal___, int group_id);
typedef struct skill_unit_group* (*HPMHOOK_pre_skill_unitsetting) (struct block_list *src, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *flag);
-typedef struct skill_unit_group* (*HPMHOOK_post_skill_unitsetting) (struct skill_unit_group* retVal___, struct block_list *src, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *flag);
+typedef struct skill_unit_group* (*HPMHOOK_post_skill_unitsetting) (struct skill_unit_group* retVal___, struct block_list *src, uint16 skill_id, uint16 skill_lv, short x, short y, int flag);
typedef struct skill_unit* (*HPMHOOK_pre_skill_initunit) (struct skill_unit_group *group, int *idx, int *x, int *y, int *val1, int *val2);
-typedef struct skill_unit* (*HPMHOOK_post_skill_initunit) (struct skill_unit* retVal___, struct skill_unit_group *group, int *idx, int *x, int *y, int *val1, int *val2);
+typedef struct skill_unit* (*HPMHOOK_post_skill_initunit) (struct skill_unit* retVal___, struct skill_unit_group *group, int idx, int x, int y, int val1, int val2);
typedef int (*HPMHOOK_pre_skill_delunit) (struct skill_unit *su);
typedef int (*HPMHOOK_post_skill_delunit) (int retVal___, struct skill_unit *su);
typedef struct skill_unit_group* (*HPMHOOK_pre_skill_init_unitgroup) (struct block_list *src, int *count, uint16 *skill_id, uint16 *skill_lv, int *unit_id, int *limit, int *interval);
-typedef struct skill_unit_group* (*HPMHOOK_post_skill_init_unitgroup) (struct skill_unit_group* retVal___, struct block_list *src, int *count, uint16 *skill_id, uint16 *skill_lv, int *unit_id, int *limit, int *interval);
+typedef struct skill_unit_group* (*HPMHOOK_post_skill_init_unitgroup) (struct skill_unit_group* retVal___, struct block_list *src, int count, uint16 skill_id, uint16 skill_lv, int unit_id, int limit, int interval);
typedef int (*HPMHOOK_pre_skill_del_unitgroup) (struct skill_unit_group *group, const char *file, int *line, const char *func);
-typedef int (*HPMHOOK_post_skill_del_unitgroup) (int retVal___, struct skill_unit_group *group, const char *file, int *line, const char *func);
+typedef int (*HPMHOOK_post_skill_del_unitgroup) (int retVal___, struct skill_unit_group *group, const char *file, int line, const char *func);
typedef int (*HPMHOOK_pre_skill_clear_unitgroup) (struct block_list *src);
typedef int (*HPMHOOK_post_skill_clear_unitgroup) (int retVal___, struct block_list *src);
typedef int (*HPMHOOK_pre_skill_clear_group) (struct block_list *bl, int *flag);
-typedef int (*HPMHOOK_post_skill_clear_group) (int retVal___, struct block_list *bl, int *flag);
+typedef int (*HPMHOOK_post_skill_clear_group) (int retVal___, struct block_list *bl, int flag);
typedef int (*HPMHOOK_pre_skill_unit_onplace) (struct skill_unit *src, struct block_list *bl, int64 *tick);
-typedef int (*HPMHOOK_post_skill_unit_onplace) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 *tick);
+typedef int (*HPMHOOK_post_skill_unit_onplace) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 tick);
typedef int (*HPMHOOK_pre_skill_unit_ondamaged) (struct skill_unit *src, struct block_list *bl, int64 *damage, int64 *tick);
-typedef int (*HPMHOOK_post_skill_unit_ondamaged) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 *damage, int64 *tick);
+typedef int (*HPMHOOK_post_skill_unit_ondamaged) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 damage, int64 tick);
typedef int (*HPMHOOK_pre_skill_cast_fix) (struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_cast_fix) (int retVal___, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_cast_fix) (int retVal___, struct block_list *bl, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_cast_fix_sc) (struct block_list *bl, int *time);
-typedef int (*HPMHOOK_post_skill_cast_fix_sc) (int retVal___, struct block_list *bl, int *time);
+typedef int (*HPMHOOK_post_skill_cast_fix_sc) (int retVal___, struct block_list *bl, int time);
typedef int (*HPMHOOK_pre_skill_vf_cast_fix) (struct block_list *bl, double *time, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_vf_cast_fix) (int retVal___, struct block_list *bl, double *time, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_vf_cast_fix) (int retVal___, struct block_list *bl, double time, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_delay_fix) (struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_delay_fix) (int retVal___, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_delay_fix) (int retVal___, struct block_list *bl, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_check_condition_castbegin) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_check_condition_castbegin) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_check_condition_castbegin) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_check_condition_castend) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_check_condition_castend) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_check_condition_castend) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_consume_requirement) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, short *type);
-typedef int (*HPMHOOK_post_skill_consume_requirement) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, short *type);
+typedef int (*HPMHOOK_post_skill_consume_requirement) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv, short type);
typedef struct skill_condition (*HPMHOOK_pre_skill_get_requirement) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
-typedef struct skill_condition (*HPMHOOK_post_skill_get_requirement) (struct skill_condition retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+typedef struct skill_condition (*HPMHOOK_post_skill_get_requirement) (struct skill_condition retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_check_pc_partner) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, int *range, int *cast_flag);
-typedef int (*HPMHOOK_post_skill_check_pc_partner) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, int *range, int *cast_flag);
+typedef int (*HPMHOOK_post_skill_check_pc_partner) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 *skill_lv, int range, int cast_flag);
typedef int (*HPMHOOK_pre_skill_unit_move) (struct block_list *bl, int64 *tick, int *flag);
-typedef int (*HPMHOOK_post_skill_unit_move) (int retVal___, struct block_list *bl, int64 *tick, int *flag);
+typedef int (*HPMHOOK_post_skill_unit_move) (int retVal___, struct block_list *bl, int64 tick, int flag);
typedef int (*HPMHOOK_pre_skill_unit_onleft) (uint16 *skill_id, struct block_list *bl, int64 *tick);
-typedef int (*HPMHOOK_post_skill_unit_onleft) (int retVal___, uint16 *skill_id, struct block_list *bl, int64 *tick);
+typedef int (*HPMHOOK_post_skill_unit_onleft) (int retVal___, uint16 skill_id, struct block_list *bl, int64 tick);
typedef int (*HPMHOOK_pre_skill_unit_onout) (struct skill_unit *src, struct block_list *bl, int64 *tick);
-typedef int (*HPMHOOK_post_skill_unit_onout) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 *tick);
+typedef int (*HPMHOOK_post_skill_unit_onout) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 tick);
typedef int (*HPMHOOK_pre_skill_unit_move_unit_group) (struct skill_unit_group *group, int16 *m, int16 *dx, int16 *dy);
-typedef int (*HPMHOOK_post_skill_unit_move_unit_group) (int retVal___, struct skill_unit_group *group, int16 *m, int16 *dx, int16 *dy);
+typedef int (*HPMHOOK_post_skill_unit_move_unit_group) (int retVal___, struct skill_unit_group *group, int16 m, int16 dx, int16 dy);
typedef int (*HPMHOOK_pre_skill_sit) (struct map_session_data *sd, int *type);
-typedef int (*HPMHOOK_post_skill_sit) (int retVal___, struct map_session_data *sd, int *type);
+typedef int (*HPMHOOK_post_skill_sit) (int retVal___, struct map_session_data *sd, int type);
typedef void (*HPMHOOK_pre_skill_brandishspear) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
-typedef void (*HPMHOOK_post_skill_brandishspear) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+typedef void (*HPMHOOK_post_skill_brandishspear) (struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
typedef void (*HPMHOOK_pre_skill_repairweapon) (struct map_session_data *sd, int *idx);
-typedef void (*HPMHOOK_post_skill_repairweapon) (struct map_session_data *sd, int *idx);
+typedef void (*HPMHOOK_post_skill_repairweapon) (struct map_session_data *sd, int idx);
typedef void (*HPMHOOK_pre_skill_identify) (struct map_session_data *sd, int *idx);
-typedef void (*HPMHOOK_post_skill_identify) (struct map_session_data *sd, int *idx);
+typedef void (*HPMHOOK_post_skill_identify) (struct map_session_data *sd, int idx);
typedef void (*HPMHOOK_pre_skill_weaponrefine) (struct map_session_data *sd, int *idx);
-typedef void (*HPMHOOK_post_skill_weaponrefine) (struct map_session_data *sd, int *idx);
+typedef void (*HPMHOOK_post_skill_weaponrefine) (struct map_session_data *sd, int idx);
typedef int (*HPMHOOK_pre_skill_autospell) (struct map_session_data *md, uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_autospell) (int retVal___, struct map_session_data *md, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_autospell) (int retVal___, struct map_session_data *md, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_calc_heal) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, bool *heal);
-typedef int (*HPMHOOK_post_skill_calc_heal) (int retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, bool *heal);
+typedef int (*HPMHOOK_post_skill_calc_heal) (int retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, bool heal);
typedef bool (*HPMHOOK_pre_skill_check_cloaking) (struct block_list *bl, struct status_change_entry *sce);
typedef bool (*HPMHOOK_post_skill_check_cloaking) (bool retVal___, struct block_list *bl, struct status_change_entry *sce);
typedef int (*HPMHOOK_pre_skill_check_cloaking_end) (struct block_list *bl, va_list ap);
@@ -6219,63 +6219,63 @@ typedef int (*HPMHOOK_post_skill_check_cloaking_end) (int retVal___, struct bloc
typedef bool (*HPMHOOK_pre_skill_can_cloak) (struct map_session_data *sd);
typedef bool (*HPMHOOK_post_skill_can_cloak) (bool retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_skill_enchant_elemental_end) (struct block_list *bl, int *type);
-typedef int (*HPMHOOK_post_skill_enchant_elemental_end) (int retVal___, struct block_list *bl, int *type);
+typedef int (*HPMHOOK_post_skill_enchant_elemental_end) (int retVal___, struct block_list *bl, int type);
typedef int (*HPMHOOK_pre_skill_not_ok) (uint16 *skill_id, struct map_session_data *sd);
-typedef int (*HPMHOOK_post_skill_not_ok) (int retVal___, uint16 *skill_id, struct map_session_data *sd);
+typedef int (*HPMHOOK_post_skill_not_ok) (int retVal___, uint16 skill_id, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_skill_not_ok_hom) (uint16 *skill_id, struct homun_data *hd);
-typedef int (*HPMHOOK_post_skill_not_ok_hom) (int retVal___, uint16 *skill_id, struct homun_data *hd);
+typedef int (*HPMHOOK_post_skill_not_ok_hom) (int retVal___, uint16 skill_id, struct homun_data *hd);
typedef int (*HPMHOOK_pre_skill_not_ok_mercenary) (uint16 *skill_id, struct mercenary_data *md);
-typedef int (*HPMHOOK_post_skill_not_ok_mercenary) (int retVal___, uint16 *skill_id, struct mercenary_data *md);
+typedef int (*HPMHOOK_post_skill_not_ok_mercenary) (int retVal___, uint16 skill_id, struct mercenary_data *md);
typedef int (*HPMHOOK_pre_skill_chastle_mob_changetarget) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_chastle_mob_changetarget) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_can_produce_mix) (struct map_session_data *sd, int *nameid, int *trigger, int *qty);
-typedef int (*HPMHOOK_post_skill_can_produce_mix) (int retVal___, struct map_session_data *sd, int *nameid, int *trigger, int *qty);
+typedef int (*HPMHOOK_post_skill_can_produce_mix) (int retVal___, struct map_session_data *sd, int nameid, int trigger, int qty);
typedef int (*HPMHOOK_pre_skill_produce_mix) (struct map_session_data *sd, uint16 *skill_id, int *nameid, int *slot1, int *slot2, int *slot3, int *qty);
-typedef int (*HPMHOOK_post_skill_produce_mix) (int retVal___, struct map_session_data *sd, uint16 *skill_id, int *nameid, int *slot1, int *slot2, int *slot3, int *qty);
+typedef int (*HPMHOOK_post_skill_produce_mix) (int retVal___, struct map_session_data *sd, uint16 skill_id, int nameid, int slot1, int slot2, int slot3, int qty);
typedef int (*HPMHOOK_pre_skill_arrow_create) (struct map_session_data *sd, int *nameid);
-typedef int (*HPMHOOK_post_skill_arrow_create) (int retVal___, struct map_session_data *sd, int *nameid);
+typedef int (*HPMHOOK_post_skill_arrow_create) (int retVal___, struct map_session_data *sd, int nameid);
typedef int (*HPMHOOK_pre_skill_castend_nodamage_id) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
-typedef int (*HPMHOOK_post_skill_castend_nodamage_id) (int retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+typedef int (*HPMHOOK_post_skill_castend_nodamage_id) (int retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
typedef int (*HPMHOOK_pre_skill_castend_damage_id) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
-typedef int (*HPMHOOK_post_skill_castend_damage_id) (int retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+typedef int (*HPMHOOK_post_skill_castend_damage_id) (int retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
typedef int (*HPMHOOK_pre_skill_castend_pos2) (struct block_list *src, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
-typedef int (*HPMHOOK_post_skill_castend_pos2) (int retVal___, struct block_list *src, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+typedef int (*HPMHOOK_post_skill_castend_pos2) (int retVal___, struct block_list *src, int x, int y, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
typedef int (*HPMHOOK_pre_skill_blockpc_start) (struct map_session_data *sd, uint16 *skill_id, int *tick);
-typedef int (*HPMHOOK_post_skill_blockpc_start) (int retVal___, struct map_session_data *sd, uint16 *skill_id, int *tick);
+typedef int (*HPMHOOK_post_skill_blockpc_start) (int retVal___, struct map_session_data *sd, uint16 skill_id, int tick);
typedef int (*HPMHOOK_pre_skill_blockhomun_start) (struct homun_data *hd, uint16 *skill_id, int *tick);
-typedef int (*HPMHOOK_post_skill_blockhomun_start) (int retVal___, struct homun_data *hd, uint16 *skill_id, int *tick);
+typedef int (*HPMHOOK_post_skill_blockhomun_start) (int retVal___, struct homun_data *hd, uint16 skill_id, int tick);
typedef int (*HPMHOOK_pre_skill_blockmerc_start) (struct mercenary_data *md, uint16 *skill_id, int *tick);
-typedef int (*HPMHOOK_post_skill_blockmerc_start) (int retVal___, struct mercenary_data *md, uint16 *skill_id, int *tick);
+typedef int (*HPMHOOK_post_skill_blockmerc_start) (int retVal___, struct mercenary_data *md, uint16 skill_id, int tick);
typedef int (*HPMHOOK_pre_skill_attack) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
-typedef int (*HPMHOOK_post_skill_attack) (int retVal___, int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+typedef int (*HPMHOOK_post_skill_attack) (int retVal___, int attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
typedef int (*HPMHOOK_pre_skill_attack_area) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_attack_area) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_area_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_area_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_area_sub_count) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
-typedef int (*HPMHOOK_post_skill_area_sub_count) (int retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+typedef int (*HPMHOOK_post_skill_area_sub_count) (int retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
typedef int (*HPMHOOK_pre_skill_check_unit_range) (struct block_list *bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_check_unit_range) (int retVal___, struct block_list *bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_check_unit_range) (int retVal___, struct block_list *bl, int x, int y, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_check_unit_range_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_check_unit_range_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_check_unit_range2) (struct block_list *bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_check_unit_range2) (int retVal___, struct block_list *bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_check_unit_range2) (int retVal___, struct block_list *bl, int x, int y, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_check_unit_range2_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_check_unit_range2_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_skill_toggle_magicpower) (struct block_list *bl, uint16 *skill_id);
-typedef void (*HPMHOOK_post_skill_toggle_magicpower) (struct block_list *bl, uint16 *skill_id);
+typedef void (*HPMHOOK_post_skill_toggle_magicpower) (struct block_list *bl, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_magic_reflect) (struct block_list *src, struct block_list *bl, int *type);
-typedef int (*HPMHOOK_post_skill_magic_reflect) (int retVal___, struct block_list *src, struct block_list *bl, int *type);
+typedef int (*HPMHOOK_post_skill_magic_reflect) (int retVal___, struct block_list *src, struct block_list *bl, int type);
typedef int (*HPMHOOK_pre_skill_onskillusage) (struct map_session_data *sd, struct block_list *bl, uint16 *skill_id, int64 *tick);
-typedef int (*HPMHOOK_post_skill_onskillusage) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 *skill_id, int64 *tick);
+typedef int (*HPMHOOK_post_skill_onskillusage) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 skill_id, int64 tick);
typedef int (*HPMHOOK_pre_skill_cell_overlap) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_cell_overlap) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_timerskill) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_skill_timerskill) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_skill_timerskill) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_skill_trap_splash) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_trap_splash) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_check_condition_mercenary) (struct block_list *bl, int *skill_id, int *lv, int *type);
-typedef int (*HPMHOOK_post_skill_check_condition_mercenary) (int retVal___, struct block_list *bl, int *skill_id, int *lv, int *type);
+typedef int (*HPMHOOK_post_skill_check_condition_mercenary) (int retVal___, struct block_list *bl, int skill_id, int lv, int type);
typedef struct skill_unit_group* (*HPMHOOK_pre_skill_locate_element_field) (struct block_list *bl);
typedef struct skill_unit_group* (*HPMHOOK_post_skill_locate_element_field) (struct skill_unit_group* retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_skill_graffitiremover) (struct block_list *bl, va_list ap);
@@ -6285,9 +6285,9 @@ typedef int (*HPMHOOK_post_skill_activate_reverberation) (int retVal___, struct
typedef int (*HPMHOOK_pre_skill_dance_overlap_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_dance_overlap_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_dance_overlap) (struct skill_unit *su, int *flag);
-typedef int (*HPMHOOK_post_skill_dance_overlap) (int retVal___, struct skill_unit *su, int *flag);
+typedef int (*HPMHOOK_post_skill_dance_overlap) (int retVal___, struct skill_unit *su, int flag);
typedef struct s_skill_unit_layout* (*HPMHOOK_pre_skill_get_unit_layout) (uint16 *skill_id, uint16 *skill_lv, struct block_list *src, int *x, int *y);
-typedef struct s_skill_unit_layout* (*HPMHOOK_post_skill_get_unit_layout) (struct s_skill_unit_layout* retVal___, uint16 *skill_id, uint16 *skill_lv, struct block_list *src, int *x, int *y);
+typedef struct s_skill_unit_layout* (*HPMHOOK_post_skill_get_unit_layout) (struct s_skill_unit_layout* retVal___, uint16 skill_id, uint16 skill_lv, struct block_list *src, int x, int y);
typedef int (*HPMHOOK_pre_skill_frostjoke_scream) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_frostjoke_scream) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_greed) (struct block_list *bl, va_list ap);
@@ -6295,19 +6295,19 @@ typedef int (*HPMHOOK_post_skill_greed) (int retVal___, struct block_list *bl, v
typedef int (*HPMHOOK_pre_skill_destroy_trap) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_destroy_trap) (int retVal___, struct block_list *bl, va_list ap);
typedef struct skill_unit_group_tickset* (*HPMHOOK_pre_skill_unitgrouptickset_search) (struct block_list *bl, struct skill_unit_group *group, int64 *tick);
-typedef struct skill_unit_group_tickset* (*HPMHOOK_post_skill_unitgrouptickset_search) (struct skill_unit_group_tickset* retVal___, struct block_list *bl, struct skill_unit_group *group, int64 *tick);
+typedef struct skill_unit_group_tickset* (*HPMHOOK_post_skill_unitgrouptickset_search) (struct skill_unit_group_tickset* retVal___, struct block_list *bl, struct skill_unit_group *group, int64 tick);
typedef bool (*HPMHOOK_pre_skill_dance_switch) (struct skill_unit *su, int *flag);
-typedef bool (*HPMHOOK_post_skill_dance_switch) (bool retVal___, struct skill_unit *su, int *flag);
+typedef bool (*HPMHOOK_post_skill_dance_switch) (bool retVal___, struct skill_unit *su, int flag);
typedef int (*HPMHOOK_pre_skill_check_condition_char_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_check_condition_char_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_check_condition_mob_master_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_check_condition_mob_master_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_skill_brandishspear_first) (struct square *tc, uint8 *dir, int16 *x, int16 *y);
-typedef void (*HPMHOOK_post_skill_brandishspear_first) (struct square *tc, uint8 *dir, int16 *x, int16 *y);
+typedef void (*HPMHOOK_post_skill_brandishspear_first) (struct square *tc, uint8 dir, int16 x, int16 y);
typedef void (*HPMHOOK_pre_skill_brandishspear_dir) (struct square *tc, uint8 *dir, int *are);
-typedef void (*HPMHOOK_post_skill_brandishspear_dir) (struct square *tc, uint8 *dir, int *are);
+typedef void (*HPMHOOK_post_skill_brandishspear_dir) (struct square *tc, uint8 dir, int are);
typedef int (*HPMHOOK_pre_skill_get_fixed_cast) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_fixed_cast) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_fixed_cast) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_skill_sit_count) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_sit_count) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_sit_in) (struct block_list *bl, va_list ap);
@@ -6315,9 +6315,9 @@ typedef int (*HPMHOOK_post_skill_sit_in) (int retVal___, struct block_list *bl,
typedef int (*HPMHOOK_pre_skill_sit_out) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_sit_out) (int retVal___, struct block_list *bl, va_list ap);
typedef void (*HPMHOOK_pre_skill_unitsetmapcell) (struct skill_unit *src, uint16 *skill_id, uint16 *skill_lv, cell_t *cell, bool *flag);
-typedef void (*HPMHOOK_post_skill_unitsetmapcell) (struct skill_unit *src, uint16 *skill_id, uint16 *skill_lv, cell_t *cell, bool *flag);
+typedef void (*HPMHOOK_post_skill_unitsetmapcell) (struct skill_unit *src, uint16 skill_id, uint16 skill_lv, cell_t cell, bool flag);
typedef int (*HPMHOOK_pre_skill_unit_onplace_timer) (struct skill_unit *src, struct block_list *bl, int64 *tick);
-typedef int (*HPMHOOK_post_skill_unit_onplace_timer) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 *tick);
+typedef int (*HPMHOOK_post_skill_unit_onplace_timer) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 tick);
typedef int (*HPMHOOK_pre_skill_unit_effect) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_unit_effect) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_unit_timer_sub_onplace) (struct block_list *bl, va_list ap);
@@ -6325,77 +6325,77 @@ typedef int (*HPMHOOK_post_skill_unit_timer_sub_onplace) (int retVal___, struct
typedef int (*HPMHOOK_pre_skill_unit_move_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_unit_move_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_skill_blockpc_end) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_skill_blockpc_end) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_skill_blockpc_end) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_skill_blockhomun_end) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_skill_blockhomun_end) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_skill_blockhomun_end) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_skill_blockmerc_end) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_skill_blockmerc_end) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_skill_blockmerc_end) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_skill_split_atoi) (char *str, int *val);
typedef int (*HPMHOOK_post_skill_split_atoi) (int retVal___, char *str, int *val);
typedef int (*HPMHOOK_pre_skill_unit_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_skill_unit_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_skill_unit_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_skill_unit_timer_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_skill_unit_timer_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_skill_unit_timer_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
typedef void (*HPMHOOK_pre_skill_init_unit_layout) (void);
typedef void (*HPMHOOK_post_skill_init_unit_layout) (void);
typedef bool (*HPMHOOK_pre_skill_parse_row_skilldb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_skilldb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_skilldb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_requiredb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_requiredb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_requiredb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_castdb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_castdb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_castdb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_castnodexdb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_castnodexdb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_castnodexdb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_unitdb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_unitdb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_unitdb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_producedb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_producedb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_producedb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_createarrowdb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_createarrowdb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_createarrowdb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_abradb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_abradb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_abradb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_spellbookdb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_spellbookdb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_spellbookdb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_magicmushroomdb) (char *split[], int *column, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_magicmushroomdb) (bool retVal___, char *split[], int *column, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_magicmushroomdb) (bool retVal___, char *split[], int column, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_reproducedb) (char *split[], int *column, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_reproducedb) (bool retVal___, char *split[], int *column, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_reproducedb) (bool retVal___, char *split[], int column, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_improvisedb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_improvisedb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_improvisedb) (bool retVal___, char *split[], int columns, int current);
typedef bool (*HPMHOOK_pre_skill_parse_row_changematerialdb) (char *split[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_skill_parse_row_changematerialdb) (bool retVal___, char *split[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_skill_parse_row_changematerialdb) (bool retVal___, char *split[], int columns, int current);
typedef void (*HPMHOOK_pre_skill_usave_add) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
-typedef void (*HPMHOOK_post_skill_usave_add) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+typedef void (*HPMHOOK_post_skill_usave_add) (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
typedef void (*HPMHOOK_pre_skill_usave_trigger) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_skill_usave_trigger) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_skill_cooldown_load) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_skill_cooldown_load) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_skill_spellbook) (struct map_session_data *sd, int *nameid);
-typedef int (*HPMHOOK_post_skill_spellbook) (int retVal___, struct map_session_data *sd, int *nameid);
+typedef int (*HPMHOOK_post_skill_spellbook) (int retVal___, struct map_session_data *sd, int nameid);
typedef int (*HPMHOOK_pre_skill_block_check) (struct block_list *bl, enum sc_type *type, uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_block_check) (int retVal___, struct block_list *bl, enum sc_type *type, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_block_check) (int retVal___, struct block_list *bl, enum sc_type type, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_detonator) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_skill_detonator) (int retVal___, struct block_list *bl, va_list ap);
typedef bool (*HPMHOOK_pre_skill_check_camouflage) (struct block_list *bl, struct status_change_entry *sce);
typedef bool (*HPMHOOK_post_skill_check_camouflage) (bool retVal___, struct block_list *bl, struct status_change_entry *sce);
typedef int (*HPMHOOK_pre_skill_magicdecoy) (struct map_session_data *sd, int *nameid);
-typedef int (*HPMHOOK_post_skill_magicdecoy) (int retVal___, struct map_session_data *sd, int *nameid);
+typedef int (*HPMHOOK_post_skill_magicdecoy) (int retVal___, struct map_session_data *sd, int nameid);
typedef int (*HPMHOOK_pre_skill_poisoningweapon) (struct map_session_data *sd, int *nameid);
-typedef int (*HPMHOOK_post_skill_poisoningweapon) (int retVal___, struct map_session_data *sd, int *nameid);
+typedef int (*HPMHOOK_post_skill_poisoningweapon) (int retVal___, struct map_session_data *sd, int nameid);
typedef int (*HPMHOOK_pre_skill_select_menu) (struct map_session_data *sd, uint16 *skill_id);
-typedef int (*HPMHOOK_post_skill_select_menu) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+typedef int (*HPMHOOK_post_skill_select_menu) (int retVal___, struct map_session_data *sd, uint16 skill_id);
typedef int (*HPMHOOK_pre_skill_elementalanalysis) (struct map_session_data *sd, uint16 *skill_lv, const struct itemlist *item_list);
-typedef int (*HPMHOOK_post_skill_elementalanalysis) (int retVal___, struct map_session_data *sd, uint16 *skill_lv, const struct itemlist *item_list);
+typedef int (*HPMHOOK_post_skill_elementalanalysis) (int retVal___, struct map_session_data *sd, uint16 skill_lv, const struct itemlist *item_list);
typedef int (*HPMHOOK_pre_skill_changematerial) (struct map_session_data *sd, const struct itemlist *item_list);
typedef int (*HPMHOOK_post_skill_changematerial) (int retVal___, struct map_session_data *sd, const struct itemlist *item_list);
typedef int (*HPMHOOK_pre_skill_get_elemental_type) (uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_skill_get_elemental_type) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_skill_get_elemental_type) (int retVal___, uint16 skill_id, uint16 skill_lv);
typedef void (*HPMHOOK_pre_skill_cooldown_save) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_skill_cooldown_save) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_skill_get_new_group_id) (void);
typedef int (*HPMHOOK_post_skill_get_new_group_id) (int retVal___);
typedef bool (*HPMHOOK_pre_skill_check_shadowform) (struct block_list *bl, int64 *damage, int *hit);
-typedef bool (*HPMHOOK_post_skill_check_shadowform) (bool retVal___, struct block_list *bl, int64 *damage, int *hit);
+typedef bool (*HPMHOOK_post_skill_check_shadowform) (bool retVal___, struct block_list *bl, int64 damage, int hit);
typedef bool (*HPMHOOK_pre_skill_castend_damage_id_unknown) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, struct status_data *tstatus, struct status_change *sc);
typedef bool (*HPMHOOK_post_skill_castend_damage_id_unknown) (bool retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, struct status_data *tstatus, struct status_change *sc);
typedef void (*HPMHOOK_pre_skill_additional_effect_unknown) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int *dmg_lv, int64 *tick);
@@ -6419,11 +6419,11 @@ typedef void (*HPMHOOK_post_skill_attack_post_unknown) (int *attack_type, struct
typedef bool (*HPMHOOK_pre_skill_timerskill_dead_unknown) (struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
typedef bool (*HPMHOOK_post_skill_timerskill_dead_unknown) (bool retVal___, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
typedef void (*HPMHOOK_pre_skill_timerskill_target_unknown) (int *tid, int64 *tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
-typedef void (*HPMHOOK_post_skill_timerskill_target_unknown) (int *tid, int64 *tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
+typedef void (*HPMHOOK_post_skill_timerskill_target_unknown) (int tid, int64 tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
typedef void (*HPMHOOK_pre_skill_timerskill_notarget_unknown) (int *tid, int64 *tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
-typedef void (*HPMHOOK_post_skill_timerskill_notarget_unknown) (int *tid, int64 *tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
+typedef void (*HPMHOOK_post_skill_timerskill_notarget_unknown) (int tid, int64 tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
typedef bool (*HPMHOOK_pre_skill_cleartimerskill_exception) (int *skill_id);
-typedef bool (*HPMHOOK_post_skill_cleartimerskill_exception) (bool retVal___, int *skill_id);
+typedef bool (*HPMHOOK_post_skill_cleartimerskill_exception) (bool retVal___, int skill_id);
typedef bool (*HPMHOOK_pre_skill_castend_id_unknown) (struct unit_data *ud, struct block_list *src, struct block_list *target);
typedef bool (*HPMHOOK_post_skill_castend_id_unknown) (bool retVal___, struct unit_data *ud, struct block_list *src, struct block_list *target);
typedef bool (*HPMHOOK_pre_skill_castend_nodamage_id_dead_unknown) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
@@ -6467,53 +6467,53 @@ typedef void (*HPMHOOK_post_sockt_init) (void);
typedef void (*HPMHOOK_pre_sockt_final) (void);
typedef void (*HPMHOOK_post_sockt_final) (void);
typedef int (*HPMHOOK_pre_sockt_perform) (int *next);
-typedef int (*HPMHOOK_post_sockt_perform) (int retVal___, int *next);
+typedef int (*HPMHOOK_post_sockt_perform) (int retVal___, int next);
typedef void (*HPMHOOK_pre_sockt_datasync) (int *fd, bool *send);
-typedef void (*HPMHOOK_post_sockt_datasync) (int *fd, bool *send);
+typedef void (*HPMHOOK_post_sockt_datasync) (int fd, bool send);
typedef int (*HPMHOOK_pre_sockt_make_listen_bind) (uint32 *ip, uint16 *port);
-typedef int (*HPMHOOK_post_sockt_make_listen_bind) (int retVal___, uint32 *ip, uint16 *port);
+typedef int (*HPMHOOK_post_sockt_make_listen_bind) (int retVal___, uint32 ip, uint16 port);
typedef int (*HPMHOOK_pre_sockt_make_connection) (uint32 *ip, uint16 *port, struct hSockOpt *opt);
-typedef int (*HPMHOOK_post_sockt_make_connection) (int retVal___, uint32 *ip, uint16 *port, struct hSockOpt *opt);
+typedef int (*HPMHOOK_post_sockt_make_connection) (int retVal___, uint32 ip, uint16 port, struct hSockOpt *opt);
typedef int (*HPMHOOK_pre_sockt_realloc_fifo) (int *fd, unsigned int *rfifo_size, unsigned int *wfifo_size);
-typedef int (*HPMHOOK_post_sockt_realloc_fifo) (int retVal___, int *fd, unsigned int *rfifo_size, unsigned int *wfifo_size);
+typedef int (*HPMHOOK_post_sockt_realloc_fifo) (int retVal___, int fd, unsigned int rfifo_size, unsigned int wfifo_size);
typedef int (*HPMHOOK_pre_sockt_realloc_writefifo) (int *fd, size_t *addition);
-typedef int (*HPMHOOK_post_sockt_realloc_writefifo) (int retVal___, int *fd, size_t *addition);
+typedef int (*HPMHOOK_post_sockt_realloc_writefifo) (int retVal___, int fd, size_t addition);
typedef int (*HPMHOOK_pre_sockt_wfifoset) (int *fd, size_t *len);
-typedef int (*HPMHOOK_post_sockt_wfifoset) (int retVal___, int *fd, size_t *len);
+typedef int (*HPMHOOK_post_sockt_wfifoset) (int retVal___, int fd, size_t len);
typedef int (*HPMHOOK_pre_sockt_rfifoskip) (int *fd, size_t *len);
-typedef int (*HPMHOOK_post_sockt_rfifoskip) (int retVal___, int *fd, size_t *len);
+typedef int (*HPMHOOK_post_sockt_rfifoskip) (int retVal___, int fd, size_t len);
typedef void (*HPMHOOK_pre_sockt_close) (int *fd);
-typedef void (*HPMHOOK_post_sockt_close) (int *fd);
+typedef void (*HPMHOOK_post_sockt_close) (int fd);
typedef bool (*HPMHOOK_pre_sockt_session_is_valid) (int *fd);
-typedef bool (*HPMHOOK_post_sockt_session_is_valid) (bool retVal___, int *fd);
+typedef bool (*HPMHOOK_post_sockt_session_is_valid) (bool retVal___, int fd);
typedef bool (*HPMHOOK_pre_sockt_session_is_active) (int *fd);
-typedef bool (*HPMHOOK_post_sockt_session_is_active) (bool retVal___, int *fd);
+typedef bool (*HPMHOOK_post_sockt_session_is_active) (bool retVal___, int fd);
typedef void (*HPMHOOK_pre_sockt_flush) (int *fd);
-typedef void (*HPMHOOK_post_sockt_flush) (int *fd);
+typedef void (*HPMHOOK_post_sockt_flush) (int fd);
typedef void (*HPMHOOK_pre_sockt_flush_fifos) (void);
typedef void (*HPMHOOK_post_sockt_flush_fifos) (void);
typedef void (*HPMHOOK_pre_sockt_set_nonblocking) (int *fd, unsigned long *yes);
-typedef void (*HPMHOOK_post_sockt_set_nonblocking) (int *fd, unsigned long *yes);
+typedef void (*HPMHOOK_post_sockt_set_nonblocking) (int fd, unsigned long yes);
typedef void (*HPMHOOK_pre_sockt_set_defaultparse) (ParseFunc *defaultparse);
-typedef void (*HPMHOOK_post_sockt_set_defaultparse) (ParseFunc *defaultparse);
+typedef void (*HPMHOOK_post_sockt_set_defaultparse) (ParseFunc defaultparse);
typedef uint32 (*HPMHOOK_pre_sockt_host2ip) (const char *hostname);
typedef uint32 (*HPMHOOK_post_sockt_host2ip) (uint32 retVal___, const char *hostname);
typedef const char* (*HPMHOOK_pre_sockt_ip2str) (uint32 *ip, char *ip_str);
-typedef const char* (*HPMHOOK_post_sockt_ip2str) (const char* retVal___, uint32 *ip, char *ip_str);
+typedef const char* (*HPMHOOK_post_sockt_ip2str) (const char* retVal___, uint32 ip, char *ip_str);
typedef uint32 (*HPMHOOK_pre_sockt_str2ip) (const char *ip_str);
typedef uint32 (*HPMHOOK_post_sockt_str2ip) (uint32 retVal___, const char *ip_str);
typedef uint16 (*HPMHOOK_pre_sockt_ntows) (uint16 *netshort);
-typedef uint16 (*HPMHOOK_post_sockt_ntows) (uint16 retVal___, uint16 *netshort);
+typedef uint16 (*HPMHOOK_post_sockt_ntows) (uint16 retVal___, uint16 netshort);
typedef int (*HPMHOOK_pre_sockt_getips) (uint32 *ips, int *max);
-typedef int (*HPMHOOK_post_sockt_getips) (int retVal___, uint32 *ips, int *max);
+typedef int (*HPMHOOK_post_sockt_getips) (int retVal___, uint32 *ips, int max);
typedef void (*HPMHOOK_pre_sockt_eof) (int *fd);
-typedef void (*HPMHOOK_post_sockt_eof) (int *fd);
+typedef void (*HPMHOOK_post_sockt_eof) (int fd);
typedef uint32 (*HPMHOOK_pre_sockt_lan_subnet_check) (uint32 *ip, struct s_subnet *info);
-typedef uint32 (*HPMHOOK_post_sockt_lan_subnet_check) (uint32 retVal___, uint32 *ip, struct s_subnet *info);
+typedef uint32 (*HPMHOOK_post_sockt_lan_subnet_check) (uint32 retVal___, uint32 ip, struct s_subnet *info);
typedef bool (*HPMHOOK_pre_sockt_allowed_ip_check) (uint32 *ip);
-typedef bool (*HPMHOOK_post_sockt_allowed_ip_check) (bool retVal___, uint32 *ip);
+typedef bool (*HPMHOOK_post_sockt_allowed_ip_check) (bool retVal___, uint32 ip);
typedef bool (*HPMHOOK_pre_sockt_trusted_ip_check) (uint32 *ip);
-typedef bool (*HPMHOOK_post_sockt_trusted_ip_check) (bool retVal___, uint32 *ip);
+typedef bool (*HPMHOOK_post_sockt_trusted_ip_check) (bool retVal___, uint32 ip);
typedef int (*HPMHOOK_pre_sockt_net_config_read_sub) (struct config_setting_t *t, struct s_subnet_vector *list, const char *filename, const char *groupname);
typedef int (*HPMHOOK_post_sockt_net_config_read_sub) (int retVal___, struct config_setting_t *t, struct s_subnet_vector *list, const char *filename, const char *groupname);
typedef void (*HPMHOOK_pre_sockt_net_config_read) (const char *filename);
@@ -6521,11 +6521,11 @@ typedef void (*HPMHOOK_post_sockt_net_config_read) (const char *filename);
#endif // COMMON_SOCKET_H
#ifdef COMMON_SQL_H /* SQL */
typedef int (*HPMHOOK_pre_SQL_Connect) (struct Sql *self, const char *user, const char *passwd, const char *host, uint16 *port, const char *db);
-typedef int (*HPMHOOK_post_SQL_Connect) (int retVal___, struct Sql *self, const char *user, const char *passwd, const char *host, uint16 *port, const char *db);
+typedef int (*HPMHOOK_post_SQL_Connect) (int retVal___, struct Sql *self, const char *user, const char *passwd, const char *host, uint16 port, const char *db);
typedef int (*HPMHOOK_pre_SQL_GetTimeout) (struct Sql *self, uint32 *out_timeout);
typedef int (*HPMHOOK_post_SQL_GetTimeout) (int retVal___, struct Sql *self, uint32 *out_timeout);
typedef int (*HPMHOOK_pre_SQL_GetColumnNames) (struct Sql *self, const char *table, char *out_buf, size_t *buf_len, char *sep);
-typedef int (*HPMHOOK_post_SQL_GetColumnNames) (int retVal___, struct Sql *self, const char *table, char *out_buf, size_t *buf_len, char *sep);
+typedef int (*HPMHOOK_post_SQL_GetColumnNames) (int retVal___, struct Sql *self, const char *table, char *out_buf, size_t buf_len, char sep);
typedef int (*HPMHOOK_pre_SQL_SetEncoding) (struct Sql *self, const char *encoding);
typedef int (*HPMHOOK_post_SQL_SetEncoding) (int retVal___, struct Sql *self, const char *encoding);
typedef int (*HPMHOOK_pre_SQL_Ping) (struct Sql *self);
@@ -6533,7 +6533,7 @@ typedef int (*HPMHOOK_post_SQL_Ping) (int retVal___, struct Sql *self);
typedef size_t (*HPMHOOK_pre_SQL_EscapeString) (struct Sql *self, char *out_to, const char *from);
typedef size_t (*HPMHOOK_post_SQL_EscapeString) (size_t retVal___, struct Sql *self, char *out_to, const char *from);
typedef size_t (*HPMHOOK_pre_SQL_EscapeStringLen) (struct Sql *self, char *out_to, const char *from, size_t *from_len);
-typedef size_t (*HPMHOOK_post_SQL_EscapeStringLen) (size_t retVal___, struct Sql *self, char *out_to, const char *from, size_t *from_len);
+typedef size_t (*HPMHOOK_post_SQL_EscapeStringLen) (size_t retVal___, struct Sql *self, char *out_to, const char *from, size_t from_len);
typedef int (*HPMHOOK_pre_SQL_QueryV) (struct Sql *self, const char *query, va_list args);
typedef int (*HPMHOOK_post_SQL_QueryV) (int retVal___, struct Sql *self, const char *query, va_list args);
typedef int (*HPMHOOK_pre_SQL_QueryStr) (struct Sql *self, const char *query);
@@ -6547,11 +6547,11 @@ typedef uint64 (*HPMHOOK_post_SQL_NumRows) (uint64 retVal___, struct Sql *self);
typedef int (*HPMHOOK_pre_SQL_NextRow) (struct Sql *self);
typedef int (*HPMHOOK_post_SQL_NextRow) (int retVal___, struct Sql *self);
typedef int (*HPMHOOK_pre_SQL_GetData) (struct Sql *self, size_t *col, char **out_buf, size_t *out_len);
-typedef int (*HPMHOOK_post_SQL_GetData) (int retVal___, struct Sql *self, size_t *col, char **out_buf, size_t *out_len);
+typedef int (*HPMHOOK_post_SQL_GetData) (int retVal___, struct Sql *self, size_t col, char **out_buf, size_t *out_len);
typedef void (*HPMHOOK_pre_SQL_FreeResult) (struct Sql *self);
typedef void (*HPMHOOK_post_SQL_FreeResult) (struct Sql *self);
typedef void (*HPMHOOK_pre_SQL_ShowDebug_) (struct Sql *self, const char *debug_file, const unsigned long *debug_line);
-typedef void (*HPMHOOK_post_SQL_ShowDebug_) (struct Sql *self, const char *debug_file, const unsigned long *debug_line);
+typedef void (*HPMHOOK_post_SQL_ShowDebug_) (struct Sql *self, const char *debug_file, const unsigned long debug_line);
typedef void (*HPMHOOK_pre_SQL_Free) (struct Sql *self);
typedef void (*HPMHOOK_post_SQL_Free) (struct Sql *self);
typedef struct Sql* (*HPMHOOK_pre_SQL_Malloc) (void);
@@ -6565,7 +6565,7 @@ typedef int (*HPMHOOK_post_SQL_StmtPrepareStr) (int retVal___, struct SqlStmt *s
typedef size_t (*HPMHOOK_pre_SQL_StmtNumParams) (struct SqlStmt *self);
typedef size_t (*HPMHOOK_post_SQL_StmtNumParams) (size_t retVal___, struct SqlStmt *self);
typedef int (*HPMHOOK_pre_SQL_StmtBindParam) (struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, const void *buffer, size_t *buffer_len);
-typedef int (*HPMHOOK_post_SQL_StmtBindParam) (int retVal___, struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, const void *buffer, size_t *buffer_len);
+typedef int (*HPMHOOK_post_SQL_StmtBindParam) (int retVal___, struct SqlStmt *self, size_t idx, enum SqlDataType buffer_type, const void *buffer, size_t buffer_len);
typedef int (*HPMHOOK_pre_SQL_StmtExecute) (struct SqlStmt *self);
typedef int (*HPMHOOK_post_SQL_StmtExecute) (int retVal___, struct SqlStmt *self);
typedef uint64 (*HPMHOOK_pre_SQL_StmtLastInsertId) (struct SqlStmt *self);
@@ -6573,7 +6573,7 @@ typedef uint64 (*HPMHOOK_post_SQL_StmtLastInsertId) (uint64 retVal___, struct Sq
typedef size_t (*HPMHOOK_pre_SQL_StmtNumColumns) (struct SqlStmt *self);
typedef size_t (*HPMHOOK_post_SQL_StmtNumColumns) (size_t retVal___, struct SqlStmt *self);
typedef int (*HPMHOOK_pre_SQL_StmtBindColumn) (struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, void *buffer, size_t *buffer_len, uint32 *out_length, int8 *out_is_null);
-typedef int (*HPMHOOK_post_SQL_StmtBindColumn) (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);
+typedef int (*HPMHOOK_post_SQL_StmtBindColumn) (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);
typedef uint64 (*HPMHOOK_pre_SQL_StmtNumRows) (struct SqlStmt *self);
typedef uint64 (*HPMHOOK_post_SQL_StmtNumRows) (uint64 retVal___, struct SqlStmt *self);
typedef int (*HPMHOOK_pre_SQL_StmtNextRow) (struct SqlStmt *self);
@@ -6583,41 +6583,41 @@ typedef void (*HPMHOOK_post_SQL_StmtFreeResult) (struct SqlStmt *self);
typedef void (*HPMHOOK_pre_SQL_StmtFree) (struct SqlStmt *self);
typedef void (*HPMHOOK_post_SQL_StmtFree) (struct SqlStmt *self);
typedef void (*HPMHOOK_pre_SQL_StmtShowDebug_) (struct SqlStmt *self, const char *debug_file, const unsigned long *debug_line);
-typedef void (*HPMHOOK_post_SQL_StmtShowDebug_) (struct SqlStmt *self, const char *debug_file, const unsigned long *debug_line);
+typedef void (*HPMHOOK_post_SQL_StmtShowDebug_) (struct SqlStmt *self, const char *debug_file, const unsigned long debug_line);
#endif // COMMON_SQL_H
#ifdef MAP_STATUS_H /* status */
typedef int (*HPMHOOK_pre_status_init) (bool *minimal);
-typedef int (*HPMHOOK_post_status_init) (int retVal___, bool *minimal);
+typedef int (*HPMHOOK_post_status_init) (int retVal___, bool minimal);
typedef void (*HPMHOOK_pre_status_final) (void);
typedef void (*HPMHOOK_post_status_final) (void);
typedef int (*HPMHOOK_pre_status_get_refine_chance) (enum refine_type *wlv, int *refine);
-typedef int (*HPMHOOK_post_status_get_refine_chance) (int retVal___, enum refine_type *wlv, int *refine);
+typedef int (*HPMHOOK_post_status_get_refine_chance) (int retVal___, enum refine_type wlv, int refine);
typedef sc_type (*HPMHOOK_pre_status_skill2sc) (int *skill_id);
-typedef sc_type (*HPMHOOK_post_status_skill2sc) (sc_type retVal___, int *skill_id);
+typedef sc_type (*HPMHOOK_post_status_skill2sc) (sc_type retVal___, int skill_id);
typedef int (*HPMHOOK_pre_status_sc2skill) (sc_type *sc);
-typedef int (*HPMHOOK_post_status_sc2skill) (int retVal___, sc_type *sc);
+typedef int (*HPMHOOK_post_status_sc2skill) (int retVal___, sc_type sc);
typedef unsigned int (*HPMHOOK_pre_status_sc2scb_flag) (sc_type *sc);
-typedef unsigned int (*HPMHOOK_post_status_sc2scb_flag) (unsigned int retVal___, sc_type *sc);
+typedef unsigned int (*HPMHOOK_post_status_sc2scb_flag) (unsigned int retVal___, sc_type sc);
typedef int (*HPMHOOK_pre_status_type2relevant_bl_types) (int *type);
-typedef int (*HPMHOOK_post_status_type2relevant_bl_types) (int retVal___, int *type);
+typedef int (*HPMHOOK_post_status_type2relevant_bl_types) (int retVal___, int type);
typedef int (*HPMHOOK_pre_status_get_sc_type) (sc_type *idx);
-typedef int (*HPMHOOK_post_status_get_sc_type) (int retVal___, sc_type *idx);
+typedef int (*HPMHOOK_post_status_get_sc_type) (int retVal___, sc_type idx);
typedef int (*HPMHOOK_pre_status_damage) (struct block_list *src, struct block_list *target, int64 *hp, int64 *sp, int *walkdelay, int *flag);
-typedef int (*HPMHOOK_post_status_damage) (int retVal___, struct block_list *src, struct block_list *target, int64 *hp, int64 *sp, int *walkdelay, int *flag);
+typedef int (*HPMHOOK_post_status_damage) (int retVal___, struct block_list *src, struct block_list *target, int64 hp, int64 sp, int walkdelay, int flag);
typedef int (*HPMHOOK_pre_status_charge) (struct block_list *bl, int64 *hp, int64 *sp);
-typedef int (*HPMHOOK_post_status_charge) (int retVal___, struct block_list *bl, int64 *hp, int64 *sp);
+typedef int (*HPMHOOK_post_status_charge) (int retVal___, struct block_list *bl, int64 hp, int64 sp);
typedef int (*HPMHOOK_pre_status_percent_change) (struct block_list *src, struct block_list *target, signed char *hp_rate, signed char *sp_rate, int *flag);
-typedef int (*HPMHOOK_post_status_percent_change) (int retVal___, struct block_list *src, struct block_list *target, signed char *hp_rate, signed char *sp_rate, int *flag);
+typedef int (*HPMHOOK_post_status_percent_change) (int retVal___, struct block_list *src, struct block_list *target, signed char hp_rate, signed char sp_rate, int flag);
typedef int (*HPMHOOK_pre_status_set_hp) (struct block_list *bl, unsigned int *hp, int *flag);
-typedef int (*HPMHOOK_post_status_set_hp) (int retVal___, struct block_list *bl, unsigned int *hp, int *flag);
+typedef int (*HPMHOOK_post_status_set_hp) (int retVal___, struct block_list *bl, unsigned int hp, int flag);
typedef int (*HPMHOOK_pre_status_set_sp) (struct block_list *bl, unsigned int *sp, int *flag);
-typedef int (*HPMHOOK_post_status_set_sp) (int retVal___, struct block_list *bl, unsigned int *sp, int *flag);
+typedef int (*HPMHOOK_post_status_set_sp) (int retVal___, struct block_list *bl, unsigned int sp, int flag);
typedef int (*HPMHOOK_pre_status_heal) (struct block_list *bl, int64 *hp, int64 *sp, int *flag);
-typedef int (*HPMHOOK_post_status_heal) (int retVal___, struct block_list *bl, int64 *hp, int64 *sp, int *flag);
+typedef int (*HPMHOOK_post_status_heal) (int retVal___, struct block_list *bl, int64 hp, int64 sp, int flag);
typedef int (*HPMHOOK_pre_status_revive) (struct block_list *bl, unsigned char *per_hp, unsigned char *per_sp);
-typedef int (*HPMHOOK_post_status_revive) (int retVal___, struct block_list *bl, unsigned char *per_hp, unsigned char *per_sp);
+typedef int (*HPMHOOK_post_status_revive) (int retVal___, struct block_list *bl, unsigned char per_hp, unsigned char per_sp);
typedef int (*HPMHOOK_pre_status_fixed_revive) (struct block_list *bl, unsigned int *per_hp, unsigned int *per_sp);
-typedef int (*HPMHOOK_post_status_fixed_revive) (int retVal___, struct block_list *bl, unsigned int *per_hp, unsigned int *per_sp);
+typedef int (*HPMHOOK_post_status_fixed_revive) (int retVal___, struct block_list *bl, unsigned int per_hp, unsigned int per_sp);
typedef struct regen_data* (*HPMHOOK_pre_status_get_regen_data) (struct block_list *bl);
typedef struct regen_data* (*HPMHOOK_post_status_get_regen_data) (struct regen_data* retVal___, struct block_list *bl);
typedef struct status_data* (*HPMHOOK_pre_status_get_status_data) (struct block_list *bl);
@@ -6635,7 +6635,7 @@ typedef defType (*HPMHOOK_post_status_get_def) (defType retVal___, struct block_
typedef unsigned short (*HPMHOOK_pre_status_get_speed) (struct block_list *bl);
typedef unsigned short (*HPMHOOK_post_status_get_speed) (unsigned short retVal___, struct block_list *bl);
typedef unsigned char (*HPMHOOK_pre_status_calc_attack_element) (struct block_list *bl, struct status_change *sc, int *element);
-typedef unsigned char (*HPMHOOK_post_status_calc_attack_element) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int *element);
+typedef unsigned char (*HPMHOOK_post_status_calc_attack_element) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int element);
typedef int (*HPMHOOK_pre_status_get_party_id) (const struct block_list *bl);
typedef int (*HPMHOOK_post_status_get_party_id) (int retVal___, const struct block_list *bl);
typedef int (*HPMHOOK_pre_status_get_guild_id) (const struct block_list *bl);
@@ -6649,7 +6649,7 @@ typedef int (*HPMHOOK_post_status_get_race2) (int retVal___, const struct block_
typedef struct view_data* (*HPMHOOK_pre_status_get_viewdata) (struct block_list *bl);
typedef struct view_data* (*HPMHOOK_post_status_get_viewdata) (struct view_data* retVal___, struct block_list *bl);
typedef void (*HPMHOOK_pre_status_set_viewdata) (struct block_list *bl, int *class_);
-typedef void (*HPMHOOK_post_status_set_viewdata) (struct block_list *bl, int *class_);
+typedef void (*HPMHOOK_post_status_set_viewdata) (struct block_list *bl, int class_);
typedef void (*HPMHOOK_pre_status_change_init) (struct block_list *bl);
typedef void (*HPMHOOK_post_status_change_init) (struct block_list *bl);
typedef struct status_change* (*HPMHOOK_pre_status_get_sc) (struct block_list *bl);
@@ -6659,69 +6659,69 @@ typedef int (*HPMHOOK_post_status_isdead) (int retVal___, struct block_list *bl)
typedef int (*HPMHOOK_pre_status_isimmune) (struct block_list *bl);
typedef int (*HPMHOOK_post_status_isimmune) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_status_get_sc_def) (struct block_list *src, struct block_list *bl, enum sc_type *type, int *rate, int *tick, int *flag);
-typedef int (*HPMHOOK_post_status_get_sc_def) (int retVal___, struct block_list *src, struct block_list *bl, enum sc_type *type, int *rate, int *tick, int *flag);
+typedef int (*HPMHOOK_post_status_get_sc_def) (int retVal___, struct block_list *src, struct block_list *bl, enum sc_type type, int rate, int tick, int flag);
typedef int (*HPMHOOK_pre_status_change_start) (struct block_list *src, struct block_list *bl, enum sc_type *type, int *rate, int *val1, int *val2, int *val3, int *val4, int *tick, int *flag);
-typedef int (*HPMHOOK_post_status_change_start) (int retVal___, struct block_list *src, struct block_list *bl, enum sc_type *type, int *rate, int *val1, int *val2, int *val3, int *val4, int *tick, int *flag);
+typedef int (*HPMHOOK_post_status_change_start) (int retVal___, struct block_list *src, struct block_list *bl, enum sc_type type, int rate, int val1, int val2, int val3, int val4, int tick, int flag);
typedef int (*HPMHOOK_pre_status_change_end_) (struct block_list *bl, enum sc_type *type, int *tid, const char *file, int *line);
-typedef int (*HPMHOOK_post_status_change_end_) (int retVal___, struct block_list *bl, enum sc_type *type, int *tid, const char *file, int *line);
+typedef int (*HPMHOOK_post_status_change_end_) (int retVal___, struct block_list *bl, enum sc_type type, int tid, const char *file, int line);
typedef int (*HPMHOOK_pre_status_kaahi_heal_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_status_kaahi_heal_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_status_kaahi_heal_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_status_change_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_status_change_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_status_change_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_status_change_timer_sub) (struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_post_status_change_timer_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_status_change_clear) (struct block_list *bl, int *type);
-typedef int (*HPMHOOK_post_status_change_clear) (int retVal___, struct block_list *bl, int *type);
+typedef int (*HPMHOOK_post_status_change_clear) (int retVal___, struct block_list *bl, int type);
typedef int (*HPMHOOK_pre_status_change_clear_buffs) (struct block_list *bl, int *type);
-typedef int (*HPMHOOK_post_status_change_clear_buffs) (int retVal___, struct block_list *bl, int *type);
+typedef int (*HPMHOOK_post_status_change_clear_buffs) (int retVal___, struct block_list *bl, int type);
typedef void (*HPMHOOK_pre_status_calc_bl_) (struct block_list *bl, enum scb_flag *flag, enum e_status_calc_opt *opt);
-typedef void (*HPMHOOK_post_status_calc_bl_) (struct block_list *bl, enum scb_flag *flag, enum e_status_calc_opt *opt);
+typedef void (*HPMHOOK_post_status_calc_bl_) (struct block_list *bl, enum scb_flag flag, enum e_status_calc_opt opt);
typedef int (*HPMHOOK_pre_status_calc_mob_) (struct mob_data *md, enum e_status_calc_opt *opt);
-typedef int (*HPMHOOK_post_status_calc_mob_) (int retVal___, struct mob_data *md, enum e_status_calc_opt *opt);
+typedef int (*HPMHOOK_post_status_calc_mob_) (int retVal___, struct mob_data *md, enum e_status_calc_opt opt);
typedef int (*HPMHOOK_pre_status_calc_pet_) (struct pet_data *pd, enum e_status_calc_opt *opt);
-typedef int (*HPMHOOK_post_status_calc_pet_) (int retVal___, struct pet_data *pd, enum e_status_calc_opt *opt);
+typedef int (*HPMHOOK_post_status_calc_pet_) (int retVal___, struct pet_data *pd, enum e_status_calc_opt opt);
typedef int (*HPMHOOK_pre_status_calc_pc_) (struct map_session_data *sd, enum e_status_calc_opt *opt);
-typedef int (*HPMHOOK_post_status_calc_pc_) (int retVal___, struct map_session_data *sd, enum e_status_calc_opt *opt);
+typedef int (*HPMHOOK_post_status_calc_pc_) (int retVal___, struct map_session_data *sd, enum e_status_calc_opt opt);
typedef void (*HPMHOOK_pre_status_calc_pc_additional) (struct map_session_data *sd, enum e_status_calc_opt *opt);
-typedef void (*HPMHOOK_post_status_calc_pc_additional) (struct map_session_data *sd, enum e_status_calc_opt *opt);
+typedef void (*HPMHOOK_post_status_calc_pc_additional) (struct map_session_data *sd, enum e_status_calc_opt opt);
typedef int (*HPMHOOK_pre_status_calc_homunculus_) (struct homun_data *hd, enum e_status_calc_opt *opt);
-typedef int (*HPMHOOK_post_status_calc_homunculus_) (int retVal___, struct homun_data *hd, enum e_status_calc_opt *opt);
+typedef int (*HPMHOOK_post_status_calc_homunculus_) (int retVal___, struct homun_data *hd, enum e_status_calc_opt opt);
typedef int (*HPMHOOK_pre_status_calc_mercenary_) (struct mercenary_data *md, enum e_status_calc_opt *opt);
-typedef int (*HPMHOOK_post_status_calc_mercenary_) (int retVal___, struct mercenary_data *md, enum e_status_calc_opt *opt);
+typedef int (*HPMHOOK_post_status_calc_mercenary_) (int retVal___, struct mercenary_data *md, enum e_status_calc_opt opt);
typedef int (*HPMHOOK_pre_status_calc_elemental_) (struct elemental_data *ed, enum e_status_calc_opt *opt);
-typedef int (*HPMHOOK_post_status_calc_elemental_) (int retVal___, struct elemental_data *ed, enum e_status_calc_opt *opt);
+typedef int (*HPMHOOK_post_status_calc_elemental_) (int retVal___, struct elemental_data *ed, enum e_status_calc_opt opt);
typedef void (*HPMHOOK_pre_status_calc_misc) (struct block_list *bl, struct status_data *st, int *level);
-typedef void (*HPMHOOK_post_status_calc_misc) (struct block_list *bl, struct status_data *st, int *level);
+typedef void (*HPMHOOK_post_status_calc_misc) (struct block_list *bl, struct status_data *st, int level);
typedef void (*HPMHOOK_pre_status_calc_regen) (struct block_list *bl, struct status_data *st, struct regen_data *regen);
typedef void (*HPMHOOK_post_status_calc_regen) (struct block_list *bl, struct status_data *st, struct regen_data *regen);
typedef void (*HPMHOOK_pre_status_calc_regen_rate) (struct block_list *bl, struct regen_data *regen, struct status_change *sc);
typedef void (*HPMHOOK_post_status_calc_regen_rate) (struct block_list *bl, struct regen_data *regen, struct status_change *sc);
typedef int (*HPMHOOK_pre_status_check_skilluse) (struct block_list *src, struct block_list *target, uint16 *skill_id, int *flag);
-typedef int (*HPMHOOK_post_status_check_skilluse) (int retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, int *flag);
+typedef int (*HPMHOOK_post_status_check_skilluse) (int retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, int flag);
typedef int (*HPMHOOK_pre_status_check_visibility) (struct block_list *src, struct block_list *target);
typedef int (*HPMHOOK_post_status_check_visibility) (int retVal___, struct block_list *src, struct block_list *target);
typedef int (*HPMHOOK_pre_status_change_spread) (struct block_list *src, struct block_list *bl);
typedef int (*HPMHOOK_post_status_change_spread) (int retVal___, struct block_list *src, struct block_list *bl);
typedef defType (*HPMHOOK_pre_status_calc_def) (struct block_list *bl, struct status_change *sc, int *def, bool *viewable);
-typedef defType (*HPMHOOK_post_status_calc_def) (defType retVal___, struct block_list *bl, struct status_change *sc, int *def, bool *viewable);
+typedef defType (*HPMHOOK_post_status_calc_def) (defType retVal___, struct block_list *bl, struct status_change *sc, int def, bool viewable);
typedef short (*HPMHOOK_pre_status_calc_def2) (struct block_list *bl, struct status_change *sc, int *def2, bool *viewable);
-typedef short (*HPMHOOK_post_status_calc_def2) (short retVal___, struct block_list *bl, struct status_change *sc, int *def2, bool *viewable);
+typedef short (*HPMHOOK_post_status_calc_def2) (short retVal___, struct block_list *bl, struct status_change *sc, int def2, bool viewable);
typedef defType (*HPMHOOK_pre_status_calc_mdef) (struct block_list *bl, struct status_change *sc, int *mdef, bool *viewable);
-typedef defType (*HPMHOOK_post_status_calc_mdef) (defType retVal___, struct block_list *bl, struct status_change *sc, int *mdef, bool *viewable);
+typedef defType (*HPMHOOK_post_status_calc_mdef) (defType retVal___, struct block_list *bl, struct status_change *sc, int mdef, bool viewable);
typedef short (*HPMHOOK_pre_status_calc_mdef2) (struct block_list *bl, struct status_change *sc, int *mdef2, bool *viewable);
-typedef short (*HPMHOOK_post_status_calc_mdef2) (short retVal___, struct block_list *bl, struct status_change *sc, int *mdef2, bool *viewable);
+typedef short (*HPMHOOK_post_status_calc_mdef2) (short retVal___, struct block_list *bl, struct status_change *sc, int mdef2, bool viewable);
typedef unsigned short (*HPMHOOK_pre_status_calc_batk) (struct block_list *bl, struct status_change *sc, int *batk, bool *viewable);
-typedef unsigned short (*HPMHOOK_post_status_calc_batk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *batk, bool *viewable);
+typedef unsigned short (*HPMHOOK_post_status_calc_batk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int batk, bool viewable);
typedef unsigned short (*HPMHOOK_pre_status_base_matk) (struct block_list *bl, const struct status_data *st, int *level);
-typedef unsigned short (*HPMHOOK_post_status_base_matk) (unsigned short retVal___, struct block_list *bl, const struct status_data *st, int *level);
+typedef unsigned short (*HPMHOOK_post_status_base_matk) (unsigned short retVal___, struct block_list *bl, const struct status_data *st, int level);
typedef int (*HPMHOOK_pre_status_get_weapon_atk) (struct block_list *src, struct weapon_atk *watk, int *flag);
-typedef int (*HPMHOOK_post_status_get_weapon_atk) (int retVal___, struct block_list *src, struct weapon_atk *watk, int *flag);
+typedef int (*HPMHOOK_post_status_get_weapon_atk) (int retVal___, struct block_list *src, struct weapon_atk *watk, int flag);
typedef int (*HPMHOOK_pre_status_get_total_mdef) (struct block_list *src);
typedef int (*HPMHOOK_post_status_get_total_mdef) (int retVal___, struct block_list *src);
typedef int (*HPMHOOK_pre_status_get_total_def) (struct block_list *src);
typedef int (*HPMHOOK_post_status_get_total_def) (int retVal___, struct block_list *src);
typedef int (*HPMHOOK_pre_status_get_matk) (struct block_list *src, int *flag);
-typedef int (*HPMHOOK_post_status_get_matk) (int retVal___, struct block_list *src, int *flag);
+typedef int (*HPMHOOK_post_status_get_matk) (int retVal___, struct block_list *src, int flag);
typedef void (*HPMHOOK_pre_status_update_matk) (struct block_list *bl);
typedef void (*HPMHOOK_post_status_update_matk) (struct block_list *bl);
typedef int (*HPMHOOK_pre_status_readdb) (void);
@@ -6739,105 +6739,105 @@ typedef unsigned int (*HPMHOOK_post_status_get_base_maxhp) (unsigned int retVal_
typedef unsigned int (*HPMHOOK_pre_status_get_base_maxsp) (const struct map_session_data *sd, const struct status_data *st);
typedef unsigned int (*HPMHOOK_post_status_get_base_maxsp) (unsigned int retVal___, const struct map_session_data *sd, const struct status_data *st);
typedef int (*HPMHOOK_pre_status_calc_npc_) (struct npc_data *nd, enum e_status_calc_opt *opt);
-typedef int (*HPMHOOK_post_status_calc_npc_) (int retVal___, struct npc_data *nd, enum e_status_calc_opt *opt);
+typedef int (*HPMHOOK_post_status_calc_npc_) (int retVal___, struct npc_data *nd, enum e_status_calc_opt opt);
typedef unsigned short (*HPMHOOK_pre_status_calc_str) (struct block_list *bl, struct status_change *sc, int *str);
-typedef unsigned short (*HPMHOOK_post_status_calc_str) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *str);
+typedef unsigned short (*HPMHOOK_post_status_calc_str) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int str);
typedef unsigned short (*HPMHOOK_pre_status_calc_agi) (struct block_list *bl, struct status_change *sc, int *agi);
-typedef unsigned short (*HPMHOOK_post_status_calc_agi) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *agi);
+typedef unsigned short (*HPMHOOK_post_status_calc_agi) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int agi);
typedef unsigned short (*HPMHOOK_pre_status_calc_vit) (struct block_list *bl, struct status_change *sc, int *vit);
-typedef unsigned short (*HPMHOOK_post_status_calc_vit) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *vit);
+typedef unsigned short (*HPMHOOK_post_status_calc_vit) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int vit);
typedef unsigned short (*HPMHOOK_pre_status_calc_int) (struct block_list *bl, struct status_change *sc, int *int_);
-typedef unsigned short (*HPMHOOK_post_status_calc_int) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *int_);
+typedef unsigned short (*HPMHOOK_post_status_calc_int) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int int_);
typedef unsigned short (*HPMHOOK_pre_status_calc_dex) (struct block_list *bl, struct status_change *sc, int *dex);
-typedef unsigned short (*HPMHOOK_post_status_calc_dex) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *dex);
+typedef unsigned short (*HPMHOOK_post_status_calc_dex) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int dex);
typedef unsigned short (*HPMHOOK_pre_status_calc_luk) (struct block_list *bl, struct status_change *sc, int *luk);
-typedef unsigned short (*HPMHOOK_post_status_calc_luk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *luk);
+typedef unsigned short (*HPMHOOK_post_status_calc_luk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int luk);
typedef unsigned short (*HPMHOOK_pre_status_calc_watk) (struct block_list *bl, struct status_change *sc, int *watk, bool *viewable);
-typedef unsigned short (*HPMHOOK_post_status_calc_watk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *watk, bool *viewable);
+typedef unsigned short (*HPMHOOK_post_status_calc_watk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int watk, bool viewable);
typedef unsigned short (*HPMHOOK_pre_status_calc_matk) (struct block_list *bl, struct status_change *sc, int *matk, bool *viewable);
-typedef unsigned short (*HPMHOOK_post_status_calc_matk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *matk, bool *viewable);
+typedef unsigned short (*HPMHOOK_post_status_calc_matk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int matk, bool viewable);
typedef signed short (*HPMHOOK_pre_status_calc_hit) (struct block_list *bl, struct status_change *sc, int *hit, bool *viewable);
-typedef signed short (*HPMHOOK_post_status_calc_hit) (signed short retVal___, struct block_list *bl, struct status_change *sc, int *hit, bool *viewable);
+typedef signed short (*HPMHOOK_post_status_calc_hit) (signed short retVal___, struct block_list *bl, struct status_change *sc, int hit, bool viewable);
typedef signed short (*HPMHOOK_pre_status_calc_critical) (struct block_list *bl, struct status_change *sc, int *critical, bool *viewable);
-typedef signed short (*HPMHOOK_post_status_calc_critical) (signed short retVal___, struct block_list *bl, struct status_change *sc, int *critical, bool *viewable);
+typedef signed short (*HPMHOOK_post_status_calc_critical) (signed short retVal___, struct block_list *bl, struct status_change *sc, int critical, bool viewable);
typedef signed short (*HPMHOOK_pre_status_calc_flee) (struct block_list *bl, struct status_change *sc, int *flee, bool *viewable);
-typedef signed short (*HPMHOOK_post_status_calc_flee) (signed short retVal___, struct block_list *bl, struct status_change *sc, int *flee, bool *viewable);
+typedef signed short (*HPMHOOK_post_status_calc_flee) (signed short retVal___, struct block_list *bl, struct status_change *sc, int flee, bool viewable);
typedef signed short (*HPMHOOK_pre_status_calc_flee2) (struct block_list *bl, struct status_change *sc, int *flee2, bool *viewable);
-typedef signed short (*HPMHOOK_post_status_calc_flee2) (signed short retVal___, struct block_list *bl, struct status_change *sc, int *flee2, bool *viewable);
+typedef signed short (*HPMHOOK_post_status_calc_flee2) (signed short retVal___, struct block_list *bl, struct status_change *sc, int flee2, bool viewable);
typedef unsigned short (*HPMHOOK_pre_status_calc_speed) (struct block_list *bl, struct status_change *sc, int *speed);
-typedef unsigned short (*HPMHOOK_post_status_calc_speed) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *speed);
+typedef unsigned short (*HPMHOOK_post_status_calc_speed) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int speed);
typedef short (*HPMHOOK_pre_status_calc_aspd_rate) (struct block_list *bl, struct status_change *sc, int *aspd_rate);
-typedef short (*HPMHOOK_post_status_calc_aspd_rate) (short retVal___, struct block_list *bl, struct status_change *sc, int *aspd_rate);
+typedef short (*HPMHOOK_post_status_calc_aspd_rate) (short retVal___, struct block_list *bl, struct status_change *sc, int aspd_rate);
typedef unsigned short (*HPMHOOK_pre_status_calc_dmotion) (struct block_list *bl, struct status_change *sc, int *dmotion);
-typedef unsigned short (*HPMHOOK_post_status_calc_dmotion) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *dmotion);
+typedef unsigned short (*HPMHOOK_post_status_calc_dmotion) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int dmotion);
typedef short (*HPMHOOK_pre_status_calc_aspd) (struct block_list *bl, struct status_change *sc, short *flag);
-typedef short (*HPMHOOK_post_status_calc_aspd) (short retVal___, struct block_list *bl, struct status_change *sc, short *flag);
+typedef short (*HPMHOOK_post_status_calc_aspd) (short retVal___, struct block_list *bl, struct status_change *sc, short flag);
typedef short (*HPMHOOK_pre_status_calc_fix_aspd) (struct block_list *bl, struct status_change *sc, int *aspd);
-typedef short (*HPMHOOK_post_status_calc_fix_aspd) (short retVal___, struct block_list *bl, struct status_change *sc, int *aspd);
+typedef short (*HPMHOOK_post_status_calc_fix_aspd) (short retVal___, struct block_list *bl, struct status_change *sc, int aspd);
typedef unsigned int (*HPMHOOK_pre_status_calc_maxhp) (struct block_list *bl, struct status_change *sc, uint64 *maxhp);
-typedef unsigned int (*HPMHOOK_post_status_calc_maxhp) (unsigned int retVal___, struct block_list *bl, struct status_change *sc, uint64 *maxhp);
+typedef unsigned int (*HPMHOOK_post_status_calc_maxhp) (unsigned int retVal___, struct block_list *bl, struct status_change *sc, uint64 maxhp);
typedef unsigned int (*HPMHOOK_pre_status_calc_maxsp) (struct block_list *bl, struct status_change *sc, unsigned int *maxsp);
-typedef unsigned int (*HPMHOOK_post_status_calc_maxsp) (unsigned int retVal___, struct block_list *bl, struct status_change *sc, unsigned int *maxsp);
+typedef unsigned int (*HPMHOOK_post_status_calc_maxsp) (unsigned int retVal___, struct block_list *bl, struct status_change *sc, unsigned int maxsp);
typedef unsigned char (*HPMHOOK_pre_status_calc_element) (struct block_list *bl, struct status_change *sc, int *element);
-typedef unsigned char (*HPMHOOK_post_status_calc_element) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int *element);
+typedef unsigned char (*HPMHOOK_post_status_calc_element) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int element);
typedef unsigned char (*HPMHOOK_pre_status_calc_element_lv) (struct block_list *bl, struct status_change *sc, int *lv);
-typedef unsigned char (*HPMHOOK_post_status_calc_element_lv) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int *lv);
+typedef unsigned char (*HPMHOOK_post_status_calc_element_lv) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int lv);
typedef uint32 (*HPMHOOK_pre_status_calc_mode) (const struct block_list *bl, const struct status_change *sc, uint32 *mode);
-typedef uint32 (*HPMHOOK_post_status_calc_mode) (uint32 retVal___, const struct block_list *bl, const struct status_change *sc, uint32 *mode);
+typedef uint32 (*HPMHOOK_post_status_calc_mode) (uint32 retVal___, const struct block_list *bl, const struct status_change *sc, uint32 mode);
typedef unsigned short (*HPMHOOK_pre_status_calc_ematk) (struct block_list *bl, struct status_change *sc, int *matk);
-typedef unsigned short (*HPMHOOK_post_status_calc_ematk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *matk);
+typedef unsigned short (*HPMHOOK_post_status_calc_ematk) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int matk);
typedef void (*HPMHOOK_pre_status_calc_bl_main) (struct block_list *bl, int *flag);
-typedef void (*HPMHOOK_post_status_calc_bl_main) (struct block_list *bl, int *flag);
+typedef void (*HPMHOOK_post_status_calc_bl_main) (struct block_list *bl, int flag);
typedef void (*HPMHOOK_pre_status_display_add) (struct map_session_data *sd, enum sc_type *type, int *dval1, int *dval2, int *dval3);
-typedef void (*HPMHOOK_post_status_display_add) (struct map_session_data *sd, enum sc_type *type, int *dval1, int *dval2, int *dval3);
+typedef void (*HPMHOOK_post_status_display_add) (struct map_session_data *sd, enum sc_type type, int dval1, int dval2, int dval3);
typedef void (*HPMHOOK_pre_status_display_remove) (struct map_session_data *sd, enum sc_type *type);
-typedef void (*HPMHOOK_post_status_display_remove) (struct map_session_data *sd, enum sc_type *type);
+typedef void (*HPMHOOK_post_status_display_remove) (struct map_session_data *sd, enum sc_type type);
typedef int (*HPMHOOK_pre_status_natural_heal) (struct block_list *bl, va_list args);
typedef int (*HPMHOOK_post_status_natural_heal) (int retVal___, struct block_list *bl, va_list args);
typedef int (*HPMHOOK_pre_status_natural_heal_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_status_natural_heal_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_status_natural_heal_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef bool (*HPMHOOK_pre_status_readdb_job2) (char *fields[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_status_readdb_job2) (bool retVal___, char *fields[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_status_readdb_job2) (bool retVal___, char *fields[], int columns, int current);
typedef bool (*HPMHOOK_pre_status_readdb_sizefix) (char *fields[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_status_readdb_sizefix) (bool retVal___, char *fields[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_status_readdb_sizefix) (bool retVal___, char *fields[], int columns, int current);
typedef int (*HPMHOOK_pre_status_readdb_refine_libconfig) (const char *filename);
typedef int (*HPMHOOK_post_status_readdb_refine_libconfig) (int retVal___, const char *filename);
typedef int (*HPMHOOK_pre_status_readdb_refine_libconfig_sub) (struct config_setting_t *r, const char *name, const char *source);
typedef int (*HPMHOOK_post_status_readdb_refine_libconfig_sub) (int retVal___, struct config_setting_t *r, const char *name, const char *source);
typedef bool (*HPMHOOK_pre_status_readdb_scconfig) (char *fields[], int *columns, int *current);
-typedef bool (*HPMHOOK_post_status_readdb_scconfig) (bool retVal___, char *fields[], int *columns, int *current);
+typedef bool (*HPMHOOK_post_status_readdb_scconfig) (bool retVal___, char *fields[], int columns, int current);
typedef void (*HPMHOOK_pre_status_read_job_db) (void);
typedef void (*HPMHOOK_post_status_read_job_db) (void);
typedef void (*HPMHOOK_pre_status_read_job_db_sub) (int *idx, const char *name, struct config_setting_t *jdb);
-typedef void (*HPMHOOK_post_status_read_job_db_sub) (int *idx, const char *name, struct config_setting_t *jdb);
+typedef void (*HPMHOOK_post_status_read_job_db_sub) (int idx, const char *name, struct config_setting_t *jdb);
#endif // MAP_STATUS_H
#ifdef MAP_STORAGE_H /* storage */
typedef void (*HPMHOOK_pre_storage_reconnect) (void);
typedef void (*HPMHOOK_post_storage_reconnect) (void);
typedef int (*HPMHOOK_pre_storage_delitem) (struct map_session_data *sd, int *n, int *amount);
-typedef int (*HPMHOOK_post_storage_delitem) (int retVal___, struct map_session_data *sd, int *n, int *amount);
+typedef int (*HPMHOOK_post_storage_delitem) (int retVal___, struct map_session_data *sd, int n, int amount);
typedef int (*HPMHOOK_pre_storage_open) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_storage_open) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_storage_add) (struct map_session_data *sd, int *index, int *amount);
-typedef int (*HPMHOOK_post_storage_add) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+typedef int (*HPMHOOK_post_storage_add) (int retVal___, struct map_session_data *sd, int index, int amount);
typedef int (*HPMHOOK_pre_storage_get) (struct map_session_data *sd, int *index, int *amount);
-typedef int (*HPMHOOK_post_storage_get) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+typedef int (*HPMHOOK_post_storage_get) (int retVal___, struct map_session_data *sd, int index, int amount);
typedef int (*HPMHOOK_pre_storage_additem) (struct map_session_data *sd, struct item *item_data, int *amount);
-typedef int (*HPMHOOK_post_storage_additem) (int retVal___, struct map_session_data *sd, struct item *item_data, int *amount);
+typedef int (*HPMHOOK_post_storage_additem) (int retVal___, struct map_session_data *sd, struct item *item_data, int amount);
typedef int (*HPMHOOK_pre_storage_addfromcart) (struct map_session_data *sd, int *index, int *amount);
-typedef int (*HPMHOOK_post_storage_addfromcart) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+typedef int (*HPMHOOK_post_storage_addfromcart) (int retVal___, struct map_session_data *sd, int index, int amount);
typedef int (*HPMHOOK_pre_storage_gettocart) (struct map_session_data *sd, int *index, int *amount);
-typedef int (*HPMHOOK_post_storage_gettocart) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+typedef int (*HPMHOOK_post_storage_gettocart) (int retVal___, struct map_session_data *sd, int index, int amount);
typedef void (*HPMHOOK_pre_storage_close) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_storage_close) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_storage_pc_quit) (struct map_session_data *sd, int *flag);
-typedef void (*HPMHOOK_post_storage_pc_quit) (struct map_session_data *sd, int *flag);
+typedef void (*HPMHOOK_post_storage_pc_quit) (struct map_session_data *sd, int flag);
typedef int (*HPMHOOK_pre_storage_comp_item) (const void *i1_, const void *i2_);
typedef int (*HPMHOOK_post_storage_comp_item) (int retVal___, const void *i1_, const void *i2_);
typedef void (*HPMHOOK_pre_storage_sortitem) (struct item *items, unsigned int *size);
-typedef void (*HPMHOOK_post_storage_sortitem) (struct item *items, unsigned int *size);
+typedef void (*HPMHOOK_post_storage_sortitem) (struct item *items, unsigned int size);
typedef int (*HPMHOOK_pre_storage_reconnect_sub) (union DBKey *key, struct DBData *data, va_list ap);
-typedef int (*HPMHOOK_post_storage_reconnect_sub) (int retVal___, union DBKey *key, struct DBData *data, va_list ap);
+typedef int (*HPMHOOK_post_storage_reconnect_sub) (int retVal___, union DBKey key, struct DBData *data, va_list ap);
#endif // MAP_STORAGE_H
#ifdef COMMON_STRLIB_H /* StrBuf */
typedef StringBuf* (*HPMHOOK_pre_StrBuf_Malloc) (void);
@@ -6867,7 +6867,7 @@ typedef char* (*HPMHOOK_post_strlib_jstrescape) (char* retVal___, char *pt);
typedef char* (*HPMHOOK_pre_strlib_jstrescapecpy) (char *pt, const char *spt);
typedef char* (*HPMHOOK_post_strlib_jstrescapecpy) (char* retVal___, char *pt, const char *spt);
typedef int (*HPMHOOK_pre_strlib_jmemescapecpy) (char *pt, const char *spt, int *size);
-typedef int (*HPMHOOK_post_strlib_jmemescapecpy) (int retVal___, char *pt, const char *spt, int *size);
+typedef int (*HPMHOOK_post_strlib_jmemescapecpy) (int retVal___, char *pt, const char *spt, int size);
typedef int (*HPMHOOK_pre_strlib_remove_control_chars_) (char *str);
typedef int (*HPMHOOK_post_strlib_remove_control_chars_) (int retVal___, char *str);
typedef char* (*HPMHOOK_pre_strlib_trim_) (char *str);
@@ -6877,7 +6877,7 @@ typedef char* (*HPMHOOK_post_strlib_normalize_name_) (char* retVal___, char *str
typedef const char* (*HPMHOOK_pre_strlib_stristr_) (const char *haystack, const char *needle);
typedef const char* (*HPMHOOK_post_strlib_stristr_) (const char* retVal___, const char *haystack, const char *needle);
typedef size_t (*HPMHOOK_pre_strlib_strnlen_) (const char *string, size_t *maxlen);
-typedef size_t (*HPMHOOK_post_strlib_strnlen_) (size_t retVal___, const char *string, size_t *maxlen);
+typedef size_t (*HPMHOOK_post_strlib_strnlen_) (size_t retVal___, const char *string, size_t maxlen);
typedef char* (*HPMHOOK_pre_strlib_strtok_r_) (char *s1, const char *s2, char **lasts);
typedef char* (*HPMHOOK_post_strlib_strtok_r_) (char* retVal___, char *s1, const char *s2, char **lasts);
typedef int (*HPMHOOK_pre_strlib_e_mail_check_) (char *email);
@@ -6885,29 +6885,29 @@ typedef int (*HPMHOOK_post_strlib_e_mail_check_) (int retVal___, char *email);
typedef int (*HPMHOOK_pre_strlib_config_switch_) (const char *str);
typedef int (*HPMHOOK_post_strlib_config_switch_) (int retVal___, const char *str);
typedef char* (*HPMHOOK_pre_strlib_safestrncpy_) (char *dst, const char *src, size_t *n);
-typedef char* (*HPMHOOK_post_strlib_safestrncpy_) (char* retVal___, char *dst, const char *src, size_t *n);
+typedef char* (*HPMHOOK_post_strlib_safestrncpy_) (char* retVal___, char *dst, const char *src, size_t n);
typedef size_t (*HPMHOOK_pre_strlib_safestrnlen_) (const char *string, size_t *maxlen);
-typedef size_t (*HPMHOOK_post_strlib_safestrnlen_) (size_t retVal___, const char *string, size_t *maxlen);
+typedef size_t (*HPMHOOK_post_strlib_safestrnlen_) (size_t retVal___, const char *string, size_t maxlen);
typedef int (*HPMHOOK_pre_strlib_strline_) (const char *str, size_t *pos);
-typedef int (*HPMHOOK_post_strlib_strline_) (int retVal___, const char *str, size_t *pos);
+typedef int (*HPMHOOK_post_strlib_strline_) (int retVal___, const char *str, size_t pos);
typedef bool (*HPMHOOK_pre_strlib_bin2hex_) (char *output, const unsigned char *input, size_t *count);
-typedef bool (*HPMHOOK_post_strlib_bin2hex_) (bool retVal___, char *output, const unsigned char *input, size_t *count);
+typedef bool (*HPMHOOK_post_strlib_bin2hex_) (bool retVal___, char *output, const unsigned char *input, size_t count);
#endif // COMMON_STRLIB_H
#ifdef COMMON_STRLIB_H /* sv */
typedef int (*HPMHOOK_pre_sv_parse_next) (struct s_svstate *svstate);
typedef int (*HPMHOOK_post_sv_parse_next) (int retVal___, struct s_svstate *svstate);
typedef int (*HPMHOOK_pre_sv_parse) (const char *str, int *len, int *startoff, char *delim, int *out_pos, int *npos, enum e_svopt *opt);
-typedef int (*HPMHOOK_post_sv_parse) (int retVal___, const char *str, int *len, int *startoff, char *delim, int *out_pos, int *npos, enum e_svopt *opt);
+typedef int (*HPMHOOK_post_sv_parse) (int retVal___, const char *str, int len, int startoff, char delim, int *out_pos, int npos, enum e_svopt opt);
typedef int (*HPMHOOK_pre_sv_split) (char *str, int *len, int *startoff, char *delim, char **out_fields, int *nfields, enum e_svopt *opt);
-typedef int (*HPMHOOK_post_sv_split) (int retVal___, char *str, int *len, int *startoff, char *delim, char **out_fields, int *nfields, enum e_svopt *opt);
+typedef int (*HPMHOOK_post_sv_split) (int retVal___, char *str, int len, int startoff, char delim, char **out_fields, int nfields, enum e_svopt opt);
typedef size_t (*HPMHOOK_pre_sv_escape_c) (char *out_dest, const char *src, size_t *len, const char *escapes);
-typedef size_t (*HPMHOOK_post_sv_escape_c) (size_t retVal___, char *out_dest, const char *src, size_t *len, const char *escapes);
+typedef size_t (*HPMHOOK_post_sv_escape_c) (size_t retVal___, char *out_dest, const char *src, size_t len, const char *escapes);
typedef size_t (*HPMHOOK_pre_sv_unescape_c) (char *out_dest, const char *src, size_t *len);
-typedef size_t (*HPMHOOK_post_sv_unescape_c) (size_t retVal___, char *out_dest, const char *src, size_t *len);
+typedef size_t (*HPMHOOK_post_sv_unescape_c) (size_t retVal___, char *out_dest, const char *src, size_t len);
typedef const char* (*HPMHOOK_pre_sv_skip_escaped_c) (const char *p);
typedef const char* (*HPMHOOK_post_sv_skip_escaped_c) (const char* retVal___, const char *p);
typedef bool (*HPMHOOK_pre_sv_readdb) (const char *directory, const char *filename, char *delim, int *mincols, int *maxcols, int *maxrows, bool ( *parseproc ) (char *fields[], int columns, int current));
-typedef bool (*HPMHOOK_post_sv_readdb) (bool retVal___, const char *directory, const char *filename, char *delim, int *mincols, int *maxcols, int *maxrows, bool ( *parseproc ) (char *fields[], int columns, int current));
+typedef bool (*HPMHOOK_post_sv_readdb) (bool retVal___, const char *directory, const char *filename, char delim, int mincols, int maxcols, int maxrows, bool ( *parseproc ) (char *fields[], int columns, int current));
#endif // COMMON_STRLIB_H
#ifdef COMMON_SYSINFO_H /* sysinfo */
typedef int (*HPMHOOK_pre_sysinfo_getpagesize) (void);
@@ -6953,23 +6953,23 @@ typedef int64 (*HPMHOOK_post_timer_gettick) (int64 retVal___);
typedef int64 (*HPMHOOK_pre_timer_gettick_nocache) (void);
typedef int64 (*HPMHOOK_post_timer_gettick_nocache) (int64 retVal___);
typedef int (*HPMHOOK_pre_timer_add) (int64 *tick, TimerFunc *func, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_timer_add) (int retVal___, int64 *tick, TimerFunc *func, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_timer_add) (int retVal___, int64 tick, TimerFunc func, int id, intptr_t data);
typedef int (*HPMHOOK_pre_timer_add_interval) (int64 *tick, TimerFunc *func, int *id, intptr_t *data, int *interval);
-typedef int (*HPMHOOK_post_timer_add_interval) (int retVal___, int64 *tick, TimerFunc *func, int *id, intptr_t *data, int *interval);
+typedef int (*HPMHOOK_post_timer_add_interval) (int retVal___, int64 tick, TimerFunc func, int id, intptr_t data, int interval);
typedef const struct TimerData* (*HPMHOOK_pre_timer_get) (int *tid);
-typedef const struct TimerData* (*HPMHOOK_post_timer_get) (const struct TimerData* retVal___, int *tid);
+typedef const struct TimerData* (*HPMHOOK_post_timer_get) (const struct TimerData* retVal___, int tid);
typedef int (*HPMHOOK_pre_timer_delete) (int *tid, TimerFunc *func);
-typedef int (*HPMHOOK_post_timer_delete) (int retVal___, int *tid, TimerFunc *func);
+typedef int (*HPMHOOK_post_timer_delete) (int retVal___, int tid, TimerFunc func);
typedef int64 (*HPMHOOK_pre_timer_addtick) (int *tid, int64 *tick);
-typedef int64 (*HPMHOOK_post_timer_addtick) (int64 retVal___, int *tid, int64 *tick);
+typedef int64 (*HPMHOOK_post_timer_addtick) (int64 retVal___, int tid, int64 tick);
typedef int64 (*HPMHOOK_pre_timer_settick) (int *tid, int64 *tick);
-typedef int64 (*HPMHOOK_post_timer_settick) (int64 retVal___, int *tid, int64 *tick);
+typedef int64 (*HPMHOOK_post_timer_settick) (int64 retVal___, int tid, int64 tick);
typedef int (*HPMHOOK_pre_timer_add_func_list) (TimerFunc *func, char *name);
-typedef int (*HPMHOOK_post_timer_add_func_list) (int retVal___, TimerFunc *func, char *name);
+typedef int (*HPMHOOK_post_timer_add_func_list) (int retVal___, TimerFunc func, char *name);
typedef unsigned long (*HPMHOOK_pre_timer_get_uptime) (void);
typedef unsigned long (*HPMHOOK_post_timer_get_uptime) (unsigned long retVal___);
typedef int (*HPMHOOK_pre_timer_perform) (int64 *tick);
-typedef int (*HPMHOOK_post_timer_perform) (int retVal___, int64 *tick);
+typedef int (*HPMHOOK_post_timer_perform) (int retVal___, int64 tick);
typedef void (*HPMHOOK_pre_timer_init) (void);
typedef void (*HPMHOOK_post_timer_init) (void);
typedef void (*HPMHOOK_pre_timer_final) (void);
@@ -6979,15 +6979,15 @@ typedef void (*HPMHOOK_post_timer_final) (void);
typedef void (*HPMHOOK_pre_trade_request) (struct map_session_data *sd, struct map_session_data *target_sd);
typedef void (*HPMHOOK_post_trade_request) (struct map_session_data *sd, struct map_session_data *target_sd);
typedef void (*HPMHOOK_pre_trade_ack) (struct map_session_data *sd, int *type);
-typedef void (*HPMHOOK_post_trade_ack) (struct map_session_data *sd, int *type);
+typedef void (*HPMHOOK_post_trade_ack) (struct map_session_data *sd, int type);
typedef int (*HPMHOOK_pre_trade_check_impossible) (struct map_session_data *sd);
typedef int (*HPMHOOK_post_trade_check_impossible) (int retVal___, struct map_session_data *sd);
typedef int (*HPMHOOK_pre_trade_check) (struct map_session_data *sd, struct map_session_data *tsd);
typedef int (*HPMHOOK_post_trade_check) (int retVal___, struct map_session_data *sd, struct map_session_data *tsd);
typedef void (*HPMHOOK_pre_trade_additem) (struct map_session_data *sd, short *index, short *amount);
-typedef void (*HPMHOOK_post_trade_additem) (struct map_session_data *sd, short *index, short *amount);
+typedef void (*HPMHOOK_post_trade_additem) (struct map_session_data *sd, short index, short amount);
typedef void (*HPMHOOK_pre_trade_addzeny) (struct map_session_data *sd, int *amount);
-typedef void (*HPMHOOK_post_trade_addzeny) (struct map_session_data *sd, int *amount);
+typedef void (*HPMHOOK_post_trade_addzeny) (struct map_session_data *sd, int amount);
typedef void (*HPMHOOK_pre_trade_ok) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_trade_ok) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_trade_cancel) (struct map_session_data *sd);
@@ -6997,7 +6997,7 @@ typedef void (*HPMHOOK_post_trade_commit) (struct map_session_data *sd);
#endif // MAP_TRADE_H
#ifdef MAP_UNIT_H /* unit */
typedef int (*HPMHOOK_pre_unit_init) (bool *minimal);
-typedef int (*HPMHOOK_post_unit_init) (int retVal___, bool *minimal);
+typedef int (*HPMHOOK_post_unit_init) (int retVal___, bool minimal);
typedef int (*HPMHOOK_pre_unit_final) (void);
typedef int (*HPMHOOK_post_unit_final) (int retVal___);
typedef struct unit_data* (*HPMHOOK_pre_unit_bl2ud) (struct block_list *bl);
@@ -7007,41 +7007,41 @@ typedef struct unit_data* (*HPMHOOK_post_unit_bl2ud2) (struct unit_data* retVal_
typedef void (*HPMHOOK_pre_unit_init_ud) (struct unit_data *ud);
typedef void (*HPMHOOK_post_unit_init_ud) (struct unit_data *ud);
typedef int (*HPMHOOK_pre_unit_attack_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_unit_attack_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_unit_attack_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_unit_walktoxy_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_unit_walktoxy_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_unit_walktoxy_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_unit_walktoxy_sub) (struct block_list *bl);
typedef int (*HPMHOOK_post_unit_walktoxy_sub) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_unit_delay_walktoxy_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_unit_delay_walktoxy_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_unit_delay_walktoxy_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_unit_walktoxy) (struct block_list *bl, short *x, short *y, int *flag);
-typedef int (*HPMHOOK_post_unit_walktoxy) (int retVal___, struct block_list *bl, short *x, short *y, int *flag);
+typedef int (*HPMHOOK_post_unit_walktoxy) (int retVal___, struct block_list *bl, short x, short y, int flag);
typedef int (*HPMHOOK_pre_unit_walktobl_sub) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_unit_walktobl_sub) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_unit_walktobl_sub) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_unit_walktobl) (struct block_list *bl, struct block_list *tbl, int *range, int *flag);
-typedef int (*HPMHOOK_post_unit_walktobl) (int retVal___, struct block_list *bl, struct block_list *tbl, int *range, int *flag);
+typedef int (*HPMHOOK_post_unit_walktobl) (int retVal___, struct block_list *bl, struct block_list *tbl, int range, int flag);
typedef bool (*HPMHOOK_pre_unit_run) (struct block_list *bl, struct map_session_data *sd, enum sc_type *type);
-typedef bool (*HPMHOOK_post_unit_run) (bool retVal___, struct block_list *bl, struct map_session_data *sd, enum sc_type *type);
+typedef bool (*HPMHOOK_post_unit_run) (bool retVal___, struct block_list *bl, struct map_session_data *sd, enum sc_type type);
typedef void (*HPMHOOK_pre_unit_run_hit) (struct block_list *bl, struct status_change *sc, struct map_session_data *sd, enum sc_type *type);
-typedef void (*HPMHOOK_post_unit_run_hit) (struct block_list *bl, struct status_change *sc, struct map_session_data *sd, enum sc_type *type);
+typedef void (*HPMHOOK_post_unit_run_hit) (struct block_list *bl, struct status_change *sc, struct map_session_data *sd, enum sc_type type);
typedef int (*HPMHOOK_pre_unit_escape) (struct block_list *bl, struct block_list *target, short *dist);
-typedef int (*HPMHOOK_post_unit_escape) (int retVal___, struct block_list *bl, struct block_list *target, short *dist);
+typedef int (*HPMHOOK_post_unit_escape) (int retVal___, struct block_list *bl, struct block_list *target, short dist);
typedef int (*HPMHOOK_pre_unit_movepos) (struct block_list *bl, short *dst_x, short *dst_y, int *easy, bool *checkpath);
-typedef int (*HPMHOOK_post_unit_movepos) (int retVal___, struct block_list *bl, short *dst_x, short *dst_y, int *easy, bool *checkpath);
+typedef int (*HPMHOOK_post_unit_movepos) (int retVal___, struct block_list *bl, short dst_x, short dst_y, int easy, bool checkpath);
typedef int (*HPMHOOK_pre_unit_setdir) (struct block_list *bl, unsigned char *dir);
-typedef int (*HPMHOOK_post_unit_setdir) (int retVal___, struct block_list *bl, unsigned char *dir);
+typedef int (*HPMHOOK_post_unit_setdir) (int retVal___, struct block_list *bl, unsigned char dir);
typedef uint8 (*HPMHOOK_pre_unit_getdir) (struct block_list *bl);
typedef uint8 (*HPMHOOK_post_unit_getdir) (uint8 retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_unit_blown) (struct block_list *bl, int *dx, int *dy, int *count, int *flag);
-typedef int (*HPMHOOK_post_unit_blown) (int retVal___, struct block_list *bl, int *dx, int *dy, int *count, int *flag);
+typedef int (*HPMHOOK_post_unit_blown) (int retVal___, struct block_list *bl, int dx, int dy, int count, int flag);
typedef int (*HPMHOOK_pre_unit_warp) (struct block_list *bl, short *m, short *x, short *y, clr_type *type);
-typedef int (*HPMHOOK_post_unit_warp) (int retVal___, struct block_list *bl, short *m, short *x, short *y, clr_type *type);
+typedef int (*HPMHOOK_post_unit_warp) (int retVal___, struct block_list *bl, short m, short x, short y, clr_type type);
typedef int (*HPMHOOK_pre_unit_stop_walking) (struct block_list *bl, int *type);
-typedef int (*HPMHOOK_post_unit_stop_walking) (int retVal___, struct block_list *bl, int *type);
+typedef int (*HPMHOOK_post_unit_stop_walking) (int retVal___, struct block_list *bl, int type);
typedef int (*HPMHOOK_pre_unit_skilluse_id) (struct block_list *src, int *target_id, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_unit_skilluse_id) (int retVal___, struct block_list *src, int *target_id, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_unit_skilluse_id) (int retVal___, struct block_list *src, int target_id, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_unit_step_timer) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_unit_step_timer) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_unit_step_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef void (*HPMHOOK_pre_unit_stop_stepaction) (struct block_list *bl);
typedef void (*HPMHOOK_post_unit_stop_stepaction) (struct block_list *bl);
typedef int (*HPMHOOK_pre_unit_is_walking) (struct block_list *bl);
@@ -7049,67 +7049,67 @@ typedef int (*HPMHOOK_post_unit_is_walking) (int retVal___, struct block_list *b
typedef int (*HPMHOOK_pre_unit_can_move) (struct block_list *bl);
typedef int (*HPMHOOK_post_unit_can_move) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_unit_resume_running) (int *tid, int64 *tick, int *id, intptr_t *data);
-typedef int (*HPMHOOK_post_unit_resume_running) (int retVal___, int *tid, int64 *tick, int *id, intptr_t *data);
+typedef int (*HPMHOOK_post_unit_resume_running) (int retVal___, int tid, int64 tick, int id, intptr_t data);
typedef int (*HPMHOOK_pre_unit_set_walkdelay) (struct block_list *bl, int64 *tick, int *delay, int *type);
-typedef int (*HPMHOOK_post_unit_set_walkdelay) (int retVal___, struct block_list *bl, int64 *tick, int *delay, int *type);
+typedef int (*HPMHOOK_post_unit_set_walkdelay) (int retVal___, struct block_list *bl, int64 tick, int delay, int type);
typedef int (*HPMHOOK_pre_unit_skilluse_id2) (struct block_list *src, int *target_id, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
-typedef int (*HPMHOOK_post_unit_skilluse_id2) (int retVal___, struct block_list *src, int *target_id, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
+typedef int (*HPMHOOK_post_unit_skilluse_id2) (int retVal___, struct block_list *src, int target_id, uint16 skill_id, uint16 skill_lv, int casttime, int castcancel);
typedef int (*HPMHOOK_pre_unit_skilluse_pos) (struct block_list *src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv);
-typedef int (*HPMHOOK_post_unit_skilluse_pos) (int retVal___, struct block_list *src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv);
+typedef int (*HPMHOOK_post_unit_skilluse_pos) (int retVal___, struct block_list *src, short skill_x, short skill_y, uint16 skill_id, uint16 skill_lv);
typedef int (*HPMHOOK_pre_unit_skilluse_pos2) (struct block_list *src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
-typedef int (*HPMHOOK_post_unit_skilluse_pos2) (int retVal___, struct block_list *src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
+typedef int (*HPMHOOK_post_unit_skilluse_pos2) (int retVal___, struct block_list *src, short skill_x, short skill_y, uint16 skill_id, uint16 skill_lv, int casttime, int castcancel);
typedef int (*HPMHOOK_pre_unit_set_target) (struct unit_data *ud, int *target_id);
-typedef int (*HPMHOOK_post_unit_set_target) (int retVal___, struct unit_data *ud, int *target_id);
+typedef int (*HPMHOOK_post_unit_set_target) (int retVal___, struct unit_data *ud, int target_id);
typedef void (*HPMHOOK_pre_unit_stop_attack) (struct block_list *bl);
typedef void (*HPMHOOK_post_unit_stop_attack) (struct block_list *bl);
typedef int (*HPMHOOK_pre_unit_unattackable) (struct block_list *bl);
typedef int (*HPMHOOK_post_unit_unattackable) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_unit_attack) (struct block_list *src, int *target_id, int *continuous);
-typedef int (*HPMHOOK_post_unit_attack) (int retVal___, struct block_list *src, int *target_id, int *continuous);
+typedef int (*HPMHOOK_post_unit_attack) (int retVal___, struct block_list *src, int target_id, int continuous);
typedef int (*HPMHOOK_pre_unit_cancel_combo) (struct block_list *bl);
typedef int (*HPMHOOK_post_unit_cancel_combo) (int retVal___, struct block_list *bl);
typedef bool (*HPMHOOK_pre_unit_can_reach_pos) (struct block_list *bl, int *x, int *y, int *easy);
-typedef bool (*HPMHOOK_post_unit_can_reach_pos) (bool retVal___, struct block_list *bl, int *x, int *y, int *easy);
+typedef bool (*HPMHOOK_post_unit_can_reach_pos) (bool retVal___, struct block_list *bl, int x, int y, int easy);
typedef bool (*HPMHOOK_pre_unit_can_reach_bl) (struct block_list *bl, struct block_list *tbl, int *range, int *easy, short *x, short *y);
-typedef bool (*HPMHOOK_post_unit_can_reach_bl) (bool retVal___, struct block_list *bl, struct block_list *tbl, int *range, int *easy, short *x, short *y);
+typedef bool (*HPMHOOK_post_unit_can_reach_bl) (bool retVal___, struct block_list *bl, struct block_list *tbl, int range, int easy, short *x, short *y);
typedef int (*HPMHOOK_pre_unit_calc_pos) (struct block_list *bl, int *tx, int *ty, uint8 *dir);
-typedef int (*HPMHOOK_post_unit_calc_pos) (int retVal___, struct block_list *bl, int *tx, int *ty, uint8 *dir);
+typedef int (*HPMHOOK_post_unit_calc_pos) (int retVal___, struct block_list *bl, int tx, int ty, uint8 dir);
typedef int (*HPMHOOK_pre_unit_attack_timer_sub) (struct block_list *src, int *tid, int64 *tick);
-typedef int (*HPMHOOK_post_unit_attack_timer_sub) (int retVal___, struct block_list *src, int *tid, int64 *tick);
+typedef int (*HPMHOOK_post_unit_attack_timer_sub) (int retVal___, struct block_list *src, int tid, int64 tick);
typedef int (*HPMHOOK_pre_unit_skillcastcancel) (struct block_list *bl, int *type);
-typedef int (*HPMHOOK_post_unit_skillcastcancel) (int retVal___, struct block_list *bl, int *type);
+typedef int (*HPMHOOK_post_unit_skillcastcancel) (int retVal___, struct block_list *bl, int type);
typedef void (*HPMHOOK_pre_unit_dataset) (struct block_list *bl);
typedef void (*HPMHOOK_post_unit_dataset) (struct block_list *bl);
typedef int (*HPMHOOK_pre_unit_counttargeted) (struct block_list *bl);
typedef int (*HPMHOOK_post_unit_counttargeted) (int retVal___, struct block_list *bl);
typedef int (*HPMHOOK_pre_unit_fixdamage) (struct block_list *src, struct block_list *target, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
-typedef int (*HPMHOOK_post_unit_fixdamage) (int retVal___, struct block_list *src, struct block_list *target, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
+typedef int (*HPMHOOK_post_unit_fixdamage) (int retVal___, struct block_list *src, struct block_list *target, int sdelay, int ddelay, int64 damage, short div, unsigned char type, int64 damage2);
typedef int (*HPMHOOK_pre_unit_changeviewsize) (struct block_list *bl, short *size);
-typedef int (*HPMHOOK_post_unit_changeviewsize) (int retVal___, struct block_list *bl, short *size);
+typedef int (*HPMHOOK_post_unit_changeviewsize) (int retVal___, struct block_list *bl, short size);
typedef int (*HPMHOOK_pre_unit_remove_map) (struct block_list *bl, clr_type *clrtype, const char *file, int *line, const char *func);
-typedef int (*HPMHOOK_post_unit_remove_map) (int retVal___, struct block_list *bl, clr_type *clrtype, const char *file, int *line, const char *func);
+typedef int (*HPMHOOK_post_unit_remove_map) (int retVal___, struct block_list *bl, clr_type clrtype, const char *file, int line, const char *func);
typedef void (*HPMHOOK_pre_unit_remove_map_pc) (struct map_session_data *sd, clr_type *clrtype);
-typedef void (*HPMHOOK_post_unit_remove_map_pc) (struct map_session_data *sd, clr_type *clrtype);
+typedef void (*HPMHOOK_post_unit_remove_map_pc) (struct map_session_data *sd, clr_type clrtype);
typedef void (*HPMHOOK_pre_unit_free_pc) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_unit_free_pc) (struct map_session_data *sd);
typedef int (*HPMHOOK_pre_unit_free) (struct block_list *bl, clr_type *clrtype);
-typedef int (*HPMHOOK_post_unit_free) (int retVal___, struct block_list *bl, clr_type *clrtype);
+typedef int (*HPMHOOK_post_unit_free) (int retVal___, struct block_list *bl, clr_type clrtype);
#endif // MAP_UNIT_H
#ifdef MAP_VENDING_H /* vending */
typedef void (*HPMHOOK_pre_vending_init) (bool *minimal);
-typedef void (*HPMHOOK_post_vending_init) (bool *minimal);
+typedef void (*HPMHOOK_post_vending_init) (bool minimal);
typedef void (*HPMHOOK_pre_vending_final) (void);
typedef void (*HPMHOOK_post_vending_final) (void);
typedef void (*HPMHOOK_pre_vending_close) (struct map_session_data *sd);
typedef void (*HPMHOOK_post_vending_close) (struct map_session_data *sd);
typedef void (*HPMHOOK_pre_vending_open) (struct map_session_data *sd, const char *message, const uint8 *data, int *count);
-typedef void (*HPMHOOK_post_vending_open) (struct map_session_data *sd, const char *message, const uint8 *data, int *count);
+typedef void (*HPMHOOK_post_vending_open) (struct map_session_data *sd, const char *message, const uint8 *data, int count);
typedef void (*HPMHOOK_pre_vending_list) (struct map_session_data *sd, unsigned int *id);
-typedef void (*HPMHOOK_post_vending_list) (struct map_session_data *sd, unsigned int *id);
+typedef void (*HPMHOOK_post_vending_list) (struct map_session_data *sd, unsigned int id);
typedef void (*HPMHOOK_pre_vending_purchase) (struct map_session_data *sd, int *aid, unsigned int *uid, const uint8 *data, int *count);
-typedef void (*HPMHOOK_post_vending_purchase) (struct map_session_data *sd, int *aid, unsigned int *uid, const uint8 *data, int *count);
+typedef void (*HPMHOOK_post_vending_purchase) (struct map_session_data *sd, int aid, unsigned int uid, const uint8 *data, int count);
typedef bool (*HPMHOOK_pre_vending_search) (struct map_session_data *sd, unsigned short *nameid);
-typedef bool (*HPMHOOK_post_vending_search) (bool retVal___, struct map_session_data *sd, unsigned short *nameid);
+typedef bool (*HPMHOOK_post_vending_search) (bool retVal___, struct map_session_data *sd, unsigned short nameid);
typedef bool (*HPMHOOK_pre_vending_searchall) (struct map_session_data *sd, const struct s_search_store_search *s);
typedef bool (*HPMHOOK_post_vending_searchall) (bool retVal___, struct map_session_data *sd, const struct s_search_store_search *s);
#endif // MAP_VENDING_H
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, &current_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, &current);
+ 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, &timestamp);
+ 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___;
diff --git a/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
index bedadf9e3..d520c957f 100644
--- a/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
@@ -176,10 +176,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___;
@@ -203,10 +203,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___;
@@ -230,10 +230,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, &current_arg, &argc);
+ retVal___ = postHookFunc(retVal___, name, current_arg, argc);
}
}
return retVal___;
@@ -417,10 +417,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___;
@@ -444,10 +444,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___;
@@ -471,10 +471,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___;
@@ -498,10 +498,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___;
@@ -525,10 +525,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___;
@@ -552,10 +552,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___;
@@ -579,10 +579,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___;
@@ -606,10 +606,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___;
@@ -660,10 +660,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___;
@@ -687,10 +687,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___;
@@ -714,10 +714,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___;
@@ -741,10 +741,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___;
@@ -980,10 +980,10 @@ void HP_lclif_connection_error(int fd, uint8 error) {
HPMHooks.source.lclif.connection_error(fd, error);
}
if( HPMHooks.count.HP_lclif_connection_error_post ) {
- void (*postHookFunc) (int *fd, uint8 *error);
+ void (*postHookFunc) (int fd, uint8 error);
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_connection_error_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_lclif_connection_error_post[hIndex].func;
- postHookFunc(&fd, &error);
+ postHookFunc(fd, error);
}
}
return;
@@ -1033,10 +1033,10 @@ void HP_lclif_auth_failed(int fd, time_t ban, uint32 error) {
HPMHooks.source.lclif.auth_failed(fd, ban, error);
}
if( HPMHooks.count.HP_lclif_auth_failed_post ) {
- void (*postHookFunc) (int *fd, time_t *ban, uint32 *error);
+ void (*postHookFunc) (int fd, time_t ban, uint32 error);
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_auth_failed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_lclif_auth_failed_post[hIndex].func;
- postHookFunc(&fd, &ban, &error);
+ postHookFunc(fd, ban, error);
}
}
return;
@@ -1059,10 +1059,10 @@ void HP_lclif_login_error(int fd, uint8 error) {
HPMHooks.source.lclif.login_error(fd, error);
}
if( HPMHooks.count.HP_lclif_login_error_post ) {
- void (*postHookFunc) (int *fd, uint8 *error);
+ void (*postHookFunc) (int fd, uint8 error);
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_login_error_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_lclif_login_error_post[hIndex].func;
- postHookFunc(&fd, &error);
+ postHookFunc(fd, error);
}
}
return;
@@ -1085,10 +1085,10 @@ void HP_lclif_coding_key(int fd, struct login_session_data *sd) {
HPMHooks.source.lclif.coding_key(fd, sd);
}
if( HPMHooks.count.HP_lclif_coding_key_post ) {
- void (*postHookFunc) (int *fd, struct login_session_data *sd);
+ void (*postHookFunc) (int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_coding_key_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_lclif_coding_key_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -1112,10 +1112,10 @@ const struct login_packet_db* HP_lclif_packet(int16 packet_id) {
retVal___ = HPMHooks.source.lclif.packet(packet_id);
}
if( HPMHooks.count.HP_lclif_packet_post ) {
- const struct login_packet_db* (*postHookFunc) (const struct login_packet_db* retVal___, int16 *packet_id);
+ const struct login_packet_db* (*postHookFunc) (const struct login_packet_db* retVal___, int16 packet_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_packet_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_lclif_packet_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &packet_id);
+ retVal___ = postHookFunc(retVal___, packet_id);
}
}
return retVal___;
@@ -1139,10 +1139,10 @@ enum parsefunc_rcode HP_lclif_parse_packet(const struct login_packet_db *lpd, in
retVal___ = HPMHooks.source.lclif.parse_packet(lpd, fd, sd);
}
if( HPMHooks.count.HP_lclif_parse_packet_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, const struct login_packet_db *lpd, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, const struct login_packet_db *lpd, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_parse_packet_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_lclif_parse_packet_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, lpd, &fd, sd);
+ retVal___ = postHookFunc(retVal___, lpd, fd, sd);
}
}
return retVal___;
@@ -1166,10 +1166,10 @@ int HP_lclif_parse(int fd) {
retVal___ = HPMHooks.source.lclif.parse(fd);
}
if( HPMHooks.count.HP_lclif_parse_post ) {
- int (*postHookFunc) (int retVal___, int *fd);
+ int (*postHookFunc) (int retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_parse_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_lclif_parse_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -1220,10 +1220,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_sub(int fd, struct login_session_data
retVal___ = HPMHooks.source.PRIV__lclif.parse_sub(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_sub_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1247,10 +1247,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED(int fd, struct
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_CONNECT_INFO_CHANGED(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1274,10 +1274,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_EXE_HASHCHECK(int fd, struct login_
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_EXE_HASHCHECK(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_EXE_HASHCHECK_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_EXE_HASHCHECK_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_EXE_HASHCHECK_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1301,10 +1301,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN(int fd, struct login_session_
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_LOGIN(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1328,10 +1328,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN2(int fd, struct login_session
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_LOGIN2(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN2_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1355,10 +1355,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN3(int fd, struct login_session
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_LOGIN3(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN3_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN3_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN3_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1382,10 +1382,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN4(int fd, struct login_session
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_LOGIN4(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN4_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN4_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN4_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1409,10 +1409,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN_PCBANG(int fd, struct login_s
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_LOGIN_PCBANG(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_PCBANG_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_PCBANG_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN_PCBANG_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1436,10 +1436,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN_HAN(int fd, struct login_sess
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_LOGIN_HAN(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_HAN_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_HAN_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN_HAN_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1463,10 +1463,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_SSO_LOGIN_REQ(int fd, struct login_
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_SSO_LOGIN_REQ(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_SSO_LOGIN_REQ_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_SSO_LOGIN_REQ_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_SSO_LOGIN_REQ_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1490,10 +1490,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_REQ_HASH(int fd, struct login_sessi
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_REQ_HASH(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_REQ_HASH_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_REQ_HASH_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_REQ_HASH_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1517,10 +1517,10 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_CHARSERVERCONNECT(int fd, struct lo
retVal___ = HPMHooks.source.PRIV__lclif.parse_CA_CHARSERVERCONNECT(fd, sd);
}
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_CHARSERVERCONNECT_post ) {
- enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*postHookFunc) (enum parsefunc_rcode retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_CHARSERVERCONNECT_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_CHARSERVERCONNECT_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -1597,10 +1597,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;
@@ -2133,10 +2133,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___;
@@ -2160,10 +2160,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___;
@@ -2187,10 +2187,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___;
@@ -2214,10 +2214,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___;
@@ -2268,10 +2268,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___;
@@ -2322,10 +2322,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___;
@@ -2349,10 +2349,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___;
@@ -2376,10 +2376,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___;
@@ -2403,10 +2403,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___;
@@ -2430,10 +2430,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___;
@@ -2457,10 +2457,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___;
@@ -2484,10 +2484,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___;
@@ -2511,10 +2511,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___;
@@ -2538,10 +2538,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___;
@@ -2565,10 +2565,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___;
@@ -2646,10 +2646,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___;
@@ -2700,10 +2700,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___;
@@ -2754,10 +2754,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___;
@@ -3317,10 +3317,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___;
@@ -3344,10 +3344,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___;
@@ -3372,10 +3372,10 @@ int HP_login_mmo_auth(struct login_session_data *sd, bool isServer) {
retVal___ = HPMHooks.source.login.mmo_auth(sd, isServer);
}
if( HPMHooks.count.HP_login_mmo_auth_post ) {
- int (*postHookFunc) (int retVal___, struct login_session_data *sd, bool *isServer);
+ int (*postHookFunc) (int retVal___, struct login_session_data *sd, bool isServer);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_mmo_auth_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_mmo_auth_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &isServer);
+ retVal___ = postHookFunc(retVal___, sd, isServer);
}
}
return retVal___;
@@ -3399,10 +3399,10 @@ int HP_login_mmo_auth_new(const char *userid, const char *pass, const char sex,
retVal___ = HPMHooks.source.login.mmo_auth_new(userid, pass, sex, last_ip);
}
if( HPMHooks.count.HP_login_mmo_auth_new_post ) {
- int (*postHookFunc) (int retVal___, const char *userid, const char *pass, const char *sex, const char *last_ip);
+ int (*postHookFunc) (int retVal___, const char *userid, const char *pass, const char sex, const char *last_ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_mmo_auth_new_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_mmo_auth_new_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, userid, pass, &sex, last_ip);
+ retVal___ = postHookFunc(retVal___, userid, pass, sex, last_ip);
}
}
return retVal___;
@@ -3426,10 +3426,10 @@ int HP_login_waiting_disconnect_timer(int tid, int64 tick, int id, intptr_t data
retVal___ = HPMHooks.source.login.waiting_disconnect_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_login_waiting_disconnect_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_login_waiting_disconnect_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_waiting_disconnect_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -3457,11 +3457,11 @@ struct DBData HP_login_create_online_user(union DBKey key, va_list args) {
va_end(args___copy);
}
if( HPMHooks.count.HP_login_create_online_user_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_login_create_online_user_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_login_create_online_user_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, args___copy);
+ retVal___ = postHookFunc(retVal___, key, args___copy);
va_end(args___copy);
}
}
@@ -3486,10 +3486,10 @@ struct online_login_data* HP_login_add_online_user(int char_server, int account_
retVal___ = HPMHooks.source.login.add_online_user(char_server, account_id);
}
if( HPMHooks.count.HP_login_add_online_user_post ) {
- struct online_login_data* (*postHookFunc) (struct online_login_data* retVal___, int *char_server, int *account_id);
+ struct online_login_data* (*postHookFunc) (struct online_login_data* retVal___, int char_server, int account_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_add_online_user_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_add_online_user_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_server, &account_id);
+ retVal___ = postHookFunc(retVal___, char_server, account_id);
}
}
return retVal___;
@@ -3512,10 +3512,10 @@ void HP_login_remove_online_user(int account_id) {
HPMHooks.source.login.remove_online_user(account_id);
}
if( HPMHooks.count.HP_login_remove_online_user_post ) {
- void (*postHookFunc) (int *account_id);
+ void (*postHookFunc) (int account_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_remove_online_user_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_remove_online_user_post[hIndex].func;
- postHookFunc(&account_id);
+ postHookFunc(account_id);
}
}
return;
@@ -3543,11 +3543,11 @@ int HP_login_online_db_setoffline(union DBKey key, struct DBData *data, va_list
va_end(ap___copy);
}
if( HPMHooks.count.HP_login_online_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_login_online_db_setoffline_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_login_online_db_setoffline_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -3576,11 +3576,11 @@ int HP_login_online_data_cleanup_sub(union DBKey key, struct DBData *data, va_li
va_end(ap___copy);
}
if( HPMHooks.count.HP_login_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_login_online_data_cleanup_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_login_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);
}
}
@@ -3605,10 +3605,10 @@ int HP_login_online_data_cleanup(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.login.online_data_cleanup(tid, tick, id, data);
}
if( HPMHooks.count.HP_login_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_login_online_data_cleanup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_online_data_cleanup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -3632,10 +3632,10 @@ int HP_login_sync_ip_addresses(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.login.sync_ip_addresses(tid, tick, id, data);
}
if( HPMHooks.count.HP_login_sync_ip_addresses_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_login_sync_ip_addresses_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_sync_ip_addresses_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -3686,10 +3686,10 @@ bool HP_login_check_password(const char *md5key, int passwdenc, const char *pass
retVal___ = HPMHooks.source.login.check_password(md5key, passwdenc, passwd, refpass);
}
if( HPMHooks.count.HP_login_check_password_post ) {
- bool (*postHookFunc) (bool retVal___, const char *md5key, int *passwdenc, const char *passwd, const char *refpass);
+ bool (*postHookFunc) (bool retVal___, const char *md5key, int passwdenc, const char *passwd, const char *refpass);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_check_password_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_check_password_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md5key, &passwdenc, passwd, refpass);
+ retVal___ = postHookFunc(retVal___, md5key, passwdenc, passwd, refpass);
}
}
return retVal___;
@@ -3713,10 +3713,10 @@ uint32 HP_login_lan_subnet_check(uint32 ip) {
retVal___ = HPMHooks.source.login.lan_subnet_check(ip);
}
if( HPMHooks.count.HP_login_lan_subnet_check_post ) {
- uint32 (*postHookFunc) (uint32 retVal___, uint32 *ip);
+ uint32 (*postHookFunc) (uint32 retVal___, uint32 ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_lan_subnet_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_lan_subnet_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &ip);
+ retVal___ = postHookFunc(retVal___, ip);
}
}
return retVal___;
@@ -3739,10 +3739,10 @@ void HP_login_fromchar_accinfo(int fd, int account_id, int u_fd, int u_aid, int
HPMHooks.source.login.fromchar_accinfo(fd, account_id, u_fd, u_aid, u_group, map_fd, acc);
}
if( HPMHooks.count.HP_login_fromchar_accinfo_post ) {
- void (*postHookFunc) (int *fd, int *account_id, int *u_fd, int *u_aid, int *u_group, int *map_fd, struct mmo_account *acc);
+ void (*postHookFunc) (int fd, int account_id, int u_fd, int u_aid, int u_group, int map_fd, struct mmo_account *acc);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_accinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_accinfo_post[hIndex].func;
- postHookFunc(&fd, &account_id, &u_fd, &u_aid, &u_group, &map_fd, acc);
+ postHookFunc(fd, account_id, u_fd, u_aid, u_group, map_fd, acc);
}
}
return;
@@ -3765,10 +3765,10 @@ void HP_login_fromchar_account(int fd, int account_id, struct mmo_account *acc)
HPMHooks.source.login.fromchar_account(fd, account_id, acc);
}
if( HPMHooks.count.HP_login_fromchar_account_post ) {
- void (*postHookFunc) (int *fd, int *account_id, struct mmo_account *acc);
+ void (*postHookFunc) (int fd, int account_id, struct mmo_account *acc);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_account_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_account_post[hIndex].func;
- postHookFunc(&fd, &account_id, acc);
+ postHookFunc(fd, account_id, acc);
}
}
return;
@@ -3791,10 +3791,10 @@ void HP_login_fromchar_account_update_other(int account_id, unsigned int state)
HPMHooks.source.login.fromchar_account_update_other(account_id, state);
}
if( HPMHooks.count.HP_login_fromchar_account_update_other_post ) {
- void (*postHookFunc) (int *account_id, unsigned int *state);
+ void (*postHookFunc) (int account_id, unsigned int state);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_account_update_other_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_account_update_other_post[hIndex].func;
- postHookFunc(&account_id, &state);
+ postHookFunc(account_id, state);
}
}
return;
@@ -3817,10 +3817,10 @@ void HP_login_fromchar_auth_ack(int fd, int account_id, uint32 login_id1, uint32
HPMHooks.source.login.fromchar_auth_ack(fd, account_id, login_id1, login_id2, sex, request_id, node);
}
if( HPMHooks.count.HP_login_fromchar_auth_ack_post ) {
- void (*postHookFunc) (int *fd, int *account_id, uint32 *login_id1, uint32 *login_id2, uint8 *sex, int *request_id, struct login_auth_node *node);
+ void (*postHookFunc) (int fd, int account_id, uint32 login_id1, uint32 login_id2, uint8 sex, int request_id, struct login_auth_node *node);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_auth_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_auth_ack_post[hIndex].func;
- postHookFunc(&fd, &account_id, &login_id1, &login_id2, &sex, &request_id, node);
+ postHookFunc(fd, account_id, login_id1, login_id2, sex, request_id, node);
}
}
return;
@@ -3843,10 +3843,10 @@ void HP_login_fromchar_ban(int account_id, time_t timestamp) {
HPMHooks.source.login.fromchar_ban(account_id, timestamp);
}
if( HPMHooks.count.HP_login_fromchar_ban_post ) {
- void (*postHookFunc) (int *account_id, time_t *timestamp);
+ void (*postHookFunc) (int account_id, time_t timestamp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_ban_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_ban_post[hIndex].func;
- postHookFunc(&account_id, &timestamp);
+ postHookFunc(account_id, timestamp);
}
}
return;
@@ -3869,10 +3869,10 @@ void HP_login_fromchar_change_sex_other(int account_id, char sex) {
HPMHooks.source.login.fromchar_change_sex_other(account_id, sex);
}
if( HPMHooks.count.HP_login_fromchar_change_sex_other_post ) {
- void (*postHookFunc) (int *account_id, char *sex);
+ void (*postHookFunc) (int account_id, char sex);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_change_sex_other_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_change_sex_other_post[hIndex].func;
- postHookFunc(&account_id, &sex);
+ postHookFunc(account_id, sex);
}
}
return;
@@ -3895,10 +3895,10 @@ void HP_login_fromchar_pong(int fd) {
HPMHooks.source.login.fromchar_pong(fd);
}
if( HPMHooks.count.HP_login_fromchar_pong_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_pong_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_pong_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -3921,10 +3921,10 @@ void HP_login_fromchar_parse_auth(int fd, int id, const char *ip) {
HPMHooks.source.login.fromchar_parse_auth(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_auth_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_auth_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_auth_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -3947,10 +3947,10 @@ void HP_login_fromchar_parse_update_users(int fd, int id) {
HPMHooks.source.login.fromchar_parse_update_users(fd, id);
}
if( HPMHooks.count.HP_login_fromchar_parse_update_users_post ) {
- void (*postHookFunc) (int *fd, int *id);
+ void (*postHookFunc) (int fd, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_update_users_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_update_users_post[hIndex].func;
- postHookFunc(&fd, &id);
+ postHookFunc(fd, id);
}
}
return;
@@ -3973,10 +3973,10 @@ void HP_login_fromchar_parse_request_change_email(int fd, int id, const char *ip
HPMHooks.source.login.fromchar_parse_request_change_email(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_request_change_email_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_request_change_email_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_request_change_email_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -3999,10 +3999,10 @@ void HP_login_fromchar_parse_account_data(int fd, int id, const char *ip) {
HPMHooks.source.login.fromchar_parse_account_data(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_account_data_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_account_data_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_account_data_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -4025,10 +4025,10 @@ void HP_login_fromchar_parse_ping(int fd) {
HPMHooks.source.login.fromchar_parse_ping(fd);
}
if( HPMHooks.count.HP_login_fromchar_parse_ping_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_ping_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_ping_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -4051,10 +4051,10 @@ void HP_login_fromchar_parse_change_email(int fd, int id, const char *ip) {
HPMHooks.source.login.fromchar_parse_change_email(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_change_email_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_change_email_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_change_email_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -4077,10 +4077,10 @@ void HP_login_fromchar_parse_account_update(int fd, int id, const char *ip) {
HPMHooks.source.login.fromchar_parse_account_update(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_account_update_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_account_update_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_account_update_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -4103,10 +4103,10 @@ void HP_login_fromchar_parse_ban(int fd, int id, const char *ip) {
HPMHooks.source.login.fromchar_parse_ban(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_ban_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_ban_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_ban_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -4129,10 +4129,10 @@ void HP_login_fromchar_parse_change_sex(int fd, int id, const char *ip) {
HPMHooks.source.login.fromchar_parse_change_sex(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_change_sex_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_change_sex_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_change_sex_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -4155,10 +4155,10 @@ void HP_login_fromchar_parse_account_reg2(int fd, int id, const char *ip) {
HPMHooks.source.login.fromchar_parse_account_reg2(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_account_reg2_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_account_reg2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_account_reg2_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -4181,10 +4181,10 @@ void HP_login_fromchar_parse_unban(int fd, int id, const char *ip) {
HPMHooks.source.login.fromchar_parse_unban(fd, id, ip);
}
if( HPMHooks.count.HP_login_fromchar_parse_unban_post ) {
- void (*postHookFunc) (int *fd, int *id, const char *ip);
+ void (*postHookFunc) (int fd, int id, const char *ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_unban_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_unban_post[hIndex].func;
- postHookFunc(&fd, &id, ip);
+ postHookFunc(fd, id, ip);
}
}
return;
@@ -4207,10 +4207,10 @@ void HP_login_fromchar_parse_account_online(int fd, int id) {
HPMHooks.source.login.fromchar_parse_account_online(fd, id);
}
if( HPMHooks.count.HP_login_fromchar_parse_account_online_post ) {
- void (*postHookFunc) (int *fd, int *id);
+ void (*postHookFunc) (int fd, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_account_online_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_account_online_post[hIndex].func;
- postHookFunc(&fd, &id);
+ postHookFunc(fd, id);
}
}
return;
@@ -4233,10 +4233,10 @@ void HP_login_fromchar_parse_account_offline(int fd) {
HPMHooks.source.login.fromchar_parse_account_offline(fd);
}
if( HPMHooks.count.HP_login_fromchar_parse_account_offline_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_account_offline_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_account_offline_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -4259,10 +4259,10 @@ void HP_login_fromchar_parse_online_accounts(int fd, int id) {
HPMHooks.source.login.fromchar_parse_online_accounts(fd, id);
}
if( HPMHooks.count.HP_login_fromchar_parse_online_accounts_post ) {
- void (*postHookFunc) (int *fd, int *id);
+ void (*postHookFunc) (int fd, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_online_accounts_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_online_accounts_post[hIndex].func;
- postHookFunc(&fd, &id);
+ postHookFunc(fd, id);
}
}
return;
@@ -4285,10 +4285,10 @@ void HP_login_fromchar_parse_request_account_reg2(int fd) {
HPMHooks.source.login.fromchar_parse_request_account_reg2(fd);
}
if( HPMHooks.count.HP_login_fromchar_parse_request_account_reg2_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_request_account_reg2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_request_account_reg2_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -4311,10 +4311,10 @@ void HP_login_fromchar_parse_update_wan_ip(int fd, int id) {
HPMHooks.source.login.fromchar_parse_update_wan_ip(fd, id);
}
if( HPMHooks.count.HP_login_fromchar_parse_update_wan_ip_post ) {
- void (*postHookFunc) (int *fd, int *id);
+ void (*postHookFunc) (int fd, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_update_wan_ip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_update_wan_ip_post[hIndex].func;
- postHookFunc(&fd, &id);
+ postHookFunc(fd, id);
}
}
return;
@@ -4337,10 +4337,10 @@ void HP_login_fromchar_parse_all_offline(int fd, int id) {
HPMHooks.source.login.fromchar_parse_all_offline(fd, id);
}
if( HPMHooks.count.HP_login_fromchar_parse_all_offline_post ) {
- void (*postHookFunc) (int *fd, int *id);
+ void (*postHookFunc) (int fd, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_all_offline_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_all_offline_post[hIndex].func;
- postHookFunc(&fd, &id);
+ postHookFunc(fd, id);
}
}
return;
@@ -4363,10 +4363,10 @@ void HP_login_fromchar_parse_change_pincode(int fd) {
HPMHooks.source.login.fromchar_parse_change_pincode(fd);
}
if( HPMHooks.count.HP_login_fromchar_parse_change_pincode_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_change_pincode_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_change_pincode_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -4390,10 +4390,10 @@ bool HP_login_fromchar_parse_wrong_pincode(int fd) {
retVal___ = HPMHooks.source.login.fromchar_parse_wrong_pincode(fd);
}
if( HPMHooks.count.HP_login_fromchar_parse_wrong_pincode_post ) {
- bool (*postHookFunc) (bool retVal___, int *fd);
+ bool (*postHookFunc) (bool retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_wrong_pincode_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_wrong_pincode_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -4416,10 +4416,10 @@ void HP_login_fromchar_parse_accinfo(int fd) {
HPMHooks.source.login.fromchar_parse_accinfo(fd);
}
if( HPMHooks.count.HP_login_fromchar_parse_accinfo_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_accinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_fromchar_parse_accinfo_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -4443,10 +4443,10 @@ int HP_login_parse_fromchar(int fd) {
retVal___ = HPMHooks.source.login.parse_fromchar(fd);
}
if( HPMHooks.count.HP_login_parse_fromchar_post ) {
- int (*postHookFunc) (int retVal___, int *fd);
+ int (*postHookFunc) (int retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_parse_fromchar_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_parse_fromchar_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -4521,10 +4521,10 @@ void HP_login_auth_failed(struct login_session_data *sd, int result) {
HPMHooks.source.login.auth_failed(sd, result);
}
if( HPMHooks.count.HP_login_auth_failed_post ) {
- void (*postHookFunc) (struct login_session_data *sd, int *result);
+ void (*postHookFunc) (struct login_session_data *sd, int result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_auth_failed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_auth_failed_post[hIndex].func;
- postHookFunc(sd, &result);
+ postHookFunc(sd, result);
}
}
return;
@@ -4548,10 +4548,10 @@ bool HP_login_client_login(int fd, struct login_session_data *sd) {
retVal___ = HPMHooks.source.login.client_login(fd, sd);
}
if( HPMHooks.count.HP_login_client_login_post ) {
- bool (*postHookFunc) (bool retVal___, int *fd, struct login_session_data *sd);
+ bool (*postHookFunc) (bool retVal___, int fd, struct login_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_client_login_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_client_login_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -4574,10 +4574,10 @@ void HP_login_char_server_connection_status(int fd, struct login_session_data *s
HPMHooks.source.login.char_server_connection_status(fd, sd, status);
}
if( HPMHooks.count.HP_login_char_server_connection_status_post ) {
- void (*postHookFunc) (int *fd, struct login_session_data *sd, uint8 *status);
+ void (*postHookFunc) (int fd, struct login_session_data *sd, uint8 status);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_char_server_connection_status_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_char_server_connection_status_post[hIndex].func;
- postHookFunc(&fd, sd, &status);
+ postHookFunc(fd, sd, status);
}
}
return;
@@ -4600,10 +4600,10 @@ void HP_login_parse_request_connection(int fd, struct login_session_data *sd, co
HPMHooks.source.login.parse_request_connection(fd, sd, ip, ipl);
}
if( HPMHooks.count.HP_login_parse_request_connection_post ) {
- void (*postHookFunc) (int *fd, struct login_session_data *sd, const char *ip, uint32 *ipl);
+ void (*postHookFunc) (int fd, struct login_session_data *sd, const char *ip, uint32 ipl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_parse_request_connection_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_login_parse_request_connection_post[hIndex].func;
- postHookFunc(&fd, sd, ip, &ipl);
+ postHookFunc(fd, sd, ip, ipl);
}
}
return;
@@ -4733,10 +4733,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___;
@@ -4760,10 +4760,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___;
@@ -4787,10 +4787,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___;
@@ -4814,10 +4814,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___;
@@ -4841,10 +4841,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___;
@@ -4868,10 +4868,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___;
@@ -4894,10 +4894,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;
@@ -5053,10 +5053,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;
@@ -5245,10 +5245,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___;
@@ -5271,10 +5271,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;
@@ -5298,10 +5298,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___;
@@ -5325,10 +5325,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___;
@@ -5352,10 +5352,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___;
@@ -5379,10 +5379,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___;
@@ -5406,10 +5406,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___;
@@ -5433,10 +5433,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___;
@@ -5459,10 +5459,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;
@@ -5486,10 +5486,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___;
@@ -5513,10 +5513,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___;
@@ -5539,10 +5539,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;
@@ -5591,10 +5591,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;
@@ -5617,10 +5617,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;
@@ -5671,10 +5671,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___;
@@ -5725,10 +5725,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___;
@@ -5752,10 +5752,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___;
@@ -5778,10 +5778,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;
@@ -5805,10 +5805,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___;
@@ -5832,10 +5832,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___;
@@ -5859,10 +5859,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___;
@@ -5940,10 +5940,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___;
@@ -5994,10 +5994,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___;
@@ -6102,10 +6102,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___;
@@ -6297,10 +6297,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___;
@@ -6349,10 +6349,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;
@@ -6543,10 +6543,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___;
@@ -6651,10 +6651,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___;
@@ -6783,10 +6783,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;
@@ -7138,10 +7138,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___;
@@ -7273,10 +7273,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___;
@@ -7381,10 +7381,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___;
@@ -7408,10 +7408,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___;
@@ -7435,10 +7435,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___;
@@ -7462,10 +7462,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___;
@@ -7517,10 +7517,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___;
@@ -7544,10 +7544,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___;
@@ -7571,10 +7571,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___;
@@ -7598,10 +7598,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___;
@@ -7652,10 +7652,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___;
@@ -8218,10 +8218,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___;
@@ -8245,10 +8245,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___;
@@ -8272,10 +8272,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___;
@@ -8299,10 +8299,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___;
@@ -8326,10 +8326,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___;
@@ -8353,10 +8353,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___;
@@ -8380,10 +8380,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___;
@@ -8434,10 +8434,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___;
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index c12e22bb8..51eca1a11 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -123,10 +123,10 @@ void HP_atcommand_init(bool minimal) {
HPMHooks.source.atcommand.init(minimal);
}
if( HPMHooks.count.HP_atcommand_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -176,10 +176,10 @@ bool HP_atcommand_exec(const int fd, struct map_session_data *sd, const char *me
retVal___ = HPMHooks.source.atcommand.exec(fd, sd, message, player_invoked);
}
if( HPMHooks.count.HP_atcommand_exec_post ) {
- bool (*postHookFunc) (bool retVal___, const int *fd, struct map_session_data *sd, const char *message, bool *player_invoked);
+ bool (*postHookFunc) (bool retVal___, const int fd, struct map_session_data *sd, const char *message, bool player_invoked);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_exec_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_exec_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd, message, &player_invoked);
+ retVal___ = postHookFunc(retVal___, fd, sd, message, player_invoked);
}
}
return retVal___;
@@ -203,10 +203,10 @@ bool HP_atcommand_create(char *name, AtCommandFunc func) {
retVal___ = HPMHooks.source.atcommand.create(name, func);
}
if( HPMHooks.count.HP_atcommand_create_post ) {
- bool (*postHookFunc) (bool retVal___, char *name, AtCommandFunc *func);
+ bool (*postHookFunc) (bool retVal___, char *name, AtCommandFunc func);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, name, &func);
+ retVal___ = postHookFunc(retVal___, name, func);
}
}
return retVal___;
@@ -257,10 +257,10 @@ bool HP_atcommand_can_use2(struct map_session_data *sd, const char *command, AtC
retVal___ = HPMHooks.source.atcommand.can_use2(sd, command, type);
}
if( HPMHooks.count.HP_atcommand_can_use2_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const char *command, AtCommandType *type);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const char *command, AtCommandType type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_can_use2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_can_use2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, command, &type);
+ retVal___ = postHookFunc(retVal___, sd, command, type);
}
}
return retVal___;
@@ -283,10 +283,10 @@ void HP_atcommand_load_groups(GroupSettings **groups, struct config_setting_t **
HPMHooks.source.atcommand.load_groups(groups, commands_, sz);
}
if( HPMHooks.count.HP_atcommand_load_groups_post ) {
- void (*postHookFunc) (GroupSettings **groups, struct config_setting_t **commands_, size_t *sz);
+ void (*postHookFunc) (GroupSettings **groups, struct config_setting_t **commands_, size_t sz);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_load_groups_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_load_groups_post[hIndex].func;
- postHookFunc(groups, commands_, &sz);
+ postHookFunc(groups, commands_, sz);
}
}
return;
@@ -337,10 +337,10 @@ bool HP_atcommand_msg_read(const char *cfg_name, bool allow_override) {
retVal___ = HPMHooks.source.atcommand.msg_read(cfg_name, allow_override);
}
if( HPMHooks.count.HP_atcommand_msg_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_atcommand_msg_read_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_msg_read_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, cfg_name, &allow_override);
+ retVal___ = postHookFunc(retVal___, cfg_name, allow_override);
}
}
return retVal___;
@@ -470,10 +470,10 @@ void HP_atcommand_get_suggestions(struct map_session_data *sd, const char *name,
HPMHooks.source.atcommand.get_suggestions(sd, name, is_atcmd_cmd);
}
if( HPMHooks.count.HP_atcommand_get_suggestions_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const char *name, bool *is_atcmd_cmd);
+ void (*postHookFunc) (struct map_session_data *sd, const char *name, bool is_atcmd_cmd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_get_suggestions_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_get_suggestions_post[hIndex].func;
- postHookFunc(sd, name, &is_atcmd_cmd);
+ postHookFunc(sd, name, is_atcmd_cmd);
}
}
return;
@@ -680,10 +680,10 @@ void HP_atcommand_get_jail_time(int jailtime, int *year, int *month, int *day, i
HPMHooks.source.atcommand.get_jail_time(jailtime, year, month, day, hour, minute);
}
if( HPMHooks.count.HP_atcommand_get_jail_time_post ) {
- void (*postHookFunc) (int *jailtime, int *year, int *month, int *day, int *hour, int *minute);
+ void (*postHookFunc) (int jailtime, int *year, int *month, int *day, int *hour, int *minute);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_get_jail_time_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_get_jail_time_post[hIndex].func;
- postHookFunc(&jailtime, year, month, day, hour, minute);
+ postHookFunc(jailtime, year, month, day, hour, minute);
}
}
return;
@@ -798,10 +798,10 @@ void HP_atcommand_channel_help(int fd, const char *command, bool can_create) {
HPMHooks.source.atcommand.channel_help(fd, command, can_create);
}
if( HPMHooks.count.HP_atcommand_channel_help_post ) {
- void (*postHookFunc) (int *fd, const char *command, bool *can_create);
+ void (*postHookFunc) (int fd, const char *command, bool can_create);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_channel_help_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_channel_help_post[hIndex].func;
- postHookFunc(&fd, command, &can_create);
+ postHookFunc(fd, command, can_create);
}
}
return;
@@ -824,10 +824,10 @@ void HP_atcommand_commands_sub(struct map_session_data *sd, const int fd, AtComm
HPMHooks.source.atcommand.commands_sub(sd, fd, type);
}
if( HPMHooks.count.HP_atcommand_commands_sub_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const int *fd, AtCommandType *type);
+ void (*postHookFunc) (struct map_session_data *sd, const int fd, AtCommandType type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_commands_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_commands_sub_post[hIndex].func;
- postHookFunc(sd, &fd, &type);
+ postHookFunc(sd, fd, type);
}
}
return;
@@ -881,11 +881,11 @@ int HP_atcommand_cmd_db_clear_sub(union DBKey key, struct DBData *data, va_list
va_end(args___copy);
}
if( HPMHooks.count.HP_atcommand_cmd_db_clear_sub_post ) {
- int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list args);
+ int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list args);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_cmd_db_clear_sub_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_atcommand_cmd_db_clear_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, args___copy);
+ retVal___ = postHookFunc(retVal___, key, data, args___copy);
va_end(args___copy);
}
}
@@ -962,10 +962,10 @@ bool HP_atcommand_add(char *name, AtCommandFunc func, bool replace) {
retVal___ = HPMHooks.source.atcommand.add(name, func, replace);
}
if( HPMHooks.count.HP_atcommand_add_post ) {
- bool (*postHookFunc) (bool retVal___, char *name, AtCommandFunc *func, bool *replace);
+ bool (*postHookFunc) (bool retVal___, char *name, AtCommandFunc func, bool replace);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_add_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, name, &func, &replace);
+ retVal___ = postHookFunc(retVal___, name, func, replace);
}
}
return retVal___;
@@ -989,10 +989,10 @@ const char* HP_atcommand_msg(int msg_number) {
retVal___ = HPMHooks.source.atcommand.msg(msg_number);
}
if( HPMHooks.count.HP_atcommand_msg_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_atcommand_msg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_msg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &msg_number);
+ retVal___ = postHookFunc(retVal___, msg_number);
}
}
return retVal___;
@@ -1042,10 +1042,10 @@ const char* HP_atcommand_msgfd(int fd, int msg_number) {
retVal___ = HPMHooks.source.atcommand.msgfd(fd, msg_number);
}
if( HPMHooks.count.HP_atcommand_msgfd_post ) {
- const char* (*postHookFunc) (const char* retVal___, int *fd, int *msg_number);
+ const char* (*postHookFunc) (const char* retVal___, int fd, int msg_number);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_msgfd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_msgfd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, &msg_number);
+ retVal___ = postHookFunc(retVal___, fd, msg_number);
}
}
return retVal___;
@@ -1069,10 +1069,10 @@ const char* HP_atcommand_msgsd(struct map_session_data *sd, int msg_number) {
retVal___ = HPMHooks.source.atcommand.msgsd(sd, msg_number);
}
if( HPMHooks.count.HP_atcommand_msgsd_post ) {
- const char* (*postHookFunc) (const char* retVal___, struct map_session_data *sd, int *msg_number);
+ const char* (*postHookFunc) (const char* retVal___, struct map_session_data *sd, int msg_number);
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_msgsd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_atcommand_msgsd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &msg_number);
+ retVal___ = postHookFunc(retVal___, sd, msg_number);
}
}
return retVal___;
@@ -1096,10 +1096,10 @@ void HP_battle_init(bool minimal) {
HPMHooks.source.battle.init(minimal);
}
if( HPMHooks.count.HP_battle_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -1149,10 +1149,10 @@ struct Damage HP_battle_calc_attack(int attack_type, struct block_list *bl, stru
retVal___ = HPMHooks.source.battle.calc_attack(attack_type, bl, target, skill_id, skill_lv, count);
}
if( HPMHooks.count.HP_battle_calc_attack_post ) {
- struct Damage (*postHookFunc) (struct Damage retVal___, int *attack_type, struct block_list *bl, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *count);
+ struct Damage (*postHookFunc) (struct Damage retVal___, int attack_type, struct block_list *bl, struct block_list *target, uint16 skill_id, uint16 skill_lv, int count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_attack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_attack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &attack_type, bl, target, &skill_id, &skill_lv, &count);
+ retVal___ = postHookFunc(retVal___, attack_type, bl, target, skill_id, skill_lv, count);
}
}
return retVal___;
@@ -1176,10 +1176,10 @@ int64 HP_battle_calc_damage(struct block_list *src, struct block_list *bl, struc
retVal___ = HPMHooks.source.battle.calc_damage(src, bl, d, damage, skill_id, skill_lv);
}
if( HPMHooks.count.HP_battle_calc_damage_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, struct Damage *d, int64 *damage, uint16 *skill_id, uint16 *skill_lv);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, struct Damage *d, int64 damage, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, d, &damage, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, src, bl, d, damage, skill_id, skill_lv);
}
}
return retVal___;
@@ -1203,10 +1203,10 @@ int64 HP_battle_calc_gvg_damage(struct block_list *src, struct block_list *bl, i
retVal___ = HPMHooks.source.battle.calc_gvg_damage(src, bl, damage, div_, skill_id, skill_lv, flag);
}
if( HPMHooks.count.HP_battle_calc_gvg_damage_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 damage, int div_, uint16 skill_id, uint16 skill_lv, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_gvg_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_gvg_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &damage, &div_, &skill_id, &skill_lv, &flag);
+ retVal___ = postHookFunc(retVal___, src, bl, damage, div_, skill_id, skill_lv, flag);
}
}
return retVal___;
@@ -1230,10 +1230,10 @@ int64 HP_battle_calc_bg_damage(struct block_list *src, struct block_list *bl, in
retVal___ = HPMHooks.source.battle.calc_bg_damage(src, bl, damage, div_, skill_id, skill_lv, flag);
}
if( HPMHooks.count.HP_battle_calc_bg_damage_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 damage, int div_, uint16 skill_id, uint16 skill_lv, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_bg_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_bg_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &damage, &div_, &skill_id, &skill_lv, &flag);
+ retVal___ = postHookFunc(retVal___, src, bl, damage, div_, skill_id, skill_lv, flag);
}
}
return retVal___;
@@ -1257,10 +1257,10 @@ enum damage_lv HP_battle_weapon_attack(struct block_list *bl, struct block_list
retVal___ = HPMHooks.source.battle.weapon_attack(bl, target, tick, flag);
}
if( HPMHooks.count.HP_battle_weapon_attack_post ) {
- enum damage_lv (*postHookFunc) (enum damage_lv retVal___, struct block_list *bl, struct block_list *target, int64 *tick, int *flag);
+ enum damage_lv (*postHookFunc) (enum damage_lv retVal___, struct block_list *bl, struct block_list *target, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_weapon_attack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_weapon_attack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, target, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, bl, target, tick, flag);
}
}
return retVal___;
@@ -1284,10 +1284,10 @@ struct Damage HP_battle_calc_weapon_attack(struct block_list *src, struct block_
retVal___ = HPMHooks.source.battle.calc_weapon_attack(src, target, skill_id, skill_lv, wflag);
}
if( HPMHooks.count.HP_battle_calc_weapon_attack_post ) {
- struct Damage (*postHookFunc) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *wflag);
+ struct Damage (*postHookFunc) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int wflag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_weapon_attack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_weapon_attack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &skill_lv, &wflag);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, skill_lv, wflag);
}
}
return retVal___;
@@ -1311,10 +1311,10 @@ int HP_battle_delay_damage(int64 tick, int amotion, struct block_list *src, stru
retVal___ = HPMHooks.source.battle.delay_damage(tick, amotion, src, target, attack_type, skill_id, skill_lv, damage, dmg_lv, ddelay, additional_effects);
}
if( HPMHooks.count.HP_battle_delay_damage_post ) {
- int (*postHookFunc) (int retVal___, int64 *tick, int *amotion, struct block_list *src, struct block_list *target, int *attack_type, uint16 *skill_id, uint16 *skill_lv, int64 *damage, enum damage_lv *dmg_lv, int *ddelay, bool *additional_effects);
+ int (*postHookFunc) (int retVal___, int64 tick, int amotion, struct block_list *src, struct block_list *target, int attack_type, uint16 skill_id, uint16 skill_lv, int64 damage, enum damage_lv dmg_lv, int ddelay, bool additional_effects);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_delay_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_delay_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tick, &amotion, src, target, &attack_type, &skill_id, &skill_lv, &damage, &dmg_lv, &ddelay, &additional_effects);
+ retVal___ = postHookFunc(retVal___, tick, amotion, src, target, attack_type, skill_id, skill_lv, damage, dmg_lv, ddelay, additional_effects);
}
}
return retVal___;
@@ -1337,10 +1337,10 @@ void HP_battle_drain(struct map_session_data *sd, struct block_list *tbl, int64
HPMHooks.source.battle.drain(sd, tbl, rdamage, ldamage, race, boss);
}
if( HPMHooks.count.HP_battle_drain_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct block_list *tbl, int64 *rdamage, int64 *ldamage, int *race, int *boss);
+ void (*postHookFunc) (struct map_session_data *sd, struct block_list *tbl, int64 rdamage, int64 ldamage, int race, int boss);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_drain_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_drain_post[hIndex].func;
- postHookFunc(sd, tbl, &rdamage, &ldamage, &race, &boss);
+ postHookFunc(sd, tbl, rdamage, ldamage, race, boss);
}
}
return;
@@ -1363,10 +1363,10 @@ void HP_battle_reflect_damage(struct block_list *target, struct block_list *src,
HPMHooks.source.battle.reflect_damage(target, src, wd, skill_id);
}
if( HPMHooks.count.HP_battle_reflect_damage_post ) {
- void (*postHookFunc) (struct block_list *target, struct block_list *src, struct Damage *wd, uint16 *skill_id);
+ void (*postHookFunc) (struct block_list *target, struct block_list *src, struct Damage *wd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_reflect_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_reflect_damage_post[hIndex].func;
- postHookFunc(target, src, wd, &skill_id);
+ postHookFunc(target, src, wd, skill_id);
}
}
return;
@@ -1390,10 +1390,10 @@ int HP_battle_attr_ratio(int atk_elem, int def_type, int def_lv) {
retVal___ = HPMHooks.source.battle.attr_ratio(atk_elem, def_type, def_lv);
}
if( HPMHooks.count.HP_battle_attr_ratio_post ) {
- int (*postHookFunc) (int retVal___, int *atk_elem, int *def_type, int *def_lv);
+ int (*postHookFunc) (int retVal___, int atk_elem, int def_type, int def_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_attr_ratio_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_attr_ratio_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &atk_elem, &def_type, &def_lv);
+ retVal___ = postHookFunc(retVal___, atk_elem, def_type, def_lv);
}
}
return retVal___;
@@ -1417,10 +1417,10 @@ int64 HP_battle_attr_fix(struct block_list *src, struct block_list *target, int6
retVal___ = HPMHooks.source.battle.attr_fix(src, target, damage, atk_elem, def_type, def_lv);
}
if( HPMHooks.count.HP_battle_attr_fix_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *target, int64 *damage, int *atk_elem, int *def_type, int *def_lv);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *target, int64 damage, int atk_elem, int def_type, int def_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_attr_fix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_attr_fix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &damage, &atk_elem, &def_type, &def_lv);
+ retVal___ = postHookFunc(retVal___, src, target, damage, atk_elem, def_type, def_lv);
}
}
return retVal___;
@@ -1444,10 +1444,10 @@ int64 HP_battle_calc_cardfix(int attack_type, struct block_list *src, struct blo
retVal___ = HPMHooks.source.battle.calc_cardfix(attack_type, src, target, nk, s_ele, s_ele_, damage, left, flag);
}
if( HPMHooks.count.HP_battle_calc_cardfix_post ) {
- int64 (*postHookFunc) (int64 retVal___, int *attack_type, struct block_list *src, struct block_list *target, int *nk, int *s_ele, int *s_ele_, int64 *damage, int *left, int *flag);
+ int64 (*postHookFunc) (int64 retVal___, int attack_type, struct block_list *src, struct block_list *target, int nk, int s_ele, int s_ele_, int64 damage, int left, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_cardfix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_cardfix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &attack_type, src, target, &nk, &s_ele, &s_ele_, &damage, &left, &flag);
+ retVal___ = postHookFunc(retVal___, attack_type, src, target, nk, s_ele, s_ele_, damage, left, flag);
}
}
return retVal___;
@@ -1471,10 +1471,10 @@ int64 HP_battle_calc_cardfix2(struct block_list *src, struct block_list *bl, int
retVal___ = HPMHooks.source.battle.calc_cardfix2(src, bl, damage, s_ele, nk, flag);
}
if( HPMHooks.count.HP_battle_calc_cardfix2_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 *damage, int *s_ele, int *nk, int *flag);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, int64 damage, int s_ele, int nk, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_cardfix2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_cardfix2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &damage, &s_ele, &nk, &flag);
+ retVal___ = postHookFunc(retVal___, src, bl, damage, s_ele, nk, flag);
}
}
return retVal___;
@@ -1498,10 +1498,10 @@ int64 HP_battle_calc_elefix(struct block_list *src, struct block_list *target, u
retVal___ = HPMHooks.source.battle.calc_elefix(src, target, skill_id, skill_lv, damage, nk, n_ele, s_ele, s_ele_, left, flag);
}
if( HPMHooks.count.HP_battle_calc_elefix_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *nk, int *n_ele, int *s_ele, int *s_ele_, bool *left, int *flag);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int64 damage, int nk, int n_ele, int s_ele, int s_ele_, bool left, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_elefix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_elefix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &skill_lv, &damage, &nk, &n_ele, &s_ele, &s_ele_, &left, &flag);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, skill_lv, damage, nk, n_ele, s_ele, s_ele_, left, flag);
}
}
return retVal___;
@@ -1525,10 +1525,10 @@ int64 HP_battle_calc_masteryfix(struct block_list *src, struct block_list *targe
retVal___ = HPMHooks.source.battle.calc_masteryfix(src, target, skill_id, skill_lv, damage, div, left, weapon);
}
if( HPMHooks.count.HP_battle_calc_masteryfix_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *div, bool *left, bool *weapon);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int64 damage, int div, bool left, bool weapon);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_masteryfix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_masteryfix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &skill_lv, &damage, &div, &left, &weapon);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, skill_lv, damage, div, left, weapon);
}
}
return retVal___;
@@ -1579,10 +1579,10 @@ int HP_battle_calc_skillratio(int attack_type, struct block_list *src, struct bl
retVal___ = HPMHooks.source.battle.calc_skillratio(attack_type, src, target, skill_id, skill_lv, skillratio, flag);
}
if( HPMHooks.count.HP_battle_calc_skillratio_post ) {
- int (*postHookFunc) (int retVal___, int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag);
+ int (*postHookFunc) (int retVal___, int attack_type, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int skillratio, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_skillratio_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_skillratio_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &attack_type, src, target, &skill_id, &skill_lv, &skillratio, &flag);
+ retVal___ = postHookFunc(retVal___, attack_type, src, target, skill_id, skill_lv, skillratio, flag);
}
}
return retVal___;
@@ -1606,10 +1606,10 @@ int64 HP_battle_calc_sizefix(struct map_session_data *sd, int64 damage, int type
retVal___ = HPMHooks.source.battle.calc_sizefix(sd, damage, type, size, ignore);
}
if( HPMHooks.count.HP_battle_calc_sizefix_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct map_session_data *sd, int64 *damage, int *type, int *size, bool *ignore);
+ int64 (*postHookFunc) (int64 retVal___, struct map_session_data *sd, int64 damage, int type, int size, bool ignore);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_sizefix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_sizefix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &damage, &type, &size, &ignore);
+ retVal___ = postHookFunc(retVal___, sd, damage, type, size, ignore);
}
}
return retVal___;
@@ -1633,10 +1633,10 @@ int64 HP_battle_calc_weapon_damage(struct block_list *src, struct block_list *bl
retVal___ = HPMHooks.source.battle.calc_weapon_damage(src, bl, skill_id, skill_lv, watk, nk, n_ele, s_ele, s_ele_, size, type, flag, flag2);
}
if( HPMHooks.count.HP_battle_calc_weapon_damage_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, struct weapon_atk *watk, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *size, int *type, int *flag, int *flag2);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, struct weapon_atk *watk, int nk, bool n_ele, short s_ele, short s_ele_, int size, int type, int flag, int flag2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_weapon_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_weapon_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &skill_id, &skill_lv, watk, &nk, &n_ele, &s_ele, &s_ele_, &size, &type, &flag, &flag2);
+ retVal___ = postHookFunc(retVal___, src, bl, skill_id, skill_lv, watk, nk, n_ele, s_ele, s_ele_, size, type, flag, flag2);
}
}
return retVal___;
@@ -1660,10 +1660,10 @@ int64 HP_battle_calc_defense(int attack_type, struct block_list *src, struct blo
retVal___ = HPMHooks.source.battle.calc_defense(attack_type, src, target, skill_id, skill_lv, damage, flag, pdef);
}
if( HPMHooks.count.HP_battle_calc_defense_post ) {
- int64 (*postHookFunc) (int64 retVal___, int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *flag, int *pdef);
+ int64 (*postHookFunc) (int64 retVal___, int attack_type, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int64 damage, int flag, int pdef);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_defense_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_defense_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &attack_type, src, target, &skill_id, &skill_lv, &damage, &flag, &pdef);
+ retVal___ = postHookFunc(retVal___, attack_type, src, target, skill_id, skill_lv, damage, flag, pdef);
}
}
return retVal___;
@@ -1741,10 +1741,10 @@ struct block_list* HP_battle_get_enemy(struct block_list *target, int type, int
retVal___ = HPMHooks.source.battle.get_enemy(target, type, range);
}
if( HPMHooks.count.HP_battle_get_enemy_post ) {
- struct block_list* (*postHookFunc) (struct block_list* retVal___, struct block_list *target, int *type, int *range);
+ struct block_list* (*postHookFunc) (struct block_list* retVal___, struct block_list *target, int type, int range);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_enemy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_get_enemy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, target, &type, &range);
+ retVal___ = postHookFunc(retVal___, target, type, range);
}
}
return retVal___;
@@ -1822,10 +1822,10 @@ bool HP_battle_check_undead(int race, int element) {
retVal___ = HPMHooks.source.battle.check_undead(race, element);
}
if( HPMHooks.count.HP_battle_check_undead_post ) {
- bool (*postHookFunc) (bool retVal___, int *race, int *element);
+ bool (*postHookFunc) (bool retVal___, int race, int element);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_check_undead_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_check_undead_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &race, &element);
+ retVal___ = postHookFunc(retVal___, race, element);
}
}
return retVal___;
@@ -1849,10 +1849,10 @@ int HP_battle_check_target(struct block_list *src, struct block_list *target, in
retVal___ = HPMHooks.source.battle.check_target(src, target, flag);
}
if( HPMHooks.count.HP_battle_check_target_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_check_target_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_check_target_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &flag);
+ retVal___ = postHookFunc(retVal___, src, target, flag);
}
}
return retVal___;
@@ -1876,10 +1876,10 @@ bool HP_battle_check_range(struct block_list *src, struct block_list *bl, int ra
retVal___ = HPMHooks.source.battle.check_range(src, bl, range);
}
if( HPMHooks.count.HP_battle_check_range_post ) {
- bool (*postHookFunc) (bool retVal___, struct block_list *src, struct block_list *bl, int *range);
+ bool (*postHookFunc) (bool retVal___, struct block_list *src, struct block_list *bl, int range);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_check_range_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_check_range_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &range);
+ retVal___ = postHookFunc(retVal___, src, bl, range);
}
}
return retVal___;
@@ -1902,10 +1902,10 @@ void HP_battle_consume_ammo(struct map_session_data *sd, int skill_id, int lv) {
HPMHooks.source.battle.consume_ammo(sd, skill_id, lv);
}
if( HPMHooks.count.HP_battle_consume_ammo_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *skill_id, int *lv);
+ void (*postHookFunc) (struct map_session_data *sd, int skill_id, int lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_consume_ammo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_consume_ammo_post[hIndex].func;
- postHookFunc(sd, &skill_id, &lv);
+ postHookFunc(sd, skill_id, lv);
}
}
return;
@@ -2028,10 +2028,10 @@ int HP_battle_delay_damage_sub(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.battle.delay_damage_sub(tid, tick, id, data);
}
if( HPMHooks.count.HP_battle_delay_damage_sub_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_battle_delay_damage_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_delay_damage_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -2055,10 +2055,10 @@ int HP_battle_blewcount_bonus(struct map_session_data *sd, uint16 skill_id) {
retVal___ = HPMHooks.source.battle.blewcount_bonus(sd, skill_id);
}
if( HPMHooks.count.HP_battle_blewcount_bonus_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_blewcount_bonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_blewcount_bonus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -2082,10 +2082,10 @@ int HP_battle_range_type(struct block_list *src, struct block_list *target, uint
retVal___ = HPMHooks.source.battle.range_type(src, target, skill_id, skill_lv);
}
if( HPMHooks.count.HP_battle_range_type_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_range_type_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_range_type_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, skill_lv);
}
}
return retVal___;
@@ -2109,10 +2109,10 @@ int64 HP_battle_calc_base_damage(struct block_list *src, struct block_list *bl,
retVal___ = HPMHooks.source.battle.calc_base_damage(src, bl, skill_id, skill_lv, nk, n_ele, s_ele, s_ele_, type, flag, flag2);
}
if( HPMHooks.count.HP_battle_calc_base_damage_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *type, int *flag, int *flag2);
+ int64 (*postHookFunc) (int64 retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int nk, bool n_ele, short s_ele, short s_ele_, int type, int flag, int flag2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_base_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_base_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &skill_id, &skill_lv, &nk, &n_ele, &s_ele, &s_ele_, &type, &flag, &flag2);
+ retVal___ = postHookFunc(retVal___, src, bl, skill_id, skill_lv, nk, n_ele, s_ele, s_ele_, type, flag, flag2);
}
}
return retVal___;
@@ -2136,10 +2136,10 @@ int64 HP_battle_calc_base_damage2(struct status_data *st, struct weapon_atk *wa,
retVal___ = HPMHooks.source.battle.calc_base_damage2(st, wa, sc, t_size, sd, flag);
}
if( HPMHooks.count.HP_battle_calc_base_damage2_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct status_data *st, struct weapon_atk *wa, struct status_change *sc, unsigned short *t_size, struct map_session_data *sd, int *flag);
+ int64 (*postHookFunc) (int64 retVal___, struct status_data *st, struct weapon_atk *wa, struct status_change *sc, unsigned short t_size, struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_base_damage2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_base_damage2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, st, wa, sc, &t_size, sd, &flag);
+ retVal___ = postHookFunc(retVal___, st, wa, sc, t_size, sd, flag);
}
}
return retVal___;
@@ -2163,10 +2163,10 @@ struct Damage HP_battle_calc_misc_attack(struct block_list *src, struct block_li
retVal___ = HPMHooks.source.battle.calc_misc_attack(src, target, skill_id, skill_lv, mflag);
}
if( HPMHooks.count.HP_battle_calc_misc_attack_post ) {
- struct Damage (*postHookFunc) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
+ struct Damage (*postHookFunc) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int mflag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_misc_attack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_misc_attack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &skill_lv, &mflag);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, skill_lv, mflag);
}
}
return retVal___;
@@ -2190,10 +2190,10 @@ struct Damage HP_battle_calc_magic_attack(struct block_list *src, struct block_l
retVal___ = HPMHooks.source.battle.calc_magic_attack(src, target, skill_id, skill_lv, mflag);
}
if( HPMHooks.count.HP_battle_calc_magic_attack_post ) {
- struct Damage (*postHookFunc) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
+ struct Damage (*postHookFunc) (struct Damage retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int mflag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_magic_attack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_magic_attack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &skill_lv, &mflag);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, skill_lv, mflag);
}
}
return retVal___;
@@ -2217,10 +2217,10 @@ int HP_battle_adjust_skill_damage(int m, unsigned short skill_id) {
retVal___ = HPMHooks.source.battle.adjust_skill_damage(m, skill_id);
}
if( HPMHooks.count.HP_battle_adjust_skill_damage_post ) {
- int (*postHookFunc) (int retVal___, int *m, unsigned short *skill_id);
+ int (*postHookFunc) (int retVal___, int m, unsigned short skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_adjust_skill_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_adjust_skill_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, &skill_id);
+ retVal___ = postHookFunc(retVal___, m, skill_id);
}
}
return retVal___;
@@ -2244,10 +2244,10 @@ int64 HP_battle_add_mastery(struct map_session_data *sd, struct block_list *targ
retVal___ = HPMHooks.source.battle.add_mastery(sd, target, dmg, type);
}
if( HPMHooks.count.HP_battle_add_mastery_post ) {
- int64 (*postHookFunc) (int64 retVal___, struct map_session_data *sd, struct block_list *target, int64 *dmg, int *type);
+ int64 (*postHookFunc) (int64 retVal___, struct map_session_data *sd, struct block_list *target, int64 dmg, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_add_mastery_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_add_mastery_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, target, &dmg, &type);
+ retVal___ = postHookFunc(retVal___, sd, target, dmg, type);
}
}
return retVal___;
@@ -2271,10 +2271,10 @@ int HP_battle_calc_drain(int64 damage, int rate, int per) {
retVal___ = HPMHooks.source.battle.calc_drain(damage, rate, per);
}
if( HPMHooks.count.HP_battle_calc_drain_post ) {
- int (*postHookFunc) (int retVal___, int64 *damage, int *rate, int *per);
+ int (*postHookFunc) (int retVal___, int64 damage, int rate, int per);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_drain_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_calc_drain_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &damage, &rate, &per);
+ retVal___ = postHookFunc(retVal___, damage, rate, per);
}
}
return retVal___;
@@ -2431,10 +2431,10 @@ struct block_list* HP_battle_get_enemy_area(struct block_list *src, int x, int y
retVal___ = HPMHooks.source.battle.get_enemy_area(src, x, y, range, type, ignore_id);
}
if( HPMHooks.count.HP_battle_get_enemy_area_post ) {
- struct block_list* (*postHookFunc) (struct block_list* retVal___, struct block_list *src, int *x, int *y, int *range, int *type, int *ignore_id);
+ struct block_list* (*postHookFunc) (struct block_list* retVal___, struct block_list *src, int x, int y, int range, int type, int ignore_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_enemy_area_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_battle_get_enemy_area_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &x, &y, &range, &type, &ignore_id);
+ retVal___ = postHookFunc(retVal___, src, x, y, range, type, ignore_id);
}
}
return retVal___;
@@ -2595,10 +2595,10 @@ void HP_bg_init(bool minimal) {
HPMHooks.source.bg.init(minimal);
}
if( HPMHooks.count.HP_bg_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -2674,10 +2674,10 @@ void HP_bg_queue_add(struct map_session_data *sd, struct bg_arena *arena, enum b
HPMHooks.source.bg.queue_add(sd, arena, type);
}
if( HPMHooks.count.HP_bg_queue_add_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types *type);
+ void (*postHookFunc) (struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_queue_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_queue_add_post[hIndex].func;
- postHookFunc(sd, arena, &type);
+ postHookFunc(sd, arena, type);
}
}
return;
@@ -2701,10 +2701,10 @@ enum BATTLEGROUNDS_QUEUE_ACK HP_bg_can_queue(struct map_session_data *sd, struct
retVal___ = HPMHooks.source.bg.can_queue(sd, arena, type);
}
if( HPMHooks.count.HP_bg_can_queue_post ) {
- enum BATTLEGROUNDS_QUEUE_ACK (*postHookFunc) (enum BATTLEGROUNDS_QUEUE_ACK retVal___, struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types *type);
+ enum BATTLEGROUNDS_QUEUE_ACK (*postHookFunc) (enum BATTLEGROUNDS_QUEUE_ACK retVal___, struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_can_queue_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_can_queue_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, arena, &type);
+ retVal___ = postHookFunc(retVal___, sd, arena, type);
}
}
return retVal___;
@@ -2728,10 +2728,10 @@ int HP_bg_id2pos(int queue_id, int account_id) {
retVal___ = HPMHooks.source.bg.id2pos(queue_id, account_id);
}
if( HPMHooks.count.HP_bg_id2pos_post ) {
- int (*postHookFunc) (int retVal___, int *queue_id, int *account_id);
+ int (*postHookFunc) (int retVal___, int queue_id, int account_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_id2pos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_id2pos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &queue_id, &account_id);
+ retVal___ = postHookFunc(retVal___, queue_id, account_id);
}
}
return retVal___;
@@ -2807,10 +2807,10 @@ int HP_bg_begin_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.bg.begin_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_bg_begin_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_bg_begin_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_begin_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -2860,10 +2860,10 @@ int HP_bg_fillup_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.bg.fillup_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_bg_fillup_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_bg_fillup_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_fillup_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -2886,10 +2886,10 @@ void HP_bg_queue_ready_ack(struct bg_arena *arena, struct map_session_data *sd,
HPMHooks.source.bg.queue_ready_ack(arena, sd, response);
}
if( HPMHooks.count.HP_bg_queue_ready_ack_post ) {
- void (*postHookFunc) (struct bg_arena *arena, struct map_session_data *sd, bool *response);
+ void (*postHookFunc) (struct bg_arena *arena, struct map_session_data *sd, bool response);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_queue_ready_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_queue_ready_ack_post[hIndex].func;
- postHookFunc(arena, sd, &response);
+ postHookFunc(arena, sd, response);
}
}
return;
@@ -2912,10 +2912,10 @@ void HP_bg_match_over(struct bg_arena *arena, bool canceled) {
HPMHooks.source.bg.match_over(arena, canceled);
}
if( HPMHooks.count.HP_bg_match_over_post ) {
- void (*postHookFunc) (struct bg_arena *arena, bool *canceled);
+ void (*postHookFunc) (struct bg_arena *arena, bool canceled);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_match_over_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_match_over_post[hIndex].func;
- postHookFunc(arena, &canceled);
+ postHookFunc(arena, canceled);
}
}
return;
@@ -2965,10 +2965,10 @@ struct battleground_data* HP_bg_team_search(int bg_id) {
retVal___ = HPMHooks.source.bg.team_search(bg_id);
}
if( HPMHooks.count.HP_bg_team_search_post ) {
- struct battleground_data* (*postHookFunc) (struct battleground_data* retVal___, int *bg_id);
+ struct battleground_data* (*postHookFunc) (struct battleground_data* retVal___, int bg_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_team_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &bg_id);
+ retVal___ = postHookFunc(retVal___, bg_id);
}
}
return retVal___;
@@ -3019,10 +3019,10 @@ bool HP_bg_team_delete(int bg_id) {
retVal___ = HPMHooks.source.bg.team_delete(bg_id);
}
if( HPMHooks.count.HP_bg_team_delete_post ) {
- bool (*postHookFunc) (bool retVal___, int *bg_id);
+ bool (*postHookFunc) (bool retVal___, int bg_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_team_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &bg_id);
+ retVal___ = postHookFunc(retVal___, bg_id);
}
}
return retVal___;
@@ -3046,10 +3046,10 @@ bool HP_bg_team_warp(int bg_id, unsigned short map_index, short x, short y) {
retVal___ = HPMHooks.source.bg.team_warp(bg_id, map_index, x, y);
}
if( HPMHooks.count.HP_bg_team_warp_post ) {
- bool (*postHookFunc) (bool retVal___, int *bg_id, unsigned short *map_index, short *x, short *y);
+ bool (*postHookFunc) (bool retVal___, int bg_id, unsigned short map_index, short x, short y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_warp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_team_warp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &bg_id, &map_index, &x, &y);
+ retVal___ = postHookFunc(retVal___, bg_id, map_index, x, y);
}
}
return retVal___;
@@ -3099,10 +3099,10 @@ bool HP_bg_team_join(int bg_id, struct map_session_data *sd) {
retVal___ = HPMHooks.source.bg.team_join(bg_id, sd);
}
if( HPMHooks.count.HP_bg_team_join_post ) {
- bool (*postHookFunc) (bool retVal___, int *bg_id, struct map_session_data *sd);
+ bool (*postHookFunc) (bool retVal___, int bg_id, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_join_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_team_join_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &bg_id, sd);
+ retVal___ = postHookFunc(retVal___, bg_id, sd);
}
}
return retVal___;
@@ -3126,10 +3126,10 @@ int HP_bg_team_leave(struct map_session_data *sd, enum bg_team_leave_type flag)
retVal___ = HPMHooks.source.bg.team_leave(sd, flag);
}
if( HPMHooks.count.HP_bg_team_leave_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, enum bg_team_leave_type *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, enum bg_team_leave_type flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_leave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_team_leave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &flag);
+ retVal___ = postHookFunc(retVal___, sd, flag);
}
}
return retVal___;
@@ -3180,10 +3180,10 @@ int HP_bg_create(unsigned short map_index, short rx, short ry, const char *ev, c
retVal___ = HPMHooks.source.bg.create(map_index, rx, ry, ev, dev);
}
if( HPMHooks.count.HP_bg_create_post ) {
- int (*postHookFunc) (int retVal___, unsigned short *map_index, short *rx, short *ry, const char *ev, const char *dev);
+ int (*postHookFunc) (int retVal___, unsigned short map_index, short rx, short ry, const char *ev, const char *dev);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &map_index, &rx, &ry, ev, dev);
+ retVal___ = postHookFunc(retVal___, map_index, rx, ry, ev, dev);
}
}
return retVal___;
@@ -3265,11 +3265,11 @@ int HP_bg_send_xy_timer_sub(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_bg_send_xy_timer_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_bg_send_xy_timer_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_bg_send_xy_timer_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -3294,10 +3294,10 @@ int HP_bg_send_xy_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.bg.send_xy_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_bg_send_xy_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_bg_send_xy_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_send_xy_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -3321,10 +3321,10 @@ int HP_bg_afk_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.bg.afk_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_bg_afk_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_bg_afk_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_afk_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -3352,11 +3352,11 @@ int HP_bg_team_db_final(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_bg_team_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_bg_team_db_final_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_bg_team_db_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -3435,10 +3435,10 @@ bool HP_buyingstore_setup(struct map_session_data *sd, unsigned char slots) {
retVal___ = HPMHooks.source.buyingstore.setup(sd, slots);
}
if( HPMHooks.count.HP_buyingstore_setup_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned char *slots);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned char slots);
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_setup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_buyingstore_setup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &slots);
+ retVal___ = postHookFunc(retVal___, sd, slots);
}
}
return retVal___;
@@ -3461,10 +3461,10 @@ void HP_buyingstore_create(struct map_session_data *sd, int zenylimit, unsigned
HPMHooks.source.buyingstore.create(sd, zenylimit, result, storename, itemlist, count);
}
if( HPMHooks.count.HP_buyingstore_create_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *zenylimit, unsigned char *result, const char *storename, const uint8 *itemlist, unsigned int *count);
+ void (*postHookFunc) (struct map_session_data *sd, int zenylimit, unsigned char result, const char *storename, const uint8 *itemlist, unsigned int count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_buyingstore_create_post[hIndex].func;
- postHookFunc(sd, &zenylimit, &result, storename, itemlist, &count);
+ postHookFunc(sd, zenylimit, result, storename, itemlist, count);
}
}
return;
@@ -3513,10 +3513,10 @@ void HP_buyingstore_open(struct map_session_data *sd, int account_id) {
HPMHooks.source.buyingstore.open(sd, account_id);
}
if( HPMHooks.count.HP_buyingstore_open_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *account_id);
+ void (*postHookFunc) (struct map_session_data *sd, int account_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_open_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_buyingstore_open_post[hIndex].func;
- postHookFunc(sd, &account_id);
+ postHookFunc(sd, account_id);
}
}
return;
@@ -3539,10 +3539,10 @@ void HP_buyingstore_trade(struct map_session_data *sd, int account_id, unsigned
HPMHooks.source.buyingstore.trade(sd, account_id, buyer_id, itemlist, count);
}
if( HPMHooks.count.HP_buyingstore_trade_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *account_id, unsigned int *buyer_id, const uint8 *itemlist, unsigned int *count);
+ void (*postHookFunc) (struct map_session_data *sd, int account_id, unsigned int buyer_id, const uint8 *itemlist, unsigned int count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_trade_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_buyingstore_trade_post[hIndex].func;
- postHookFunc(sd, &account_id, &buyer_id, itemlist, &count);
+ postHookFunc(sd, account_id, buyer_id, itemlist, count);
}
}
return;
@@ -3566,10 +3566,10 @@ bool HP_buyingstore_search(struct map_session_data *sd, unsigned short nameid) {
retVal___ = HPMHooks.source.buyingstore.search(sd, nameid);
}
if( HPMHooks.count.HP_buyingstore_search_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned short *nameid);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned short nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_buyingstore_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid);
+ retVal___ = postHookFunc(retVal___, sd, nameid);
}
}
return retVal___;
@@ -3648,10 +3648,10 @@ int HP_channel_init(bool minimal) {
retVal___ = HPMHooks.source.channel.init(minimal);
}
if( HPMHooks.count.HP_channel_init_post ) {
- int (*postHookFunc) (int retVal___, bool *minimal);
+ int (*postHookFunc) (int retVal___, bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_channel_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &minimal);
+ retVal___ = postHookFunc(retVal___, minimal);
}
}
return retVal___;
@@ -3728,10 +3728,10 @@ struct channel_data* HP_channel_create(enum channel_types type, const char *name
retVal___ = HPMHooks.source.channel.create(type, name, color);
}
if( HPMHooks.count.HP_channel_create_post ) {
- struct channel_data* (*postHookFunc) (struct channel_data* retVal___, enum channel_types *type, const char *name, unsigned char *color);
+ struct channel_data* (*postHookFunc) (struct channel_data* retVal___, enum channel_types type, const char *name, unsigned char color);
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_channel_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &type, name, &color);
+ retVal___ = postHookFunc(retVal___, type, name, color);
}
}
return retVal___;
@@ -3860,10 +3860,10 @@ void HP_channel_set_options(struct channel_data *chan, unsigned int options) {
HPMHooks.source.channel.set_options(chan, options);
}
if( HPMHooks.count.HP_channel_set_options_post ) {
- void (*postHookFunc) (struct channel_data *chan, unsigned int *options);
+ void (*postHookFunc) (struct channel_data *chan, unsigned int options);
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_set_options_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_channel_set_options_post[hIndex].func;
- postHookFunc(chan, &options);
+ postHookFunc(chan, options);
}
}
return;
@@ -3912,10 +3912,10 @@ void HP_channel_join_sub(struct channel_data *chan, struct map_session_data *sd,
HPMHooks.source.channel.join_sub(chan, sd, stealth);
}
if( HPMHooks.count.HP_channel_join_sub_post ) {
- void (*postHookFunc) (struct channel_data *chan, struct map_session_data *sd, bool *stealth);
+ void (*postHookFunc) (struct channel_data *chan, struct map_session_data *sd, bool stealth);
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_join_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_channel_join_sub_post[hIndex].func;
- postHookFunc(chan, sd, &stealth);
+ postHookFunc(chan, sd, stealth);
}
}
return;
@@ -3939,10 +3939,10 @@ enum channel_operation_status HP_channel_join(struct channel_data *chan, struct
retVal___ = HPMHooks.source.channel.join(chan, sd, password, silent);
}
if( HPMHooks.count.HP_channel_join_post ) {
- enum channel_operation_status (*postHookFunc) (enum channel_operation_status retVal___, struct channel_data *chan, struct map_session_data *sd, const char *password, bool *silent);
+ enum channel_operation_status (*postHookFunc) (enum channel_operation_status retVal___, struct channel_data *chan, struct map_session_data *sd, const char *password, bool silent);
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_join_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_channel_join_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, chan, sd, password, &silent);
+ retVal___ = postHookFunc(retVal___, chan, sd, password, silent);
}
}
return retVal___;
@@ -4201,10 +4201,10 @@ bool HP_chat_create_pc_chat(struct map_session_data *sd, const char *title, cons
retVal___ = HPMHooks.source.chat.create_pc_chat(sd, title, pass, limit, pub);
}
if( HPMHooks.count.HP_chat_create_pc_chat_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const char *title, const char *pass, int *limit, bool *pub);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const char *title, const char *pass, int limit, bool pub);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_create_pc_chat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chat_create_pc_chat_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, title, pass, &limit, &pub);
+ retVal___ = postHookFunc(retVal___, sd, title, pass, limit, pub);
}
}
return retVal___;
@@ -4228,10 +4228,10 @@ bool HP_chat_join(struct map_session_data *sd, int chatid, const char *pass) {
retVal___ = HPMHooks.source.chat.join(sd, chatid, pass);
}
if( HPMHooks.count.HP_chat_join_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *chatid, const char *pass);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int chatid, const char *pass);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_join_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chat_join_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &chatid, pass);
+ retVal___ = postHookFunc(retVal___, sd, chatid, pass);
}
}
return retVal___;
@@ -4255,10 +4255,10 @@ int HP_chat_leave(struct map_session_data *sd, bool kicked) {
retVal___ = HPMHooks.source.chat.leave(sd, kicked);
}
if( HPMHooks.count.HP_chat_leave_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, bool *kicked);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, bool kicked);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_leave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chat_leave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &kicked);
+ retVal___ = postHookFunc(retVal___, sd, kicked);
}
}
return retVal___;
@@ -4309,10 +4309,10 @@ bool HP_chat_change_status(struct map_session_data *sd, const char *title, const
retVal___ = HPMHooks.source.chat.change_status(sd, title, pass, limit, pub);
}
if( HPMHooks.count.HP_chat_change_status_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const char *title, const char *pass, int *limit, bool *pub);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const char *title, const char *pass, int limit, bool pub);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_change_status_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chat_change_status_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, title, pass, &limit, &pub);
+ retVal___ = postHookFunc(retVal___, sd, title, pass, limit, pub);
}
}
return retVal___;
@@ -4363,10 +4363,10 @@ bool HP_chat_create_npc_chat(struct npc_data *nd, const char *title, int limit,
retVal___ = HPMHooks.source.chat.create_npc_chat(nd, title, limit, pub, trigger, ev, zeny, minLvl, maxLvl);
}
if( HPMHooks.count.HP_chat_create_npc_chat_post ) {
- bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const char *title, int *limit, bool *pub, int *trigger, const char *ev, int *zeny, int *minLvl, int *maxLvl);
+ bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const char *title, int limit, bool pub, int trigger, const char *ev, int zeny, int minLvl, int maxLvl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_create_npc_chat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chat_create_npc_chat_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, title, &limit, &pub, &trigger, ev, &zeny, &minLvl, &maxLvl);
+ retVal___ = postHookFunc(retVal___, nd, title, limit, pub, trigger, ev, zeny, minLvl, maxLvl);
}
}
return retVal___;
@@ -4525,10 +4525,10 @@ struct chat_data* HP_chat_create(struct block_list *bl, const char *title, const
retVal___ = HPMHooks.source.chat.create(bl, title, pass, limit, pub, trigger, ev, zeny, minLvl, maxLvl);
}
if( HPMHooks.count.HP_chat_create_post ) {
- struct chat_data* (*postHookFunc) (struct chat_data* retVal___, struct block_list *bl, const char *title, const char *pass, int *limit, bool *pub, int *trigger, const char *ev, int *zeny, int *minLvl, int *maxLvl);
+ struct chat_data* (*postHookFunc) (struct chat_data* retVal___, struct block_list *bl, const char *title, const char *pass, int limit, bool pub, int trigger, const char *ev, int zeny, int minLvl, int maxLvl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chat_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, title, pass, &limit, &pub, &trigger, ev, &zeny, &minLvl, &maxLvl);
+ retVal___ = postHookFunc(retVal___, bl, title, pass, limit, pub, trigger, ev, zeny, minLvl, maxLvl);
}
}
return retVal___;
@@ -4552,10 +4552,10 @@ void HP_chrif_init(bool minimal) {
HPMHooks.source.chrif.init(minimal);
}
if( HPMHooks.count.HP_chrif_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -4709,10 +4709,10 @@ void HP_chrif_setport(uint16 port) {
HPMHooks.source.chrif.setport(port);
}
if( HPMHooks.count.HP_chrif_setport_post ) {
- void (*postHookFunc) (uint16 *port);
+ void (*postHookFunc) (uint16 port);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_setport_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_setport_post[hIndex].func;
- postHookFunc(&port);
+ postHookFunc(port);
}
}
return;
@@ -4789,10 +4789,10 @@ struct auth_node* HP_chrif_search(int account_id) {
retVal___ = HPMHooks.source.chrif.search(account_id);
}
if( HPMHooks.count.HP_chrif_search_post ) {
- struct auth_node* (*postHookFunc) (struct auth_node* retVal___, int *account_id);
+ struct auth_node* (*postHookFunc) (struct auth_node* retVal___, int account_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id);
+ retVal___ = postHookFunc(retVal___, account_id);
}
}
return retVal___;
@@ -4816,10 +4816,10 @@ struct auth_node* HP_chrif_auth_check(int account_id, int char_id, enum sd_state
retVal___ = HPMHooks.source.chrif.auth_check(account_id, char_id, state);
}
if( HPMHooks.count.HP_chrif_auth_check_post ) {
- struct auth_node* (*postHookFunc) (struct auth_node* retVal___, int *account_id, int *char_id, enum sd_state *state);
+ struct auth_node* (*postHookFunc) (struct auth_node* retVal___, int account_id, int char_id, enum sd_state state);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_auth_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_auth_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &char_id, &state);
+ retVal___ = postHookFunc(retVal___, account_id, char_id, state);
}
}
return retVal___;
@@ -4843,10 +4843,10 @@ bool HP_chrif_auth_delete(int account_id, int char_id, enum sd_state state) {
retVal___ = HPMHooks.source.chrif.auth_delete(account_id, char_id, state);
}
if( HPMHooks.count.HP_chrif_auth_delete_post ) {
- bool (*postHookFunc) (bool retVal___, int *account_id, int *char_id, enum sd_state *state);
+ bool (*postHookFunc) (bool retVal___, int account_id, int char_id, enum sd_state state);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_auth_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_auth_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &char_id, &state);
+ retVal___ = postHookFunc(retVal___, account_id, char_id, state);
}
}
return retVal___;
@@ -4896,10 +4896,10 @@ void HP_chrif_authreq(struct map_session_data *sd, bool hstandalone) {
HPMHooks.source.chrif.authreq(sd, hstandalone);
}
if( HPMHooks.count.HP_chrif_authreq_post ) {
- void (*postHookFunc) (struct map_session_data *sd, bool *hstandalone);
+ void (*postHookFunc) (struct map_session_data *sd, bool hstandalone);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_authreq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_authreq_post[hIndex].func;
- postHookFunc(sd, &hstandalone);
+ postHookFunc(sd, hstandalone);
}
}
return;
@@ -4922,10 +4922,10 @@ void HP_chrif_authok(int fd) {
HPMHooks.source.chrif.authok(fd);
}
if( HPMHooks.count.HP_chrif_authok_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_authok_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_authok_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -4949,10 +4949,10 @@ bool HP_chrif_scdata_request(int account_id, int char_id) {
retVal___ = HPMHooks.source.chrif.scdata_request(account_id, char_id);
}
if( HPMHooks.count.HP_chrif_scdata_request_post ) {
- bool (*postHookFunc) (bool retVal___, int *account_id, int *char_id);
+ bool (*postHookFunc) (bool retVal___, int account_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_scdata_request_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_scdata_request_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &char_id);
+ retVal___ = postHookFunc(retVal___, account_id, char_id);
}
}
return retVal___;
@@ -4976,10 +4976,10 @@ bool HP_chrif_save(struct map_session_data *sd, int flag) {
retVal___ = HPMHooks.source.chrif.save(sd, flag);
}
if( HPMHooks.count.HP_chrif_save_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *flag);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_save_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_save_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &flag);
+ retVal___ = postHookFunc(retVal___, sd, flag);
}
}
return retVal___;
@@ -5003,10 +5003,10 @@ bool HP_chrif_charselectreq(struct map_session_data *sd, uint32 s_ip) {
retVal___ = HPMHooks.source.chrif.charselectreq(sd, s_ip);
}
if( HPMHooks.count.HP_chrif_charselectreq_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, uint32 *s_ip);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, uint32 s_ip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_charselectreq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_charselectreq_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &s_ip);
+ retVal___ = postHookFunc(retVal___, sd, s_ip);
}
}
return retVal___;
@@ -5030,10 +5030,10 @@ bool HP_chrif_changemapserver(struct map_session_data *sd, uint32 ip, uint16 por
retVal___ = HPMHooks.source.chrif.changemapserver(sd, ip, port);
}
if( HPMHooks.count.HP_chrif_changemapserver_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, uint32 *ip, uint16 *port);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, uint32 ip, uint16 port);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_changemapserver_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_changemapserver_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &ip, &port);
+ retVal___ = postHookFunc(retVal___, sd, ip, port);
}
}
return retVal___;
@@ -5057,10 +5057,10 @@ bool HP_chrif_searchcharid(int char_id) {
retVal___ = HPMHooks.source.chrif.searchcharid(char_id);
}
if( HPMHooks.count.HP_chrif_searchcharid_post ) {
- bool (*postHookFunc) (bool retVal___, int *char_id);
+ bool (*postHookFunc) (bool retVal___, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_searchcharid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_searchcharid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id);
+ retVal___ = postHookFunc(retVal___, char_id);
}
}
return retVal___;
@@ -5084,10 +5084,10 @@ bool HP_chrif_changeemail(int id, const char *actual_email, const char *new_emai
retVal___ = HPMHooks.source.chrif.changeemail(id, actual_email, new_email);
}
if( HPMHooks.count.HP_chrif_changeemail_post ) {
- bool (*postHookFunc) (bool retVal___, int *id, const char *actual_email, const char *new_email);
+ bool (*postHookFunc) (bool retVal___, int id, const char *actual_email, const char *new_email);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_changeemail_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_changeemail_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id, actual_email, new_email);
+ retVal___ = postHookFunc(retVal___, id, actual_email, new_email);
}
}
return retVal___;
@@ -5111,10 +5111,10 @@ bool HP_chrif_char_ask_name(int acc, const char *character_name, unsigned short
retVal___ = HPMHooks.source.chrif.char_ask_name(acc, character_name, operation_type, year, month, day, hour, minute, second);
}
if( HPMHooks.count.HP_chrif_char_ask_name_post ) {
- bool (*postHookFunc) (bool retVal___, int *acc, const char *character_name, unsigned short *operation_type, int *year, int *month, int *day, int *hour, int *minute, int *second);
+ bool (*postHookFunc) (bool retVal___, int acc, const char *character_name, unsigned short operation_type, int year, int month, int day, int hour, int minute, int second);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_char_ask_name_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_char_ask_name_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &acc, character_name, &operation_type, &year, &month, &day, &hour, &minute, &second);
+ retVal___ = postHookFunc(retVal___, acc, character_name, operation_type, year, month, day, hour, minute, second);
}
}
return retVal___;
@@ -5219,10 +5219,10 @@ bool HP_chrif_ragsrvinfo(int base_rate, int job_rate, int drop_rate) {
retVal___ = HPMHooks.source.chrif.ragsrvinfo(base_rate, job_rate, drop_rate);
}
if( HPMHooks.count.HP_chrif_ragsrvinfo_post ) {
- bool (*postHookFunc) (bool retVal___, int *base_rate, int *job_rate, int *drop_rate);
+ bool (*postHookFunc) (bool retVal___, int base_rate, int job_rate, int drop_rate);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_ragsrvinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_ragsrvinfo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &base_rate, &job_rate, &drop_rate);
+ retVal___ = postHookFunc(retVal___, base_rate, job_rate, drop_rate);
}
}
return retVal___;
@@ -5246,10 +5246,10 @@ bool HP_chrif_char_offline_nsd(int account_id, int char_id) {
retVal___ = HPMHooks.source.chrif.char_offline_nsd(account_id, char_id);
}
if( HPMHooks.count.HP_chrif_char_offline_nsd_post ) {
- bool (*postHookFunc) (bool retVal___, int *account_id, int *char_id);
+ bool (*postHookFunc) (bool retVal___, int account_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_char_offline_nsd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_char_offline_nsd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &char_id);
+ retVal___ = postHookFunc(retVal___, account_id, char_id);
}
}
return retVal___;
@@ -5354,10 +5354,10 @@ bool HP_chrif_changesex(struct map_session_data *sd, bool change_account) {
retVal___ = HPMHooks.source.chrif.changesex(sd, change_account);
}
if( HPMHooks.count.HP_chrif_changesex_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, bool *change_account);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, bool change_account);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_changesex_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_changesex_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &change_account);
+ retVal___ = postHookFunc(retVal___, sd, change_account);
}
}
return retVal___;
@@ -5381,10 +5381,10 @@ bool HP_chrif_divorce(int partner_id1, int partner_id2) {
retVal___ = HPMHooks.source.chrif.divorce(partner_id1, partner_id2);
}
if( HPMHooks.count.HP_chrif_divorce_post ) {
- bool (*postHookFunc) (bool retVal___, int *partner_id1, int *partner_id2);
+ bool (*postHookFunc) (bool retVal___, int partner_id1, int partner_id2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_divorce_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_divorce_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &partner_id1, &partner_id2);
+ retVal___ = postHookFunc(retVal___, partner_id1, partner_id2);
}
}
return retVal___;
@@ -5408,10 +5408,10 @@ bool HP_chrif_removefriend(int char_id, int friend_id) {
retVal___ = HPMHooks.source.chrif.removefriend(char_id, friend_id);
}
if( HPMHooks.count.HP_chrif_removefriend_post ) {
- bool (*postHookFunc) (bool retVal___, int *char_id, int *friend_id);
+ bool (*postHookFunc) (bool retVal___, int char_id, int friend_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_removefriend_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_removefriend_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &friend_id);
+ retVal___ = postHookFunc(retVal___, char_id, friend_id);
}
}
return retVal___;
@@ -5434,10 +5434,10 @@ void HP_chrif_send_report(char *buf, int len) {
HPMHooks.source.chrif.send_report(buf, len);
}
if( HPMHooks.count.HP_chrif_send_report_post ) {
- void (*postHookFunc) (char *buf, int *len);
+ void (*postHookFunc) (char *buf, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_send_report_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_send_report_post[hIndex].func;
- postHookFunc(buf, &len);
+ postHookFunc(buf, len);
}
}
return;
@@ -5487,10 +5487,10 @@ void HP_chrif_skillid2idx(int fd) {
HPMHooks.source.chrif.skillid2idx(fd);
}
if( HPMHooks.count.HP_chrif_skillid2idx_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_skillid2idx_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_skillid2idx_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -5514,10 +5514,10 @@ bool HP_chrif_sd_to_auth(struct map_session_data *sd, enum sd_state state) {
retVal___ = HPMHooks.source.chrif.sd_to_auth(sd, state);
}
if( HPMHooks.count.HP_chrif_sd_to_auth_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, enum sd_state *state);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, enum sd_state state);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_sd_to_auth_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_sd_to_auth_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &state);
+ retVal___ = postHookFunc(retVal___, sd, state);
}
}
return retVal___;
@@ -5541,10 +5541,10 @@ int HP_chrif_check_connect_char_server(int tid, int64 tick, int id, intptr_t dat
retVal___ = HPMHooks.source.chrif.check_connect_char_server(tid, tick, id, data);
}
if( HPMHooks.count.HP_chrif_check_connect_char_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_chrif_check_connect_char_server_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_check_connect_char_server_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -5568,10 +5568,10 @@ bool HP_chrif_auth_logout(struct map_session_data *sd, enum sd_state state) {
retVal___ = HPMHooks.source.chrif.auth_logout(sd, state);
}
if( HPMHooks.count.HP_chrif_auth_logout_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, enum sd_state *state);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, enum sd_state state);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_auth_logout_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_auth_logout_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &state);
+ retVal___ = postHookFunc(retVal___, sd, state);
}
}
return retVal___;
@@ -5594,10 +5594,10 @@ void HP_chrif_save_ack(int fd) {
HPMHooks.source.chrif.save_ack(fd);
}
if( HPMHooks.count.HP_chrif_save_ack_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_save_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_save_ack_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -5625,11 +5625,11 @@ int HP_chrif_reconnect(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_chrif_reconnect_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_chrif_reconnect_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_chrif_reconnect_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -5658,11 +5658,11 @@ int HP_chrif_auth_db_cleanup_sub(union DBKey key, struct DBData *data, va_list a
va_end(ap___copy);
}
if( HPMHooks.count.HP_chrif_auth_db_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_chrif_auth_db_cleanup_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_chrif_auth_db_cleanup_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -5687,10 +5687,10 @@ bool HP_chrif_char_ask_name_answer(int acc, const char *player_name, uint16 type
retVal___ = HPMHooks.source.chrif.char_ask_name_answer(acc, player_name, type, answer);
}
if( HPMHooks.count.HP_chrif_char_ask_name_answer_post ) {
- bool (*postHookFunc) (bool retVal___, int *acc, const char *player_name, uint16 *type, uint16 *answer);
+ bool (*postHookFunc) (bool retVal___, int acc, const char *player_name, uint16 type, uint16 answer);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_char_ask_name_answer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_char_ask_name_answer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &acc, player_name, &type, &answer);
+ retVal___ = postHookFunc(retVal___, acc, player_name, type, answer);
}
}
return retVal___;
@@ -5718,11 +5718,11 @@ int HP_chrif_auth_db_final(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_chrif_auth_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_chrif_auth_db_final_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_chrif_auth_db_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -5747,10 +5747,10 @@ int HP_chrif_send_usercount_tochar(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.chrif.send_usercount_tochar(tid, tick, id, data);
}
if( HPMHooks.count.HP_chrif_send_usercount_tochar_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_chrif_send_usercount_tochar_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_send_usercount_tochar_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -5774,10 +5774,10 @@ int HP_chrif_auth_db_cleanup(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.chrif.auth_db_cleanup(tid, tick, id, data);
}
if( HPMHooks.count.HP_chrif_auth_db_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_chrif_auth_db_cleanup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_auth_db_cleanup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -5800,10 +5800,10 @@ void HP_chrif_connect(int fd) {
HPMHooks.source.chrif.connect(fd);
}
if( HPMHooks.count.HP_chrif_connect_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_connect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_connect_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -5826,10 +5826,10 @@ void HP_chrif_connectack(int fd) {
HPMHooks.source.chrif.connectack(fd);
}
if( HPMHooks.count.HP_chrif_connectack_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_connectack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_connectack_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -5852,10 +5852,10 @@ void HP_chrif_sendmap(int fd) {
HPMHooks.source.chrif.sendmap(fd);
}
if( HPMHooks.count.HP_chrif_sendmap_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_sendmap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_sendmap_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -5878,10 +5878,10 @@ void HP_chrif_sendmapack(int fd) {
HPMHooks.source.chrif.sendmapack(fd);
}
if( HPMHooks.count.HP_chrif_sendmapack_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_sendmapack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_sendmapack_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -5904,10 +5904,10 @@ void HP_chrif_recvmap(int fd) {
HPMHooks.source.chrif.recvmap(fd);
}
if( HPMHooks.count.HP_chrif_recvmap_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_recvmap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_recvmap_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -5931,10 +5931,10 @@ bool HP_chrif_changemapserverack(int account_id, int login_id1, int login_id2, i
retVal___ = HPMHooks.source.chrif.changemapserverack(account_id, login_id1, login_id2, char_id, map_index, x, y, ip, port);
}
if( HPMHooks.count.HP_chrif_changemapserverack_post ) {
- bool (*postHookFunc) (bool retVal___, int *account_id, int *login_id1, int *login_id2, int *char_id, short *map_index, short *x, short *y, uint32 *ip, uint16 *port);
+ bool (*postHookFunc) (bool retVal___, int account_id, int login_id1, int login_id2, int char_id, short map_index, short x, short y, uint32 ip, uint16 port);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_changemapserverack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_changemapserverack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &login_id1, &login_id2, &char_id, &map_index, &x, &y, &ip, &port);
+ retVal___ = postHookFunc(retVal___, account_id, login_id1, login_id2, char_id, map_index, x, y, ip, port);
}
}
return retVal___;
@@ -5957,10 +5957,10 @@ void HP_chrif_changedsex(int fd) {
HPMHooks.source.chrif.changedsex(fd);
}
if( HPMHooks.count.HP_chrif_changedsex_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_changedsex_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_changedsex_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -5984,10 +5984,10 @@ bool HP_chrif_divorceack(int char_id, int partner_id) {
retVal___ = HPMHooks.source.chrif.divorceack(char_id, partner_id);
}
if( HPMHooks.count.HP_chrif_divorceack_post ) {
- bool (*postHookFunc) (bool retVal___, int *char_id, int *partner_id);
+ bool (*postHookFunc) (bool retVal___, int char_id, int partner_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_divorceack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_divorceack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &partner_id);
+ retVal___ = postHookFunc(retVal___, char_id, partner_id);
}
}
return retVal___;
@@ -6010,10 +6010,10 @@ void HP_chrif_idbanned(int fd) {
HPMHooks.source.chrif.idbanned(fd);
}
if( HPMHooks.count.HP_chrif_idbanned_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_idbanned_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_idbanned_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -6036,10 +6036,10 @@ void HP_chrif_recvfamelist(int fd) {
HPMHooks.source.chrif.recvfamelist(fd);
}
if( HPMHooks.count.HP_chrif_recvfamelist_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_recvfamelist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_recvfamelist_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -6063,10 +6063,10 @@ bool HP_chrif_load_scdata(int fd) {
retVal___ = HPMHooks.source.chrif.load_scdata(fd);
}
if( HPMHooks.count.HP_chrif_load_scdata_post ) {
- bool (*postHookFunc) (bool retVal___, int *fd);
+ bool (*postHookFunc) (bool retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_load_scdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_load_scdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -6089,10 +6089,10 @@ void HP_chrif_update_ip(int fd) {
HPMHooks.source.chrif.update_ip(fd);
}
if( HPMHooks.count.HP_chrif_update_ip_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_update_ip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_update_ip_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -6116,10 +6116,10 @@ int HP_chrif_disconnectplayer(int fd) {
retVal___ = HPMHooks.source.chrif.disconnectplayer(fd);
}
if( HPMHooks.count.HP_chrif_disconnectplayer_post ) {
- int (*postHookFunc) (int retVal___, int *fd);
+ int (*postHookFunc) (int retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_disconnectplayer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_disconnectplayer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -6142,10 +6142,10 @@ void HP_chrif_removemap(int fd) {
HPMHooks.source.chrif.removemap(fd);
}
if( HPMHooks.count.HP_chrif_removemap_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_removemap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_removemap_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -6169,10 +6169,10 @@ int HP_chrif_updatefamelist_ack(int fd) {
retVal___ = HPMHooks.source.chrif.updatefamelist_ack(fd);
}
if( HPMHooks.count.HP_chrif_updatefamelist_ack_post ) {
- int (*postHookFunc) (int retVal___, int *fd);
+ int (*postHookFunc) (int retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_updatefamelist_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_updatefamelist_ack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -6195,10 +6195,10 @@ void HP_chrif_keepalive(int fd) {
HPMHooks.source.chrif.keepalive(fd);
}
if( HPMHooks.count.HP_chrif_keepalive_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_keepalive_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_keepalive_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -6221,10 +6221,10 @@ void HP_chrif_keepalive_ack(int fd) {
HPMHooks.source.chrif.keepalive_ack(fd);
}
if( HPMHooks.count.HP_chrif_keepalive_ack_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_keepalive_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_keepalive_ack_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -6247,10 +6247,10 @@ void HP_chrif_deadopt(int father_id, int mother_id, int child_id) {
HPMHooks.source.chrif.deadopt(father_id, mother_id, child_id);
}
if( HPMHooks.count.HP_chrif_deadopt_post ) {
- void (*postHookFunc) (int *father_id, int *mother_id, int *child_id);
+ void (*postHookFunc) (int father_id, int mother_id, int child_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_deadopt_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_deadopt_post[hIndex].func;
- postHookFunc(&father_id, &mother_id, &child_id);
+ postHookFunc(father_id, mother_id, child_id);
}
}
return;
@@ -6273,10 +6273,10 @@ void HP_chrif_authfail(int fd) {
HPMHooks.source.chrif.authfail(fd);
}
if( HPMHooks.count.HP_chrif_authfail_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_authfail_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_authfail_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -6352,10 +6352,10 @@ int HP_chrif_parse(int fd) {
retVal___ = HPMHooks.source.chrif.parse(fd);
}
if( HPMHooks.count.HP_chrif_parse_post ) {
- int (*postHookFunc) (int retVal___, int *fd);
+ int (*postHookFunc) (int retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_parse_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_parse_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -6378,10 +6378,10 @@ void HP_chrif_save_scdata_single(int account_id, int char_id, short type, struct
HPMHooks.source.chrif.save_scdata_single(account_id, char_id, type, sce);
}
if( HPMHooks.count.HP_chrif_save_scdata_single_post ) {
- void (*postHookFunc) (int *account_id, int *char_id, short *type, struct status_change_entry *sce);
+ void (*postHookFunc) (int account_id, int char_id, short type, struct status_change_entry *sce);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_save_scdata_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_save_scdata_single_post[hIndex].func;
- postHookFunc(&account_id, &char_id, &type, sce);
+ postHookFunc(account_id, char_id, type, sce);
}
}
return;
@@ -6404,10 +6404,10 @@ void HP_chrif_del_scdata_single(int account_id, int char_id, short type) {
HPMHooks.source.chrif.del_scdata_single(account_id, char_id, type);
}
if( HPMHooks.count.HP_chrif_del_scdata_single_post ) {
- void (*postHookFunc) (int *account_id, int *char_id, short *type);
+ void (*postHookFunc) (int account_id, int char_id, short type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_del_scdata_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_chrif_del_scdata_single_post[hIndex].func;
- postHookFunc(&account_id, &char_id, &type);
+ postHookFunc(account_id, char_id, type);
}
}
return;
@@ -6432,10 +6432,10 @@ int HP_clif_init(bool minimal) {
retVal___ = HPMHooks.source.clif.init(minimal);
}
if( HPMHooks.count.HP_clif_init_post ) {
- int (*postHookFunc) (int retVal___, bool *minimal);
+ int (*postHookFunc) (int retVal___, bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &minimal);
+ retVal___ = postHookFunc(retVal___, minimal);
}
}
return retVal___;
@@ -6538,10 +6538,10 @@ void HP_clif_setport(uint16 port) {
HPMHooks.source.clif.setport(port);
}
if( HPMHooks.count.HP_clif_setport_post ) {
- void (*postHookFunc) (uint16 *port);
+ void (*postHookFunc) (uint16 port);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_setport_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_setport_post[hIndex].func;
- postHookFunc(&port);
+ postHookFunc(port);
}
}
return;
@@ -6592,10 +6592,10 @@ bool HP_clif_send(const void *buf, int len, struct block_list *bl, enum send_tar
retVal___ = HPMHooks.source.clif.send(buf, len, bl, type);
}
if( HPMHooks.count.HP_clif_send_post ) {
- bool (*postHookFunc) (bool retVal___, const void *buf, int *len, struct block_list *bl, enum send_target *type);
+ bool (*postHookFunc) (bool retVal___, const void *buf, int len, struct block_list *bl, enum send_target type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_send_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, buf, &len, bl, &type);
+ retVal___ = postHookFunc(retVal___, buf, len, bl, type);
}
}
return retVal___;
@@ -6652,10 +6652,10 @@ int HP_clif_send_actual(int fd, void *buf, int len) {
retVal___ = HPMHooks.source.clif.send_actual(fd, buf, len);
}
if( HPMHooks.count.HP_clif_send_actual_post ) {
- int (*postHookFunc) (int retVal___, int *fd, void *buf, int *len);
+ int (*postHookFunc) (int retVal___, int fd, void *buf, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_actual_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_send_actual_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, buf, &len);
+ retVal___ = postHookFunc(retVal___, fd, buf, len);
}
}
return retVal___;
@@ -6679,10 +6679,10 @@ int HP_clif_parse(int fd) {
retVal___ = HPMHooks.source.clif.parse(fd);
}
if( HPMHooks.count.HP_clif_parse_post ) {
- int (*postHookFunc) (int retVal___, int *fd);
+ int (*postHookFunc) (int retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_parse_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_parse_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -6706,10 +6706,10 @@ const struct s_packet_db* HP_clif_packet(int packet_id) {
retVal___ = HPMHooks.source.clif.packet(packet_id);
}
if( HPMHooks.count.HP_clif_packet_post ) {
- const struct s_packet_db* (*postHookFunc) (const struct s_packet_db* retVal___, int *packet_id);
+ const struct s_packet_db* (*postHookFunc) (const struct s_packet_db* retVal___, int packet_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_packet_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_packet_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &packet_id);
+ retVal___ = postHookFunc(retVal___, packet_id);
}
}
return retVal___;
@@ -6733,10 +6733,10 @@ unsigned short HP_clif_parse_cmd(int fd, struct map_session_data *sd) {
retVal___ = HPMHooks.source.clif.parse_cmd(fd, sd);
}
if( HPMHooks.count.HP_clif_parse_cmd_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, int *fd, struct map_session_data *sd);
+ unsigned short (*postHookFunc) (unsigned short retVal___, int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_parse_cmd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_parse_cmd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd, sd);
+ retVal___ = postHookFunc(retVal___, fd, sd);
}
}
return retVal___;
@@ -6760,10 +6760,10 @@ unsigned short HP_clif_decrypt_cmd(int cmd, struct map_session_data *sd) {
retVal___ = HPMHooks.source.clif.decrypt_cmd(cmd, sd);
}
if( HPMHooks.count.HP_clif_decrypt_cmd_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, int *cmd, struct map_session_data *sd);
+ unsigned short (*postHookFunc) (unsigned short retVal___, int cmd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_decrypt_cmd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_decrypt_cmd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &cmd, sd);
+ retVal___ = postHookFunc(retVal___, cmd, sd);
}
}
return retVal___;
@@ -6812,10 +6812,10 @@ void HP_clif_authrefuse(int fd, uint8 error_code) {
HPMHooks.source.clif.authrefuse(fd, error_code);
}
if( HPMHooks.count.HP_clif_authrefuse_post ) {
- void (*postHookFunc) (int *fd, uint8 *error_code);
+ void (*postHookFunc) (int fd, uint8 error_code);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_authrefuse_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_authrefuse_post[hIndex].func;
- postHookFunc(&fd, &error_code);
+ postHookFunc(fd, error_code);
}
}
return;
@@ -6838,10 +6838,10 @@ void HP_clif_authfail_fd(int fd, int type) {
HPMHooks.source.clif.authfail_fd(fd, type);
}
if( HPMHooks.count.HP_clif_authfail_fd_post ) {
- void (*postHookFunc) (int *fd, int *type);
+ void (*postHookFunc) (int fd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_authfail_fd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_authfail_fd_post[hIndex].func;
- postHookFunc(&fd, &type);
+ postHookFunc(fd, type);
}
}
return;
@@ -6864,10 +6864,10 @@ void HP_clif_charselectok(int id, uint8 ok) {
HPMHooks.source.clif.charselectok(id, ok);
}
if( HPMHooks.count.HP_clif_charselectok_post ) {
- void (*postHookFunc) (int *id, uint8 *ok);
+ void (*postHookFunc) (int id, uint8 ok);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_charselectok_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_charselectok_post[hIndex].func;
- postHookFunc(&id, &ok);
+ postHookFunc(id, ok);
}
}
return;
@@ -6916,10 +6916,10 @@ void HP_clif_clearflooritem(struct flooritem_data *fitem, int fd) {
HPMHooks.source.clif.clearflooritem(fitem, fd);
}
if( HPMHooks.count.HP_clif_clearflooritem_post ) {
- void (*postHookFunc) (struct flooritem_data *fitem, int *fd);
+ void (*postHookFunc) (struct flooritem_data *fitem, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearflooritem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_clearflooritem_post[hIndex].func;
- postHookFunc(fitem, &fd);
+ postHookFunc(fitem, fd);
}
}
return;
@@ -6942,10 +6942,10 @@ void HP_clif_additem(struct map_session_data *sd, int n, int amount, int fail) {
HPMHooks.source.clif.additem(sd, n, amount, fail);
}
if( HPMHooks.count.HP_clif_additem_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *n, int *amount, int *fail);
+ void (*postHookFunc) (struct map_session_data *sd, int n, int amount, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_additem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_additem_post[hIndex].func;
- postHookFunc(sd, &n, &amount, &fail);
+ postHookFunc(sd, n, amount, fail);
}
}
return;
@@ -6968,10 +6968,10 @@ void HP_clif_dropitem(struct map_session_data *sd, int n, int amount) {
HPMHooks.source.clif.dropitem(sd, n, amount);
}
if( HPMHooks.count.HP_clif_dropitem_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *n, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, int n, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_dropitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_dropitem_post[hIndex].func;
- postHookFunc(sd, &n, &amount);
+ postHookFunc(sd, n, amount);
}
}
return;
@@ -6994,10 +6994,10 @@ void HP_clif_delitem(struct map_session_data *sd, int n, int amount, short reaso
HPMHooks.source.clif.delitem(sd, n, amount, reason);
}
if( HPMHooks.count.HP_clif_delitem_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *n, int *amount, short *reason);
+ void (*postHookFunc) (struct map_session_data *sd, int n, int amount, short reason);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_delitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_delitem_post[hIndex].func;
- postHookFunc(sd, &n, &amount, &reason);
+ postHookFunc(sd, n, amount, reason);
}
}
return;
@@ -7046,10 +7046,10 @@ void HP_clif_item_equip(short idx, struct EQUIPITEM_INFO *p, struct item *i, str
HPMHooks.source.clif.item_equip(idx, p, i, id, eqp_pos);
}
if( HPMHooks.count.HP_clif_item_equip_post ) {
- void (*postHookFunc) (short *idx, struct EQUIPITEM_INFO *p, struct item *i, struct item_data *id, int *eqp_pos);
+ void (*postHookFunc) (short idx, struct EQUIPITEM_INFO *p, struct item *i, struct item_data *id, int eqp_pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_equip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_equip_post[hIndex].func;
- postHookFunc(&idx, p, i, id, &eqp_pos);
+ postHookFunc(idx, p, i, id, eqp_pos);
}
}
return;
@@ -7072,10 +7072,10 @@ void HP_clif_item_normal(short idx, struct NORMALITEM_INFO *p, struct item *i, s
HPMHooks.source.clif.item_normal(idx, p, i, id);
}
if( HPMHooks.count.HP_clif_item_normal_post ) {
- void (*postHookFunc) (short *idx, struct NORMALITEM_INFO *p, struct item *i, struct item_data *id);
+ void (*postHookFunc) (short idx, struct NORMALITEM_INFO *p, struct item *i, struct item_data *id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_normal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_normal_post[hIndex].func;
- postHookFunc(&idx, p, i, id);
+ postHookFunc(idx, p, i, id);
}
}
return;
@@ -7098,10 +7098,10 @@ void HP_clif_arrowequip(struct map_session_data *sd, int val) {
HPMHooks.source.clif.arrowequip(sd, val);
}
if( HPMHooks.count.HP_clif_arrowequip_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *val);
+ void (*postHookFunc) (struct map_session_data *sd, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_arrowequip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_arrowequip_post[hIndex].func;
- postHookFunc(sd, &val);
+ postHookFunc(sd, val);
}
}
return;
@@ -7124,10 +7124,10 @@ void HP_clif_arrow_fail(struct map_session_data *sd, int type) {
HPMHooks.source.clif.arrow_fail(sd, type);
}
if( HPMHooks.count.HP_clif_arrow_fail_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_arrow_fail_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_arrow_fail_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -7150,10 +7150,10 @@ void HP_clif_use_card(struct map_session_data *sd, int idx) {
HPMHooks.source.clif.use_card(sd, idx);
}
if( HPMHooks.count.HP_clif_use_card_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *idx);
+ void (*postHookFunc) (struct map_session_data *sd, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_use_card_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_use_card_post[hIndex].func;
- postHookFunc(sd, &idx);
+ postHookFunc(sd, idx);
}
}
return;
@@ -7176,10 +7176,10 @@ void HP_clif_cart_additem(struct map_session_data *sd, int n, int amount, int fa
HPMHooks.source.clif.cart_additem(sd, n, amount, fail);
}
if( HPMHooks.count.HP_clif_cart_additem_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *n, int *amount, int *fail);
+ void (*postHookFunc) (struct map_session_data *sd, int n, int amount, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cart_additem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_cart_additem_post[hIndex].func;
- postHookFunc(sd, &n, &amount, &fail);
+ postHookFunc(sd, n, amount, fail);
}
}
return;
@@ -7202,10 +7202,10 @@ void HP_clif_cart_delitem(struct map_session_data *sd, int n, int amount) {
HPMHooks.source.clif.cart_delitem(sd, n, amount);
}
if( HPMHooks.count.HP_clif_cart_delitem_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *n, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, int n, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cart_delitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_cart_delitem_post[hIndex].func;
- postHookFunc(sd, &n, &amount);
+ postHookFunc(sd, n, amount);
}
}
return;
@@ -7228,10 +7228,10 @@ void HP_clif_equipitemack(struct map_session_data *sd, int n, int pos, enum e_EQ
HPMHooks.source.clif.equipitemack(sd, n, pos, result);
}
if( HPMHooks.count.HP_clif_equipitemack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *n, int *pos, enum e_EQUIP_ITEM_ACK *result);
+ void (*postHookFunc) (struct map_session_data *sd, int n, int pos, enum e_EQUIP_ITEM_ACK result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_equipitemack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_equipitemack_post[hIndex].func;
- postHookFunc(sd, &n, &pos, &result);
+ postHookFunc(sd, n, pos, result);
}
}
return;
@@ -7254,10 +7254,10 @@ void HP_clif_unequipitemack(struct map_session_data *sd, int n, int pos, enum e_
HPMHooks.source.clif.unequipitemack(sd, n, pos, result);
}
if( HPMHooks.count.HP_clif_unequipitemack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *n, int *pos, enum e_UNEQUIP_ITEM_ACK *result);
+ void (*postHookFunc) (struct map_session_data *sd, int n, int pos, enum e_UNEQUIP_ITEM_ACK result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_unequipitemack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_unequipitemack_post[hIndex].func;
- postHookFunc(sd, &n, &pos, &result);
+ postHookFunc(sd, n, pos, result);
}
}
return;
@@ -7280,10 +7280,10 @@ void HP_clif_useitemack(struct map_session_data *sd, int index, int amount, bool
HPMHooks.source.clif.useitemack(sd, index, amount, ok);
}
if( HPMHooks.count.HP_clif_useitemack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *index, int *amount, bool *ok);
+ void (*postHookFunc) (struct map_session_data *sd, int index, int amount, bool ok);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_useitemack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_useitemack_post[hIndex].func;
- postHookFunc(sd, &index, &amount, &ok);
+ postHookFunc(sd, index, amount, ok);
}
}
return;
@@ -7358,10 +7358,10 @@ void HP_clif_item_sub(unsigned char *buf, int n, struct item *i, struct item_dat
HPMHooks.source.clif.item_sub(buf, n, i, id, equip);
}
if( HPMHooks.count.HP_clif_item_sub_post ) {
- void (*postHookFunc) (unsigned char *buf, int *n, struct item *i, struct item_data *id, int *equip);
+ void (*postHookFunc) (unsigned char *buf, int n, struct item *i, struct item_data *id, int equip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_sub_post[hIndex].func;
- postHookFunc(buf, &n, i, id, &equip);
+ postHookFunc(buf, n, i, id, equip);
}
}
return;
@@ -7410,10 +7410,10 @@ void HP_clif_cart_additem_ack(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.cart_additem_ack(sd, flag);
}
if( HPMHooks.count.HP_clif_cart_additem_ack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cart_additem_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_cart_additem_ack_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -7462,10 +7462,10 @@ void HP_clif_package_announce(struct map_session_data *sd, unsigned short nameid
HPMHooks.source.clif.package_announce(sd, nameid, containerid);
}
if( HPMHooks.count.HP_clif_package_announce_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *nameid, unsigned short *containerid);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short nameid, unsigned short containerid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_package_announce_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_package_announce_post[hIndex].func;
- postHookFunc(sd, &nameid, &containerid);
+ postHookFunc(sd, nameid, containerid);
}
}
return;
@@ -7488,10 +7488,10 @@ void HP_clif_item_drop_announce(struct map_session_data *sd, unsigned short name
HPMHooks.source.clif.item_drop_announce(sd, nameid, monsterName);
}
if( HPMHooks.count.HP_clif_item_drop_announce_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *nameid, char *monsterName);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short nameid, char *monsterName);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_drop_announce_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_drop_announce_post[hIndex].func;
- postHookFunc(sd, &nameid, monsterName);
+ postHookFunc(sd, nameid, monsterName);
}
}
return;
@@ -7514,10 +7514,10 @@ void HP_clif_clearunit_single(int id, clr_type type, int fd) {
HPMHooks.source.clif.clearunit_single(id, type, fd);
}
if( HPMHooks.count.HP_clif_clearunit_single_post ) {
- void (*postHookFunc) (int *id, clr_type *type, int *fd);
+ void (*postHookFunc) (int id, clr_type type, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearunit_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_clearunit_single_post[hIndex].func;
- postHookFunc(&id, &type, &fd);
+ postHookFunc(id, type, fd);
}
}
return;
@@ -7540,10 +7540,10 @@ void HP_clif_clearunit_area(struct block_list *bl, clr_type type) {
HPMHooks.source.clif.clearunit_area(bl, type);
}
if( HPMHooks.count.HP_clif_clearunit_area_post ) {
- void (*postHookFunc) (struct block_list *bl, clr_type *type);
+ void (*postHookFunc) (struct block_list *bl, clr_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearunit_area_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_clearunit_area_post[hIndex].func;
- postHookFunc(bl, &type);
+ postHookFunc(bl, type);
}
}
return;
@@ -7566,10 +7566,10 @@ void HP_clif_clearunit_delayed(struct block_list *bl, clr_type type, int64 tick)
HPMHooks.source.clif.clearunit_delayed(bl, type, tick);
}
if( HPMHooks.count.HP_clif_clearunit_delayed_post ) {
- void (*postHookFunc) (struct block_list *bl, clr_type *type, int64 *tick);
+ void (*postHookFunc) (struct block_list *bl, clr_type type, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearunit_delayed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_clearunit_delayed_post[hIndex].func;
- postHookFunc(bl, &type, &tick);
+ postHookFunc(bl, type, tick);
}
}
return;
@@ -7696,10 +7696,10 @@ void HP_clif_slide(struct block_list *bl, int x, int y) {
HPMHooks.source.clif.slide(bl, x, y);
}
if( HPMHooks.count.HP_clif_slide_post ) {
- void (*postHookFunc) (struct block_list *bl, int *x, int *y);
+ void (*postHookFunc) (struct block_list *bl, int x, int y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_slide_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_slide_post[hIndex].func;
- postHookFunc(bl, &x, &y);
+ postHookFunc(bl, x, y);
}
}
return;
@@ -7748,10 +7748,10 @@ void HP_clif_changelook(struct block_list *bl, int type, int val) {
HPMHooks.source.clif.changelook(bl, type, val);
}
if( HPMHooks.count.HP_clif_changelook_post ) {
- void (*postHookFunc) (struct block_list *bl, int *type, int *val);
+ void (*postHookFunc) (struct block_list *bl, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changelook_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_changelook_post[hIndex].func;
- postHookFunc(bl, &type, &val);
+ postHookFunc(bl, type, val);
}
}
return;
@@ -7774,10 +7774,10 @@ void HP_clif_changetraplook(struct block_list *bl, int val) {
HPMHooks.source.clif.changetraplook(bl, val);
}
if( HPMHooks.count.HP_clif_changetraplook_post ) {
- void (*postHookFunc) (struct block_list *bl, int *val);
+ void (*postHookFunc) (struct block_list *bl, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changetraplook_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_changetraplook_post[hIndex].func;
- postHookFunc(bl, &val);
+ postHookFunc(bl, val);
}
}
return;
@@ -7800,10 +7800,10 @@ void HP_clif_refreshlook(struct block_list *bl, int id, int type, int val, enum
HPMHooks.source.clif.refreshlook(bl, id, type, val, target);
}
if( HPMHooks.count.HP_clif_refreshlook_post ) {
- void (*postHookFunc) (struct block_list *bl, int *id, int *type, int *val, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, int id, int type, int val, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_refreshlook_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_refreshlook_post[hIndex].func;
- postHookFunc(bl, &id, &type, &val, &target);
+ postHookFunc(bl, id, type, val, target);
}
}
return;
@@ -7826,10 +7826,10 @@ void HP_clif_sendlook(struct block_list *bl, int id, int type, int val, int val2
HPMHooks.source.clif.sendlook(bl, id, type, val, val2, target);
}
if( HPMHooks.count.HP_clif_sendlook_post ) {
- void (*postHookFunc) (struct block_list *bl, int *id, int *type, int *val, int *val2, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, int id, int type, int val, int val2, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sendlook_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_sendlook_post[hIndex].func;
- postHookFunc(bl, &id, &type, &val, &val2, &target);
+ postHookFunc(bl, id, type, val, val2, target);
}
}
return;
@@ -7852,10 +7852,10 @@ void HP_clif_class_change(struct block_list *bl, int class_, int type) {
HPMHooks.source.clif.class_change(bl, class_, type);
}
if( HPMHooks.count.HP_clif_class_change_post ) {
- void (*postHookFunc) (struct block_list *bl, int *class_, int *type);
+ void (*postHookFunc) (struct block_list *bl, int class_, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_class_change_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_class_change_post[hIndex].func;
- postHookFunc(bl, &class_, &type);
+ postHookFunc(bl, class_, type);
}
}
return;
@@ -7931,10 +7931,10 @@ int HP_clif_clearunit_delayed_sub(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.clif.clearunit_delayed_sub(tid, tick, id, data);
}
if( HPMHooks.count.HP_clif_clearunit_delayed_sub_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_clif_clearunit_delayed_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_clearunit_delayed_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -7957,10 +7957,10 @@ void HP_clif_set_unit_idle(struct block_list *bl, struct map_session_data *tsd,
HPMHooks.source.clif.set_unit_idle(bl, tsd, target);
}
if( HPMHooks.count.HP_clif_set_unit_idle_post ) {
- void (*postHookFunc) (struct block_list *bl, struct map_session_data *tsd, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, struct map_session_data *tsd, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_set_unit_idle_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_set_unit_idle_post[hIndex].func;
- postHookFunc(bl, tsd, &target);
+ postHookFunc(bl, tsd, target);
}
}
return;
@@ -7983,10 +7983,10 @@ void HP_clif_spawn_unit(struct block_list *bl, enum send_target target) {
HPMHooks.source.clif.spawn_unit(bl, target);
}
if( HPMHooks.count.HP_clif_spawn_unit_post ) {
- void (*postHookFunc) (struct block_list *bl, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spawn_unit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_spawn_unit_post[hIndex].func;
- postHookFunc(bl, &target);
+ postHookFunc(bl, target);
}
}
return;
@@ -8009,10 +8009,10 @@ void HP_clif_spawn_unit2(struct block_list *bl, enum send_target target) {
HPMHooks.source.clif.spawn_unit2(bl, target);
}
if( HPMHooks.count.HP_clif_spawn_unit2_post ) {
- void (*postHookFunc) (struct block_list *bl, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spawn_unit2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_spawn_unit2_post[hIndex].func;
- postHookFunc(bl, &target);
+ postHookFunc(bl, target);
}
}
return;
@@ -8035,10 +8035,10 @@ void HP_clif_set_unit_idle2(struct block_list *bl, struct map_session_data *tsd,
HPMHooks.source.clif.set_unit_idle2(bl, tsd, target);
}
if( HPMHooks.count.HP_clif_set_unit_idle2_post ) {
- void (*postHookFunc) (struct block_list *bl, struct map_session_data *tsd, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, struct map_session_data *tsd, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_set_unit_idle2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_set_unit_idle2_post[hIndex].func;
- postHookFunc(bl, tsd, &target);
+ postHookFunc(bl, tsd, target);
}
}
return;
@@ -8061,10 +8061,10 @@ void HP_clif_set_unit_walking(struct block_list *bl, struct map_session_data *ts
HPMHooks.source.clif.set_unit_walking(bl, tsd, ud, target);
}
if( HPMHooks.count.HP_clif_set_unit_walking_post ) {
- void (*postHookFunc) (struct block_list *bl, struct map_session_data *tsd, struct unit_data *ud, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, struct map_session_data *tsd, struct unit_data *ud, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_set_unit_walking_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_set_unit_walking_post[hIndex].func;
- postHookFunc(bl, tsd, ud, &target);
+ postHookFunc(bl, tsd, ud, target);
}
}
return;
@@ -8088,10 +8088,10 @@ int HP_clif_calc_walkdelay(struct block_list *bl, int delay, int type, int damag
retVal___ = HPMHooks.source.clif.calc_walkdelay(bl, delay, type, damage, div_);
}
if( HPMHooks.count.HP_clif_calc_walkdelay_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *delay, int *type, int *damage, int *div_);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int delay, int type, int damage, int div_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_calc_walkdelay_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_calc_walkdelay_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &delay, &type, &damage, &div_);
+ retVal___ = postHookFunc(retVal___, bl, delay, type, damage, div_);
}
}
return retVal___;
@@ -8114,10 +8114,10 @@ void HP_clif_getareachar_skillunit(struct block_list *bl, struct skill_unit *su,
HPMHooks.source.clif.getareachar_skillunit(bl, su, target);
}
if( HPMHooks.count.HP_clif_getareachar_skillunit_post ) {
- void (*postHookFunc) (struct block_list *bl, struct skill_unit *su, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, struct skill_unit *su, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_getareachar_skillunit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_getareachar_skillunit_post[hIndex].func;
- postHookFunc(bl, su, &target);
+ postHookFunc(bl, su, target);
}
}
return;
@@ -8166,10 +8166,10 @@ void HP_clif_clearchar_skillunit(struct skill_unit *su, int fd) {
HPMHooks.source.clif.clearchar_skillunit(su, fd);
}
if( HPMHooks.count.HP_clif_clearchar_skillunit_post ) {
- void (*postHookFunc) (struct skill_unit *su, int *fd);
+ void (*postHookFunc) (struct skill_unit *su, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearchar_skillunit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_clearchar_skillunit_post[hIndex].func;
- postHookFunc(su, &fd);
+ postHookFunc(su, fd);
}
}
return;
@@ -8225,10 +8225,10 @@ void HP_clif_graffiti_entry(struct block_list *bl, struct skill_unit *su, enum s
HPMHooks.source.clif.graffiti_entry(bl, su, target);
}
if( HPMHooks.count.HP_clif_graffiti_entry_post ) {
- void (*postHookFunc) (struct block_list *bl, struct skill_unit *su, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, struct skill_unit *su, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_graffiti_entry_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_graffiti_entry_post[hIndex].func;
- postHookFunc(bl, su, &target);
+ postHookFunc(bl, su, target);
}
}
return;
@@ -8278,10 +8278,10 @@ void HP_clif_changemap(struct map_session_data *sd, short m, int x, int y) {
HPMHooks.source.clif.changemap(sd, m, x, y);
}
if( HPMHooks.count.HP_clif_changemap_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *m, int *x, int *y);
+ void (*postHookFunc) (struct map_session_data *sd, short m, int x, int y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changemap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_changemap_post[hIndex].func;
- postHookFunc(sd, &m, &x, &y);
+ postHookFunc(sd, m, x, y);
}
}
return;
@@ -8304,10 +8304,10 @@ void HP_clif_changemapcell(int fd, int16 m, int x, int y, int type, enum send_ta
HPMHooks.source.clif.changemapcell(fd, m, x, y, type, target);
}
if( HPMHooks.count.HP_clif_changemapcell_post ) {
- void (*postHookFunc) (int *fd, int16 *m, int *x, int *y, int *type, enum send_target *target);
+ void (*postHookFunc) (int fd, int16 m, int x, int y, int type, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changemapcell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_changemapcell_post[hIndex].func;
- postHookFunc(&fd, &m, &x, &y, &type, &target);
+ postHookFunc(fd, m, x, y, type, target);
}
}
return;
@@ -8330,10 +8330,10 @@ void HP_clif_map_property(struct map_session_data *sd, enum map_property propert
HPMHooks.source.clif.map_property(sd, property);
}
if( HPMHooks.count.HP_clif_map_property_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum map_property *property);
+ void (*postHookFunc) (struct map_session_data *sd, enum map_property property);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_map_property_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_map_property_post[hIndex].func;
- postHookFunc(sd, &property);
+ postHookFunc(sd, property);
}
}
return;
@@ -8356,10 +8356,10 @@ void HP_clif_pvpset(struct map_session_data *sd, int pvprank, int pvpnum, int ty
HPMHooks.source.clif.pvpset(sd, pvprank, pvpnum, type);
}
if( HPMHooks.count.HP_clif_pvpset_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *pvprank, int *pvpnum, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int pvprank, int pvpnum, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pvpset_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pvpset_post[hIndex].func;
- postHookFunc(sd, &pvprank, &pvpnum, &type);
+ postHookFunc(sd, pvprank, pvpnum, type);
}
}
return;
@@ -8382,10 +8382,10 @@ void HP_clif_map_property_mapall(int mapid, enum map_property property) {
HPMHooks.source.clif.map_property_mapall(mapid, property);
}
if( HPMHooks.count.HP_clif_map_property_mapall_post ) {
- void (*postHookFunc) (int *mapid, enum map_property *property);
+ void (*postHookFunc) (int mapid, enum map_property property);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_map_property_mapall_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_map_property_mapall_post[hIndex].func;
- postHookFunc(&mapid, &property);
+ postHookFunc(mapid, property);
}
}
return;
@@ -8408,10 +8408,10 @@ void HP_clif_bossmapinfo(int fd, struct mob_data *md, short flag) {
HPMHooks.source.clif.bossmapinfo(fd, md, flag);
}
if( HPMHooks.count.HP_clif_bossmapinfo_post ) {
- void (*postHookFunc) (int *fd, struct mob_data *md, short *flag);
+ void (*postHookFunc) (int fd, struct mob_data *md, short flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bossmapinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bossmapinfo_post[hIndex].func;
- postHookFunc(&fd, md, &flag);
+ postHookFunc(fd, md, flag);
}
}
return;
@@ -8434,10 +8434,10 @@ void HP_clif_map_type(struct map_session_data *sd, enum map_type type) {
HPMHooks.source.clif.map_type(sd, type);
}
if( HPMHooks.count.HP_clif_map_type_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum map_type *type);
+ void (*postHookFunc) (struct map_session_data *sd, enum map_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_map_type_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_map_type_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -8460,10 +8460,10 @@ void HP_clif_maptypeproperty2(struct block_list *bl, enum send_target t) {
HPMHooks.source.clif.maptypeproperty2(bl, t);
}
if( HPMHooks.count.HP_clif_maptypeproperty2_post ) {
- void (*postHookFunc) (struct block_list *bl, enum send_target *t);
+ void (*postHookFunc) (struct block_list *bl, enum send_target t);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_maptypeproperty2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_maptypeproperty2_post[hIndex].func;
- postHookFunc(bl, &t);
+ postHookFunc(bl, t);
}
}
return;
@@ -8486,10 +8486,10 @@ void HP_clif_changemapserver(struct map_session_data *sd, unsigned short map_ind
HPMHooks.source.clif.changemapserver(sd, map_index, x, y, ip, port);
}
if( HPMHooks.count.HP_clif_changemapserver_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *map_index, int *x, int *y, uint32 *ip, uint16 *port);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short map_index, int x, int y, uint32 ip, uint16 port);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changemapserver_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_changemapserver_post[hIndex].func;
- postHookFunc(sd, &map_index, &x, &y, &ip, &port);
+ postHookFunc(sd, map_index, x, y, ip, port);
}
}
return;
@@ -8512,10 +8512,10 @@ void HP_clif_npcbuysell(struct map_session_data *sd, int id) {
HPMHooks.source.clif.npcbuysell(sd, id);
}
if( HPMHooks.count.HP_clif_npcbuysell_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *id);
+ void (*postHookFunc) (struct map_session_data *sd, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npcbuysell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_npcbuysell_post[hIndex].func;
- postHookFunc(sd, &id);
+ postHookFunc(sd, id);
}
}
return;
@@ -8616,10 +8616,10 @@ void HP_clif_npc_buy_result(struct map_session_data *sd, unsigned char result) {
HPMHooks.source.clif.npc_buy_result(sd, result);
}
if( HPMHooks.count.HP_clif_npc_buy_result_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *result);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npc_buy_result_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_npc_buy_result_post[hIndex].func;
- postHookFunc(sd, &result);
+ postHookFunc(sd, result);
}
}
return;
@@ -8642,10 +8642,10 @@ void HP_clif_npc_sell_result(struct map_session_data *sd, unsigned char result)
HPMHooks.source.clif.npc_sell_result(sd, result);
}
if( HPMHooks.count.HP_clif_npc_sell_result_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *result);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npc_sell_result_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_npc_sell_result_post[hIndex].func;
- postHookFunc(sd, &result);
+ postHookFunc(sd, result);
}
}
return;
@@ -8668,10 +8668,10 @@ void HP_clif_cashshop_ack(struct map_session_data *sd, int error) {
HPMHooks.source.clif.cashshop_ack(sd, error);
}
if( HPMHooks.count.HP_clif_cashshop_ack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *error);
+ void (*postHookFunc) (struct map_session_data *sd, int error);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cashshop_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_cashshop_ack_post[hIndex].func;
- postHookFunc(sd, &error);
+ postHookFunc(sd, error);
}
}
return;
@@ -8694,10 +8694,10 @@ void HP_clif_scriptmes(struct map_session_data *sd, int npcid, const char *mes)
HPMHooks.source.clif.scriptmes(sd, npcid, mes);
}
if( HPMHooks.count.HP_clif_scriptmes_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npcid, const char *mes);
+ void (*postHookFunc) (struct map_session_data *sd, int npcid, const char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptmes_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_scriptmes_post[hIndex].func;
- postHookFunc(sd, &npcid, mes);
+ postHookFunc(sd, npcid, mes);
}
}
return;
@@ -8720,10 +8720,10 @@ void HP_clif_scriptnext(struct map_session_data *sd, int npcid) {
HPMHooks.source.clif.scriptnext(sd, npcid);
}
if( HPMHooks.count.HP_clif_scriptnext_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*postHookFunc) (struct map_session_data *sd, int npcid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptnext_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_scriptnext_post[hIndex].func;
- postHookFunc(sd, &npcid);
+ postHookFunc(sd, npcid);
}
}
return;
@@ -8746,10 +8746,10 @@ void HP_clif_scriptclose(struct map_session_data *sd, int npcid) {
HPMHooks.source.clif.scriptclose(sd, npcid);
}
if( HPMHooks.count.HP_clif_scriptclose_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*postHookFunc) (struct map_session_data *sd, int npcid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptclose_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_scriptclose_post[hIndex].func;
- postHookFunc(sd, &npcid);
+ postHookFunc(sd, npcid);
}
}
return;
@@ -8772,10 +8772,10 @@ void HP_clif_scriptmenu(struct map_session_data *sd, int npcid, const char *mes)
HPMHooks.source.clif.scriptmenu(sd, npcid, mes);
}
if( HPMHooks.count.HP_clif_scriptmenu_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npcid, const char *mes);
+ void (*postHookFunc) (struct map_session_data *sd, int npcid, const char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptmenu_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_scriptmenu_post[hIndex].func;
- postHookFunc(sd, &npcid, mes);
+ postHookFunc(sd, npcid, mes);
}
}
return;
@@ -8798,10 +8798,10 @@ void HP_clif_scriptinput(struct map_session_data *sd, int npcid) {
HPMHooks.source.clif.scriptinput(sd, npcid);
}
if( HPMHooks.count.HP_clif_scriptinput_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*postHookFunc) (struct map_session_data *sd, int npcid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptinput_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_scriptinput_post[hIndex].func;
- postHookFunc(sd, &npcid);
+ postHookFunc(sd, npcid);
}
}
return;
@@ -8824,10 +8824,10 @@ void HP_clif_scriptinputstr(struct map_session_data *sd, int npcid) {
HPMHooks.source.clif.scriptinputstr(sd, npcid);
}
if( HPMHooks.count.HP_clif_scriptinputstr_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*postHookFunc) (struct map_session_data *sd, int npcid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptinputstr_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_scriptinputstr_post[hIndex].func;
- postHookFunc(sd, &npcid);
+ postHookFunc(sd, npcid);
}
}
return;
@@ -8850,10 +8850,10 @@ void HP_clif_cutin(struct map_session_data *sd, const char *image, int type) {
HPMHooks.source.clif.cutin(sd, image, type);
}
if( HPMHooks.count.HP_clif_cutin_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const char *image, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, const char *image, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cutin_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_cutin_post[hIndex].func;
- postHookFunc(sd, image, &type);
+ postHookFunc(sd, image, type);
}
}
return;
@@ -8876,10 +8876,10 @@ void HP_clif_sendfakenpc(struct map_session_data *sd, int npcid) {
HPMHooks.source.clif.sendfakenpc(sd, npcid);
}
if( HPMHooks.count.HP_clif_sendfakenpc_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*postHookFunc) (struct map_session_data *sd, int npcid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sendfakenpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_sendfakenpc_post[hIndex].func;
- postHookFunc(sd, &npcid);
+ postHookFunc(sd, npcid);
}
}
return;
@@ -8902,10 +8902,10 @@ void HP_clif_scriptclear(struct map_session_data *sd, int npcid) {
HPMHooks.source.clif.scriptclear(sd, npcid);
}
if( HPMHooks.count.HP_clif_scriptclear_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*postHookFunc) (struct map_session_data *sd, int npcid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptclear_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_scriptclear_post[hIndex].func;
- postHookFunc(sd, &npcid);
+ postHookFunc(sd, npcid);
}
}
return;
@@ -8928,10 +8928,10 @@ void HP_clif_viewpoint(struct map_session_data *sd, int npc_id, int type, int x,
HPMHooks.source.clif.viewpoint(sd, npc_id, type, x, y, id, color);
}
if( HPMHooks.count.HP_clif_viewpoint_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *npc_id, int *type, int *x, int *y, int *id, int *color);
+ void (*postHookFunc) (struct map_session_data *sd, int npc_id, int type, int x, int y, int id, int color);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_viewpoint_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_viewpoint_post[hIndex].func;
- postHookFunc(sd, &npc_id, &type, &x, &y, &id, &color);
+ postHookFunc(sd, npc_id, type, x, y, id, color);
}
}
return;
@@ -8955,10 +8955,10 @@ int HP_clif_damage(struct block_list *src, struct block_list *dst, int sdelay, i
retVal___ = HPMHooks.source.clif.damage(src, dst, sdelay, ddelay, damage, div, type, damage2);
}
if( HPMHooks.count.HP_clif_damage_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *dst, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *dst, int sdelay, int ddelay, int64 damage, short div, unsigned char type, int64 damage2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, dst, &sdelay, &ddelay, &damage, &div, &type, &damage2);
+ retVal___ = postHookFunc(retVal___, src, dst, sdelay, ddelay, damage, div, type, damage2);
}
}
return retVal___;
@@ -9111,10 +9111,10 @@ void HP_clif_fame_blacksmith(struct map_session_data *sd, int points) {
HPMHooks.source.clif.fame_blacksmith(sd, points);
}
if( HPMHooks.count.HP_clif_fame_blacksmith_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *points);
+ void (*postHookFunc) (struct map_session_data *sd, int points);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_fame_blacksmith_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_fame_blacksmith_post[hIndex].func;
- postHookFunc(sd, &points);
+ postHookFunc(sd, points);
}
}
return;
@@ -9137,10 +9137,10 @@ void HP_clif_fame_alchemist(struct map_session_data *sd, int points) {
HPMHooks.source.clif.fame_alchemist(sd, points);
}
if( HPMHooks.count.HP_clif_fame_alchemist_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *points);
+ void (*postHookFunc) (struct map_session_data *sd, int points);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_fame_alchemist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_fame_alchemist_post[hIndex].func;
- postHookFunc(sd, &points);
+ postHookFunc(sd, points);
}
}
return;
@@ -9163,10 +9163,10 @@ void HP_clif_fame_taekwon(struct map_session_data *sd, int points) {
HPMHooks.source.clif.fame_taekwon(sd, points);
}
if( HPMHooks.count.HP_clif_fame_taekwon_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *points);
+ void (*postHookFunc) (struct map_session_data *sd, int points);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_fame_taekwon_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_fame_taekwon_post[hIndex].func;
- postHookFunc(sd, &points);
+ postHookFunc(sd, points);
}
}
return;
@@ -9189,10 +9189,10 @@ void HP_clif_ranklist(struct map_session_data *sd, enum fame_list_type type) {
HPMHooks.source.clif.ranklist(sd, type);
}
if( HPMHooks.count.HP_clif_ranklist_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum fame_list_type *type);
+ void (*postHookFunc) (struct map_session_data *sd, enum fame_list_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_ranklist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_ranklist_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -9215,10 +9215,10 @@ void HP_clif_update_rankingpoint(struct map_session_data *sd, enum fame_list_typ
HPMHooks.source.clif.update_rankingpoint(sd, type, points);
}
if( HPMHooks.count.HP_clif_update_rankingpoint_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum fame_list_type *type, int *points);
+ void (*postHookFunc) (struct map_session_data *sd, enum fame_list_type type, int points);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_update_rankingpoint_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_update_rankingpoint_post[hIndex].func;
- postHookFunc(sd, &type, &points);
+ postHookFunc(sd, type, points);
}
}
return;
@@ -9241,10 +9241,10 @@ void HP_clif_pRanklist(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRanklist(fd, sd);
}
if( HPMHooks.count.HP_clif_pRanklist_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRanklist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRanklist_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -9385,10 +9385,10 @@ void HP_clif_skill_fail(struct map_session_data *sd, uint16 skill_id, enum usesk
HPMHooks.source.clif.skill_fail(sd, skill_id, cause, btype);
}
if( HPMHooks.count.HP_clif_skill_fail_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id, enum useskill_fail_cause *cause, int *btype);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id, enum useskill_fail_cause cause, int btype);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_fail_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_fail_post[hIndex].func;
- postHookFunc(sd, &skill_id, &cause, &btype);
+ postHookFunc(sd, skill_id, cause, btype);
}
}
return;
@@ -9411,10 +9411,10 @@ void HP_clif_skill_cooldown(struct map_session_data *sd, uint16 skill_id, unsign
HPMHooks.source.clif.skill_cooldown(sd, skill_id, duration);
}
if( HPMHooks.count.HP_clif_skill_cooldown_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id, unsigned int *duration);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id, unsigned int duration);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_cooldown_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_cooldown_post[hIndex].func;
- postHookFunc(sd, &skill_id, &duration);
+ postHookFunc(sd, skill_id, duration);
}
}
return;
@@ -9437,10 +9437,10 @@ void HP_clif_skill_memomessage(struct map_session_data *sd, int type) {
HPMHooks.source.clif.skill_memomessage(sd, type);
}
if( HPMHooks.count.HP_clif_skill_memomessage_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_memomessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_memomessage_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -9463,10 +9463,10 @@ void HP_clif_skill_mapinfomessage(struct map_session_data *sd, int type) {
HPMHooks.source.clif.skill_mapinfomessage(sd, type);
}
if( HPMHooks.count.HP_clif_skill_mapinfomessage_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_mapinfomessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_mapinfomessage_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -9489,10 +9489,10 @@ void HP_clif_skill_produce_mix_list(struct map_session_data *sd, int skill_id, i
HPMHooks.source.clif.skill_produce_mix_list(sd, skill_id, trigger);
}
if( HPMHooks.count.HP_clif_skill_produce_mix_list_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *skill_id, int *trigger);
+ void (*postHookFunc) (struct map_session_data *sd, int skill_id, int trigger);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_produce_mix_list_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_produce_mix_list_post[hIndex].func;
- postHookFunc(sd, &skill_id, &trigger);
+ postHookFunc(sd, skill_id, trigger);
}
}
return;
@@ -9515,10 +9515,10 @@ void HP_clif_cooking_list(struct map_session_data *sd, int trigger, uint16 skill
HPMHooks.source.clif.cooking_list(sd, trigger, skill_id, qty, list_type);
}
if( HPMHooks.count.HP_clif_cooking_list_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *trigger, uint16 *skill_id, int *qty, int *list_type);
+ void (*postHookFunc) (struct map_session_data *sd, int trigger, uint16 skill_id, int qty, int list_type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cooking_list_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_cooking_list_post[hIndex].func;
- postHookFunc(sd, &trigger, &skill_id, &qty, &list_type);
+ postHookFunc(sd, trigger, skill_id, qty, list_type);
}
}
return;
@@ -9541,10 +9541,10 @@ void HP_clif_autospell(struct map_session_data *sd, uint16 skill_lv) {
HPMHooks.source.clif.autospell(sd, skill_lv);
}
if( HPMHooks.count.HP_clif_autospell_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_lv);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_autospell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_autospell_post[hIndex].func;
- postHookFunc(sd, &skill_lv);
+ postHookFunc(sd, skill_lv);
}
}
return;
@@ -9567,10 +9567,10 @@ void HP_clif_combo_delay(struct block_list *bl, int wait) {
HPMHooks.source.clif.combo_delay(bl, wait);
}
if( HPMHooks.count.HP_clif_combo_delay_post ) {
- void (*postHookFunc) (struct block_list *bl, int *wait);
+ void (*postHookFunc) (struct block_list *bl, int wait);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_combo_delay_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_combo_delay_post[hIndex].func;
- postHookFunc(bl, &wait);
+ postHookFunc(bl, wait);
}
}
return;
@@ -9593,10 +9593,10 @@ void HP_clif_status_change(struct block_list *bl, int type, int flag, int tick,
HPMHooks.source.clif.status_change(bl, type, flag, tick, val1, val2, val3);
}
if( HPMHooks.count.HP_clif_status_change_post ) {
- void (*postHookFunc) (struct block_list *bl, int *type, int *flag, int *tick, int *val1, int *val2, int *val3);
+ void (*postHookFunc) (struct block_list *bl, int type, int flag, int tick, int val1, int val2, int val3);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_status_change_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_status_change_post[hIndex].func;
- postHookFunc(bl, &type, &flag, &tick, &val1, &val2, &val3);
+ postHookFunc(bl, type, flag, tick, val1, val2, val3);
}
}
return;
@@ -9619,10 +9619,10 @@ void HP_clif_insert_card(struct map_session_data *sd, int idx_equip, int idx_car
HPMHooks.source.clif.insert_card(sd, idx_equip, idx_card, flag);
}
if( HPMHooks.count.HP_clif_insert_card_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *idx_equip, int *idx_card, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int idx_equip, int idx_card, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_insert_card_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_insert_card_post[hIndex].func;
- postHookFunc(sd, &idx_equip, &idx_card, &flag);
+ postHookFunc(sd, idx_equip, idx_card, flag);
}
}
return;
@@ -9723,10 +9723,10 @@ void HP_clif_favorite_item(struct map_session_data *sd, unsigned short index) {
HPMHooks.source.clif.favorite_item(sd, index);
}
if( HPMHooks.count.HP_clif_favorite_item_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *index);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_favorite_item_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_favorite_item_post[hIndex].func;
- postHookFunc(sd, &index);
+ postHookFunc(sd, index);
}
}
return;
@@ -9749,10 +9749,10 @@ void HP_clif_clearcart(int fd) {
HPMHooks.source.clif.clearcart(fd);
}
if( HPMHooks.count.HP_clif_clearcart_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearcart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_clearcart_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -9801,10 +9801,10 @@ void HP_clif_item_identified(struct map_session_data *sd, int idx, int flag) {
HPMHooks.source.clif.item_identified(sd, idx, flag);
}
if( HPMHooks.count.HP_clif_item_identified_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *idx, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int idx, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_identified_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_identified_post[hIndex].func;
- postHookFunc(sd, &idx, &flag);
+ postHookFunc(sd, idx, flag);
}
}
return;
@@ -9827,10 +9827,10 @@ void HP_clif_item_repair_list(struct map_session_data *sd, struct map_session_da
HPMHooks.source.clif.item_repair_list(sd, dstsd, lv);
}
if( HPMHooks.count.HP_clif_item_repair_list_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *dstsd, int *lv);
+ void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *dstsd, int lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_repair_list_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_repair_list_post[hIndex].func;
- postHookFunc(sd, dstsd, &lv);
+ postHookFunc(sd, dstsd, lv);
}
}
return;
@@ -9853,10 +9853,10 @@ void HP_clif_item_repaireffect(struct map_session_data *sd, int idx, int flag) {
HPMHooks.source.clif.item_repaireffect(sd, idx, flag);
}
if( HPMHooks.count.HP_clif_item_repaireffect_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *idx, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int idx, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_repaireffect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_repaireffect_post[hIndex].func;
- postHookFunc(sd, &idx, &flag);
+ postHookFunc(sd, idx, flag);
}
}
return;
@@ -9879,10 +9879,10 @@ void HP_clif_item_damaged(struct map_session_data *sd, unsigned short position)
HPMHooks.source.clif.item_damaged(sd, position);
}
if( HPMHooks.count.HP_clif_item_damaged_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *position);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short position);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_damaged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_damaged_post[hIndex].func;
- postHookFunc(sd, &position);
+ postHookFunc(sd, position);
}
}
return;
@@ -9931,10 +9931,10 @@ void HP_clif_item_skill(struct map_session_data *sd, uint16 skill_id, uint16 ski
HPMHooks.source.clif.item_skill(sd, skill_id, skill_lv);
}
if( HPMHooks.count.HP_clif_item_skill_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_skill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_item_skill_post[hIndex].func;
- postHookFunc(sd, &skill_id, &skill_lv);
+ postHookFunc(sd, skill_id, skill_lv);
}
}
return;
@@ -9957,10 +9957,10 @@ void HP_clif_mvp_item(struct map_session_data *sd, int nameid) {
HPMHooks.source.clif.mvp_item(sd, nameid);
}
if( HPMHooks.count.HP_clif_mvp_item_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *nameid);
+ void (*postHookFunc) (struct map_session_data *sd, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mvp_item_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mvp_item_post[hIndex].func;
- postHookFunc(sd, &nameid);
+ postHookFunc(sd, nameid);
}
}
return;
@@ -9983,10 +9983,10 @@ void HP_clif_mvp_exp(struct map_session_data *sd, unsigned int exp) {
HPMHooks.source.clif.mvp_exp(sd, exp);
}
if( HPMHooks.count.HP_clif_mvp_exp_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *exp);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int exp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mvp_exp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mvp_exp_post[hIndex].func;
- postHookFunc(sd, &exp);
+ postHookFunc(sd, exp);
}
}
return;
@@ -10035,10 +10035,10 @@ void HP_clif_changed_dir(struct block_list *bl, enum send_target target) {
HPMHooks.source.clif.changed_dir(bl, target);
}
if( HPMHooks.count.HP_clif_changed_dir_post ) {
- void (*postHookFunc) (struct block_list *bl, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changed_dir_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_changed_dir_post[hIndex].func;
- postHookFunc(bl, &target);
+ postHookFunc(bl, target);
}
}
return;
@@ -10061,10 +10061,10 @@ void HP_clif_charnameack(int fd, struct block_list *bl) {
HPMHooks.source.clif.charnameack(fd, bl);
}
if( HPMHooks.count.HP_clif_charnameack_post ) {
- void (*postHookFunc) (int *fd, struct block_list *bl);
+ void (*postHookFunc) (int fd, struct block_list *bl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_charnameack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_charnameack_post[hIndex].func;
- postHookFunc(&fd, bl);
+ postHookFunc(fd, bl);
}
}
return;
@@ -10140,10 +10140,10 @@ void HP_clif_hpmeter_single(int fd, int id, unsigned int hp, unsigned int maxhp)
HPMHooks.source.clif.hpmeter_single(fd, id, hp, maxhp);
}
if( HPMHooks.count.HP_clif_hpmeter_single_post ) {
- void (*postHookFunc) (int *fd, int *id, unsigned int *hp, unsigned int *maxhp);
+ void (*postHookFunc) (int fd, int id, unsigned int hp, unsigned int maxhp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hpmeter_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_hpmeter_single_post[hIndex].func;
- postHookFunc(&fd, &id, &hp, &maxhp);
+ postHookFunc(fd, id, hp, maxhp);
}
}
return;
@@ -10199,10 +10199,10 @@ void HP_clif_upgrademessage(int fd, int result, int item_id) {
HPMHooks.source.clif.upgrademessage(fd, result, item_id);
}
if( HPMHooks.count.HP_clif_upgrademessage_post ) {
- void (*postHookFunc) (int *fd, int *result, int *item_id);
+ void (*postHookFunc) (int fd, int result, int item_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_upgrademessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_upgrademessage_post[hIndex].func;
- postHookFunc(&fd, &result, &item_id);
+ postHookFunc(fd, result, item_id);
}
}
return;
@@ -10251,10 +10251,10 @@ void HP_clif_gospel_info(struct map_session_data *sd, int type) {
HPMHooks.source.clif.gospel_info(sd, type);
}
if( HPMHooks.count.HP_clif_gospel_info_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_gospel_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_gospel_info_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -10277,10 +10277,10 @@ void HP_clif_feel_req(int fd, struct map_session_data *sd, uint16 skill_lv) {
HPMHooks.source.clif.feel_req(fd, sd, skill_lv);
}
if( HPMHooks.count.HP_clif_feel_req_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd, uint16 *skill_lv);
+ void (*postHookFunc) (int fd, struct map_session_data *sd, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_feel_req_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_feel_req_post[hIndex].func;
- postHookFunc(&fd, sd, &skill_lv);
+ postHookFunc(fd, sd, skill_lv);
}
}
return;
@@ -10303,10 +10303,10 @@ void HP_clif_starskill(struct map_session_data *sd, const char *mapname, int mon
HPMHooks.source.clif.starskill(sd, mapname, monster_id, star, result);
}
if( HPMHooks.count.HP_clif_starskill_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const char *mapname, int *monster_id, unsigned char *star, unsigned char *result);
+ void (*postHookFunc) (struct map_session_data *sd, const char *mapname, int monster_id, unsigned char star, unsigned char result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_starskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_starskill_post[hIndex].func;
- postHookFunc(sd, mapname, &monster_id, &star, &result);
+ postHookFunc(sd, mapname, monster_id, star, result);
}
}
return;
@@ -10329,10 +10329,10 @@ void HP_clif_feel_info(struct map_session_data *sd, unsigned char feel_level, un
HPMHooks.source.clif.feel_info(sd, feel_level, type);
}
if( HPMHooks.count.HP_clif_feel_info_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *feel_level, unsigned char *type);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char feel_level, unsigned char type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_feel_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_feel_info_post[hIndex].func;
- postHookFunc(sd, &feel_level, &type);
+ postHookFunc(sd, feel_level, type);
}
}
return;
@@ -10355,10 +10355,10 @@ void HP_clif_hate_info(struct map_session_data *sd, unsigned char hate_level, in
HPMHooks.source.clif.hate_info(sd, hate_level, class_, type);
}
if( HPMHooks.count.HP_clif_hate_info_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *hate_level, int *class_, unsigned char *type);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char hate_level, int class_, unsigned char type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hate_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_hate_info_post[hIndex].func;
- postHookFunc(sd, &hate_level, &class_, &type);
+ postHookFunc(sd, hate_level, class_, type);
}
}
return;
@@ -10381,10 +10381,10 @@ void HP_clif_mission_info(struct map_session_data *sd, int mob_id, unsigned char
HPMHooks.source.clif.mission_info(sd, mob_id, progress);
}
if( HPMHooks.count.HP_clif_mission_info_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *mob_id, unsigned char *progress);
+ void (*postHookFunc) (struct map_session_data *sd, int mob_id, unsigned char progress);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mission_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mission_info_post[hIndex].func;
- postHookFunc(sd, &mob_id, &progress);
+ postHookFunc(sd, mob_id, progress);
}
}
return;
@@ -10433,10 +10433,10 @@ void HP_clif_partytickack(struct map_session_data *sd, bool flag) {
HPMHooks.source.clif.partytickack(sd, flag);
}
if( HPMHooks.count.HP_clif_partytickack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*postHookFunc) (struct map_session_data *sd, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_partytickack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_partytickack_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -10459,10 +10459,10 @@ void HP_clif_equiptickack(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.equiptickack(sd, flag);
}
if( HPMHooks.count.HP_clif_equiptickack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_equiptickack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_equiptickack_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -10537,10 +10537,10 @@ void HP_clif_displayexp(struct map_session_data *sd, unsigned int exp, char type
HPMHooks.source.clif.displayexp(sd, exp, type, is_quest);
}
if( HPMHooks.count.HP_clif_displayexp_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *exp, char *type, bool *is_quest);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int exp, char type, bool is_quest);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_displayexp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_displayexp_post[hIndex].func;
- postHookFunc(sd, &exp, &type, &is_quest);
+ postHookFunc(sd, exp, type, is_quest);
}
}
return;
@@ -10589,10 +10589,10 @@ void HP_clif_progressbar(struct map_session_data *sd, unsigned int color, unsign
HPMHooks.source.clif.progressbar(sd, color, second);
}
if( HPMHooks.count.HP_clif_progressbar_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *color, unsigned int *second);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int color, unsigned int second);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_progressbar_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_progressbar_post[hIndex].func;
- postHookFunc(sd, &color, &second);
+ postHookFunc(sd, color, second);
}
}
return;
@@ -10641,10 +10641,10 @@ void HP_clif_showdigit(struct map_session_data *sd, unsigned char type, int valu
HPMHooks.source.clif.showdigit(sd, type, value);
}
if( HPMHooks.count.HP_clif_showdigit_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *type, int *value);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char type, int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_showdigit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_showdigit_post[hIndex].func;
- postHookFunc(sd, &type, &value);
+ postHookFunc(sd, type, value);
}
}
return;
@@ -10722,10 +10722,10 @@ int HP_clif_magicdecoy_list(struct map_session_data *sd, uint16 skill_lv, short
retVal___ = HPMHooks.source.clif.magicdecoy_list(sd, skill_lv, x, y);
}
if( HPMHooks.count.HP_clif_magicdecoy_list_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_lv, short *x, short *y);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_lv, short x, short y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_magicdecoy_list_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_magicdecoy_list_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_lv, &x, &y);
+ retVal___ = postHookFunc(retVal___, sd, skill_lv, x, y);
}
}
return retVal___;
@@ -10749,10 +10749,10 @@ int HP_clif_poison_list(struct map_session_data *sd, uint16 skill_lv) {
retVal___ = HPMHooks.source.clif.poison_list(sd, skill_lv);
}
if( HPMHooks.count.HP_clif_poison_list_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_poison_list_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_poison_list_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_lv);
+ retVal___ = postHookFunc(retVal___, sd, skill_lv);
}
}
return retVal___;
@@ -10803,10 +10803,10 @@ int HP_clif_skill_itemlistwindow(struct map_session_data *sd, uint16 skill_id, u
retVal___ = HPMHooks.source.clif.skill_itemlistwindow(sd, skill_id, skill_lv);
}
if( HPMHooks.count.HP_clif_skill_itemlistwindow_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_itemlistwindow_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_itemlistwindow_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, skill_lv);
}
}
return retVal___;
@@ -10829,10 +10829,10 @@ void HP_clif_sc_load(struct block_list *bl, int tid, enum send_target target, in
HPMHooks.source.clif.sc_load(bl, tid, target, type, val1, val2, val3);
}
if( HPMHooks.count.HP_clif_sc_load_post ) {
- void (*postHookFunc) (struct block_list *bl, int *tid, enum send_target *target, int *type, int *val1, int *val2, int *val3);
+ void (*postHookFunc) (struct block_list *bl, int tid, enum send_target target, int type, int val1, int val2, int val3);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sc_load_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_sc_load_post[hIndex].func;
- postHookFunc(bl, &tid, &target, &type, &val1, &val2, &val3);
+ postHookFunc(bl, tid, target, type, val1, val2, val3);
}
}
return;
@@ -10855,10 +10855,10 @@ void HP_clif_sc_end(struct block_list *bl, int tid, enum send_target target, int
HPMHooks.source.clif.sc_end(bl, tid, target, type);
}
if( HPMHooks.count.HP_clif_sc_end_post ) {
- void (*postHookFunc) (struct block_list *bl, int *tid, enum send_target *target, int *type);
+ void (*postHookFunc) (struct block_list *bl, int tid, enum send_target target, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sc_end_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_sc_end_post[hIndex].func;
- postHookFunc(bl, &tid, &target, &type);
+ postHookFunc(bl, tid, target, type);
}
}
return;
@@ -10907,10 +10907,10 @@ void HP_clif_cooldown_list(int fd, struct skill_cd *cd) {
HPMHooks.source.clif.cooldown_list(fd, cd);
}
if( HPMHooks.count.HP_clif_cooldown_list_post ) {
- void (*postHookFunc) (int *fd, struct skill_cd *cd);
+ void (*postHookFunc) (int fd, struct skill_cd *cd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cooldown_list_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_cooldown_list_post[hIndex].func;
- postHookFunc(&fd, cd);
+ postHookFunc(fd, cd);
}
}
return;
@@ -10933,10 +10933,10 @@ void HP_clif_updatestatus(struct map_session_data *sd, int type) {
HPMHooks.source.clif.updatestatus(sd, type);
}
if( HPMHooks.count.HP_clif_updatestatus_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_updatestatus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_updatestatus_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -10959,10 +10959,10 @@ void HP_clif_changestatus(struct map_session_data *sd, int type, int val) {
HPMHooks.source.clif.changestatus(sd, type, val);
}
if( HPMHooks.count.HP_clif_changestatus_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type, int *val);
+ void (*postHookFunc) (struct map_session_data *sd, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changestatus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_changestatus_post[hIndex].func;
- postHookFunc(sd, &type, &val);
+ postHookFunc(sd, type, val);
}
}
return;
@@ -10985,10 +10985,10 @@ void HP_clif_statusupack(struct map_session_data *sd, int type, int ok, int val)
HPMHooks.source.clif.statusupack(sd, type, ok, val);
}
if( HPMHooks.count.HP_clif_statusupack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type, int *ok, int *val);
+ void (*postHookFunc) (struct map_session_data *sd, int type, int ok, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_statusupack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_statusupack_post[hIndex].func;
- postHookFunc(sd, &type, &ok, &val);
+ postHookFunc(sd, type, ok, val);
}
}
return;
@@ -11037,10 +11037,10 @@ void HP_clif_solved_charname(int fd, int charid, const char *name) {
HPMHooks.source.clif.solved_charname(fd, charid, name);
}
if( HPMHooks.count.HP_clif_solved_charname_post ) {
- void (*postHookFunc) (int *fd, int *charid, const char *name);
+ void (*postHookFunc) (int fd, int charid, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_solved_charname_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_solved_charname_post[hIndex].func;
- postHookFunc(&fd, &charid, name);
+ postHookFunc(fd, charid, name);
}
}
return;
@@ -11090,10 +11090,10 @@ int HP_clif_delayquit(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.clif.delayquit(tid, tick, id, data);
}
if( HPMHooks.count.HP_clif_delayquit_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_clif_delayquit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_delayquit_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -11142,10 +11142,10 @@ void HP_clif_disconnect_ack(struct map_session_data *sd, short result) {
HPMHooks.source.clif.disconnect_ack(sd, result);
}
if( HPMHooks.count.HP_clif_disconnect_ack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *result);
+ void (*postHookFunc) (struct map_session_data *sd, short result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_disconnect_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_disconnect_ack_post[hIndex].func;
- postHookFunc(sd, &result);
+ postHookFunc(sd, result);
}
}
return;
@@ -11298,10 +11298,10 @@ void HP_clif_quitsave(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.quitsave(fd, sd);
}
if( HPMHooks.count.HP_clif_quitsave_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quitsave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_quitsave_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -11324,10 +11324,10 @@ void HP_clif_misceffect(struct block_list *bl, int type) {
HPMHooks.source.clif.misceffect(bl, type);
}
if( HPMHooks.count.HP_clif_misceffect_post ) {
- void (*postHookFunc) (struct block_list *bl, int *type);
+ void (*postHookFunc) (struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_misceffect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_misceffect_post[hIndex].func;
- postHookFunc(bl, &type);
+ postHookFunc(bl, type);
}
}
return;
@@ -11402,10 +11402,10 @@ void HP_clif_emotion(struct block_list *bl, int type) {
HPMHooks.source.clif.emotion(bl, type);
}
if( HPMHooks.count.HP_clif_emotion_post ) {
- void (*postHookFunc) (struct block_list *bl, int *type);
+ void (*postHookFunc) (struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_emotion_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_emotion_post[hIndex].func;
- postHookFunc(bl, &type);
+ postHookFunc(bl, type);
}
}
return;
@@ -11533,10 +11533,10 @@ int HP_clif_skill_damage(struct block_list *src, struct block_list *dst, int64 t
retVal___ = HPMHooks.source.clif.skill_damage(src, dst, tick, sdelay, ddelay, damage, div, skill_id, skill_lv, type);
}
if( HPMHooks.count.HP_clif_skill_damage_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *dst, int64 *tick, int *sdelay, int *ddelay, int64 *damage, int *div, uint16 *skill_id, uint16 *skill_lv, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *dst, int64 tick, int sdelay, int ddelay, int64 damage, int div, uint16 skill_id, uint16 skill_lv, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, dst, &tick, &sdelay, &ddelay, &damage, &div, &skill_id, &skill_lv, &type);
+ retVal___ = postHookFunc(retVal___, src, dst, tick, sdelay, ddelay, damage, div, skill_id, skill_lv, type);
}
}
return retVal___;
@@ -11560,10 +11560,10 @@ int HP_clif_skill_nodamage(struct block_list *src, struct block_list *dst, uint1
retVal___ = HPMHooks.source.clif.skill_nodamage(src, dst, skill_id, heal, fail);
}
if( HPMHooks.count.HP_clif_skill_nodamage_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *dst, uint16 *skill_id, int *heal, int *fail);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *dst, uint16 skill_id, int heal, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_nodamage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_nodamage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, dst, &skill_id, &heal, &fail);
+ retVal___ = postHookFunc(retVal___, src, dst, skill_id, heal, fail);
}
}
return retVal___;
@@ -11586,10 +11586,10 @@ void HP_clif_skill_poseffect(struct block_list *src, uint16 skill_id, int val, i
HPMHooks.source.clif.skill_poseffect(src, skill_id, val, x, y, tick);
}
if( HPMHooks.count.HP_clif_skill_poseffect_post ) {
- void (*postHookFunc) (struct block_list *src, uint16 *skill_id, int *val, int *x, int *y, int64 *tick);
+ void (*postHookFunc) (struct block_list *src, uint16 skill_id, int val, int x, int y, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_poseffect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_poseffect_post[hIndex].func;
- postHookFunc(src, &skill_id, &val, &x, &y, &tick);
+ postHookFunc(src, skill_id, val, x, y, tick);
}
}
return;
@@ -11638,10 +11638,10 @@ void HP_clif_skill_warppoint(struct map_session_data *sd, uint16 skill_id, uint1
HPMHooks.source.clif.skill_warppoint(sd, skill_id, skill_lv, map1, map2, map3, map4);
}
if( HPMHooks.count.HP_clif_skill_warppoint_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, unsigned short *map1, unsigned short *map2, unsigned short *map3, unsigned short *map4);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv, unsigned short map1, unsigned short map2, unsigned short map3, unsigned short map4);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_warppoint_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skill_warppoint_post[hIndex].func;
- postHookFunc(sd, &skill_id, &skill_lv, &map1, &map2, &map3, &map4);
+ postHookFunc(sd, skill_id, skill_lv, map1, map2, map3, map4);
}
}
return;
@@ -11664,10 +11664,10 @@ void HP_clif_skillcasting(struct block_list *bl, int src_id, int dst_id, int dst
HPMHooks.source.clif.skillcasting(bl, src_id, dst_id, dst_x, dst_y, skill_id, property, casttime);
}
if( HPMHooks.count.HP_clif_skillcasting_post ) {
- void (*postHookFunc) (struct block_list *bl, int *src_id, int *dst_id, int *dst_x, int *dst_y, uint16 *skill_id, int *property, int *casttime);
+ void (*postHookFunc) (struct block_list *bl, int src_id, int dst_id, int dst_x, int dst_y, uint16 skill_id, int property, int casttime);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillcasting_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skillcasting_post[hIndex].func;
- postHookFunc(bl, &src_id, &dst_id, &dst_x, &dst_y, &skill_id, &property, &casttime);
+ postHookFunc(bl, src_id, dst_id, dst_x, dst_y, skill_id, property, casttime);
}
}
return;
@@ -11690,10 +11690,10 @@ void HP_clif_produce_effect(struct map_session_data *sd, int flag, int nameid) {
HPMHooks.source.clif.produce_effect(sd, flag, nameid);
}
if( HPMHooks.count.HP_clif_produce_effect_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag, int *nameid);
+ void (*postHookFunc) (struct map_session_data *sd, int flag, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_produce_effect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_produce_effect_post[hIndex].func;
- postHookFunc(sd, &flag, &nameid);
+ postHookFunc(sd, flag, nameid);
}
}
return;
@@ -11768,10 +11768,10 @@ void HP_clif_spiritball_single(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.spiritball_single(fd, sd);
}
if( HPMHooks.count.HP_clif_spiritball_single_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spiritball_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_spiritball_single_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -11794,10 +11794,10 @@ void HP_clif_bladestop(struct block_list *src, int dst_id, int active) {
HPMHooks.source.clif.bladestop(src, dst_id, active);
}
if( HPMHooks.count.HP_clif_bladestop_post ) {
- void (*postHookFunc) (struct block_list *src, int *dst_id, int *active);
+ void (*postHookFunc) (struct block_list *src, int dst_id, int active);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bladestop_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bladestop_post[hIndex].func;
- postHookFunc(src, &dst_id, &active);
+ postHookFunc(src, dst_id, active);
}
}
return;
@@ -11846,10 +11846,10 @@ void HP_clif_heal(int fd, int type, int val) {
HPMHooks.source.clif.heal(fd, type, val);
}
if( HPMHooks.count.HP_clif_heal_post ) {
- void (*postHookFunc) (int *fd, int *type, int *val);
+ void (*postHookFunc) (int fd, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_heal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_heal_post[hIndex].func;
- postHookFunc(&fd, &type, &val);
+ postHookFunc(fd, type, val);
}
}
return;
@@ -11872,10 +11872,10 @@ void HP_clif_resurrection(struct block_list *bl, int type) {
HPMHooks.source.clif.resurrection(bl, type);
}
if( HPMHooks.count.HP_clif_resurrection_post ) {
- void (*postHookFunc) (struct block_list *bl, int *type);
+ void (*postHookFunc) (struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_resurrection_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_resurrection_post[hIndex].func;
- postHookFunc(bl, &type);
+ postHookFunc(bl, type);
}
}
return;
@@ -11898,10 +11898,10 @@ void HP_clif_refine(int fd, int fail, int index, int val) {
HPMHooks.source.clif.refine(fd, fail, index, val);
}
if( HPMHooks.count.HP_clif_refine_post ) {
- void (*postHookFunc) (int *fd, int *fail, int *index, int *val);
+ void (*postHookFunc) (int fd, int fail, int index, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_refine_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_refine_post[hIndex].func;
- postHookFunc(&fd, &fail, &index, &val);
+ postHookFunc(fd, fail, index, val);
}
}
return;
@@ -11924,10 +11924,10 @@ void HP_clif_weather(int16 m) {
HPMHooks.source.clif.weather(m);
}
if( HPMHooks.count.HP_clif_weather_post ) {
- void (*postHookFunc) (int16 *m);
+ void (*postHookFunc) (int16 m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_weather_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_weather_post[hIndex].func;
- postHookFunc(&m);
+ postHookFunc(m);
}
}
return;
@@ -11950,10 +11950,10 @@ void HP_clif_specialeffect(struct block_list *bl, int type, enum send_target tar
HPMHooks.source.clif.specialeffect(bl, type, target);
}
if( HPMHooks.count.HP_clif_specialeffect_post ) {
- void (*postHookFunc) (struct block_list *bl, int *type, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, int type, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_specialeffect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_specialeffect_post[hIndex].func;
- postHookFunc(bl, &type, &target);
+ postHookFunc(bl, type, target);
}
}
return;
@@ -11976,10 +11976,10 @@ void HP_clif_specialeffect_single(struct block_list *bl, int type, int fd) {
HPMHooks.source.clif.specialeffect_single(bl, type, fd);
}
if( HPMHooks.count.HP_clif_specialeffect_single_post ) {
- void (*postHookFunc) (struct block_list *bl, int *type, int *fd);
+ void (*postHookFunc) (struct block_list *bl, int type, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_specialeffect_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_specialeffect_single_post[hIndex].func;
- postHookFunc(bl, &type, &fd);
+ postHookFunc(bl, type, fd);
}
}
return;
@@ -12002,10 +12002,10 @@ void HP_clif_specialeffect_value(struct block_list *bl, int effect_id, int num,
HPMHooks.source.clif.specialeffect_value(bl, effect_id, num, target);
}
if( HPMHooks.count.HP_clif_specialeffect_value_post ) {
- void (*postHookFunc) (struct block_list *bl, int *effect_id, int *num, send_target *target);
+ void (*postHookFunc) (struct block_list *bl, int effect_id, int num, send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_specialeffect_value_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_specialeffect_value_post[hIndex].func;
- postHookFunc(bl, &effect_id, &num, &target);
+ postHookFunc(bl, effect_id, num, target);
}
}
return;
@@ -12028,10 +12028,10 @@ void HP_clif_millenniumshield(struct block_list *bl, short shields) {
HPMHooks.source.clif.millenniumshield(bl, shields);
}
if( HPMHooks.count.HP_clif_millenniumshield_post ) {
- void (*postHookFunc) (struct block_list *bl, short *shields);
+ void (*postHookFunc) (struct block_list *bl, short shields);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_millenniumshield_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_millenniumshield_post[hIndex].func;
- postHookFunc(bl, &shields);
+ postHookFunc(bl, shields);
}
}
return;
@@ -12080,10 +12080,10 @@ void HP_clif_charm_single(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.charm_single(fd, sd);
}
if( HPMHooks.count.HP_clif_charm_single_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_charm_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_charm_single_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -12106,10 +12106,10 @@ void HP_clif_snap(struct block_list *bl, short x, short y) {
HPMHooks.source.clif.snap(bl, x, y);
}
if( HPMHooks.count.HP_clif_snap_post ) {
- void (*postHookFunc) (struct block_list *bl, short *x, short *y);
+ void (*postHookFunc) (struct block_list *bl, short x, short y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_snap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_snap_post[hIndex].func;
- postHookFunc(bl, &x, &y);
+ postHookFunc(bl, x, y);
}
}
return;
@@ -12184,10 +12184,10 @@ void HP_clif_soundeffect(struct map_session_data *sd, struct block_list *bl, con
HPMHooks.source.clif.soundeffect(sd, bl, name, type);
}
if( HPMHooks.count.HP_clif_soundeffect_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct block_list *bl, const char *name, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, struct block_list *bl, const char *name, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_soundeffect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_soundeffect_post[hIndex].func;
- postHookFunc(sd, bl, name, &type);
+ postHookFunc(sd, bl, name, type);
}
}
return;
@@ -12210,10 +12210,10 @@ void HP_clif_soundeffectall(struct block_list *bl, const char *name, int type, e
HPMHooks.source.clif.soundeffectall(bl, name, type, coverage);
}
if( HPMHooks.count.HP_clif_soundeffectall_post ) {
- void (*postHookFunc) (struct block_list *bl, const char *name, int *type, enum send_target *coverage);
+ void (*postHookFunc) (struct block_list *bl, const char *name, int type, enum send_target coverage);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_soundeffectall_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_soundeffectall_post[hIndex].func;
- postHookFunc(bl, name, &type, &coverage);
+ postHookFunc(bl, name, type, coverage);
}
}
return;
@@ -12262,10 +12262,10 @@ void HP_clif_createchat(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.createchat(sd, flag);
}
if( HPMHooks.count.HP_clif_createchat_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_createchat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_createchat_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -12288,10 +12288,10 @@ void HP_clif_dispchat(struct chat_data *cd, int fd) {
HPMHooks.source.clif.dispchat(cd, fd);
}
if( HPMHooks.count.HP_clif_dispchat_post ) {
- void (*postHookFunc) (struct chat_data *cd, int *fd);
+ void (*postHookFunc) (struct chat_data *cd, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_dispchat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_dispchat_post[hIndex].func;
- postHookFunc(cd, &fd);
+ postHookFunc(cd, fd);
}
}
return;
@@ -12314,10 +12314,10 @@ void HP_clif_joinchatfail(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.joinchatfail(sd, flag);
}
if( HPMHooks.count.HP_clif_joinchatfail_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_joinchatfail_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_joinchatfail_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -12418,10 +12418,10 @@ void HP_clif_clearchat(struct chat_data *cd, int fd) {
HPMHooks.source.clif.clearchat(cd, fd);
}
if( HPMHooks.count.HP_clif_clearchat_post ) {
- void (*postHookFunc) (struct chat_data *cd, int *fd);
+ void (*postHookFunc) (struct chat_data *cd, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearchat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_clearchat_post[hIndex].func;
- postHookFunc(cd, &fd);
+ postHookFunc(cd, fd);
}
}
return;
@@ -12444,10 +12444,10 @@ void HP_clif_leavechat(struct chat_data *cd, struct map_session_data *sd, bool f
HPMHooks.source.clif.leavechat(cd, sd, flag);
}
if( HPMHooks.count.HP_clif_leavechat_post ) {
- void (*postHookFunc) (struct chat_data *cd, struct map_session_data *sd, bool *flag);
+ void (*postHookFunc) (struct chat_data *cd, struct map_session_data *sd, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_leavechat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_leavechat_post[hIndex].func;
- postHookFunc(cd, sd, &flag);
+ postHookFunc(cd, sd, flag);
}
}
return;
@@ -12496,10 +12496,10 @@ void HP_clif_wis_message(int fd, const char *nick, const char *mes, int mes_len)
HPMHooks.source.clif.wis_message(fd, nick, mes, mes_len);
}
if( HPMHooks.count.HP_clif_wis_message_post ) {
- void (*postHookFunc) (int *fd, const char *nick, const char *mes, int *mes_len);
+ void (*postHookFunc) (int fd, const char *nick, const char *mes, int mes_len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_wis_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_wis_message_post[hIndex].func;
- postHookFunc(&fd, nick, mes, &mes_len);
+ postHookFunc(fd, nick, mes, mes_len);
}
}
return;
@@ -12522,10 +12522,10 @@ void HP_clif_wis_end(int fd, int flag) {
HPMHooks.source.clif.wis_end(fd, flag);
}
if( HPMHooks.count.HP_clif_wis_end_post ) {
- void (*postHookFunc) (int *fd, int *flag);
+ void (*postHookFunc) (int fd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_wis_end_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_wis_end_post[hIndex].func;
- postHookFunc(&fd, &flag);
+ postHookFunc(fd, flag);
}
}
return;
@@ -12548,10 +12548,10 @@ void HP_clif_disp_message(struct block_list *src, const char *mes, enum send_tar
HPMHooks.source.clif.disp_message(src, mes, target);
}
if( HPMHooks.count.HP_clif_disp_message_post ) {
- void (*postHookFunc) (struct block_list *src, const char *mes, enum send_target *target);
+ void (*postHookFunc) (struct block_list *src, const char *mes, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_disp_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_disp_message_post[hIndex].func;
- postHookFunc(src, mes, &target);
+ postHookFunc(src, mes, target);
}
}
return;
@@ -12574,10 +12574,10 @@ void HP_clif_broadcast(struct block_list *bl, const char *mes, int len, int type
HPMHooks.source.clif.broadcast(bl, mes, len, type, target);
}
if( HPMHooks.count.HP_clif_broadcast_post ) {
- void (*postHookFunc) (struct block_list *bl, const char *mes, int *len, int *type, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, const char *mes, int len, int type, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_broadcast_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_broadcast_post[hIndex].func;
- postHookFunc(bl, mes, &len, &type, &target);
+ postHookFunc(bl, mes, len, type, target);
}
}
return;
@@ -12600,10 +12600,10 @@ void HP_clif_broadcast2(struct block_list *bl, const char *mes, int len, unsigne
HPMHooks.source.clif.broadcast2(bl, mes, len, fontColor, fontType, fontSize, fontAlign, fontY, target);
}
if( HPMHooks.count.HP_clif_broadcast2_post ) {
- void (*postHookFunc) (struct block_list *bl, const char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY, enum send_target *target);
+ void (*postHookFunc) (struct block_list *bl, const char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_broadcast2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_broadcast2_post[hIndex].func;
- postHookFunc(bl, mes, &len, &fontColor, &fontType, &fontSize, &fontAlign, &fontY, &target);
+ postHookFunc(bl, mes, len, fontColor, fontType, fontSize, fontAlign, fontY, target);
}
}
return;
@@ -12626,10 +12626,10 @@ void HP_clif_messagecolor_self(int fd, uint32 color, const char *msg) {
HPMHooks.source.clif.messagecolor_self(fd, color, msg);
}
if( HPMHooks.count.HP_clif_messagecolor_self_post ) {
- void (*postHookFunc) (int *fd, uint32 *color, const char *msg);
+ void (*postHookFunc) (int fd, uint32 color, const char *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_messagecolor_self_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_messagecolor_self_post[hIndex].func;
- postHookFunc(&fd, &color, msg);
+ postHookFunc(fd, color, msg);
}
}
return;
@@ -12652,10 +12652,10 @@ void HP_clif_messagecolor(struct block_list *bl, uint32 color, const char *msg)
HPMHooks.source.clif.messagecolor(bl, color, msg);
}
if( HPMHooks.count.HP_clif_messagecolor_post ) {
- void (*postHookFunc) (struct block_list *bl, uint32 *color, const char *msg);
+ void (*postHookFunc) (struct block_list *bl, uint32 color, const char *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_messagecolor_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_messagecolor_post[hIndex].func;
- postHookFunc(bl, &color, msg);
+ postHookFunc(bl, color, msg);
}
}
return;
@@ -12704,10 +12704,10 @@ void HP_clif_msgtable(struct map_session_data *sd, unsigned short msg_id) {
HPMHooks.source.clif.msgtable(sd, msg_id);
}
if( HPMHooks.count.HP_clif_msgtable_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *msg_id);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short msg_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_msgtable_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_msgtable_post[hIndex].func;
- postHookFunc(sd, &msg_id);
+ postHookFunc(sd, msg_id);
}
}
return;
@@ -12730,10 +12730,10 @@ void HP_clif_msgtable_num(struct map_session_data *sd, unsigned short msg_id, in
HPMHooks.source.clif.msgtable_num(sd, msg_id, value);
}
if( HPMHooks.count.HP_clif_msgtable_num_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *msg_id, int *value);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short msg_id, int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_msgtable_num_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_msgtable_num_post[hIndex].func;
- postHookFunc(sd, &msg_id, &value);
+ postHookFunc(sd, msg_id, value);
}
}
return;
@@ -12756,10 +12756,10 @@ void HP_clif_msgtable_skill(struct map_session_data *sd, uint16 skill_id, int ms
HPMHooks.source.clif.msgtable_skill(sd, skill_id, msg_id);
}
if( HPMHooks.count.HP_clif_msgtable_skill_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id, int *msg_id);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id, int msg_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_msgtable_skill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_msgtable_skill_post[hIndex].func;
- postHookFunc(sd, &skill_id, &msg_id);
+ postHookFunc(sd, skill_id, msg_id);
}
}
return;
@@ -12782,10 +12782,10 @@ void HP_clif_message(const int fd, const char *mes) {
HPMHooks.source.clif.message(fd, mes);
}
if( HPMHooks.count.HP_clif_message_post ) {
- void (*postHookFunc) (const int *fd, const char *mes);
+ void (*postHookFunc) (const int fd, const char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_message_post[hIndex].func;
- postHookFunc(&fd, mes);
+ postHookFunc(fd, mes);
}
}
return;
@@ -12808,10 +12808,10 @@ void HP_clif_messageln(const int fd, const char *mes) {
HPMHooks.source.clif.messageln(fd, mes);
}
if( HPMHooks.count.HP_clif_messageln_post ) {
- void (*postHookFunc) (const int *fd, const char *mes);
+ void (*postHookFunc) (const int fd, const char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_messageln_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_messageln_post[hIndex].func;
- postHookFunc(&fd, mes);
+ postHookFunc(fd, mes);
}
}
return;
@@ -12835,10 +12835,10 @@ const char* HP_clif_process_chat_message(struct map_session_data *sd, const stru
retVal___ = HPMHooks.source.clif.process_chat_message(sd, packet, out_buf, out_buflen);
}
if( HPMHooks.count.HP_clif_process_chat_message_post ) {
- const char* (*postHookFunc) (const char* retVal___, struct map_session_data *sd, const struct packet_chat_message *packet, char *out_buf, int *out_buflen);
+ const char* (*postHookFunc) (const char* retVal___, struct map_session_data *sd, const struct packet_chat_message *packet, char *out_buf, int out_buflen);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_process_chat_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_process_chat_message_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, packet, out_buf, &out_buflen);
+ retVal___ = postHookFunc(retVal___, sd, packet, out_buf, out_buflen);
}
}
return retVal___;
@@ -12862,10 +12862,10 @@ bool HP_clif_process_whisper_message(struct map_session_data *sd, const struct p
retVal___ = HPMHooks.source.clif.process_whisper_message(sd, packet, out_name, out_message, out_messagelen);
}
if( HPMHooks.count.HP_clif_process_whisper_message_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const struct packet_whisper_message *packet, char *out_name, char *out_message, int *out_messagelen);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const struct packet_whisper_message *packet, char *out_name, char *out_message, int out_messagelen);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_process_whisper_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_process_whisper_message_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, packet, out_name, out_message, &out_messagelen);
+ retVal___ = postHookFunc(retVal___, sd, packet, out_name, out_message, out_messagelen);
}
}
return retVal___;
@@ -12888,10 +12888,10 @@ void HP_clif_wisexin(struct map_session_data *sd, int type, int flag) {
HPMHooks.source.clif.wisexin(sd, type, flag);
}
if( HPMHooks.count.HP_clif_wisexin_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int type, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_wisexin_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_wisexin_post[hIndex].func;
- postHookFunc(sd, &type, &flag);
+ postHookFunc(sd, type, flag);
}
}
return;
@@ -12914,10 +12914,10 @@ void HP_clif_wisall(struct map_session_data *sd, int type, int flag) {
HPMHooks.source.clif.wisall(sd, type, flag);
}
if( HPMHooks.count.HP_clif_wisall_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int type, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_wisall_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_wisall_post[hIndex].func;
- postHookFunc(sd, &type, &flag);
+ postHookFunc(sd, type, flag);
}
}
return;
@@ -13018,10 +13018,10 @@ void HP_clif_tradestart(struct map_session_data *sd, uint8 type) {
HPMHooks.source.clif.tradestart(sd, type);
}
if( HPMHooks.count.HP_clif_tradestart_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint8 *type);
+ void (*postHookFunc) (struct map_session_data *sd, uint8 type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradestart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_tradestart_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -13044,10 +13044,10 @@ void HP_clif_tradeadditem(struct map_session_data *sd, struct map_session_data *
HPMHooks.source.clif.tradeadditem(sd, tsd, index, amount);
}
if( HPMHooks.count.HP_clif_tradeadditem_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *tsd, int *index, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *tsd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradeadditem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_tradeadditem_post[hIndex].func;
- postHookFunc(sd, tsd, &index, &amount);
+ postHookFunc(sd, tsd, index, amount);
}
}
return;
@@ -13070,10 +13070,10 @@ void HP_clif_tradeitemok(struct map_session_data *sd, int index, int fail) {
HPMHooks.source.clif.tradeitemok(sd, index, fail);
}
if( HPMHooks.count.HP_clif_tradeitemok_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *index, int *fail);
+ void (*postHookFunc) (struct map_session_data *sd, int index, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradeitemok_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_tradeitemok_post[hIndex].func;
- postHookFunc(sd, &index, &fail);
+ postHookFunc(sd, index, fail);
}
}
return;
@@ -13096,10 +13096,10 @@ void HP_clif_tradedeal_lock(struct map_session_data *sd, int fail) {
HPMHooks.source.clif.tradedeal_lock(sd, fail);
}
if( HPMHooks.count.HP_clif_tradedeal_lock_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *fail);
+ void (*postHookFunc) (struct map_session_data *sd, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradedeal_lock_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_tradedeal_lock_post[hIndex].func;
- postHookFunc(sd, &fail);
+ postHookFunc(sd, fail);
}
}
return;
@@ -13148,10 +13148,10 @@ void HP_clif_tradecompleted(struct map_session_data *sd, int fail) {
HPMHooks.source.clif.tradecompleted(sd, fail);
}
if( HPMHooks.count.HP_clif_tradecompleted_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *fail);
+ void (*postHookFunc) (struct map_session_data *sd, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradecompleted_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_tradecompleted_post[hIndex].func;
- postHookFunc(sd, &fail);
+ postHookFunc(sd, fail);
}
}
return;
@@ -13200,10 +13200,10 @@ void HP_clif_openvendingreq(struct map_session_data *sd, int num) {
HPMHooks.source.clif.openvendingreq(sd, num);
}
if( HPMHooks.count.HP_clif_openvendingreq_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *num);
+ void (*postHookFunc) (struct map_session_data *sd, int num);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_openvendingreq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_openvendingreq_post[hIndex].func;
- postHookFunc(sd, &num);
+ postHookFunc(sd, num);
}
}
return;
@@ -13226,10 +13226,10 @@ void HP_clif_showvendingboard(struct block_list *bl, const char *message, int fd
HPMHooks.source.clif.showvendingboard(bl, message, fd);
}
if( HPMHooks.count.HP_clif_showvendingboard_post ) {
- void (*postHookFunc) (struct block_list *bl, const char *message, int *fd);
+ void (*postHookFunc) (struct block_list *bl, const char *message, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_showvendingboard_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_showvendingboard_post[hIndex].func;
- postHookFunc(bl, message, &fd);
+ postHookFunc(bl, message, fd);
}
}
return;
@@ -13252,10 +13252,10 @@ void HP_clif_closevendingboard(struct block_list *bl, int fd) {
HPMHooks.source.clif.closevendingboard(bl, fd);
}
if( HPMHooks.count.HP_clif_closevendingboard_post ) {
- void (*postHookFunc) (struct block_list *bl, int *fd);
+ void (*postHookFunc) (struct block_list *bl, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_closevendingboard_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_closevendingboard_post[hIndex].func;
- postHookFunc(bl, &fd);
+ postHookFunc(bl, fd);
}
}
return;
@@ -13278,10 +13278,10 @@ void HP_clif_vendinglist(struct map_session_data *sd, unsigned int id, struct s_
HPMHooks.source.clif.vendinglist(sd, id, vending_list);
}
if( HPMHooks.count.HP_clif_vendinglist_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *id, struct s_vending *vending_list);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int id, struct s_vending *vending_list);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_vendinglist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_vendinglist_post[hIndex].func;
- postHookFunc(sd, &id, vending_list);
+ postHookFunc(sd, id, vending_list);
}
}
return;
@@ -13304,10 +13304,10 @@ void HP_clif_buyvending(struct map_session_data *sd, int index, int amount, int
HPMHooks.source.clif.buyvending(sd, index, amount, fail);
}
if( HPMHooks.count.HP_clif_buyvending_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *index, int *amount, int *fail);
+ void (*postHookFunc) (struct map_session_data *sd, int index, int amount, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyvending_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_buyvending_post[hIndex].func;
- postHookFunc(sd, &index, &amount, &fail);
+ postHookFunc(sd, index, amount, fail);
}
}
return;
@@ -13330,10 +13330,10 @@ void HP_clif_openvending(struct map_session_data *sd, int id, struct s_vending *
HPMHooks.source.clif.openvending(sd, id, vending_list);
}
if( HPMHooks.count.HP_clif_openvending_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *id, struct s_vending *vending_list);
+ void (*postHookFunc) (struct map_session_data *sd, int id, struct s_vending *vending_list);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_openvending_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_openvending_post[hIndex].func;
- postHookFunc(sd, &id, vending_list);
+ postHookFunc(sd, id, vending_list);
}
}
return;
@@ -13356,10 +13356,10 @@ void HP_clif_vendingreport(struct map_session_data *sd, int index, int amount) {
HPMHooks.source.clif.vendingreport(sd, index, amount);
}
if( HPMHooks.count.HP_clif_vendingreport_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_vendingreport_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_vendingreport_post[hIndex].func;
- postHookFunc(sd, &index, &amount);
+ postHookFunc(sd, index, amount);
}
}
return;
@@ -13382,10 +13382,10 @@ void HP_clif_storagelist(struct map_session_data *sd, struct item *items, int it
HPMHooks.source.clif.storagelist(sd, items, items_length);
}
if( HPMHooks.count.HP_clif_storagelist_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct item *items, int *items_length);
+ void (*postHookFunc) (struct map_session_data *sd, struct item *items, int items_length);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_storagelist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_storagelist_post[hIndex].func;
- postHookFunc(sd, items, &items_length);
+ postHookFunc(sd, items, items_length);
}
}
return;
@@ -13408,10 +13408,10 @@ void HP_clif_updatestorageamount(struct map_session_data *sd, int amount, int ma
HPMHooks.source.clif.updatestorageamount(sd, amount, max_amount);
}
if( HPMHooks.count.HP_clif_updatestorageamount_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *amount, int *max_amount);
+ void (*postHookFunc) (struct map_session_data *sd, int amount, int max_amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_updatestorageamount_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_updatestorageamount_post[hIndex].func;
- postHookFunc(sd, &amount, &max_amount);
+ postHookFunc(sd, amount, max_amount);
}
}
return;
@@ -13434,10 +13434,10 @@ void HP_clif_storageitemadded(struct map_session_data *sd, struct item *i, int i
HPMHooks.source.clif.storageitemadded(sd, i, index, amount);
}
if( HPMHooks.count.HP_clif_storageitemadded_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct item *i, int *index, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, struct item *i, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_storageitemadded_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_storageitemadded_post[hIndex].func;
- postHookFunc(sd, i, &index, &amount);
+ postHookFunc(sd, i, index, amount);
}
}
return;
@@ -13460,10 +13460,10 @@ void HP_clif_storageitemremoved(struct map_session_data *sd, int index, int amou
HPMHooks.source.clif.storageitemremoved(sd, index, amount);
}
if( HPMHooks.count.HP_clif_storageitemremoved_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_storageitemremoved_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_storageitemremoved_post[hIndex].func;
- postHookFunc(sd, &index, &amount);
+ postHookFunc(sd, index, amount);
}
}
return;
@@ -13538,10 +13538,10 @@ void HP_clif_skillup(struct map_session_data *sd, uint16 skill_id, int skill_lv,
HPMHooks.source.clif.skillup(sd, skill_id, skill_lv, flag);
}
if( HPMHooks.count.HP_clif_skillup_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id, int *skill_lv, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id, int skill_lv, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skillup_post[hIndex].func;
- postHookFunc(sd, &skill_id, &skill_lv, &flag);
+ postHookFunc(sd, skill_id, skill_lv, flag);
}
}
return;
@@ -13564,10 +13564,10 @@ void HP_clif_skillinfo(struct map_session_data *sd, int skill_id, int inf) {
HPMHooks.source.clif.skillinfo(sd, skill_id, inf);
}
if( HPMHooks.count.HP_clif_skillinfo_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *skill_id, int *inf);
+ void (*postHookFunc) (struct map_session_data *sd, int skill_id, int inf);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_skillinfo_post[hIndex].func;
- postHookFunc(sd, &skill_id, &inf);
+ postHookFunc(sd, skill_id, inf);
}
}
return;
@@ -13590,10 +13590,10 @@ void HP_clif_addskill(struct map_session_data *sd, int id) {
HPMHooks.source.clif.addskill(sd, id);
}
if( HPMHooks.count.HP_clif_addskill_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *id);
+ void (*postHookFunc) (struct map_session_data *sd, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_addskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_addskill_post[hIndex].func;
- postHookFunc(sd, &id);
+ postHookFunc(sd, id);
}
}
return;
@@ -13616,10 +13616,10 @@ void HP_clif_deleteskill(struct map_session_data *sd, int id) {
HPMHooks.source.clif.deleteskill(sd, id);
}
if( HPMHooks.count.HP_clif_deleteskill_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *id);
+ void (*postHookFunc) (struct map_session_data *sd, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_deleteskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_deleteskill_post[hIndex].func;
- postHookFunc(sd, &id);
+ postHookFunc(sd, id);
}
}
return;
@@ -13642,10 +13642,10 @@ void HP_clif_party_created(struct map_session_data *sd, int result) {
HPMHooks.source.clif.party_created(sd, result);
}
if( HPMHooks.count.HP_clif_party_created_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *result);
+ void (*postHookFunc) (struct map_session_data *sd, int result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_created_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_party_created_post[hIndex].func;
- postHookFunc(sd, &result);
+ postHookFunc(sd, result);
}
}
return;
@@ -13746,10 +13746,10 @@ void HP_clif_party_inviteack(struct map_session_data *sd, const char *nick, int
HPMHooks.source.clif.party_inviteack(sd, nick, result);
}
if( HPMHooks.count.HP_clif_party_inviteack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const char *nick, int *result);
+ void (*postHookFunc) (struct map_session_data *sd, const char *nick, int result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_inviteack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_party_inviteack_post[hIndex].func;
- postHookFunc(sd, nick, &result);
+ postHookFunc(sd, nick, result);
}
}
return;
@@ -13772,10 +13772,10 @@ void HP_clif_party_option(struct party_data *p, struct map_session_data *sd, int
HPMHooks.source.clif.party_option(p, sd, flag);
}
if( HPMHooks.count.HP_clif_party_option_post ) {
- void (*postHookFunc) (struct party_data *p, struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct party_data *p, struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_option_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_party_option_post[hIndex].func;
- postHookFunc(p, sd, &flag);
+ postHookFunc(p, sd, flag);
}
}
return;
@@ -13798,10 +13798,10 @@ void HP_clif_party_withdraw(struct party_data *p, struct map_session_data *sd, i
HPMHooks.source.clif.party_withdraw(p, sd, account_id, name, flag);
}
if( HPMHooks.count.HP_clif_party_withdraw_post ) {
- void (*postHookFunc) (struct party_data *p, struct map_session_data *sd, int *account_id, const char *name, int *flag);
+ void (*postHookFunc) (struct party_data *p, struct map_session_data *sd, int account_id, const char *name, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_withdraw_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_party_withdraw_post[hIndex].func;
- postHookFunc(p, sd, &account_id, name, &flag);
+ postHookFunc(p, sd, account_id, name, flag);
}
}
return;
@@ -13824,10 +13824,10 @@ void HP_clif_party_message(struct party_data *p, int account_id, const char *mes
HPMHooks.source.clif.party_message(p, account_id, mes, len);
}
if( HPMHooks.count.HP_clif_party_message_post ) {
- void (*postHookFunc) (struct party_data *p, int *account_id, const char *mes, int *len);
+ void (*postHookFunc) (struct party_data *p, int account_id, const char *mes, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_party_message_post[hIndex].func;
- postHookFunc(p, &account_id, mes, &len);
+ postHookFunc(p, account_id, mes, len);
}
}
return;
@@ -13876,10 +13876,10 @@ void HP_clif_party_xy_single(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.party_xy_single(fd, sd);
}
if( HPMHooks.count.HP_clif_party_xy_single_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_xy_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_party_xy_single_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -14006,10 +14006,10 @@ void HP_clif_PartyLeaderChanged(struct map_session_data *sd, int prev_leader_aid
HPMHooks.source.clif.PartyLeaderChanged(sd, prev_leader_aid, new_leader_aid);
}
if( HPMHooks.count.HP_clif_PartyLeaderChanged_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *prev_leader_aid, int *new_leader_aid);
+ void (*postHookFunc) (struct map_session_data *sd, int prev_leader_aid, int new_leader_aid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyLeaderChanged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyLeaderChanged_post[hIndex].func;
- postHookFunc(sd, &prev_leader_aid, &new_leader_aid);
+ postHookFunc(sd, prev_leader_aid, new_leader_aid);
}
}
return;
@@ -14032,10 +14032,10 @@ void HP_clif_guild_created(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.guild_created(sd, flag);
}
if( HPMHooks.count.HP_clif_guild_created_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_created_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_created_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -14240,10 +14240,10 @@ void HP_clif_guild_memberlogin_notice(struct guild *g, int idx, int flag) {
HPMHooks.source.clif.guild_memberlogin_notice(g, idx, flag);
}
if( HPMHooks.count.HP_clif_guild_memberlogin_notice_post ) {
- void (*postHookFunc) (struct guild *g, int *idx, int *flag);
+ void (*postHookFunc) (struct guild *g, int idx, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_memberlogin_notice_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_memberlogin_notice_post[hIndex].func;
- postHookFunc(g, &idx, &flag);
+ postHookFunc(g, idx, flag);
}
}
return;
@@ -14292,10 +14292,10 @@ void HP_clif_guild_inviteack(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.guild_inviteack(sd, flag);
}
if( HPMHooks.count.HP_clif_guild_inviteack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_inviteack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_inviteack_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -14344,10 +14344,10 @@ void HP_clif_guild_expulsion(struct map_session_data *sd, const char *name, cons
HPMHooks.source.clif.guild_expulsion(sd, name, mes, account_id);
}
if( HPMHooks.count.HP_clif_guild_expulsion_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const char *name, const char *mes, int *account_id);
+ void (*postHookFunc) (struct map_session_data *sd, const char *name, const char *mes, int account_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_expulsion_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_expulsion_post[hIndex].func;
- postHookFunc(sd, name, mes, &account_id);
+ postHookFunc(sd, name, mes, account_id);
}
}
return;
@@ -14370,10 +14370,10 @@ void HP_clif_guild_positionchanged(struct guild *g, int idx) {
HPMHooks.source.clif.guild_positionchanged(g, idx);
}
if( HPMHooks.count.HP_clif_guild_positionchanged_post ) {
- void (*postHookFunc) (struct guild *g, int *idx);
+ void (*postHookFunc) (struct guild *g, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_positionchanged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_positionchanged_post[hIndex].func;
- postHookFunc(g, &idx);
+ postHookFunc(g, idx);
}
}
return;
@@ -14396,10 +14396,10 @@ void HP_clif_guild_memberpositionchanged(struct guild *g, int idx) {
HPMHooks.source.clif.guild_memberpositionchanged(g, idx);
}
if( HPMHooks.count.HP_clif_guild_memberpositionchanged_post ) {
- void (*postHookFunc) (struct guild *g, int *idx);
+ void (*postHookFunc) (struct guild *g, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_memberpositionchanged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_memberpositionchanged_post[hIndex].func;
- postHookFunc(g, &idx);
+ postHookFunc(g, idx);
}
}
return;
@@ -14500,10 +14500,10 @@ void HP_clif_guild_message(struct guild *g, int account_id, const char *mes, int
HPMHooks.source.clif.guild_message(g, account_id, mes, len);
}
if( HPMHooks.count.HP_clif_guild_message_post ) {
- void (*postHookFunc) (struct guild *g, int *account_id, const char *mes, int *len);
+ void (*postHookFunc) (struct guild *g, int account_id, const char *mes, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_message_post[hIndex].func;
- postHookFunc(g, &account_id, mes, &len);
+ postHookFunc(g, account_id, mes, len);
}
}
return;
@@ -14526,10 +14526,10 @@ void HP_clif_guild_reqalliance(struct map_session_data *sd, int account_id, cons
HPMHooks.source.clif.guild_reqalliance(sd, account_id, name);
}
if( HPMHooks.count.HP_clif_guild_reqalliance_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *account_id, const char *name);
+ void (*postHookFunc) (struct map_session_data *sd, int account_id, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_reqalliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_reqalliance_post[hIndex].func;
- postHookFunc(sd, &account_id, name);
+ postHookFunc(sd, account_id, name);
}
}
return;
@@ -14552,10 +14552,10 @@ void HP_clif_guild_allianceack(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.guild_allianceack(sd, flag);
}
if( HPMHooks.count.HP_clif_guild_allianceack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_allianceack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_allianceack_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -14578,10 +14578,10 @@ void HP_clif_guild_delalliance(struct map_session_data *sd, int guild_id, int fl
HPMHooks.source.clif.guild_delalliance(sd, guild_id, flag);
}
if( HPMHooks.count.HP_clif_guild_delalliance_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *guild_id, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int guild_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_delalliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_delalliance_post[hIndex].func;
- postHookFunc(sd, &guild_id, &flag);
+ postHookFunc(sd, guild_id, flag);
}
}
return;
@@ -14604,10 +14604,10 @@ void HP_clif_guild_oppositionack(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.guild_oppositionack(sd, flag);
}
if( HPMHooks.count.HP_clif_guild_oppositionack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_oppositionack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_oppositionack_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -14630,10 +14630,10 @@ void HP_clif_guild_broken(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.guild_broken(sd, flag);
}
if( HPMHooks.count.HP_clif_guild_broken_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_broken_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_broken_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -14682,10 +14682,10 @@ void HP_clif_guild_xy_single(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.guild_xy_single(fd, sd);
}
if( HPMHooks.count.HP_clif_guild_xy_single_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_xy_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_guild_xy_single_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -14813,10 +14813,10 @@ bool HP_clif_validate_emblem(const uint8 *emblem, unsigned long emblem_len) {
retVal___ = HPMHooks.source.clif.validate_emblem(emblem, emblem_len);
}
if( HPMHooks.count.HP_clif_validate_emblem_post ) {
- bool (*postHookFunc) (bool retVal___, const uint8 *emblem, unsigned long *emblem_len);
+ bool (*postHookFunc) (bool retVal___, const uint8 *emblem, unsigned long emblem_len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_validate_emblem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_validate_emblem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, emblem, &emblem_len);
+ retVal___ = postHookFunc(retVal___, emblem, emblem_len);
}
}
return retVal___;
@@ -14917,10 +14917,10 @@ void HP_clif_bg_message(struct battleground_data *bgd, int src_id, const char *n
HPMHooks.source.clif.bg_message(bgd, src_id, name, mes);
}
if( HPMHooks.count.HP_clif_bg_message_post ) {
- void (*postHookFunc) (struct battleground_data *bgd, int *src_id, const char *name, const char *mes);
+ void (*postHookFunc) (struct battleground_data *bgd, int src_id, const char *name, const char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bg_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bg_message_post[hIndex].func;
- postHookFunc(bgd, &src_id, name, mes);
+ postHookFunc(bgd, src_id, name, mes);
}
}
return;
@@ -14943,10 +14943,10 @@ void HP_clif_bg_updatescore(int16 m) {
HPMHooks.source.clif.bg_updatescore(m);
}
if( HPMHooks.count.HP_clif_bg_updatescore_post ) {
- void (*postHookFunc) (int16 *m);
+ void (*postHookFunc) (int16 m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bg_updatescore_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bg_updatescore_post[hIndex].func;
- postHookFunc(&m);
+ postHookFunc(m);
}
}
return;
@@ -15021,10 +15021,10 @@ void HP_clif_sendbgemblem_single(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.sendbgemblem_single(fd, sd);
}
if( HPMHooks.count.HP_clif_sendbgemblem_single_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sendbgemblem_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_sendbgemblem_single_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -15048,10 +15048,10 @@ int HP_clif_instance(int instance_id, int type, int flag) {
retVal___ = HPMHooks.source.clif.instance(instance_id, type, flag);
}
if( HPMHooks.count.HP_clif_instance_post ) {
- int (*postHookFunc) (int retVal___, int *instance_id, int *type, int *flag);
+ int (*postHookFunc) (int retVal___, int instance_id, int type, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_instance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_instance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &instance_id, &type, &flag);
+ retVal___ = postHookFunc(retVal___, instance_id, type, flag);
}
}
return retVal___;
@@ -15074,10 +15074,10 @@ void HP_clif_instance_join(int fd, int instance_id) {
HPMHooks.source.clif.instance_join(fd, instance_id);
}
if( HPMHooks.count.HP_clif_instance_join_post ) {
- void (*postHookFunc) (int *fd, int *instance_id);
+ void (*postHookFunc) (int fd, int instance_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_instance_join_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_instance_join_post[hIndex].func;
- postHookFunc(&fd, &instance_id);
+ postHookFunc(fd, instance_id);
}
}
return;
@@ -15100,10 +15100,10 @@ void HP_clif_instance_leave(int fd) {
HPMHooks.source.clif.instance_leave(fd);
}
if( HPMHooks.count.HP_clif_instance_leave_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_instance_leave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_instance_leave_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -15152,10 +15152,10 @@ void HP_clif_pet_roulette(struct map_session_data *sd, int data) {
HPMHooks.source.clif.pet_roulette(sd, data);
}
if( HPMHooks.count.HP_clif_pet_roulette_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *data);
+ void (*postHookFunc) (struct map_session_data *sd, int data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pet_roulette_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pet_roulette_post[hIndex].func;
- postHookFunc(sd, &data);
+ postHookFunc(sd, data);
}
}
return;
@@ -15230,10 +15230,10 @@ void HP_clif_send_petdata(struct map_session_data *sd, struct pet_data *pd, int
HPMHooks.source.clif.send_petdata(sd, pd, type, param);
}
if( HPMHooks.count.HP_clif_send_petdata_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct pet_data *pd, int *type, int *param);
+ void (*postHookFunc) (struct map_session_data *sd, struct pet_data *pd, int type, int param);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_petdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_send_petdata_post[hIndex].func;
- postHookFunc(sd, pd, &type, &param);
+ postHookFunc(sd, pd, type, param);
}
}
return;
@@ -15256,10 +15256,10 @@ void HP_clif_pet_emotion(struct pet_data *pd, int param) {
HPMHooks.source.clif.pet_emotion(pd, param);
}
if( HPMHooks.count.HP_clif_pet_emotion_post ) {
- void (*postHookFunc) (struct pet_data *pd, int *param);
+ void (*postHookFunc) (struct pet_data *pd, int param);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pet_emotion_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pet_emotion_post[hIndex].func;
- postHookFunc(pd, &param);
+ postHookFunc(pd, param);
}
}
return;
@@ -15282,10 +15282,10 @@ void HP_clif_pet_food(struct map_session_data *sd, int foodid, int fail) {
HPMHooks.source.clif.pet_food(sd, foodid, fail);
}
if( HPMHooks.count.HP_clif_pet_food_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *foodid, int *fail);
+ void (*postHookFunc) (struct map_session_data *sd, int foodid, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pet_food_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pet_food_post[hIndex].func;
- postHookFunc(sd, &foodid, &fail);
+ postHookFunc(sd, foodid, fail);
}
}
return;
@@ -15367,10 +15367,10 @@ void HP_clif_friendslist_reqack(struct map_session_data *sd, struct map_session_
HPMHooks.source.clif.friendslist_reqack(sd, f_sd, type);
}
if( HPMHooks.count.HP_clif_friendslist_reqack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *f_sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *f_sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_friendslist_reqack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_friendslist_reqack_post[hIndex].func;
- postHookFunc(sd, f_sd, &type);
+ postHookFunc(sd, f_sd, type);
}
}
return;
@@ -15393,10 +15393,10 @@ void HP_clif_friendslist_toggle(struct map_session_data *sd, int account_id, int
HPMHooks.source.clif.friendslist_toggle(sd, account_id, char_id, online);
}
if( HPMHooks.count.HP_clif_friendslist_toggle_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *account_id, int *char_id, int *online);
+ void (*postHookFunc) (struct map_session_data *sd, int account_id, int char_id, int online);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_friendslist_toggle_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_friendslist_toggle_post[hIndex].func;
- postHookFunc(sd, &account_id, &char_id, &online);
+ postHookFunc(sd, account_id, char_id, online);
}
}
return;
@@ -15419,10 +15419,10 @@ void HP_clif_friendlist_req(struct map_session_data *sd, int account_id, int cha
HPMHooks.source.clif.friendlist_req(sd, account_id, char_id, name);
}
if( HPMHooks.count.HP_clif_friendlist_req_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *account_id, int *char_id, const char *name);
+ void (*postHookFunc) (struct map_session_data *sd, int account_id, int char_id, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_friendlist_req_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_friendlist_req_post[hIndex].func;
- postHookFunc(sd, &account_id, &char_id, name);
+ postHookFunc(sd, account_id, char_id, name);
}
}
return;
@@ -15445,10 +15445,10 @@ void HP_clif_GM_kickack(struct map_session_data *sd, int result) {
HPMHooks.source.clif.GM_kickack(sd, result);
}
if( HPMHooks.count.HP_clif_GM_kickack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *result);
+ void (*postHookFunc) (struct map_session_data *sd, int result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_GM_kickack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_GM_kickack_post[hIndex].func;
- postHookFunc(sd, &result);
+ postHookFunc(sd, result);
}
}
return;
@@ -15497,10 +15497,10 @@ void HP_clif_manner_message(struct map_session_data *sd, uint32 type) {
HPMHooks.source.clif.manner_message(sd, type);
}
if( HPMHooks.count.HP_clif_manner_message_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint32 *type);
+ void (*postHookFunc) (struct map_session_data *sd, uint32 type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_manner_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_manner_message_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -15523,10 +15523,10 @@ void HP_clif_GM_silence(struct map_session_data *sd, struct map_session_data *ts
HPMHooks.source.clif.GM_silence(sd, tsd, type);
}
if( HPMHooks.count.HP_clif_GM_silence_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *tsd, uint8 *type);
+ void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *tsd, uint8 type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_GM_silence_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_GM_silence_post[hIndex].func;
- postHookFunc(sd, tsd, &type);
+ postHookFunc(sd, tsd, type);
}
}
return;
@@ -15549,10 +15549,10 @@ void HP_clif_account_name(struct map_session_data *sd, int account_id, const cha
HPMHooks.source.clif.account_name(sd, account_id, accname);
}
if( HPMHooks.count.HP_clif_account_name_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *account_id, const char *accname);
+ void (*postHookFunc) (struct map_session_data *sd, int account_id, const char *accname);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_account_name_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_account_name_post[hIndex].func;
- postHookFunc(sd, &account_id, accname);
+ postHookFunc(sd, account_id, accname);
}
}
return;
@@ -15575,10 +15575,10 @@ void HP_clif_check(int fd, struct map_session_data *pl_sd) {
HPMHooks.source.clif.check(fd, pl_sd);
}
if( HPMHooks.count.HP_clif_check_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *pl_sd);
+ void (*postHookFunc) (int fd, struct map_session_data *pl_sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_check_post[hIndex].func;
- postHookFunc(&fd, pl_sd);
+ postHookFunc(fd, pl_sd);
}
}
return;
@@ -15601,10 +15601,10 @@ void HP_clif_hominfo(struct map_session_data *sd, struct homun_data *hd, int fla
HPMHooks.source.clif.hominfo(sd, hd, flag);
}
if( HPMHooks.count.HP_clif_hominfo_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct homun_data *hd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, struct homun_data *hd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hominfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_hominfo_post[hIndex].func;
- postHookFunc(sd, hd, &flag);
+ postHookFunc(sd, hd, flag);
}
}
return;
@@ -15653,10 +15653,10 @@ void HP_clif_homskillup(struct map_session_data *sd, uint16 skill_id) {
HPMHooks.source.clif.homskillup(sd, skill_id);
}
if( HPMHooks.count.HP_clif_homskillup_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_homskillup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_homskillup_post[hIndex].func;
- postHookFunc(sd, &skill_id);
+ postHookFunc(sd, skill_id);
}
}
return;
@@ -15679,10 +15679,10 @@ void HP_clif_hom_food(struct map_session_data *sd, int foodid, int fail) {
HPMHooks.source.clif.hom_food(sd, foodid, fail);
}
if( HPMHooks.count.HP_clif_hom_food_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *foodid, int *fail);
+ void (*postHookFunc) (struct map_session_data *sd, int foodid, int fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hom_food_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_hom_food_post[hIndex].func;
- postHookFunc(sd, &foodid, &fail);
+ postHookFunc(sd, foodid, fail);
}
}
return;
@@ -15705,10 +15705,10 @@ void HP_clif_send_homdata(struct map_session_data *sd, int state, int param) {
HPMHooks.source.clif.send_homdata(sd, state, param);
}
if( HPMHooks.count.HP_clif_send_homdata_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *state, int *param);
+ void (*postHookFunc) (struct map_session_data *sd, int state, int param);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_homdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_send_homdata_post[hIndex].func;
- postHookFunc(sd, &state, &param);
+ postHookFunc(sd, state, param);
}
}
return;
@@ -15809,10 +15809,10 @@ void HP_clif_quest_delete(struct map_session_data *sd, int quest_id) {
HPMHooks.source.clif.quest_delete(sd, quest_id);
}
if( HPMHooks.count.HP_clif_quest_delete_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *quest_id);
+ void (*postHookFunc) (struct map_session_data *sd, int quest_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_quest_delete_post[hIndex].func;
- postHookFunc(sd, &quest_id);
+ postHookFunc(sd, quest_id);
}
}
return;
@@ -15835,10 +15835,10 @@ void HP_clif_quest_update_status(struct map_session_data *sd, int quest_id, bool
HPMHooks.source.clif.quest_update_status(sd, quest_id, active);
}
if( HPMHooks.count.HP_clif_quest_update_status_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *quest_id, bool *active);
+ void (*postHookFunc) (struct map_session_data *sd, int quest_id, bool active);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_update_status_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_quest_update_status_post[hIndex].func;
- postHookFunc(sd, &quest_id, &active);
+ postHookFunc(sd, quest_id, active);
}
}
return;
@@ -15887,10 +15887,10 @@ void HP_clif_quest_show_event(struct map_session_data *sd, struct block_list *bl
HPMHooks.source.clif.quest_show_event(sd, bl, state, color);
}
if( HPMHooks.count.HP_clif_quest_show_event_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct block_list *bl, short *state, short *color);
+ void (*postHookFunc) (struct map_session_data *sd, struct block_list *bl, short state, short color);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_show_event_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_quest_show_event_post[hIndex].func;
- postHookFunc(sd, bl, &state, &color);
+ postHookFunc(sd, bl, state, color);
}
}
return;
@@ -15913,10 +15913,10 @@ void HP_clif_mail_window(int fd, int flag) {
HPMHooks.source.clif.mail_window(fd, flag);
}
if( HPMHooks.count.HP_clif_mail_window_post ) {
- void (*postHookFunc) (int *fd, int *flag);
+ void (*postHookFunc) (int fd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_window_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mail_window_post[hIndex].func;
- postHookFunc(&fd, &flag);
+ postHookFunc(fd, flag);
}
}
return;
@@ -15939,10 +15939,10 @@ void HP_clif_mail_read(struct map_session_data *sd, int mail_id) {
HPMHooks.source.clif.mail_read(sd, mail_id);
}
if( HPMHooks.count.HP_clif_mail_read_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *mail_id);
+ void (*postHookFunc) (struct map_session_data *sd, int mail_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_read_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mail_read_post[hIndex].func;
- postHookFunc(sd, &mail_id);
+ postHookFunc(sd, mail_id);
}
}
return;
@@ -15965,10 +15965,10 @@ void HP_clif_mail_delete(int fd, int mail_id, short fail) {
HPMHooks.source.clif.mail_delete(fd, mail_id, fail);
}
if( HPMHooks.count.HP_clif_mail_delete_post ) {
- void (*postHookFunc) (int *fd, int *mail_id, short *fail);
+ void (*postHookFunc) (int fd, int mail_id, short fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mail_delete_post[hIndex].func;
- postHookFunc(&fd, &mail_id, &fail);
+ postHookFunc(fd, mail_id, fail);
}
}
return;
@@ -15991,10 +15991,10 @@ void HP_clif_mail_return(int fd, int mail_id, short fail) {
HPMHooks.source.clif.mail_return(fd, mail_id, fail);
}
if( HPMHooks.count.HP_clif_mail_return_post ) {
- void (*postHookFunc) (int *fd, int *mail_id, short *fail);
+ void (*postHookFunc) (int fd, int mail_id, short fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_return_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mail_return_post[hIndex].func;
- postHookFunc(&fd, &mail_id, &fail);
+ postHookFunc(fd, mail_id, fail);
}
}
return;
@@ -16017,10 +16017,10 @@ void HP_clif_mail_send(int fd, bool fail) {
HPMHooks.source.clif.mail_send(fd, fail);
}
if( HPMHooks.count.HP_clif_mail_send_post ) {
- void (*postHookFunc) (int *fd, bool *fail);
+ void (*postHookFunc) (int fd, bool fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_send_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mail_send_post[hIndex].func;
- postHookFunc(&fd, &fail);
+ postHookFunc(fd, fail);
}
}
return;
@@ -16043,10 +16043,10 @@ void HP_clif_mail_new(int fd, int mail_id, const char *sender, const char *title
HPMHooks.source.clif.mail_new(fd, mail_id, sender, title);
}
if( HPMHooks.count.HP_clif_mail_new_post ) {
- void (*postHookFunc) (int *fd, int *mail_id, const char *sender, const char *title);
+ void (*postHookFunc) (int fd, int mail_id, const char *sender, const char *title);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_new_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mail_new_post[hIndex].func;
- postHookFunc(&fd, &mail_id, sender, title);
+ postHookFunc(fd, mail_id, sender, title);
}
}
return;
@@ -16095,10 +16095,10 @@ void HP_clif_mail_getattachment(int fd, uint8 flag) {
HPMHooks.source.clif.mail_getattachment(fd, flag);
}
if( HPMHooks.count.HP_clif_mail_getattachment_post ) {
- void (*postHookFunc) (int *fd, uint8 *flag);
+ void (*postHookFunc) (int fd, uint8 flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_getattachment_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mail_getattachment_post[hIndex].func;
- postHookFunc(&fd, &flag);
+ postHookFunc(fd, flag);
}
}
return;
@@ -16121,10 +16121,10 @@ void HP_clif_mail_setattachment(int fd, int index, uint8 flag) {
HPMHooks.source.clif.mail_setattachment(fd, index, flag);
}
if( HPMHooks.count.HP_clif_mail_setattachment_post ) {
- void (*postHookFunc) (int *fd, int *index, uint8 *flag);
+ void (*postHookFunc) (int fd, int index, uint8 flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_setattachment_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mail_setattachment_post[hIndex].func;
- postHookFunc(&fd, &index, &flag);
+ postHookFunc(fd, index, flag);
}
}
return;
@@ -16173,10 +16173,10 @@ void HP_clif_auction_results(struct map_session_data *sd, short count, short pag
HPMHooks.source.clif.auction_results(sd, count, pages, buf);
}
if( HPMHooks.count.HP_clif_auction_results_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *count, short *pages, const uint8 *buf);
+ void (*postHookFunc) (struct map_session_data *sd, short count, short pages, const uint8 *buf);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_auction_results_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_auction_results_post[hIndex].func;
- postHookFunc(sd, &count, &pages, buf);
+ postHookFunc(sd, count, pages, buf);
}
}
return;
@@ -16199,10 +16199,10 @@ void HP_clif_auction_message(int fd, unsigned char flag) {
HPMHooks.source.clif.auction_message(fd, flag);
}
if( HPMHooks.count.HP_clif_auction_message_post ) {
- void (*postHookFunc) (int *fd, unsigned char *flag);
+ void (*postHookFunc) (int fd, unsigned char flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_auction_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_auction_message_post[hIndex].func;
- postHookFunc(&fd, &flag);
+ postHookFunc(fd, flag);
}
}
return;
@@ -16225,10 +16225,10 @@ void HP_clif_auction_close(int fd, unsigned char flag) {
HPMHooks.source.clif.auction_close(fd, flag);
}
if( HPMHooks.count.HP_clif_auction_close_post ) {
- void (*postHookFunc) (int *fd, unsigned char *flag);
+ void (*postHookFunc) (int fd, unsigned char flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_auction_close_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_auction_close_post[hIndex].func;
- postHookFunc(&fd, &flag);
+ postHookFunc(fd, flag);
}
}
return;
@@ -16251,10 +16251,10 @@ void HP_clif_auction_setitem(int fd, int index, bool fail) {
HPMHooks.source.clif.auction_setitem(fd, index, fail);
}
if( HPMHooks.count.HP_clif_auction_setitem_post ) {
- void (*postHookFunc) (int *fd, int *index, bool *fail);
+ void (*postHookFunc) (int fd, int index, bool fail);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_auction_setitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_auction_setitem_post[hIndex].func;
- postHookFunc(&fd, &index, &fail);
+ postHookFunc(fd, index, fail);
}
}
return;
@@ -16329,10 +16329,10 @@ void HP_clif_mercenary_message(struct map_session_data *sd, int message) {
HPMHooks.source.clif.mercenary_message(sd, message);
}
if( HPMHooks.count.HP_clif_mercenary_message_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *message);
+ void (*postHookFunc) (struct map_session_data *sd, int message);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mercenary_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mercenary_message_post[hIndex].func;
- postHookFunc(sd, &message);
+ postHookFunc(sd, message);
}
}
return;
@@ -16355,10 +16355,10 @@ void HP_clif_mercenary_updatestatus(struct map_session_data *sd, int type) {
HPMHooks.source.clif.mercenary_updatestatus(sd, type);
}
if( HPMHooks.count.HP_clif_mercenary_updatestatus_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mercenary_updatestatus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_mercenary_updatestatus_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -16381,10 +16381,10 @@ void HP_clif_rental_time(int fd, int nameid, int seconds) {
HPMHooks.source.clif.rental_time(fd, nameid, seconds);
}
if( HPMHooks.count.HP_clif_rental_time_post ) {
- void (*postHookFunc) (int *fd, int *nameid, int *seconds);
+ void (*postHookFunc) (int fd, int nameid, int seconds);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_rental_time_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_rental_time_post[hIndex].func;
- postHookFunc(&fd, &nameid, &seconds);
+ postHookFunc(fd, nameid, seconds);
}
}
return;
@@ -16407,10 +16407,10 @@ void HP_clif_rental_expired(int fd, int index, int nameid) {
HPMHooks.source.clif.rental_expired(fd, index, nameid);
}
if( HPMHooks.count.HP_clif_rental_expired_post ) {
- void (*postHookFunc) (int *fd, int *index, int *nameid);
+ void (*postHookFunc) (int fd, int index, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_rental_expired_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_rental_expired_post[hIndex].func;
- postHookFunc(&fd, &index, &nameid);
+ postHookFunc(fd, index, nameid);
}
}
return;
@@ -16433,10 +16433,10 @@ void HP_clif_PartyBookingRegisterAck(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.PartyBookingRegisterAck(sd, flag);
}
if( HPMHooks.count.HP_clif_PartyBookingRegisterAck_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingRegisterAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingRegisterAck_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -16459,10 +16459,10 @@ void HP_clif_PartyBookingDeleteAck(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.PartyBookingDeleteAck(sd, flag);
}
if( HPMHooks.count.HP_clif_PartyBookingDeleteAck_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingDeleteAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingDeleteAck_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -16485,10 +16485,10 @@ void HP_clif_PartyBookingSearchAck(int fd, struct party_booking_ad_info **result
HPMHooks.source.clif.PartyBookingSearchAck(fd, results, count, more_result);
}
if( HPMHooks.count.HP_clif_PartyBookingSearchAck_post ) {
- void (*postHookFunc) (int *fd, struct party_booking_ad_info **results, int *count, bool *more_result);
+ void (*postHookFunc) (int fd, struct party_booking_ad_info **results, int count, bool more_result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingSearchAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingSearchAck_post[hIndex].func;
- postHookFunc(&fd, results, &count, &more_result);
+ postHookFunc(fd, results, count, more_result);
}
}
return;
@@ -16537,10 +16537,10 @@ void HP_clif_PartyBookingDeleteNotify(struct map_session_data *sd, int index) {
HPMHooks.source.clif.PartyBookingDeleteNotify(sd, index);
}
if( HPMHooks.count.HP_clif_PartyBookingDeleteNotify_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *index);
+ void (*postHookFunc) (struct map_session_data *sd, int index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingDeleteNotify_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingDeleteNotify_post[hIndex].func;
- postHookFunc(sd, &index);
+ postHookFunc(sd, index);
}
}
return;
@@ -16589,10 +16589,10 @@ void HP_clif_PartyRecruitRegisterAck(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.PartyRecruitRegisterAck(sd, flag);
}
if( HPMHooks.count.HP_clif_PartyRecruitRegisterAck_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitRegisterAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyRecruitRegisterAck_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -16615,10 +16615,10 @@ void HP_clif_PartyRecruitDeleteAck(struct map_session_data *sd, int flag) {
HPMHooks.source.clif.PartyRecruitDeleteAck(sd, flag);
}
if( HPMHooks.count.HP_clif_PartyRecruitDeleteAck_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitDeleteAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyRecruitDeleteAck_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -16641,10 +16641,10 @@ void HP_clif_PartyRecruitSearchAck(int fd, struct party_booking_ad_info **result
HPMHooks.source.clif.PartyRecruitSearchAck(fd, results, count, more_result);
}
if( HPMHooks.count.HP_clif_PartyRecruitSearchAck_post ) {
- void (*postHookFunc) (int *fd, struct party_booking_ad_info **results, int *count, bool *more_result);
+ void (*postHookFunc) (int fd, struct party_booking_ad_info **results, int count, bool more_result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitSearchAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyRecruitSearchAck_post[hIndex].func;
- postHookFunc(&fd, results, &count, &more_result);
+ postHookFunc(fd, results, count, more_result);
}
}
return;
@@ -16693,10 +16693,10 @@ void HP_clif_PartyRecruitDeleteNotify(struct map_session_data *sd, int index) {
HPMHooks.source.clif.PartyRecruitDeleteNotify(sd, index);
}
if( HPMHooks.count.HP_clif_PartyRecruitDeleteNotify_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *index);
+ void (*postHookFunc) (struct map_session_data *sd, int index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitDeleteNotify_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyRecruitDeleteNotify_post[hIndex].func;
- postHookFunc(sd, &index);
+ postHookFunc(sd, index);
}
}
return;
@@ -16745,10 +16745,10 @@ void HP_clif_PartyBookingVolunteerInfo(int index, struct map_session_data *sd) {
HPMHooks.source.clif.PartyBookingVolunteerInfo(index, sd);
}
if( HPMHooks.count.HP_clif_PartyBookingVolunteerInfo_post ) {
- void (*postHookFunc) (int *index, struct map_session_data *sd);
+ void (*postHookFunc) (int index, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingVolunteerInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingVolunteerInfo_post[hIndex].func;
- postHookFunc(&index, sd);
+ postHookFunc(index, sd);
}
}
return;
@@ -16771,10 +16771,10 @@ void HP_clif_PartyBookingRefuseVolunteer(unsigned int aid, struct map_session_da
HPMHooks.source.clif.PartyBookingRefuseVolunteer(aid, sd);
}
if( HPMHooks.count.HP_clif_PartyBookingRefuseVolunteer_post ) {
- void (*postHookFunc) (unsigned int *aid, struct map_session_data *sd);
+ void (*postHookFunc) (unsigned int aid, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingRefuseVolunteer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingRefuseVolunteer_post[hIndex].func;
- postHookFunc(&aid, sd);
+ postHookFunc(aid, sd);
}
}
return;
@@ -16797,10 +16797,10 @@ void HP_clif_PartyBookingCancelVolunteer(int index, struct map_session_data *sd)
HPMHooks.source.clif.PartyBookingCancelVolunteer(index, sd);
}
if( HPMHooks.count.HP_clif_PartyBookingCancelVolunteer_post ) {
- void (*postHookFunc) (int *index, struct map_session_data *sd);
+ void (*postHookFunc) (int index, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingCancelVolunteer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingCancelVolunteer_post[hIndex].func;
- postHookFunc(&index, sd);
+ postHookFunc(index, sd);
}
}
return;
@@ -16823,10 +16823,10 @@ void HP_clif_PartyBookingAddFilteringList(int index, struct map_session_data *sd
HPMHooks.source.clif.PartyBookingAddFilteringList(index, sd);
}
if( HPMHooks.count.HP_clif_PartyBookingAddFilteringList_post ) {
- void (*postHookFunc) (int *index, struct map_session_data *sd);
+ void (*postHookFunc) (int index, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingAddFilteringList_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingAddFilteringList_post[hIndex].func;
- postHookFunc(&index, sd);
+ postHookFunc(index, sd);
}
}
return;
@@ -16849,10 +16849,10 @@ void HP_clif_PartyBookingSubFilteringList(int gid, struct map_session_data *sd)
HPMHooks.source.clif.PartyBookingSubFilteringList(gid, sd);
}
if( HPMHooks.count.HP_clif_PartyBookingSubFilteringList_post ) {
- void (*postHookFunc) (int *gid, struct map_session_data *sd);
+ void (*postHookFunc) (int gid, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingSubFilteringList_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_PartyBookingSubFilteringList_post[hIndex].func;
- postHookFunc(&gid, sd);
+ postHookFunc(gid, sd);
}
}
return;
@@ -16901,10 +16901,10 @@ void HP_clif_buyingstore_open_failed(struct map_session_data *sd, unsigned short
HPMHooks.source.clif.buyingstore_open_failed(sd, result, weight);
}
if( HPMHooks.count.HP_clif_buyingstore_open_failed_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *result, unsigned int *weight);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short result, unsigned int weight);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_open_failed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_buyingstore_open_failed_post[hIndex].func;
- postHookFunc(sd, &result, &weight);
+ postHookFunc(sd, result, weight);
}
}
return;
@@ -17083,10 +17083,10 @@ void HP_clif_buyingstore_trade_failed_buyer(struct map_session_data *sd, short r
HPMHooks.source.clif.buyingstore_trade_failed_buyer(sd, result);
}
if( HPMHooks.count.HP_clif_buyingstore_trade_failed_buyer_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *result);
+ void (*postHookFunc) (struct map_session_data *sd, short result);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_trade_failed_buyer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_buyingstore_trade_failed_buyer_post[hIndex].func;
- postHookFunc(sd, &result);
+ postHookFunc(sd, result);
}
}
return;
@@ -17109,10 +17109,10 @@ void HP_clif_buyingstore_update_item(struct map_session_data *sd, unsigned short
HPMHooks.source.clif.buyingstore_update_item(sd, nameid, amount);
}
if( HPMHooks.count.HP_clif_buyingstore_update_item_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *nameid, unsigned short *amount);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short nameid, unsigned short amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_update_item_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_buyingstore_update_item_post[hIndex].func;
- postHookFunc(sd, &nameid, &amount);
+ postHookFunc(sd, nameid, amount);
}
}
return;
@@ -17135,10 +17135,10 @@ void HP_clif_buyingstore_delete_item(struct map_session_data *sd, short index, u
HPMHooks.source.clif.buyingstore_delete_item(sd, index, amount, price);
}
if( HPMHooks.count.HP_clif_buyingstore_delete_item_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *index, unsigned short *amount, int *price);
+ void (*postHookFunc) (struct map_session_data *sd, short index, unsigned short amount, int price);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_delete_item_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_buyingstore_delete_item_post[hIndex].func;
- postHookFunc(sd, &index, &amount, &price);
+ postHookFunc(sd, index, amount, price);
}
}
return;
@@ -17161,10 +17161,10 @@ void HP_clif_buyingstore_trade_failed_seller(struct map_session_data *sd, short
HPMHooks.source.clif.buyingstore_trade_failed_seller(sd, result, nameid);
}
if( HPMHooks.count.HP_clif_buyingstore_trade_failed_seller_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *result, unsigned short *nameid);
+ void (*postHookFunc) (struct map_session_data *sd, short result, unsigned short nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_trade_failed_seller_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_buyingstore_trade_failed_seller_post[hIndex].func;
- postHookFunc(sd, &result, &nameid);
+ postHookFunc(sd, result, nameid);
}
}
return;
@@ -17213,10 +17213,10 @@ void HP_clif_search_store_info_failed(struct map_session_data *sd, unsigned char
HPMHooks.source.clif.search_store_info_failed(sd, reason);
}
if( HPMHooks.count.HP_clif_search_store_info_failed_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *reason);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char reason);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_search_store_info_failed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_search_store_info_failed_post[hIndex].func;
- postHookFunc(sd, &reason);
+ postHookFunc(sd, reason);
}
}
return;
@@ -17265,10 +17265,10 @@ void HP_clif_search_store_info_click_ack(struct map_session_data *sd, short x, s
HPMHooks.source.clif.search_store_info_click_ack(sd, x, y);
}
if( HPMHooks.count.HP_clif_search_store_info_click_ack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *x, short *y);
+ void (*postHookFunc) (struct map_session_data *sd, short x, short y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_search_store_info_click_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_search_store_info_click_ack_post[hIndex].func;
- postHookFunc(sd, &x, &y);
+ postHookFunc(sd, x, y);
}
}
return;
@@ -17317,10 +17317,10 @@ void HP_clif_elemental_updatestatus(struct map_session_data *sd, int type) {
HPMHooks.source.clif.elemental_updatestatus(sd, type);
}
if( HPMHooks.count.HP_clif_elemental_updatestatus_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_elemental_updatestatus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_elemental_updatestatus_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -17343,10 +17343,10 @@ void HP_clif_bgqueue_ack(struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_A
HPMHooks.source.clif.bgqueue_ack(sd, response, arena_id);
}
if( HPMHooks.count.HP_clif_bgqueue_ack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_ACK *response, unsigned char *arena_id);
+ void (*postHookFunc) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_ACK response, unsigned char arena_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bgqueue_ack_post[hIndex].func;
- postHookFunc(sd, &response, &arena_id);
+ postHookFunc(sd, response, arena_id);
}
}
return;
@@ -17369,10 +17369,10 @@ void HP_clif_bgqueue_notice_delete(struct map_session_data *sd, enum BATTLEGROUN
HPMHooks.source.clif.bgqueue_notice_delete(sd, response, name);
}
if( HPMHooks.count.HP_clif_bgqueue_notice_delete_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED *response, const char *name);
+ void (*postHookFunc) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED response, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_notice_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bgqueue_notice_delete_post[hIndex].func;
- postHookFunc(sd, &response, name);
+ postHookFunc(sd, response, name);
}
}
return;
@@ -17395,10 +17395,10 @@ void HP_clif_bgqueue_update_info(struct map_session_data *sd, unsigned char aren
HPMHooks.source.clif.bgqueue_update_info(sd, arena_id, position);
}
if( HPMHooks.count.HP_clif_bgqueue_update_info_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *arena_id, int *position);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char arena_id, int position);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_update_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bgqueue_update_info_post[hIndex].func;
- postHookFunc(sd, &arena_id, &position);
+ postHookFunc(sd, arena_id, position);
}
}
return;
@@ -17421,10 +17421,10 @@ void HP_clif_bgqueue_joined(struct map_session_data *sd, int pos) {
HPMHooks.source.clif.bgqueue_joined(sd, pos);
}
if( HPMHooks.count.HP_clif_bgqueue_joined_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *pos);
+ void (*postHookFunc) (struct map_session_data *sd, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_joined_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bgqueue_joined_post[hIndex].func;
- postHookFunc(sd, &pos);
+ postHookFunc(sd, pos);
}
}
return;
@@ -17473,10 +17473,10 @@ void HP_clif_bgqueue_battlebegins(struct map_session_data *sd, unsigned char are
HPMHooks.source.clif.bgqueue_battlebegins(sd, arena_id, target);
}
if( HPMHooks.count.HP_clif_bgqueue_battlebegins_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *arena_id, enum send_target *target);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char arena_id, enum send_target target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_battlebegins_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bgqueue_battlebegins_post[hIndex].func;
- postHookFunc(sd, &arena_id, &target);
+ postHookFunc(sd, arena_id, target);
}
}
return;
@@ -17499,10 +17499,10 @@ void HP_clif_adopt_reply(struct map_session_data *sd, int type) {
HPMHooks.source.clif.adopt_reply(sd, type);
}
if( HPMHooks.count.HP_clif_adopt_reply_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_adopt_reply_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_adopt_reply_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -17525,10 +17525,10 @@ void HP_clif_adopt_request(struct map_session_data *sd, struct map_session_data
HPMHooks.source.clif.adopt_request(sd, src, p_id);
}
if( HPMHooks.count.HP_clif_adopt_request_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *src, int *p_id);
+ void (*postHookFunc) (struct map_session_data *sd, struct map_session_data *src, int p_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_adopt_request_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_adopt_request_post[hIndex].func;
- postHookFunc(sd, src, &p_id);
+ postHookFunc(sd, src, p_id);
}
}
return;
@@ -17551,10 +17551,10 @@ void HP_clif_readbook(int fd, int book_id, int page) {
HPMHooks.source.clif.readbook(fd, book_id, page);
}
if( HPMHooks.count.HP_clif_readbook_post ) {
- void (*postHookFunc) (int *fd, int *book_id, int *page);
+ void (*postHookFunc) (int fd, int book_id, int page);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_readbook_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_readbook_post[hIndex].func;
- postHookFunc(&fd, &book_id, &page);
+ postHookFunc(fd, book_id, page);
}
}
return;
@@ -17577,10 +17577,10 @@ void HP_clif_notify_time(struct map_session_data *sd, int64 time) {
HPMHooks.source.clif.notify_time(sd, time);
}
if( HPMHooks.count.HP_clif_notify_time_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int64 *time);
+ void (*postHookFunc) (struct map_session_data *sd, int64 time);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_notify_time_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_notify_time_post[hIndex].func;
- postHookFunc(sd, &time);
+ postHookFunc(sd, time);
}
}
return;
@@ -17603,10 +17603,10 @@ void HP_clif_user_count(struct map_session_data *sd, int count) {
HPMHooks.source.clif.user_count(sd, count);
}
if( HPMHooks.count.HP_clif_user_count_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *count);
+ void (*postHookFunc) (struct map_session_data *sd, int count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_user_count_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_user_count_post[hIndex].func;
- postHookFunc(sd, &count);
+ postHookFunc(sd, count);
}
}
return;
@@ -17629,10 +17629,10 @@ void HP_clif_noask_sub(struct map_session_data *src, struct map_session_data *ta
HPMHooks.source.clif.noask_sub(src, target, type);
}
if( HPMHooks.count.HP_clif_noask_sub_post ) {
- void (*postHookFunc) (struct map_session_data *src, struct map_session_data *target, int *type);
+ void (*postHookFunc) (struct map_session_data *src, struct map_session_data *target, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_noask_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_noask_sub_post[hIndex].func;
- postHookFunc(src, target, &type);
+ postHookFunc(src, target, type);
}
}
return;
@@ -17734,10 +17734,10 @@ int HP_clif_undisguise_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.clif.undisguise_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_clif_undisguise_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_clif_undisguise_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_undisguise_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -17760,10 +17760,10 @@ void HP_clif_bank_deposit(struct map_session_data *sd, enum e_BANKING_DEPOSIT_AC
HPMHooks.source.clif.bank_deposit(sd, reason);
}
if( HPMHooks.count.HP_clif_bank_deposit_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum e_BANKING_DEPOSIT_ACK *reason);
+ void (*postHookFunc) (struct map_session_data *sd, enum e_BANKING_DEPOSIT_ACK reason);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bank_deposit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bank_deposit_post[hIndex].func;
- postHookFunc(sd, &reason);
+ postHookFunc(sd, reason);
}
}
return;
@@ -17786,10 +17786,10 @@ void HP_clif_bank_withdraw(struct map_session_data *sd, enum e_BANKING_WITHDRAW_
HPMHooks.source.clif.bank_withdraw(sd, reason);
}
if( HPMHooks.count.HP_clif_bank_withdraw_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum e_BANKING_WITHDRAW_ACK *reason);
+ void (*postHookFunc) (struct map_session_data *sd, enum e_BANKING_WITHDRAW_ACK reason);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bank_withdraw_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_bank_withdraw_post[hIndex].func;
- postHookFunc(sd, &reason);
+ postHookFunc(sd, reason);
}
}
return;
@@ -17838,10 +17838,10 @@ void HP_clif_notify_bounditem(struct map_session_data *sd, unsigned short index)
HPMHooks.source.clif.notify_bounditem(sd, index);
}
if( HPMHooks.count.HP_clif_notify_bounditem_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned short *index);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned short index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_notify_bounditem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_notify_bounditem_post[hIndex].func;
- postHookFunc(sd, &index);
+ postHookFunc(sd, index);
}
}
return;
@@ -17865,10 +17865,10 @@ int HP_clif_delay_damage(int64 tick, struct block_list *src, struct block_list *
retVal___ = HPMHooks.source.clif.delay_damage(tick, src, dst, sdelay, ddelay, in_damage, div, type);
}
if( HPMHooks.count.HP_clif_delay_damage_post ) {
- int (*postHookFunc) (int retVal___, int64 *tick, struct block_list *src, struct block_list *dst, int *sdelay, int *ddelay, int64 *in_damage, short *div, unsigned char *type);
+ int (*postHookFunc) (int retVal___, int64 tick, struct block_list *src, struct block_list *dst, int sdelay, int ddelay, int64 in_damage, short div, unsigned char type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_delay_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_delay_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tick, src, dst, &sdelay, &ddelay, &in_damage, &div, &type);
+ retVal___ = postHookFunc(retVal___, tick, src, dst, sdelay, ddelay, in_damage, div, type);
}
}
return retVal___;
@@ -17892,10 +17892,10 @@ int HP_clif_delay_damage_sub(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.clif.delay_damage_sub(tid, tick, id, data);
}
if( HPMHooks.count.HP_clif_delay_damage_sub_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_clif_delay_damage_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_delay_damage_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -17944,10 +17944,10 @@ void HP_clif_npc_market_purchase_ack(struct map_session_data *sd, const struct i
HPMHooks.source.clif.npc_market_purchase_ack(sd, item_list, response);
}
if( HPMHooks.count.HP_clif_npc_market_purchase_ack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const struct itemlist *item_list, unsigned char *response);
+ void (*postHookFunc) (struct map_session_data *sd, const struct itemlist *item_list, unsigned char response);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npc_market_purchase_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_npc_market_purchase_ack_post[hIndex].func;
- postHookFunc(sd, item_list, &response);
+ postHookFunc(sd, item_list, response);
}
}
return;
@@ -17997,10 +17997,10 @@ void HP_clif_roulette_generate_ack(struct map_session_data *sd, unsigned char re
HPMHooks.source.clif.roulette_generate_ack(sd, result, stage, prizeIdx, bonusItemID);
}
if( HPMHooks.count.HP_clif_roulette_generate_ack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *result, short *stage, short *prizeIdx, short *bonusItemID);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char result, short stage, short prizeIdx, short bonusItemID);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_roulette_generate_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_roulette_generate_ack_post[hIndex].func;
- postHookFunc(sd, &result, &stage, &prizeIdx, &bonusItemID);
+ postHookFunc(sd, result, stage, prizeIdx, bonusItemID);
}
}
return;
@@ -18023,10 +18023,10 @@ void HP_clif_openmergeitem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.openmergeitem(fd, sd);
}
if( HPMHooks.count.HP_clif_openmergeitem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_openmergeitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_openmergeitem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18049,10 +18049,10 @@ void HP_clif_cancelmergeitem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.cancelmergeitem(fd, sd);
}
if( HPMHooks.count.HP_clif_cancelmergeitem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cancelmergeitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_cancelmergeitem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18102,10 +18102,10 @@ void HP_clif_ackmergeitems(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.ackmergeitems(fd, sd);
}
if( HPMHooks.count.HP_clif_ackmergeitems_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_ackmergeitems_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_ackmergeitems_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18128,10 +18128,10 @@ void HP_clif_pWantToConnection(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pWantToConnection(fd, sd);
}
if( HPMHooks.count.HP_clif_pWantToConnection_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pWantToConnection_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pWantToConnection_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18154,10 +18154,10 @@ void HP_clif_pLoadEndAck(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pLoadEndAck(fd, sd);
}
if( HPMHooks.count.HP_clif_pLoadEndAck_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pLoadEndAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pLoadEndAck_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18180,10 +18180,10 @@ void HP_clif_pTickSend(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTickSend(fd, sd);
}
if( HPMHooks.count.HP_clif_pTickSend_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTickSend_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTickSend_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18206,10 +18206,10 @@ void HP_clif_pHotkey(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pHotkey(fd, sd);
}
if( HPMHooks.count.HP_clif_pHotkey_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHotkey_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pHotkey_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18232,10 +18232,10 @@ void HP_clif_pProgressbar(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pProgressbar(fd, sd);
}
if( HPMHooks.count.HP_clif_pProgressbar_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pProgressbar_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pProgressbar_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18258,10 +18258,10 @@ void HP_clif_pWalkToXY(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pWalkToXY(fd, sd);
}
if( HPMHooks.count.HP_clif_pWalkToXY_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pWalkToXY_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pWalkToXY_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18284,10 +18284,10 @@ void HP_clif_pQuitGame(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pQuitGame(fd, sd);
}
if( HPMHooks.count.HP_clif_pQuitGame_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pQuitGame_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pQuitGame_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18310,10 +18310,10 @@ void HP_clif_pGetCharNameRequest(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGetCharNameRequest(fd, sd);
}
if( HPMHooks.count.HP_clif_pGetCharNameRequest_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGetCharNameRequest_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGetCharNameRequest_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18336,10 +18336,10 @@ void HP_clif_pGlobalMessage(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGlobalMessage(fd, sd);
}
if( HPMHooks.count.HP_clif_pGlobalMessage_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGlobalMessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGlobalMessage_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18362,10 +18362,10 @@ void HP_clif_pMapMove(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMapMove(fd, sd);
}
if( HPMHooks.count.HP_clif_pMapMove_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMapMove_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMapMove_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18388,10 +18388,10 @@ void HP_clif_pChangeDir(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pChangeDir(fd, sd);
}
if( HPMHooks.count.HP_clif_pChangeDir_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangeDir_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pChangeDir_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18414,10 +18414,10 @@ void HP_clif_pEmotion(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pEmotion(fd, sd);
}
if( HPMHooks.count.HP_clif_pEmotion_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pEmotion_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pEmotion_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18440,10 +18440,10 @@ void HP_clif_pHowManyConnections(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pHowManyConnections(fd, sd);
}
if( HPMHooks.count.HP_clif_pHowManyConnections_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHowManyConnections_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pHowManyConnections_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18466,10 +18466,10 @@ void HP_clif_pActionRequest(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pActionRequest(fd, sd);
}
if( HPMHooks.count.HP_clif_pActionRequest_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pActionRequest_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pActionRequest_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18492,10 +18492,10 @@ void HP_clif_pActionRequest_sub(struct map_session_data *sd, int action_type, in
HPMHooks.source.clif.pActionRequest_sub(sd, action_type, target_id, tick);
}
if( HPMHooks.count.HP_clif_pActionRequest_sub_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *action_type, int *target_id, int64 *tick);
+ void (*postHookFunc) (struct map_session_data *sd, int action_type, int target_id, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pActionRequest_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pActionRequest_sub_post[hIndex].func;
- postHookFunc(sd, &action_type, &target_id, &tick);
+ postHookFunc(sd, action_type, target_id, tick);
}
}
return;
@@ -18518,10 +18518,10 @@ void HP_clif_pRestart(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRestart(fd, sd);
}
if( HPMHooks.count.HP_clif_pRestart_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRestart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRestart_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18544,10 +18544,10 @@ void HP_clif_pWisMessage(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pWisMessage(fd, sd);
}
if( HPMHooks.count.HP_clif_pWisMessage_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pWisMessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pWisMessage_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18570,10 +18570,10 @@ void HP_clif_pBroadcast(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBroadcast(fd, sd);
}
if( HPMHooks.count.HP_clif_pBroadcast_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBroadcast_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBroadcast_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18596,10 +18596,10 @@ void HP_clif_pTakeItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTakeItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pTakeItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTakeItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTakeItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18622,10 +18622,10 @@ void HP_clif_pDropItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pDropItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pDropItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pDropItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pDropItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18648,10 +18648,10 @@ void HP_clif_pUseItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pUseItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pUseItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18674,10 +18674,10 @@ void HP_clif_pEquipItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pEquipItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pEquipItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pEquipItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pEquipItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18700,10 +18700,10 @@ void HP_clif_pUnequipItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pUnequipItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pUnequipItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUnequipItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUnequipItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18726,10 +18726,10 @@ void HP_clif_pNpcClicked(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcClicked(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcClicked_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcClicked_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcClicked_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18752,10 +18752,10 @@ void HP_clif_pNpcBuySellSelected(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcBuySellSelected(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcBuySellSelected_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcBuySellSelected_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcBuySellSelected_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18778,10 +18778,10 @@ void HP_clif_pNpcBuyListSend(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcBuyListSend(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcBuyListSend_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcBuyListSend_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcBuyListSend_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18804,10 +18804,10 @@ void HP_clif_pNpcSellListSend(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcSellListSend(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcSellListSend_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcSellListSend_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcSellListSend_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18830,10 +18830,10 @@ void HP_clif_pCreateChatRoom(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCreateChatRoom(fd, sd);
}
if( HPMHooks.count.HP_clif_pCreateChatRoom_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCreateChatRoom_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCreateChatRoom_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18856,10 +18856,10 @@ void HP_clif_pChatAddMember(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pChatAddMember(fd, sd);
}
if( HPMHooks.count.HP_clif_pChatAddMember_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChatAddMember_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pChatAddMember_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18882,10 +18882,10 @@ void HP_clif_pChatRoomStatusChange(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pChatRoomStatusChange(fd, sd);
}
if( HPMHooks.count.HP_clif_pChatRoomStatusChange_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChatRoomStatusChange_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pChatRoomStatusChange_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18908,10 +18908,10 @@ void HP_clif_pChangeChatOwner(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pChangeChatOwner(fd, sd);
}
if( HPMHooks.count.HP_clif_pChangeChatOwner_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangeChatOwner_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pChangeChatOwner_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18934,10 +18934,10 @@ void HP_clif_pKickFromChat(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pKickFromChat(fd, sd);
}
if( HPMHooks.count.HP_clif_pKickFromChat_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pKickFromChat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pKickFromChat_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18960,10 +18960,10 @@ void HP_clif_pChatLeave(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pChatLeave(fd, sd);
}
if( HPMHooks.count.HP_clif_pChatLeave_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChatLeave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pChatLeave_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -18986,10 +18986,10 @@ void HP_clif_pTradeRequest(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTradeRequest(fd, sd);
}
if( HPMHooks.count.HP_clif_pTradeRequest_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeRequest_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTradeRequest_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19012,10 +19012,10 @@ void HP_clif_pTradeAck(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTradeAck(fd, sd);
}
if( HPMHooks.count.HP_clif_pTradeAck_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTradeAck_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19038,10 +19038,10 @@ void HP_clif_pTradeAddItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTradeAddItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pTradeAddItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeAddItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTradeAddItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19064,10 +19064,10 @@ void HP_clif_pTradeOk(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTradeOk(fd, sd);
}
if( HPMHooks.count.HP_clif_pTradeOk_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeOk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTradeOk_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19090,10 +19090,10 @@ void HP_clif_pTradeCancel(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTradeCancel(fd, sd);
}
if( HPMHooks.count.HP_clif_pTradeCancel_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeCancel_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTradeCancel_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19116,10 +19116,10 @@ void HP_clif_pTradeCommit(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTradeCommit(fd, sd);
}
if( HPMHooks.count.HP_clif_pTradeCommit_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeCommit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTradeCommit_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19142,10 +19142,10 @@ void HP_clif_pStopAttack(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pStopAttack(fd, sd);
}
if( HPMHooks.count.HP_clif_pStopAttack_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pStopAttack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pStopAttack_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19168,10 +19168,10 @@ void HP_clif_pPutItemToCart(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPutItemToCart(fd, sd);
}
if( HPMHooks.count.HP_clif_pPutItemToCart_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPutItemToCart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPutItemToCart_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19194,10 +19194,10 @@ void HP_clif_pGetItemFromCart(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGetItemFromCart(fd, sd);
}
if( HPMHooks.count.HP_clif_pGetItemFromCart_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGetItemFromCart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGetItemFromCart_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19220,10 +19220,10 @@ void HP_clif_pRemoveOption(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRemoveOption(fd, sd);
}
if( HPMHooks.count.HP_clif_pRemoveOption_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRemoveOption_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRemoveOption_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19246,10 +19246,10 @@ void HP_clif_pChangeCart(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pChangeCart(fd, sd);
}
if( HPMHooks.count.HP_clif_pChangeCart_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangeCart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pChangeCart_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19272,10 +19272,10 @@ void HP_clif_pStatusUp(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pStatusUp(fd, sd);
}
if( HPMHooks.count.HP_clif_pStatusUp_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pStatusUp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pStatusUp_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19298,10 +19298,10 @@ void HP_clif_pSkillUp(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSkillUp(fd, sd);
}
if( HPMHooks.count.HP_clif_pSkillUp_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSkillUp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSkillUp_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19324,10 +19324,10 @@ void HP_clif_pUseSkillToId(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pUseSkillToId(fd, sd);
}
if( HPMHooks.count.HP_clif_pUseSkillToId_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToId_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillToId_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19350,10 +19350,10 @@ void HP_clif_pUseSkillToId_homun(struct homun_data *hd, struct map_session_data
HPMHooks.source.clif.pUseSkillToId_homun(hd, sd, tick, skill_id, skill_lv, target_id);
}
if( HPMHooks.count.HP_clif_pUseSkillToId_homun_post ) {
- void (*postHookFunc) (struct homun_data *hd, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
+ void (*postHookFunc) (struct homun_data *hd, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, int target_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToId_homun_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillToId_homun_post[hIndex].func;
- postHookFunc(hd, sd, &tick, &skill_id, &skill_lv, &target_id);
+ postHookFunc(hd, sd, tick, skill_id, skill_lv, target_id);
}
}
return;
@@ -19376,10 +19376,10 @@ void HP_clif_pUseSkillToId_mercenary(struct mercenary_data *md, struct map_sessi
HPMHooks.source.clif.pUseSkillToId_mercenary(md, sd, tick, skill_id, skill_lv, target_id);
}
if( HPMHooks.count.HP_clif_pUseSkillToId_mercenary_post ) {
- void (*postHookFunc) (struct mercenary_data *md, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
+ void (*postHookFunc) (struct mercenary_data *md, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, int target_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToId_mercenary_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillToId_mercenary_post[hIndex].func;
- postHookFunc(md, sd, &tick, &skill_id, &skill_lv, &target_id);
+ postHookFunc(md, sd, tick, skill_id, skill_lv, target_id);
}
}
return;
@@ -19402,10 +19402,10 @@ void HP_clif_pUseSkillToPos(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pUseSkillToPos(fd, sd);
}
if( HPMHooks.count.HP_clif_pUseSkillToPos_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillToPos_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19428,10 +19428,10 @@ void HP_clif_pUseSkillToPosSub(int fd, struct map_session_data *sd, uint16 skill
HPMHooks.source.clif.pUseSkillToPosSub(fd, sd, skill_lv, skill_id, x, y, skillmoreinfo);
}
if( HPMHooks.count.HP_clif_pUseSkillToPosSub_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd, uint16 *skill_lv, uint16 *skill_id, short *x, short *y, int *skillmoreinfo);
+ void (*postHookFunc) (int fd, struct map_session_data *sd, uint16 skill_lv, uint16 skill_id, short x, short y, int skillmoreinfo);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPosSub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillToPosSub_post[hIndex].func;
- postHookFunc(&fd, sd, &skill_lv, &skill_id, &x, &y, &skillmoreinfo);
+ postHookFunc(fd, sd, skill_lv, skill_id, x, y, skillmoreinfo);
}
}
return;
@@ -19454,10 +19454,10 @@ void HP_clif_pUseSkillToPos_homun(struct homun_data *hd, struct map_session_data
HPMHooks.source.clif.pUseSkillToPos_homun(hd, sd, tick, skill_id, skill_lv, x, y, skillmoreinfo);
}
if( HPMHooks.count.HP_clif_pUseSkillToPos_homun_post ) {
- void (*postHookFunc) (struct homun_data *hd, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
+ void (*postHookFunc) (struct homun_data *hd, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, short x, short y, int skillmoreinfo);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPos_homun_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillToPos_homun_post[hIndex].func;
- postHookFunc(hd, sd, &tick, &skill_id, &skill_lv, &x, &y, &skillmoreinfo);
+ postHookFunc(hd, sd, tick, skill_id, skill_lv, x, y, skillmoreinfo);
}
}
return;
@@ -19480,10 +19480,10 @@ void HP_clif_pUseSkillToPos_mercenary(struct mercenary_data *md, struct map_sess
HPMHooks.source.clif.pUseSkillToPos_mercenary(md, sd, tick, skill_id, skill_lv, x, y, skillmoreinfo);
}
if( HPMHooks.count.HP_clif_pUseSkillToPos_mercenary_post ) {
- void (*postHookFunc) (struct mercenary_data *md, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
+ void (*postHookFunc) (struct mercenary_data *md, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, short x, short y, int skillmoreinfo);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPos_mercenary_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillToPos_mercenary_post[hIndex].func;
- postHookFunc(md, sd, &tick, &skill_id, &skill_lv, &x, &y, &skillmoreinfo);
+ postHookFunc(md, sd, tick, skill_id, skill_lv, x, y, skillmoreinfo);
}
}
return;
@@ -19506,10 +19506,10 @@ void HP_clif_pUseSkillToPosMoreInfo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pUseSkillToPosMoreInfo(fd, sd);
}
if( HPMHooks.count.HP_clif_pUseSkillToPosMoreInfo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPosMoreInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillToPosMoreInfo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19532,10 +19532,10 @@ void HP_clif_pUseSkillMap(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pUseSkillMap(fd, sd);
}
if( HPMHooks.count.HP_clif_pUseSkillMap_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillMap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseSkillMap_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19558,10 +19558,10 @@ void HP_clif_pRequestMemo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRequestMemo(fd, sd);
}
if( HPMHooks.count.HP_clif_pRequestMemo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRequestMemo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRequestMemo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19584,10 +19584,10 @@ void HP_clif_pProduceMix(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pProduceMix(fd, sd);
}
if( HPMHooks.count.HP_clif_pProduceMix_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pProduceMix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pProduceMix_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19610,10 +19610,10 @@ void HP_clif_pCooking(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCooking(fd, sd);
}
if( HPMHooks.count.HP_clif_pCooking_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCooking_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCooking_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19636,10 +19636,10 @@ void HP_clif_pRepairItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRepairItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pRepairItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRepairItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRepairItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19662,10 +19662,10 @@ void HP_clif_pWeaponRefine(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pWeaponRefine(fd, sd);
}
if( HPMHooks.count.HP_clif_pWeaponRefine_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pWeaponRefine_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pWeaponRefine_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19688,10 +19688,10 @@ void HP_clif_pNpcSelectMenu(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcSelectMenu(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcSelectMenu_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcSelectMenu_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcSelectMenu_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19714,10 +19714,10 @@ void HP_clif_pNpcNextClicked(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcNextClicked(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcNextClicked_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcNextClicked_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcNextClicked_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19740,10 +19740,10 @@ void HP_clif_pNpcAmountInput(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcAmountInput(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcAmountInput_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcAmountInput_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcAmountInput_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19766,10 +19766,10 @@ void HP_clif_pNpcStringInput(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcStringInput(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcStringInput_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcStringInput_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcStringInput_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19792,10 +19792,10 @@ void HP_clif_pNpcCloseClicked(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNpcCloseClicked(fd, sd);
}
if( HPMHooks.count.HP_clif_pNpcCloseClicked_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcCloseClicked_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNpcCloseClicked_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19818,10 +19818,10 @@ void HP_clif_pItemIdentify(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pItemIdentify(fd, sd);
}
if( HPMHooks.count.HP_clif_pItemIdentify_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pItemIdentify_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pItemIdentify_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19844,10 +19844,10 @@ void HP_clif_pSelectArrow(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSelectArrow(fd, sd);
}
if( HPMHooks.count.HP_clif_pSelectArrow_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSelectArrow_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSelectArrow_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19870,10 +19870,10 @@ void HP_clif_pAutoSpell(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAutoSpell(fd, sd);
}
if( HPMHooks.count.HP_clif_pAutoSpell_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAutoSpell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAutoSpell_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19896,10 +19896,10 @@ void HP_clif_pUseCard(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pUseCard(fd, sd);
}
if( HPMHooks.count.HP_clif_pUseCard_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseCard_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pUseCard_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19922,10 +19922,10 @@ void HP_clif_pInsertCard(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pInsertCard(fd, sd);
}
if( HPMHooks.count.HP_clif_pInsertCard_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pInsertCard_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pInsertCard_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19948,10 +19948,10 @@ void HP_clif_pSolveCharName(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSolveCharName(fd, sd);
}
if( HPMHooks.count.HP_clif_pSolveCharName_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSolveCharName_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSolveCharName_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -19974,10 +19974,10 @@ void HP_clif_pResetChar(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pResetChar(fd, sd);
}
if( HPMHooks.count.HP_clif_pResetChar_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pResetChar_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pResetChar_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20000,10 +20000,10 @@ void HP_clif_pLocalBroadcast(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pLocalBroadcast(fd, sd);
}
if( HPMHooks.count.HP_clif_pLocalBroadcast_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pLocalBroadcast_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pLocalBroadcast_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20026,10 +20026,10 @@ void HP_clif_pMoveToKafra(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMoveToKafra(fd, sd);
}
if( HPMHooks.count.HP_clif_pMoveToKafra_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveToKafra_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMoveToKafra_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20052,10 +20052,10 @@ void HP_clif_pMoveFromKafra(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMoveFromKafra(fd, sd);
}
if( HPMHooks.count.HP_clif_pMoveFromKafra_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveFromKafra_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMoveFromKafra_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20078,10 +20078,10 @@ void HP_clif_pMoveToKafraFromCart(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMoveToKafraFromCart(fd, sd);
}
if( HPMHooks.count.HP_clif_pMoveToKafraFromCart_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveToKafraFromCart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMoveToKafraFromCart_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20104,10 +20104,10 @@ void HP_clif_pMoveFromKafraToCart(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMoveFromKafraToCart(fd, sd);
}
if( HPMHooks.count.HP_clif_pMoveFromKafraToCart_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveFromKafraToCart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMoveFromKafraToCart_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20130,10 +20130,10 @@ void HP_clif_pCloseKafra(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCloseKafra(fd, sd);
}
if( HPMHooks.count.HP_clif_pCloseKafra_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCloseKafra_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCloseKafra_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20156,10 +20156,10 @@ void HP_clif_pStoragePassword(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pStoragePassword(fd, sd);
}
if( HPMHooks.count.HP_clif_pStoragePassword_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pStoragePassword_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pStoragePassword_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20182,10 +20182,10 @@ void HP_clif_pCreateParty(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCreateParty(fd, sd);
}
if( HPMHooks.count.HP_clif_pCreateParty_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCreateParty_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCreateParty_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20208,10 +20208,10 @@ void HP_clif_pCreateParty2(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCreateParty2(fd, sd);
}
if( HPMHooks.count.HP_clif_pCreateParty2_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCreateParty2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCreateParty2_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20234,10 +20234,10 @@ void HP_clif_pPartyInvite(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyInvite(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyInvite_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyInvite_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyInvite_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20260,10 +20260,10 @@ void HP_clif_pPartyInvite2(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyInvite2(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyInvite2_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyInvite2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyInvite2_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20286,10 +20286,10 @@ void HP_clif_pReplyPartyInvite(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pReplyPartyInvite(fd, sd);
}
if( HPMHooks.count.HP_clif_pReplyPartyInvite_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReplyPartyInvite_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pReplyPartyInvite_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20312,10 +20312,10 @@ void HP_clif_pReplyPartyInvite2(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pReplyPartyInvite2(fd, sd);
}
if( HPMHooks.count.HP_clif_pReplyPartyInvite2_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReplyPartyInvite2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pReplyPartyInvite2_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20338,10 +20338,10 @@ void HP_clif_pLeaveParty(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pLeaveParty(fd, sd);
}
if( HPMHooks.count.HP_clif_pLeaveParty_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pLeaveParty_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pLeaveParty_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20364,10 +20364,10 @@ void HP_clif_pRemovePartyMember(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRemovePartyMember(fd, sd);
}
if( HPMHooks.count.HP_clif_pRemovePartyMember_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRemovePartyMember_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRemovePartyMember_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20390,10 +20390,10 @@ void HP_clif_pPartyChangeOption(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyChangeOption(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyChangeOption_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyChangeOption_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyChangeOption_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20416,10 +20416,10 @@ void HP_clif_pPartyMessage(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyMessage(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyMessage_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyMessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyMessage_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20442,10 +20442,10 @@ void HP_clif_pPartyChangeLeader(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyChangeLeader(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyChangeLeader_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyChangeLeader_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyChangeLeader_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20468,10 +20468,10 @@ void HP_clif_pPartyBookingRegisterReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingRegisterReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingRegisterReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingRegisterReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingRegisterReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20494,10 +20494,10 @@ void HP_clif_pPartyBookingSearchReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingSearchReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingSearchReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingSearchReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingSearchReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20520,10 +20520,10 @@ void HP_clif_pPartyBookingDeleteReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingDeleteReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingDeleteReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingDeleteReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingDeleteReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20546,10 +20546,10 @@ void HP_clif_pPartyBookingUpdateReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingUpdateReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingUpdateReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingUpdateReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingUpdateReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20572,10 +20572,10 @@ void HP_clif_pPartyRecruitRegisterReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyRecruitRegisterReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyRecruitRegisterReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyRecruitRegisterReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyRecruitRegisterReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20598,10 +20598,10 @@ void HP_clif_pPartyRecruitSearchReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyRecruitSearchReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyRecruitSearchReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyRecruitSearchReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyRecruitSearchReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20624,10 +20624,10 @@ void HP_clif_pPartyRecruitDeleteReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyRecruitDeleteReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyRecruitDeleteReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyRecruitDeleteReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyRecruitDeleteReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20650,10 +20650,10 @@ void HP_clif_pPartyRecruitUpdateReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyRecruitUpdateReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyRecruitUpdateReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyRecruitUpdateReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyRecruitUpdateReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20676,10 +20676,10 @@ void HP_clif_pCloseVending(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCloseVending(fd, sd);
}
if( HPMHooks.count.HP_clif_pCloseVending_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCloseVending_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCloseVending_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20702,10 +20702,10 @@ void HP_clif_pVendingListReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pVendingListReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pVendingListReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pVendingListReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pVendingListReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20728,10 +20728,10 @@ void HP_clif_pPurchaseReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPurchaseReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pPurchaseReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPurchaseReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPurchaseReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20754,10 +20754,10 @@ void HP_clif_pPurchaseReq2(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPurchaseReq2(fd, sd);
}
if( HPMHooks.count.HP_clif_pPurchaseReq2_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPurchaseReq2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPurchaseReq2_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20780,10 +20780,10 @@ void HP_clif_pOpenVending(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pOpenVending(fd, sd);
}
if( HPMHooks.count.HP_clif_pOpenVending_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pOpenVending_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pOpenVending_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20806,10 +20806,10 @@ void HP_clif_pCreateGuild(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCreateGuild(fd, sd);
}
if( HPMHooks.count.HP_clif_pCreateGuild_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCreateGuild_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCreateGuild_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20832,10 +20832,10 @@ void HP_clif_pGuildCheckMaster(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildCheckMaster(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildCheckMaster_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildCheckMaster_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildCheckMaster_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20858,10 +20858,10 @@ void HP_clif_pGuildRequestInfo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildRequestInfo(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildRequestInfo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildRequestInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildRequestInfo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20884,10 +20884,10 @@ void HP_clif_pGuildChangePositionInfo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildChangePositionInfo(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildChangePositionInfo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildChangePositionInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildChangePositionInfo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20910,10 +20910,10 @@ void HP_clif_pGuildChangeMemberPosition(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildChangeMemberPosition(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildChangeMemberPosition_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildChangeMemberPosition_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildChangeMemberPosition_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20936,10 +20936,10 @@ void HP_clif_pGuildRequestEmblem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildRequestEmblem(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildRequestEmblem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildRequestEmblem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildRequestEmblem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20962,10 +20962,10 @@ void HP_clif_pGuildChangeEmblem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildChangeEmblem(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildChangeEmblem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildChangeEmblem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildChangeEmblem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -20988,10 +20988,10 @@ void HP_clif_pGuildChangeNotice(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildChangeNotice(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildChangeNotice_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildChangeNotice_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildChangeNotice_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21014,10 +21014,10 @@ void HP_clif_pGuildInvite(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildInvite(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildInvite_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildInvite_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildInvite_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21040,10 +21040,10 @@ void HP_clif_pGuildReplyInvite(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildReplyInvite(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildReplyInvite_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildReplyInvite_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildReplyInvite_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21066,10 +21066,10 @@ void HP_clif_pGuildLeave(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildLeave(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildLeave_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildLeave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildLeave_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21092,10 +21092,10 @@ void HP_clif_pGuildExpulsion(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildExpulsion(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildExpulsion_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildExpulsion_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildExpulsion_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21118,10 +21118,10 @@ void HP_clif_pGuildMessage(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildMessage(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildMessage_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildMessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildMessage_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21144,10 +21144,10 @@ void HP_clif_pGuildRequestAlliance(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildRequestAlliance(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildRequestAlliance_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildRequestAlliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildRequestAlliance_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21170,10 +21170,10 @@ void HP_clif_pGuildReplyAlliance(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildReplyAlliance(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildReplyAlliance_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildReplyAlliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildReplyAlliance_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21196,10 +21196,10 @@ void HP_clif_pGuildDelAlliance(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildDelAlliance(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildDelAlliance_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildDelAlliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildDelAlliance_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21222,10 +21222,10 @@ void HP_clif_pGuildOpposition(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildOpposition(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildOpposition_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildOpposition_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildOpposition_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21248,10 +21248,10 @@ void HP_clif_pGuildBreak(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildBreak(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildBreak_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildBreak_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildBreak_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21274,10 +21274,10 @@ void HP_clif_pPetMenu(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPetMenu(fd, sd);
}
if( HPMHooks.count.HP_clif_pPetMenu_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPetMenu_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPetMenu_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21300,10 +21300,10 @@ void HP_clif_pCatchPet(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCatchPet(fd, sd);
}
if( HPMHooks.count.HP_clif_pCatchPet_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCatchPet_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCatchPet_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21326,10 +21326,10 @@ void HP_clif_pSelectEgg(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSelectEgg(fd, sd);
}
if( HPMHooks.count.HP_clif_pSelectEgg_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSelectEgg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSelectEgg_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21352,10 +21352,10 @@ void HP_clif_pSendEmotion(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSendEmotion(fd, sd);
}
if( HPMHooks.count.HP_clif_pSendEmotion_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSendEmotion_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSendEmotion_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21378,10 +21378,10 @@ void HP_clif_pChangePetName(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pChangePetName(fd, sd);
}
if( HPMHooks.count.HP_clif_pChangePetName_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangePetName_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pChangePetName_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21404,10 +21404,10 @@ void HP_clif_pGMKick(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMKick(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMKick_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMKick_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMKick_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21430,10 +21430,10 @@ void HP_clif_pGMKickAll(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMKickAll(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMKickAll_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMKickAll_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMKickAll_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21456,10 +21456,10 @@ void HP_clif_pGMShift(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMShift(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMShift_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMShift_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMShift_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21482,10 +21482,10 @@ void HP_clif_pGMRemove2(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMRemove2(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMRemove2_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMRemove2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMRemove2_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21508,10 +21508,10 @@ void HP_clif_pGMRecall(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMRecall(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMRecall_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMRecall_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMRecall_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21534,10 +21534,10 @@ void HP_clif_pGMRecall2(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMRecall2(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMRecall2_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMRecall2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMRecall2_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21560,10 +21560,10 @@ void HP_clif_pGM_Monster_Item(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGM_Monster_Item(fd, sd);
}
if( HPMHooks.count.HP_clif_pGM_Monster_Item_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGM_Monster_Item_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGM_Monster_Item_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21586,10 +21586,10 @@ void HP_clif_pGMHide(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMHide(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMHide_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMHide_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMHide_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21612,10 +21612,10 @@ void HP_clif_pGMReqNoChat(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMReqNoChat(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMReqNoChat_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMReqNoChat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMReqNoChat_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21638,10 +21638,10 @@ void HP_clif_pGMRc(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMRc(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMRc_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMRc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMRc_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21664,10 +21664,10 @@ void HP_clif_pGMReqAccountName(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMReqAccountName(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMReqAccountName_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMReqAccountName_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMReqAccountName_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21690,10 +21690,10 @@ void HP_clif_pGMChangeMapType(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMChangeMapType(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMChangeMapType_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMChangeMapType_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMChangeMapType_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21716,10 +21716,10 @@ void HP_clif_pGMFullStrip(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGMFullStrip(fd, sd);
}
if( HPMHooks.count.HP_clif_pGMFullStrip_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMFullStrip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGMFullStrip_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21742,10 +21742,10 @@ void HP_clif_pPMIgnore(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPMIgnore(fd, sd);
}
if( HPMHooks.count.HP_clif_pPMIgnore_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPMIgnore_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPMIgnore_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21768,10 +21768,10 @@ void HP_clif_pPMIgnoreAll(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPMIgnoreAll(fd, sd);
}
if( HPMHooks.count.HP_clif_pPMIgnoreAll_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPMIgnoreAll_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPMIgnoreAll_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21794,10 +21794,10 @@ void HP_clif_pPMIgnoreList(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPMIgnoreList(fd, sd);
}
if( HPMHooks.count.HP_clif_pPMIgnoreList_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPMIgnoreList_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPMIgnoreList_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21820,10 +21820,10 @@ void HP_clif_pNoviceDoriDori(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNoviceDoriDori(fd, sd);
}
if( HPMHooks.count.HP_clif_pNoviceDoriDori_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNoviceDoriDori_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNoviceDoriDori_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21846,10 +21846,10 @@ void HP_clif_pNoviceExplosionSpirits(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNoviceExplosionSpirits(fd, sd);
}
if( HPMHooks.count.HP_clif_pNoviceExplosionSpirits_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNoviceExplosionSpirits_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNoviceExplosionSpirits_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21872,10 +21872,10 @@ void HP_clif_pFriendsListAdd(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pFriendsListAdd(fd, sd);
}
if( HPMHooks.count.HP_clif_pFriendsListAdd_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pFriendsListAdd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pFriendsListAdd_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21898,10 +21898,10 @@ void HP_clif_pFriendsListReply(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pFriendsListReply(fd, sd);
}
if( HPMHooks.count.HP_clif_pFriendsListReply_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pFriendsListReply_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pFriendsListReply_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21924,10 +21924,10 @@ void HP_clif_pFriendsListRemove(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pFriendsListRemove(fd, sd);
}
if( HPMHooks.count.HP_clif_pFriendsListRemove_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pFriendsListRemove_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pFriendsListRemove_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21950,10 +21950,10 @@ void HP_clif_pPVPInfo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPVPInfo(fd, sd);
}
if( HPMHooks.count.HP_clif_pPVPInfo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPVPInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPVPInfo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -21976,10 +21976,10 @@ void HP_clif_pBlacksmith(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBlacksmith(fd, sd);
}
if( HPMHooks.count.HP_clif_pBlacksmith_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBlacksmith_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBlacksmith_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22002,10 +22002,10 @@ void HP_clif_pAlchemist(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAlchemist(fd, sd);
}
if( HPMHooks.count.HP_clif_pAlchemist_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAlchemist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAlchemist_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22028,10 +22028,10 @@ void HP_clif_pTaekwon(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pTaekwon(fd, sd);
}
if( HPMHooks.count.HP_clif_pTaekwon_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTaekwon_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pTaekwon_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22054,10 +22054,10 @@ void HP_clif_pRankingPk(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRankingPk(fd, sd);
}
if( HPMHooks.count.HP_clif_pRankingPk_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRankingPk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRankingPk_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22080,10 +22080,10 @@ void HP_clif_pFeelSaveOk(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pFeelSaveOk(fd, sd);
}
if( HPMHooks.count.HP_clif_pFeelSaveOk_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pFeelSaveOk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pFeelSaveOk_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22106,10 +22106,10 @@ void HP_clif_pChangeHomunculusName(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pChangeHomunculusName(fd, sd);
}
if( HPMHooks.count.HP_clif_pChangeHomunculusName_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangeHomunculusName_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pChangeHomunculusName_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22132,10 +22132,10 @@ void HP_clif_pHomMoveToMaster(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pHomMoveToMaster(fd, sd);
}
if( HPMHooks.count.HP_clif_pHomMoveToMaster_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHomMoveToMaster_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pHomMoveToMaster_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22158,10 +22158,10 @@ void HP_clif_pHomMoveTo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pHomMoveTo(fd, sd);
}
if( HPMHooks.count.HP_clif_pHomMoveTo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHomMoveTo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pHomMoveTo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22184,10 +22184,10 @@ void HP_clif_pHomAttack(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pHomAttack(fd, sd);
}
if( HPMHooks.count.HP_clif_pHomAttack_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHomAttack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pHomAttack_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22210,10 +22210,10 @@ void HP_clif_pHomMenu(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pHomMenu(fd, sd);
}
if( HPMHooks.count.HP_clif_pHomMenu_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHomMenu_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pHomMenu_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22236,10 +22236,10 @@ void HP_clif_pAutoRevive(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAutoRevive(fd, sd);
}
if( HPMHooks.count.HP_clif_pAutoRevive_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAutoRevive_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAutoRevive_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22262,10 +22262,10 @@ void HP_clif_pCheck(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCheck(fd, sd);
}
if( HPMHooks.count.HP_clif_pCheck_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCheck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCheck_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22288,10 +22288,10 @@ void HP_clif_pMail_refreshinbox(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMail_refreshinbox(fd, sd);
}
if( HPMHooks.count.HP_clif_pMail_refreshinbox_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_refreshinbox_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMail_refreshinbox_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22314,10 +22314,10 @@ void HP_clif_pMail_read(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMail_read(fd, sd);
}
if( HPMHooks.count.HP_clif_pMail_read_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_read_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMail_read_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22340,10 +22340,10 @@ void HP_clif_pMail_getattach(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMail_getattach(fd, sd);
}
if( HPMHooks.count.HP_clif_pMail_getattach_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_getattach_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMail_getattach_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22366,10 +22366,10 @@ void HP_clif_pMail_delete(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMail_delete(fd, sd);
}
if( HPMHooks.count.HP_clif_pMail_delete_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMail_delete_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22392,10 +22392,10 @@ void HP_clif_pMail_return(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMail_return(fd, sd);
}
if( HPMHooks.count.HP_clif_pMail_return_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_return_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMail_return_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22418,10 +22418,10 @@ void HP_clif_pMail_setattach(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMail_setattach(fd, sd);
}
if( HPMHooks.count.HP_clif_pMail_setattach_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_setattach_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMail_setattach_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22444,10 +22444,10 @@ void HP_clif_pMail_winopen(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMail_winopen(fd, sd);
}
if( HPMHooks.count.HP_clif_pMail_winopen_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_winopen_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMail_winopen_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22470,10 +22470,10 @@ void HP_clif_pMail_send(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMail_send(fd, sd);
}
if( HPMHooks.count.HP_clif_pMail_send_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_send_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMail_send_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22496,10 +22496,10 @@ void HP_clif_pAuction_cancelreg(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAuction_cancelreg(fd, sd);
}
if( HPMHooks.count.HP_clif_pAuction_cancelreg_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_cancelreg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAuction_cancelreg_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22522,10 +22522,10 @@ void HP_clif_pAuction_setitem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAuction_setitem(fd, sd);
}
if( HPMHooks.count.HP_clif_pAuction_setitem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_setitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAuction_setitem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22548,10 +22548,10 @@ void HP_clif_pAuction_register(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAuction_register(fd, sd);
}
if( HPMHooks.count.HP_clif_pAuction_register_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_register_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAuction_register_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22574,10 +22574,10 @@ void HP_clif_pAuction_cancel(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAuction_cancel(fd, sd);
}
if( HPMHooks.count.HP_clif_pAuction_cancel_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_cancel_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAuction_cancel_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22600,10 +22600,10 @@ void HP_clif_pAuction_close(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAuction_close(fd, sd);
}
if( HPMHooks.count.HP_clif_pAuction_close_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_close_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAuction_close_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22626,10 +22626,10 @@ void HP_clif_pAuction_bid(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAuction_bid(fd, sd);
}
if( HPMHooks.count.HP_clif_pAuction_bid_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_bid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAuction_bid_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22652,10 +22652,10 @@ void HP_clif_pAuction_search(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAuction_search(fd, sd);
}
if( HPMHooks.count.HP_clif_pAuction_search_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAuction_search_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22678,10 +22678,10 @@ void HP_clif_pAuction_buysell(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAuction_buysell(fd, sd);
}
if( HPMHooks.count.HP_clif_pAuction_buysell_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_buysell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAuction_buysell_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22704,10 +22704,10 @@ void HP_clif_pcashshop_buy(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pcashshop_buy(fd, sd);
}
if( HPMHooks.count.HP_clif_pcashshop_buy_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pcashshop_buy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pcashshop_buy_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22730,10 +22730,10 @@ void HP_clif_pAdopt_request(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAdopt_request(fd, sd);
}
if( HPMHooks.count.HP_clif_pAdopt_request_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAdopt_request_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAdopt_request_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22756,10 +22756,10 @@ void HP_clif_pAdopt_reply(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pAdopt_reply(fd, sd);
}
if( HPMHooks.count.HP_clif_pAdopt_reply_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAdopt_reply_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pAdopt_reply_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22782,10 +22782,10 @@ void HP_clif_pViewPlayerEquip(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pViewPlayerEquip(fd, sd);
}
if( HPMHooks.count.HP_clif_pViewPlayerEquip_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pViewPlayerEquip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pViewPlayerEquip_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22808,10 +22808,10 @@ void HP_clif_pEquipTick(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pEquipTick(fd, sd);
}
if( HPMHooks.count.HP_clif_pEquipTick_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pEquipTick_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pEquipTick_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22834,10 +22834,10 @@ void HP_clif_pquestStateAck(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pquestStateAck(fd, sd);
}
if( HPMHooks.count.HP_clif_pquestStateAck_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pquestStateAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pquestStateAck_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22860,10 +22860,10 @@ void HP_clif_pmercenary_action(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pmercenary_action(fd, sd);
}
if( HPMHooks.count.HP_clif_pmercenary_action_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pmercenary_action_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pmercenary_action_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22886,10 +22886,10 @@ void HP_clif_pBattleChat(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBattleChat(fd, sd);
}
if( HPMHooks.count.HP_clif_pBattleChat_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBattleChat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBattleChat_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22912,10 +22912,10 @@ void HP_clif_pLessEffect(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pLessEffect(fd, sd);
}
if( HPMHooks.count.HP_clif_pLessEffect_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pLessEffect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pLessEffect_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22938,10 +22938,10 @@ void HP_clif_pItemListWindowSelected(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pItemListWindowSelected(fd, sd);
}
if( HPMHooks.count.HP_clif_pItemListWindowSelected_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pItemListWindowSelected_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pItemListWindowSelected_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22964,10 +22964,10 @@ void HP_clif_pReqOpenBuyingStore(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pReqOpenBuyingStore(fd, sd);
}
if( HPMHooks.count.HP_clif_pReqOpenBuyingStore_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReqOpenBuyingStore_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pReqOpenBuyingStore_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -22990,10 +22990,10 @@ void HP_clif_pReqCloseBuyingStore(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pReqCloseBuyingStore(fd, sd);
}
if( HPMHooks.count.HP_clif_pReqCloseBuyingStore_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReqCloseBuyingStore_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pReqCloseBuyingStore_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23016,10 +23016,10 @@ void HP_clif_pReqClickBuyingStore(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pReqClickBuyingStore(fd, sd);
}
if( HPMHooks.count.HP_clif_pReqClickBuyingStore_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReqClickBuyingStore_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pReqClickBuyingStore_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23042,10 +23042,10 @@ void HP_clif_pReqTradeBuyingStore(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pReqTradeBuyingStore(fd, sd);
}
if( HPMHooks.count.HP_clif_pReqTradeBuyingStore_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReqTradeBuyingStore_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pReqTradeBuyingStore_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23068,10 +23068,10 @@ void HP_clif_pSearchStoreInfo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSearchStoreInfo(fd, sd);
}
if( HPMHooks.count.HP_clif_pSearchStoreInfo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSearchStoreInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSearchStoreInfo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23094,10 +23094,10 @@ void HP_clif_pSearchStoreInfoNextPage(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSearchStoreInfoNextPage(fd, sd);
}
if( HPMHooks.count.HP_clif_pSearchStoreInfoNextPage_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSearchStoreInfoNextPage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSearchStoreInfoNextPage_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23120,10 +23120,10 @@ void HP_clif_pCloseSearchStoreInfo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCloseSearchStoreInfo(fd, sd);
}
if( HPMHooks.count.HP_clif_pCloseSearchStoreInfo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCloseSearchStoreInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCloseSearchStoreInfo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23146,10 +23146,10 @@ void HP_clif_pSearchStoreInfoListItemClick(int fd, struct map_session_data *sd)
HPMHooks.source.clif.pSearchStoreInfoListItemClick(fd, sd);
}
if( HPMHooks.count.HP_clif_pSearchStoreInfoListItemClick_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSearchStoreInfoListItemClick_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSearchStoreInfoListItemClick_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23172,10 +23172,10 @@ void HP_clif_pDebug(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pDebug(fd, sd);
}
if( HPMHooks.count.HP_clif_pDebug_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pDebug_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pDebug_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23198,10 +23198,10 @@ void HP_clif_pSkillSelectMenu(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSkillSelectMenu(fd, sd);
}
if( HPMHooks.count.HP_clif_pSkillSelectMenu_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSkillSelectMenu_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSkillSelectMenu_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23224,10 +23224,10 @@ void HP_clif_pMoveItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pMoveItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pMoveItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pMoveItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23250,10 +23250,10 @@ void HP_clif_pDull(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pDull(fd, sd);
}
if( HPMHooks.count.HP_clif_pDull_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pDull_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pDull_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23276,10 +23276,10 @@ void HP_clif_pBGQueueRegister(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBGQueueRegister(fd, sd);
}
if( HPMHooks.count.HP_clif_pBGQueueRegister_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBGQueueRegister_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBGQueueRegister_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23302,10 +23302,10 @@ void HP_clif_pBGQueueCheckState(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBGQueueCheckState(fd, sd);
}
if( HPMHooks.count.HP_clif_pBGQueueCheckState_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBGQueueCheckState_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBGQueueCheckState_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23328,10 +23328,10 @@ void HP_clif_pBGQueueRevokeReq(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBGQueueRevokeReq(fd, sd);
}
if( HPMHooks.count.HP_clif_pBGQueueRevokeReq_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBGQueueRevokeReq_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBGQueueRevokeReq_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23354,10 +23354,10 @@ void HP_clif_pBGQueueBattleBeginAck(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBGQueueBattleBeginAck(fd, sd);
}
if( HPMHooks.count.HP_clif_pBGQueueBattleBeginAck_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBGQueueBattleBeginAck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBGQueueBattleBeginAck_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23380,10 +23380,10 @@ void HP_clif_pCashShopOpen(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCashShopOpen(fd, sd);
}
if( HPMHooks.count.HP_clif_pCashShopOpen_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopOpen_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCashShopOpen_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23406,10 +23406,10 @@ void HP_clif_pCashShopClose(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCashShopClose(fd, sd);
}
if( HPMHooks.count.HP_clif_pCashShopClose_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopClose_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCashShopClose_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23432,10 +23432,10 @@ void HP_clif_pCashShopReqTab(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCashShopReqTab(fd, sd);
}
if( HPMHooks.count.HP_clif_pCashShopReqTab_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopReqTab_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCashShopReqTab_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23458,10 +23458,10 @@ void HP_clif_pCashShopSchedule(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCashShopSchedule(fd, sd);
}
if( HPMHooks.count.HP_clif_pCashShopSchedule_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopSchedule_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCashShopSchedule_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23484,10 +23484,10 @@ void HP_clif_pCashShopBuy(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pCashShopBuy(fd, sd);
}
if( HPMHooks.count.HP_clif_pCashShopBuy_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopBuy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pCashShopBuy_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23510,10 +23510,10 @@ void HP_clif_pPartyTick(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyTick(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyTick_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyTick_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyTick_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23536,10 +23536,10 @@ void HP_clif_pGuildInvite2(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pGuildInvite2(fd, sd);
}
if( HPMHooks.count.HP_clif_pGuildInvite2_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildInvite2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pGuildInvite2_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23562,10 +23562,10 @@ void HP_clif_pPartyBookingAddFilter(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingAddFilter(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingAddFilter_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingAddFilter_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingAddFilter_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23588,10 +23588,10 @@ void HP_clif_pPartyBookingSubFilter(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingSubFilter(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingSubFilter_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingSubFilter_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingSubFilter_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23614,10 +23614,10 @@ void HP_clif_pPartyBookingReqVolunteer(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingReqVolunteer(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingReqVolunteer_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingReqVolunteer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingReqVolunteer_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23640,10 +23640,10 @@ void HP_clif_pPartyBookingRefuseVolunteer(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingRefuseVolunteer(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingRefuseVolunteer_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingRefuseVolunteer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingRefuseVolunteer_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23666,10 +23666,10 @@ void HP_clif_pPartyBookingCancelVolunteer(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pPartyBookingCancelVolunteer(fd, sd);
}
if( HPMHooks.count.HP_clif_pPartyBookingCancelVolunteer_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingCancelVolunteer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pPartyBookingCancelVolunteer_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23692,10 +23692,10 @@ void HP_clif_pBankDeposit(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBankDeposit(fd, sd);
}
if( HPMHooks.count.HP_clif_pBankDeposit_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankDeposit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBankDeposit_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23718,10 +23718,10 @@ void HP_clif_pBankWithdraw(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBankWithdraw(fd, sd);
}
if( HPMHooks.count.HP_clif_pBankWithdraw_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankWithdraw_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBankWithdraw_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23744,10 +23744,10 @@ void HP_clif_pBankCheck(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBankCheck(fd, sd);
}
if( HPMHooks.count.HP_clif_pBankCheck_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankCheck_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBankCheck_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23770,10 +23770,10 @@ void HP_clif_pBankOpen(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBankOpen(fd, sd);
}
if( HPMHooks.count.HP_clif_pBankOpen_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankOpen_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBankOpen_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23796,10 +23796,10 @@ void HP_clif_pBankClose(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pBankClose(fd, sd);
}
if( HPMHooks.count.HP_clif_pBankClose_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankClose_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pBankClose_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23822,10 +23822,10 @@ void HP_clif_pRouletteOpen(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRouletteOpen(fd, sd);
}
if( HPMHooks.count.HP_clif_pRouletteOpen_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteOpen_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRouletteOpen_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23848,10 +23848,10 @@ void HP_clif_pRouletteInfo(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRouletteInfo(fd, sd);
}
if( HPMHooks.count.HP_clif_pRouletteInfo_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRouletteInfo_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23874,10 +23874,10 @@ void HP_clif_pRouletteClose(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRouletteClose(fd, sd);
}
if( HPMHooks.count.HP_clif_pRouletteClose_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteClose_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRouletteClose_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23900,10 +23900,10 @@ void HP_clif_pRouletteGenerate(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRouletteGenerate(fd, sd);
}
if( HPMHooks.count.HP_clif_pRouletteGenerate_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteGenerate_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRouletteGenerate_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23926,10 +23926,10 @@ void HP_clif_pRouletteRecvItem(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pRouletteRecvItem(fd, sd);
}
if( HPMHooks.count.HP_clif_pRouletteRecvItem_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteRecvItem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pRouletteRecvItem_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23952,10 +23952,10 @@ void HP_clif_pNPCShopClosed(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNPCShopClosed(fd, sd);
}
if( HPMHooks.count.HP_clif_pNPCShopClosed_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNPCShopClosed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNPCShopClosed_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -23978,10 +23978,10 @@ void HP_clif_pNPCMarketClosed(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNPCMarketClosed(fd, sd);
}
if( HPMHooks.count.HP_clif_pNPCMarketClosed_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNPCMarketClosed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNPCMarketClosed_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -24004,10 +24004,10 @@ void HP_clif_pNPCMarketPurchase(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pNPCMarketPurchase(fd, sd);
}
if( HPMHooks.count.HP_clif_pNPCMarketPurchase_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNPCMarketPurchase_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pNPCMarketPurchase_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -24056,10 +24056,10 @@ void HP_clif_pHotkeyRowShift(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pHotkeyRowShift(fd, sd);
}
if( HPMHooks.count.HP_clif_pHotkeyRowShift_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHotkeyRowShift_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pHotkeyRowShift_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -24082,10 +24082,10 @@ void HP_clif_dressroom_open(struct map_session_data *sd, int view) {
HPMHooks.source.clif.dressroom_open(sd, view);
}
if( HPMHooks.count.HP_clif_dressroom_open_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *view);
+ void (*postHookFunc) (struct map_session_data *sd, int view);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_dressroom_open_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_dressroom_open_post[hIndex].func;
- postHookFunc(sd, &view);
+ postHookFunc(sd, view);
}
}
return;
@@ -24108,10 +24108,10 @@ void HP_clif_pOneClick_ItemIdentify(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pOneClick_ItemIdentify(fd, sd);
}
if( HPMHooks.count.HP_clif_pOneClick_ItemIdentify_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pOneClick_ItemIdentify_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pOneClick_ItemIdentify_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -24160,10 +24160,10 @@ void HP_clif_pSelectCart(int fd, struct map_session_data *sd) {
HPMHooks.source.clif.pSelectCart(fd, sd);
}
if( HPMHooks.count.HP_clif_pSelectCart_post ) {
- void (*postHookFunc) (int *fd, struct map_session_data *sd);
+ void (*postHookFunc) (int fd, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSelectCart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_pSelectCart_post[hIndex].func;
- postHookFunc(&fd, sd);
+ postHookFunc(fd, sd);
}
}
return;
@@ -24267,10 +24267,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___;
@@ -24294,10 +24294,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___;
@@ -24321,10 +24321,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, &current_arg, &argc);
+ retVal___ = postHookFunc(retVal___, name, current_arg, argc);
}
}
return retVal___;
@@ -24508,10 +24508,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___;
@@ -24535,10 +24535,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___;
@@ -24562,10 +24562,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___;
@@ -24589,10 +24589,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___;
@@ -24616,10 +24616,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___;
@@ -24643,10 +24643,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___;
@@ -24670,10 +24670,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___;
@@ -24697,10 +24697,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___;
@@ -24751,10 +24751,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___;
@@ -24778,10 +24778,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___;
@@ -24805,10 +24805,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___;
@@ -24832,10 +24832,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___;
@@ -25020,10 +25020,10 @@ int HP_duel_create(struct map_session_data *sd, const unsigned int maxpl) {
retVal___ = HPMHooks.source.duel.create(sd, maxpl);
}
if( HPMHooks.count.HP_duel_create_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, const unsigned int *maxpl);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, const unsigned int maxpl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_duel_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &maxpl);
+ retVal___ = postHookFunc(retVal___, sd, maxpl);
}
}
return retVal___;
@@ -25046,10 +25046,10 @@ void HP_duel_invite(const unsigned int did, struct map_session_data *sd, struct
HPMHooks.source.duel.invite(did, sd, target_sd);
}
if( HPMHooks.count.HP_duel_invite_post ) {
- void (*postHookFunc) (const unsigned int *did, struct map_session_data *sd, struct map_session_data *target_sd);
+ void (*postHookFunc) (const unsigned int did, struct map_session_data *sd, struct map_session_data *target_sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_invite_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_duel_invite_post[hIndex].func;
- postHookFunc(&did, sd, target_sd);
+ postHookFunc(did, sd, target_sd);
}
}
return;
@@ -25072,10 +25072,10 @@ void HP_duel_accept(const unsigned int did, struct map_session_data *sd) {
HPMHooks.source.duel.accept(did, sd);
}
if( HPMHooks.count.HP_duel_accept_post ) {
- void (*postHookFunc) (const unsigned int *did, struct map_session_data *sd);
+ void (*postHookFunc) (const unsigned int did, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_accept_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_duel_accept_post[hIndex].func;
- postHookFunc(&did, sd);
+ postHookFunc(did, sd);
}
}
return;
@@ -25098,10 +25098,10 @@ void HP_duel_reject(const unsigned int did, struct map_session_data *sd) {
HPMHooks.source.duel.reject(did, sd);
}
if( HPMHooks.count.HP_duel_reject_post ) {
- void (*postHookFunc) (const unsigned int *did, struct map_session_data *sd);
+ void (*postHookFunc) (const unsigned int did, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_reject_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_duel_reject_post[hIndex].func;
- postHookFunc(&did, sd);
+ postHookFunc(did, sd);
}
}
return;
@@ -25124,10 +25124,10 @@ void HP_duel_leave(const unsigned int did, struct map_session_data *sd) {
HPMHooks.source.duel.leave(did, sd);
}
if( HPMHooks.count.HP_duel_leave_post ) {
- void (*postHookFunc) (const unsigned int *did, struct map_session_data *sd);
+ void (*postHookFunc) (const unsigned int did, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_leave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_duel_leave_post[hIndex].func;
- postHookFunc(&did, sd);
+ postHookFunc(did, sd);
}
}
return;
@@ -25150,10 +25150,10 @@ void HP_duel_showinfo(const unsigned int did, struct map_session_data *sd) {
HPMHooks.source.duel.showinfo(did, sd);
}
if( HPMHooks.count.HP_duel_showinfo_post ) {
- void (*postHookFunc) (const unsigned int *did, struct map_session_data *sd);
+ void (*postHookFunc) (const unsigned int did, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_showinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_duel_showinfo_post[hIndex].func;
- postHookFunc(&did, sd);
+ postHookFunc(did, sd);
}
}
return;
@@ -25203,10 +25203,10 @@ void HP_duel_init(bool minimal) {
HPMHooks.source.duel.init(minimal);
}
if( HPMHooks.count.HP_duel_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_duel_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -25257,10 +25257,10 @@ int HP_elemental_init(bool minimal) {
retVal___ = HPMHooks.source.elemental.init(minimal);
}
if( HPMHooks.count.HP_elemental_init_post ) {
- int (*postHookFunc) (int retVal___, bool *minimal);
+ int (*postHookFunc) (int retVal___, bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &minimal);
+ retVal___ = postHookFunc(retVal___, minimal);
}
}
return retVal___;
@@ -25310,10 +25310,10 @@ bool HP_elemental_class(int class_) {
retVal___ = HPMHooks.source.elemental.class(class_);
}
if( HPMHooks.count.HP_elemental_class_post ) {
- bool (*postHookFunc) (bool retVal___, int *class_);
+ bool (*postHookFunc) (bool retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_class_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_class_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -25337,10 +25337,10 @@ struct view_data* HP_elemental_get_viewdata(int class_) {
retVal___ = HPMHooks.source.elemental.get_viewdata(class_);
}
if( HPMHooks.count.HP_elemental_get_viewdata_post ) {
- struct view_data* (*postHookFunc) (struct view_data* retVal___, int *class_);
+ struct view_data* (*postHookFunc) (struct view_data* retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_get_viewdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_get_viewdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -25364,10 +25364,10 @@ int HP_elemental_create(struct map_session_data *sd, int class_, unsigned int li
retVal___ = HPMHooks.source.elemental.create(sd, class_, lifetime);
}
if( HPMHooks.count.HP_elemental_create_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *class_, unsigned int *lifetime);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int class_, unsigned int lifetime);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &class_, &lifetime);
+ retVal___ = postHookFunc(retVal___, sd, class_, lifetime);
}
}
return retVal___;
@@ -25391,10 +25391,10 @@ int HP_elemental_data_received(const struct s_elemental *ele, bool flag) {
retVal___ = HPMHooks.source.elemental.data_received(ele, flag);
}
if( HPMHooks.count.HP_elemental_data_received_post ) {
- int (*postHookFunc) (int retVal___, const struct s_elemental *ele, bool *flag);
+ int (*postHookFunc) (int retVal___, const struct s_elemental *ele, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_data_received_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_data_received_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ele, &flag);
+ retVal___ = postHookFunc(retVal___, ele, flag);
}
}
return retVal___;
@@ -25445,10 +25445,10 @@ int HP_elemental_change_mode_ack(struct elemental_data *ed, int mode) {
retVal___ = HPMHooks.source.elemental.change_mode_ack(ed, mode);
}
if( HPMHooks.count.HP_elemental_change_mode_ack_post ) {
- int (*postHookFunc) (int retVal___, struct elemental_data *ed, int *mode);
+ int (*postHookFunc) (int retVal___, struct elemental_data *ed, int mode);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_change_mode_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_change_mode_ack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ed, &mode);
+ retVal___ = postHookFunc(retVal___, ed, mode);
}
}
return retVal___;
@@ -25472,10 +25472,10 @@ int HP_elemental_change_mode(struct elemental_data *ed, uint32 mode) {
retVal___ = HPMHooks.source.elemental.change_mode(ed, mode);
}
if( HPMHooks.count.HP_elemental_change_mode_post ) {
- int (*postHookFunc) (int retVal___, struct elemental_data *ed, uint32 *mode);
+ int (*postHookFunc) (int retVal___, struct elemental_data *ed, uint32 mode);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_change_mode_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_change_mode_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ed, &mode);
+ retVal___ = postHookFunc(retVal___, ed, mode);
}
}
return retVal___;
@@ -25498,10 +25498,10 @@ void HP_elemental_heal(struct elemental_data *ed, int hp, int sp) {
HPMHooks.source.elemental.heal(ed, hp, sp);
}
if( HPMHooks.count.HP_elemental_heal_post ) {
- void (*postHookFunc) (struct elemental_data *ed, int *hp, int *sp);
+ void (*postHookFunc) (struct elemental_data *ed, int hp, int sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_heal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_heal_post[hIndex].func;
- postHookFunc(ed, &hp, &sp);
+ postHookFunc(ed, hp, sp);
}
}
return;
@@ -25552,10 +25552,10 @@ int HP_elemental_delete(struct elemental_data *ed, int reply) {
retVal___ = HPMHooks.source.elemental.delete(ed, reply);
}
if( HPMHooks.count.HP_elemental_delete_post ) {
- int (*postHookFunc) (int retVal___, struct elemental_data *ed, int *reply);
+ int (*postHookFunc) (int retVal___, struct elemental_data *ed, int reply);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ed, &reply);
+ retVal___ = postHookFunc(retVal___, ed, reply);
}
}
return retVal___;
@@ -25659,10 +25659,10 @@ int HP_elemental_skillnotok(uint16 skill_id, struct elemental_data *ed) {
retVal___ = HPMHooks.source.elemental.skillnotok(skill_id, ed);
}
if( HPMHooks.count.HP_elemental_skillnotok_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, struct elemental_data *ed);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, struct elemental_data *ed);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_skillnotok_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_skillnotok_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, ed);
+ retVal___ = postHookFunc(retVal___, skill_id, ed);
}
}
return retVal___;
@@ -25713,10 +25713,10 @@ int HP_elemental_clean_single_effect(struct elemental_data *ed, uint16 skill_id)
retVal___ = HPMHooks.source.elemental.clean_single_effect(ed, skill_id);
}
if( HPMHooks.count.HP_elemental_clean_single_effect_post ) {
- int (*postHookFunc) (int retVal___, struct elemental_data *ed, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct elemental_data *ed, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_clean_single_effect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_clean_single_effect_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ed, &skill_id);
+ retVal___ = postHookFunc(retVal___, ed, skill_id);
}
}
return retVal___;
@@ -25767,10 +25767,10 @@ int HP_elemental_action(struct elemental_data *ed, struct block_list *bl, int64
retVal___ = HPMHooks.source.elemental.action(ed, bl, tick);
}
if( HPMHooks.count.HP_elemental_action_post ) {
- int (*postHookFunc) (int retVal___, struct elemental_data *ed, struct block_list *bl, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct elemental_data *ed, struct block_list *bl, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_action_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_action_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ed, bl, &tick);
+ retVal___ = postHookFunc(retVal___, ed, bl, tick);
}
}
return retVal___;
@@ -25794,10 +25794,10 @@ struct skill_condition HP_elemental_skill_get_requirements(uint16 skill_id, uint
retVal___ = HPMHooks.source.elemental.skill_get_requirements(skill_id, skill_lv);
}
if( HPMHooks.count.HP_elemental_skill_get_requirements_post ) {
- struct skill_condition (*postHookFunc) (struct skill_condition retVal___, uint16 *skill_id, uint16 *skill_lv);
+ struct skill_condition (*postHookFunc) (struct skill_condition retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_skill_get_requirements_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_skill_get_requirements_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -25900,10 +25900,10 @@ int HP_elemental_search_index(int class_) {
retVal___ = HPMHooks.source.elemental.search_index(class_);
}
if( HPMHooks.count.HP_elemental_search_index_post ) {
- int (*postHookFunc) (int retVal___, int *class_);
+ int (*postHookFunc) (int retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_search_index_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_search_index_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -25953,10 +25953,10 @@ int HP_elemental_summon_end_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.elemental.summon_end_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_elemental_summon_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_elemental_summon_end_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_summon_end_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -26013,10 +26013,10 @@ int HP_elemental_ai_sub_timer(struct elemental_data *ed, struct map_session_data
retVal___ = HPMHooks.source.elemental.ai_sub_timer(ed, sd, tick);
}
if( HPMHooks.count.HP_elemental_ai_sub_timer_post ) {
- int (*postHookFunc) (int retVal___, struct elemental_data *ed, struct map_session_data *sd, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct elemental_data *ed, struct map_session_data *sd, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_ai_sub_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_ai_sub_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ed, sd, &tick);
+ retVal___ = postHookFunc(retVal___, ed, sd, tick);
}
}
return retVal___;
@@ -26073,10 +26073,10 @@ int HP_elemental_ai_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.elemental.ai_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_elemental_ai_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_elemental_ai_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_elemental_ai_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -26127,10 +26127,10 @@ void HP_guild_init(bool minimal) {
HPMHooks.source.guild.init(minimal);
}
if( HPMHooks.count.HP_guild_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -26180,10 +26180,10 @@ int HP_guild_skill_get_max(int id) {
retVal___ = HPMHooks.source.guild.skill_get_max(id);
}
if( HPMHooks.count.HP_guild_skill_get_max_post ) {
- int (*postHookFunc) (int retVal___, int *id);
+ int (*postHookFunc) (int retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_skill_get_max_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_skill_get_max_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -26207,10 +26207,10 @@ int HP_guild_checkskill(struct guild *g, int id) {
retVal___ = HPMHooks.source.guild.checkskill(g, id);
}
if( HPMHooks.count.HP_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_guild_checkskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_checkskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, g, &id);
+ retVal___ = postHookFunc(retVal___, g, id);
}
}
return retVal___;
@@ -26234,10 +26234,10 @@ int HP_guild_check_skill_require(struct guild *g, int id) {
retVal___ = HPMHooks.source.guild.check_skill_require(g, id);
}
if( HPMHooks.count.HP_guild_check_skill_require_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_guild_check_skill_require_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_check_skill_require_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, g, &id);
+ retVal___ = postHookFunc(retVal___, g, id);
}
}
return retVal___;
@@ -26288,10 +26288,10 @@ bool HP_guild_isallied(int guild_id, int guild_id2) {
retVal___ = HPMHooks.source.guild.isallied(guild_id, guild_id2);
}
if( HPMHooks.count.HP_guild_isallied_post ) {
- bool (*postHookFunc) (bool retVal___, int *guild_id, int *guild_id2);
+ bool (*postHookFunc) (bool retVal___, int guild_id, int guild_id2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_isallied_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_isallied_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &guild_id2);
+ retVal___ = postHookFunc(retVal___, guild_id, guild_id2);
}
}
return retVal___;
@@ -26315,10 +26315,10 @@ struct guild* HP_guild_search(int guild_id) {
retVal___ = HPMHooks.source.guild.search(guild_id);
}
if( HPMHooks.count.HP_guild_search_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_guild_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id);
+ retVal___ = postHookFunc(retVal___, guild_id);
}
}
return retVal___;
@@ -26369,10 +26369,10 @@ struct guild_castle* HP_guild_castle_search(int gcid) {
retVal___ = HPMHooks.source.guild.castle_search(gcid);
}
if( HPMHooks.count.HP_guild_castle_search_post ) {
- struct guild_castle* (*postHookFunc) (struct guild_castle* retVal___, int *gcid);
+ struct guild_castle* (*postHookFunc) (struct guild_castle* retVal___, int gcid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_castle_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_castle_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &gcid);
+ retVal___ = postHookFunc(retVal___, gcid);
}
}
return retVal___;
@@ -26423,10 +26423,10 @@ struct guild_castle* HP_guild_mapindex2gc(short map_index) {
retVal___ = HPMHooks.source.guild.mapindex2gc(map_index);
}
if( HPMHooks.count.HP_guild_mapindex2gc_post ) {
- struct guild_castle* (*postHookFunc) (struct guild_castle* retVal___, short *map_index);
+ struct guild_castle* (*postHookFunc) (struct guild_castle* retVal___, short map_index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_mapindex2gc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_mapindex2gc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &map_index);
+ retVal___ = postHookFunc(retVal___, map_index);
}
}
return retVal___;
@@ -26477,10 +26477,10 @@ int HP_guild_getindex(const struct guild *g, int account_id, int char_id) {
retVal___ = HPMHooks.source.guild.getindex(g, account_id, char_id);
}
if( HPMHooks.count.HP_guild_getindex_post ) {
- int (*postHookFunc) (int retVal___, const struct guild *g, int *account_id, int *char_id);
+ int (*postHookFunc) (int retVal___, const struct guild *g, int account_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_getindex_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_getindex_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, g, &account_id, &char_id);
+ retVal___ = postHookFunc(retVal___, g, account_id, char_id);
}
}
return retVal___;
@@ -26531,10 +26531,10 @@ unsigned int HP_guild_payexp(struct map_session_data *sd, unsigned int exp) {
retVal___ = HPMHooks.source.guild.payexp(sd, exp);
}
if( HPMHooks.count.HP_guild_payexp_post ) {
- unsigned int (*postHookFunc) (unsigned int retVal___, struct map_session_data *sd, unsigned int *exp);
+ unsigned int (*postHookFunc) (unsigned int retVal___, struct map_session_data *sd, unsigned int exp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_payexp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_payexp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &exp);
+ retVal___ = postHookFunc(retVal___, sd, exp);
}
}
return retVal___;
@@ -26558,10 +26558,10 @@ int HP_guild_getexp(struct map_session_data *sd, int exp) {
retVal___ = HPMHooks.source.guild.getexp(sd, exp);
}
if( HPMHooks.count.HP_guild_getexp_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *exp);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int exp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_getexp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_getexp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &exp);
+ retVal___ = postHookFunc(retVal___, sd, exp);
}
}
return retVal___;
@@ -26612,10 +26612,10 @@ int HP_guild_created(int account_id, int guild_id) {
retVal___ = HPMHooks.source.guild.created(account_id, guild_id);
}
if( HPMHooks.count.HP_guild_created_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, int *guild_id);
+ int (*postHookFunc) (int retVal___, int account_id, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_created_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_created_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &guild_id);
+ retVal___ = postHookFunc(retVal___, account_id, guild_id);
}
}
return retVal___;
@@ -26639,10 +26639,10 @@ int HP_guild_request_info(int guild_id) {
retVal___ = HPMHooks.source.guild.request_info(guild_id);
}
if( HPMHooks.count.HP_guild_request_info_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id);
+ int (*postHookFunc) (int retVal___, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_request_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_request_info_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id);
+ retVal___ = postHookFunc(retVal___, guild_id);
}
}
return retVal___;
@@ -26666,10 +26666,10 @@ int HP_guild_recv_noinfo(int guild_id) {
retVal___ = HPMHooks.source.guild.recv_noinfo(guild_id);
}
if( HPMHooks.count.HP_guild_recv_noinfo_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id);
+ int (*postHookFunc) (int retVal___, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_recv_noinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_recv_noinfo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id);
+ retVal___ = postHookFunc(retVal___, guild_id);
}
}
return retVal___;
@@ -26720,10 +26720,10 @@ int HP_guild_npc_request_info(int guild_id, const char *ev) {
retVal___ = HPMHooks.source.guild.npc_request_info(guild_id, ev);
}
if( HPMHooks.count.HP_guild_npc_request_info_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, const char *ev);
+ int (*postHookFunc) (int retVal___, int guild_id, const char *ev);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_npc_request_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_npc_request_info_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, ev);
+ retVal___ = postHookFunc(retVal___, guild_id, ev);
}
}
return retVal___;
@@ -26774,10 +26774,10 @@ int HP_guild_reply_invite(struct map_session_data *sd, int guild_id, int flag) {
retVal___ = HPMHooks.source.guild.reply_invite(sd, guild_id, flag);
}
if( HPMHooks.count.HP_guild_reply_invite_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *guild_id, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int guild_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_reply_invite_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_reply_invite_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &guild_id, &flag);
+ retVal___ = postHookFunc(retVal___, sd, guild_id, flag);
}
}
return retVal___;
@@ -26827,10 +26827,10 @@ int HP_guild_member_added(int guild_id, int account_id, int char_id, int flag) {
retVal___ = HPMHooks.source.guild.member_added(guild_id, account_id, char_id, flag);
}
if( HPMHooks.count.HP_guild_member_added_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, int *flag);
+ int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_member_added_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_member_added_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, &flag);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, flag);
}
}
return retVal___;
@@ -26854,10 +26854,10 @@ int HP_guild_leave(struct map_session_data *sd, int guild_id, int account_id, in
retVal___ = HPMHooks.source.guild.leave(sd, guild_id, account_id, char_id, mes);
}
if( HPMHooks.count.HP_guild_leave_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *guild_id, int *account_id, int *char_id, const char *mes);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int guild_id, int account_id, int char_id, const char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_leave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_leave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &guild_id, &account_id, &char_id, mes);
+ retVal___ = postHookFunc(retVal___, sd, guild_id, account_id, char_id, mes);
}
}
return retVal___;
@@ -26881,10 +26881,10 @@ int HP_guild_member_withdraw(int guild_id, int account_id, int char_id, int flag
retVal___ = HPMHooks.source.guild.member_withdraw(guild_id, account_id, char_id, flag, name, mes);
}
if( HPMHooks.count.HP_guild_member_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_guild_member_withdraw_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_member_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___;
@@ -26908,10 +26908,10 @@ int HP_guild_expulsion(struct map_session_data *sd, int guild_id, int account_id
retVal___ = HPMHooks.source.guild.expulsion(sd, guild_id, account_id, char_id, mes);
}
if( HPMHooks.count.HP_guild_expulsion_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *guild_id, int *account_id, int *char_id, const char *mes);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int guild_id, int account_id, int char_id, const char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_expulsion_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_expulsion_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &guild_id, &account_id, &char_id, mes);
+ retVal___ = postHookFunc(retVal___, sd, guild_id, account_id, char_id, mes);
}
}
return retVal___;
@@ -26935,10 +26935,10 @@ int HP_guild_skillup(struct map_session_data *sd, uint16 skill_id) {
retVal___ = HPMHooks.source.guild.skillup(sd, skill_id);
}
if( HPMHooks.count.HP_guild_skillup_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_skillup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_skillup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -26961,10 +26961,10 @@ void HP_guild_block_skill(struct map_session_data *sd, int time) {
HPMHooks.source.guild.block_skill(sd, time);
}
if( HPMHooks.count.HP_guild_block_skill_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *time);
+ void (*postHookFunc) (struct map_session_data *sd, int time);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_block_skill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_block_skill_post[hIndex].func;
- postHookFunc(sd, &time);
+ postHookFunc(sd, time);
}
}
return;
@@ -27015,10 +27015,10 @@ int HP_guild_reply_reqalliance(struct map_session_data *sd, int account_id, int
retVal___ = HPMHooks.source.guild.reply_reqalliance(sd, account_id, flag);
}
if( HPMHooks.count.HP_guild_reply_reqalliance_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *account_id, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int account_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_reply_reqalliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_reply_reqalliance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &account_id, &flag);
+ retVal___ = postHookFunc(retVal___, sd, account_id, flag);
}
}
return retVal___;
@@ -27042,10 +27042,10 @@ int HP_guild_allianceack(int guild_id1, int guild_id2, int account_id1, int acco
retVal___ = HPMHooks.source.guild.allianceack(guild_id1, guild_id2, account_id1, account_id2, flag, name1, name2);
}
if( HPMHooks.count.HP_guild_allianceack_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_guild_allianceack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_allianceack_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___;
@@ -27069,10 +27069,10 @@ int HP_guild_delalliance(struct map_session_data *sd, int guild_id, int flag) {
retVal___ = HPMHooks.source.guild.delalliance(sd, guild_id, flag);
}
if( HPMHooks.count.HP_guild_delalliance_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *guild_id, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int guild_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_delalliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_delalliance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &guild_id, &flag);
+ retVal___ = postHookFunc(retVal___, sd, guild_id, flag);
}
}
return retVal___;
@@ -27123,10 +27123,10 @@ int HP_guild_check_alliance(int guild_id1, int guild_id2, int flag) {
retVal___ = HPMHooks.source.guild.check_alliance(guild_id1, guild_id2, flag);
}
if( HPMHooks.count.HP_guild_check_alliance_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id1, int *guild_id2, int *flag);
+ int (*postHookFunc) (int retVal___, int guild_id1, int guild_id2, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_check_alliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_check_alliance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id1, &guild_id2, &flag);
+ retVal___ = postHookFunc(retVal___, guild_id1, guild_id2, flag);
}
}
return retVal___;
@@ -27150,10 +27150,10 @@ int HP_guild_send_memberinfoshort(struct map_session_data *sd, int online) {
retVal___ = HPMHooks.source.guild.send_memberinfoshort(sd, online);
}
if( HPMHooks.count.HP_guild_send_memberinfoshort_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *online);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int online);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_send_memberinfoshort_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_send_memberinfoshort_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &online);
+ retVal___ = postHookFunc(retVal___, sd, online);
}
}
return retVal___;
@@ -27177,10 +27177,10 @@ int HP_guild_recv_memberinfoshort(int guild_id, int account_id, int char_id, int
retVal___ = HPMHooks.source.guild.recv_memberinfoshort(guild_id, account_id, char_id, online, lv, class_);
}
if( HPMHooks.count.HP_guild_recv_memberinfoshort_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
+ int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, int online, int lv, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_recv_memberinfoshort_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_recv_memberinfoshort_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, &online, &lv, &class_);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, online, lv, class_);
}
}
return retVal___;
@@ -27204,10 +27204,10 @@ int HP_guild_change_memberposition(int guild_id, int account_id, int char_id, sh
retVal___ = HPMHooks.source.guild.change_memberposition(guild_id, account_id, char_id, idx);
}
if( HPMHooks.count.HP_guild_change_memberposition_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, short *idx);
+ int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, short idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_change_memberposition_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_change_memberposition_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, &idx);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, idx);
}
}
return retVal___;
@@ -27231,10 +27231,10 @@ int HP_guild_memberposition_changed(struct guild *g, int idx, int pos) {
retVal___ = HPMHooks.source.guild.memberposition_changed(g, idx, pos);
}
if( HPMHooks.count.HP_guild_memberposition_changed_post ) {
- int (*postHookFunc) (int retVal___, struct guild *g, int *idx, int *pos);
+ int (*postHookFunc) (int retVal___, struct guild *g, int idx, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_memberposition_changed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_memberposition_changed_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, g, &idx, &pos);
+ retVal___ = postHookFunc(retVal___, g, idx, pos);
}
}
return retVal___;
@@ -27258,10 +27258,10 @@ int HP_guild_change_position(int guild_id, int idx, int mode, int exp_mode, cons
retVal___ = HPMHooks.source.guild.change_position(guild_id, idx, mode, exp_mode, name);
}
if( HPMHooks.count.HP_guild_change_position_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *idx, int *mode, int *exp_mode, const char *name);
+ int (*postHookFunc) (int retVal___, int guild_id, int idx, int mode, int exp_mode, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_change_position_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_change_position_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &idx, &mode, &exp_mode, name);
+ retVal___ = postHookFunc(retVal___, guild_id, idx, mode, exp_mode, name);
}
}
return retVal___;
@@ -27285,10 +27285,10 @@ int HP_guild_position_changed(int guild_id, int idx, const struct guild_position
retVal___ = HPMHooks.source.guild.position_changed(guild_id, idx, p);
}
if( HPMHooks.count.HP_guild_position_changed_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *idx, const struct guild_position *p);
+ int (*postHookFunc) (int retVal___, int guild_id, int idx, const struct guild_position *p);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_position_changed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_position_changed_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &idx, p);
+ retVal___ = postHookFunc(retVal___, guild_id, idx, p);
}
}
return retVal___;
@@ -27312,10 +27312,10 @@ int HP_guild_change_notice(struct map_session_data *sd, int guild_id, const char
retVal___ = HPMHooks.source.guild.change_notice(sd, guild_id, mes1, mes2);
}
if( HPMHooks.count.HP_guild_change_notice_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *guild_id, const char *mes1, const char *mes2);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int guild_id, const char *mes1, const char *mes2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_change_notice_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_change_notice_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &guild_id, mes1, mes2);
+ retVal___ = postHookFunc(retVal___, sd, guild_id, mes1, mes2);
}
}
return retVal___;
@@ -27339,10 +27339,10 @@ int HP_guild_notice_changed(int guild_id, const char *mes1, const char *mes2) {
retVal___ = HPMHooks.source.guild.notice_changed(guild_id, mes1, mes2);
}
if( HPMHooks.count.HP_guild_notice_changed_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, const char *mes1, const char *mes2);
+ int (*postHookFunc) (int retVal___, int guild_id, const char *mes1, const char *mes2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_notice_changed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_notice_changed_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, mes1, mes2);
+ retVal___ = postHookFunc(retVal___, guild_id, mes1, mes2);
}
}
return retVal___;
@@ -27366,10 +27366,10 @@ int HP_guild_change_emblem(struct map_session_data *sd, int len, const char *dat
retVal___ = HPMHooks.source.guild.change_emblem(sd, len, data);
}
if( HPMHooks.count.HP_guild_change_emblem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *len, const char *data);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int len, const char *data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_change_emblem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_change_emblem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &len, data);
+ retVal___ = postHookFunc(retVal___, sd, len, data);
}
}
return retVal___;
@@ -27393,10 +27393,10 @@ int HP_guild_emblem_changed(int len, int guild_id, int emblem_id, const char *da
retVal___ = HPMHooks.source.guild.emblem_changed(len, guild_id, emblem_id, data);
}
if( HPMHooks.count.HP_guild_emblem_changed_post ) {
- int (*postHookFunc) (int retVal___, int *len, int *guild_id, int *emblem_id, const char *data);
+ int (*postHookFunc) (int retVal___, int len, int guild_id, int emblem_id, const char *data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_emblem_changed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_emblem_changed_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &len, &guild_id, &emblem_id, data);
+ retVal___ = postHookFunc(retVal___, len, guild_id, emblem_id, data);
}
}
return retVal___;
@@ -27447,10 +27447,10 @@ int HP_guild_recv_message(int guild_id, int account_id, const char *mes, int len
retVal___ = HPMHooks.source.guild.recv_message(guild_id, account_id, mes, len);
}
if( HPMHooks.count.HP_guild_recv_message_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, const char *mes, int *len);
+ int (*postHookFunc) (int retVal___, int guild_id, int account_id, const char *mes, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_recv_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_recv_message_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, mes, &len);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, mes, len);
}
}
return retVal___;
@@ -27501,10 +27501,10 @@ int HP_guild_skillupack(int guild_id, uint16 skill_id, int account_id) {
retVal___ = HPMHooks.source.guild.skillupack(guild_id, skill_id, account_id);
}
if( HPMHooks.count.HP_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_guild_skillupack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_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___;
@@ -27555,10 +27555,10 @@ int HP_guild_broken(int guild_id, int flag) {
retVal___ = HPMHooks.source.guild.broken(guild_id, flag);
}
if( HPMHooks.count.HP_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_guild_broken_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_broken_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &flag);
+ retVal___ = postHookFunc(retVal___, guild_id, flag);
}
}
return retVal___;
@@ -27582,10 +27582,10 @@ int HP_guild_gm_change(int guild_id, struct map_session_data *sd) {
retVal___ = HPMHooks.source.guild.gm_change(guild_id, sd);
}
if( HPMHooks.count.HP_guild_gm_change_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, struct map_session_data *sd);
+ int (*postHookFunc) (int retVal___, int guild_id, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_gm_change_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_gm_change_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, sd);
+ retVal___ = postHookFunc(retVal___, guild_id, sd);
}
}
return retVal___;
@@ -27609,10 +27609,10 @@ int HP_guild_gm_changed(int guild_id, int account_id, int char_id) {
retVal___ = HPMHooks.source.guild.gm_changed(guild_id, account_id, char_id);
}
if( HPMHooks.count.HP_guild_gm_changed_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_guild_gm_changed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_gm_changed_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id);
}
}
return retVal___;
@@ -27662,10 +27662,10 @@ int HP_guild_castledatasave(int castle_id, int index, int value) {
retVal___ = HPMHooks.source.guild.castledatasave(castle_id, index, value);
}
if( HPMHooks.count.HP_guild_castledatasave_post ) {
- int (*postHookFunc) (int retVal___, int *castle_id, int *index, int *value);
+ int (*postHookFunc) (int retVal___, int castle_id, int index, int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_castledatasave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_castledatasave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &castle_id, &index, &value);
+ retVal___ = postHookFunc(retVal___, castle_id, index, value);
}
}
return retVal___;
@@ -27689,10 +27689,10 @@ int HP_guild_castledataloadack(int len, const struct guild_castle *gc) {
retVal___ = HPMHooks.source.guild.castledataloadack(len, gc);
}
if( HPMHooks.count.HP_guild_castledataloadack_post ) {
- int (*postHookFunc) (int retVal___, int *len, const struct guild_castle *gc);
+ int (*postHookFunc) (int retVal___, int len, const struct guild_castle *gc);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_castledataloadack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_castledataloadack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &len, gc);
+ retVal___ = postHookFunc(retVal___, len, gc);
}
}
return retVal___;
@@ -27715,10 +27715,10 @@ void HP_guild_castle_reconnect(int castle_id, int index, int value) {
HPMHooks.source.guild.castle_reconnect(castle_id, index, value);
}
if( HPMHooks.count.HP_guild_castle_reconnect_post ) {
- void (*postHookFunc) (int *castle_id, int *index, int *value);
+ void (*postHookFunc) (int castle_id, int index, int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_castle_reconnect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_castle_reconnect_post[hIndex].func;
- postHookFunc(&castle_id, &index, &value);
+ postHookFunc(castle_id, index, value);
}
}
return;
@@ -27923,10 +27923,10 @@ void HP_guild_aura_refresh(struct map_session_data *sd, uint16 skill_id, uint16
HPMHooks.source.guild.aura_refresh(sd, skill_id, skill_lv);
}
if( HPMHooks.count.HP_guild_aura_refresh_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_aura_refresh_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_aura_refresh_post[hIndex].func;
- postHookFunc(sd, &skill_id, &skill_lv);
+ postHookFunc(sd, skill_id, skill_lv);
}
}
return;
@@ -27949,10 +27949,10 @@ void HP_guild_retrieveitembound(int char_id, int aid, int guild_id) {
HPMHooks.source.guild.retrieveitembound(char_id, aid, guild_id);
}
if( HPMHooks.count.HP_guild_retrieveitembound_post ) {
- void (*postHookFunc) (int *char_id, int *aid, int *guild_id);
+ void (*postHookFunc) (int char_id, int aid, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_retrieveitembound_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_retrieveitembound_post[hIndex].func;
- postHookFunc(&char_id, &aid, &guild_id);
+ postHookFunc(char_id, aid, guild_id);
}
}
return;
@@ -27976,10 +27976,10 @@ int HP_guild_payexp_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.guild.payexp_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_guild_payexp_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_guild_payexp_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_payexp_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -28003,10 +28003,10 @@ struct map_session_data* HP_guild_sd_check(int guild_id, int account_id, int cha
retVal___ = HPMHooks.source.guild.sd_check(guild_id, account_id, char_id);
}
if( HPMHooks.count.HP_guild_sd_check_post ) {
- struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, int *guild_id, int *account_id, int *char_id);
+ struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, int guild_id, int account_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_sd_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_sd_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id);
}
}
return retVal___;
@@ -28030,10 +28030,10 @@ bool HP_guild_read_guildskill_tree_db(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.guild.read_guildskill_tree_db(split, columns, current);
}
if( HPMHooks.count.HP_guild_read_guildskill_tree_db_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_read_guildskill_tree_db_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_read_guildskill_tree_db_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -28057,10 +28057,10 @@ bool HP_guild_read_castledb(char *str[], int columns, int current) {
retVal___ = HPMHooks.source.guild.read_castledb(str, columns, current);
}
if( HPMHooks.count.HP_guild_read_castledb_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *str[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_read_castledb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_read_castledb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
+ retVal___ = postHookFunc(retVal___, str, columns, current);
}
}
return retVal___;
@@ -28088,11 +28088,11 @@ int HP_guild_payexp_timer_sub(union DBKey key, struct DBData *data, va_list ap)
va_end(ap___copy);
}
if( HPMHooks.count.HP_guild_payexp_timer_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_guild_payexp_timer_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_guild_payexp_timer_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -28121,11 +28121,11 @@ int HP_guild_send_xy_timer_sub(union DBKey key, struct DBData *data, va_list ap)
va_end(ap___copy);
}
if( HPMHooks.count.HP_guild_send_xy_timer_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_guild_send_xy_timer_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_guild_send_xy_timer_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -28150,10 +28150,10 @@ int HP_guild_send_xy_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.guild.send_xy_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_guild_send_xy_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_guild_send_xy_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_send_xy_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -28181,11 +28181,11 @@ struct DBData HP_guild_create_expcache(union DBKey key, va_list args) {
va_end(args___copy);
}
if( HPMHooks.count.HP_guild_create_expcache_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_guild_create_expcache_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_guild_create_expcache_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, args___copy);
+ retVal___ = postHookFunc(retVal___, key, args___copy);
va_end(args___copy);
}
}
@@ -28214,11 +28214,11 @@ int HP_guild_eventlist_db_final(union DBKey key, struct DBData *data, va_list ap
va_end(ap___copy);
}
if( HPMHooks.count.HP_guild_eventlist_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_guild_eventlist_db_final_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_guild_eventlist_db_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -28247,11 +28247,11 @@ int HP_guild_expcache_db_final(union DBKey key, struct DBData *data, va_list ap)
va_end(ap___copy);
}
if( HPMHooks.count.HP_guild_expcache_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_guild_expcache_db_final_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_guild_expcache_db_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -28280,11 +28280,11 @@ int HP_guild_castle_db_final(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_guild_castle_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_guild_castle_db_final_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_guild_castle_db_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -28313,11 +28313,11 @@ int HP_guild_broken_sub(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_guild_broken_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_guild_broken_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_guild_broken_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -28346,11 +28346,11 @@ int HP_guild_castle_broken_sub(union DBKey key, struct DBData *data, va_list ap)
va_end(ap___copy);
}
if( HPMHooks.count.HP_guild_castle_broken_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_guild_castle_broken_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_guild_castle_broken_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -28428,10 +28428,10 @@ int HP_guild_get_alliance_count(struct guild *g, int flag) {
retVal___ = HPMHooks.source.guild.get_alliance_count(g, flag);
}
if( HPMHooks.count.HP_guild_get_alliance_count_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_guild_get_alliance_count_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_guild_get_alliance_count_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, g, &flag);
+ retVal___ = postHookFunc(retVal___, g, flag);
}
}
return retVal___;
@@ -28488,10 +28488,10 @@ struct guild_storage* HP_gstorage_ensure(int guild_id) {
retVal___ = HPMHooks.source.gstorage.ensure(guild_id);
}
if( HPMHooks.count.HP_gstorage_ensure_post ) {
- struct guild_storage* (*postHookFunc) (struct guild_storage* retVal___, int *guild_id);
+ struct guild_storage* (*postHookFunc) (struct guild_storage* retVal___, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_ensure_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_ensure_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id);
+ retVal___ = postHookFunc(retVal___, guild_id);
}
}
return retVal___;
@@ -28514,10 +28514,10 @@ void HP_gstorage_init(bool minimal) {
HPMHooks.source.gstorage.init(minimal);
}
if( HPMHooks.count.HP_gstorage_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -28567,10 +28567,10 @@ int HP_gstorage_delete(int guild_id) {
retVal___ = HPMHooks.source.gstorage.delete(guild_id);
}
if( HPMHooks.count.HP_gstorage_delete_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id);
+ int (*postHookFunc) (int retVal___, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id);
+ retVal___ = postHookFunc(retVal___, guild_id);
}
}
return retVal___;
@@ -28621,10 +28621,10 @@ int HP_gstorage_additem(struct map_session_data *sd, struct guild_storage *stor,
retVal___ = HPMHooks.source.gstorage.additem(sd, stor, item_data, amount);
}
if( HPMHooks.count.HP_gstorage_additem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct guild_storage *stor, struct item *item_data, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct guild_storage *stor, struct item *item_data, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_additem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_additem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, stor, item_data, &amount);
+ retVal___ = postHookFunc(retVal___, sd, stor, item_data, amount);
}
}
return retVal___;
@@ -28648,10 +28648,10 @@ int HP_gstorage_delitem(struct map_session_data *sd, struct guild_storage *stor,
retVal___ = HPMHooks.source.gstorage.delitem(sd, stor, n, amount);
}
if( HPMHooks.count.HP_gstorage_delitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct guild_storage *stor, int *n, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct guild_storage *stor, int n, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_delitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_delitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, stor, &n, &amount);
+ retVal___ = postHookFunc(retVal___, sd, stor, n, amount);
}
}
return retVal___;
@@ -28675,10 +28675,10 @@ int HP_gstorage_add(struct map_session_data *sd, int index, int amount) {
retVal___ = HPMHooks.source.gstorage.add(sd, index, amount);
}
if( HPMHooks.count.HP_gstorage_add_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_add_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index, &amount);
+ retVal___ = postHookFunc(retVal___, sd, index, amount);
}
}
return retVal___;
@@ -28702,10 +28702,10 @@ int HP_gstorage_get(struct map_session_data *sd, int index, int amount) {
retVal___ = HPMHooks.source.gstorage.get(sd, index, amount);
}
if( HPMHooks.count.HP_gstorage_get_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_get_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_get_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index, &amount);
+ retVal___ = postHookFunc(retVal___, sd, index, amount);
}
}
return retVal___;
@@ -28729,10 +28729,10 @@ int HP_gstorage_addfromcart(struct map_session_data *sd, int index, int amount)
retVal___ = HPMHooks.source.gstorage.addfromcart(sd, index, amount);
}
if( HPMHooks.count.HP_gstorage_addfromcart_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_addfromcart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_addfromcart_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index, &amount);
+ retVal___ = postHookFunc(retVal___, sd, index, amount);
}
}
return retVal___;
@@ -28756,10 +28756,10 @@ int HP_gstorage_gettocart(struct map_session_data *sd, int index, int amount) {
retVal___ = HPMHooks.source.gstorage.gettocart(sd, index, amount);
}
if( HPMHooks.count.HP_gstorage_gettocart_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_gettocart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_gettocart_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index, &amount);
+ retVal___ = postHookFunc(retVal___, sd, index, amount);
}
}
return retVal___;
@@ -28810,10 +28810,10 @@ int HP_gstorage_pc_quit(struct map_session_data *sd, int flag) {
retVal___ = HPMHooks.source.gstorage.pc_quit(sd, flag);
}
if( HPMHooks.count.HP_gstorage_pc_quit_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_pc_quit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_pc_quit_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &flag);
+ retVal___ = postHookFunc(retVal___, sd, flag);
}
}
return retVal___;
@@ -28837,10 +28837,10 @@ int HP_gstorage_save(int account_id, int guild_id, int flag) {
retVal___ = HPMHooks.source.gstorage.save(account_id, guild_id, flag);
}
if( HPMHooks.count.HP_gstorage_save_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, int *guild_id, int *flag);
+ int (*postHookFunc) (int retVal___, int account_id, int guild_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_save_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_save_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &guild_id, &flag);
+ retVal___ = postHookFunc(retVal___, account_id, guild_id, flag);
}
}
return retVal___;
@@ -28864,10 +28864,10 @@ int HP_gstorage_saved(int guild_id) {
retVal___ = HPMHooks.source.gstorage.saved(guild_id);
}
if( HPMHooks.count.HP_gstorage_saved_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id);
+ int (*postHookFunc) (int retVal___, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_saved_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_gstorage_saved_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id);
+ retVal___ = postHookFunc(retVal___, guild_id);
}
}
return retVal___;
@@ -28895,11 +28895,11 @@ struct DBData HP_gstorage_create(union DBKey key, va_list args) {
va_end(args___copy);
}
if( HPMHooks.count.HP_gstorage_create_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_gstorage_create_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_gstorage_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, args___copy);
+ retVal___ = postHookFunc(retVal___, key, args___copy);
va_end(args___copy);
}
}
@@ -28924,10 +28924,10 @@ void HP_homun_init(bool minimal) {
HPMHooks.source.homun.init(minimal);
}
if( HPMHooks.count.HP_homun_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -29029,10 +29029,10 @@ struct view_data* HP_homun_get_viewdata(int class_) {
retVal___ = HPMHooks.source.homun.get_viewdata(class_);
}
if( HPMHooks.count.HP_homun_get_viewdata_post ) {
- struct view_data* (*postHookFunc) (struct view_data* retVal___, int *class_);
+ struct view_data* (*postHookFunc) (struct view_data* retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_get_viewdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_get_viewdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -29056,10 +29056,10 @@ enum homun_type HP_homun_class2type(int class_) {
retVal___ = HPMHooks.source.homun.class2type(class_);
}
if( HPMHooks.count.HP_homun_class2type_post ) {
- enum homun_type (*postHookFunc) (enum homun_type retVal___, int *class_);
+ enum homun_type (*postHookFunc) (enum homun_type retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_class2type_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_class2type_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -29136,10 +29136,10 @@ int HP_homun_vaporize(struct map_session_data *sd, enum homun_state flag) {
retVal___ = HPMHooks.source.homun.vaporize(sd, flag);
}
if( HPMHooks.count.HP_homun_vaporize_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, enum homun_state *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, enum homun_state flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_vaporize_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_vaporize_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &flag);
+ retVal___ = postHookFunc(retVal___, sd, flag);
}
}
return retVal___;
@@ -29163,10 +29163,10 @@ int HP_homun_delete(struct homun_data *hd, int emote) {
retVal___ = HPMHooks.source.homun.delete(hd, emote);
}
if( HPMHooks.count.HP_homun_delete_post ) {
- int (*postHookFunc) (int retVal___, struct homun_data *hd, int *emote);
+ int (*postHookFunc) (int retVal___, struct homun_data *hd, int emote);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &emote);
+ retVal___ = postHookFunc(retVal___, hd, emote);
}
}
return retVal___;
@@ -29190,10 +29190,10 @@ int HP_homun_checkskill(struct homun_data *hd, uint16 skill_id) {
retVal___ = HPMHooks.source.homun.checkskill(hd, skill_id);
}
if( HPMHooks.count.HP_homun_checkskill_post ) {
- int (*postHookFunc) (int retVal___, struct homun_data *hd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct homun_data *hd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_checkskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_checkskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &skill_id);
+ retVal___ = postHookFunc(retVal___, hd, skill_id);
}
}
return retVal___;
@@ -29217,10 +29217,10 @@ int HP_homun_calc_skilltree(struct homun_data *hd, int flag_evolve) {
retVal___ = HPMHooks.source.homun.calc_skilltree(hd, flag_evolve);
}
if( HPMHooks.count.HP_homun_calc_skilltree_post ) {
- int (*postHookFunc) (int retVal___, struct homun_data *hd, int *flag_evolve);
+ int (*postHookFunc) (int retVal___, struct homun_data *hd, int flag_evolve);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_calc_skilltree_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_calc_skilltree_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &flag_evolve);
+ retVal___ = postHookFunc(retVal___, hd, flag_evolve);
}
}
return retVal___;
@@ -29244,10 +29244,10 @@ int HP_homun_skill_tree_get_max(int id, int b_class) {
retVal___ = HPMHooks.source.homun.skill_tree_get_max(id, b_class);
}
if( HPMHooks.count.HP_homun_skill_tree_get_max_post ) {
- int (*postHookFunc) (int retVal___, int *id, int *b_class);
+ int (*postHookFunc) (int retVal___, int id, int b_class);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_skill_tree_get_max_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_skill_tree_get_max_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id, &b_class);
+ retVal___ = postHookFunc(retVal___, id, b_class);
}
}
return retVal___;
@@ -29270,10 +29270,10 @@ void HP_homun_skillup(struct homun_data *hd, uint16 skill_id) {
HPMHooks.source.homun.skillup(hd, skill_id);
}
if( HPMHooks.count.HP_homun_skillup_post ) {
- void (*postHookFunc) (struct homun_data *hd, uint16 *skill_id);
+ void (*postHookFunc) (struct homun_data *hd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_skillup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_skillup_post[hIndex].func;
- postHookFunc(hd, &skill_id);
+ postHookFunc(hd, skill_id);
}
}
return;
@@ -29324,10 +29324,10 @@ int HP_homun_change_class(struct homun_data *hd, short class_) {
retVal___ = HPMHooks.source.homun.change_class(hd, class_);
}
if( HPMHooks.count.HP_homun_change_class_post ) {
- int (*postHookFunc) (int retVal___, struct homun_data *hd, short *class_);
+ int (*postHookFunc) (int retVal___, struct homun_data *hd, short class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_change_class_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_change_class_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &class_);
+ retVal___ = postHookFunc(retVal___, hd, class_);
}
}
return retVal___;
@@ -29378,10 +29378,10 @@ bool HP_homun_mutate(struct homun_data *hd, int homun_id) {
retVal___ = HPMHooks.source.homun.mutate(hd, homun_id);
}
if( HPMHooks.count.HP_homun_mutate_post ) {
- bool (*postHookFunc) (bool retVal___, struct homun_data *hd, int *homun_id);
+ bool (*postHookFunc) (bool retVal___, struct homun_data *hd, int homun_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_mutate_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_mutate_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &homun_id);
+ retVal___ = postHookFunc(retVal___, hd, homun_id);
}
}
return retVal___;
@@ -29405,10 +29405,10 @@ int HP_homun_gainexp(struct homun_data *hd, unsigned int exp) {
retVal___ = HPMHooks.source.homun.gainexp(hd, exp);
}
if( HPMHooks.count.HP_homun_gainexp_post ) {
- int (*postHookFunc) (int retVal___, struct homun_data *hd, unsigned int *exp);
+ int (*postHookFunc) (int retVal___, struct homun_data *hd, unsigned int exp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_gainexp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_gainexp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &exp);
+ retVal___ = postHookFunc(retVal___, hd, exp);
}
}
return retVal___;
@@ -29432,10 +29432,10 @@ unsigned int HP_homun_add_intimacy(struct homun_data *hd, unsigned int value) {
retVal___ = HPMHooks.source.homun.add_intimacy(hd, value);
}
if( HPMHooks.count.HP_homun_add_intimacy_post ) {
- unsigned int (*postHookFunc) (unsigned int retVal___, struct homun_data *hd, unsigned int *value);
+ unsigned int (*postHookFunc) (unsigned int retVal___, struct homun_data *hd, unsigned int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_add_intimacy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_add_intimacy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &value);
+ retVal___ = postHookFunc(retVal___, hd, value);
}
}
return retVal___;
@@ -29459,10 +29459,10 @@ unsigned int HP_homun_consume_intimacy(struct homun_data *hd, unsigned int value
retVal___ = HPMHooks.source.homun.consume_intimacy(hd, value);
}
if( HPMHooks.count.HP_homun_consume_intimacy_post ) {
- unsigned int (*postHookFunc) (unsigned int retVal___, struct homun_data *hd, unsigned int *value);
+ unsigned int (*postHookFunc) (unsigned int retVal___, struct homun_data *hd, unsigned int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_consume_intimacy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_consume_intimacy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &value);
+ retVal___ = postHookFunc(retVal___, hd, value);
}
}
return retVal___;
@@ -29538,10 +29538,10 @@ unsigned char HP_homun_menu(struct map_session_data *sd, unsigned char menu_num)
retVal___ = HPMHooks.source.homun.menu(sd, menu_num);
}
if( HPMHooks.count.HP_homun_menu_post ) {
- unsigned char (*postHookFunc) (unsigned char retVal___, struct map_session_data *sd, unsigned char *menu_num);
+ unsigned char (*postHookFunc) (unsigned char retVal___, struct map_session_data *sd, unsigned char menu_num);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_menu_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_menu_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &menu_num);
+ retVal___ = postHookFunc(retVal___, sd, menu_num);
}
}
return retVal___;
@@ -29592,10 +29592,10 @@ int HP_homun_hunger_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.homun.hunger_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_homun_hunger_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_homun_hunger_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_hunger_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -29672,10 +29672,10 @@ bool HP_homun_change_name_ack(struct map_session_data *sd, const char *name, int
retVal___ = HPMHooks.source.homun.change_name_ack(sd, name, flag);
}
if( HPMHooks.count.HP_homun_change_name_ack_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const char *name, int *flag);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, const char *name, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_change_name_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_change_name_ack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, name, &flag);
+ retVal___ = postHookFunc(retVal___, sd, name, flag);
}
}
return retVal___;
@@ -29699,10 +29699,10 @@ int HP_homun_db_search(int key, int type) {
retVal___ = HPMHooks.source.homun.db_search(key, type);
}
if( HPMHooks.count.HP_homun_db_search_post ) {
- int (*postHookFunc) (int retVal___, int *key, int *type);
+ int (*postHookFunc) (int retVal___, int key, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_db_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_db_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, &type);
+ retVal___ = postHookFunc(retVal___, key, type);
}
}
return retVal___;
@@ -29806,10 +29806,10 @@ bool HP_homun_recv_data(int account_id, const struct s_homunculus *sh, int flag)
retVal___ = HPMHooks.source.homun.recv_data(account_id, sh, flag);
}
if( HPMHooks.count.HP_homun_recv_data_post ) {
- bool (*postHookFunc) (bool retVal___, int *account_id, const struct s_homunculus *sh, int *flag);
+ bool (*postHookFunc) (bool retVal___, int account_id, const struct s_homunculus *sh, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_recv_data_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_recv_data_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, sh, &flag);
+ retVal___ = postHookFunc(retVal___, account_id, sh, flag);
}
}
return retVal___;
@@ -29833,10 +29833,10 @@ bool HP_homun_creation_request(struct map_session_data *sd, int class_) {
retVal___ = HPMHooks.source.homun.creation_request(sd, class_);
}
if( HPMHooks.count.HP_homun_creation_request_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *class_);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_creation_request_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_creation_request_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &class_);
+ retVal___ = postHookFunc(retVal___, sd, class_);
}
}
return retVal___;
@@ -29860,10 +29860,10 @@ bool HP_homun_ressurect(struct map_session_data *sd, unsigned char per, short x,
retVal___ = HPMHooks.source.homun.ressurect(sd, per, x, y);
}
if( HPMHooks.count.HP_homun_ressurect_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned char *per, short *x, short *y);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned char per, short x, short y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_ressurect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_ressurect_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &per, &x, &y);
+ retVal___ = postHookFunc(retVal___, sd, per, x, y);
}
}
return retVal___;
@@ -29886,10 +29886,10 @@ void HP_homun_revive(struct homun_data *hd, unsigned int hp, unsigned int sp) {
HPMHooks.source.homun.revive(hd, hp, sp);
}
if( HPMHooks.count.HP_homun_revive_post ) {
- void (*postHookFunc) (struct homun_data *hd, unsigned int *hp, unsigned int *sp);
+ void (*postHookFunc) (struct homun_data *hd, unsigned int hp, unsigned int sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_revive_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_revive_post[hIndex].func;
- postHookFunc(hd, &hp, &sp);
+ postHookFunc(hd, hp, sp);
}
}
return;
@@ -29966,10 +29966,10 @@ bool HP_homun_read_db_sub(char *str[], int columns, int current) {
retVal___ = HPMHooks.source.homun.read_db_sub(str, columns, current);
}
if( HPMHooks.count.HP_homun_read_db_sub_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *str[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_read_db_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_read_db_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
+ retVal___ = postHookFunc(retVal___, str, columns, current);
}
}
return retVal___;
@@ -30019,10 +30019,10 @@ bool HP_homun_read_skill_db_sub(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.homun.read_skill_db_sub(split, columns, current);
}
if( HPMHooks.count.HP_homun_read_skill_db_sub_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_read_skill_db_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_read_skill_db_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -30097,10 +30097,10 @@ void HP_homun_addspiritball(struct homun_data *hd, int max) {
HPMHooks.source.homun.addspiritball(hd, max);
}
if( HPMHooks.count.HP_homun_addspiritball_post ) {
- void (*postHookFunc) (struct homun_data *hd, int *max);
+ void (*postHookFunc) (struct homun_data *hd, int max);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_addspiritball_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_addspiritball_post[hIndex].func;
- postHookFunc(hd, &max);
+ postHookFunc(hd, max);
}
}
return;
@@ -30123,10 +30123,10 @@ void HP_homun_delspiritball(struct homun_data *hd, int count, int type) {
HPMHooks.source.homun.delspiritball(hd, count, type);
}
if( HPMHooks.count.HP_homun_delspiritball_post ) {
- void (*postHookFunc) (struct homun_data *hd, int *count, int *type);
+ void (*postHookFunc) (struct homun_data *hd, int count, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_delspiritball_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_homun_delspiritball_post[hIndex].func;
- postHookFunc(hd, &count, &type);
+ postHookFunc(hd, count, type);
}
}
return;
@@ -30177,10 +30177,10 @@ void HP_instance_init(bool minimal) {
HPMHooks.source.instance.init(minimal);
}
if( HPMHooks.count.HP_instance_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -30256,10 +30256,10 @@ int HP_instance_create(int party_id, const char *name, enum instance_owner_type
retVal___ = HPMHooks.source.instance.create(party_id, name, type);
}
if( HPMHooks.count.HP_instance_create_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, const char *name, enum instance_owner_type *type);
+ int (*postHookFunc) (int retVal___, int party_id, const char *name, enum instance_owner_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, name, &type);
+ retVal___ = postHookFunc(retVal___, party_id, name, type);
}
}
return retVal___;
@@ -30283,10 +30283,10 @@ int HP_instance_add_map(const char *name, int instance_id, bool usebasename, con
retVal___ = HPMHooks.source.instance.add_map(name, instance_id, usebasename, map_name);
}
if( HPMHooks.count.HP_instance_add_map_post ) {
- int (*postHookFunc) (int retVal___, const char *name, int *instance_id, bool *usebasename, const char *map_name);
+ int (*postHookFunc) (int retVal___, const char *name, int instance_id, bool usebasename, const char *map_name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_add_map_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_add_map_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, name, &instance_id, &usebasename, map_name);
+ retVal___ = postHookFunc(retVal___, name, instance_id, usebasename, map_name);
}
}
return retVal___;
@@ -30309,10 +30309,10 @@ void HP_instance_del_map(int16 m) {
HPMHooks.source.instance.del_map(m);
}
if( HPMHooks.count.HP_instance_del_map_post ) {
- void (*postHookFunc) (int16 *m);
+ void (*postHookFunc) (int16 m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_del_map_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_del_map_post[hIndex].func;
- postHookFunc(&m);
+ postHookFunc(m);
}
}
return;
@@ -30336,10 +30336,10 @@ int HP_instance_map2imap(int16 m, int instance_id) {
retVal___ = HPMHooks.source.instance.map2imap(m, instance_id);
}
if( HPMHooks.count.HP_instance_map2imap_post ) {
- int (*postHookFunc) (int retVal___, int16 *m, int *instance_id);
+ int (*postHookFunc) (int retVal___, int16 m, int instance_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_map2imap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_map2imap_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, &instance_id);
+ retVal___ = postHookFunc(retVal___, m, instance_id);
}
}
return retVal___;
@@ -30363,10 +30363,10 @@ int HP_instance_mapid2imapid(int16 m, int instance_id) {
retVal___ = HPMHooks.source.instance.mapid2imapid(m, instance_id);
}
if( HPMHooks.count.HP_instance_mapid2imapid_post ) {
- int (*postHookFunc) (int retVal___, int16 *m, int *instance_id);
+ int (*postHookFunc) (int retVal___, int16 m, int instance_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_mapid2imapid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_mapid2imapid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, &instance_id);
+ retVal___ = postHookFunc(retVal___, m, instance_id);
}
}
return retVal___;
@@ -30390,10 +30390,10 @@ int HP_instance_mapname2imap(const char *map_name, int instance_id) {
retVal___ = HPMHooks.source.instance.mapname2imap(map_name, instance_id);
}
if( HPMHooks.count.HP_instance_mapname2imap_post ) {
- int (*postHookFunc) (int retVal___, const char *map_name, int *instance_id);
+ int (*postHookFunc) (int retVal___, const char *map_name, int instance_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_mapname2imap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_mapname2imap_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, map_name, &instance_id);
+ retVal___ = postHookFunc(retVal___, map_name, instance_id);
}
}
return retVal___;
@@ -30482,10 +30482,10 @@ void HP_instance_destroy(int instance_id) {
HPMHooks.source.instance.destroy(instance_id);
}
if( HPMHooks.count.HP_instance_destroy_post ) {
- void (*postHookFunc) (int *instance_id);
+ void (*postHookFunc) (int instance_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_destroy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_destroy_post[hIndex].func;
- postHookFunc(&instance_id);
+ postHookFunc(instance_id);
}
}
return;
@@ -30508,10 +30508,10 @@ void HP_instance_start(int instance_id) {
HPMHooks.source.instance.start(instance_id);
}
if( HPMHooks.count.HP_instance_start_post ) {
- void (*postHookFunc) (int *instance_id);
+ void (*postHookFunc) (int instance_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_start_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_start_post[hIndex].func;
- postHookFunc(&instance_id);
+ postHookFunc(instance_id);
}
}
return;
@@ -30534,10 +30534,10 @@ void HP_instance_check_idle(int instance_id) {
HPMHooks.source.instance.check_idle(instance_id);
}
if( HPMHooks.count.HP_instance_check_idle_post ) {
- void (*postHookFunc) (int *instance_id);
+ void (*postHookFunc) (int instance_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_check_idle_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_check_idle_post[hIndex].func;
- postHookFunc(&instance_id);
+ postHookFunc(instance_id);
}
}
return;
@@ -30586,10 +30586,10 @@ void HP_instance_set_timeout(int instance_id, unsigned int progress_timeout, uns
HPMHooks.source.instance.set_timeout(instance_id, progress_timeout, idle_timeout);
}
if( HPMHooks.count.HP_instance_set_timeout_post ) {
- void (*postHookFunc) (int *instance_id, unsigned int *progress_timeout, unsigned int *idle_timeout);
+ void (*postHookFunc) (int instance_id, unsigned int progress_timeout, unsigned int idle_timeout);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_set_timeout_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_set_timeout_post[hIndex].func;
- postHookFunc(&instance_id, &progress_timeout, &idle_timeout);
+ postHookFunc(instance_id, progress_timeout, idle_timeout);
}
}
return;
@@ -30613,10 +30613,10 @@ bool HP_instance_valid(int instance_id) {
retVal___ = HPMHooks.source.instance.valid(instance_id);
}
if( HPMHooks.count.HP_instance_valid_post ) {
- bool (*postHookFunc) (bool retVal___, int *instance_id);
+ bool (*postHookFunc) (bool retVal___, int instance_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_valid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_valid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &instance_id);
+ retVal___ = postHookFunc(retVal___, instance_id);
}
}
return retVal___;
@@ -30640,10 +30640,10 @@ int HP_instance_destroy_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.instance.destroy_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_instance_destroy_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_instance_destroy_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_instance_destroy_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -30668,10 +30668,10 @@ int HP_intif_parse(int fd) {
retVal___ = HPMHooks.source.intif.parse(fd);
}
if( HPMHooks.count.HP_intif_parse_post ) {
- int (*postHookFunc) (int retVal___, int *fd);
+ int (*postHookFunc) (int retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_parse_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_parse_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -30695,10 +30695,10 @@ int HP_intif_create_pet(int account_id, int char_id, short pet_type, short pet_l
retVal___ = HPMHooks.source.intif.create_pet(account_id, char_id, pet_type, pet_lv, pet_egg_id, pet_equip, intimate, hungry, rename_flag, incubate, pet_name);
}
if( HPMHooks.count.HP_intif_create_pet_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, int *char_id, short *pet_type, short *pet_lv, short *pet_egg_id, short *pet_equip, short *intimate, short *hungry, char *rename_flag, char *incubate, char *pet_name);
+ int (*postHookFunc) (int retVal___, int account_id, int char_id, short pet_type, short pet_lv, short pet_egg_id, short pet_equip, short intimate, short hungry, char rename_flag, char incubate, char *pet_name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_create_pet_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_create_pet_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &char_id, &pet_type, &pet_lv, &pet_egg_id, &pet_equip, &intimate, &hungry, &rename_flag, &incubate, pet_name);
+ retVal___ = postHookFunc(retVal___, account_id, char_id, pet_type, pet_lv, pet_egg_id, pet_equip, intimate, hungry, rename_flag, incubate, pet_name);
}
}
return retVal___;
@@ -30722,10 +30722,10 @@ int HP_intif_broadcast(const char *mes, int len, int type) {
retVal___ = HPMHooks.source.intif.broadcast(mes, len, type);
}
if( HPMHooks.count.HP_intif_broadcast_post ) {
- int (*postHookFunc) (int retVal___, const char *mes, int *len, int *type);
+ int (*postHookFunc) (int retVal___, const char *mes, int len, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_broadcast_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_broadcast_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, mes, &len, &type);
+ retVal___ = postHookFunc(retVal___, mes, len, type);
}
}
return retVal___;
@@ -30749,10 +30749,10 @@ int HP_intif_broadcast2(const char *mes, int len, unsigned int fontColor, short
retVal___ = HPMHooks.source.intif.broadcast2(mes, len, fontColor, fontType, fontSize, fontAlign, fontY);
}
if( HPMHooks.count.HP_intif_broadcast2_post ) {
- int (*postHookFunc) (int retVal___, const char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY);
+ int (*postHookFunc) (int retVal___, const char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_broadcast2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_broadcast2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, mes, &len, &fontColor, &fontType, &fontSize, &fontAlign, &fontY);
+ retVal___ = postHookFunc(retVal___, mes, len, fontColor, fontType, fontSize, fontAlign, fontY);
}
}
return retVal___;
@@ -30803,10 +30803,10 @@ int HP_intif_wis_message(struct map_session_data *sd, const char *nick, const ch
retVal___ = HPMHooks.source.intif.wis_message(sd, nick, mes, mes_len);
}
if( HPMHooks.count.HP_intif_wis_message_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *nick, const char *mes, int *mes_len);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *nick, const char *mes, int mes_len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_wis_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_wis_message_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, nick, mes, &mes_len);
+ retVal___ = postHookFunc(retVal___, sd, nick, mes, mes_len);
}
}
return retVal___;
@@ -30830,10 +30830,10 @@ int HP_intif_wis_message_to_gm(char *Wisp_name, int permission, char *mes) {
retVal___ = HPMHooks.source.intif.wis_message_to_gm(Wisp_name, permission, mes);
}
if( HPMHooks.count.HP_intif_wis_message_to_gm_post ) {
- int (*postHookFunc) (int retVal___, char *Wisp_name, int *permission, char *mes);
+ int (*postHookFunc) (int retVal___, char *Wisp_name, int permission, char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_wis_message_to_gm_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_wis_message_to_gm_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, Wisp_name, &permission, mes);
+ retVal___ = postHookFunc(retVal___, Wisp_name, permission, mes);
}
}
return retVal___;
@@ -30884,10 +30884,10 @@ int HP_intif_request_registry(struct map_session_data *sd, int flag) {
retVal___ = HPMHooks.source.intif.request_registry(sd, flag);
}
if( HPMHooks.count.HP_intif_request_registry_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_request_registry_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_request_registry_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &flag);
+ retVal___ = postHookFunc(retVal___, sd, flag);
}
}
return retVal___;
@@ -30911,10 +30911,10 @@ int HP_intif_request_guild_storage(int account_id, int guild_id) {
retVal___ = HPMHooks.source.intif.request_guild_storage(account_id, guild_id);
}
if( HPMHooks.count.HP_intif_request_guild_storage_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, int *guild_id);
+ int (*postHookFunc) (int retVal___, int account_id, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_request_guild_storage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_request_guild_storage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &guild_id);
+ retVal___ = postHookFunc(retVal___, account_id, guild_id);
}
}
return retVal___;
@@ -30938,10 +30938,10 @@ int HP_intif_send_guild_storage(int account_id, struct guild_storage *gstor) {
retVal___ = HPMHooks.source.intif.send_guild_storage(account_id, gstor);
}
if( HPMHooks.count.HP_intif_send_guild_storage_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, struct guild_storage *gstor);
+ int (*postHookFunc) (int retVal___, int account_id, struct guild_storage *gstor);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_send_guild_storage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_send_guild_storage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, gstor);
+ retVal___ = postHookFunc(retVal___, account_id, gstor);
}
}
return retVal___;
@@ -30965,10 +30965,10 @@ int HP_intif_create_party(struct party_member *member, const char *name, int ite
retVal___ = HPMHooks.source.intif.create_party(member, name, item, item2);
}
if( HPMHooks.count.HP_intif_create_party_post ) {
- int (*postHookFunc) (int retVal___, struct party_member *member, const char *name, int *item, int *item2);
+ int (*postHookFunc) (int retVal___, struct party_member *member, const char *name, int item, int item2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_create_party_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_create_party_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, member, name, &item, &item2);
+ retVal___ = postHookFunc(retVal___, member, name, item, item2);
}
}
return retVal___;
@@ -30992,10 +30992,10 @@ int HP_intif_request_partyinfo(int party_id, int char_id) {
retVal___ = HPMHooks.source.intif.request_partyinfo(party_id, char_id);
}
if( HPMHooks.count.HP_intif_request_partyinfo_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *char_id);
+ int (*postHookFunc) (int retVal___, int party_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_request_partyinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_request_partyinfo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &char_id);
+ retVal___ = postHookFunc(retVal___, party_id, char_id);
}
}
return retVal___;
@@ -31019,10 +31019,10 @@ int HP_intif_party_addmember(int party_id, struct party_member *member) {
retVal___ = HPMHooks.source.intif.party_addmember(party_id, member);
}
if( HPMHooks.count.HP_intif_party_addmember_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, struct party_member *member);
+ int (*postHookFunc) (int retVal___, int party_id, struct party_member *member);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_party_addmember_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_party_addmember_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, member);
+ retVal___ = postHookFunc(retVal___, party_id, member);
}
}
return retVal___;
@@ -31046,10 +31046,10 @@ int HP_intif_party_changeoption(int party_id, int account_id, int exp, int item)
retVal___ = HPMHooks.source.intif.party_changeoption(party_id, account_id, exp, item);
}
if( HPMHooks.count.HP_intif_party_changeoption_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *account_id, int *exp, int *item);
+ int (*postHookFunc) (int retVal___, int party_id, int account_id, int exp, int item);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_party_changeoption_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_party_changeoption_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, &exp, &item);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, exp, item);
}
}
return retVal___;
@@ -31073,10 +31073,10 @@ int HP_intif_party_leave(int party_id, int account_id, int char_id) {
retVal___ = HPMHooks.source.intif.party_leave(party_id, account_id, char_id);
}
if( HPMHooks.count.HP_intif_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_intif_party_leave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_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___;
@@ -31100,10 +31100,10 @@ int HP_intif_party_changemap(struct map_session_data *sd, int online) {
retVal___ = HPMHooks.source.intif.party_changemap(sd, online);
}
if( HPMHooks.count.HP_intif_party_changemap_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *online);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int online);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_party_changemap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_party_changemap_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &online);
+ retVal___ = postHookFunc(retVal___, sd, online);
}
}
return retVal___;
@@ -31127,10 +31127,10 @@ int HP_intif_break_party(int party_id) {
retVal___ = HPMHooks.source.intif.break_party(party_id);
}
if( HPMHooks.count.HP_intif_break_party_post ) {
- int (*postHookFunc) (int retVal___, int *party_id);
+ int (*postHookFunc) (int retVal___, int party_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_break_party_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_break_party_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id);
+ retVal___ = postHookFunc(retVal___, party_id);
}
}
return retVal___;
@@ -31154,10 +31154,10 @@ int HP_intif_party_message(int party_id, int account_id, const char *mes, int le
retVal___ = HPMHooks.source.intif.party_message(party_id, account_id, mes, len);
}
if( HPMHooks.count.HP_intif_party_message_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *account_id, const char *mes, int *len);
+ int (*postHookFunc) (int retVal___, int party_id, int account_id, const char *mes, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_party_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_party_message_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, mes, &len);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, mes, len);
}
}
return retVal___;
@@ -31181,10 +31181,10 @@ int HP_intif_party_leaderchange(int party_id, int account_id, int char_id) {
retVal___ = HPMHooks.source.intif.party_leaderchange(party_id, account_id, char_id);
}
if( HPMHooks.count.HP_intif_party_leaderchange_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_intif_party_leaderchange_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_party_leaderchange_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, &char_id);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, char_id);
}
}
return retVal___;
@@ -31235,10 +31235,10 @@ int HP_intif_guild_request_info(int guild_id) {
retVal___ = HPMHooks.source.intif.guild_request_info(guild_id);
}
if( HPMHooks.count.HP_intif_guild_request_info_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id);
+ int (*postHookFunc) (int retVal___, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_request_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_request_info_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id);
+ retVal___ = postHookFunc(retVal___, guild_id);
}
}
return retVal___;
@@ -31262,10 +31262,10 @@ int HP_intif_guild_addmember(int guild_id, struct guild_member *m) {
retVal___ = HPMHooks.source.intif.guild_addmember(guild_id, m);
}
if( HPMHooks.count.HP_intif_guild_addmember_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, struct guild_member *m);
+ int (*postHookFunc) (int retVal___, int guild_id, struct guild_member *m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_addmember_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_addmember_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, m);
+ retVal___ = postHookFunc(retVal___, guild_id, m);
}
}
return retVal___;
@@ -31289,10 +31289,10 @@ int HP_intif_guild_leave(int guild_id, int account_id, int char_id, int flag, co
retVal___ = HPMHooks.source.intif.guild_leave(guild_id, account_id, char_id, flag, mes);
}
if( HPMHooks.count.HP_intif_guild_leave_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, int *flag, const char *mes);
+ int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, int flag, const char *mes);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_leave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_leave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, &flag, mes);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, flag, mes);
}
}
return retVal___;
@@ -31316,10 +31316,10 @@ int HP_intif_guild_memberinfoshort(int guild_id, int account_id, int char_id, in
retVal___ = HPMHooks.source.intif.guild_memberinfoshort(guild_id, account_id, char_id, online, lv, class_);
}
if( HPMHooks.count.HP_intif_guild_memberinfoshort_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
+ int (*postHookFunc) (int retVal___, int guild_id, int account_id, int char_id, int online, int lv, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_memberinfoshort_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_memberinfoshort_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, &char_id, &online, &lv, &class_);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, char_id, online, lv, class_);
}
}
return retVal___;
@@ -31343,10 +31343,10 @@ int HP_intif_guild_break(int guild_id) {
retVal___ = HPMHooks.source.intif.guild_break(guild_id);
}
if( HPMHooks.count.HP_intif_guild_break_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id);
+ int (*postHookFunc) (int retVal___, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_break_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_break_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id);
+ retVal___ = postHookFunc(retVal___, guild_id);
}
}
return retVal___;
@@ -31370,10 +31370,10 @@ int HP_intif_guild_message(int guild_id, int account_id, const char *mes, int le
retVal___ = HPMHooks.source.intif.guild_message(guild_id, account_id, mes, len);
}
if( HPMHooks.count.HP_intif_guild_message_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *account_id, const char *mes, int *len);
+ int (*postHookFunc) (int retVal___, int guild_id, int account_id, const char *mes, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_message_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &account_id, mes, &len);
+ retVal___ = postHookFunc(retVal___, guild_id, account_id, mes, len);
}
}
return retVal___;
@@ -31397,10 +31397,10 @@ int HP_intif_guild_change_gm(int guild_id, const char *name, int len) {
retVal___ = HPMHooks.source.intif.guild_change_gm(guild_id, name, len);
}
if( HPMHooks.count.HP_intif_guild_change_gm_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, const char *name, int *len);
+ int (*postHookFunc) (int retVal___, int guild_id, const char *name, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_change_gm_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_change_gm_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, name, &len);
+ retVal___ = postHookFunc(retVal___, guild_id, name, len);
}
}
return retVal___;
@@ -31424,10 +31424,10 @@ int HP_intif_guild_change_basicinfo(int guild_id, int type, const void *data, in
retVal___ = HPMHooks.source.intif.guild_change_basicinfo(guild_id, type, data, len);
}
if( HPMHooks.count.HP_intif_guild_change_basicinfo_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_intif_guild_change_basicinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_change_basicinfo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &type, data, &len);
+ retVal___ = postHookFunc(retVal___, guild_id, type, data, len);
}
}
return retVal___;
@@ -31451,10 +31451,10 @@ int HP_intif_guild_change_memberinfo(int guild_id, int account_id, int char_id,
retVal___ = HPMHooks.source.intif.guild_change_memberinfo(guild_id, account_id, char_id, type, data, len);
}
if( HPMHooks.count.HP_intif_guild_change_memberinfo_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_intif_guild_change_memberinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_change_memberinfo_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___;
@@ -31478,10 +31478,10 @@ int HP_intif_guild_position(int guild_id, int idx, struct guild_position *p) {
retVal___ = HPMHooks.source.intif.guild_position(guild_id, idx, p);
}
if( HPMHooks.count.HP_intif_guild_position_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *idx, struct guild_position *p);
+ int (*postHookFunc) (int retVal___, int guild_id, int idx, struct guild_position *p);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_position_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_position_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &idx, p);
+ retVal___ = postHookFunc(retVal___, guild_id, idx, p);
}
}
return retVal___;
@@ -31505,10 +31505,10 @@ int HP_intif_guild_skillup(int guild_id, uint16 skill_id, int account_id, int ma
retVal___ = HPMHooks.source.intif.guild_skillup(guild_id, skill_id, account_id, max);
}
if( HPMHooks.count.HP_intif_guild_skillup_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, uint16 *skill_id, int *account_id, int *max);
+ int (*postHookFunc) (int retVal___, int guild_id, uint16 skill_id, int account_id, int max);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_skillup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_skillup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &skill_id, &account_id, &max);
+ retVal___ = postHookFunc(retVal___, guild_id, skill_id, account_id, max);
}
}
return retVal___;
@@ -31532,10 +31532,10 @@ int HP_intif_guild_alliance(int guild_id1, int guild_id2, int account_id1, int a
retVal___ = HPMHooks.source.intif.guild_alliance(guild_id1, guild_id2, account_id1, account_id2, flag);
}
if( HPMHooks.count.HP_intif_guild_alliance_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag);
+ int (*postHookFunc) (int retVal___, int guild_id1, int guild_id2, int account_id1, int account_id2, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_alliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_alliance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id1, &guild_id2, &account_id1, &account_id2, &flag);
+ retVal___ = postHookFunc(retVal___, guild_id1, guild_id2, account_id1, account_id2, flag);
}
}
return retVal___;
@@ -31559,10 +31559,10 @@ int HP_intif_guild_notice(int guild_id, const char *mes1, const char *mes2) {
retVal___ = HPMHooks.source.intif.guild_notice(guild_id, mes1, mes2);
}
if( HPMHooks.count.HP_intif_guild_notice_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, const char *mes1, const char *mes2);
+ int (*postHookFunc) (int retVal___, int guild_id, const char *mes1, const char *mes2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_notice_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_notice_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, mes1, mes2);
+ retVal___ = postHookFunc(retVal___, guild_id, mes1, mes2);
}
}
return retVal___;
@@ -31586,10 +31586,10 @@ int HP_intif_guild_emblem(int guild_id, int len, const char *data) {
retVal___ = HPMHooks.source.intif.guild_emblem(guild_id, len, data);
}
if( HPMHooks.count.HP_intif_guild_emblem_post ) {
- int (*postHookFunc) (int retVal___, int *guild_id, int *len, const char *data);
+ int (*postHookFunc) (int retVal___, int guild_id, int len, const char *data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_emblem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_emblem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &guild_id, &len, data);
+ retVal___ = postHookFunc(retVal___, guild_id, len, data);
}
}
return retVal___;
@@ -31613,10 +31613,10 @@ int HP_intif_guild_castle_dataload(int num, int *castle_ids) {
retVal___ = HPMHooks.source.intif.guild_castle_dataload(num, castle_ids);
}
if( HPMHooks.count.HP_intif_guild_castle_dataload_post ) {
- int (*postHookFunc) (int retVal___, int *num, int *castle_ids);
+ int (*postHookFunc) (int retVal___, int num, int *castle_ids);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_castle_dataload_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_castle_dataload_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &num, castle_ids);
+ retVal___ = postHookFunc(retVal___, num, castle_ids);
}
}
return retVal___;
@@ -31640,10 +31640,10 @@ int HP_intif_guild_castle_datasave(int castle_id, int index, int value) {
retVal___ = HPMHooks.source.intif.guild_castle_datasave(castle_id, index, value);
}
if( HPMHooks.count.HP_intif_guild_castle_datasave_post ) {
- int (*postHookFunc) (int retVal___, int *castle_id, int *index, int *value);
+ int (*postHookFunc) (int retVal___, int castle_id, int index, int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_castle_datasave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_guild_castle_datasave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &castle_id, &index, &value);
+ retVal___ = postHookFunc(retVal___, castle_id, index, value);
}
}
return retVal___;
@@ -31666,10 +31666,10 @@ void HP_intif_itembound_req(int char_id, int aid, int guild_id) {
HPMHooks.source.intif.itembound_req(char_id, aid, guild_id);
}
if( HPMHooks.count.HP_intif_itembound_req_post ) {
- void (*postHookFunc) (int *char_id, int *aid, int *guild_id);
+ void (*postHookFunc) (int char_id, int aid, int guild_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_itembound_req_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_itembound_req_post[hIndex].func;
- postHookFunc(&char_id, &aid, &guild_id);
+ postHookFunc(char_id, aid, guild_id);
}
}
return;
@@ -31693,10 +31693,10 @@ int HP_intif_request_petdata(int account_id, int char_id, int pet_id) {
retVal___ = HPMHooks.source.intif.request_petdata(account_id, char_id, pet_id);
}
if( HPMHooks.count.HP_intif_request_petdata_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, int *char_id, int *pet_id);
+ int (*postHookFunc) (int retVal___, int account_id, int char_id, int pet_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_request_petdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_request_petdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &char_id, &pet_id);
+ retVal___ = postHookFunc(retVal___, account_id, char_id, pet_id);
}
}
return retVal___;
@@ -31720,10 +31720,10 @@ int HP_intif_save_petdata(int account_id, struct s_pet *p) {
retVal___ = HPMHooks.source.intif.save_petdata(account_id, p);
}
if( HPMHooks.count.HP_intif_save_petdata_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, struct s_pet *p);
+ int (*postHookFunc) (int retVal___, int account_id, struct s_pet *p);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_save_petdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_save_petdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, p);
+ retVal___ = postHookFunc(retVal___, account_id, p);
}
}
return retVal___;
@@ -31747,10 +31747,10 @@ int HP_intif_delete_petdata(int pet_id) {
retVal___ = HPMHooks.source.intif.delete_petdata(pet_id);
}
if( HPMHooks.count.HP_intif_delete_petdata_post ) {
- int (*postHookFunc) (int retVal___, int *pet_id);
+ int (*postHookFunc) (int retVal___, int pet_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_delete_petdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_delete_petdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &pet_id);
+ retVal___ = postHookFunc(retVal___, pet_id);
}
}
return retVal___;
@@ -31774,10 +31774,10 @@ int HP_intif_rename(struct map_session_data *sd, int type, const char *name) {
retVal___ = HPMHooks.source.intif.rename(sd, type, name);
}
if( HPMHooks.count.HP_intif_rename_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, const char *name);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_rename_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_rename_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, name);
+ retVal___ = postHookFunc(retVal___, sd, type, name);
}
}
return retVal___;
@@ -31801,10 +31801,10 @@ int HP_intif_homunculus_create(int account_id, struct s_homunculus *sh) {
retVal___ = HPMHooks.source.intif.homunculus_create(account_id, sh);
}
if( HPMHooks.count.HP_intif_homunculus_create_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, struct s_homunculus *sh);
+ int (*postHookFunc) (int retVal___, int account_id, struct s_homunculus *sh);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_homunculus_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_homunculus_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, sh);
+ retVal___ = postHookFunc(retVal___, account_id, sh);
}
}
return retVal___;
@@ -31828,10 +31828,10 @@ bool HP_intif_homunculus_requestload(int account_id, int homun_id) {
retVal___ = HPMHooks.source.intif.homunculus_requestload(account_id, homun_id);
}
if( HPMHooks.count.HP_intif_homunculus_requestload_post ) {
- bool (*postHookFunc) (bool retVal___, int *account_id, int *homun_id);
+ bool (*postHookFunc) (bool retVal___, int account_id, int homun_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_homunculus_requestload_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_homunculus_requestload_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &homun_id);
+ retVal___ = postHookFunc(retVal___, account_id, homun_id);
}
}
return retVal___;
@@ -31855,10 +31855,10 @@ int HP_intif_homunculus_requestsave(int account_id, struct s_homunculus *sh) {
retVal___ = HPMHooks.source.intif.homunculus_requestsave(account_id, sh);
}
if( HPMHooks.count.HP_intif_homunculus_requestsave_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, struct s_homunculus *sh);
+ int (*postHookFunc) (int retVal___, int account_id, struct s_homunculus *sh);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_homunculus_requestsave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_homunculus_requestsave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, sh);
+ retVal___ = postHookFunc(retVal___, account_id, sh);
}
}
return retVal___;
@@ -31882,10 +31882,10 @@ int HP_intif_homunculus_requestdelete(int homun_id) {
retVal___ = HPMHooks.source.intif.homunculus_requestdelete(homun_id);
}
if( HPMHooks.count.HP_intif_homunculus_requestdelete_post ) {
- int (*postHookFunc) (int retVal___, int *homun_id);
+ int (*postHookFunc) (int retVal___, int homun_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_homunculus_requestdelete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_homunculus_requestdelete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &homun_id);
+ retVal___ = postHookFunc(retVal___, homun_id);
}
}
return retVal___;
@@ -31989,10 +31989,10 @@ int HP_intif_mercenary_request(int merc_id, int char_id) {
retVal___ = HPMHooks.source.intif.mercenary_request(merc_id, char_id);
}
if( HPMHooks.count.HP_intif_mercenary_request_post ) {
- int (*postHookFunc) (int retVal___, int *merc_id, int *char_id);
+ int (*postHookFunc) (int retVal___, int merc_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_mercenary_request_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_mercenary_request_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &merc_id, &char_id);
+ retVal___ = postHookFunc(retVal___, merc_id, char_id);
}
}
return retVal___;
@@ -32016,10 +32016,10 @@ int HP_intif_mercenary_delete(int merc_id) {
retVal___ = HPMHooks.source.intif.mercenary_delete(merc_id);
}
if( HPMHooks.count.HP_intif_mercenary_delete_post ) {
- int (*postHookFunc) (int retVal___, int *merc_id);
+ int (*postHookFunc) (int retVal___, int merc_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_mercenary_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_mercenary_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &merc_id);
+ retVal___ = postHookFunc(retVal___, merc_id);
}
}
return retVal___;
@@ -32070,10 +32070,10 @@ int HP_intif_Mail_requestinbox(int char_id, unsigned char flag) {
retVal___ = HPMHooks.source.intif.Mail_requestinbox(char_id, flag);
}
if( HPMHooks.count.HP_intif_Mail_requestinbox_post ) {
- int (*postHookFunc) (int retVal___, int *char_id, unsigned char *flag);
+ int (*postHookFunc) (int retVal___, int char_id, unsigned char flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Mail_requestinbox_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Mail_requestinbox_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &flag);
+ retVal___ = postHookFunc(retVal___, char_id, flag);
}
}
return retVal___;
@@ -32097,10 +32097,10 @@ int HP_intif_Mail_read(int mail_id) {
retVal___ = HPMHooks.source.intif.Mail_read(mail_id);
}
if( HPMHooks.count.HP_intif_Mail_read_post ) {
- int (*postHookFunc) (int retVal___, int *mail_id);
+ int (*postHookFunc) (int retVal___, int mail_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Mail_read_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Mail_read_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &mail_id);
+ retVal___ = postHookFunc(retVal___, mail_id);
}
}
return retVal___;
@@ -32124,10 +32124,10 @@ int HP_intif_Mail_getattach(int char_id, int mail_id) {
retVal___ = HPMHooks.source.intif.Mail_getattach(char_id, mail_id);
}
if( HPMHooks.count.HP_intif_Mail_getattach_post ) {
- int (*postHookFunc) (int retVal___, int *char_id, int *mail_id);
+ int (*postHookFunc) (int retVal___, int char_id, int mail_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Mail_getattach_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Mail_getattach_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &mail_id);
+ retVal___ = postHookFunc(retVal___, char_id, mail_id);
}
}
return retVal___;
@@ -32151,10 +32151,10 @@ int HP_intif_Mail_delete(int char_id, int mail_id) {
retVal___ = HPMHooks.source.intif.Mail_delete(char_id, mail_id);
}
if( HPMHooks.count.HP_intif_Mail_delete_post ) {
- int (*postHookFunc) (int retVal___, int *char_id, int *mail_id);
+ int (*postHookFunc) (int retVal___, int char_id, int mail_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Mail_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Mail_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &mail_id);
+ retVal___ = postHookFunc(retVal___, char_id, mail_id);
}
}
return retVal___;
@@ -32178,10 +32178,10 @@ int HP_intif_Mail_return(int char_id, int mail_id) {
retVal___ = HPMHooks.source.intif.Mail_return(char_id, mail_id);
}
if( HPMHooks.count.HP_intif_Mail_return_post ) {
- int (*postHookFunc) (int retVal___, int *char_id, int *mail_id);
+ int (*postHookFunc) (int retVal___, int char_id, int mail_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Mail_return_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Mail_return_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &mail_id);
+ retVal___ = postHookFunc(retVal___, char_id, mail_id);
}
}
return retVal___;
@@ -32205,10 +32205,10 @@ int HP_intif_Mail_send(int account_id, struct mail_message *msg) {
retVal___ = HPMHooks.source.intif.Mail_send(account_id, msg);
}
if( HPMHooks.count.HP_intif_Mail_send_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, struct mail_message *msg);
+ int (*postHookFunc) (int retVal___, int account_id, struct mail_message *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Mail_send_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Mail_send_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, msg);
+ retVal___ = postHookFunc(retVal___, account_id, msg);
}
}
return retVal___;
@@ -32232,10 +32232,10 @@ int HP_intif_Auction_requestlist(int char_id, short type, int price, const char
retVal___ = HPMHooks.source.intif.Auction_requestlist(char_id, type, price, searchtext, page);
}
if( HPMHooks.count.HP_intif_Auction_requestlist_post ) {
- int (*postHookFunc) (int retVal___, int *char_id, short *type, int *price, const char *searchtext, short *page);
+ int (*postHookFunc) (int retVal___, int char_id, short type, int price, const char *searchtext, short page);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Auction_requestlist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Auction_requestlist_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &type, &price, searchtext, &page);
+ retVal___ = postHookFunc(retVal___, char_id, type, price, searchtext, page);
}
}
return retVal___;
@@ -32286,10 +32286,10 @@ int HP_intif_Auction_cancel(int char_id, unsigned int auction_id) {
retVal___ = HPMHooks.source.intif.Auction_cancel(char_id, auction_id);
}
if( HPMHooks.count.HP_intif_Auction_cancel_post ) {
- int (*postHookFunc) (int retVal___, int *char_id, unsigned int *auction_id);
+ int (*postHookFunc) (int retVal___, int char_id, unsigned int auction_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Auction_cancel_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Auction_cancel_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &auction_id);
+ retVal___ = postHookFunc(retVal___, char_id, auction_id);
}
}
return retVal___;
@@ -32313,10 +32313,10 @@ int HP_intif_Auction_close(int char_id, unsigned int auction_id) {
retVal___ = HPMHooks.source.intif.Auction_close(char_id, auction_id);
}
if( HPMHooks.count.HP_intif_Auction_close_post ) {
- int (*postHookFunc) (int retVal___, int *char_id, unsigned int *auction_id);
+ int (*postHookFunc) (int retVal___, int char_id, unsigned int auction_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Auction_close_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Auction_close_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &auction_id);
+ retVal___ = postHookFunc(retVal___, char_id, auction_id);
}
}
return retVal___;
@@ -32340,10 +32340,10 @@ int HP_intif_Auction_bid(int char_id, const char *name, unsigned int auction_id,
retVal___ = HPMHooks.source.intif.Auction_bid(char_id, name, auction_id, bid);
}
if( HPMHooks.count.HP_intif_Auction_bid_post ) {
- int (*postHookFunc) (int retVal___, int *char_id, const char *name, unsigned int *auction_id, int *bid);
+ int (*postHookFunc) (int retVal___, int char_id, const char *name, unsigned int auction_id, int bid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Auction_bid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_Auction_bid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, name, &auction_id, &bid);
+ retVal___ = postHookFunc(retVal___, char_id, name, auction_id, bid);
}
}
return retVal___;
@@ -32394,10 +32394,10 @@ int HP_intif_elemental_request(int ele_id, int char_id) {
retVal___ = HPMHooks.source.intif.elemental_request(ele_id, char_id);
}
if( HPMHooks.count.HP_intif_elemental_request_post ) {
- int (*postHookFunc) (int retVal___, int *ele_id, int *char_id);
+ int (*postHookFunc) (int retVal___, int ele_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_elemental_request_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_elemental_request_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &ele_id, &char_id);
+ retVal___ = postHookFunc(retVal___, ele_id, char_id);
}
}
return retVal___;
@@ -32421,10 +32421,10 @@ int HP_intif_elemental_delete(int ele_id) {
retVal___ = HPMHooks.source.intif.elemental_delete(ele_id);
}
if( HPMHooks.count.HP_intif_elemental_delete_post ) {
- int (*postHookFunc) (int retVal___, int *ele_id);
+ int (*postHookFunc) (int retVal___, int ele_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_elemental_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_elemental_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &ele_id);
+ retVal___ = postHookFunc(retVal___, ele_id);
}
}
return retVal___;
@@ -32474,10 +32474,10 @@ void HP_intif_request_accinfo(int u_fd, int aid, int group_lv, char *query) {
HPMHooks.source.intif.request_accinfo(u_fd, aid, group_lv, query);
}
if( HPMHooks.count.HP_intif_request_accinfo_post ) {
- void (*postHookFunc) (int *u_fd, int *aid, int *group_lv, char *query);
+ void (*postHookFunc) (int u_fd, int aid, int group_lv, char *query);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_request_accinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_request_accinfo_post[hIndex].func;
- postHookFunc(&u_fd, &aid, &group_lv, query);
+ postHookFunc(u_fd, aid, group_lv, query);
}
}
return;
@@ -32527,10 +32527,10 @@ void HP_intif_pWisMessage(int fd) {
HPMHooks.source.intif.pWisMessage(fd);
}
if( HPMHooks.count.HP_intif_pWisMessage_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pWisMessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pWisMessage_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32553,10 +32553,10 @@ void HP_intif_pWisEnd(int fd) {
HPMHooks.source.intif.pWisEnd(fd);
}
if( HPMHooks.count.HP_intif_pWisEnd_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pWisEnd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pWisEnd_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32612,10 +32612,10 @@ void HP_intif_pWisToGM(int fd) {
HPMHooks.source.intif.pWisToGM(fd);
}
if( HPMHooks.count.HP_intif_pWisToGM_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pWisToGM_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pWisToGM_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32638,10 +32638,10 @@ void HP_intif_pRegisters(int fd) {
HPMHooks.source.intif.pRegisters(fd);
}
if( HPMHooks.count.HP_intif_pRegisters_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pRegisters_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pRegisters_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32664,10 +32664,10 @@ void HP_intif_pChangeNameOk(int fd) {
HPMHooks.source.intif.pChangeNameOk(fd);
}
if( HPMHooks.count.HP_intif_pChangeNameOk_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pChangeNameOk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pChangeNameOk_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32690,10 +32690,10 @@ void HP_intif_pMessageToFD(int fd) {
HPMHooks.source.intif.pMessageToFD(fd);
}
if( HPMHooks.count.HP_intif_pMessageToFD_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMessageToFD_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMessageToFD_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32716,10 +32716,10 @@ void HP_intif_pLoadGuildStorage(int fd) {
HPMHooks.source.intif.pLoadGuildStorage(fd);
}
if( HPMHooks.count.HP_intif_pLoadGuildStorage_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pLoadGuildStorage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pLoadGuildStorage_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32742,10 +32742,10 @@ void HP_intif_pSaveGuildStorage(int fd) {
HPMHooks.source.intif.pSaveGuildStorage(fd);
}
if( HPMHooks.count.HP_intif_pSaveGuildStorage_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pSaveGuildStorage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pSaveGuildStorage_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32768,10 +32768,10 @@ void HP_intif_pPartyCreated(int fd) {
HPMHooks.source.intif.pPartyCreated(fd);
}
if( HPMHooks.count.HP_intif_pPartyCreated_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pPartyCreated_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pPartyCreated_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32794,10 +32794,10 @@ void HP_intif_pPartyInfo(int fd) {
HPMHooks.source.intif.pPartyInfo(fd);
}
if( HPMHooks.count.HP_intif_pPartyInfo_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pPartyInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pPartyInfo_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32820,10 +32820,10 @@ void HP_intif_pPartyMemberAdded(int fd) {
HPMHooks.source.intif.pPartyMemberAdded(fd);
}
if( HPMHooks.count.HP_intif_pPartyMemberAdded_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pPartyMemberAdded_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pPartyMemberAdded_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32846,10 +32846,10 @@ void HP_intif_pPartyOptionChanged(int fd) {
HPMHooks.source.intif.pPartyOptionChanged(fd);
}
if( HPMHooks.count.HP_intif_pPartyOptionChanged_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pPartyOptionChanged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pPartyOptionChanged_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32872,10 +32872,10 @@ void HP_intif_pPartyMemberWithdraw(int fd) {
HPMHooks.source.intif.pPartyMemberWithdraw(fd);
}
if( HPMHooks.count.HP_intif_pPartyMemberWithdraw_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pPartyMemberWithdraw_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pPartyMemberWithdraw_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32898,10 +32898,10 @@ void HP_intif_pPartyMove(int fd) {
HPMHooks.source.intif.pPartyMove(fd);
}
if( HPMHooks.count.HP_intif_pPartyMove_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pPartyMove_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pPartyMove_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32924,10 +32924,10 @@ void HP_intif_pPartyBroken(int fd) {
HPMHooks.source.intif.pPartyBroken(fd);
}
if( HPMHooks.count.HP_intif_pPartyBroken_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pPartyBroken_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pPartyBroken_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32950,10 +32950,10 @@ void HP_intif_pPartyMessage(int fd) {
HPMHooks.source.intif.pPartyMessage(fd);
}
if( HPMHooks.count.HP_intif_pPartyMessage_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pPartyMessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pPartyMessage_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -32976,10 +32976,10 @@ void HP_intif_pGuildCreated(int fd) {
HPMHooks.source.intif.pGuildCreated(fd);
}
if( HPMHooks.count.HP_intif_pGuildCreated_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildCreated_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildCreated_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33002,10 +33002,10 @@ void HP_intif_pGuildInfo(int fd) {
HPMHooks.source.intif.pGuildInfo(fd);
}
if( HPMHooks.count.HP_intif_pGuildInfo_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildInfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildInfo_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33028,10 +33028,10 @@ void HP_intif_pGuildMemberAdded(int fd) {
HPMHooks.source.intif.pGuildMemberAdded(fd);
}
if( HPMHooks.count.HP_intif_pGuildMemberAdded_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildMemberAdded_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildMemberAdded_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33054,10 +33054,10 @@ void HP_intif_pGuildMemberWithdraw(int fd) {
HPMHooks.source.intif.pGuildMemberWithdraw(fd);
}
if( HPMHooks.count.HP_intif_pGuildMemberWithdraw_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildMemberWithdraw_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildMemberWithdraw_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33080,10 +33080,10 @@ void HP_intif_pGuildMemberInfoShort(int fd) {
HPMHooks.source.intif.pGuildMemberInfoShort(fd);
}
if( HPMHooks.count.HP_intif_pGuildMemberInfoShort_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildMemberInfoShort_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildMemberInfoShort_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33106,10 +33106,10 @@ void HP_intif_pGuildBroken(int fd) {
HPMHooks.source.intif.pGuildBroken(fd);
}
if( HPMHooks.count.HP_intif_pGuildBroken_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildBroken_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildBroken_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33132,10 +33132,10 @@ void HP_intif_pGuildMessage(int fd) {
HPMHooks.source.intif.pGuildMessage(fd);
}
if( HPMHooks.count.HP_intif_pGuildMessage_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildMessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildMessage_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33158,10 +33158,10 @@ void HP_intif_pGuildBasicInfoChanged(int fd) {
HPMHooks.source.intif.pGuildBasicInfoChanged(fd);
}
if( HPMHooks.count.HP_intif_pGuildBasicInfoChanged_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildBasicInfoChanged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildBasicInfoChanged_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33184,10 +33184,10 @@ void HP_intif_pGuildMemberInfoChanged(int fd) {
HPMHooks.source.intif.pGuildMemberInfoChanged(fd);
}
if( HPMHooks.count.HP_intif_pGuildMemberInfoChanged_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildMemberInfoChanged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildMemberInfoChanged_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33210,10 +33210,10 @@ void HP_intif_pGuildPosition(int fd) {
HPMHooks.source.intif.pGuildPosition(fd);
}
if( HPMHooks.count.HP_intif_pGuildPosition_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildPosition_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildPosition_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33236,10 +33236,10 @@ void HP_intif_pGuildSkillUp(int fd) {
HPMHooks.source.intif.pGuildSkillUp(fd);
}
if( HPMHooks.count.HP_intif_pGuildSkillUp_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildSkillUp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildSkillUp_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33262,10 +33262,10 @@ void HP_intif_pGuildAlliance(int fd) {
HPMHooks.source.intif.pGuildAlliance(fd);
}
if( HPMHooks.count.HP_intif_pGuildAlliance_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildAlliance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildAlliance_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33288,10 +33288,10 @@ void HP_intif_pGuildNotice(int fd) {
HPMHooks.source.intif.pGuildNotice(fd);
}
if( HPMHooks.count.HP_intif_pGuildNotice_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildNotice_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildNotice_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33314,10 +33314,10 @@ void HP_intif_pGuildEmblem(int fd) {
HPMHooks.source.intif.pGuildEmblem(fd);
}
if( HPMHooks.count.HP_intif_pGuildEmblem_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildEmblem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildEmblem_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33340,10 +33340,10 @@ void HP_intif_pGuildCastleDataLoad(int fd) {
HPMHooks.source.intif.pGuildCastleDataLoad(fd);
}
if( HPMHooks.count.HP_intif_pGuildCastleDataLoad_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildCastleDataLoad_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildCastleDataLoad_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33366,10 +33366,10 @@ void HP_intif_pGuildMasterChanged(int fd) {
HPMHooks.source.intif.pGuildMasterChanged(fd);
}
if( HPMHooks.count.HP_intif_pGuildMasterChanged_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pGuildMasterChanged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pGuildMasterChanged_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33392,10 +33392,10 @@ void HP_intif_pQuestLog(int fd) {
HPMHooks.source.intif.pQuestLog(fd);
}
if( HPMHooks.count.HP_intif_pQuestLog_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pQuestLog_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pQuestLog_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33418,10 +33418,10 @@ void HP_intif_pQuestSave(int fd) {
HPMHooks.source.intif.pQuestSave(fd);
}
if( HPMHooks.count.HP_intif_pQuestSave_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pQuestSave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pQuestSave_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33444,10 +33444,10 @@ void HP_intif_pMailInboxReceived(int fd) {
HPMHooks.source.intif.pMailInboxReceived(fd);
}
if( HPMHooks.count.HP_intif_pMailInboxReceived_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMailInboxReceived_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMailInboxReceived_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33470,10 +33470,10 @@ void HP_intif_pMailNew(int fd) {
HPMHooks.source.intif.pMailNew(fd);
}
if( HPMHooks.count.HP_intif_pMailNew_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMailNew_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMailNew_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33496,10 +33496,10 @@ void HP_intif_pMailGetAttach(int fd) {
HPMHooks.source.intif.pMailGetAttach(fd);
}
if( HPMHooks.count.HP_intif_pMailGetAttach_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMailGetAttach_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMailGetAttach_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33522,10 +33522,10 @@ void HP_intif_pMailDelete(int fd) {
HPMHooks.source.intif.pMailDelete(fd);
}
if( HPMHooks.count.HP_intif_pMailDelete_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMailDelete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMailDelete_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33548,10 +33548,10 @@ void HP_intif_pMailReturn(int fd) {
HPMHooks.source.intif.pMailReturn(fd);
}
if( HPMHooks.count.HP_intif_pMailReturn_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMailReturn_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMailReturn_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33574,10 +33574,10 @@ void HP_intif_pMailSend(int fd) {
HPMHooks.source.intif.pMailSend(fd);
}
if( HPMHooks.count.HP_intif_pMailSend_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMailSend_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMailSend_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33600,10 +33600,10 @@ void HP_intif_pAuctionResults(int fd) {
HPMHooks.source.intif.pAuctionResults(fd);
}
if( HPMHooks.count.HP_intif_pAuctionResults_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pAuctionResults_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pAuctionResults_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33626,10 +33626,10 @@ void HP_intif_pAuctionRegister(int fd) {
HPMHooks.source.intif.pAuctionRegister(fd);
}
if( HPMHooks.count.HP_intif_pAuctionRegister_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pAuctionRegister_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pAuctionRegister_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33652,10 +33652,10 @@ void HP_intif_pAuctionCancel(int fd) {
HPMHooks.source.intif.pAuctionCancel(fd);
}
if( HPMHooks.count.HP_intif_pAuctionCancel_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pAuctionCancel_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pAuctionCancel_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33678,10 +33678,10 @@ void HP_intif_pAuctionClose(int fd) {
HPMHooks.source.intif.pAuctionClose(fd);
}
if( HPMHooks.count.HP_intif_pAuctionClose_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pAuctionClose_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pAuctionClose_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33704,10 +33704,10 @@ void HP_intif_pAuctionMessage(int fd) {
HPMHooks.source.intif.pAuctionMessage(fd);
}
if( HPMHooks.count.HP_intif_pAuctionMessage_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pAuctionMessage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pAuctionMessage_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33730,10 +33730,10 @@ void HP_intif_pAuctionBid(int fd) {
HPMHooks.source.intif.pAuctionBid(fd);
}
if( HPMHooks.count.HP_intif_pAuctionBid_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pAuctionBid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pAuctionBid_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33756,10 +33756,10 @@ void HP_intif_pItembound_ack(int fd) {
HPMHooks.source.intif.pItembound_ack(fd);
}
if( HPMHooks.count.HP_intif_pItembound_ack_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pItembound_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pItembound_ack_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33782,10 +33782,10 @@ void HP_intif_pMercenaryReceived(int fd) {
HPMHooks.source.intif.pMercenaryReceived(fd);
}
if( HPMHooks.count.HP_intif_pMercenaryReceived_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMercenaryReceived_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMercenaryReceived_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33808,10 +33808,10 @@ void HP_intif_pMercenaryDeleted(int fd) {
HPMHooks.source.intif.pMercenaryDeleted(fd);
}
if( HPMHooks.count.HP_intif_pMercenaryDeleted_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMercenaryDeleted_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMercenaryDeleted_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33834,10 +33834,10 @@ void HP_intif_pMercenarySaved(int fd) {
HPMHooks.source.intif.pMercenarySaved(fd);
}
if( HPMHooks.count.HP_intif_pMercenarySaved_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pMercenarySaved_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pMercenarySaved_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33860,10 +33860,10 @@ void HP_intif_pElementalReceived(int fd) {
HPMHooks.source.intif.pElementalReceived(fd);
}
if( HPMHooks.count.HP_intif_pElementalReceived_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pElementalReceived_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pElementalReceived_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33886,10 +33886,10 @@ void HP_intif_pElementalDeleted(int fd) {
HPMHooks.source.intif.pElementalDeleted(fd);
}
if( HPMHooks.count.HP_intif_pElementalDeleted_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pElementalDeleted_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pElementalDeleted_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33912,10 +33912,10 @@ void HP_intif_pElementalSaved(int fd) {
HPMHooks.source.intif.pElementalSaved(fd);
}
if( HPMHooks.count.HP_intif_pElementalSaved_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pElementalSaved_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pElementalSaved_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33938,10 +33938,10 @@ void HP_intif_pCreatePet(int fd) {
HPMHooks.source.intif.pCreatePet(fd);
}
if( HPMHooks.count.HP_intif_pCreatePet_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pCreatePet_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pCreatePet_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33964,10 +33964,10 @@ void HP_intif_pRecvPetData(int fd) {
HPMHooks.source.intif.pRecvPetData(fd);
}
if( HPMHooks.count.HP_intif_pRecvPetData_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pRecvPetData_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pRecvPetData_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -33990,10 +33990,10 @@ void HP_intif_pSavePetOk(int fd) {
HPMHooks.source.intif.pSavePetOk(fd);
}
if( HPMHooks.count.HP_intif_pSavePetOk_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pSavePetOk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pSavePetOk_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -34016,10 +34016,10 @@ void HP_intif_pDeletePetOk(int fd) {
HPMHooks.source.intif.pDeletePetOk(fd);
}
if( HPMHooks.count.HP_intif_pDeletePetOk_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pDeletePetOk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pDeletePetOk_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -34042,10 +34042,10 @@ void HP_intif_pCreateHomunculus(int fd) {
HPMHooks.source.intif.pCreateHomunculus(fd);
}
if( HPMHooks.count.HP_intif_pCreateHomunculus_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pCreateHomunculus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pCreateHomunculus_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -34068,10 +34068,10 @@ void HP_intif_pRecvHomunculusData(int fd) {
HPMHooks.source.intif.pRecvHomunculusData(fd);
}
if( HPMHooks.count.HP_intif_pRecvHomunculusData_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pRecvHomunculusData_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pRecvHomunculusData_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -34094,10 +34094,10 @@ void HP_intif_pSaveHomunculusOk(int fd) {
HPMHooks.source.intif.pSaveHomunculusOk(fd);
}
if( HPMHooks.count.HP_intif_pSaveHomunculusOk_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pSaveHomunculusOk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pSaveHomunculusOk_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -34120,10 +34120,10 @@ void HP_intif_pDeleteHomunculusOk(int fd) {
HPMHooks.source.intif.pDeleteHomunculusOk(fd);
}
if( HPMHooks.count.HP_intif_pDeleteHomunculusOk_post ) {
- void (*postHookFunc) (int *fd);
+ void (*postHookFunc) (int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pDeleteHomunculusOk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_intif_pDeleteHomunculusOk_post[hIndex].func;
- postHookFunc(&fd);
+ postHookFunc(fd);
}
}
return;
@@ -34147,10 +34147,10 @@ void HP_ircbot_init(bool minimal) {
HPMHooks.source.ircbot.init(minimal);
}
if( HPMHooks.count.HP_ircbot_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -34200,10 +34200,10 @@ int HP_ircbot_parse(int fd) {
retVal___ = HPMHooks.source.ircbot.parse(fd);
}
if( HPMHooks.count.HP_ircbot_parse_post ) {
- int (*postHookFunc) (int retVal___, int *fd);
+ int (*postHookFunc) (int retVal___, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_parse_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_parse_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &fd);
+ retVal___ = postHookFunc(retVal___, fd);
}
}
return retVal___;
@@ -34226,10 +34226,10 @@ void HP_ircbot_parse_sub(int fd, char *str) {
HPMHooks.source.ircbot.parse_sub(fd, str);
}
if( HPMHooks.count.HP_ircbot_parse_sub_post ) {
- void (*postHookFunc) (int *fd, char *str);
+ void (*postHookFunc) (int fd, char *str);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_parse_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_parse_sub_post[hIndex].func;
- postHookFunc(&fd, str);
+ postHookFunc(fd, str);
}
}
return;
@@ -34306,10 +34306,10 @@ int HP_ircbot_connect_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.ircbot.connect_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_ircbot_connect_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_ircbot_connect_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_connect_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -34333,10 +34333,10 @@ int HP_ircbot_identify_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.ircbot.identify_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_ircbot_identify_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_ircbot_identify_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_identify_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -34360,10 +34360,10 @@ int HP_ircbot_join_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.ircbot.join_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_ircbot_join_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_ircbot_join_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_join_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -34387,10 +34387,10 @@ int HP_ircbot_queue_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.ircbot.queue_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_ircbot_queue_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_ircbot_queue_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_queue_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -34439,10 +34439,10 @@ void HP_ircbot_send(char *str, bool force) {
HPMHooks.source.ircbot.send(str, force);
}
if( HPMHooks.count.HP_ircbot_send_post ) {
- void (*postHookFunc) (char *str, bool *force);
+ void (*postHookFunc) (char *str, bool force);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_send_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_send_post[hIndex].func;
- postHookFunc(str, &force);
+ postHookFunc(str, force);
}
}
return;
@@ -34491,10 +34491,10 @@ void HP_ircbot_pong(int fd, char *cmd, char *source, char *target, char *msg) {
HPMHooks.source.ircbot.pong(fd, cmd, source, target, msg);
}
if( HPMHooks.count.HP_ircbot_pong_post ) {
- void (*postHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*postHookFunc) (int fd, char *cmd, char *source, char *target, char *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_pong_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_pong_post[hIndex].func;
- postHookFunc(&fd, cmd, source, target, msg);
+ postHookFunc(fd, cmd, source, target, msg);
}
}
return;
@@ -34517,10 +34517,10 @@ void HP_ircbot_privmsg(int fd, char *cmd, char *source, char *target, char *msg)
HPMHooks.source.ircbot.privmsg(fd, cmd, source, target, msg);
}
if( HPMHooks.count.HP_ircbot_privmsg_post ) {
- void (*postHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*postHookFunc) (int fd, char *cmd, char *source, char *target, char *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_privmsg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_privmsg_post[hIndex].func;
- postHookFunc(&fd, cmd, source, target, msg);
+ postHookFunc(fd, cmd, source, target, msg);
}
}
return;
@@ -34543,10 +34543,10 @@ void HP_ircbot_privmsg_ctcp(int fd, char *cmd, char *source, char *target, char
HPMHooks.source.ircbot.privmsg_ctcp(fd, cmd, source, target, msg);
}
if( HPMHooks.count.HP_ircbot_privmsg_ctcp_post ) {
- void (*postHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*postHookFunc) (int fd, char *cmd, char *source, char *target, char *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_privmsg_ctcp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_privmsg_ctcp_post[hIndex].func;
- postHookFunc(&fd, cmd, source, target, msg);
+ postHookFunc(fd, cmd, source, target, msg);
}
}
return;
@@ -34569,10 +34569,10 @@ void HP_ircbot_userjoin(int fd, char *cmd, char *source, char *target, char *msg
HPMHooks.source.ircbot.userjoin(fd, cmd, source, target, msg);
}
if( HPMHooks.count.HP_ircbot_userjoin_post ) {
- void (*postHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*postHookFunc) (int fd, char *cmd, char *source, char *target, char *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_userjoin_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_userjoin_post[hIndex].func;
- postHookFunc(&fd, cmd, source, target, msg);
+ postHookFunc(fd, cmd, source, target, msg);
}
}
return;
@@ -34595,10 +34595,10 @@ void HP_ircbot_userleave(int fd, char *cmd, char *source, char *target, char *ms
HPMHooks.source.ircbot.userleave(fd, cmd, source, target, msg);
}
if( HPMHooks.count.HP_ircbot_userleave_post ) {
- void (*postHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*postHookFunc) (int fd, char *cmd, char *source, char *target, char *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_userleave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_userleave_post[hIndex].func;
- postHookFunc(&fd, cmd, source, target, msg);
+ postHookFunc(fd, cmd, source, target, msg);
}
}
return;
@@ -34621,10 +34621,10 @@ void HP_ircbot_usernick(int fd, char *cmd, char *source, char *target, char *msg
HPMHooks.source.ircbot.usernick(fd, cmd, source, target, msg);
}
if( HPMHooks.count.HP_ircbot_usernick_post ) {
- void (*postHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*postHookFunc) (int fd, char *cmd, char *source, char *target, char *msg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_usernick_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_ircbot_usernick_post[hIndex].func;
- postHookFunc(&fd, cmd, source, target, msg);
+ postHookFunc(fd, cmd, source, target, msg);
}
}
return;
@@ -34648,10 +34648,10 @@ void HP_itemdb_init(bool minimal) {
HPMHooks.source.itemdb.init(minimal);
}
if( HPMHooks.count.HP_itemdb_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -34938,10 +34938,10 @@ int HP_itemdb_search_name_array(struct item_data **data, int size, const char *s
retVal___ = HPMHooks.source.itemdb.search_name_array(data, size, str, flag);
}
if( HPMHooks.count.HP_itemdb_search_name_array_post ) {
- int (*postHookFunc) (int retVal___, struct item_data **data, int *size, const char *str, int *flag);
+ int (*postHookFunc) (int retVal___, struct item_data **data, int size, const char *str, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_search_name_array_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_search_name_array_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, data, &size, str, &flag);
+ retVal___ = postHookFunc(retVal___, data, size, str, flag);
}
}
return retVal___;
@@ -34965,10 +34965,10 @@ struct item_data* HP_itemdb_load(int nameid) {
retVal___ = HPMHooks.source.itemdb.load(nameid);
}
if( HPMHooks.count.HP_itemdb_load_post ) {
- struct item_data* (*postHookFunc) (struct item_data* retVal___, int *nameid);
+ struct item_data* (*postHookFunc) (struct item_data* retVal___, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_load_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_load_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid);
+ retVal___ = postHookFunc(retVal___, nameid);
}
}
return retVal___;
@@ -34992,10 +34992,10 @@ struct item_data* HP_itemdb_search(int nameid) {
retVal___ = HPMHooks.source.itemdb.search(nameid);
}
if( HPMHooks.count.HP_itemdb_search_post ) {
- struct item_data* (*postHookFunc) (struct item_data* retVal___, int *nameid);
+ struct item_data* (*postHookFunc) (struct item_data* retVal___, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid);
+ retVal___ = postHookFunc(retVal___, nameid);
}
}
return retVal___;
@@ -35019,10 +35019,10 @@ struct item_data* HP_itemdb_exists(int nameid) {
retVal___ = HPMHooks.source.itemdb.exists(nameid);
}
if( HPMHooks.count.HP_itemdb_exists_post ) {
- struct item_data* (*postHookFunc) (struct item_data* retVal___, int *nameid);
+ struct item_data* (*postHookFunc) (struct item_data* retVal___, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_exists_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_exists_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid);
+ retVal___ = postHookFunc(retVal___, nameid);
}
}
return retVal___;
@@ -35046,10 +35046,10 @@ bool HP_itemdb_in_group(struct item_group *group, int nameid) {
retVal___ = HPMHooks.source.itemdb.in_group(group, nameid);
}
if( HPMHooks.count.HP_itemdb_in_group_post ) {
- bool (*postHookFunc) (bool retVal___, struct item_group *group, int *nameid);
+ bool (*postHookFunc) (bool retVal___, struct item_group *group, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_in_group_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_in_group_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, group, &nameid);
+ retVal___ = postHookFunc(retVal___, group, nameid);
}
}
return retVal___;
@@ -35100,10 +35100,10 @@ int HP_itemdb_chain_item(unsigned short chain_id, int *rate) {
retVal___ = HPMHooks.source.itemdb.chain_item(chain_id, rate);
}
if( HPMHooks.count.HP_itemdb_chain_item_post ) {
- int (*postHookFunc) (int retVal___, unsigned short *chain_id, int *rate);
+ int (*postHookFunc) (int retVal___, unsigned short chain_id, int *rate);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_chain_item_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_chain_item_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &chain_id, rate);
+ retVal___ = postHookFunc(retVal___, chain_id, rate);
}
}
return retVal___;
@@ -35157,11 +35157,11 @@ int HP_itemdb_searchname_sub(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_itemdb_searchname_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_itemdb_searchname_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_itemdb_searchname_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -35190,11 +35190,11 @@ int HP_itemdb_searchname_array_sub(union DBKey key, struct DBData data, va_list
va_end(ap___copy);
}
if( HPMHooks.count.HP_itemdb_searchname_array_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_itemdb_searchname_array_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_itemdb_searchname_array_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, &data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -35246,10 +35246,10 @@ const char* HP_itemdb_typename(int type) {
retVal___ = HPMHooks.source.itemdb.typename(type);
}
if( HPMHooks.count.HP_itemdb_typename_post ) {
- const char* (*postHookFunc) (const char* retVal___, int *type);
+ const char* (*postHookFunc) (const char* retVal___, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_typename_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_typename_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &type);
+ retVal___ = postHookFunc(retVal___, type);
}
}
return retVal___;
@@ -35272,10 +35272,10 @@ void HP_itemdb_jobmask2mapid(uint64 *bclass, uint64 jobmask) {
HPMHooks.source.itemdb.jobmask2mapid(bclass, jobmask);
}
if( HPMHooks.count.HP_itemdb_jobmask2mapid_post ) {
- void (*postHookFunc) (uint64 *bclass, uint64 *jobmask);
+ void (*postHookFunc) (uint64 *bclass, uint64 jobmask);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_jobmask2mapid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_jobmask2mapid_post[hIndex].func;
- postHookFunc(bclass, &jobmask);
+ postHookFunc(bclass, jobmask);
}
}
return;
@@ -35298,10 +35298,10 @@ void HP_itemdb_jobid2mapid(uint64 *bclass, int job_id, bool enable) {
HPMHooks.source.itemdb.jobid2mapid(bclass, job_id, enable);
}
if( HPMHooks.count.HP_itemdb_jobid2mapid_post ) {
- void (*postHookFunc) (uint64 *bclass, int *job_id, bool *enable);
+ void (*postHookFunc) (uint64 *bclass, int job_id, bool enable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_jobid2mapid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_jobid2mapid_post[hIndex].func;
- postHookFunc(bclass, &job_id, &enable);
+ postHookFunc(bclass, job_id, enable);
}
}
return;
@@ -35351,10 +35351,10 @@ struct item_data* HP_itemdb_create_item_data(int nameid) {
retVal___ = HPMHooks.source.itemdb.create_item_data(nameid);
}
if( HPMHooks.count.HP_itemdb_create_item_data_post ) {
- struct item_data* (*postHookFunc) (struct item_data* retVal___, int *nameid);
+ struct item_data* (*postHookFunc) (struct item_data* retVal___, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_create_item_data_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_create_item_data_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid);
+ retVal___ = postHookFunc(retVal___, nameid);
}
}
return retVal___;
@@ -35378,10 +35378,10 @@ int HP_itemdb_isequip(int nameid) {
retVal___ = HPMHooks.source.itemdb.isequip(nameid);
}
if( HPMHooks.count.HP_itemdb_isequip_post ) {
- int (*postHookFunc) (int retVal___, int *nameid);
+ int (*postHookFunc) (int retVal___, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isequip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_isequip_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid);
+ retVal___ = postHookFunc(retVal___, nameid);
}
}
return retVal___;
@@ -35432,10 +35432,10 @@ int HP_itemdb_isstackable(int nameid) {
retVal___ = HPMHooks.source.itemdb.isstackable(nameid);
}
if( HPMHooks.count.HP_itemdb_isstackable_post ) {
- int (*postHookFunc) (int retVal___, int *nameid);
+ int (*postHookFunc) (int retVal___, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isstackable_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_isstackable_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid);
+ retVal___ = postHookFunc(retVal___, nameid);
}
}
return retVal___;
@@ -35486,10 +35486,10 @@ int HP_itemdb_isdropable_sub(struct item_data *item, int gmlv, int unused) {
retVal___ = HPMHooks.source.itemdb.isdropable_sub(item, gmlv, unused);
}
if( HPMHooks.count.HP_itemdb_isdropable_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int unused);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isdropable_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_isdropable_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &unused);
+ retVal___ = postHookFunc(retVal___, item, gmlv, unused);
}
}
return retVal___;
@@ -35513,10 +35513,10 @@ int HP_itemdb_cantrade_sub(struct item_data *item, int gmlv, int gmlv2) {
retVal___ = HPMHooks.source.itemdb.cantrade_sub(item, gmlv, gmlv2);
}
if( HPMHooks.count.HP_itemdb_cantrade_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *gmlv2);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int gmlv2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_cantrade_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_cantrade_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &gmlv2);
+ retVal___ = postHookFunc(retVal___, item, gmlv, gmlv2);
}
}
return retVal___;
@@ -35540,10 +35540,10 @@ int HP_itemdb_canpartnertrade_sub(struct item_data *item, int gmlv, int gmlv2) {
retVal___ = HPMHooks.source.itemdb.canpartnertrade_sub(item, gmlv, gmlv2);
}
if( HPMHooks.count.HP_itemdb_canpartnertrade_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *gmlv2);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int gmlv2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canpartnertrade_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_canpartnertrade_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &gmlv2);
+ retVal___ = postHookFunc(retVal___, item, gmlv, gmlv2);
}
}
return retVal___;
@@ -35567,10 +35567,10 @@ int HP_itemdb_cansell_sub(struct item_data *item, int gmlv, int unused) {
retVal___ = HPMHooks.source.itemdb.cansell_sub(item, gmlv, unused);
}
if( HPMHooks.count.HP_itemdb_cansell_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int unused);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_cansell_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_cansell_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &unused);
+ retVal___ = postHookFunc(retVal___, item, gmlv, unused);
}
}
return retVal___;
@@ -35594,10 +35594,10 @@ int HP_itemdb_cancartstore_sub(struct item_data *item, int gmlv, int unused) {
retVal___ = HPMHooks.source.itemdb.cancartstore_sub(item, gmlv, unused);
}
if( HPMHooks.count.HP_itemdb_cancartstore_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int unused);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_cancartstore_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_cancartstore_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &unused);
+ retVal___ = postHookFunc(retVal___, item, gmlv, unused);
}
}
return retVal___;
@@ -35621,10 +35621,10 @@ int HP_itemdb_canstore_sub(struct item_data *item, int gmlv, int unused) {
retVal___ = HPMHooks.source.itemdb.canstore_sub(item, gmlv, unused);
}
if( HPMHooks.count.HP_itemdb_canstore_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int unused);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canstore_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_canstore_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &unused);
+ retVal___ = postHookFunc(retVal___, item, gmlv, unused);
}
}
return retVal___;
@@ -35648,10 +35648,10 @@ int HP_itemdb_canguildstore_sub(struct item_data *item, int gmlv, int unused) {
retVal___ = HPMHooks.source.itemdb.canguildstore_sub(item, gmlv, unused);
}
if( HPMHooks.count.HP_itemdb_canguildstore_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int unused);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canguildstore_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_canguildstore_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &unused);
+ retVal___ = postHookFunc(retVal___, item, gmlv, unused);
}
}
return retVal___;
@@ -35675,10 +35675,10 @@ int HP_itemdb_canmail_sub(struct item_data *item, int gmlv, int unused) {
retVal___ = HPMHooks.source.itemdb.canmail_sub(item, gmlv, unused);
}
if( HPMHooks.count.HP_itemdb_canmail_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int unused);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canmail_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_canmail_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &unused);
+ retVal___ = postHookFunc(retVal___, item, gmlv, unused);
}
}
return retVal___;
@@ -35702,10 +35702,10 @@ int HP_itemdb_canauction_sub(struct item_data *item, int gmlv, int unused) {
retVal___ = HPMHooks.source.itemdb.canauction_sub(item, gmlv, unused);
}
if( HPMHooks.count.HP_itemdb_canauction_sub_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *item, int *gmlv, int *unused);
+ int (*postHookFunc) (int retVal___, struct item_data *item, int gmlv, int unused);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canauction_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_canauction_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &unused);
+ retVal___ = postHookFunc(retVal___, item, gmlv, unused);
}
}
return retVal___;
@@ -35729,10 +35729,10 @@ int HP_itemdb_isrestricted(struct item *item, int gmlv, int gmlv2, int ( *func )
retVal___ = HPMHooks.source.itemdb.isrestricted(item, gmlv, gmlv2, func);
}
if( HPMHooks.count.HP_itemdb_isrestricted_post ) {
- int (*postHookFunc) (int retVal___, struct item *item, int *gmlv, int *gmlv2, int ( *func ) (struct item_data *, int, int));
+ int (*postHookFunc) (int retVal___, struct item *item, int gmlv, int gmlv2, int ( *func ) (struct item_data *, int, int));
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isrestricted_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_isrestricted_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, item, &gmlv, &gmlv2, func);
+ retVal___ = postHookFunc(retVal___, item, gmlv, gmlv2, func);
}
}
return retVal___;
@@ -35756,10 +35756,10 @@ int HP_itemdb_isidentified(int nameid) {
retVal___ = HPMHooks.source.itemdb.isidentified(nameid);
}
if( HPMHooks.count.HP_itemdb_isidentified_post ) {
- int (*postHookFunc) (int retVal___, int *nameid);
+ int (*postHookFunc) (int retVal___, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isidentified_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_isidentified_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid);
+ retVal___ = postHookFunc(retVal___, nameid);
}
}
return retVal___;
@@ -35890,10 +35890,10 @@ int HP_itemdb_validate_entry(struct item_data *entry, int n, const char *source)
retVal___ = HPMHooks.source.itemdb.validate_entry(entry, n, source);
}
if( HPMHooks.count.HP_itemdb_validate_entry_post ) {
- int (*postHookFunc) (int retVal___, struct item_data *entry, int *n, const char *source);
+ int (*postHookFunc) (int retVal___, struct item_data *entry, int n, const char *source);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_validate_entry_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_validate_entry_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, entry, &n, source);
+ retVal___ = postHookFunc(retVal___, entry, n, source);
}
}
return retVal___;
@@ -35916,10 +35916,10 @@ void HP_itemdb_readdb_additional_fields(int itemid, struct config_setting_t *it,
HPMHooks.source.itemdb.readdb_additional_fields(itemid, it, n, source);
}
if( HPMHooks.count.HP_itemdb_readdb_additional_fields_post ) {
- void (*postHookFunc) (int *itemid, struct config_setting_t *it, int *n, const char *source);
+ void (*postHookFunc) (int itemid, struct config_setting_t *it, int n, const char *source);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_readdb_additional_fields_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_readdb_additional_fields_post[hIndex].func;
- postHookFunc(&itemid, it, &n, source);
+ postHookFunc(itemid, it, n, source);
}
}
return;
@@ -35969,10 +35969,10 @@ int HP_itemdb_readdb_libconfig_sub(struct config_setting_t *it, int n, const cha
retVal___ = HPMHooks.source.itemdb.readdb_libconfig_sub(it, n, source);
}
if( HPMHooks.count.HP_itemdb_readdb_libconfig_sub_post ) {
- int (*postHookFunc) (int retVal___, struct config_setting_t *it, int *n, const char *source);
+ int (*postHookFunc) (int retVal___, struct config_setting_t *it, int n, const char *source);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_readdb_libconfig_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_readdb_libconfig_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, it, &n, source);
+ retVal___ = postHookFunc(retVal___, it, n, source);
}
}
return retVal___;
@@ -36049,10 +36049,10 @@ void HP_itemdb_read(bool minimal) {
HPMHooks.source.itemdb.read(minimal);
}
if( HPMHooks.count.HP_itemdb_read_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_read_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -36075,10 +36075,10 @@ void HP_itemdb_destroy_item_data(struct item_data *self, int free_self) {
HPMHooks.source.itemdb.destroy_item_data(self, free_self);
}
if( HPMHooks.count.HP_itemdb_destroy_item_data_post ) {
- void (*postHookFunc) (struct item_data *self, int *free_self);
+ void (*postHookFunc) (struct item_data *self, int free_self);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_destroy_item_data_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_destroy_item_data_post[hIndex].func;
- postHookFunc(self, &free_self);
+ postHookFunc(self, free_self);
}
}
return;
@@ -36106,11 +36106,11 @@ int HP_itemdb_final_sub(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_itemdb_final_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_itemdb_final_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_itemdb_final_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -36134,10 +36134,10 @@ void HP_itemdb_clear(bool total) {
HPMHooks.source.itemdb.clear(total);
}
if( HPMHooks.count.HP_itemdb_clear_post ) {
- void (*postHookFunc) (bool *total);
+ void (*postHookFunc) (bool total);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_clear_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_clear_post[hIndex].func;
- postHookFunc(&total);
+ postHookFunc(total);
}
}
return;
@@ -36161,10 +36161,10 @@ struct item_combo* HP_itemdb_id2combo(unsigned short id) {
retVal___ = HPMHooks.source.itemdb.id2combo(id);
}
if( HPMHooks.count.HP_itemdb_id2combo_post ) {
- struct item_combo* (*postHookFunc) (struct item_combo* retVal___, unsigned short *id);
+ struct item_combo* (*postHookFunc) (struct item_combo* retVal___, unsigned short id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_id2combo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_itemdb_id2combo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -36295,10 +36295,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;
@@ -36831,10 +36831,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___;
@@ -36858,10 +36858,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___;
@@ -36885,10 +36885,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___;
@@ -36912,10 +36912,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___;
@@ -36966,10 +36966,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___;
@@ -37020,10 +37020,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___;
@@ -37047,10 +37047,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___;
@@ -37074,10 +37074,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___;
@@ -37101,10 +37101,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___;
@@ -37128,10 +37128,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___;
@@ -37155,10 +37155,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___;
@@ -37182,10 +37182,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___;
@@ -37209,10 +37209,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___;
@@ -37236,10 +37236,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___;
@@ -37263,10 +37263,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___;
@@ -37344,10 +37344,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___;
@@ -37398,10 +37398,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___;
@@ -37452,10 +37452,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___;
@@ -38015,10 +38015,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___;
@@ -38042,10 +38042,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___;
@@ -38069,10 +38069,10 @@ void HP_logs_pick_pc(struct map_session_data *sd, e_log_pick_type type, int amou
HPMHooks.source.logs.pick_pc(sd, type, amount, itm, data);
}
if( HPMHooks.count.HP_logs_pick_pc_post ) {
- void (*postHookFunc) (struct map_session_data *sd, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+ void (*postHookFunc) (struct map_session_data *sd, e_log_pick_type type, int amount, struct item *itm, struct item_data *data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_pick_pc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_pick_pc_post[hIndex].func;
- postHookFunc(sd, &type, &amount, itm, data);
+ postHookFunc(sd, type, amount, itm, data);
}
}
return;
@@ -38095,10 +38095,10 @@ void HP_logs_pick_mob(struct mob_data *md, e_log_pick_type type, int amount, str
HPMHooks.source.logs.pick_mob(md, type, amount, itm, data);
}
if( HPMHooks.count.HP_logs_pick_mob_post ) {
- void (*postHookFunc) (struct mob_data *md, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+ void (*postHookFunc) (struct mob_data *md, e_log_pick_type type, int amount, struct item *itm, struct item_data *data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_pick_mob_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_pick_mob_post[hIndex].func;
- postHookFunc(md, &type, &amount, itm, data);
+ postHookFunc(md, type, amount, itm, data);
}
}
return;
@@ -38121,10 +38121,10 @@ void HP_logs_zeny(struct map_session_data *sd, e_log_pick_type type, struct map_
HPMHooks.source.logs.zeny(sd, type, src_sd, amount);
}
if( HPMHooks.count.HP_logs_zeny_post ) {
- void (*postHookFunc) (struct map_session_data *sd, e_log_pick_type *type, struct map_session_data *src_sd, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, e_log_pick_type type, struct map_session_data *src_sd, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_zeny_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_zeny_post[hIndex].func;
- postHookFunc(sd, &type, src_sd, &amount);
+ postHookFunc(sd, type, src_sd, amount);
}
}
return;
@@ -38173,10 +38173,10 @@ void HP_logs_chat(e_log_chat_type type, int type_id, int src_charid, int src_acc
HPMHooks.source.logs.chat(type, type_id, src_charid, src_accid, mapname, x, y, dst_charname, message);
}
if( HPMHooks.count.HP_logs_chat_post ) {
- void (*postHookFunc) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char *mapname, int *x, int *y, const char *dst_charname, const char *message);
+ void (*postHookFunc) (e_log_chat_type type, int type_id, int src_charid, int src_accid, const char *mapname, int x, int y, const char *dst_charname, const char *message);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_chat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_chat_post[hIndex].func;
- postHookFunc(&type, &type_id, &src_charid, &src_accid, mapname, &x, &y, dst_charname, message);
+ postHookFunc(type, type_id, src_charid, src_accid, mapname, x, y, dst_charname, message);
}
}
return;
@@ -38251,10 +38251,10 @@ void HP_logs_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp)
HPMHooks.source.logs.mvpdrop(sd, monster_id, log_mvp);
}
if( HPMHooks.count.HP_logs_mvpdrop_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *monster_id, int *log_mvp);
+ void (*postHookFunc) (struct map_session_data *sd, int monster_id, int *log_mvp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_mvpdrop_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_mvpdrop_post[hIndex].func;
- postHookFunc(sd, &monster_id, log_mvp);
+ postHookFunc(sd, monster_id, log_mvp);
}
}
return;
@@ -38277,10 +38277,10 @@ void HP_logs_pick_sub(int id, int16 m, e_log_pick_type type, int amount, struct
HPMHooks.source.logs.pick_sub(id, m, type, amount, itm, data);
}
if( HPMHooks.count.HP_logs_pick_sub_post ) {
- void (*postHookFunc) (int *id, int16 *m, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+ void (*postHookFunc) (int id, int16 m, e_log_pick_type type, int amount, struct item *itm, struct item_data *data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_pick_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_pick_sub_post[hIndex].func;
- postHookFunc(&id, &m, &type, &amount, itm, data);
+ postHookFunc(id, m, type, amount, itm, data);
}
}
return;
@@ -38303,10 +38303,10 @@ void HP_logs_zeny_sub(struct map_session_data *sd, e_log_pick_type type, struct
HPMHooks.source.logs.zeny_sub(sd, type, src_sd, amount);
}
if( HPMHooks.count.HP_logs_zeny_sub_post ) {
- void (*postHookFunc) (struct map_session_data *sd, e_log_pick_type *type, struct map_session_data *src_sd, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, e_log_pick_type type, struct map_session_data *src_sd, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_zeny_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_zeny_sub_post[hIndex].func;
- postHookFunc(sd, &type, src_sd, &amount);
+ postHookFunc(sd, type, src_sd, amount);
}
}
return;
@@ -38355,10 +38355,10 @@ void HP_logs_chat_sub(e_log_chat_type type, int type_id, int src_charid, int src
HPMHooks.source.logs.chat_sub(type, type_id, src_charid, src_accid, mapname, x, y, dst_charname, message);
}
if( HPMHooks.count.HP_logs_chat_sub_post ) {
- void (*postHookFunc) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char *mapname, int *x, int *y, const char *dst_charname, const char *message);
+ void (*postHookFunc) (e_log_chat_type type, int type_id, int src_charid, int src_accid, const char *mapname, int x, int y, const char *dst_charname, const char *message);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_chat_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_chat_sub_post[hIndex].func;
- postHookFunc(&type, &type_id, &src_charid, &src_accid, mapname, &x, &y, dst_charname, message);
+ postHookFunc(type, type_id, src_charid, src_accid, mapname, x, y, dst_charname, message);
}
}
return;
@@ -38433,10 +38433,10 @@ void HP_logs_mvpdrop_sub(struct map_session_data *sd, int monster_id, int *log_m
HPMHooks.source.logs.mvpdrop_sub(sd, monster_id, log_mvp);
}
if( HPMHooks.count.HP_logs_mvpdrop_sub_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *monster_id, int *log_mvp);
+ void (*postHookFunc) (struct map_session_data *sd, int monster_id, int *log_mvp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_mvpdrop_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_mvpdrop_sub_post[hIndex].func;
- postHookFunc(sd, &monster_id, log_mvp);
+ postHookFunc(sd, monster_id, log_mvp);
}
}
return;
@@ -38565,10 +38565,10 @@ char HP_logs_picktype2char(e_log_pick_type type) {
retVal___ = HPMHooks.source.logs.picktype2char(type);
}
if( HPMHooks.count.HP_logs_picktype2char_post ) {
- char (*postHookFunc) (char retVal___, e_log_pick_type *type);
+ char (*postHookFunc) (char retVal___, e_log_pick_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_picktype2char_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_picktype2char_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &type);
+ retVal___ = postHookFunc(retVal___, type);
}
}
return retVal___;
@@ -38592,10 +38592,10 @@ char HP_logs_chattype2char(e_log_chat_type type) {
retVal___ = HPMHooks.source.logs.chattype2char(type);
}
if( HPMHooks.count.HP_logs_chattype2char_post ) {
- char (*postHookFunc) (char retVal___, e_log_chat_type *type);
+ char (*postHookFunc) (char retVal___, e_log_chat_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_chattype2char_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_chattype2char_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &type);
+ retVal___ = postHookFunc(retVal___, type);
}
}
return retVal___;
@@ -38619,10 +38619,10 @@ bool HP_logs_should_log_item(int nameid, int amount, int refine, struct item_dat
retVal___ = HPMHooks.source.logs.should_log_item(nameid, amount, refine, id);
}
if( HPMHooks.count.HP_logs_should_log_item_post ) {
- bool (*postHookFunc) (bool retVal___, int *nameid, int *amount, int *refine, struct item_data *id);
+ bool (*postHookFunc) (bool retVal___, int nameid, int amount, int refine, struct item_data *id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_should_log_item_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_logs_should_log_item_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid, &amount, &refine, id);
+ retVal___ = postHookFunc(retVal___, nameid, amount, refine, id);
}
}
return retVal___;
@@ -38673,10 +38673,10 @@ int HP_mail_removeitem(struct map_session_data *sd, short flag) {
retVal___ = HPMHooks.source.mail.removeitem(sd, flag);
}
if( HPMHooks.count.HP_mail_removeitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, short *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, short flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_removeitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mail_removeitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &flag);
+ retVal___ = postHookFunc(retVal___, sd, flag);
}
}
return retVal___;
@@ -38700,10 +38700,10 @@ int HP_mail_removezeny(struct map_session_data *sd, short flag) {
retVal___ = HPMHooks.source.mail.removezeny(sd, flag);
}
if( HPMHooks.count.HP_mail_removezeny_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, short *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, short flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_removezeny_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mail_removezeny_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &flag);
+ retVal___ = postHookFunc(retVal___, sd, flag);
}
}
return retVal___;
@@ -38727,10 +38727,10 @@ unsigned char HP_mail_setitem(struct map_session_data *sd, int idx, int amount)
retVal___ = HPMHooks.source.mail.setitem(sd, idx, amount);
}
if( HPMHooks.count.HP_mail_setitem_post ) {
- unsigned char (*postHookFunc) (unsigned char retVal___, struct map_session_data *sd, int *idx, int *amount);
+ unsigned char (*postHookFunc) (unsigned char retVal___, struct map_session_data *sd, int idx, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_setitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mail_setitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &idx, &amount);
+ retVal___ = postHookFunc(retVal___, sd, idx, amount);
}
}
return retVal___;
@@ -38780,10 +38780,10 @@ void HP_mail_getattachment(struct map_session_data *sd, int zeny, struct item *i
HPMHooks.source.mail.getattachment(sd, zeny, item);
}
if( HPMHooks.count.HP_mail_getattachment_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *zeny, struct item *item);
+ void (*postHookFunc) (struct map_session_data *sd, int zeny, struct item *item);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_getattachment_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mail_getattachment_post[hIndex].func;
- postHookFunc(sd, &zeny, item);
+ postHookFunc(sd, zeny, item);
}
}
return;
@@ -38940,10 +38940,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___;
@@ -38967,10 +38967,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___;
@@ -38994,10 +38994,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___;
@@ -39021,10 +39021,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___;
@@ -39048,10 +39048,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___;
@@ -39075,10 +39075,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___;
@@ -39101,10 +39101,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;
@@ -39286,10 +39286,10 @@ void HP_map_zone_remove(int m) {
HPMHooks.source.map.zone_remove(m);
}
if( HPMHooks.count.HP_map_zone_remove_post ) {
- void (*postHookFunc) (int *m);
+ void (*postHookFunc) (int m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_remove_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_zone_remove_post[hIndex].func;
- postHookFunc(&m);
+ postHookFunc(m);
}
}
return;
@@ -39312,10 +39312,10 @@ void HP_map_zone_apply(int m, struct map_zone_data *zone, const char *start, con
HPMHooks.source.map.zone_apply(m, zone, start, buffer, filepath);
}
if( HPMHooks.count.HP_map_zone_apply_post ) {
- void (*postHookFunc) (int *m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
+ void (*postHookFunc) (int m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_apply_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_zone_apply_post[hIndex].func;
- postHookFunc(&m, zone, start, buffer, filepath);
+ postHookFunc(m, zone, start, buffer, filepath);
}
}
return;
@@ -39338,10 +39338,10 @@ void HP_map_zone_change(int m, struct map_zone_data *zone, const char *start, co
HPMHooks.source.map.zone_change(m, zone, start, buffer, filepath);
}
if( HPMHooks.count.HP_map_zone_change_post ) {
- void (*postHookFunc) (int *m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
+ void (*postHookFunc) (int m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_change_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_zone_change_post[hIndex].func;
- postHookFunc(&m, zone, start, buffer, filepath);
+ postHookFunc(m, zone, start, buffer, filepath);
}
}
return;
@@ -39364,10 +39364,10 @@ void HP_map_zone_change2(int m, struct map_zone_data *zone) {
HPMHooks.source.map.zone_change2(m, zone);
}
if( HPMHooks.count.HP_map_zone_change2_post ) {
- void (*postHookFunc) (int *m, struct map_zone_data *zone);
+ void (*postHookFunc) (int m, struct map_zone_data *zone);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_change2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_zone_change2_post[hIndex].func;
- postHookFunc(&m, zone);
+ postHookFunc(m, zone);
}
}
return;
@@ -39391,10 +39391,10 @@ int HP_map_getcell(int16 m, const struct block_list *bl, int16 x, int16 y, cell_
retVal___ = HPMHooks.source.map.getcell(m, bl, x, y, cellchk);
}
if( HPMHooks.count.HP_map_getcell_post ) {
- int (*postHookFunc) (int retVal___, int16 *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+ int (*postHookFunc) (int retVal___, int16 m, const struct block_list *bl, int16 x, int16 y, cell_chk cellchk);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_getcell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_getcell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, bl, &x, &y, &cellchk);
+ retVal___ = postHookFunc(retVal___, m, bl, x, y, cellchk);
}
}
return retVal___;
@@ -39417,10 +39417,10 @@ void HP_map_setgatcell(int16 m, int16 x, int16 y, int gat) {
HPMHooks.source.map.setgatcell(m, x, y, gat);
}
if( HPMHooks.count.HP_map_setgatcell_post ) {
- void (*postHookFunc) (int16 *m, int16 *x, int16 *y, int *gat);
+ void (*postHookFunc) (int16 m, int16 x, int16 y, int gat);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_setgatcell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_setgatcell_post[hIndex].func;
- postHookFunc(&m, &x, &y, &gat);
+ postHookFunc(m, x, y, gat);
}
}
return;
@@ -39469,10 +39469,10 @@ void HP_map_setusers(int p1) {
HPMHooks.source.map.setusers(p1);
}
if( HPMHooks.count.HP_map_setusers_post ) {
- void (*postHookFunc) (int *p1);
+ void (*postHookFunc) (int p1);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_setusers_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_setusers_post[hIndex].func;
- postHookFunc(&p1);
+ postHookFunc(p1);
}
}
return;
@@ -39685,10 +39685,10 @@ int HP_map_moveblock(struct block_list *bl, int x1, int y1, int64 tick) {
retVal___ = HPMHooks.source.map.moveblock(bl, x1, y1, tick);
}
if( HPMHooks.count.HP_map_moveblock_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *x1, int *y1, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int x1, int y1, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_moveblock_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_moveblock_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &x1, &y1, &tick);
+ retVal___ = postHookFunc(retVal___, bl, x1, y1, tick);
}
}
return retVal___;
@@ -39712,10 +39712,10 @@ int HP_map_count_oncell(int16 m, int16 x, int16 y, int type, int flag) {
retVal___ = HPMHooks.source.map.count_oncell(m, x, y, type, flag);
}
if( HPMHooks.count.HP_map_count_oncell_post ) {
- int (*postHookFunc) (int retVal___, int16 *m, int16 *x, int16 *y, int *type, int *flag);
+ int (*postHookFunc) (int retVal___, int16 m, int16 x, int16 y, int type, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_count_oncell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_count_oncell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, &x, &y, &type, &flag);
+ retVal___ = postHookFunc(retVal___, m, x, y, type, flag);
}
}
return retVal___;
@@ -39739,10 +39739,10 @@ struct skill_unit* HP_map_find_skill_unit_oncell(struct block_list *target, int1
retVal___ = HPMHooks.source.map.find_skill_unit_oncell(target, x, y, skill_id, out_unit, flag);
}
if( HPMHooks.count.HP_map_find_skill_unit_oncell_post ) {
- struct skill_unit* (*postHookFunc) (struct skill_unit* retVal___, struct block_list *target, int16 *x, int16 *y, uint16 *skill_id, struct skill_unit *out_unit, int *flag);
+ struct skill_unit* (*postHookFunc) (struct skill_unit* retVal___, struct block_list *target, int16 x, int16 y, uint16 skill_id, struct skill_unit *out_unit, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_find_skill_unit_oncell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_find_skill_unit_oncell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, target, &x, &y, &skill_id, out_unit, &flag);
+ retVal___ = postHookFunc(retVal___, target, x, y, skill_id, out_unit, flag);
}
}
return retVal___;
@@ -39793,10 +39793,10 @@ int HP_map_search_freecell(struct block_list *src, int16 m, int16 *x, int16 *y,
retVal___ = HPMHooks.source.map.search_freecell(src, m, x, y, rx, ry, flag);
}
if( HPMHooks.count.HP_map_search_freecell_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, int16 *m, int16 *x, int16 *y, int16 *rx, int16 *ry, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, int16 m, int16 *x, int16 *y, int16 rx, int16 ry, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_search_freecell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_search_freecell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &m, x, y, &rx, &ry, &flag);
+ retVal___ = postHookFunc(retVal___, src, m, x, y, rx, ry, flag);
}
}
return retVal___;
@@ -39820,10 +39820,10 @@ bool HP_map_closest_freecell(int16 m, const struct block_list *bl, int16 *x, int
retVal___ = HPMHooks.source.map.closest_freecell(m, bl, x, y, type, flag);
}
if( HPMHooks.count.HP_map_closest_freecell_post ) {
- bool (*postHookFunc) (bool retVal___, int16 *m, const struct block_list *bl, int16 *x, int16 *y, int *type, int *flag);
+ bool (*postHookFunc) (bool retVal___, int16 m, const struct block_list *bl, int16 *x, int16 *y, int type, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_closest_freecell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_closest_freecell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, bl, x, y, &type, &flag);
+ retVal___ = postHookFunc(retVal___, m, bl, x, y, type, flag);
}
}
return retVal___;
@@ -39874,10 +39874,10 @@ bool HP_map_addnpc(int16 m, struct npc_data *nd) {
retVal___ = HPMHooks.source.map.addnpc(m, nd);
}
if( HPMHooks.count.HP_map_addnpc_post ) {
- bool (*postHookFunc) (bool retVal___, int16 *m, struct npc_data *nd);
+ bool (*postHookFunc) (bool retVal___, int16 m, struct npc_data *nd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addnpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_addnpc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, nd);
+ retVal___ = postHookFunc(retVal___, m, nd);
}
}
return retVal___;
@@ -39901,10 +39901,10 @@ int HP_map_clearflooritem_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.map.clearflooritem_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_map_clearflooritem_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_map_clearflooritem_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_clearflooritem_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -39928,10 +39928,10 @@ int HP_map_removemobs_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.map.removemobs_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_map_removemobs_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_map_removemobs_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_removemobs_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -39981,10 +39981,10 @@ int HP_map_addflooritem(const struct block_list *bl, struct item *item_data, int
retVal___ = HPMHooks.source.map.addflooritem(bl, item_data, amount, m, x, y, first_charid, second_charid, third_charid, flags);
}
if( HPMHooks.count.HP_map_addflooritem_post ) {
- int (*postHookFunc) (int retVal___, const struct block_list *bl, struct item *item_data, int *amount, int16 *m, int16 *x, int16 *y, int *first_charid, int *second_charid, int *third_charid, int *flags);
+ int (*postHookFunc) (int retVal___, const struct block_list *bl, struct item *item_data, int amount, int16 m, int16 x, int16 y, int first_charid, int second_charid, int third_charid, int flags);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addflooritem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_addflooritem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, item_data, &amount, &m, &x, &y, &first_charid, &second_charid, &third_charid, &flags);
+ retVal___ = postHookFunc(retVal___, bl, item_data, amount, m, x, y, first_charid, second_charid, third_charid, flags);
}
}
return retVal___;
@@ -40007,10 +40007,10 @@ void HP_map_addnickdb(int charid, const char *nick) {
HPMHooks.source.map.addnickdb(charid, nick);
}
if( HPMHooks.count.HP_map_addnickdb_post ) {
- void (*postHookFunc) (int *charid, const char *nick);
+ void (*postHookFunc) (int charid, const char *nick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addnickdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_addnickdb_post[hIndex].func;
- postHookFunc(&charid, nick);
+ postHookFunc(charid, nick);
}
}
return;
@@ -40033,10 +40033,10 @@ void HP_map_delnickdb(int charid, const char *nick) {
HPMHooks.source.map.delnickdb(charid, nick);
}
if( HPMHooks.count.HP_map_delnickdb_post ) {
- void (*postHookFunc) (int *charid, const char *nick);
+ void (*postHookFunc) (int charid, const char *nick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_delnickdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_delnickdb_post[hIndex].func;
- postHookFunc(&charid, nick);
+ postHookFunc(charid, nick);
}
}
return;
@@ -40059,10 +40059,10 @@ void HP_map_reqnickdb(struct map_session_data *sd, int charid) {
HPMHooks.source.map.reqnickdb(sd, charid);
}
if( HPMHooks.count.HP_map_reqnickdb_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *charid);
+ void (*postHookFunc) (struct map_session_data *sd, int charid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_reqnickdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_reqnickdb_post[hIndex].func;
- postHookFunc(sd, &charid);
+ postHookFunc(sd, charid);
}
}
return;
@@ -40086,10 +40086,10 @@ const char* HP_map_charid2nick(int charid) {
retVal___ = HPMHooks.source.map.charid2nick(charid);
}
if( HPMHooks.count.HP_map_charid2nick_post ) {
- const char* (*postHookFunc) (const char* retVal___, int *charid);
+ const char* (*postHookFunc) (const char* retVal___, int charid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_charid2nick_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_charid2nick_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &charid);
+ retVal___ = postHookFunc(retVal___, charid);
}
}
return retVal___;
@@ -40113,10 +40113,10 @@ struct map_session_data* HP_map_charid2sd(int charid) {
retVal___ = HPMHooks.source.map.charid2sd(charid);
}
if( HPMHooks.count.HP_map_charid2sd_post ) {
- struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, int *charid);
+ struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, int charid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_charid2sd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_charid2sd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &charid);
+ retVal___ = postHookFunc(retVal___, charid);
}
}
return retVal___;
@@ -40304,11 +40304,11 @@ int HP_map_vforeachinrange(int ( *func ) (struct block_list *, va_list), struct
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforeachinrange_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 range, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinrange_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforeachinrange_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, center, &range, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, center, range, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40337,11 +40337,11 @@ int HP_map_vforeachinshootrange(int ( *func ) (struct block_list *, va_list), st
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforeachinshootrange_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 range, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinshootrange_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforeachinshootrange_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, center, &range, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, center, range, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40370,11 +40370,11 @@ int HP_map_vforeachinarea(int ( *func ) (struct block_list *, va_list), int16 m,
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforeachinarea_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinarea_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforeachinarea_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, &m, &x0, &y0, &x1, &y1, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, m, x0, y0, x1, y1, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40403,11 +40403,11 @@ int HP_map_vforcountinrange(int ( *func ) (struct block_list *, va_list), struct
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforcountinrange_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *count, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 range, int count, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforcountinrange_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforcountinrange_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, center, &range, &count, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, center, range, count, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40436,11 +40436,11 @@ int HP_map_vforcountinarea(int ( *func ) (struct block_list *, va_list), int16 m
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforcountinarea_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *count, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int count, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforcountinarea_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforcountinarea_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, &m, &x0, &y0, &x1, &y1, &count, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, m, x0, y0, x1, y1, count, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40469,11 +40469,11 @@ int HP_map_vforeachinmovearea(int ( *func ) (struct block_list *, va_list), stru
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforeachinmovearea_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int16 *dx, int16 *dy, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 range, int16 dx, int16 dy, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinmovearea_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforeachinmovearea_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, center, &range, &dx, &dy, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, center, range, dx, dy, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40502,11 +40502,11 @@ int HP_map_vforeachincell(int ( *func ) (struct block_list *, va_list), int16 m,
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforeachincell_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x, int16 *y, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int16 x, int16 y, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachincell_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforeachincell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, &m, &x, &y, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, m, x, y, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40535,11 +40535,11 @@ int HP_map_vforeachinpath(int ( *func ) (struct block_list *, va_list), int16 m,
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforeachinpath_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int16 *range, int *length, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int16 range, int length, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinpath_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforeachinpath_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, &m, &x0, &y0, &x1, &y1, &range, &length, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, m, x0, y0, x1, y1, range, length, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40568,11 +40568,11 @@ int HP_map_vforeachinmap(int ( *func ) (struct block_list *, va_list), int16 m,
va_end(args___copy);
}
if( HPMHooks.count.HP_map_vforeachinmap_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *m, int *type, va_list args);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 m, int type, va_list args);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinmap_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_map_vforeachinmap_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, &m, &type, args___copy);
+ retVal___ = postHookFunc(retVal___, func, m, type, args___copy);
va_end(args___copy);
}
}
@@ -40601,11 +40601,11 @@ int HP_map_vforeachininstance(int ( *func ) (struct block_list *, va_list), int1
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_vforeachininstance_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 *instance_id, int *type, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), int16 instance_id, int type, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachininstance_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_vforeachininstance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, &instance_id, &type, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, instance_id, type, ap___copy);
va_end(ap___copy);
}
}
@@ -40630,10 +40630,10 @@ struct map_session_data* HP_map_id2sd(int id) {
retVal___ = HPMHooks.source.map.id2sd(id);
}
if( HPMHooks.count.HP_map_id2sd_post ) {
- struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, int *id);
+ struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2sd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2sd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40657,10 +40657,10 @@ struct npc_data* HP_map_id2nd(int id) {
retVal___ = HPMHooks.source.map.id2nd(id);
}
if( HPMHooks.count.HP_map_id2nd_post ) {
- struct npc_data* (*postHookFunc) (struct npc_data* retVal___, int *id);
+ struct npc_data* (*postHookFunc) (struct npc_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2nd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2nd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40684,10 +40684,10 @@ struct mob_data* HP_map_id2md(int id) {
retVal___ = HPMHooks.source.map.id2md(id);
}
if( HPMHooks.count.HP_map_id2md_post ) {
- struct mob_data* (*postHookFunc) (struct mob_data* retVal___, int *id);
+ struct mob_data* (*postHookFunc) (struct mob_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2md_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2md_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40711,10 +40711,10 @@ struct flooritem_data* HP_map_id2fi(int id) {
retVal___ = HPMHooks.source.map.id2fi(id);
}
if( HPMHooks.count.HP_map_id2fi_post ) {
- struct flooritem_data* (*postHookFunc) (struct flooritem_data* retVal___, int *id);
+ struct flooritem_data* (*postHookFunc) (struct flooritem_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2fi_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2fi_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40738,10 +40738,10 @@ struct chat_data* HP_map_id2cd(int id) {
retVal___ = HPMHooks.source.map.id2cd(id);
}
if( HPMHooks.count.HP_map_id2cd_post ) {
- struct chat_data* (*postHookFunc) (struct chat_data* retVal___, int *id);
+ struct chat_data* (*postHookFunc) (struct chat_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2cd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2cd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40765,10 +40765,10 @@ struct skill_unit* HP_map_id2su(int id) {
retVal___ = HPMHooks.source.map.id2su(id);
}
if( HPMHooks.count.HP_map_id2su_post ) {
- struct skill_unit* (*postHookFunc) (struct skill_unit* retVal___, int *id);
+ struct skill_unit* (*postHookFunc) (struct skill_unit* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2su_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2su_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40792,10 +40792,10 @@ struct pet_data* HP_map_id2pd(int id) {
retVal___ = HPMHooks.source.map.id2pd(id);
}
if( HPMHooks.count.HP_map_id2pd_post ) {
- struct pet_data* (*postHookFunc) (struct pet_data* retVal___, int *id);
+ struct pet_data* (*postHookFunc) (struct pet_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2pd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2pd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40819,10 +40819,10 @@ struct homun_data* HP_map_id2hd(int id) {
retVal___ = HPMHooks.source.map.id2hd(id);
}
if( HPMHooks.count.HP_map_id2hd_post ) {
- struct homun_data* (*postHookFunc) (struct homun_data* retVal___, int *id);
+ struct homun_data* (*postHookFunc) (struct homun_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2hd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2hd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40846,10 +40846,10 @@ struct mercenary_data* HP_map_id2mc(int id) {
retVal___ = HPMHooks.source.map.id2mc(id);
}
if( HPMHooks.count.HP_map_id2mc_post ) {
- struct mercenary_data* (*postHookFunc) (struct mercenary_data* retVal___, int *id);
+ struct mercenary_data* (*postHookFunc) (struct mercenary_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2mc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2mc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40873,10 +40873,10 @@ struct elemental_data* HP_map_id2ed(int id) {
retVal___ = HPMHooks.source.map.id2ed(id);
}
if( HPMHooks.count.HP_map_id2ed_post ) {
- struct elemental_data* (*postHookFunc) (struct elemental_data* retVal___, int *id);
+ struct elemental_data* (*postHookFunc) (struct elemental_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2ed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2ed_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40900,10 +40900,10 @@ struct block_list* HP_map_id2bl(int id) {
retVal___ = HPMHooks.source.map.id2bl(id);
}
if( HPMHooks.count.HP_map_id2bl_post ) {
- struct block_list* (*postHookFunc) (struct block_list* retVal___, int *id);
+ struct block_list* (*postHookFunc) (struct block_list* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2bl_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2bl_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40927,10 +40927,10 @@ bool HP_map_blid_exists(int id) {
retVal___ = HPMHooks.source.map.blid_exists(id);
}
if( HPMHooks.count.HP_map_blid_exists_post ) {
- bool (*postHookFunc) (bool retVal___, int *id);
+ bool (*postHookFunc) (bool retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_blid_exists_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_blid_exists_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -40954,10 +40954,10 @@ int16 HP_map_mapindex2mapid(unsigned short map_index) {
retVal___ = HPMHooks.source.map.mapindex2mapid(map_index);
}
if( HPMHooks.count.HP_map_mapindex2mapid_post ) {
- int16 (*postHookFunc) (int16 retVal___, unsigned short *map_index);
+ int16 (*postHookFunc) (int16 retVal___, unsigned short map_index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_mapindex2mapid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_mapindex2mapid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &map_index);
+ retVal___ = postHookFunc(retVal___, map_index);
}
}
return retVal___;
@@ -41008,10 +41008,10 @@ int HP_map_mapname2ipport(unsigned short name, uint32 *ip, uint16 *port) {
retVal___ = HPMHooks.source.map.mapname2ipport(name, ip, port);
}
if( HPMHooks.count.HP_map_mapname2ipport_post ) {
- int (*postHookFunc) (int retVal___, unsigned short *name, uint32 *ip, uint16 *port);
+ int (*postHookFunc) (int retVal___, unsigned short name, uint32 *ip, uint16 *port);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_mapname2ipport_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_mapname2ipport_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &name, ip, port);
+ retVal___ = postHookFunc(retVal___, name, ip, port);
}
}
return retVal___;
@@ -41035,10 +41035,10 @@ int HP_map_setipport(unsigned short map_index, uint32 ip, uint16 port) {
retVal___ = HPMHooks.source.map.setipport(map_index, ip, port);
}
if( HPMHooks.count.HP_map_setipport_post ) {
- int (*postHookFunc) (int retVal___, unsigned short *map_index, uint32 *ip, uint16 *port);
+ int (*postHookFunc) (int retVal___, unsigned short map_index, uint32 ip, uint16 port);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_setipport_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_setipport_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &map_index, &ip, &port);
+ retVal___ = postHookFunc(retVal___, map_index, ip, port);
}
}
return retVal___;
@@ -41062,10 +41062,10 @@ int HP_map_eraseipport(unsigned short map_index, uint32 ip, uint16 port) {
retVal___ = HPMHooks.source.map.eraseipport(map_index, ip, port);
}
if( HPMHooks.count.HP_map_eraseipport_post ) {
- int (*postHookFunc) (int retVal___, unsigned short *map_index, uint32 *ip, uint16 *port);
+ int (*postHookFunc) (int retVal___, unsigned short map_index, uint32 ip, uint16 port);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_eraseipport_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_eraseipport_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &map_index, &ip, &port);
+ retVal___ = postHookFunc(retVal___, map_index, ip, port);
}
}
return retVal___;
@@ -41195,10 +41195,10 @@ struct mob_data* HP_map_getmob_boss(int16 m) {
retVal___ = HPMHooks.source.map.getmob_boss(m);
}
if( HPMHooks.count.HP_map_getmob_boss_post ) {
- struct mob_data* (*postHookFunc) (struct mob_data* retVal___, int16 *m);
+ struct mob_data* (*postHookFunc) (struct mob_data* retVal___, int16 m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_getmob_boss_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_getmob_boss_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m);
+ retVal___ = postHookFunc(retVal___, m);
}
}
return retVal___;
@@ -41222,10 +41222,10 @@ struct mob_data* HP_map_id2boss(int id) {
retVal___ = HPMHooks.source.map.id2boss(id);
}
if( HPMHooks.count.HP_map_id2boss_post ) {
- struct mob_data* (*postHookFunc) (struct mob_data* retVal___, int *id);
+ struct mob_data* (*postHookFunc) (struct mob_data* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_id2boss_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_id2boss_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -41249,10 +41249,10 @@ uint32 HP_map_race_id2mask(int race) {
retVal___ = HPMHooks.source.map.race_id2mask(race);
}
if( HPMHooks.count.HP_map_race_id2mask_post ) {
- uint32 (*postHookFunc) (uint32 retVal___, int *race);
+ uint32 (*postHookFunc) (uint32 retVal___, int race);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_race_id2mask_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_race_id2mask_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &race);
+ retVal___ = postHookFunc(retVal___, race);
}
}
return retVal___;
@@ -41275,10 +41275,10 @@ void HP_map_reloadnpc(bool clear) {
HPMHooks.source.map.reloadnpc(clear);
}
if( HPMHooks.count.HP_map_reloadnpc_post ) {
- void (*postHookFunc) (bool *clear);
+ void (*postHookFunc) (bool clear);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_reloadnpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_reloadnpc_post[hIndex].func;
- postHookFunc(&clear);
+ postHookFunc(clear);
}
}
return;
@@ -41302,10 +41302,10 @@ int HP_map_check_dir(int s_dir, int t_dir) {
retVal___ = HPMHooks.source.map.check_dir(s_dir, t_dir);
}
if( HPMHooks.count.HP_map_check_dir_post ) {
- int (*postHookFunc) (int retVal___, int *s_dir, int *t_dir);
+ int (*postHookFunc) (int retVal___, int s_dir, int t_dir);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_check_dir_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_check_dir_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &s_dir, &t_dir);
+ retVal___ = postHookFunc(retVal___, s_dir, t_dir);
}
}
return retVal___;
@@ -41329,10 +41329,10 @@ uint8 HP_map_calc_dir(struct block_list *src, int16 x, int16 y) {
retVal___ = HPMHooks.source.map.calc_dir(src, x, y);
}
if( HPMHooks.count.HP_map_calc_dir_post ) {
- uint8 (*postHookFunc) (uint8 retVal___, struct block_list *src, int16 *x, int16 *y);
+ uint8 (*postHookFunc) (uint8 retVal___, struct block_list *src, int16 x, int16 y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_calc_dir_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_calc_dir_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &x, &y);
+ retVal___ = postHookFunc(retVal___, src, x, y);
}
}
return retVal___;
@@ -41469,10 +41469,10 @@ bool HP_map_iwall_set(int16 m, int16 x, int16 y, int size, int8 dir, bool shoota
retVal___ = HPMHooks.source.map.iwall_set(m, x, y, size, dir, shootable, wall_name);
}
if( HPMHooks.count.HP_map_iwall_set_post ) {
- bool (*postHookFunc) (bool retVal___, int16 *m, int16 *x, int16 *y, int *size, int8 *dir, bool *shootable, const char *wall_name);
+ bool (*postHookFunc) (bool retVal___, int16 m, int16 x, int16 y, int size, int8 dir, bool shootable, const char *wall_name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_iwall_set_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_iwall_set_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, &x, &y, &size, &dir, &shootable, wall_name);
+ retVal___ = postHookFunc(retVal___, m, x, y, size, dir, shootable, wall_name);
}
}
return retVal___;
@@ -41548,10 +41548,10 @@ int HP_map_addmobtolist(unsigned short m, struct spawn_data *spawn) {
retVal___ = HPMHooks.source.map.addmobtolist(m, spawn);
}
if( HPMHooks.count.HP_map_addmobtolist_post ) {
- int (*postHookFunc) (int retVal___, unsigned short *m, struct spawn_data *spawn);
+ int (*postHookFunc) (int retVal___, unsigned short m, struct spawn_data *spawn);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addmobtolist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_addmobtolist_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, spawn);
+ retVal___ = postHookFunc(retVal___, m, spawn);
}
}
return retVal___;
@@ -41574,10 +41574,10 @@ void HP_map_spawnmobs(int16 m) {
HPMHooks.source.map.spawnmobs(m);
}
if( HPMHooks.count.HP_map_spawnmobs_post ) {
- void (*postHookFunc) (int16 *m);
+ void (*postHookFunc) (int16 m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_spawnmobs_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_spawnmobs_post[hIndex].func;
- postHookFunc(&m);
+ postHookFunc(m);
}
}
return;
@@ -41600,10 +41600,10 @@ void HP_map_removemobs(int16 m) {
HPMHooks.source.map.removemobs(m);
}
if( HPMHooks.count.HP_map_removemobs_post ) {
- void (*postHookFunc) (int16 *m);
+ void (*postHookFunc) (int16 m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_removemobs_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_removemobs_post[hIndex].func;
- postHookFunc(&m);
+ postHookFunc(m);
}
}
return;
@@ -41678,10 +41678,10 @@ void HP_map_clean(int i) {
HPMHooks.source.map.clean(i);
}
if( HPMHooks.count.HP_map_clean_post ) {
- void (*postHookFunc) (int *i);
+ void (*postHookFunc) (int i);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_clean_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_clean_post[hIndex].func;
- postHookFunc(&i);
+ postHookFunc(i);
}
}
return;
@@ -41731,10 +41731,10 @@ int HP_map_freeblock_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.map.freeblock_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_map_freeblock_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_map_freeblock_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_freeblock_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -41758,10 +41758,10 @@ int HP_map_searchrandfreecell(int16 m, const struct block_list *bl, int16 *x, in
retVal___ = HPMHooks.source.map.searchrandfreecell(m, bl, x, y, stack);
}
if( HPMHooks.count.HP_map_searchrandfreecell_post ) {
- int (*postHookFunc) (int retVal___, int16 *m, const struct block_list *bl, int16 *x, int16 *y, int *stack);
+ int (*postHookFunc) (int retVal___, int16 m, const struct block_list *bl, int16 *x, int16 *y, int stack);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_searchrandfreecell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_searchrandfreecell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, bl, x, y, &stack);
+ retVal___ = postHookFunc(retVal___, m, bl, x, y, stack);
}
}
return retVal___;
@@ -41822,11 +41822,11 @@ struct DBData HP_map_create_charid2nick(union DBKey key, va_list args) {
va_end(args___copy);
}
if( HPMHooks.count.HP_map_create_charid2nick_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_map_create_charid2nick_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_map_create_charid2nick_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, args___copy);
+ retVal___ = postHookFunc(retVal___, key, args___copy);
va_end(args___copy);
}
}
@@ -41884,10 +41884,10 @@ struct mapcell HP_map_gat2cell(int gat) {
retVal___ = HPMHooks.source.map.gat2cell(gat);
}
if( HPMHooks.count.HP_map_gat2cell_post ) {
- struct mapcell (*postHookFunc) (struct mapcell retVal___, int *gat);
+ struct mapcell (*postHookFunc) (struct mapcell retVal___, int gat);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_gat2cell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_gat2cell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &gat);
+ retVal___ = postHookFunc(retVal___, gat);
}
}
return retVal___;
@@ -41911,10 +41911,10 @@ int HP_map_cell2gat(struct mapcell cell) {
retVal___ = HPMHooks.source.map.cell2gat(cell);
}
if( HPMHooks.count.HP_map_cell2gat_post ) {
- int (*postHookFunc) (int retVal___, struct mapcell *cell);
+ int (*postHookFunc) (int retVal___, struct mapcell cell);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_cell2gat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_cell2gat_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &cell);
+ retVal___ = postHookFunc(retVal___, cell);
}
}
return retVal___;
@@ -41938,10 +41938,10 @@ int HP_map_getcellp(struct map_data *m, const struct block_list *bl, int16 x, in
retVal___ = HPMHooks.source.map.getcellp(m, bl, x, y, cellchk);
}
if( HPMHooks.count.HP_map_getcellp_post ) {
- int (*postHookFunc) (int retVal___, struct map_data *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+ int (*postHookFunc) (int retVal___, struct map_data *m, const struct block_list *bl, int16 x, int16 y, cell_chk cellchk);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_getcellp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_getcellp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, m, bl, &x, &y, &cellchk);
+ retVal___ = postHookFunc(retVal___, m, bl, x, y, cellchk);
}
}
return retVal___;
@@ -41964,10 +41964,10 @@ void HP_map_setcell(int16 m, int16 x, int16 y, cell_t cell, bool flag) {
HPMHooks.source.map.setcell(m, x, y, cell, flag);
}
if( HPMHooks.count.HP_map_setcell_post ) {
- void (*postHookFunc) (int16 *m, int16 *x, int16 *y, cell_t *cell, bool *flag);
+ void (*postHookFunc) (int16 m, int16 x, int16 y, cell_t cell, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_setcell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_setcell_post[hIndex].func;
- postHookFunc(&m, &x, &y, &cell, &flag);
+ postHookFunc(m, x, y, cell, flag);
}
}
return;
@@ -41991,10 +41991,10 @@ int HP_map_sub_getcellp(struct map_data *m, const struct block_list *bl, int16 x
retVal___ = HPMHooks.source.map.sub_getcellp(m, bl, x, y, cellchk);
}
if( HPMHooks.count.HP_map_sub_getcellp_post ) {
- int (*postHookFunc) (int retVal___, struct map_data *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+ int (*postHookFunc) (int retVal___, struct map_data *m, const struct block_list *bl, int16 x, int16 y, cell_chk cellchk);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_sub_getcellp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_sub_getcellp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, m, bl, &x, &y, &cellchk);
+ retVal___ = postHookFunc(retVal___, m, bl, x, y, cellchk);
}
}
return retVal___;
@@ -42017,10 +42017,10 @@ void HP_map_sub_setcell(int16 m, int16 x, int16 y, cell_t cell, bool flag) {
HPMHooks.source.map.sub_setcell(m, x, y, cell, flag);
}
if( HPMHooks.count.HP_map_sub_setcell_post ) {
- void (*postHookFunc) (int16 *m, int16 *x, int16 *y, cell_t *cell, bool *flag);
+ void (*postHookFunc) (int16 m, int16 x, int16 y, cell_t cell, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_sub_setcell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_sub_setcell_post[hIndex].func;
- postHookFunc(&m, &x, &y, &cell, &flag);
+ postHookFunc(m, x, y, cell, flag);
}
}
return;
@@ -42043,10 +42043,10 @@ void HP_map_iwall_nextxy(int16 x, int16 y, int8 dir, int pos, int16 *x1, int16 *
HPMHooks.source.map.iwall_nextxy(x, y, dir, pos, x1, y1);
}
if( HPMHooks.count.HP_map_iwall_nextxy_post ) {
- void (*postHookFunc) (int16 *x, int16 *y, int8 *dir, int *pos, int16 *x1, int16 *y1);
+ void (*postHookFunc) (int16 x, int16 y, int8 dir, int pos, int16 *x1, int16 *y1);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_iwall_nextxy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_iwall_nextxy_post[hIndex].func;
- postHookFunc(&x, &y, &dir, &pos, x1, y1);
+ postHookFunc(x, y, dir, pos, x1, y1);
}
}
return;
@@ -42074,11 +42074,11 @@ struct DBData HP_map_create_map_data_other_server(union DBKey key, va_list args)
va_end(args___copy);
}
if( HPMHooks.count.HP_map_create_map_data_other_server_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_map_create_map_data_other_server_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_map_create_map_data_other_server_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, args___copy);
+ retVal___ = postHookFunc(retVal___, key, args___copy);
va_end(args___copy);
}
}
@@ -42107,11 +42107,11 @@ int HP_map_eraseallipport_sub(union DBKey key, struct DBData *data, va_list va)
va_end(va___copy);
}
if( HPMHooks.count.HP_map_eraseallipport_sub_post ) {
- int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list va);
+ int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list va);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_eraseallipport_sub_post; hIndex++ ) {
va_list va___copy; va_copy(va___copy, va);
postHookFunc = HPMHooks.list.HP_map_eraseallipport_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, va___copy);
+ retVal___ = postHookFunc(retVal___, key, data, va___copy);
va_end(va___copy);
}
}
@@ -42216,10 +42216,10 @@ void HP_map_delmapid(int id) {
HPMHooks.source.map.delmapid(id);
}
if( HPMHooks.count.HP_map_delmapid_post ) {
- void (*postHookFunc) (int *id);
+ void (*postHookFunc) (int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_delmapid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_delmapid_post[hIndex].func;
- postHookFunc(&id);
+ postHookFunc(id);
}
}
return;
@@ -42537,10 +42537,10 @@ bool HP_map_zone_mf_cache(int m, char *flag, char *params) {
retVal___ = HPMHooks.source.map.zone_mf_cache(m, flag, params);
}
if( HPMHooks.count.HP_map_zone_mf_cache_post ) {
- bool (*postHookFunc) (bool retVal___, int *m, char *flag, char *params);
+ bool (*postHookFunc) (bool retVal___, int m, char *flag, char *params);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_mf_cache_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_zone_mf_cache_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, flag, params);
+ retVal___ = postHookFunc(retVal___, m, flag, params);
}
}
return retVal___;
@@ -42675,11 +42675,11 @@ int HP_map_db_final(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_map_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_map_db_final_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_map_db_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -42708,11 +42708,11 @@ int HP_map_nick_db_final(union DBKey key, struct DBData *data, va_list args) {
va_end(args___copy);
}
if( HPMHooks.count.HP_map_nick_db_final_post ) {
- int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list args);
+ int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list args);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_nick_db_final_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_map_nick_db_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, args___copy);
+ retVal___ = postHookFunc(retVal___, key, data, args___copy);
va_end(args___copy);
}
}
@@ -42741,11 +42741,11 @@ int HP_map_cleanup_db_sub(union DBKey key, struct DBData *data, va_list va) {
va_end(va___copy);
}
if( HPMHooks.count.HP_map_cleanup_db_sub_post ) {
- int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list va);
+ int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list va);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_cleanup_db_sub_post; hIndex++ ) {
va_list va___copy; va_copy(va___copy, va);
postHookFunc = HPMHooks.list.HP_map_cleanup_db_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, va___copy);
+ retVal___ = postHookFunc(retVal___, key, data, va___copy);
va_end(va___copy);
}
}
@@ -42802,10 +42802,10 @@ void HP_map_update_cell_bl(struct block_list *bl, bool increase) {
HPMHooks.source.map.update_cell_bl(bl, increase);
}
if( HPMHooks.count.HP_map_update_cell_bl_post ) {
- void (*postHookFunc) (struct block_list *bl, bool *increase);
+ void (*postHookFunc) (struct block_list *bl, bool increase);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_update_cell_bl_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_update_cell_bl_post[hIndex].func;
- postHookFunc(bl, &increase);
+ postHookFunc(bl, increase);
}
}
return;
@@ -42855,10 +42855,10 @@ void HP_map_add_questinfo(int m, struct questinfo *qi) {
HPMHooks.source.map.add_questinfo(m, qi);
}
if( HPMHooks.count.HP_map_add_questinfo_post ) {
- void (*postHookFunc) (int *m, struct questinfo *qi);
+ void (*postHookFunc) (int m, struct questinfo *qi);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_add_questinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_add_questinfo_post[hIndex].func;
- postHookFunc(&m, qi);
+ postHookFunc(m, qi);
}
}
return;
@@ -42882,10 +42882,10 @@ bool HP_map_remove_questinfo(int m, struct npc_data *nd) {
retVal___ = HPMHooks.source.map.remove_questinfo(m, nd);
}
if( HPMHooks.count.HP_map_remove_questinfo_post ) {
- bool (*postHookFunc) (bool retVal___, int *m, struct npc_data *nd);
+ bool (*postHookFunc) (bool retVal___, int m, struct npc_data *nd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_remove_questinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_remove_questinfo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &m, nd);
+ retVal___ = postHookFunc(retVal___, m, nd);
}
}
return retVal___;
@@ -43016,10 +43016,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___;
@@ -43042,10 +43042,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;
@@ -43150,10 +43150,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___;
@@ -43205,10 +43205,10 @@ struct s_mapiterator* HP_mapit_alloc(enum e_mapitflags flags, enum bl_type types
retVal___ = HPMHooks.source.mapit.alloc(flags, types);
}
if( HPMHooks.count.HP_mapit_alloc_post ) {
- struct s_mapiterator* (*postHookFunc) (struct s_mapiterator* retVal___, enum e_mapitflags *flags, enum bl_type *types);
+ struct s_mapiterator* (*postHookFunc) (struct s_mapiterator* retVal___, enum e_mapitflags flags, enum bl_type types);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapit_alloc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mapit_alloc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &flags, &types);
+ retVal___ = postHookFunc(retVal___, flags, types);
}
}
return retVal___;
@@ -43446,10 +43446,10 @@ int HP_mapreg_readreg(int64 uid) {
retVal___ = HPMHooks.source.mapreg.readreg(uid);
}
if( HPMHooks.count.HP_mapreg_readreg_post ) {
- int (*postHookFunc) (int retVal___, int64 *uid);
+ int (*postHookFunc) (int retVal___, int64 uid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapreg_readreg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mapreg_readreg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &uid);
+ retVal___ = postHookFunc(retVal___, uid);
}
}
return retVal___;
@@ -43473,10 +43473,10 @@ char* HP_mapreg_readregstr(int64 uid) {
retVal___ = HPMHooks.source.mapreg.readregstr(uid);
}
if( HPMHooks.count.HP_mapreg_readregstr_post ) {
- char* (*postHookFunc) (char* retVal___, int64 *uid);
+ char* (*postHookFunc) (char* retVal___, int64 uid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapreg_readregstr_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mapreg_readregstr_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &uid);
+ retVal___ = postHookFunc(retVal___, uid);
}
}
return retVal___;
@@ -43500,10 +43500,10 @@ bool HP_mapreg_setreg(int64 uid, int val) {
retVal___ = HPMHooks.source.mapreg.setreg(uid, val);
}
if( HPMHooks.count.HP_mapreg_setreg_post ) {
- bool (*postHookFunc) (bool retVal___, int64 *uid, int *val);
+ bool (*postHookFunc) (bool retVal___, int64 uid, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapreg_setreg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mapreg_setreg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &uid, &val);
+ retVal___ = postHookFunc(retVal___, uid, val);
}
}
return retVal___;
@@ -43527,10 +43527,10 @@ bool HP_mapreg_setregstr(int64 uid, const char *str) {
retVal___ = HPMHooks.source.mapreg.setregstr(uid, str);
}
if( HPMHooks.count.HP_mapreg_setregstr_post ) {
- bool (*postHookFunc) (bool retVal___, int64 *uid, const char *str);
+ bool (*postHookFunc) (bool retVal___, int64 uid, const char *str);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapreg_setregstr_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mapreg_setregstr_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &uid, str);
+ retVal___ = postHookFunc(retVal___, uid, str);
}
}
return retVal___;
@@ -43606,10 +43606,10 @@ int HP_mapreg_save_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.mapreg.save_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_mapreg_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_mapreg_save_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mapreg_save_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -43637,11 +43637,11 @@ int HP_mapreg_destroyreg(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_mapreg_destroyreg_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_mapreg_destroyreg_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_mapreg_destroyreg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -43719,10 +43719,10 @@ void HP_mercenary_init(bool minimal) {
HPMHooks.source.mercenary.init(minimal);
}
if( HPMHooks.count.HP_mercenary_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -43746,10 +43746,10 @@ bool HP_mercenary_class(int class_) {
retVal___ = HPMHooks.source.mercenary.class(class_);
}
if( HPMHooks.count.HP_mercenary_class_post ) {
- bool (*postHookFunc) (bool retVal___, int *class_);
+ bool (*postHookFunc) (bool retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_class_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_class_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -43773,10 +43773,10 @@ struct view_data* HP_mercenary_get_viewdata(int class_) {
retVal___ = HPMHooks.source.mercenary.get_viewdata(class_);
}
if( HPMHooks.count.HP_mercenary_get_viewdata_post ) {
- struct view_data* (*postHookFunc) (struct view_data* retVal___, int *class_);
+ struct view_data* (*postHookFunc) (struct view_data* retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_get_viewdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_get_viewdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -43800,10 +43800,10 @@ int HP_mercenary_create(struct map_session_data *sd, int class_, unsigned int li
retVal___ = HPMHooks.source.mercenary.create(sd, class_, lifetime);
}
if( HPMHooks.count.HP_mercenary_create_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *class_, unsigned int *lifetime);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int class_, unsigned int lifetime);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &class_, &lifetime);
+ retVal___ = postHookFunc(retVal___, sd, class_, lifetime);
}
}
return retVal___;
@@ -43827,10 +43827,10 @@ int HP_mercenary_data_received(const struct s_mercenary *merc, bool flag) {
retVal___ = HPMHooks.source.mercenary.data_received(merc, flag);
}
if( HPMHooks.count.HP_mercenary_data_received_post ) {
- int (*postHookFunc) (int retVal___, const struct s_mercenary *merc, bool *flag);
+ int (*postHookFunc) (int retVal___, const struct s_mercenary *merc, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_data_received_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_data_received_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, merc, &flag);
+ retVal___ = postHookFunc(retVal___, merc, flag);
}
}
return retVal___;
@@ -43880,10 +43880,10 @@ void HP_mercenary_heal(struct mercenary_data *md, int hp, int sp) {
HPMHooks.source.mercenary.heal(md, hp, sp);
}
if( HPMHooks.count.HP_mercenary_heal_post ) {
- void (*postHookFunc) (struct mercenary_data *md, int *hp, int *sp);
+ void (*postHookFunc) (struct mercenary_data *md, int hp, int sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_heal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_heal_post[hIndex].func;
- postHookFunc(md, &hp, &sp);
+ postHookFunc(md, hp, sp);
}
}
return;
@@ -43934,10 +43934,10 @@ int HP_mercenary_delete(struct mercenary_data *md, int reply) {
retVal___ = HPMHooks.source.mercenary.delete(md, reply);
}
if( HPMHooks.count.HP_mercenary_delete_post ) {
- int (*postHookFunc) (int retVal___, struct mercenary_data *md, int *reply);
+ int (*postHookFunc) (int retVal___, struct mercenary_data *md, int reply);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &reply);
+ retVal___ = postHookFunc(retVal___, md, reply);
}
}
return retVal___;
@@ -44068,10 +44068,10 @@ int HP_mercenary_set_faith(struct mercenary_data *md, int value) {
retVal___ = HPMHooks.source.mercenary.set_faith(md, value);
}
if( HPMHooks.count.HP_mercenary_set_faith_post ) {
- int (*postHookFunc) (int retVal___, struct mercenary_data *md, int *value);
+ int (*postHookFunc) (int retVal___, struct mercenary_data *md, int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_set_faith_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_set_faith_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &value);
+ retVal___ = postHookFunc(retVal___, md, value);
}
}
return retVal___;
@@ -44122,10 +44122,10 @@ int HP_mercenary_set_calls(struct mercenary_data *md, int value) {
retVal___ = HPMHooks.source.mercenary.set_calls(md, value);
}
if( HPMHooks.count.HP_mercenary_set_calls_post ) {
- int (*postHookFunc) (int retVal___, struct mercenary_data *md, int *value);
+ int (*postHookFunc) (int retVal___, struct mercenary_data *md, int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_set_calls_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_set_calls_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &value);
+ retVal___ = postHookFunc(retVal___, md, value);
}
}
return retVal___;
@@ -44176,10 +44176,10 @@ int HP_mercenary_checkskill(struct mercenary_data *md, uint16 skill_id) {
retVal___ = HPMHooks.source.mercenary.checkskill(md, skill_id);
}
if( HPMHooks.count.HP_mercenary_checkskill_post ) {
- int (*postHookFunc) (int retVal___, struct mercenary_data *md, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct mercenary_data *md, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_checkskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_checkskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &skill_id);
+ retVal___ = postHookFunc(retVal___, md, skill_id);
}
}
return retVal___;
@@ -44284,10 +44284,10 @@ int HP_mercenary_search_index(int class_) {
retVal___ = HPMHooks.source.mercenary.search_index(class_);
}
if( HPMHooks.count.HP_mercenary_search_index_post ) {
- int (*postHookFunc) (int retVal___, int *class_);
+ int (*postHookFunc) (int retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_search_index_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_search_index_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -44311,10 +44311,10 @@ int HP_mercenary_contract_end_timer(int tid, int64 tick, int id, intptr_t data)
retVal___ = HPMHooks.source.mercenary.contract_end_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_mercenary_contract_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_mercenary_contract_end_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_contract_end_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -44338,10 +44338,10 @@ bool HP_mercenary_read_db_sub(char *str[], int columns, int current) {
retVal___ = HPMHooks.source.mercenary.read_db_sub(str, columns, current);
}
if( HPMHooks.count.HP_mercenary_read_db_sub_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *str[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_read_db_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_read_db_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
+ retVal___ = postHookFunc(retVal___, str, columns, current);
}
}
return retVal___;
@@ -44365,10 +44365,10 @@ bool HP_mercenary_read_skill_db_sub(char *str[], int columns, int current) {
retVal___ = HPMHooks.source.mercenary.read_skill_db_sub(str, columns, current);
}
if( HPMHooks.count.HP_mercenary_read_skill_db_sub_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *str[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_read_skill_db_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mercenary_read_skill_db_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
+ retVal___ = postHookFunc(retVal___, str, columns, current);
}
}
return retVal___;
@@ -44393,10 +44393,10 @@ int HP_mob_init(bool mimimal) {
retVal___ = HPMHooks.source.mob.init(mimimal);
}
if( HPMHooks.count.HP_mob_init_post ) {
- int (*postHookFunc) (int retVal___, bool *mimimal);
+ int (*postHookFunc) (int retVal___, bool mimimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &mimimal);
+ retVal___ = postHookFunc(retVal___, mimimal);
}
}
return retVal___;
@@ -44473,10 +44473,10 @@ struct mob_db* HP_mob_db(int index) {
retVal___ = HPMHooks.source.mob.db(index);
}
if( HPMHooks.count.HP_mob_db_post ) {
- struct mob_db* (*postHookFunc) (struct mob_db* retVal___, int *index);
+ struct mob_db* (*postHookFunc) (struct mob_db* retVal___, int index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_db_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &index);
+ retVal___ = postHookFunc(retVal___, index);
}
}
return retVal___;
@@ -44500,10 +44500,10 @@ struct mob_chat* HP_mob_chat(short id) {
retVal___ = HPMHooks.source.mob.chat(id);
}
if( HPMHooks.count.HP_mob_chat_post ) {
- struct mob_chat* (*postHookFunc) (struct mob_chat* retVal___, short *id);
+ struct mob_chat* (*postHookFunc) (struct mob_chat* retVal___, short id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_chat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_chat_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -44527,10 +44527,10 @@ int HP_mob_makedummymobdb(int p1) {
retVal___ = HPMHooks.source.mob.makedummymobdb(p1);
}
if( HPMHooks.count.HP_mob_makedummymobdb_post ) {
- int (*postHookFunc) (int retVal___, int *p1);
+ int (*postHookFunc) (int retVal___, int p1);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_makedummymobdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_makedummymobdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &p1);
+ retVal___ = postHookFunc(retVal___, p1);
}
}
return retVal___;
@@ -44554,10 +44554,10 @@ int HP_mob_spawn_guardian_sub(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.mob.spawn_guardian_sub(tid, tick, id, data);
}
if( HPMHooks.count.HP_mob_spawn_guardian_sub_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_mob_spawn_guardian_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_spawn_guardian_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -44581,10 +44581,10 @@ int HP_mob_skill_id2skill_idx(int class_, uint16 skill_id) {
retVal___ = HPMHooks.source.mob.skill_id2skill_idx(class_, skill_id);
}
if( HPMHooks.count.HP_mob_skill_id2skill_idx_post ) {
- int (*postHookFunc) (int retVal___, int *class_, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, int class_, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_skill_id2skill_idx_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_skill_id2skill_idx_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_, &skill_id);
+ retVal___ = postHookFunc(retVal___, class_, skill_id);
}
}
return retVal___;
@@ -44635,10 +44635,10 @@ int HP_mob_db_searchname_array_sub(struct mob_db *monster, const char *str, int
retVal___ = HPMHooks.source.mob.db_searchname_array_sub(monster, str, flag);
}
if( HPMHooks.count.HP_mob_db_searchname_array_sub_post ) {
- int (*postHookFunc) (int retVal___, struct mob_db *monster, const char *str, int *flag);
+ int (*postHookFunc) (int retVal___, struct mob_db *monster, const char *str, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_searchname_array_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_db_searchname_array_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, monster, str, &flag);
+ retVal___ = postHookFunc(retVal___, monster, str, flag);
}
}
return retVal___;
@@ -44661,10 +44661,10 @@ void HP_mob_mvptomb_create(struct mob_data *md, char *killer, time_t time) {
HPMHooks.source.mob.mvptomb_create(md, killer, time);
}
if( HPMHooks.count.HP_mob_mvptomb_create_post ) {
- void (*postHookFunc) (struct mob_data *md, char *killer, time_t *time);
+ void (*postHookFunc) (struct mob_data *md, char *killer, time_t time);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_mvptomb_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_mvptomb_create_post[hIndex].func;
- postHookFunc(md, killer, &time);
+ postHookFunc(md, killer, time);
}
}
return;
@@ -44714,10 +44714,10 @@ int HP_mob_db_searchname_array(struct mob_db **data, int size, const char *str,
retVal___ = HPMHooks.source.mob.db_searchname_array(data, size, str, flag);
}
if( HPMHooks.count.HP_mob_db_searchname_array_post ) {
- int (*postHookFunc) (int retVal___, struct mob_db **data, int *size, const char *str, int *flag);
+ int (*postHookFunc) (int retVal___, struct mob_db **data, int size, const char *str, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_searchname_array_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_db_searchname_array_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, data, &size, str, &flag);
+ retVal___ = postHookFunc(retVal___, data, size, str, flag);
}
}
return retVal___;
@@ -44741,10 +44741,10 @@ int HP_mob_db_checkid(const int id) {
retVal___ = HPMHooks.source.mob.db_checkid(id);
}
if( HPMHooks.count.HP_mob_db_checkid_post ) {
- int (*postHookFunc) (int retVal___, const int *id);
+ int (*postHookFunc) (int retVal___, const int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_checkid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_db_checkid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -44768,10 +44768,10 @@ struct view_data* HP_mob_get_viewdata(int class_) {
retVal___ = HPMHooks.source.mob.get_viewdata(class_);
}
if( HPMHooks.count.HP_mob_get_viewdata_post ) {
- struct view_data* (*postHookFunc) (struct view_data* retVal___, int *class_);
+ struct view_data* (*postHookFunc) (struct view_data* retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_get_viewdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_get_viewdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -44849,10 +44849,10 @@ int HP_mob_get_random_id(int type, int flag, int lv) {
retVal___ = HPMHooks.source.mob.get_random_id(type, flag, lv);
}
if( HPMHooks.count.HP_mob_get_random_id_post ) {
- int (*postHookFunc) (int retVal___, int *type, int *flag, int *lv);
+ int (*postHookFunc) (int retVal___, int type, int flag, int lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_get_random_id_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_get_random_id_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &type, &flag, &lv);
+ retVal___ = postHookFunc(retVal___, type, flag, lv);
}
}
return retVal___;
@@ -44903,10 +44903,10 @@ struct mob_data* HP_mob_once_spawn_sub(struct block_list *bl, int16 m, int16 x,
retVal___ = HPMHooks.source.mob.once_spawn_sub(bl, m, x, y, mobname, class_, event, size, ai);
}
if( HPMHooks.count.HP_mob_once_spawn_sub_post ) {
- struct mob_data* (*postHookFunc) (struct mob_data* retVal___, struct block_list *bl, int16 *m, int16 *x, int16 *y, const char *mobname, int *class_, const char *event, unsigned int *size, unsigned int *ai);
+ struct mob_data* (*postHookFunc) (struct mob_data* retVal___, struct block_list *bl, int16 m, int16 x, int16 y, const char *mobname, int class_, const char *event, unsigned int size, unsigned int ai);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_once_spawn_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_once_spawn_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &m, &x, &y, mobname, &class_, event, &size, &ai);
+ retVal___ = postHookFunc(retVal___, bl, m, x, y, mobname, class_, event, size, ai);
}
}
return retVal___;
@@ -44930,10 +44930,10 @@ int HP_mob_once_spawn(struct map_session_data *sd, int16 m, int16 x, int16 y, co
retVal___ = HPMHooks.source.mob.once_spawn(sd, m, x, y, mobname, class_, amount, event, size, ai);
}
if( HPMHooks.count.HP_mob_once_spawn_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x, int16 *y, const char *mobname, int *class_, int *amount, const char *event, unsigned int *size, unsigned int *ai);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 m, int16 x, int16 y, const char *mobname, int class_, int amount, const char *event, unsigned int size, unsigned int ai);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_once_spawn_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_once_spawn_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &m, &x, &y, mobname, &class_, &amount, event, &size, &ai);
+ retVal___ = postHookFunc(retVal___, sd, m, x, y, mobname, class_, amount, event, size, ai);
}
}
return retVal___;
@@ -44957,10 +44957,10 @@ int HP_mob_once_spawn_area(struct map_session_data *sd, int16 m, int16 x0, int16
retVal___ = HPMHooks.source.mob.once_spawn_area(sd, m, x0, y0, x1, y1, mobname, class_, amount, event, size, ai);
}
if( HPMHooks.count.HP_mob_once_spawn_area_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, const char *mobname, int *class_, int *amount, const char *event, unsigned int *size, unsigned int *ai);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 m, int16 x0, int16 y0, int16 x1, int16 y1, const char *mobname, int class_, int amount, const char *event, unsigned int size, unsigned int ai);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_once_spawn_area_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_once_spawn_area_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &m, &x0, &y0, &x1, &y1, mobname, &class_, &amount, event, &size, &ai);
+ retVal___ = postHookFunc(retVal___, sd, m, x0, y0, x1, y1, mobname, class_, amount, event, size, ai);
}
}
return retVal___;
@@ -44984,10 +44984,10 @@ int HP_mob_spawn_guardian(const char *mapname, short x, short y, const char *mob
retVal___ = HPMHooks.source.mob.spawn_guardian(mapname, x, y, mobname, class_, event, guardian, has_index);
}
if( HPMHooks.count.HP_mob_spawn_guardian_post ) {
- int (*postHookFunc) (int retVal___, const char *mapname, short *x, short *y, const char *mobname, int *class_, const char *event, int *guardian, bool *has_index);
+ int (*postHookFunc) (int retVal___, const char *mapname, short x, short y, const char *mobname, int class_, const char *event, int guardian, bool has_index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_spawn_guardian_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_spawn_guardian_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, mapname, &x, &y, mobname, &class_, event, &guardian, &has_index);
+ retVal___ = postHookFunc(retVal___, mapname, x, y, mobname, class_, event, guardian, has_index);
}
}
return retVal___;
@@ -45011,10 +45011,10 @@ int HP_mob_spawn_bg(const char *mapname, short x, short y, const char *mobname,
retVal___ = HPMHooks.source.mob.spawn_bg(mapname, x, y, mobname, class_, event, bg_id);
}
if( HPMHooks.count.HP_mob_spawn_bg_post ) {
- int (*postHookFunc) (int retVal___, const char *mapname, short *x, short *y, const char *mobname, int *class_, const char *event, unsigned int *bg_id);
+ int (*postHookFunc) (int retVal___, const char *mapname, short x, short y, const char *mobname, int class_, const char *event, unsigned int bg_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_spawn_bg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_spawn_bg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, mapname, &x, &y, mobname, &class_, event, &bg_id);
+ retVal___ = postHookFunc(retVal___, mapname, x, y, mobname, class_, event, bg_id);
}
}
return retVal___;
@@ -45038,10 +45038,10 @@ int HP_mob_can_reach(struct mob_data *md, struct block_list *bl, int range, int
retVal___ = HPMHooks.source.mob.can_reach(md, bl, range, state);
}
if( HPMHooks.count.HP_mob_can_reach_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, struct block_list *bl, int *range, int *state);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, struct block_list *bl, int range, int state);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_can_reach_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_can_reach_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, bl, &range, &state);
+ retVal___ = postHookFunc(retVal___, md, bl, range, state);
}
}
return retVal___;
@@ -45098,10 +45098,10 @@ int HP_mob_delayspawn(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.mob.delayspawn(tid, tick, id, data);
}
if( HPMHooks.count.HP_mob_delayspawn_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_mob_delayspawn_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_delayspawn_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -45212,10 +45212,10 @@ int HP_mob_can_changetarget(const struct mob_data *md, const struct block_list *
retVal___ = HPMHooks.source.mob.can_changetarget(md, target, mode);
}
if( HPMHooks.count.HP_mob_can_changetarget_post ) {
- int (*postHookFunc) (int retVal___, const struct mob_data *md, const struct block_list *target, uint32 *mode);
+ int (*postHookFunc) (int retVal___, const struct mob_data *md, const struct block_list *target, uint32 mode);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_can_changetarget_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_can_changetarget_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, target, &mode);
+ retVal___ = postHookFunc(retVal___, md, target, mode);
}
}
return retVal___;
@@ -45239,10 +45239,10 @@ int HP_mob_target(struct mob_data *md, struct block_list *bl, int dist) {
retVal___ = HPMHooks.source.mob.target(md, bl, dist);
}
if( HPMHooks.count.HP_mob_target_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, struct block_list *bl, int *dist);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, struct block_list *bl, int dist);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_target_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_target_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, bl, &dist);
+ retVal___ = postHookFunc(retVal___, md, bl, dist);
}
}
return retVal___;
@@ -45431,10 +45431,10 @@ int HP_mob_ai_sub_hard_slavemob(struct mob_data *md, int64 tick) {
retVal___ = HPMHooks.source.mob.ai_sub_hard_slavemob(md, tick);
}
if( HPMHooks.count.HP_mob_ai_sub_hard_slavemob_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_slavemob_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_slavemob_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &tick);
+ retVal___ = postHookFunc(retVal___, md, tick);
}
}
return retVal___;
@@ -45458,10 +45458,10 @@ int HP_mob_unlocktarget(struct mob_data *md, int64 tick) {
retVal___ = HPMHooks.source.mob.unlocktarget(md, tick);
}
if( HPMHooks.count.HP_mob_unlocktarget_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_unlocktarget_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_unlocktarget_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &tick);
+ retVal___ = postHookFunc(retVal___, md, tick);
}
}
return retVal___;
@@ -45485,10 +45485,10 @@ int HP_mob_randomwalk(struct mob_data *md, int64 tick) {
retVal___ = HPMHooks.source.mob.randomwalk(md, tick);
}
if( HPMHooks.count.HP_mob_randomwalk_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_randomwalk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_randomwalk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &tick);
+ retVal___ = postHookFunc(retVal___, md, tick);
}
}
return retVal___;
@@ -45539,10 +45539,10 @@ bool HP_mob_ai_sub_hard(struct mob_data *md, int64 tick) {
retVal___ = HPMHooks.source.mob.ai_sub_hard(md, tick);
}
if( HPMHooks.count.HP_mob_ai_sub_hard_post ) {
- bool (*postHookFunc) (bool retVal___, struct mob_data *md, int64 *tick);
+ bool (*postHookFunc) (bool retVal___, struct mob_data *md, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &tick);
+ retVal___ = postHookFunc(retVal___, md, tick);
}
}
return retVal___;
@@ -45665,10 +45665,10 @@ int HP_mob_ai_lazy(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.mob.ai_lazy(tid, tick, id, data);
}
if( HPMHooks.count.HP_mob_ai_lazy_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_mob_ai_lazy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_ai_lazy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -45692,10 +45692,10 @@ int HP_mob_ai_hard(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.mob.ai_hard(tid, tick, id, data);
}
if( HPMHooks.count.HP_mob_ai_hard_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_mob_ai_hard_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_ai_hard_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -45719,10 +45719,10 @@ struct item_drop* HP_mob_setdropitem(int nameid, int qty, struct item_data *data
retVal___ = HPMHooks.source.mob.setdropitem(nameid, qty, data);
}
if( HPMHooks.count.HP_mob_setdropitem_post ) {
- struct item_drop* (*postHookFunc) (struct item_drop* retVal___, int *nameid, int *qty, struct item_data *data);
+ struct item_drop* (*postHookFunc) (struct item_drop* retVal___, int nameid, int qty, struct item_data *data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_setdropitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_setdropitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &nameid, &qty, data);
+ retVal___ = postHookFunc(retVal___, nameid, qty, data);
}
}
return retVal___;
@@ -45773,10 +45773,10 @@ int HP_mob_delay_item_drop(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.mob.delay_item_drop(tid, tick, id, data);
}
if( HPMHooks.count.HP_mob_delay_item_drop_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_mob_delay_item_drop_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_delay_item_drop_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -45799,10 +45799,10 @@ void HP_mob_item_drop(struct mob_data *md, struct item_drop_list *dlist, struct
HPMHooks.source.mob.item_drop(md, dlist, ditem, loot, drop_rate, flag);
}
if( HPMHooks.count.HP_mob_item_drop_post ) {
- void (*postHookFunc) (struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int *loot, int *drop_rate, unsigned short *flag);
+ void (*postHookFunc) (struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int loot, int drop_rate, unsigned short flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_item_drop_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_item_drop_post[hIndex].func;
- postHookFunc(md, dlist, ditem, &loot, &drop_rate, &flag);
+ postHookFunc(md, dlist, ditem, loot, drop_rate, flag);
}
}
return;
@@ -45826,10 +45826,10 @@ int HP_mob_timer_delete(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.mob.timer_delete(tid, tick, id, data);
}
if( HPMHooks.count.HP_mob_timer_delete_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_mob_timer_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_timer_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -45913,10 +45913,10 @@ int HP_mob_respawn(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.mob.respawn(tid, tick, id, data);
}
if( HPMHooks.count.HP_mob_respawn_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_mob_respawn_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_respawn_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -45939,10 +45939,10 @@ void HP_mob_log_damage(struct mob_data *md, struct block_list *src, int damage)
HPMHooks.source.mob.log_damage(md, src, damage);
}
if( HPMHooks.count.HP_mob_log_damage_post ) {
- void (*postHookFunc) (struct mob_data *md, struct block_list *src, int *damage);
+ void (*postHookFunc) (struct mob_data *md, struct block_list *src, int damage);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_log_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_log_damage_post[hIndex].func;
- postHookFunc(md, src, &damage);
+ postHookFunc(md, src, damage);
}
}
return;
@@ -45965,10 +45965,10 @@ void HP_mob_damage(struct mob_data *md, struct block_list *src, int damage) {
HPMHooks.source.mob.damage(md, src, damage);
}
if( HPMHooks.count.HP_mob_damage_post ) {
- void (*postHookFunc) (struct mob_data *md, struct block_list *src, int *damage);
+ void (*postHookFunc) (struct mob_data *md, struct block_list *src, int damage);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_damage_post[hIndex].func;
- postHookFunc(md, src, &damage);
+ postHookFunc(md, src, damage);
}
}
return;
@@ -45992,10 +45992,10 @@ int HP_mob_dead(struct mob_data *md, struct block_list *src, int type) {
retVal___ = HPMHooks.source.mob.dead(md, src, type);
}
if( HPMHooks.count.HP_mob_dead_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, struct block_list *src, int *type);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, struct block_list *src, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_dead_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_dead_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, src, &type);
+ retVal___ = postHookFunc(retVal___, md, src, type);
}
}
return retVal___;
@@ -46018,10 +46018,10 @@ void HP_mob_revive(struct mob_data *md, unsigned int hp) {
HPMHooks.source.mob.revive(md, hp);
}
if( HPMHooks.count.HP_mob_revive_post ) {
- void (*postHookFunc) (struct mob_data *md, unsigned int *hp);
+ void (*postHookFunc) (struct mob_data *md, unsigned int hp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_revive_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_revive_post[hIndex].func;
- postHookFunc(md, &hp);
+ postHookFunc(md, hp);
}
}
return;
@@ -46072,10 +46072,10 @@ int HP_mob_random_class(int *value, size_t count) {
retVal___ = HPMHooks.source.mob.random_class(value, count);
}
if( HPMHooks.count.HP_mob_random_class_post ) {
- int (*postHookFunc) (int retVal___, int *value, size_t *count);
+ int (*postHookFunc) (int retVal___, int *value, size_t count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_random_class_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_random_class_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, value, &count);
+ retVal___ = postHookFunc(retVal___, value, count);
}
}
return retVal___;
@@ -46099,10 +46099,10 @@ int HP_mob_class_change(struct mob_data *md, int class_) {
retVal___ = HPMHooks.source.mob.class_change(md, class_);
}
if( HPMHooks.count.HP_mob_class_change_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, int *class_);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_class_change_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_class_change_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &class_);
+ retVal___ = postHookFunc(retVal___, md, class_);
}
}
return retVal___;
@@ -46125,10 +46125,10 @@ void HP_mob_heal(struct mob_data *md, unsigned int heal) {
HPMHooks.source.mob.heal(md, heal);
}
if( HPMHooks.count.HP_mob_heal_post ) {
- void (*postHookFunc) (struct mob_data *md, unsigned int *heal);
+ void (*postHookFunc) (struct mob_data *md, unsigned int heal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_heal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_heal_post[hIndex].func;
- postHookFunc(md, &heal);
+ postHookFunc(md, heal);
}
}
return;
@@ -46185,10 +46185,10 @@ int HP_mob_warpslave(struct block_list *bl, int range) {
retVal___ = HPMHooks.source.mob.warpslave(bl, range);
}
if( HPMHooks.count.HP_mob_warpslave_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *range);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int range);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_warpslave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_warpslave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &range);
+ retVal___ = postHookFunc(retVal___, bl, range);
}
}
return retVal___;
@@ -46272,10 +46272,10 @@ int HP_mob_summonslave(struct mob_data *md2, int *value, int amount, uint16 skil
retVal___ = HPMHooks.source.mob.summonslave(md2, value, amount, skill_id);
}
if( HPMHooks.count.HP_mob_summonslave_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md2, int *value, int *amount, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct mob_data *md2, int *value, int amount, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_summonslave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_summonslave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md2, value, &amount, &skill_id);
+ retVal___ = postHookFunc(retVal___, md2, value, amount, skill_id);
}
}
return retVal___;
@@ -46332,10 +46332,10 @@ struct block_list* HP_mob_getfriendhprate(struct mob_data *md, int min_rate, int
retVal___ = HPMHooks.source.mob.getfriendhprate(md, min_rate, max_rate);
}
if( HPMHooks.count.HP_mob_getfriendhprate_post ) {
- struct block_list* (*postHookFunc) (struct block_list* retVal___, struct mob_data *md, int *min_rate, int *max_rate);
+ struct block_list* (*postHookFunc) (struct block_list* retVal___, struct mob_data *md, int min_rate, int max_rate);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_getfriendhprate_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_getfriendhprate_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &min_rate, &max_rate);
+ retVal___ = postHookFunc(retVal___, md, min_rate, max_rate);
}
}
return retVal___;
@@ -46359,10 +46359,10 @@ struct block_list* HP_mob_getmasterhpltmaxrate(struct mob_data *md, int rate) {
retVal___ = HPMHooks.source.mob.getmasterhpltmaxrate(md, rate);
}
if( HPMHooks.count.HP_mob_getmasterhpltmaxrate_post ) {
- struct block_list* (*postHookFunc) (struct block_list* retVal___, struct mob_data *md, int *rate);
+ struct block_list* (*postHookFunc) (struct block_list* retVal___, struct mob_data *md, int rate);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_getmasterhpltmaxrate_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_getmasterhpltmaxrate_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &rate);
+ retVal___ = postHookFunc(retVal___, md, rate);
}
}
return retVal___;
@@ -46419,10 +46419,10 @@ struct mob_data* HP_mob_getfriendstatus(struct mob_data *md, int cond1, int cond
retVal___ = HPMHooks.source.mob.getfriendstatus(md, cond1, cond2);
}
if( HPMHooks.count.HP_mob_getfriendstatus_post ) {
- struct mob_data* (*postHookFunc) (struct mob_data* retVal___, struct mob_data *md, int *cond1, int *cond2);
+ struct mob_data* (*postHookFunc) (struct mob_data* retVal___, struct mob_data *md, int cond1, int cond2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_getfriendstatus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_getfriendstatus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &cond1, &cond2);
+ retVal___ = postHookFunc(retVal___, md, cond1, cond2);
}
}
return retVal___;
@@ -46446,10 +46446,10 @@ int HP_mob_skill_use(struct mob_data *md, int64 tick, int event) {
retVal___ = HPMHooks.source.mob.skill_use(md, tick, event);
}
if( HPMHooks.count.HP_mob_skill_use_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, int64 *tick, int *event);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, int64 tick, int event);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_skill_use_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_skill_use_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &tick, &event);
+ retVal___ = postHookFunc(retVal___, md, tick, event);
}
}
return retVal___;
@@ -46473,10 +46473,10 @@ int HP_mob_skill_event(struct mob_data *md, struct block_list *src, int64 tick,
retVal___ = HPMHooks.source.mob.skill_event(md, src, tick, flag);
}
if( HPMHooks.count.HP_mob_skill_event_post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, struct block_list *src, int64 *tick, int *flag);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, struct block_list *src, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_skill_event_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_skill_event_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, src, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, md, src, tick, flag);
}
}
return retVal___;
@@ -46500,10 +46500,10 @@ int HP_mob_is_clone(int class_) {
retVal___ = HPMHooks.source.mob.is_clone(class_);
}
if( HPMHooks.count.HP_mob_is_clone_post ) {
- int (*postHookFunc) (int retVal___, int *class_);
+ int (*postHookFunc) (int retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_is_clone_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_is_clone_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -46527,10 +46527,10 @@ int HP_mob_clone_spawn(struct map_session_data *sd, int16 m, int16 x, int16 y, c
retVal___ = HPMHooks.source.mob.clone_spawn(sd, m, x, y, event, master_id, mode, flag, duration);
}
if( HPMHooks.count.HP_mob_clone_spawn_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x, int16 *y, const char *event, int *master_id, uint32 *mode, int *flag, unsigned int *duration);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 m, int16 x, int16 y, const char *event, int master_id, uint32 mode, int flag, unsigned int duration);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_clone_spawn_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_clone_spawn_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &m, &x, &y, event, &master_id, &mode, &flag, &duration);
+ retVal___ = postHookFunc(retVal___, sd, m, x, y, event, master_id, mode, flag, duration);
}
}
return retVal___;
@@ -46581,10 +46581,10 @@ unsigned int HP_mob_drop_adjust(int baserate, int rate_adjust, unsigned short ra
retVal___ = HPMHooks.source.mob.drop_adjust(baserate, rate_adjust, rate_min, rate_max);
}
if( HPMHooks.count.HP_mob_drop_adjust_post ) {
- unsigned int (*postHookFunc) (unsigned int retVal___, int *baserate, int *rate_adjust, unsigned short *rate_min, unsigned short *rate_max);
+ unsigned int (*postHookFunc) (unsigned int retVal___, int baserate, int rate_adjust, unsigned short rate_min, unsigned short rate_max);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_drop_adjust_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_drop_adjust_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &baserate, &rate_adjust, &rate_min, &rate_max);
+ retVal___ = postHookFunc(retVal___, baserate, rate_adjust, rate_min, rate_max);
}
}
return retVal___;
@@ -46607,10 +46607,10 @@ void HP_mob_item_dropratio_adjust(int nameid, int mob_id, int *rate_adjust) {
HPMHooks.source.mob.item_dropratio_adjust(nameid, mob_id, rate_adjust);
}
if( HPMHooks.count.HP_mob_item_dropratio_adjust_post ) {
- void (*postHookFunc) (int *nameid, int *mob_id, int *rate_adjust);
+ void (*postHookFunc) (int nameid, int mob_id, int *rate_adjust);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_item_dropratio_adjust_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_item_dropratio_adjust_post[hIndex].func;
- postHookFunc(&nameid, &mob_id, rate_adjust);
+ postHookFunc(nameid, mob_id, rate_adjust);
}
}
return;
@@ -46714,10 +46714,10 @@ int HP_mob_db_validate_entry(struct mob_db *entry, int n, const char *source) {
retVal___ = HPMHooks.source.mob.db_validate_entry(entry, n, source);
}
if( HPMHooks.count.HP_mob_db_validate_entry_post ) {
- int (*postHookFunc) (int retVal___, struct mob_db *entry, int *n, const char *source);
+ int (*postHookFunc) (int retVal___, struct mob_db *entry, int n, const char *source);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_validate_entry_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_db_validate_entry_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, entry, &n, source);
+ retVal___ = postHookFunc(retVal___, entry, n, source);
}
}
return retVal___;
@@ -46741,10 +46741,10 @@ int HP_mob_read_libconfig(const char *filename, bool ignore_missing) {
retVal___ = HPMHooks.source.mob.read_libconfig(filename, ignore_missing);
}
if( HPMHooks.count.HP_mob_read_libconfig_post ) {
- int (*postHookFunc) (int retVal___, const char *filename, bool *ignore_missing);
+ int (*postHookFunc) (int retVal___, const char *filename, bool ignore_missing);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_libconfig_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_read_libconfig_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, filename, &ignore_missing);
+ retVal___ = postHookFunc(retVal___, filename, ignore_missing);
}
}
return retVal___;
@@ -46767,10 +46767,10 @@ void HP_mob_read_db_additional_fields(struct mob_db *entry, struct config_settin
HPMHooks.source.mob.read_db_additional_fields(entry, it, n, source);
}
if( HPMHooks.count.HP_mob_read_db_additional_fields_post ) {
- void (*postHookFunc) (struct mob_db *entry, struct config_setting_t *it, int *n, const char *source);
+ void (*postHookFunc) (struct mob_db *entry, struct config_setting_t *it, int n, const char *source);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_db_additional_fields_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_read_db_additional_fields_post[hIndex].func;
- postHookFunc(entry, it, &n, source);
+ postHookFunc(entry, it, n, source);
}
}
return;
@@ -46794,10 +46794,10 @@ int HP_mob_read_db_sub(struct config_setting_t *mobt, int id, const char *source
retVal___ = HPMHooks.source.mob.read_db_sub(mobt, id, source);
}
if( HPMHooks.count.HP_mob_read_db_sub_post ) {
- int (*postHookFunc) (int retVal___, struct config_setting_t *mobt, int *id, const char *source);
+ int (*postHookFunc) (int retVal___, struct config_setting_t *mobt, int id, const char *source);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_db_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_read_db_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, mobt, &id, source);
+ retVal___ = postHookFunc(retVal___, mobt, id, source);
}
}
return retVal___;
@@ -46952,10 +46952,10 @@ bool HP_mob_readdb_mobavail(char *str[], int columns, int current) {
retVal___ = HPMHooks.source.mob.readdb_mobavail(str, columns, current);
}
if( HPMHooks.count.HP_mob_readdb_mobavail_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *str[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_readdb_mobavail_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_readdb_mobavail_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
+ retVal___ = postHookFunc(retVal___, str, columns, current);
}
}
return retVal___;
@@ -47006,10 +47006,10 @@ bool HP_mob_parse_row_chatdb(char **str, const char *source, int line, int *last
retVal___ = HPMHooks.source.mob.parse_row_chatdb(str, source, line, last_msg_id);
}
if( HPMHooks.count.HP_mob_parse_row_chatdb_post ) {
- bool (*postHookFunc) (bool retVal___, char **str, const char *source, int *line, int *last_msg_id);
+ bool (*postHookFunc) (bool retVal___, char **str, const char *source, int line, int *last_msg_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_parse_row_chatdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_parse_row_chatdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, source, &line, last_msg_id);
+ retVal___ = postHookFunc(retVal___, str, source, line, last_msg_id);
}
}
return retVal___;
@@ -47059,10 +47059,10 @@ bool HP_mob_parse_row_mobskilldb(char **str, int columns, int current) {
retVal___ = HPMHooks.source.mob.parse_row_mobskilldb(str, columns, current);
}
if( HPMHooks.count.HP_mob_parse_row_mobskilldb_post ) {
- bool (*postHookFunc) (bool retVal___, char **str, int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char **str, int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_parse_row_mobskilldb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_parse_row_mobskilldb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
+ retVal___ = postHookFunc(retVal___, str, columns, current);
}
}
return retVal___;
@@ -47112,10 +47112,10 @@ bool HP_mob_readdb_race2(char *fields[], int columns, int current) {
retVal___ = HPMHooks.source.mob.readdb_race2(fields, columns, current);
}
if( HPMHooks.count.HP_mob_readdb_race2_post ) {
- bool (*postHookFunc) (bool retVal___, char *fields[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *fields[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_readdb_race2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_readdb_race2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fields, &columns, &current);
+ retVal___ = postHookFunc(retVal___, fields, columns, current);
}
}
return retVal___;
@@ -47139,10 +47139,10 @@ bool HP_mob_readdb_itemratio(char *str[], int columns, int current) {
retVal___ = HPMHooks.source.mob.readdb_itemratio(str, columns, current);
}
if( HPMHooks.count.HP_mob_readdb_itemratio_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *str[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_readdb_itemratio_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_readdb_itemratio_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
+ retVal___ = postHookFunc(retVal___, str, columns, current);
}
}
return retVal___;
@@ -47165,10 +47165,10 @@ void HP_mob_load(bool minimal) {
HPMHooks.source.mob.load(minimal);
}
if( HPMHooks.count.HP_mob_load_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_load_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_load_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -47217,10 +47217,10 @@ void HP_mob_destroy_mob_db(int index) {
HPMHooks.source.mob.destroy_mob_db(index);
}
if( HPMHooks.count.HP_mob_destroy_mob_db_post ) {
- void (*postHookFunc) (int *index);
+ void (*postHookFunc) (int index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_destroy_mob_db_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_destroy_mob_db_post[hIndex].func;
- postHookFunc(&index);
+ postHookFunc(index);
}
}
return;
@@ -47303,10 +47303,10 @@ void HP_npc_chat_def_pattern(struct npc_data *nd, int setid, const char *pattern
HPMHooks.source.npc_chat.def_pattern(nd, setid, pattern, label);
}
if( HPMHooks.count.HP_npc_chat_def_pattern_post ) {
- void (*postHookFunc) (struct npc_data *nd, int *setid, const char *pattern, const char *label);
+ void (*postHookFunc) (struct npc_data *nd, int setid, const char *pattern, const char *label);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_def_pattern_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_chat_def_pattern_post[hIndex].func;
- postHookFunc(nd, &setid, pattern, label);
+ postHookFunc(nd, setid, pattern, label);
}
}
return;
@@ -47356,10 +47356,10 @@ void HP_npc_chat_delete_pcreset(struct npc_data *nd, int setid) {
HPMHooks.source.npc_chat.delete_pcreset(nd, setid);
}
if( HPMHooks.count.HP_npc_chat_delete_pcreset_post ) {
- void (*postHookFunc) (struct npc_data *nd, int *setid);
+ void (*postHookFunc) (struct npc_data *nd, int setid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_delete_pcreset_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_chat_delete_pcreset_post[hIndex].func;
- postHookFunc(nd, &setid);
+ postHookFunc(nd, setid);
}
}
return;
@@ -47382,10 +47382,10 @@ void HP_npc_chat_deactivate_pcreset(struct npc_data *nd, int setid) {
HPMHooks.source.npc_chat.deactivate_pcreset(nd, setid);
}
if( HPMHooks.count.HP_npc_chat_deactivate_pcreset_post ) {
- void (*postHookFunc) (struct npc_data *nd, int *setid);
+ void (*postHookFunc) (struct npc_data *nd, int setid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_deactivate_pcreset_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_chat_deactivate_pcreset_post[hIndex].func;
- postHookFunc(nd, &setid);
+ postHookFunc(nd, setid);
}
}
return;
@@ -47408,10 +47408,10 @@ void HP_npc_chat_activate_pcreset(struct npc_data *nd, int setid) {
HPMHooks.source.npc_chat.activate_pcreset(nd, setid);
}
if( HPMHooks.count.HP_npc_chat_activate_pcreset_post ) {
- void (*postHookFunc) (struct npc_data *nd, int *setid);
+ void (*postHookFunc) (struct npc_data *nd, int setid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_activate_pcreset_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_chat_activate_pcreset_post[hIndex].func;
- postHookFunc(nd, &setid);
+ postHookFunc(nd, setid);
}
}
return;
@@ -47435,10 +47435,10 @@ struct pcrematch_set* HP_npc_chat_lookup_pcreset(struct npc_data *nd, int setid)
retVal___ = HPMHooks.source.npc_chat.lookup_pcreset(nd, setid);
}
if( HPMHooks.count.HP_npc_chat_lookup_pcreset_post ) {
- struct pcrematch_set* (*postHookFunc) (struct pcrematch_set* retVal___, struct npc_data *nd, int *setid);
+ struct pcrematch_set* (*postHookFunc) (struct pcrematch_set* retVal___, struct npc_data *nd, int setid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_lookup_pcreset_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_chat_lookup_pcreset_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, &setid);
+ retVal___ = postHookFunc(retVal___, nd, setid);
}
}
return retVal___;
@@ -47489,10 +47489,10 @@ int HP_npc_init(bool minimal) {
retVal___ = HPMHooks.source.npc.init(minimal);
}
if( HPMHooks.count.HP_npc_init_post ) {
- int (*postHookFunc) (int retVal___, bool *minimal);
+ int (*postHookFunc) (int retVal___, bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &minimal);
+ retVal___ = postHookFunc(retVal___, minimal);
}
}
return retVal___;
@@ -47570,10 +47570,10 @@ struct view_data* HP_npc_get_viewdata(int class_) {
retVal___ = HPMHooks.source.npc.get_viewdata(class_);
}
if( HPMHooks.count.HP_npc_get_viewdata_post ) {
- struct view_data* (*postHookFunc) (struct view_data* retVal___, int *class_);
+ struct view_data* (*postHookFunc) (struct view_data* retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_get_viewdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_get_viewdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -47771,10 +47771,10 @@ int HP_npc_enable(const char *name, int flag) {
retVal___ = HPMHooks.source.npc.enable(name, flag);
}
if( HPMHooks.count.HP_npc_enable_post ) {
- int (*postHookFunc) (int retVal___, const char *name, int *flag);
+ int (*postHookFunc) (int retVal___, const char *name, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_enable_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_enable_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, name, &flag);
+ retVal___ = postHookFunc(retVal___, name, flag);
}
}
return retVal___;
@@ -47856,11 +47856,11 @@ struct DBData HP_npc_event_export_create(union DBKey key, va_list args) {
va_end(args___copy);
}
if( HPMHooks.count.HP_npc_event_export_create_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_npc_event_export_create_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_npc_event_export_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, args___copy);
+ retVal___ = postHookFunc(retVal___, key, args___copy);
va_end(args___copy);
}
}
@@ -47885,10 +47885,10 @@ int HP_npc_event_export(struct npc_data *nd, int i) {
retVal___ = HPMHooks.source.npc.event_export(nd, i);
}
if( HPMHooks.count.HP_npc_event_export_post ) {
- int (*postHookFunc) (int retVal___, struct npc_data *nd, int *i);
+ int (*postHookFunc) (int retVal___, struct npc_data *nd, int i);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_export_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_event_export_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, &i);
+ retVal___ = postHookFunc(retVal___, nd, i);
}
}
return retVal___;
@@ -47998,10 +47998,10 @@ int HP_npc_event_doall_id(const char *name, int rid) {
retVal___ = HPMHooks.source.npc.event_doall_id(name, rid);
}
if( HPMHooks.count.HP_npc_event_doall_id_post ) {
- int (*postHookFunc) (int retVal___, const char *name, int *rid);
+ int (*postHookFunc) (int retVal___, const char *name, int rid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_doall_id_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_event_doall_id_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, name, &rid);
+ retVal___ = postHookFunc(retVal___, name, rid);
}
}
return retVal___;
@@ -48052,10 +48052,10 @@ int HP_npc_event_do_clock(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.npc.event_do_clock(tid, tick, id, data);
}
if( HPMHooks.count.HP_npc_event_do_clock_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_npc_event_do_clock_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_event_do_clock_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -48078,10 +48078,10 @@ void HP_npc_event_do_oninit(bool reload) {
HPMHooks.source.npc.event_do_oninit(reload);
}
if( HPMHooks.count.HP_npc_event_do_oninit_post ) {
- void (*postHookFunc) (bool *reload);
+ void (*postHookFunc) (bool reload);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_do_oninit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_event_do_oninit_post[hIndex].func;
- postHookFunc(&reload);
+ postHookFunc(reload);
}
}
return;
@@ -48105,10 +48105,10 @@ int HP_npc_timerevent_export(struct npc_data *nd, int i) {
retVal___ = HPMHooks.source.npc.timerevent_export(nd, i);
}
if( HPMHooks.count.HP_npc_timerevent_export_post ) {
- int (*postHookFunc) (int retVal___, struct npc_data *nd, int *i);
+ int (*postHookFunc) (int retVal___, struct npc_data *nd, int i);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_timerevent_export_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_timerevent_export_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, &i);
+ retVal___ = postHookFunc(retVal___, nd, i);
}
}
return retVal___;
@@ -48132,10 +48132,10 @@ int HP_npc_timerevent(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.npc.timerevent(tid, tick, id, data);
}
if( HPMHooks.count.HP_npc_timerevent_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_npc_timerevent_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_timerevent_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -48159,10 +48159,10 @@ int HP_npc_timerevent_start(struct npc_data *nd, int rid) {
retVal___ = HPMHooks.source.npc.timerevent_start(nd, rid);
}
if( HPMHooks.count.HP_npc_timerevent_start_post ) {
- int (*postHookFunc) (int retVal___, struct npc_data *nd, int *rid);
+ int (*postHookFunc) (int retVal___, struct npc_data *nd, int rid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_timerevent_start_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_timerevent_start_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, &rid);
+ retVal___ = postHookFunc(retVal___, nd, rid);
}
}
return retVal___;
@@ -48266,10 +48266,10 @@ int HP_npc_settimerevent_tick(struct npc_data *nd, int newtimer) {
retVal___ = HPMHooks.source.npc.settimerevent_tick(nd, newtimer);
}
if( HPMHooks.count.HP_npc_settimerevent_tick_post ) {
- int (*postHookFunc) (int retVal___, struct npc_data *nd, int *newtimer);
+ int (*postHookFunc) (int retVal___, struct npc_data *nd, int newtimer);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_settimerevent_tick_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_settimerevent_tick_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, &newtimer);
+ retVal___ = postHookFunc(retVal___, nd, newtimer);
}
}
return retVal___;
@@ -48293,10 +48293,10 @@ int HP_npc_event(struct map_session_data *sd, const char *eventname, int ontouch
retVal___ = HPMHooks.source.npc.event(sd, eventname, ontouch);
}
if( HPMHooks.count.HP_npc_event_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *eventname, int *ontouch);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *eventname, int ontouch);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_event_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, eventname, &ontouch);
+ retVal___ = postHookFunc(retVal___, sd, eventname, ontouch);
}
}
return retVal___;
@@ -48353,10 +48353,10 @@ int HP_npc_touchnext_areanpc(struct map_session_data *sd, bool leavemap) {
retVal___ = HPMHooks.source.npc.touchnext_areanpc(sd, leavemap);
}
if( HPMHooks.count.HP_npc_touchnext_areanpc_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, bool *leavemap);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, bool leavemap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_touchnext_areanpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_touchnext_areanpc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &leavemap);
+ retVal___ = postHookFunc(retVal___, sd, leavemap);
}
}
return retVal___;
@@ -48380,10 +48380,10 @@ int HP_npc_touch_areanpc(struct map_session_data *sd, int16 m, int16 x, int16 y)
retVal___ = HPMHooks.source.npc.touch_areanpc(sd, m, x, y);
}
if( HPMHooks.count.HP_npc_touch_areanpc_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x, int16 *y);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 m, int16 x, int16 y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_touch_areanpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_touch_areanpc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &m, &x, &y);
+ retVal___ = postHookFunc(retVal___, sd, m, x, y);
}
}
return retVal___;
@@ -48407,10 +48407,10 @@ int HP_npc_untouch_areanpc(struct map_session_data *sd, int16 m, int16 x, int16
retVal___ = HPMHooks.source.npc.untouch_areanpc(sd, m, x, y);
}
if( HPMHooks.count.HP_npc_untouch_areanpc_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 *m, int16 *x, int16 *y);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int16 m, int16 x, int16 y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_untouch_areanpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_untouch_areanpc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &m, &x, &y);
+ retVal___ = postHookFunc(retVal___, sd, m, x, y);
}
}
return retVal___;
@@ -48461,10 +48461,10 @@ int HP_npc_check_areanpc(int flag, int16 m, int16 x, int16 y, int16 range) {
retVal___ = HPMHooks.source.npc.check_areanpc(flag, m, x, y, range);
}
if( HPMHooks.count.HP_npc_check_areanpc_post ) {
- int (*postHookFunc) (int retVal___, int *flag, int16 *m, int16 *x, int16 *y, int16 *range);
+ int (*postHookFunc) (int retVal___, int flag, int16 m, int16 x, int16 y, int16 range);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_check_areanpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_check_areanpc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &flag, &m, &x, &y, &range);
+ retVal___ = postHookFunc(retVal___, flag, m, x, y, range);
}
}
return retVal___;
@@ -48595,10 +48595,10 @@ int HP_npc_scriptcont(struct map_session_data *sd, int id, bool closing) {
retVal___ = HPMHooks.source.npc.scriptcont(sd, id, closing);
}
if( HPMHooks.count.HP_npc_scriptcont_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *id, bool *closing);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int id, bool closing);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_scriptcont_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_scriptcont_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &id, &closing);
+ retVal___ = postHookFunc(retVal___, sd, id, closing);
}
}
return retVal___;
@@ -48622,10 +48622,10 @@ int HP_npc_buysellsel(struct map_session_data *sd, int id, int type) {
retVal___ = HPMHooks.source.npc.buysellsel(sd, id, type);
}
if( HPMHooks.count.HP_npc_buysellsel_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *id, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int id, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_buysellsel_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_buysellsel_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &id, &type);
+ retVal___ = postHookFunc(retVal___, sd, id, type);
}
}
return retVal___;
@@ -48649,10 +48649,10 @@ int HP_npc_cashshop_buylist(struct map_session_data *sd, int points, struct item
retVal___ = HPMHooks.source.npc.cashshop_buylist(sd, points, item_list);
}
if( HPMHooks.count.HP_npc_cashshop_buylist_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *points, struct itemlist *item_list);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int points, struct itemlist *item_list);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_cashshop_buylist_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_cashshop_buylist_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &points, item_list);
+ retVal___ = postHookFunc(retVal___, sd, points, item_list);
}
}
return retVal___;
@@ -48703,10 +48703,10 @@ int HP_npc_cashshop_buy(struct map_session_data *sd, int nameid, int amount, int
retVal___ = HPMHooks.source.npc.cashshop_buy(sd, nameid, amount, points);
}
if( HPMHooks.count.HP_npc_cashshop_buy_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *nameid, int *amount, int *points);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int nameid, int amount, int points);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_cashshop_buy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_cashshop_buy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid, &amount, &points);
+ retVal___ = postHookFunc(retVal___, sd, nameid, amount, points);
}
}
return retVal___;
@@ -48842,11 +48842,11 @@ int HP_npc_unload_ev(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_npc_unload_ev_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_npc_unload_ev_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_npc_unload_ev_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -48875,11 +48875,11 @@ int HP_npc_unload_ev_label(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_npc_unload_ev_label_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_npc_unload_ev_label_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_npc_unload_ev_label_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -48963,10 +48963,10 @@ int HP_npc_unload(struct npc_data *nd, bool single) {
retVal___ = HPMHooks.source.npc.unload(nd, single);
}
if( HPMHooks.count.HP_npc_unload_post ) {
- int (*postHookFunc) (int retVal___, struct npc_data *nd, bool *single);
+ int (*postHookFunc) (int retVal___, struct npc_data *nd, bool single);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unload_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_unload_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, &single);
+ retVal___ = postHookFunc(retVal___, nd, single);
}
}
return retVal___;
@@ -49201,10 +49201,10 @@ struct npc_data* HP_npc_create_npc(enum npc_subtype subtype, int m, int x, int y
retVal___ = HPMHooks.source.npc.create_npc(subtype, m, x, y, dir, class_);
}
if( HPMHooks.count.HP_npc_create_npc_post ) {
- struct npc_data* (*postHookFunc) (struct npc_data* retVal___, enum npc_subtype *subtype, int *m, int *x, int *y, uint8 *dir, int16 *class_);
+ struct npc_data* (*postHookFunc) (struct npc_data* retVal___, enum npc_subtype subtype, int m, int x, int y, uint8 dir, int16 class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_create_npc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_create_npc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &subtype, &m, &x, &y, &dir, &class_);
+ retVal___ = postHookFunc(retVal___, subtype, m, x, y, dir, class_);
}
}
return retVal___;
@@ -49228,10 +49228,10 @@ struct npc_data* HP_npc_add_warp(char *name, short from_mapid, short from_x, sho
retVal___ = HPMHooks.source.npc.add_warp(name, from_mapid, from_x, from_y, xs, ys, to_mapindex, to_x, to_y);
}
if( HPMHooks.count.HP_npc_add_warp_post ) {
- struct npc_data* (*postHookFunc) (struct npc_data* retVal___, char *name, short *from_mapid, short *from_x, short *from_y, short *xs, short *ys, unsigned short *to_mapindex, short *to_x, short *to_y);
+ struct npc_data* (*postHookFunc) (struct npc_data* retVal___, char *name, short from_mapid, short from_x, short from_y, short xs, short ys, unsigned short to_mapindex, short to_x, short to_y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_add_warp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_add_warp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, name, &from_mapid, &from_x, &from_y, &xs, &ys, &to_mapindex, &to_x, &to_y);
+ retVal___ = postHookFunc(retVal___, name, from_mapid, from_x, from_y, xs, ys, to_mapindex, to_x, to_y);
}
}
return retVal___;
@@ -49389,10 +49389,10 @@ const char* HP_npc_parse_script(const char *w1, const char *w2, const char *w3,
retVal___ = HPMHooks.source.npc.parse_script(w1, w2, w3, w4, start, buffer, filepath, options, retval);
}
if( HPMHooks.count.HP_npc_parse_script_post ) {
- const char* (*postHookFunc) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *options, int *retval);
+ const char* (*postHookFunc) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int options, int *retval);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_script_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_parse_script_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, w1, w2, w3, w4, start, buffer, filepath, &options, retval);
+ retVal___ = postHookFunc(retVal___, w1, w2, w3, w4, start, buffer, filepath, options, retval);
}
}
return retVal___;
@@ -49442,10 +49442,10 @@ bool HP_npc_duplicate_script_sub(struct npc_data *nd, const struct npc_data *snd
retVal___ = HPMHooks.source.npc.duplicate_script_sub(nd, snd, xs, ys, options);
}
if( HPMHooks.count.HP_npc_duplicate_script_sub_post ) {
- bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+ bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate_script_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_duplicate_script_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, snd, &xs, &ys, &options);
+ retVal___ = postHookFunc(retVal___, nd, snd, xs, ys, options);
}
}
return retVal___;
@@ -49469,10 +49469,10 @@ bool HP_npc_duplicate_shop_sub(struct npc_data *nd, const struct npc_data *snd,
retVal___ = HPMHooks.source.npc.duplicate_shop_sub(nd, snd, xs, ys, options);
}
if( HPMHooks.count.HP_npc_duplicate_shop_sub_post ) {
- bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+ bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate_shop_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_duplicate_shop_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, snd, &xs, &ys, &options);
+ retVal___ = postHookFunc(retVal___, nd, snd, xs, ys, options);
}
}
return retVal___;
@@ -49496,10 +49496,10 @@ bool HP_npc_duplicate_warp_sub(struct npc_data *nd, const struct npc_data *snd,
retVal___ = HPMHooks.source.npc.duplicate_warp_sub(nd, snd, xs, ys, options);
}
if( HPMHooks.count.HP_npc_duplicate_warp_sub_post ) {
- bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+ bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate_warp_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_duplicate_warp_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, snd, &xs, &ys, &options);
+ retVal___ = postHookFunc(retVal___, nd, snd, xs, ys, options);
}
}
return retVal___;
@@ -49523,10 +49523,10 @@ bool HP_npc_duplicate_sub(struct npc_data *nd, const struct npc_data *snd, int x
retVal___ = HPMHooks.source.npc.duplicate_sub(nd, snd, xs, ys, options);
}
if( HPMHooks.count.HP_npc_duplicate_sub_post ) {
- bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+ bool (*postHookFunc) (bool retVal___, struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_duplicate_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, snd, &xs, &ys, &options);
+ retVal___ = postHookFunc(retVal___, nd, snd, xs, ys, options);
}
}
return retVal___;
@@ -49550,10 +49550,10 @@ const char* HP_npc_parse_duplicate(const char *w1, const char *w2, const char *w
retVal___ = HPMHooks.source.npc.parse_duplicate(w1, w2, w3, w4, start, buffer, filepath, options, retval);
}
if( HPMHooks.count.HP_npc_parse_duplicate_post ) {
- const char* (*postHookFunc) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *options, int *retval);
+ const char* (*postHookFunc) (const char* retVal___, const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int options, int *retval);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_duplicate_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_parse_duplicate_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, w1, w2, w3, w4, start, buffer, filepath, &options, retval);
+ retVal___ = postHookFunc(retVal___, w1, w2, w3, w4, start, buffer, filepath, options, retval);
}
}
return retVal___;
@@ -49577,10 +49577,10 @@ int HP_npc_duplicate4instance(struct npc_data *snd, int16 m) {
retVal___ = HPMHooks.source.npc.duplicate4instance(snd, m);
}
if( HPMHooks.count.HP_npc_duplicate4instance_post ) {
- int (*postHookFunc) (int retVal___, struct npc_data *snd, int16 *m);
+ int (*postHookFunc) (int retVal___, struct npc_data *snd, int16 m);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate4instance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_duplicate4instance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, snd, &m);
+ retVal___ = postHookFunc(retVal___, snd, m);
}
}
return retVal___;
@@ -49688,10 +49688,10 @@ void HP_npc_movenpc(struct npc_data *nd, int16 x, int16 y) {
HPMHooks.source.npc.movenpc(nd, x, y);
}
if( HPMHooks.count.HP_npc_movenpc_post ) {
- void (*postHookFunc) (struct npc_data *nd, int16 *x, int16 *y);
+ void (*postHookFunc) (struct npc_data *nd, int16 x, int16 y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_movenpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_movenpc_post[hIndex].func;
- postHookFunc(nd, &x, &y);
+ postHookFunc(nd, x, y);
}
}
return;
@@ -49740,10 +49740,10 @@ void HP_npc_setclass(struct npc_data *nd, short class_) {
HPMHooks.source.npc.setclass(nd, class_);
}
if( HPMHooks.count.HP_npc_setclass_post ) {
- void (*postHookFunc) (struct npc_data *nd, short *class_);
+ void (*postHookFunc) (struct npc_data *nd, short class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_setclass_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_setclass_post[hIndex].func;
- postHookFunc(nd, &class_);
+ postHookFunc(nd, class_);
}
}
return;
@@ -49927,10 +49927,10 @@ int HP_npc_parsesrcfile(const char *filepath, bool runOnInit) {
retVal___ = HPMHooks.source.npc.parsesrcfile(filepath, runOnInit);
}
if( HPMHooks.count.HP_npc_parsesrcfile_post ) {
- int (*postHookFunc) (int retVal___, const char *filepath, bool *runOnInit);
+ int (*postHookFunc) (int retVal___, const char *filepath, bool runOnInit);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parsesrcfile_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_parsesrcfile_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, filepath, &runOnInit);
+ retVal___ = postHookFunc(retVal___, filepath, runOnInit);
}
}
return retVal___;
@@ -49954,10 +49954,10 @@ int HP_npc_script_event(struct map_session_data *sd, enum npce_event type) {
retVal___ = HPMHooks.source.npc.script_event(sd, type);
}
if( HPMHooks.count.HP_npc_script_event_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, enum npce_event *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, enum npce_event type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_script_event_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_script_event_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -50011,11 +50011,11 @@ int HP_npc_path_db_clear_sub(union DBKey key, struct DBData *data, va_list args)
va_end(args___copy);
}
if( HPMHooks.count.HP_npc_path_db_clear_sub_post ) {
- int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list args);
+ int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list args);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_path_db_clear_sub_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_npc_path_db_clear_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, args___copy);
+ retVal___ = postHookFunc(retVal___, key, data, args___copy);
va_end(args___copy);
}
}
@@ -50044,11 +50044,11 @@ int HP_npc_ev_label_db_clear_sub(union DBKey key, struct DBData *data, va_list a
va_end(args___copy);
}
if( HPMHooks.count.HP_npc_ev_label_db_clear_sub_post ) {
- int (*postHookFunc) (int retVal___, union DBKey *key, struct DBData *data, va_list args);
+ int (*postHookFunc) (int retVal___, union DBKey key, struct DBData *data, va_list args);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_ev_label_db_clear_sub_post; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
postHookFunc = HPMHooks.list.HP_npc_ev_label_db_clear_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, args___copy);
+ retVal___ = postHookFunc(retVal___, key, data, args___copy);
va_end(args___copy);
}
}
@@ -50231,10 +50231,10 @@ bool HP_npc_trader_pay(struct npc_data *nd, struct map_session_data *sd, int pri
retVal___ = HPMHooks.source.npc.trader_pay(nd, sd, price, points);
}
if( HPMHooks.count.HP_npc_trader_pay_post ) {
- bool (*postHookFunc) (bool retVal___, struct npc_data *nd, struct map_session_data *sd, int *price, int *points);
+ bool (*postHookFunc) (bool retVal___, struct npc_data *nd, struct map_session_data *sd, int price, int points);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_trader_pay_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_trader_pay_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, sd, &price, &points);
+ retVal___ = postHookFunc(retVal___, nd, sd, price, points);
}
}
return retVal___;
@@ -50257,10 +50257,10 @@ void HP_npc_trader_update(int master) {
HPMHooks.source.npc.trader_update(master);
}
if( HPMHooks.count.HP_npc_trader_update_post ) {
- void (*postHookFunc) (int *master);
+ void (*postHookFunc) (int master);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_trader_update_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_trader_update_post[hIndex].func;
- postHookFunc(&master);
+ postHookFunc(master);
}
}
return;
@@ -50363,10 +50363,10 @@ void HP_npc_market_tosql(struct npc_data *nd, unsigned short index) {
HPMHooks.source.npc.market_tosql(nd, index);
}
if( HPMHooks.count.HP_npc_market_tosql_post ) {
- void (*postHookFunc) (struct npc_data *nd, unsigned short *index);
+ void (*postHookFunc) (struct npc_data *nd, unsigned short index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_market_tosql_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_market_tosql_post[hIndex].func;
- postHookFunc(nd, &index);
+ postHookFunc(nd, index);
}
}
return;
@@ -50389,10 +50389,10 @@ void HP_npc_market_delfromsql(struct npc_data *nd, unsigned short index) {
HPMHooks.source.npc.market_delfromsql(nd, index);
}
if( HPMHooks.count.HP_npc_market_delfromsql_post ) {
- void (*postHookFunc) (struct npc_data *nd, unsigned short *index);
+ void (*postHookFunc) (struct npc_data *nd, unsigned short index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_market_delfromsql_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_market_delfromsql_post[hIndex].func;
- postHookFunc(nd, &index);
+ postHookFunc(nd, index);
}
}
return;
@@ -50415,10 +50415,10 @@ void HP_npc_market_delfromsql_sub(const char *npcname, unsigned short index) {
HPMHooks.source.npc.market_delfromsql_sub(npcname, index);
}
if( HPMHooks.count.HP_npc_market_delfromsql_sub_post ) {
- void (*postHookFunc) (const char *npcname, unsigned short *index);
+ void (*postHookFunc) (const char *npcname, unsigned short index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_market_delfromsql_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_market_delfromsql_sub_post[hIndex].func;
- postHookFunc(npcname, &index);
+ postHookFunc(npcname, index);
}
}
return;
@@ -50442,10 +50442,10 @@ bool HP_npc_db_checkid(const int id) {
retVal___ = HPMHooks.source.npc.db_checkid(id);
}
if( HPMHooks.count.HP_npc_db_checkid_post ) {
- bool (*postHookFunc) (bool retVal___, const int *id);
+ bool (*postHookFunc) (bool retVal___, const int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_db_checkid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_db_checkid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -50469,10 +50469,10 @@ int HP_npc_secure_timeout_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.npc.secure_timeout_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_npc_secure_timeout_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_npc_secure_timeout_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_npc_secure_timeout_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -50496,10 +50496,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;
@@ -50523,10 +50523,10 @@ void HP_party_init(bool minimal) {
HPMHooks.source.party.init(minimal);
}
if( HPMHooks.count.HP_party_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -50576,10 +50576,10 @@ struct party_data* HP_party_search(int party_id) {
retVal___ = HPMHooks.source.party.search(party_id);
}
if( HPMHooks.count.HP_party_search_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_party_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id);
+ retVal___ = postHookFunc(retVal___, party_id);
}
}
return retVal___;
@@ -50684,10 +50684,10 @@ int HP_party_create(struct map_session_data *sd, const char *name, int item, int
retVal___ = HPMHooks.source.party.create(sd, name, item, item2);
}
if( HPMHooks.count.HP_party_create_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *name, int *item, int *item2);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *name, int item, int item2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, name, &item, &item2);
+ retVal___ = postHookFunc(retVal___, sd, name, item, item2);
}
}
return retVal___;
@@ -50710,10 +50710,10 @@ void HP_party_created(int account_id, int char_id, int fail, int party_id, const
HPMHooks.source.party.created(account_id, char_id, fail, party_id, name);
}
if( HPMHooks.count.HP_party_created_post ) {
- void (*postHookFunc) (int *account_id, int *char_id, int *fail, int *party_id, const char *name);
+ void (*postHookFunc) (int account_id, int char_id, int fail, int party_id, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_created_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_created_post[hIndex].func;
- postHookFunc(&account_id, &char_id, &fail, &party_id, name);
+ postHookFunc(account_id, char_id, fail, party_id, name);
}
}
return;
@@ -50737,10 +50737,10 @@ int HP_party_request_info(int party_id, int char_id) {
retVal___ = HPMHooks.source.party.request_info(party_id, char_id);
}
if( HPMHooks.count.HP_party_request_info_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *char_id);
+ int (*postHookFunc) (int retVal___, int party_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_request_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_request_info_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &char_id);
+ retVal___ = postHookFunc(retVal___, party_id, char_id);
}
}
return retVal___;
@@ -50817,10 +50817,10 @@ int HP_party_member_added(int party_id, int account_id, int char_id, int flag) {
retVal___ = HPMHooks.source.party.member_added(party_id, account_id, char_id, flag);
}
if( HPMHooks.count.HP_party_member_added_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *account_id, int *char_id, int *flag);
+ int (*postHookFunc) (int retVal___, int party_id, int account_id, int char_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_member_added_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_member_added_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, &char_id, &flag);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, char_id, flag);
}
}
return retVal___;
@@ -50871,10 +50871,10 @@ int HP_party_removemember(struct map_session_data *sd, int account_id, const cha
retVal___ = HPMHooks.source.party.removemember(sd, account_id, name);
}
if( HPMHooks.count.HP_party_removemember_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *account_id, const char *name);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int account_id, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_removemember_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_removemember_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &account_id, name);
+ retVal___ = postHookFunc(retVal___, sd, account_id, name);
}
}
return retVal___;
@@ -50898,10 +50898,10 @@ int HP_party_member_withdraw(int party_id, int account_id, int char_id) {
retVal___ = HPMHooks.source.party.member_withdraw(party_id, account_id, char_id);
}
if( HPMHooks.count.HP_party_member_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_party_member_withdraw_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_member_withdraw_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, &char_id);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, char_id);
}
}
return retVal___;
@@ -50924,10 +50924,10 @@ void HP_party_reply_invite(struct map_session_data *sd, int party_id, int flag)
HPMHooks.source.party.reply_invite(sd, party_id, flag);
}
if( HPMHooks.count.HP_party_reply_invite_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *party_id, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int party_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_reply_invite_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_reply_invite_post[hIndex].func;
- postHookFunc(sd, &party_id, &flag);
+ postHookFunc(sd, party_id, flag);
}
}
return;
@@ -50951,10 +50951,10 @@ int HP_party_recv_noinfo(int party_id, int char_id) {
retVal___ = HPMHooks.source.party.recv_noinfo(party_id, char_id);
}
if( HPMHooks.count.HP_party_recv_noinfo_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *char_id);
+ int (*postHookFunc) (int retVal___, int party_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recv_noinfo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_recv_noinfo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &char_id);
+ retVal___ = postHookFunc(retVal___, party_id, char_id);
}
}
return retVal___;
@@ -50978,10 +50978,10 @@ int HP_party_recv_info(const struct party *sp, int char_id) {
retVal___ = HPMHooks.source.party.recv_info(sp, char_id);
}
if( HPMHooks.count.HP_party_recv_info_post ) {
- int (*postHookFunc) (int retVal___, const struct party *sp, int *char_id);
+ int (*postHookFunc) (int retVal___, const struct party *sp, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recv_info_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_recv_info_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sp, &char_id);
+ retVal___ = postHookFunc(retVal___, sp, char_id);
}
}
return retVal___;
@@ -51005,10 +51005,10 @@ int HP_party_recv_movemap(int party_id, int account_id, int char_id, unsigned sh
retVal___ = HPMHooks.source.party.recv_movemap(party_id, account_id, char_id, mapid, online, lv);
}
if( HPMHooks.count.HP_party_recv_movemap_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *account_id, int *char_id, unsigned short *mapid, int *online, int *lv);
+ int (*postHookFunc) (int retVal___, int party_id, int account_id, int char_id, unsigned short mapid, int online, int lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recv_movemap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_recv_movemap_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, &char_id, &mapid, &online, &lv);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, char_id, mapid, online, lv);
}
}
return retVal___;
@@ -51032,10 +51032,10 @@ int HP_party_broken(int party_id) {
retVal___ = HPMHooks.source.party.broken(party_id);
}
if( HPMHooks.count.HP_party_broken_post ) {
- int (*postHookFunc) (int retVal___, int *party_id);
+ int (*postHookFunc) (int retVal___, int party_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_broken_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_broken_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id);
+ retVal___ = postHookFunc(retVal___, party_id);
}
}
return retVal___;
@@ -51059,10 +51059,10 @@ int HP_party_optionchanged(int party_id, int account_id, int exp, int item, int
retVal___ = HPMHooks.source.party.optionchanged(party_id, account_id, exp, item, flag);
}
if( HPMHooks.count.HP_party_optionchanged_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *account_id, int *exp, int *item, int *flag);
+ int (*postHookFunc) (int retVal___, int party_id, int account_id, int exp, int item, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_optionchanged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_optionchanged_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, &exp, &item, &flag);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, exp, item, flag);
}
}
return retVal___;
@@ -51086,10 +51086,10 @@ int HP_party_changeoption(struct map_session_data *sd, int exp, int item) {
retVal___ = HPMHooks.source.party.changeoption(sd, exp, item);
}
if( HPMHooks.count.HP_party_changeoption_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *exp, int *item);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int exp, int item);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_changeoption_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_changeoption_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &exp, &item);
+ retVal___ = postHookFunc(retVal___, sd, exp, item);
}
}
return retVal___;
@@ -51246,10 +51246,10 @@ int HP_party_recv_message(int party_id, int account_id, const char *mes, int len
retVal___ = HPMHooks.source.party.recv_message(party_id, account_id, mes, len);
}
if( HPMHooks.count.HP_party_recv_message_post ) {
- int (*postHookFunc) (int retVal___, int *party_id, int *account_id, const char *mes, int *len);
+ int (*postHookFunc) (int retVal___, int party_id, int account_id, const char *mes, int len);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recv_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_recv_message_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, mes, &len);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, mes, len);
}
}
return retVal___;
@@ -51273,10 +51273,10 @@ int HP_party_skill_check(struct map_session_data *sd, int party_id, uint16 skill
retVal___ = HPMHooks.source.party.skill_check(sd, party_id, skill_id, skill_lv);
}
if( HPMHooks.count.HP_party_skill_check_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *party_id, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int party_id, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_skill_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_skill_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &party_id, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, sd, party_id, skill_id, skill_lv);
}
}
return retVal___;
@@ -51327,10 +51327,10 @@ int HP_party_exp_share(struct party_data *p, struct block_list *src, unsigned in
retVal___ = HPMHooks.source.party.exp_share(p, src, base_exp, job_exp, zeny);
}
if( HPMHooks.count.HP_party_exp_share_post ) {
- int (*postHookFunc) (int retVal___, struct party_data *p, struct block_list *src, unsigned int *base_exp, unsigned int *job_exp, int *zeny);
+ int (*postHookFunc) (int retVal___, struct party_data *p, struct block_list *src, unsigned int base_exp, unsigned int job_exp, int zeny);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_exp_share_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_exp_share_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, p, src, &base_exp, &job_exp, &zeny);
+ retVal___ = postHookFunc(retVal___, p, src, base_exp, job_exp, zeny);
}
}
return retVal___;
@@ -51354,10 +51354,10 @@ int HP_party_share_loot(struct party_data *p, struct map_session_data *sd, struc
retVal___ = HPMHooks.source.party.share_loot(p, sd, item_data, first_charid);
}
if( HPMHooks.count.HP_party_share_loot_post ) {
- int (*postHookFunc) (int retVal___, struct party_data *p, struct map_session_data *sd, struct item *item_data, int *first_charid);
+ int (*postHookFunc) (int retVal___, struct party_data *p, struct map_session_data *sd, struct item *item_data, int first_charid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_share_loot_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_share_loot_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, p, sd, item_data, &first_charid);
+ retVal___ = postHookFunc(retVal___, p, sd, item_data, first_charid);
}
}
return retVal___;
@@ -51473,10 +51473,10 @@ void HP_party_booking_register(struct map_session_data *sd, short level, short m
HPMHooks.source.party.booking_register(sd, level, mapid, job);
}
if( HPMHooks.count.HP_party_booking_register_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *level, short *mapid, short *job);
+ void (*postHookFunc) (struct map_session_data *sd, short level, short mapid, short *job);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_booking_register_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_booking_register_post[hIndex].func;
- postHookFunc(sd, &level, &mapid, job);
+ postHookFunc(sd, level, mapid, job);
}
}
return;
@@ -51525,10 +51525,10 @@ void HP_party_booking_search(struct map_session_data *sd, short level, short map
HPMHooks.source.party.booking_search(sd, level, mapid, job, lastindex, resultcount);
}
if( HPMHooks.count.HP_party_booking_search_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *level, short *mapid, short *job, unsigned long *lastindex, short *resultcount);
+ void (*postHookFunc) (struct map_session_data *sd, short level, short mapid, short job, unsigned long lastindex, short resultcount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_booking_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_booking_search_post[hIndex].func;
- postHookFunc(sd, &level, &mapid, &job, &lastindex, &resultcount);
+ postHookFunc(sd, level, mapid, job, lastindex, resultcount);
}
}
return;
@@ -51551,10 +51551,10 @@ void HP_party_recruit_register(struct map_session_data *sd, short level, const c
HPMHooks.source.party.recruit_register(sd, level, notice);
}
if( HPMHooks.count.HP_party_recruit_register_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *level, const char *notice);
+ void (*postHookFunc) (struct map_session_data *sd, short level, const char *notice);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recruit_register_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_recruit_register_post[hIndex].func;
- postHookFunc(sd, &level, notice);
+ postHookFunc(sd, level, notice);
}
}
return;
@@ -51603,10 +51603,10 @@ void HP_party_recruit_search(struct map_session_data *sd, short level, short map
HPMHooks.source.party.recruit_search(sd, level, mapid, lastindex, resultcount);
}
if( HPMHooks.count.HP_party_recruit_search_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *level, short *mapid, unsigned long *lastindex, short *resultcount);
+ void (*postHookFunc) (struct map_session_data *sd, short level, short mapid, unsigned long lastindex, short resultcount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recruit_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_recruit_search_post[hIndex].func;
- postHookFunc(sd, &level, &mapid, &lastindex, &resultcount);
+ postHookFunc(sd, level, mapid, lastindex, resultcount);
}
}
return;
@@ -51661,11 +51661,11 @@ int HP_party_vforeachsamemap(int ( *func ) (struct block_list *, va_list), struc
va_end(ap___copy);
}
if( HPMHooks.count.HP_party_vforeachsamemap_post ) {
- int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct map_session_data *sd, int *range, va_list ap);
+ int (*postHookFunc) (int retVal___, int ( *func ) (struct block_list *, va_list), struct map_session_data *sd, int range, va_list ap);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_vforeachsamemap_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_party_vforeachsamemap_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, func, sd, &range, ap___copy);
+ retVal___ = postHookFunc(retVal___, func, sd, range, ap___copy);
va_end(ap___copy);
}
}
@@ -51690,10 +51690,10 @@ int HP_party_send_xy_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.party.send_xy_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_party_send_xy_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_party_send_xy_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_send_xy_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -51716,10 +51716,10 @@ void HP_party_fill_member(struct party_member *member, struct map_session_data *
HPMHooks.source.party.fill_member(member, sd, leader);
}
if( HPMHooks.count.HP_party_fill_member_post ) {
- void (*postHookFunc) (struct party_member *member, struct map_session_data *sd, unsigned int *leader);
+ void (*postHookFunc) (struct party_member *member, struct map_session_data *sd, unsigned int leader);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_fill_member_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_fill_member_post[hIndex].func;
- postHookFunc(member, sd, &leader);
+ postHookFunc(member, sd, leader);
}
}
return;
@@ -51743,10 +51743,10 @@ struct map_session_data* HP_party_sd_check(int party_id, int account_id, int cha
retVal___ = HPMHooks.source.party.sd_check(party_id, account_id, char_id);
}
if( HPMHooks.count.HP_party_sd_check_post ) {
- struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, int *party_id, int *account_id, int *char_id);
+ struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, int party_id, int account_id, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_sd_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_party_sd_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &party_id, &account_id, &char_id);
+ retVal___ = postHookFunc(retVal___, party_id, account_id, char_id);
}
}
return retVal___;
@@ -51827,11 +51827,11 @@ int HP_party_db_final(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_party_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_party_db_final_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_party_db_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -51857,10 +51857,10 @@ int HP_path_blownpos(struct block_list *bl, int16 m, int16 x0, int16 y0, int16 d
retVal___ = HPMHooks.source.path.blownpos(bl, m, x0, y0, dx, dy, count);
}
if( HPMHooks.count.HP_path_blownpos_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *dx, int16 *dy, int *count);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int16 m, int16 x0, int16 y0, int16 dx, int16 dy, int count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_blownpos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_path_blownpos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &m, &x0, &y0, &dx, &dy, &count);
+ retVal___ = postHookFunc(retVal___, bl, m, x0, y0, dx, dy, count);
}
}
return retVal___;
@@ -51884,10 +51884,10 @@ bool HP_path_search(struct walkpath_data *wpd, struct block_list *bl, int16 m, i
retVal___ = HPMHooks.source.path.search(wpd, bl, m, x0, y0, x1, y1, flag, cell);
}
if( HPMHooks.count.HP_path_search_post ) {
- bool (*postHookFunc) (bool retVal___, struct walkpath_data *wpd, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *flag, cell_chk *cell);
+ bool (*postHookFunc) (bool retVal___, struct walkpath_data *wpd, struct block_list *bl, int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int flag, cell_chk cell);
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_path_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, wpd, bl, &m, &x0, &y0, &x1, &y1, &flag, &cell);
+ retVal___ = postHookFunc(retVal___, wpd, bl, m, x0, y0, x1, y1, flag, cell);
}
}
return retVal___;
@@ -51911,10 +51911,10 @@ bool HP_path_search_long(struct shootpath_data *spd, struct block_list *bl, int1
retVal___ = HPMHooks.source.path.search_long(spd, bl, m, x0, y0, x1, y1, cell);
}
if( HPMHooks.count.HP_path_search_long_post ) {
- bool (*postHookFunc) (bool retVal___, struct shootpath_data *spd, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, cell_chk *cell);
+ bool (*postHookFunc) (bool retVal___, struct shootpath_data *spd, struct block_list *bl, int16 m, int16 x0, int16 y0, int16 x1, int16 y1, cell_chk cell);
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_search_long_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_path_search_long_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, spd, bl, &m, &x0, &y0, &x1, &y1, &cell);
+ retVal___ = postHookFunc(retVal___, spd, bl, m, x0, y0, x1, y1, cell);
}
}
return retVal___;
@@ -51938,10 +51938,10 @@ bool HP_path_check_distance(int dx, int dy, int distance) {
retVal___ = HPMHooks.source.path.check_distance(dx, dy, distance);
}
if( HPMHooks.count.HP_path_check_distance_post ) {
- bool (*postHookFunc) (bool retVal___, int *dx, int *dy, int *distance);
+ bool (*postHookFunc) (bool retVal___, int dx, int dy, int distance);
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_check_distance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_path_check_distance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &dx, &dy, &distance);
+ retVal___ = postHookFunc(retVal___, dx, dy, distance);
}
}
return retVal___;
@@ -51965,10 +51965,10 @@ unsigned int HP_path_distance(int dx, int dy) {
retVal___ = HPMHooks.source.path.distance(dx, dy);
}
if( HPMHooks.count.HP_path_distance_post ) {
- unsigned int (*postHookFunc) (unsigned int retVal___, int *dx, int *dy);
+ unsigned int (*postHookFunc) (unsigned int retVal___, int dx, int dy);
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_distance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_path_distance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &dx, &dy);
+ retVal___ = postHookFunc(retVal___, dx, dy);
}
}
return retVal___;
@@ -51992,10 +51992,10 @@ bool HP_path_check_distance_client(int dx, int dy, int distance) {
retVal___ = HPMHooks.source.path.check_distance_client(dx, dy, distance);
}
if( HPMHooks.count.HP_path_check_distance_client_post ) {
- bool (*postHookFunc) (bool retVal___, int *dx, int *dy, int *distance);
+ bool (*postHookFunc) (bool retVal___, int dx, int dy, int distance);
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_check_distance_client_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_path_check_distance_client_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &dx, &dy, &distance);
+ retVal___ = postHookFunc(retVal___, dx, dy, distance);
}
}
return retVal___;
@@ -52019,10 +52019,10 @@ int HP_path_distance_client(int dx, int dy) {
retVal___ = HPMHooks.source.path.distance_client(dx, dy);
}
if( HPMHooks.count.HP_path_distance_client_post ) {
- int (*postHookFunc) (int retVal___, int *dx, int *dy);
+ int (*postHookFunc) (int retVal___, int dx, int dy);
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_distance_client_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_path_distance_client_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &dx, &dy);
+ retVal___ = postHookFunc(retVal___, dx, dy);
}
}
return retVal___;
@@ -52152,10 +52152,10 @@ bool HP_pcg_exists(int group_id) {
retVal___ = HPMHooks.source.pcg.exists(group_id);
}
if( HPMHooks.count.HP_pcg_exists_post ) {
- bool (*postHookFunc) (bool retVal___, int *group_id);
+ bool (*postHookFunc) (bool retVal___, int group_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_exists_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pcg_exists_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &group_id);
+ retVal___ = postHookFunc(retVal___, group_id);
}
}
return retVal___;
@@ -52179,10 +52179,10 @@ GroupSettings* HP_pcg_id2group(int group_id) {
retVal___ = HPMHooks.source.pcg.id2group(group_id);
}
if( HPMHooks.count.HP_pcg_id2group_post ) {
- GroupSettings* (*postHookFunc) (GroupSettings* retVal___, int *group_id);
+ GroupSettings* (*postHookFunc) (GroupSettings* retVal___, int group_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_id2group_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pcg_id2group_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &group_id);
+ retVal___ = postHookFunc(retVal___, group_id);
}
}
return retVal___;
@@ -52206,10 +52206,10 @@ bool HP_pcg_has_permission(GroupSettings *group, unsigned int permission) {
retVal___ = HPMHooks.source.pcg.has_permission(group, permission);
}
if( HPMHooks.count.HP_pcg_has_permission_post ) {
- bool (*postHookFunc) (bool retVal___, GroupSettings *group, unsigned int *permission);
+ bool (*postHookFunc) (bool retVal___, GroupSettings *group, unsigned int permission);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_has_permission_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pcg_has_permission_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, group, &permission);
+ retVal___ = postHookFunc(retVal___, group, permission);
}
}
return retVal___;
@@ -52341,10 +52341,10 @@ void HP_pc_init(bool minimal) {
HPMHooks.source.pc.init(minimal);
}
if( HPMHooks.count.HP_pc_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -52421,10 +52421,10 @@ int HP_pc_class2idx(int class_) {
retVal___ = HPMHooks.source.pc.class2idx(class_);
}
if( HPMHooks.count.HP_pc_class2idx_post ) {
- int (*postHookFunc) (int retVal___, int *class_);
+ int (*postHookFunc) (int retVal___, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_class2idx_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_class2idx_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -52475,10 +52475,10 @@ bool HP_pc_can_attack(struct map_session_data *sd, int target_id) {
retVal___ = HPMHooks.source.pc.can_attack(sd, target_id);
}
if( HPMHooks.count.HP_pc_can_attack_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *target_id);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int target_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_attack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_can_attack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &target_id);
+ retVal___ = postHookFunc(retVal___, sd, target_id);
}
}
return retVal___;
@@ -52529,10 +52529,10 @@ int HP_pc_set_group(struct map_session_data *sd, int group_id) {
retVal___ = HPMHooks.source.pc.set_group(sd, group_id);
}
if( HPMHooks.count.HP_pc_set_group_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *group_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int group_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_set_group_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_set_group_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &group_id);
+ retVal___ = postHookFunc(retVal___, sd, group_id);
}
}
return retVal___;
@@ -52583,10 +52583,10 @@ int HP_pc_setrestartvalue(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.pc.setrestartvalue(sd, type);
}
if( HPMHooks.count.HP_pc_setrestartvalue_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setrestartvalue_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setrestartvalue_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -52636,10 +52636,10 @@ void HP_pc_respawn(struct map_session_data *sd, clr_type clrtype) {
HPMHooks.source.pc.respawn(sd, clrtype);
}
if( HPMHooks.count.HP_pc_respawn_post ) {
- void (*postHookFunc) (struct map_session_data *sd, clr_type *clrtype);
+ void (*postHookFunc) (struct map_session_data *sd, clr_type clrtype);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_respawn_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_respawn_post[hIndex].func;
- postHookFunc(sd, &clrtype);
+ postHookFunc(sd, clrtype);
}
}
return;
@@ -52663,10 +52663,10 @@ int HP_pc_setnewpc(struct map_session_data *sd, int account_id, int char_id, int
retVal___ = HPMHooks.source.pc.setnewpc(sd, account_id, char_id, login_id1, client_tick, sex, fd);
}
if( HPMHooks.count.HP_pc_setnewpc_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *account_id, int *char_id, int *login_id1, unsigned int *client_tick, int *sex, int *fd);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int account_id, int char_id, int login_id1, unsigned int client_tick, int sex, int fd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setnewpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setnewpc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &account_id, &char_id, &login_id1, &client_tick, &sex, &fd);
+ retVal___ = postHookFunc(retVal___, sd, account_id, char_id, login_id1, client_tick, sex, fd);
}
}
return retVal___;
@@ -52690,10 +52690,10 @@ bool HP_pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_
retVal___ = HPMHooks.source.pc.authok(sd, login_id2, expiration_time, group_id, st, changing_mapservers);
}
if( HPMHooks.count.HP_pc_authok_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *login_id2, time_t *expiration_time, int *group_id, const struct mmo_charstatus *st, bool *changing_mapservers);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int login_id2, time_t expiration_time, int group_id, const struct mmo_charstatus *st, bool changing_mapservers);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_authok_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_authok_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &login_id2, &expiration_time, &group_id, st, &changing_mapservers);
+ retVal___ = postHookFunc(retVal___, sd, login_id2, expiration_time, group_id, st, changing_mapservers);
}
}
return retVal___;
@@ -52770,10 +52770,10 @@ int HP_pc_isequip(struct map_session_data *sd, int n) {
retVal___ = HPMHooks.source.pc.isequip(sd, n);
}
if( HPMHooks.count.HP_pc_isequip_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_isequip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_isequip_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n);
+ retVal___ = postHookFunc(retVal___, sd, n);
}
}
return retVal___;
@@ -52797,10 +52797,10 @@ int HP_pc_equippoint(struct map_session_data *sd, int n) {
retVal___ = HPMHooks.source.pc.equippoint(sd, n);
}
if( HPMHooks.count.HP_pc_equippoint_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_equippoint_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_equippoint_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n);
+ retVal___ = postHookFunc(retVal___, sd, n);
}
}
return retVal___;
@@ -52851,10 +52851,10 @@ int HP_pc_checkskill(struct map_session_data *sd, uint16 skill_id) {
retVal___ = HPMHooks.source.pc.checkskill(sd, skill_id);
}
if( HPMHooks.count.HP_pc_checkskill_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_checkskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -52878,10 +52878,10 @@ int HP_pc_checkskill2(struct map_session_data *sd, uint16 index) {
retVal___ = HPMHooks.source.pc.checkskill2(sd, index);
}
if( HPMHooks.count.HP_pc_checkskill2_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *index);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkskill2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_checkskill2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index);
+ retVal___ = postHookFunc(retVal___, sd, index);
}
}
return retVal___;
@@ -52932,10 +52932,10 @@ int HP_pc_checkequip(struct map_session_data *sd, int pos) {
retVal___ = HPMHooks.source.pc.checkequip(sd, pos);
}
if( HPMHooks.count.HP_pc_checkequip_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *pos);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkequip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_checkequip_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &pos);
+ retVal___ = postHookFunc(retVal___, sd, pos);
}
}
return retVal___;
@@ -53040,10 +53040,10 @@ int HP_pc_setpos(struct map_session_data *sd, unsigned short map_index, int x, i
retVal___ = HPMHooks.source.pc.setpos(sd, map_index, x, y, clrtype);
}
if( HPMHooks.count.HP_pc_setpos_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, unsigned short *map_index, int *x, int *y, clr_type *clrtype);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, unsigned short map_index, int x, int y, clr_type clrtype);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setpos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setpos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &map_index, &x, &y, &clrtype);
+ retVal___ = postHookFunc(retVal___, sd, map_index, x, y, clrtype);
}
}
return retVal___;
@@ -53067,10 +53067,10 @@ int HP_pc_setsavepoint(struct map_session_data *sd, short map_index, int x, int
retVal___ = HPMHooks.source.pc.setsavepoint(sd, map_index, x, y);
}
if( HPMHooks.count.HP_pc_setsavepoint_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, short *map_index, int *x, int *y);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, short map_index, int x, int y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setsavepoint_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setsavepoint_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &map_index, &x, &y);
+ retVal___ = postHookFunc(retVal___, sd, map_index, x, y);
}
}
return retVal___;
@@ -53094,10 +53094,10 @@ int HP_pc_randomwarp(struct map_session_data *sd, clr_type type) {
retVal___ = HPMHooks.source.pc.randomwarp(sd, type);
}
if( HPMHooks.count.HP_pc_randomwarp_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, clr_type *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, clr_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_randomwarp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_randomwarp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -53121,10 +53121,10 @@ int HP_pc_memo(struct map_session_data *sd, int pos) {
retVal___ = HPMHooks.source.pc.memo(sd, pos);
}
if( HPMHooks.count.HP_pc_memo_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *pos);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_memo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_memo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &pos);
+ retVal___ = postHookFunc(retVal___, sd, pos);
}
}
return retVal___;
@@ -53148,10 +53148,10 @@ int HP_pc_checkadditem(struct map_session_data *sd, int nameid, int amount) {
retVal___ = HPMHooks.source.pc.checkadditem(sd, nameid, amount);
}
if( HPMHooks.count.HP_pc_checkadditem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *nameid, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int nameid, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkadditem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_checkadditem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid, &amount);
+ retVal___ = postHookFunc(retVal___, sd, nameid, amount);
}
}
return retVal___;
@@ -53202,10 +53202,10 @@ int HP_pc_search_inventory(struct map_session_data *sd, int item_id) {
retVal___ = HPMHooks.source.pc.search_inventory(sd, item_id);
}
if( HPMHooks.count.HP_pc_search_inventory_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *item_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int item_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_search_inventory_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_search_inventory_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &item_id);
+ retVal___ = postHookFunc(retVal___, sd, item_id);
}
}
return retVal___;
@@ -53229,10 +53229,10 @@ int HP_pc_payzeny(struct map_session_data *sd, int zeny, enum e_log_pick_type ty
retVal___ = HPMHooks.source.pc.payzeny(sd, zeny, type, tsd);
}
if( HPMHooks.count.HP_pc_payzeny_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *zeny, enum e_log_pick_type *type, struct map_session_data *tsd);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int zeny, enum e_log_pick_type type, struct map_session_data *tsd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_payzeny_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_payzeny_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &zeny, &type, tsd);
+ retVal___ = postHookFunc(retVal___, sd, zeny, type, tsd);
}
}
return retVal___;
@@ -53256,10 +53256,10 @@ int HP_pc_additem(struct map_session_data *sd, struct item *item_data, int amoun
retVal___ = HPMHooks.source.pc.additem(sd, item_data, amount, log_type);
}
if( HPMHooks.count.HP_pc_additem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct item *item_data, int *amount, e_log_pick_type *log_type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct item *item_data, int amount, e_log_pick_type log_type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_additem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_additem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, item_data, &amount, &log_type);
+ retVal___ = postHookFunc(retVal___, sd, item_data, amount, log_type);
}
}
return retVal___;
@@ -53283,10 +53283,10 @@ int HP_pc_getzeny(struct map_session_data *sd, int zeny, enum e_log_pick_type ty
retVal___ = HPMHooks.source.pc.getzeny(sd, zeny, type, tsd);
}
if( HPMHooks.count.HP_pc_getzeny_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *zeny, enum e_log_pick_type *type, struct map_session_data *tsd);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int zeny, enum e_log_pick_type type, struct map_session_data *tsd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getzeny_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_getzeny_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &zeny, &type, tsd);
+ retVal___ = postHookFunc(retVal___, sd, zeny, type, tsd);
}
}
return retVal___;
@@ -53310,10 +53310,10 @@ int HP_pc_delitem(struct map_session_data *sd, int n, int amount, int type, shor
retVal___ = HPMHooks.source.pc.delitem(sd, n, amount, type, reason, log_type);
}
if( HPMHooks.count.HP_pc_delitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n, int *amount, int *type, short *reason, e_log_pick_type *log_type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n, int amount, int type, short reason, e_log_pick_type log_type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_delitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_delitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n, &amount, &type, &reason, &log_type);
+ retVal___ = postHookFunc(retVal___, sd, n, amount, type, reason, log_type);
}
}
return retVal___;
@@ -53337,10 +53337,10 @@ int HP_pc_paycash(struct map_session_data *sd, int price, int points) {
retVal___ = HPMHooks.source.pc.paycash(sd, price, points);
}
if( HPMHooks.count.HP_pc_paycash_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *price, int *points);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int price, int points);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_paycash_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_paycash_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &price, &points);
+ retVal___ = postHookFunc(retVal___, sd, price, points);
}
}
return retVal___;
@@ -53364,10 +53364,10 @@ int HP_pc_getcash(struct map_session_data *sd, int cash, int points) {
retVal___ = HPMHooks.source.pc.getcash(sd, cash, points);
}
if( HPMHooks.count.HP_pc_getcash_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *cash, int *points);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int cash, int points);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getcash_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_getcash_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &cash, &points);
+ retVal___ = postHookFunc(retVal___, sd, cash, points);
}
}
return retVal___;
@@ -53391,10 +53391,10 @@ int HP_pc_cart_additem(struct map_session_data *sd, struct item *item_data, int
retVal___ = HPMHooks.source.pc.cart_additem(sd, item_data, amount, log_type);
}
if( HPMHooks.count.HP_pc_cart_additem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct item *item_data, int *amount, e_log_pick_type *log_type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct item *item_data, int amount, e_log_pick_type log_type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_cart_additem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_cart_additem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, item_data, &amount, &log_type);
+ retVal___ = postHookFunc(retVal___, sd, item_data, amount, log_type);
}
}
return retVal___;
@@ -53418,10 +53418,10 @@ int HP_pc_cart_delitem(struct map_session_data *sd, int n, int amount, int type,
retVal___ = HPMHooks.source.pc.cart_delitem(sd, n, amount, type, log_type);
}
if( HPMHooks.count.HP_pc_cart_delitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n, int *amount, int *type, e_log_pick_type *log_type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n, int amount, int type, e_log_pick_type log_type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_cart_delitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_cart_delitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n, &amount, &type, &log_type);
+ retVal___ = postHookFunc(retVal___, sd, n, amount, type, log_type);
}
}
return retVal___;
@@ -53445,10 +53445,10 @@ int HP_pc_putitemtocart(struct map_session_data *sd, int idx, int amount) {
retVal___ = HPMHooks.source.pc.putitemtocart(sd, idx, amount);
}
if( HPMHooks.count.HP_pc_putitemtocart_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *idx, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int idx, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_putitemtocart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_putitemtocart_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &idx, &amount);
+ retVal___ = postHookFunc(retVal___, sd, idx, amount);
}
}
return retVal___;
@@ -53472,10 +53472,10 @@ int HP_pc_getitemfromcart(struct map_session_data *sd, int idx, int amount) {
retVal___ = HPMHooks.source.pc.getitemfromcart(sd, idx, amount);
}
if( HPMHooks.count.HP_pc_getitemfromcart_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *idx, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int idx, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getitemfromcart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_getitemfromcart_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &idx, &amount);
+ retVal___ = postHookFunc(retVal___, sd, idx, amount);
}
}
return retVal___;
@@ -53499,10 +53499,10 @@ int HP_pc_cartitem_amount(struct map_session_data *sd, int idx, int amount) {
retVal___ = HPMHooks.source.pc.cartitem_amount(sd, idx, amount);
}
if( HPMHooks.count.HP_pc_cartitem_amount_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *idx, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int idx, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_cartitem_amount_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_cartitem_amount_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &idx, &amount);
+ retVal___ = postHookFunc(retVal___, sd, idx, amount);
}
}
return retVal___;
@@ -53553,10 +53553,10 @@ int HP_pc_dropitem(struct map_session_data *sd, int n, int amount) {
retVal___ = HPMHooks.source.pc.dropitem(sd, n, amount);
}
if( HPMHooks.count.HP_pc_dropitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_dropitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_dropitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n, &amount);
+ retVal___ = postHookFunc(retVal___, sd, n, amount);
}
}
return retVal___;
@@ -53580,10 +53580,10 @@ bool HP_pc_isequipped(struct map_session_data *sd, int nameid) {
retVal___ = HPMHooks.source.pc.isequipped(sd, nameid);
}
if( HPMHooks.count.HP_pc_isequipped_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *nameid);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_isequipped_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_isequipped_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid);
+ retVal___ = postHookFunc(retVal___, sd, nameid);
}
}
return retVal___;
@@ -53688,10 +53688,10 @@ int HP_pc_addautobonus(struct s_autobonus *bonus, char max, const char *bonus_sc
retVal___ = HPMHooks.source.pc.addautobonus(bonus, max, bonus_script, rate, dur, atk_type, o_script, pos, onskill);
}
if( HPMHooks.count.HP_pc_addautobonus_post ) {
- int (*postHookFunc) (int retVal___, struct s_autobonus *bonus, char *max, const char *bonus_script, short *rate, unsigned int *dur, short *atk_type, const char *o_script, unsigned short *pos, bool *onskill);
+ int (*postHookFunc) (int retVal___, struct s_autobonus *bonus, char max, const char *bonus_script, short rate, unsigned int dur, short atk_type, const char *o_script, unsigned short pos, bool onskill);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addautobonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_addautobonus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bonus, &max, bonus_script, &rate, &dur, &atk_type, o_script, &pos, &onskill);
+ retVal___ = postHookFunc(retVal___, bonus, max, bonus_script, rate, dur, atk_type, o_script, pos, onskill);
}
}
return retVal___;
@@ -53742,10 +53742,10 @@ int HP_pc_endautobonus(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.endautobonus(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_endautobonus_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_pc_endautobonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_endautobonus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -53769,10 +53769,10 @@ int HP_pc_delautobonus(struct map_session_data *sd, struct s_autobonus *bonus, c
retVal___ = HPMHooks.source.pc.delautobonus(sd, bonus, max, restore);
}
if( HPMHooks.count.HP_pc_delautobonus_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct s_autobonus *bonus, char *max, bool *restore);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct s_autobonus *bonus, char max, bool restore);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_delautobonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_delautobonus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, bonus, &max, &restore);
+ retVal___ = postHookFunc(retVal___, sd, bonus, max, restore);
}
}
return retVal___;
@@ -53796,10 +53796,10 @@ int HP_pc_bonus(struct map_session_data *sd, int type, int val) {
retVal___ = HPMHooks.source.pc.bonus(sd, type, val);
}
if( HPMHooks.count.HP_pc_bonus_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, val);
}
}
return retVal___;
@@ -53823,10 +53823,10 @@ int HP_pc_bonus2(struct map_session_data *sd, int type, int type2, int val) {
retVal___ = HPMHooks.source.pc.bonus2(sd, type, type2, val);
}
if( HPMHooks.count.HP_pc_bonus2_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *type2, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int type2, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &type2, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, type2, val);
}
}
return retVal___;
@@ -53850,10 +53850,10 @@ int HP_pc_bonus3(struct map_session_data *sd, int type, int type2, int type3, in
retVal___ = HPMHooks.source.pc.bonus3(sd, type, type2, type3, val);
}
if( HPMHooks.count.HP_pc_bonus3_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *type2, int *type3, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int type2, int type3, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus3_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus3_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &type2, &type3, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, type2, type3, val);
}
}
return retVal___;
@@ -53877,10 +53877,10 @@ int HP_pc_bonus4(struct map_session_data *sd, int type, int type2, int type3, in
retVal___ = HPMHooks.source.pc.bonus4(sd, type, type2, type3, type4, val);
}
if( HPMHooks.count.HP_pc_bonus4_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *type2, int *type3, int *type4, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int type2, int type3, int type4, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus4_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus4_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &type2, &type3, &type4, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, type2, type3, type4, val);
}
}
return retVal___;
@@ -53904,10 +53904,10 @@ int HP_pc_bonus5(struct map_session_data *sd, int type, int type2, int type3, in
retVal___ = HPMHooks.source.pc.bonus5(sd, type, type2, type3, type4, type5, val);
}
if( HPMHooks.count.HP_pc_bonus5_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *type2, int *type3, int *type4, int *type5, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int type2, int type3, int type4, int type5, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus5_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus5_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &type2, &type3, &type4, &type5, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, type2, type3, type4, type5, val);
}
}
return retVal___;
@@ -53931,10 +53931,10 @@ int HP_pc_skill(struct map_session_data *sd, int id, int level, int flag) {
retVal___ = HPMHooks.source.pc.skill(sd, id, level, flag);
}
if( HPMHooks.count.HP_pc_skill_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *id, int *level, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int id, int level, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_skill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &id, &level, &flag);
+ retVal___ = postHookFunc(retVal___, sd, id, level, flag);
}
}
return retVal___;
@@ -53958,10 +53958,10 @@ int HP_pc_insert_card(struct map_session_data *sd, int idx_card, int idx_equip)
retVal___ = HPMHooks.source.pc.insert_card(sd, idx_card, idx_equip);
}
if( HPMHooks.count.HP_pc_insert_card_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *idx_card, int *idx_equip);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int idx_card, int idx_equip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_insert_card_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_insert_card_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &idx_card, &idx_equip);
+ retVal___ = postHookFunc(retVal___, sd, idx_card, idx_equip);
}
}
return retVal___;
@@ -53985,10 +53985,10 @@ bool HP_pc_can_insert_card(struct map_session_data *sd, int idx_card) {
retVal___ = HPMHooks.source.pc.can_insert_card(sd, idx_card);
}
if( HPMHooks.count.HP_pc_can_insert_card_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *idx_card);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int idx_card);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_insert_card_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_can_insert_card_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &idx_card);
+ retVal___ = postHookFunc(retVal___, sd, idx_card);
}
}
return retVal___;
@@ -54012,10 +54012,10 @@ bool HP_pc_can_insert_card_into(struct map_session_data *sd, int idx_card, int i
retVal___ = HPMHooks.source.pc.can_insert_card_into(sd, idx_card, idx_equip);
}
if( HPMHooks.count.HP_pc_can_insert_card_into_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *idx_card, int *idx_equip);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int idx_card, int idx_equip);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_insert_card_into_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_can_insert_card_into_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &idx_card, &idx_equip);
+ retVal___ = postHookFunc(retVal___, sd, idx_card, idx_equip);
}
}
return retVal___;
@@ -54039,10 +54039,10 @@ int HP_pc_steal_item(struct map_session_data *sd, struct block_list *bl, uint16
retVal___ = HPMHooks.source.pc.steal_item(sd, bl, skill_lv);
}
if( HPMHooks.count.HP_pc_steal_item_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_steal_item_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_steal_item_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, bl, &skill_lv);
+ retVal___ = postHookFunc(retVal___, sd, bl, skill_lv);
}
}
return retVal___;
@@ -54093,10 +54093,10 @@ int HP_pc_modifybuyvalue(struct map_session_data *sd, int orig_value) {
retVal___ = HPMHooks.source.pc.modifybuyvalue(sd, orig_value);
}
if( HPMHooks.count.HP_pc_modifybuyvalue_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *orig_value);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int orig_value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_modifybuyvalue_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_modifybuyvalue_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &orig_value);
+ retVal___ = postHookFunc(retVal___, sd, orig_value);
}
}
return retVal___;
@@ -54120,10 +54120,10 @@ int HP_pc_modifysellvalue(struct map_session_data *sd, int orig_value) {
retVal___ = HPMHooks.source.pc.modifysellvalue(sd, orig_value);
}
if( HPMHooks.count.HP_pc_modifysellvalue_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *orig_value);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int orig_value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_modifysellvalue_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_modifysellvalue_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &orig_value);
+ retVal___ = postHookFunc(retVal___, sd, orig_value);
}
}
return retVal___;
@@ -54147,10 +54147,10 @@ int HP_pc_follow(struct map_session_data *sd, int target_id) {
retVal___ = HPMHooks.source.pc.follow(sd, target_id);
}
if( HPMHooks.count.HP_pc_follow_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *target_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int target_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_follow_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_follow_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &target_id);
+ retVal___ = postHookFunc(retVal___, sd, target_id);
}
}
return retVal___;
@@ -54309,10 +54309,10 @@ bool HP_pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned
retVal___ = HPMHooks.source.pc.gainexp(sd, src, base_exp, job_exp, is_quest);
}
if( HPMHooks.count.HP_pc_gainexp_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, struct block_list *src, unsigned int *base_exp, unsigned int *job_exp, bool *is_quest);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, struct block_list *src, unsigned int base_exp, unsigned int job_exp, bool is_quest);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_gainexp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_gainexp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, src, &base_exp, &job_exp, &is_quest);
+ retVal___ = postHookFunc(retVal___, sd, src, base_exp, job_exp, is_quest);
}
}
return retVal___;
@@ -54444,10 +54444,10 @@ int HP_pc_gets_status_point(int level) {
retVal___ = HPMHooks.source.pc.gets_status_point(level);
}
if( HPMHooks.count.HP_pc_gets_status_point_post ) {
- int (*postHookFunc) (int retVal___, int *level);
+ int (*postHookFunc) (int retVal___, int level);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_gets_status_point_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_gets_status_point_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &level);
+ retVal___ = postHookFunc(retVal___, level);
}
}
return retVal___;
@@ -54471,10 +54471,10 @@ int HP_pc_need_status_point(struct map_session_data *sd, int type, int val) {
retVal___ = HPMHooks.source.pc.need_status_point(sd, type, val);
}
if( HPMHooks.count.HP_pc_need_status_point_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_need_status_point_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_need_status_point_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, val);
}
}
return retVal___;
@@ -54498,10 +54498,10 @@ int HP_pc_maxparameterincrease(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.pc.maxparameterincrease(sd, type);
}
if( HPMHooks.count.HP_pc_maxparameterincrease_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_maxparameterincrease_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_maxparameterincrease_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -54525,10 +54525,10 @@ bool HP_pc_statusup(struct map_session_data *sd, int type, int increase) {
retVal___ = HPMHooks.source.pc.statusup(sd, type, increase);
}
if( HPMHooks.count.HP_pc_statusup_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *type, int *increase);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int type, int increase);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_statusup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_statusup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &increase);
+ retVal___ = postHookFunc(retVal___, sd, type, increase);
}
}
return retVal___;
@@ -54552,10 +54552,10 @@ int HP_pc_statusup2(struct map_session_data *sd, int type, int val) {
retVal___ = HPMHooks.source.pc.statusup2(sd, type, val);
}
if( HPMHooks.count.HP_pc_statusup2_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_statusup2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_statusup2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, val);
}
}
return retVal___;
@@ -54579,10 +54579,10 @@ int HP_pc_skillup(struct map_session_data *sd, uint16 skill_id) {
retVal___ = HPMHooks.source.pc.skillup(sd, skill_id);
}
if( HPMHooks.count.HP_pc_skillup_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skillup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_skillup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -54633,10 +54633,10 @@ int HP_pc_resetlvl(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.pc.resetlvl(sd, type);
}
if( HPMHooks.count.HP_pc_resetlvl_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_resetlvl_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_resetlvl_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -54687,10 +54687,10 @@ int HP_pc_resetskill(struct map_session_data *sd, int flag) {
retVal___ = HPMHooks.source.pc.resetskill(sd, flag);
}
if( HPMHooks.count.HP_pc_resetskill_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_resetskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_resetskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &flag);
+ retVal___ = postHookFunc(retVal___, sd, flag);
}
}
return retVal___;
@@ -54768,10 +54768,10 @@ int HP_pc_equipitem(struct map_session_data *sd, int n, int req_pos) {
retVal___ = HPMHooks.source.pc.equipitem(sd, n, req_pos);
}
if( HPMHooks.count.HP_pc_equipitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n, int *req_pos);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n, int req_pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_equipitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_equipitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n, &req_pos);
+ retVal___ = postHookFunc(retVal___, sd, n, req_pos);
}
}
return retVal___;
@@ -54794,10 +54794,10 @@ void HP_pc_equipitem_pos(struct map_session_data *sd, struct item_data *id, int
HPMHooks.source.pc.equipitem_pos(sd, id, n, pos);
}
if( HPMHooks.count.HP_pc_equipitem_pos_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct item_data *id, int *n, int *pos);
+ void (*postHookFunc) (struct map_session_data *sd, struct item_data *id, int n, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_equipitem_pos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_equipitem_pos_post[hIndex].func;
- postHookFunc(sd, id, &n, &pos);
+ postHookFunc(sd, id, n, pos);
}
}
return;
@@ -54821,10 +54821,10 @@ int HP_pc_unequipitem(struct map_session_data *sd, int n, int flag) {
retVal___ = HPMHooks.source.pc.unequipitem(sd, n, flag);
}
if( HPMHooks.count.HP_pc_unequipitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_unequipitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_unequipitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n, &flag);
+ retVal___ = postHookFunc(retVal___, sd, n, flag);
}
}
return retVal___;
@@ -54847,10 +54847,10 @@ void HP_pc_unequipitem_pos(struct map_session_data *sd, int n, int pos) {
HPMHooks.source.pc.unequipitem_pos(sd, n, pos);
}
if( HPMHooks.count.HP_pc_unequipitem_pos_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *n, int *pos);
+ void (*postHookFunc) (struct map_session_data *sd, int n, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_unequipitem_pos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_unequipitem_pos_post[hIndex].func;
- postHookFunc(sd, &n, &pos);
+ postHookFunc(sd, n, pos);
}
}
return;
@@ -54901,10 +54901,10 @@ int HP_pc_useitem(struct map_session_data *sd, int n) {
retVal___ = HPMHooks.source.pc.useitem(sd, n);
}
if( HPMHooks.count.HP_pc_useitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_useitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_useitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n);
+ retVal___ = postHookFunc(retVal___, sd, n);
}
}
return retVal___;
@@ -54928,10 +54928,10 @@ int HP_pc_skillatk_bonus(struct map_session_data *sd, uint16 skill_id) {
retVal___ = HPMHooks.source.pc.skillatk_bonus(sd, skill_id);
}
if( HPMHooks.count.HP_pc_skillatk_bonus_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skillatk_bonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_skillatk_bonus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -54955,10 +54955,10 @@ int HP_pc_skillheal_bonus(struct map_session_data *sd, uint16 skill_id) {
retVal___ = HPMHooks.source.pc.skillheal_bonus(sd, skill_id);
}
if( HPMHooks.count.HP_pc_skillheal_bonus_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skillheal_bonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_skillheal_bonus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -54982,10 +54982,10 @@ int HP_pc_skillheal2_bonus(struct map_session_data *sd, uint16 skill_id) {
retVal___ = HPMHooks.source.pc.skillheal2_bonus(sd, skill_id);
}
if( HPMHooks.count.HP_pc_skillheal2_bonus_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skillheal2_bonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_skillheal2_bonus_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -55008,10 +55008,10 @@ void HP_pc_damage(struct map_session_data *sd, struct block_list *src, unsigned
HPMHooks.source.pc.damage(sd, src, hp, sp);
}
if( HPMHooks.count.HP_pc_damage_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct block_list *src, unsigned int *hp, unsigned int *sp);
+ void (*postHookFunc) (struct map_session_data *sd, struct block_list *src, unsigned int hp, unsigned int sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_damage_post[hIndex].func;
- postHookFunc(sd, src, &hp, &sp);
+ postHookFunc(sd, src, hp, sp);
}
}
return;
@@ -55061,10 +55061,10 @@ void HP_pc_revive(struct map_session_data *sd, unsigned int hp, unsigned int sp)
HPMHooks.source.pc.revive(sd, hp, sp);
}
if( HPMHooks.count.HP_pc_revive_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *hp, unsigned int *sp);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int hp, unsigned int sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_revive_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_revive_post[hIndex].func;
- postHookFunc(sd, &hp, &sp);
+ postHookFunc(sd, hp, sp);
}
}
return;
@@ -55087,10 +55087,10 @@ void HP_pc_heal(struct map_session_data *sd, unsigned int hp, unsigned int sp, i
HPMHooks.source.pc.heal(sd, hp, sp, type);
}
if( HPMHooks.count.HP_pc_heal_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *hp, unsigned int *sp, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int hp, unsigned int sp, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_heal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_heal_post[hIndex].func;
- postHookFunc(sd, &hp, &sp, &type);
+ postHookFunc(sd, hp, sp, type);
}
}
return;
@@ -55114,10 +55114,10 @@ int HP_pc_itemheal(struct map_session_data *sd, int itemid, int hp, int sp) {
retVal___ = HPMHooks.source.pc.itemheal(sd, itemid, hp, sp);
}
if( HPMHooks.count.HP_pc_itemheal_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *itemid, int *hp, int *sp);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int itemid, int hp, int sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_itemheal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_itemheal_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &itemid, &hp, &sp);
+ retVal___ = postHookFunc(retVal___, sd, itemid, hp, sp);
}
}
return retVal___;
@@ -55141,10 +55141,10 @@ int HP_pc_percentheal(struct map_session_data *sd, int hp, int sp) {
retVal___ = HPMHooks.source.pc.percentheal(sd, hp, sp);
}
if( HPMHooks.count.HP_pc_percentheal_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *hp, int *sp);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int hp, int sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_percentheal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_percentheal_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &hp, &sp);
+ retVal___ = postHookFunc(retVal___, sd, hp, sp);
}
}
return retVal___;
@@ -55168,10 +55168,10 @@ int HP_pc_jobchange(struct map_session_data *sd, int job, int upper) {
retVal___ = HPMHooks.source.pc.jobchange(sd, job, upper);
}
if( HPMHooks.count.HP_pc_jobchange_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *job, int *upper);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int job, int upper);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_jobchange_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_jobchange_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &job, &upper);
+ retVal___ = postHookFunc(retVal___, sd, job, upper);
}
}
return retVal___;
@@ -55195,10 +55195,10 @@ int HP_pc_setoption(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.pc.setoption(sd, type);
}
if( HPMHooks.count.HP_pc_setoption_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setoption_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setoption_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -55222,10 +55222,10 @@ int HP_pc_setcart(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.pc.setcart(sd, type);
}
if( HPMHooks.count.HP_pc_setcart_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setcart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setcart_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -55248,10 +55248,10 @@ void HP_pc_setfalcon(struct map_session_data *sd, bool flag) {
HPMHooks.source.pc.setfalcon(sd, flag);
}
if( HPMHooks.count.HP_pc_setfalcon_post ) {
- void (*postHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*postHookFunc) (struct map_session_data *sd, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setfalcon_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setfalcon_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -55274,10 +55274,10 @@ void HP_pc_setridingpeco(struct map_session_data *sd, bool flag) {
HPMHooks.source.pc.setridingpeco(sd, flag);
}
if( HPMHooks.count.HP_pc_setridingpeco_post ) {
- void (*postHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*postHookFunc) (struct map_session_data *sd, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setridingpeco_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setridingpeco_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -55300,10 +55300,10 @@ void HP_pc_setmadogear(struct map_session_data *sd, bool flag) {
HPMHooks.source.pc.setmadogear(sd, flag);
}
if( HPMHooks.count.HP_pc_setmadogear_post ) {
- void (*postHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*postHookFunc) (struct map_session_data *sd, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setmadogear_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setmadogear_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -55326,10 +55326,10 @@ void HP_pc_setridingdragon(struct map_session_data *sd, unsigned int type) {
HPMHooks.source.pc.setridingdragon(sd, type);
}
if( HPMHooks.count.HP_pc_setridingdragon_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *type);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setridingdragon_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setridingdragon_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -55352,10 +55352,10 @@ void HP_pc_setridingwug(struct map_session_data *sd, bool flag) {
HPMHooks.source.pc.setridingwug(sd, flag);
}
if( HPMHooks.count.HP_pc_setridingwug_post ) {
- void (*postHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*postHookFunc) (struct map_session_data *sd, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setridingwug_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setridingwug_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -55379,10 +55379,10 @@ int HP_pc_changelook(struct map_session_data *sd, int type, int val) {
retVal___ = HPMHooks.source.pc.changelook(sd, type, val);
}
if( HPMHooks.count.HP_pc_changelook_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_changelook_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_changelook_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, val);
}
}
return retVal___;
@@ -55433,10 +55433,10 @@ int HP_pc_readparam(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.pc.readparam(sd, type);
}
if( HPMHooks.count.HP_pc_readparam_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readparam_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_readparam_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -55460,10 +55460,10 @@ int HP_pc_setparam(struct map_session_data *sd, int type, int val) {
retVal___ = HPMHooks.source.pc.setparam(sd, type, val);
}
if( HPMHooks.count.HP_pc_setparam_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setparam_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setparam_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, val);
}
}
return retVal___;
@@ -55487,10 +55487,10 @@ int HP_pc_readreg(struct map_session_data *sd, int64 reg) {
retVal___ = HPMHooks.source.pc.readreg(sd, reg);
}
if( HPMHooks.count.HP_pc_readreg_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int64 *reg);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int64 reg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readreg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_readreg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &reg);
+ retVal___ = postHookFunc(retVal___, sd, reg);
}
}
return retVal___;
@@ -55513,10 +55513,10 @@ void HP_pc_setreg(struct map_session_data *sd, int64 reg, int val) {
HPMHooks.source.pc.setreg(sd, reg, val);
}
if( HPMHooks.count.HP_pc_setreg_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int64 *reg, int *val);
+ void (*postHookFunc) (struct map_session_data *sd, int64 reg, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setreg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setreg_post[hIndex].func;
- postHookFunc(sd, &reg, &val);
+ postHookFunc(sd, reg, val);
}
}
return;
@@ -55540,10 +55540,10 @@ char* HP_pc_readregstr(struct map_session_data *sd, int64 reg) {
retVal___ = HPMHooks.source.pc.readregstr(sd, reg);
}
if( HPMHooks.count.HP_pc_readregstr_post ) {
- char* (*postHookFunc) (char* retVal___, struct map_session_data *sd, int64 *reg);
+ char* (*postHookFunc) (char* retVal___, struct map_session_data *sd, int64 reg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readregstr_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_readregstr_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &reg);
+ retVal___ = postHookFunc(retVal___, sd, reg);
}
}
return retVal___;
@@ -55566,10 +55566,10 @@ void HP_pc_setregstr(struct map_session_data *sd, int64 reg, const char *str) {
HPMHooks.source.pc.setregstr(sd, reg, str);
}
if( HPMHooks.count.HP_pc_setregstr_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int64 *reg, const char *str);
+ void (*postHookFunc) (struct map_session_data *sd, int64 reg, const char *str);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setregstr_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setregstr_post[hIndex].func;
- postHookFunc(sd, &reg, str);
+ postHookFunc(sd, reg, str);
}
}
return;
@@ -55593,10 +55593,10 @@ int HP_pc_readregistry(struct map_session_data *sd, int64 reg) {
retVal___ = HPMHooks.source.pc.readregistry(sd, reg);
}
if( HPMHooks.count.HP_pc_readregistry_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int64 *reg);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int64 reg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readregistry_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_readregistry_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &reg);
+ retVal___ = postHookFunc(retVal___, sd, reg);
}
}
return retVal___;
@@ -55620,10 +55620,10 @@ int HP_pc_setregistry(struct map_session_data *sd, int64 reg, int val) {
retVal___ = HPMHooks.source.pc.setregistry(sd, reg, val);
}
if( HPMHooks.count.HP_pc_setregistry_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int64 *reg, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int64 reg, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setregistry_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setregistry_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &reg, &val);
+ retVal___ = postHookFunc(retVal___, sd, reg, val);
}
}
return retVal___;
@@ -55647,10 +55647,10 @@ char* HP_pc_readregistry_str(struct map_session_data *sd, int64 reg) {
retVal___ = HPMHooks.source.pc.readregistry_str(sd, reg);
}
if( HPMHooks.count.HP_pc_readregistry_str_post ) {
- char* (*postHookFunc) (char* retVal___, struct map_session_data *sd, int64 *reg);
+ char* (*postHookFunc) (char* retVal___, struct map_session_data *sd, int64 reg);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readregistry_str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_readregistry_str_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &reg);
+ retVal___ = postHookFunc(retVal___, sd, reg);
}
}
return retVal___;
@@ -55674,10 +55674,10 @@ int HP_pc_setregistry_str(struct map_session_data *sd, int64 reg, const char *va
retVal___ = HPMHooks.source.pc.setregistry_str(sd, reg, val);
}
if( HPMHooks.count.HP_pc_setregistry_str_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int64 *reg, const char *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int64 reg, const char *val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setregistry_str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setregistry_str_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &reg, val);
+ retVal___ = postHookFunc(retVal___, sd, reg, val);
}
}
return retVal___;
@@ -55701,10 +55701,10 @@ int HP_pc_addeventtimer(struct map_session_data *sd, int tick, const char *name)
retVal___ = HPMHooks.source.pc.addeventtimer(sd, tick, name);
}
if( HPMHooks.count.HP_pc_addeventtimer_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *tick, const char *name);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int tick, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addeventtimer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_addeventtimer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &tick, name);
+ retVal___ = postHookFunc(retVal___, sd, tick, name);
}
}
return retVal___;
@@ -55782,10 +55782,10 @@ int HP_pc_addeventtimercount(struct map_session_data *sd, const char *name, int
retVal___ = HPMHooks.source.pc.addeventtimercount(sd, name, tick);
}
if( HPMHooks.count.HP_pc_addeventtimercount_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *name, int *tick);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *name, int tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addeventtimercount_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_addeventtimercount_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, name, &tick);
+ retVal___ = postHookFunc(retVal___, sd, name, tick);
}
}
return retVal___;
@@ -55836,10 +55836,10 @@ int HP_pc_calc_pvprank_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.calc_pvprank_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_calc_pvprank_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_pc_calc_pvprank_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_calc_pvprank_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -56051,10 +56051,10 @@ void HP_pc_bleeding(struct map_session_data *sd, unsigned int diff_tick) {
HPMHooks.source.pc.bleeding(sd, diff_tick);
}
if( HPMHooks.count.HP_pc_bleeding_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *diff_tick);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int diff_tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bleeding_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bleeding_post[hIndex].func;
- postHookFunc(sd, &diff_tick);
+ postHookFunc(sd, diff_tick);
}
}
return;
@@ -56077,10 +56077,10 @@ void HP_pc_regen(struct map_session_data *sd, unsigned int diff_tick) {
HPMHooks.source.pc.regen(sd, diff_tick);
}
if( HPMHooks.count.HP_pc_regen_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *diff_tick);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int diff_tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_regen_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_regen_post[hIndex].func;
- postHookFunc(sd, &diff_tick);
+ postHookFunc(sd, diff_tick);
}
}
return;
@@ -56157,10 +56157,10 @@ int HP_pc_jobid2mapid(unsigned short b_class) {
retVal___ = HPMHooks.source.pc.jobid2mapid(b_class);
}
if( HPMHooks.count.HP_pc_jobid2mapid_post ) {
- int (*postHookFunc) (int retVal___, unsigned short *b_class);
+ int (*postHookFunc) (int retVal___, unsigned short b_class);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_jobid2mapid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_jobid2mapid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &b_class);
+ retVal___ = postHookFunc(retVal___, b_class);
}
}
return retVal___;
@@ -56184,10 +56184,10 @@ int HP_pc_mapid2jobid(unsigned short class_, int sex) {
retVal___ = HPMHooks.source.pc.mapid2jobid(class_, sex);
}
if( HPMHooks.count.HP_pc_mapid2jobid_post ) {
- int (*postHookFunc) (int retVal___, unsigned short *class_, int *sex);
+ int (*postHookFunc) (int retVal___, unsigned short class_, int sex);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_mapid2jobid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_mapid2jobid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_, &sex);
+ retVal___ = postHookFunc(retVal___, class_, sex);
}
}
return retVal___;
@@ -56211,10 +56211,10 @@ const char* HP_pc_job_name(int class_) {
retVal___ = HPMHooks.source.pc.job_name(class_);
}
if( HPMHooks.count.HP_pc_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_pc_job_name_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_job_name_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -56237,10 +56237,10 @@ void HP_pc_setinvincibletimer(struct map_session_data *sd, int val) {
HPMHooks.source.pc.setinvincibletimer(sd, val);
}
if( HPMHooks.count.HP_pc_setinvincibletimer_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *val);
+ void (*postHookFunc) (struct map_session_data *sd, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setinvincibletimer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setinvincibletimer_post[hIndex].func;
- postHookFunc(sd, &val);
+ postHookFunc(sd, val);
}
}
return;
@@ -56290,10 +56290,10 @@ int HP_pc_addspiritball(struct map_session_data *sd, int interval, int max) {
retVal___ = HPMHooks.source.pc.addspiritball(sd, interval, max);
}
if( HPMHooks.count.HP_pc_addspiritball_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *interval, int *max);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int interval, int max);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addspiritball_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_addspiritball_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &interval, &max);
+ retVal___ = postHookFunc(retVal___, sd, interval, max);
}
}
return retVal___;
@@ -56317,10 +56317,10 @@ int HP_pc_delspiritball(struct map_session_data *sd, int count, int type) {
retVal___ = HPMHooks.source.pc.delspiritball(sd, count, type);
}
if( HPMHooks.count.HP_pc_delspiritball_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *count, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int count, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_delspiritball_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_delspiritball_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &count, &type);
+ retVal___ = postHookFunc(retVal___, sd, count, type);
}
}
return retVal___;
@@ -56344,10 +56344,10 @@ int HP_pc_getmaxspiritball(struct map_session_data *sd, int min) {
retVal___ = HPMHooks.source.pc.getmaxspiritball(sd, min);
}
if( HPMHooks.count.HP_pc_getmaxspiritball_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *min);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int min);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getmaxspiritball_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_getmaxspiritball_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &min);
+ retVal___ = postHookFunc(retVal___, sd, min);
}
}
return retVal___;
@@ -56370,10 +56370,10 @@ void HP_pc_addfame(struct map_session_data *sd, int count) {
HPMHooks.source.pc.addfame(sd, count);
}
if( HPMHooks.count.HP_pc_addfame_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *count);
+ void (*postHookFunc) (struct map_session_data *sd, int count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addfame_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_addfame_post[hIndex].func;
- postHookFunc(sd, &count);
+ postHookFunc(sd, count);
}
}
return;
@@ -56397,10 +56397,10 @@ unsigned char HP_pc_famerank(int char_id, int job) {
retVal___ = HPMHooks.source.pc.famerank(char_id, job);
}
if( HPMHooks.count.HP_pc_famerank_post ) {
- unsigned char (*postHookFunc) (unsigned char retVal___, int *char_id, int *job);
+ unsigned char (*postHookFunc) (unsigned char retVal___, int char_id, int job);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_famerank_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_famerank_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &char_id, &job);
+ retVal___ = postHookFunc(retVal___, char_id, job);
}
}
return retVal___;
@@ -56424,10 +56424,10 @@ int HP_pc_set_hate_mob(struct map_session_data *sd, int pos, struct block_list *
retVal___ = HPMHooks.source.pc.set_hate_mob(sd, pos, bl);
}
if( HPMHooks.count.HP_pc_set_hate_mob_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *pos, struct block_list *bl);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int pos, struct block_list *bl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_set_hate_mob_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_set_hate_mob_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &pos, bl);
+ retVal___ = postHookFunc(retVal___, sd, pos, bl);
}
}
return retVal___;
@@ -56478,10 +56478,10 @@ int HP_pc_map_day_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.map_day_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_map_day_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_pc_map_day_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_map_day_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -56505,10 +56505,10 @@ int HP_pc_map_night_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.map_night_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_map_night_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_pc_map_night_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_map_night_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -56584,10 +56584,10 @@ void HP_pc_inventory_rental_add(struct map_session_data *sd, int seconds) {
HPMHooks.source.pc.inventory_rental_add(sd, seconds);
}
if( HPMHooks.count.HP_pc_inventory_rental_add_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *seconds);
+ void (*postHookFunc) (struct map_session_data *sd, int seconds);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_inventory_rental_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_inventory_rental_add_post[hIndex].func;
- postHookFunc(sd, &seconds);
+ postHookFunc(sd, seconds);
}
}
return;
@@ -56611,10 +56611,10 @@ int HP_pc_disguise(struct map_session_data *sd, int class_) {
retVal___ = HPMHooks.source.pc.disguise(sd, class_);
}
if( HPMHooks.count.HP_pc_disguise_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *class_);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_disguise_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_disguise_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &class_);
+ retVal___ = postHookFunc(retVal___, sd, class_);
}
}
return retVal___;
@@ -56638,10 +56638,10 @@ bool HP_pc_isautolooting(struct map_session_data *sd, int nameid) {
retVal___ = HPMHooks.source.pc.isautolooting(sd, nameid);
}
if( HPMHooks.count.HP_pc_isautolooting_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *nameid);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_isautolooting_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_isautolooting_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid);
+ retVal___ = postHookFunc(retVal___, sd, nameid);
}
}
return retVal___;
@@ -56664,10 +56664,10 @@ void HP_pc_overheat(struct map_session_data *sd, int val) {
HPMHooks.source.pc.overheat(sd, val);
}
if( HPMHooks.count.HP_pc_overheat_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *val);
+ void (*postHookFunc) (struct map_session_data *sd, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_overheat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_overheat_post[hIndex].func;
- postHookFunc(sd, &val);
+ postHookFunc(sd, val);
}
}
return;
@@ -56691,10 +56691,10 @@ int HP_pc_banding(struct map_session_data *sd, uint16 skill_lv) {
retVal___ = HPMHooks.source.pc.banding(sd, skill_lv);
}
if( HPMHooks.count.HP_pc_banding_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_banding_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_banding_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_lv);
+ retVal___ = postHookFunc(retVal___, sd, skill_lv);
}
}
return retVal___;
@@ -56717,10 +56717,10 @@ void HP_pc_itemcd_do(struct map_session_data *sd, bool load) {
HPMHooks.source.pc.itemcd_do(sd, load);
}
if( HPMHooks.count.HP_pc_itemcd_do_post ) {
- void (*postHookFunc) (struct map_session_data *sd, bool *load);
+ void (*postHookFunc) (struct map_session_data *sd, bool load);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_itemcd_do_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_itemcd_do_post[hIndex].func;
- postHookFunc(sd, &load);
+ postHookFunc(sd, load);
}
}
return;
@@ -56770,10 +56770,10 @@ void HP_pc_add_charm(struct map_session_data *sd, int interval, int max, int typ
HPMHooks.source.pc.add_charm(sd, interval, max, type);
}
if( HPMHooks.count.HP_pc_add_charm_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *interval, int *max, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int interval, int max, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_add_charm_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_add_charm_post[hIndex].func;
- postHookFunc(sd, &interval, &max, &type);
+ postHookFunc(sd, interval, max, type);
}
}
return;
@@ -56796,10 +56796,10 @@ void HP_pc_del_charm(struct map_session_data *sd, int count, int type) {
HPMHooks.source.pc.del_charm(sd, count, type);
}
if( HPMHooks.count.HP_pc_del_charm_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *count, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int count, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_del_charm_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_del_charm_post[hIndex].func;
- postHookFunc(sd, &count, &type);
+ postHookFunc(sd, count, type);
}
}
return;
@@ -56849,10 +56849,10 @@ int HP_pc_level_penalty_mod(int diff, unsigned char race, uint32 mode, int type)
retVal___ = HPMHooks.source.pc.level_penalty_mod(diff, race, mode, type);
}
if( HPMHooks.count.HP_pc_level_penalty_mod_post ) {
- int (*postHookFunc) (int retVal___, int *diff, unsigned char *race, uint32 *mode, int *type);
+ int (*postHookFunc) (int retVal___, int diff, unsigned char race, uint32 mode, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_level_penalty_mod_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_level_penalty_mod_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &diff, &race, &mode, &type);
+ retVal___ = postHookFunc(retVal___, diff, race, mode, type);
}
}
return retVal___;
@@ -56903,10 +56903,10 @@ int HP_pc_invincible_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.invincible_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_invincible_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_pc_invincible_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_invincible_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -56930,10 +56930,10 @@ int HP_pc_spiritball_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.spiritball_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_spiritball_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_pc_spiritball_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_spiritball_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -56990,10 +56990,10 @@ int HP_pc_inventory_rental_end(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.inventory_rental_end(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_inventory_rental_end_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_pc_inventory_rental_end_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_inventory_rental_end_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -57016,10 +57016,10 @@ void HP_pc_check_skilltree(struct map_session_data *sd, int skill_id) {
HPMHooks.source.pc.check_skilltree(sd, skill_id);
}
if( HPMHooks.count.HP_pc_check_skilltree_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *skill_id);
+ void (*postHookFunc) (struct map_session_data *sd, int skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_check_skilltree_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_check_skilltree_post[hIndex].func;
- postHookFunc(sd, &skill_id);
+ postHookFunc(sd, skill_id);
}
}
return;
@@ -57043,10 +57043,10 @@ int HP_pc_bonus_autospell(struct s_autospell *spell, int max, short id, short lv
retVal___ = HPMHooks.source.pc.bonus_autospell(spell, max, id, lv, rate, flag, card_id);
}
if( HPMHooks.count.HP_pc_bonus_autospell_post ) {
- int (*postHookFunc) (int retVal___, struct s_autospell *spell, int *max, short *id, short *lv, short *rate, short *flag, short *card_id);
+ int (*postHookFunc) (int retVal___, struct s_autospell *spell, int max, short id, short lv, short rate, short flag, short card_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_autospell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus_autospell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, spell, &max, &id, &lv, &rate, &flag, &card_id);
+ retVal___ = postHookFunc(retVal___, spell, max, id, lv, rate, flag, card_id);
}
}
return retVal___;
@@ -57070,10 +57070,10 @@ int HP_pc_bonus_autospell_onskill(struct s_autospell *spell, int max, short src_
retVal___ = HPMHooks.source.pc.bonus_autospell_onskill(spell, max, src_skill, id, lv, rate, card_id);
}
if( HPMHooks.count.HP_pc_bonus_autospell_onskill_post ) {
- int (*postHookFunc) (int retVal___, struct s_autospell *spell, int *max, short *src_skill, short *id, short *lv, short *rate, short *card_id);
+ int (*postHookFunc) (int retVal___, struct s_autospell *spell, int max, short src_skill, short id, short lv, short rate, short card_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_autospell_onskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus_autospell_onskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, spell, &max, &src_skill, &id, &lv, &rate, &card_id);
+ retVal___ = postHookFunc(retVal___, spell, max, src_skill, id, lv, rate, card_id);
}
}
return retVal___;
@@ -57097,10 +57097,10 @@ int HP_pc_bonus_addeff(struct s_addeffect *effect, int max, enum sc_type id, int
retVal___ = HPMHooks.source.pc.bonus_addeff(effect, max, id, rate, arrow_rate, flag, duration);
}
if( HPMHooks.count.HP_pc_bonus_addeff_post ) {
- int (*postHookFunc) (int retVal___, struct s_addeffect *effect, int *max, enum sc_type *id, int16 *rate, int16 *arrow_rate, uint8 *flag, uint16 *duration);
+ int (*postHookFunc) (int retVal___, struct s_addeffect *effect, int max, enum sc_type id, int16 rate, int16 arrow_rate, uint8 flag, uint16 duration);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_addeff_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus_addeff_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, effect, &max, &id, &rate, &arrow_rate, &flag, &duration);
+ retVal___ = postHookFunc(retVal___, effect, max, id, rate, arrow_rate, flag, duration);
}
}
return retVal___;
@@ -57124,10 +57124,10 @@ int HP_pc_bonus_addeff_onskill(struct s_addeffectonskill *effect, int max, enum
retVal___ = HPMHooks.source.pc.bonus_addeff_onskill(effect, max, id, rate, skill_id, target);
}
if( HPMHooks.count.HP_pc_bonus_addeff_onskill_post ) {
- int (*postHookFunc) (int retVal___, struct s_addeffectonskill *effect, int *max, enum sc_type *id, short *rate, short *skill_id, unsigned char *target);
+ int (*postHookFunc) (int retVal___, struct s_addeffectonskill *effect, int max, enum sc_type id, short rate, short skill_id, unsigned char target);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_addeff_onskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus_addeff_onskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, effect, &max, &id, &rate, &skill_id, &target);
+ retVal___ = postHookFunc(retVal___, effect, max, id, rate, skill_id, target);
}
}
return retVal___;
@@ -57151,10 +57151,10 @@ int HP_pc_bonus_item_drop(struct s_add_drop *drop, const short max, short id, sh
retVal___ = HPMHooks.source.pc.bonus_item_drop(drop, max, id, group, race, rate);
}
if( HPMHooks.count.HP_pc_bonus_item_drop_post ) {
- int (*postHookFunc) (int retVal___, struct s_add_drop *drop, const short *max, short *id, short *group, int *race, int *rate);
+ int (*postHookFunc) (int retVal___, struct s_add_drop *drop, const short max, short id, short group, int race, int rate);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_item_drop_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bonus_item_drop_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, drop, &max, &id, &group, &race, &rate);
+ retVal___ = postHookFunc(retVal___, drop, max, id, group, race, rate);
}
}
return retVal___;
@@ -57204,10 +57204,10 @@ int HP_pc_respawn_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.respawn_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_respawn_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_pc_respawn_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_respawn_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -57264,10 +57264,10 @@ int HP_pc_getstat(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.pc.getstat(sd, type);
}
if( HPMHooks.count.HP_pc_getstat_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getstat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_getstat_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -57291,10 +57291,10 @@ int HP_pc_setstat(struct map_session_data *sd, int type, int val) {
retVal___ = HPMHooks.source.pc.setstat(sd, type, val);
}
if( HPMHooks.count.HP_pc_setstat_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type, int *val);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setstat_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setstat_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type, &val);
+ retVal___ = postHookFunc(retVal___, sd, type, val);
}
}
return retVal___;
@@ -57318,10 +57318,10 @@ int HP_pc_eventtimer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.eventtimer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_eventtimer_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_pc_eventtimer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_eventtimer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -57378,10 +57378,10 @@ int HP_pc_charm_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.charm_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_charm_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_pc_charm_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_charm_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -57405,10 +57405,10 @@ bool HP_pc_readdb_levelpenalty(char *fields[], int columns, int current) {
retVal___ = HPMHooks.source.pc.readdb_levelpenalty(fields, columns, current);
}
if( HPMHooks.count.HP_pc_readdb_levelpenalty_post ) {
- bool (*postHookFunc) (bool retVal___, char *fields[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *fields[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readdb_levelpenalty_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_readdb_levelpenalty_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fields, &columns, &current);
+ retVal___ = postHookFunc(retVal___, fields, columns, current);
}
}
return retVal___;
@@ -57432,10 +57432,10 @@ int HP_pc_autosave(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.autosave(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_autosave_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_pc_autosave_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_autosave_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -57459,10 +57459,10 @@ int HP_pc_follow_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.follow_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_follow_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_pc_follow_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_follow_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -57538,10 +57538,10 @@ int HP_pc_isUseitem(struct map_session_data *sd, int n) {
retVal___ = HPMHooks.source.pc.isUseitem(sd, n);
}
if( HPMHooks.count.HP_pc_isUseitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_isUseitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_isUseitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n);
+ retVal___ = postHookFunc(retVal___, sd, n);
}
}
return retVal___;
@@ -57678,10 +57678,10 @@ void HP_pc_bank_deposit(struct map_session_data *sd, int money) {
HPMHooks.source.pc.bank_deposit(sd, money);
}
if( HPMHooks.count.HP_pc_bank_deposit_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *money);
+ void (*postHookFunc) (struct map_session_data *sd, int money);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bank_deposit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bank_deposit_post[hIndex].func;
- postHookFunc(sd, &money);
+ postHookFunc(sd, money);
}
}
return;
@@ -57704,10 +57704,10 @@ void HP_pc_bank_withdraw(struct map_session_data *sd, int money) {
HPMHooks.source.pc.bank_withdraw(sd, money);
}
if( HPMHooks.count.HP_pc_bank_withdraw_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *money);
+ void (*postHookFunc) (struct map_session_data *sd, int money);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bank_withdraw_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bank_withdraw_post[hIndex].func;
- postHookFunc(sd, &money);
+ postHookFunc(sd, money);
}
}
return;
@@ -57730,10 +57730,10 @@ void HP_pc_rental_expire(struct map_session_data *sd, int i) {
HPMHooks.source.pc.rental_expire(sd, i);
}
if( HPMHooks.count.HP_pc_rental_expire_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *i);
+ void (*postHookFunc) (struct map_session_data *sd, int i);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_rental_expire_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_rental_expire_post[hIndex].func;
- postHookFunc(sd, &i);
+ postHookFunc(sd, i);
}
}
return;
@@ -57782,10 +57782,10 @@ void HP_pc_bound_clear(struct map_session_data *sd, enum e_item_bound_type type)
HPMHooks.source.pc.bound_clear(sd, type);
}
if( HPMHooks.count.HP_pc_bound_clear_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum e_item_bound_type *type);
+ void (*postHookFunc) (struct map_session_data *sd, enum e_item_bound_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bound_clear_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_bound_clear_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -57809,10 +57809,10 @@ int HP_pc_expiration_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.expiration_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_expiration_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_pc_expiration_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_expiration_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -57836,10 +57836,10 @@ int HP_pc_global_expiration_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pc.global_expiration_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pc_global_expiration_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_pc_global_expiration_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_global_expiration_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -57889,10 +57889,10 @@ bool HP_pc_db_checkid(unsigned int class_) {
retVal___ = HPMHooks.source.pc.db_checkid(class_);
}
if( HPMHooks.count.HP_pc_db_checkid_post ) {
- bool (*postHookFunc) (bool retVal___, unsigned int *class_);
+ bool (*postHookFunc) (bool retVal___, unsigned int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_db_checkid_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_db_checkid_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &class_);
+ retVal___ = postHookFunc(retVal___, class_);
}
}
return retVal___;
@@ -57967,10 +57967,10 @@ void HP_pc_autotrade_update(struct map_session_data *sd, enum e_pc_autotrade_upd
HPMHooks.source.pc.autotrade_update(sd, action);
}
if( HPMHooks.count.HP_pc_autotrade_update_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum e_pc_autotrade_update_action *action);
+ void (*postHookFunc) (struct map_session_data *sd, enum e_pc_autotrade_update_action action);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_autotrade_update_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_autotrade_update_post[hIndex].func;
- postHookFunc(sd, &action);
+ postHookFunc(sd, action);
}
}
return;
@@ -58076,11 +58076,11 @@ int HP_pc_autotrade_final(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_pc_autotrade_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_pc_autotrade_final_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_pc_autotrade_final_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -58131,10 +58131,10 @@ void HP_pc_update_idle_time(struct map_session_data *sd, enum e_battle_config_id
HPMHooks.source.pc.update_idle_time(sd, type);
}
if( HPMHooks.count.HP_pc_update_idle_time_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum e_battle_config_idletime *type);
+ void (*postHookFunc) (struct map_session_data *sd, enum e_battle_config_idletime type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_update_idle_time_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_update_idle_time_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -58239,10 +58239,10 @@ pcre* HP_libpcre_compile(const char *pattern, int options, const char **errptr,
retVal___ = HPMHooks.source.libpcre.compile(pattern, options, errptr, erroffset, tableptr);
}
if( HPMHooks.count.HP_libpcre_compile_post ) {
- pcre* (*postHookFunc) (pcre* retVal___, const char *pattern, int *options, const char **errptr, int *erroffset, const unsigned char *tableptr);
+ pcre* (*postHookFunc) (pcre* retVal___, const char *pattern, int options, const char **errptr, int *erroffset, const unsigned char *tableptr);
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_compile_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_libpcre_compile_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, pattern, &options, errptr, erroffset, tableptr);
+ retVal___ = postHookFunc(retVal___, pattern, options, errptr, erroffset, tableptr);
}
}
return retVal___;
@@ -58266,10 +58266,10 @@ pcre_extra* HP_libpcre_study(const pcre *code, int options, const char **errptr)
retVal___ = HPMHooks.source.libpcre.study(code, options, errptr);
}
if( HPMHooks.count.HP_libpcre_study_post ) {
- pcre_extra* (*postHookFunc) (pcre_extra* retVal___, const pcre *code, int *options, const char **errptr);
+ pcre_extra* (*postHookFunc) (pcre_extra* retVal___, const pcre *code, int options, const char **errptr);
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_study_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_libpcre_study_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, code, &options, errptr);
+ retVal___ = postHookFunc(retVal___, code, options, errptr);
}
}
return retVal___;
@@ -58293,10 +58293,10 @@ int HP_libpcre_exec(const pcre *code, const pcre_extra *extra, PCRE_SPTR subject
retVal___ = HPMHooks.source.libpcre.exec(code, extra, subject, length, startoffset, options, ovector, ovecsize);
}
if( HPMHooks.count.HP_libpcre_exec_post ) {
- int (*postHookFunc) (int retVal___, const pcre *code, const pcre_extra *extra, PCRE_SPTR *subject, int *length, int *startoffset, int *options, int *ovector, int *ovecsize);
+ int (*postHookFunc) (int retVal___, const pcre *code, const pcre_extra *extra, PCRE_SPTR subject, int length, int startoffset, int options, int *ovector, int ovecsize);
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_exec_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_libpcre_exec_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, code, extra, &subject, &length, &startoffset, &options, ovector, &ovecsize);
+ retVal___ = postHookFunc(retVal___, code, extra, subject, length, startoffset, options, ovector, ovecsize);
}
}
return retVal___;
@@ -58346,10 +58346,10 @@ int HP_libpcre_copy_substring(const char *subject, int *ovector, int stringcount
retVal___ = HPMHooks.source.libpcre.copy_substring(subject, ovector, stringcount, stringnumber, buffer, buffersize);
}
if( HPMHooks.count.HP_libpcre_copy_substring_post ) {
- int (*postHookFunc) (int retVal___, const char *subject, int *ovector, int *stringcount, int *stringnumber, char *buffer, int *buffersize);
+ int (*postHookFunc) (int retVal___, const char *subject, int *ovector, int stringcount, int stringnumber, char *buffer, int buffersize);
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_copy_substring_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_libpcre_copy_substring_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, subject, ovector, &stringcount, &stringnumber, buffer, &buffersize);
+ retVal___ = postHookFunc(retVal___, subject, ovector, stringcount, stringnumber, buffer, buffersize);
}
}
return retVal___;
@@ -58399,10 +58399,10 @@ int HP_libpcre_copy_named_substring(const pcre *code, const char *subject, int *
retVal___ = HPMHooks.source.libpcre.copy_named_substring(code, subject, ovector, stringcount, stringname, buffer, buffersize);
}
if( HPMHooks.count.HP_libpcre_copy_named_substring_post ) {
- int (*postHookFunc) (int retVal___, const pcre *code, const char *subject, int *ovector, int *stringcount, const char *stringname, char *buffer, int *buffersize);
+ int (*postHookFunc) (int retVal___, const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, char *buffer, int buffersize);
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_copy_named_substring_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_libpcre_copy_named_substring_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, code, subject, ovector, &stringcount, stringname, buffer, &buffersize);
+ retVal___ = postHookFunc(retVal___, code, subject, ovector, stringcount, stringname, buffer, buffersize);
}
}
return retVal___;
@@ -58426,10 +58426,10 @@ int HP_libpcre_get_substring(const char *subject, int *ovector, int stringcount,
retVal___ = HPMHooks.source.libpcre.get_substring(subject, ovector, stringcount, stringnumber, stringptr);
}
if( HPMHooks.count.HP_libpcre_get_substring_post ) {
- int (*postHookFunc) (int retVal___, const char *subject, int *ovector, int *stringcount, int *stringnumber, const char **stringptr);
+ int (*postHookFunc) (int retVal___, const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr);
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_get_substring_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_libpcre_get_substring_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, subject, ovector, &stringcount, &stringnumber, stringptr);
+ retVal___ = postHookFunc(retVal___, subject, ovector, stringcount, stringnumber, stringptr);
}
}
return retVal___;
@@ -58454,10 +58454,10 @@ int HP_pet_init(bool minimal) {
retVal___ = HPMHooks.source.pet.init(minimal);
}
if( HPMHooks.count.HP_pet_init_post ) {
- int (*postHookFunc) (int retVal___, bool *minimal);
+ int (*postHookFunc) (int retVal___, bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &minimal);
+ retVal___ = postHookFunc(retVal___, minimal);
}
}
return retVal___;
@@ -58534,10 +58534,10 @@ void HP_pet_set_intimate(struct pet_data *pd, int value) {
HPMHooks.source.pet.set_intimate(pd, value);
}
if( HPMHooks.count.HP_pet_set_intimate_post ) {
- void (*postHookFunc) (struct pet_data *pd, int *value);
+ void (*postHookFunc) (struct pet_data *pd, int value);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_set_intimate_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_set_intimate_post[hIndex].func;
- postHookFunc(pd, &value);
+ postHookFunc(pd, value);
}
}
return;
@@ -58561,10 +58561,10 @@ int HP_pet_create_egg(struct map_session_data *sd, int item_id) {
retVal___ = HPMHooks.source.pet.create_egg(sd, item_id);
}
if( HPMHooks.count.HP_pet_create_egg_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *item_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int item_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_create_egg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_create_egg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &item_id);
+ retVal___ = postHookFunc(retVal___, sd, item_id);
}
}
return retVal___;
@@ -58615,10 +58615,10 @@ int HP_pet_attackskill(struct pet_data *pd, int target_id) {
retVal___ = HPMHooks.source.pet.attackskill(pd, target_id);
}
if( HPMHooks.count.HP_pet_attackskill_post ) {
- int (*postHookFunc) (int retVal___, struct pet_data *pd, int *target_id);
+ int (*postHookFunc) (int retVal___, struct pet_data *pd, int target_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_attackskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_attackskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, pd, &target_id);
+ retVal___ = postHookFunc(retVal___, pd, target_id);
}
}
return retVal___;
@@ -58642,10 +58642,10 @@ int HP_pet_target_check(struct map_session_data *sd, struct block_list *bl, int
retVal___ = HPMHooks.source.pet.target_check(sd, bl, type);
}
if( HPMHooks.count.HP_pet_target_check_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct block_list *bl, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_target_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_target_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, bl, &type);
+ retVal___ = postHookFunc(retVal___, sd, bl, type);
}
}
return retVal___;
@@ -58669,10 +58669,10 @@ int HP_pet_sc_check(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.pet.sc_check(sd, type);
}
if( HPMHooks.count.HP_pet_sc_check_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_sc_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_sc_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -58696,10 +58696,10 @@ int HP_pet_hungry(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pet.hungry(tid, tick, id, data);
}
if( HPMHooks.count.HP_pet_hungry_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_pet_hungry_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_hungry_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -58723,10 +58723,10 @@ int HP_pet_search_petDB_index(int key, int type) {
retVal___ = HPMHooks.source.pet.search_petDB_index(key, type);
}
if( HPMHooks.count.HP_pet_search_petDB_index_post ) {
- int (*postHookFunc) (int retVal___, int *key, int *type);
+ int (*postHookFunc) (int retVal___, int key, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_search_petDB_index_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_search_petDB_index_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, &type);
+ retVal___ = postHookFunc(retVal___, key, type);
}
}
return retVal___;
@@ -58885,10 +58885,10 @@ int HP_pet_recv_petdata(int account_id, struct s_pet *p, int flag) {
retVal___ = HPMHooks.source.pet.recv_petdata(account_id, p, flag);
}
if( HPMHooks.count.HP_pet_recv_petdata_post ) {
- int (*postHookFunc) (int retVal___, int *account_id, struct s_pet *p, int *flag);
+ int (*postHookFunc) (int retVal___, int account_id, struct s_pet *p, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_recv_petdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_recv_petdata_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, p, &flag);
+ retVal___ = postHookFunc(retVal___, account_id, p, flag);
}
}
return retVal___;
@@ -58912,10 +58912,10 @@ int HP_pet_select_egg(struct map_session_data *sd, short egg_index) {
retVal___ = HPMHooks.source.pet.select_egg(sd, egg_index);
}
if( HPMHooks.count.HP_pet_select_egg_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, short *egg_index);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, short egg_index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_select_egg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_select_egg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &egg_index);
+ retVal___ = postHookFunc(retVal___, sd, egg_index);
}
}
return retVal___;
@@ -58939,10 +58939,10 @@ int HP_pet_catch_process1(struct map_session_data *sd, int target_class) {
retVal___ = HPMHooks.source.pet.catch_process1(sd, target_class);
}
if( HPMHooks.count.HP_pet_catch_process1_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *target_class);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int target_class);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_catch_process1_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_catch_process1_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &target_class);
+ retVal___ = postHookFunc(retVal___, sd, target_class);
}
}
return retVal___;
@@ -58966,10 +58966,10 @@ int HP_pet_catch_process2(struct map_session_data *sd, int target_id) {
retVal___ = HPMHooks.source.pet.catch_process2(sd, target_id);
}
if( HPMHooks.count.HP_pet_catch_process2_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *target_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int target_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_catch_process2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_catch_process2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &target_id);
+ retVal___ = postHookFunc(retVal___, sd, target_id);
}
}
return retVal___;
@@ -58993,10 +58993,10 @@ bool HP_pet_get_egg(int account_id, short pet_class, int pet_id) {
retVal___ = HPMHooks.source.pet.get_egg(account_id, pet_class, pet_id);
}
if( HPMHooks.count.HP_pet_get_egg_post ) {
- bool (*postHookFunc) (bool retVal___, int *account_id, short *pet_class, int *pet_id);
+ bool (*postHookFunc) (bool retVal___, int account_id, short pet_class, int pet_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_get_egg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_get_egg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &account_id, &pet_class, &pet_id);
+ retVal___ = postHookFunc(retVal___, account_id, pet_class, pet_id);
}
}
return retVal___;
@@ -59107,10 +59107,10 @@ int HP_pet_menu(struct map_session_data *sd, int menunum) {
retVal___ = HPMHooks.source.pet.menu(sd, menunum);
}
if( HPMHooks.count.HP_pet_menu_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *menunum);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int menunum);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_menu_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_menu_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &menunum);
+ retVal___ = postHookFunc(retVal___, sd, menunum);
}
}
return retVal___;
@@ -59161,10 +59161,10 @@ int HP_pet_change_name_ack(struct map_session_data *sd, const char *name, int fl
retVal___ = HPMHooks.source.pet.change_name_ack(sd, name, flag);
}
if( HPMHooks.count.HP_pet_change_name_ack_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *name, int *flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, const char *name, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_change_name_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_change_name_ack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, name, &flag);
+ retVal___ = postHookFunc(retVal___, sd, name, flag);
}
}
return retVal___;
@@ -59188,10 +59188,10 @@ int HP_pet_equipitem(struct map_session_data *sd, int index) {
retVal___ = HPMHooks.source.pet.equipitem(sd, index);
}
if( HPMHooks.count.HP_pet_equipitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_equipitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_equipitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index);
+ retVal___ = postHookFunc(retVal___, sd, index);
}
}
return retVal___;
@@ -59215,10 +59215,10 @@ int HP_pet_randomwalk(struct pet_data *pd, int64 tick) {
retVal___ = HPMHooks.source.pet.randomwalk(pd, tick);
}
if( HPMHooks.count.HP_pet_randomwalk_post ) {
- int (*postHookFunc) (int retVal___, struct pet_data *pd, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct pet_data *pd, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_randomwalk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_randomwalk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, pd, &tick);
+ retVal___ = postHookFunc(retVal___, pd, tick);
}
}
return retVal___;
@@ -59242,10 +59242,10 @@ int HP_pet_ai_sub_hard(struct pet_data *pd, struct map_session_data *sd, int64 t
retVal___ = HPMHooks.source.pet.ai_sub_hard(pd, sd, tick);
}
if( HPMHooks.count.HP_pet_ai_sub_hard_post ) {
- int (*postHookFunc) (int retVal___, struct pet_data *pd, struct map_session_data *sd, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct pet_data *pd, struct map_session_data *sd, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_ai_sub_hard_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_ai_sub_hard_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, pd, sd, &tick);
+ retVal___ = postHookFunc(retVal___, pd, sd, tick);
}
}
return retVal___;
@@ -59302,10 +59302,10 @@ int HP_pet_ai_hard(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pet.ai_hard(tid, tick, id, data);
}
if( HPMHooks.count.HP_pet_ai_hard_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_pet_ai_hard_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_ai_hard_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -59329,10 +59329,10 @@ int HP_pet_delay_item_drop(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pet.delay_item_drop(tid, tick, id, data);
}
if( HPMHooks.count.HP_pet_delay_item_drop_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_pet_delay_item_drop_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_delay_item_drop_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -59383,10 +59383,10 @@ int HP_pet_skill_bonus_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pet.skill_bonus_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pet_skill_bonus_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_pet_skill_bonus_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_skill_bonus_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -59410,10 +59410,10 @@ int HP_pet_recovery_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pet.recovery_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pet_recovery_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_pet_recovery_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_recovery_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -59437,10 +59437,10 @@ int HP_pet_skill_support_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.pet.skill_support_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_pet_skill_support_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_pet_skill_support_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pet_skill_support_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -59491,10 +59491,10 @@ void HP_quest_init(bool minimal) {
HPMHooks.source.quest.init(minimal);
}
if( HPMHooks.count.HP_quest_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -59570,10 +59570,10 @@ struct quest_db* HP_quest_db(int quest_id) {
retVal___ = HPMHooks.source.quest.db(quest_id);
}
if( HPMHooks.count.HP_quest_db_post ) {
- struct quest_db* (*postHookFunc) (struct quest_db* retVal___, int *quest_id);
+ struct quest_db* (*postHookFunc) (struct quest_db* retVal___, int quest_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_db_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_db_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &quest_id);
+ retVal___ = postHookFunc(retVal___, quest_id);
}
}
return retVal___;
@@ -59624,10 +59624,10 @@ int HP_quest_add(struct map_session_data *sd, int quest_id) {
retVal___ = HPMHooks.source.quest.add(sd, quest_id);
}
if( HPMHooks.count.HP_quest_add_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *quest_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int quest_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_add_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &quest_id);
+ retVal___ = postHookFunc(retVal___, sd, quest_id);
}
}
return retVal___;
@@ -59651,10 +59651,10 @@ int HP_quest_change(struct map_session_data *sd, int qid1, int qid2) {
retVal___ = HPMHooks.source.quest.change(sd, qid1, qid2);
}
if( HPMHooks.count.HP_quest_change_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *qid1, int *qid2);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int qid1, int qid2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_change_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_change_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &qid1, &qid2);
+ retVal___ = postHookFunc(retVal___, sd, qid1, qid2);
}
}
return retVal___;
@@ -59678,10 +59678,10 @@ int HP_quest_delete(struct map_session_data *sd, int quest_id) {
retVal___ = HPMHooks.source.quest.delete(sd, quest_id);
}
if( HPMHooks.count.HP_quest_delete_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *quest_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int quest_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_delete_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &quest_id);
+ retVal___ = postHookFunc(retVal___, sd, quest_id);
}
}
return retVal___;
@@ -59737,10 +59737,10 @@ void HP_quest_update_objective(struct map_session_data *sd, int mob_id) {
HPMHooks.source.quest.update_objective(sd, mob_id);
}
if( HPMHooks.count.HP_quest_update_objective_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *mob_id);
+ void (*postHookFunc) (struct map_session_data *sd, int mob_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_update_objective_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_update_objective_post[hIndex].func;
- postHookFunc(sd, &mob_id);
+ postHookFunc(sd, mob_id);
}
}
return;
@@ -59764,10 +59764,10 @@ int HP_quest_update_status(struct map_session_data *sd, int quest_id, enum quest
retVal___ = HPMHooks.source.quest.update_status(sd, quest_id, qs);
}
if( HPMHooks.count.HP_quest_update_status_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *quest_id, enum quest_state *qs);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int quest_id, enum quest_state qs);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_update_status_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_update_status_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &quest_id, &qs);
+ retVal___ = postHookFunc(retVal___, sd, quest_id, qs);
}
}
return retVal___;
@@ -59791,10 +59791,10 @@ int HP_quest_check(struct map_session_data *sd, int quest_id, enum quest_check_t
retVal___ = HPMHooks.source.quest.check(sd, quest_id, type);
}
if( HPMHooks.count.HP_quest_check_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *quest_id, enum quest_check_type *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int quest_id, enum quest_check_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &quest_id, &type);
+ retVal___ = postHookFunc(retVal___, sd, quest_id, type);
}
}
return retVal___;
@@ -59871,10 +59871,10 @@ struct quest_db* HP_quest_read_db_sub(struct config_setting_t *cs, int n, const
retVal___ = HPMHooks.source.quest.read_db_sub(cs, n, source);
}
if( HPMHooks.count.HP_quest_read_db_sub_post ) {
- struct quest_db* (*postHookFunc) (struct quest_db* retVal___, struct config_setting_t *cs, int *n, const char *source);
+ struct quest_db* (*postHookFunc) (struct quest_db* retVal___, struct config_setting_t *cs, int n, const char *source);
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_read_db_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_quest_read_db_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, cs, &n, source);
+ retVal___ = postHookFunc(retVal___, cs, n, source);
}
}
return retVal___;
@@ -59898,10 +59898,10 @@ void HP_script_init(bool minimal) {
HPMHooks.source.script.init(minimal);
}
if( HPMHooks.count.HP_script_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -59978,10 +59978,10 @@ struct script_code* HP_script_parse(const char *src, const char *file, int line,
retVal___ = HPMHooks.source.script.parse(src, file, line, options, retval);
}
if( HPMHooks.count.HP_script_parse_post ) {
- struct script_code* (*postHookFunc) (struct script_code* retVal___, const char *src, const char *file, int *line, int *options, int *retval);
+ struct script_code* (*postHookFunc) (struct script_code* retVal___, const char *src, const char *file, int line, int options, int *retval);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_parse_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, file, &line, &options, retval);
+ retVal___ = postHookFunc(retVal___, src, file, line, options, retval);
}
}
return retVal___;
@@ -60005,10 +60005,10 @@ bool HP_script_add_builtin(const struct script_function *buildin, bool override)
retVal___ = HPMHooks.source.script.add_builtin(buildin, override);
}
if( HPMHooks.count.HP_script_add_builtin_post ) {
- bool (*postHookFunc) (bool retVal___, const struct script_function *buildin, bool *override);
+ bool (*postHookFunc) (bool retVal___, const struct script_function *buildin, bool override);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_add_builtin_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_add_builtin_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, buildin, &override);
+ retVal___ = postHookFunc(retVal___, buildin, override);
}
}
return retVal___;
@@ -60058,10 +60058,10 @@ const char* HP_script_parse_subexpr(const char *p, int limit) {
retVal___ = HPMHooks.source.script.parse_subexpr(p, limit);
}
if( HPMHooks.count.HP_script_parse_subexpr_post ) {
- const char* (*postHookFunc) (const char* retVal___, const char *p, int *limit);
+ const char* (*postHookFunc) (const char* retVal___, const char *p, int limit);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_subexpr_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_parse_subexpr_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, p, &limit);
+ retVal___ = postHookFunc(retVal___, p, limit);
}
}
return retVal___;
@@ -60111,10 +60111,10 @@ void HP_script_error(const char *src, const char *file, int start_line, const ch
HPMHooks.source.script.error(src, file, start_line, error_msg, error_pos);
}
if( HPMHooks.count.HP_script_error_post ) {
- void (*postHookFunc) (const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+ void (*postHookFunc) (const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_error_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_error_post[hIndex].func;
- postHookFunc(src, file, &start_line, error_msg, error_pos);
+ postHookFunc(src, file, start_line, error_msg, error_pos);
}
}
return;
@@ -60137,10 +60137,10 @@ void HP_script_warning(const char *src, const char *file, int start_line, const
HPMHooks.source.script.warning(src, file, start_line, error_msg, error_pos);
}
if( HPMHooks.count.HP_script_warning_post ) {
- void (*postHookFunc) (const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+ void (*postHookFunc) (const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_warning_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_warning_post[hIndex].func;
- postHookFunc(src, file, &start_line, error_msg, error_pos);
+ postHookFunc(src, file, start_line, error_msg, error_pos);
}
}
return;
@@ -60164,10 +60164,10 @@ bool HP_script_addScript(char *name, char *args, bool ( *func ) (struct script_s
retVal___ = HPMHooks.source.script.addScript(name, args, func, isDeprecated);
}
if( HPMHooks.count.HP_script_addScript_post ) {
- bool (*postHookFunc) (bool retVal___, char *name, char *args, bool ( *func ) (struct script_state *st), bool *isDeprecated);
+ bool (*postHookFunc) (bool retVal___, char *name, char *args, bool ( *func ) (struct script_state *st), bool isDeprecated);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_addScript_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_addScript_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, name, args, func, &isDeprecated);
+ retVal___ = postHookFunc(retVal___, name, args, func, isDeprecated);
}
}
return retVal___;
@@ -60272,10 +60272,10 @@ struct map_session_data* HP_script_id2sd(struct script_state *st, int account_id
retVal___ = HPMHooks.source.script.id2sd(st, account_id);
}
if( HPMHooks.count.HP_script_id2sd_post ) {
- struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, struct script_state *st, int *account_id);
+ struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, struct script_state *st, int account_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_id2sd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_id2sd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, st, &account_id);
+ retVal___ = postHookFunc(retVal___, st, account_id);
}
}
return retVal___;
@@ -60299,10 +60299,10 @@ struct map_session_data* HP_script_charid2sd(struct script_state *st, int char_i
retVal___ = HPMHooks.source.script.charid2sd(st, char_id);
}
if( HPMHooks.count.HP_script_charid2sd_post ) {
- struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, struct script_state *st, int *char_id);
+ struct map_session_data* (*postHookFunc) (struct map_session_data* retVal___, struct script_state *st, int char_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_charid2sd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_charid2sd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, st, &char_id);
+ retVal___ = postHookFunc(retVal___, st, char_id);
}
}
return retVal___;
@@ -60379,10 +60379,10 @@ struct script_data* HP_script_push_val(struct script_stack *stack, enum c_op typ
retVal___ = HPMHooks.source.script.push_val(stack, type, val, ref);
}
if( HPMHooks.count.HP_script_push_val_post ) {
- struct script_data* (*postHookFunc) (struct script_data* retVal___, struct script_stack *stack, enum c_op *type, int64 *val, struct reg_db *ref);
+ struct script_data* (*postHookFunc) (struct script_data* retVal___, struct script_stack *stack, enum c_op type, int64 val, struct reg_db *ref);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_push_val_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_push_val_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, stack, &type, &val, ref);
+ retVal___ = postHookFunc(retVal___, stack, type, val, ref);
}
}
return retVal___;
@@ -60649,10 +60649,10 @@ const void* HP_script_get_val2(struct script_state *st, int64 uid, struct reg_db
retVal___ = HPMHooks.source.script.get_val2(st, uid, ref);
}
if( HPMHooks.count.HP_script_get_val2_post ) {
- const void* (*postHookFunc) (const void* retVal___, struct script_state *st, int64 *uid, struct reg_db *ref);
+ const void* (*postHookFunc) (const void* retVal___, struct script_state *st, int64 uid, struct reg_db *ref);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_get_val2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, st, &uid, ref);
+ retVal___ = postHookFunc(retVal___, st, uid, ref);
}
}
return retVal___;
@@ -60730,10 +60730,10 @@ struct script_data* HP_script_push_copy(struct script_stack *stack, int pos) {
retVal___ = HPMHooks.source.script.push_copy(stack, pos);
}
if( HPMHooks.count.HP_script_push_copy_post ) {
- struct script_data* (*postHookFunc) (struct script_data* retVal___, struct script_stack *stack, int *pos);
+ struct script_data* (*postHookFunc) (struct script_data* retVal___, struct script_stack *stack, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_push_copy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_push_copy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, stack, &pos);
+ retVal___ = postHookFunc(retVal___, stack, pos);
}
}
return retVal___;
@@ -60756,10 +60756,10 @@ void HP_script_pop_stack(struct script_state *st, int start, int end) {
HPMHooks.source.script.pop_stack(st, start, end);
}
if( HPMHooks.count.HP_script_pop_stack_post ) {
- void (*postHookFunc) (struct script_state *st, int *start, int *end);
+ void (*postHookFunc) (struct script_state *st, int start, int end);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_pop_stack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_pop_stack_post[hIndex].func;
- postHookFunc(st, &start, &end);
+ postHookFunc(st, start, end);
}
}
return;
@@ -60782,10 +60782,10 @@ void HP_script_set_constant(const char *name, int value, bool is_parameter, bool
HPMHooks.source.script.set_constant(name, value, is_parameter, is_deprecated);
}
if( HPMHooks.count.HP_script_set_constant_post ) {
- void (*postHookFunc) (const char *name, int *value, bool *is_parameter, bool *is_deprecated);
+ void (*postHookFunc) (const char *name, int value, bool is_parameter, bool is_deprecated);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_constant_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_constant_post[hIndex].func;
- postHookFunc(name, &value, &is_parameter, &is_deprecated);
+ postHookFunc(name, value, is_parameter, is_deprecated);
}
}
return;
@@ -60808,10 +60808,10 @@ void HP_script_set_constant2(const char *name, int value, bool is_parameter, boo
HPMHooks.source.script.set_constant2(name, value, is_parameter, is_deprecated);
}
if( HPMHooks.count.HP_script_set_constant2_post ) {
- void (*postHookFunc) (const char *name, int *value, bool *is_parameter, bool *is_deprecated);
+ void (*postHookFunc) (const char *name, int value, bool is_parameter, bool is_deprecated);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_constant2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_constant2_post[hIndex].func;
- postHookFunc(name, &value, &is_parameter, &is_deprecated);
+ postHookFunc(name, value, is_parameter, is_deprecated);
}
}
return;
@@ -60861,10 +60861,10 @@ void HP_script_label_add(int key, int pos) {
HPMHooks.source.script.label_add(key, pos);
}
if( HPMHooks.count.HP_script_label_add_post ) {
- void (*postHookFunc) (int *key, int *pos);
+ void (*postHookFunc) (int key, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_label_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_label_add_post[hIndex].func;
- postHookFunc(&key, &pos);
+ postHookFunc(key, pos);
}
}
return;
@@ -60887,10 +60887,10 @@ void HP_script_run(struct script_code *rootscript, int pos, int rid, int oid) {
HPMHooks.source.script.run(rootscript, pos, rid, oid);
}
if( HPMHooks.count.HP_script_run_post ) {
- void (*postHookFunc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+ void (*postHookFunc) (struct script_code *rootscript, int pos, int rid, int oid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_run_post[hIndex].func;
- postHookFunc(rootscript, &pos, &rid, &oid);
+ postHookFunc(rootscript, pos, rid, oid);
}
}
return;
@@ -60913,10 +60913,10 @@ void HP_script_run_npc(struct script_code *rootscript, int pos, int rid, int oid
HPMHooks.source.script.run_npc(rootscript, pos, rid, oid);
}
if( HPMHooks.count.HP_script_run_npc_post ) {
- void (*postHookFunc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+ void (*postHookFunc) (struct script_code *rootscript, int pos, int rid, int oid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_npc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_run_npc_post[hIndex].func;
- postHookFunc(rootscript, &pos, &rid, &oid);
+ postHookFunc(rootscript, pos, rid, oid);
}
}
return;
@@ -60939,10 +60939,10 @@ void HP_script_run_pet(struct script_code *rootscript, int pos, int rid, int oid
HPMHooks.source.script.run_pet(rootscript, pos, rid, oid);
}
if( HPMHooks.count.HP_script_run_pet_post ) {
- void (*postHookFunc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+ void (*postHookFunc) (struct script_code *rootscript, int pos, int rid, int oid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_pet_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_run_pet_post[hIndex].func;
- postHookFunc(rootscript, &pos, &rid, &oid);
+ postHookFunc(rootscript, pos, rid, oid);
}
}
return;
@@ -60992,10 +60992,10 @@ int HP_script_run_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.script.run_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_script_run_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_script_run_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_run_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -61124,10 +61124,10 @@ struct script_state* HP_script_alloc_state(struct script_code *rootscript, int p
retVal___ = HPMHooks.source.script.alloc_state(rootscript, pos, rid, oid);
}
if( HPMHooks.count.HP_script_alloc_state_post ) {
- struct script_state* (*postHookFunc) (struct script_state* retVal___, struct script_code *rootscript, int *pos, int *rid, int *oid);
+ struct script_state* (*postHookFunc) (struct script_state* retVal___, struct script_code *rootscript, int pos, int rid, int oid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_alloc_state_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_alloc_state_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, rootscript, &pos, &rid, &oid);
+ retVal___ = postHookFunc(retVal___, rootscript, pos, rid, oid);
}
}
return retVal___;
@@ -61202,10 +61202,10 @@ void HP_script_run_autobonus(const char *autobonus, int id, int pos) {
HPMHooks.source.script.run_autobonus(autobonus, id, pos);
}
if( HPMHooks.count.HP_script_run_autobonus_post ) {
- void (*postHookFunc) (const char *autobonus, int *id, int *pos);
+ void (*postHookFunc) (const char *autobonus, int id, int pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_autobonus_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_run_autobonus_post[hIndex].func;
- postHookFunc(autobonus, &id, &pos);
+ postHookFunc(autobonus, id, pos);
}
}
return;
@@ -61254,10 +61254,10 @@ void HP_script_setarray_pc(struct map_session_data *sd, const char *varname, uin
HPMHooks.source.script.setarray_pc(sd, varname, idx, value, refcache);
}
if( HPMHooks.count.HP_script_setarray_pc_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const char *varname, uint32 *idx, void *value, int *refcache);
+ void (*postHookFunc) (struct map_session_data *sd, const char *varname, uint32 idx, void *value, int *refcache);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_setarray_pc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_setarray_pc_post[hIndex].func;
- postHookFunc(sd, varname, &idx, value, refcache);
+ postHookFunc(sd, varname, idx, value, refcache);
}
}
return;
@@ -61335,10 +61335,10 @@ const char* HP_script_get_str(int id) {
retVal___ = HPMHooks.source.script.get_str(id);
}
if( HPMHooks.count.HP_script_get_str_post ) {
- const char* (*postHookFunc) (const char* retVal___, int *id);
+ const char* (*postHookFunc) (const char* retVal___, int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_get_str_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &id);
+ retVal___ = postHookFunc(retVal___, id);
}
}
return retVal___;
@@ -61388,10 +61388,10 @@ void HP_script_setd_sub(struct script_state *st, struct map_session_data *sd, co
HPMHooks.source.script.setd_sub(st, sd, varname, elem, value, ref);
}
if( HPMHooks.count.HP_script_setd_sub_post ) {
- void (*postHookFunc) (struct script_state *st, struct map_session_data *sd, const char *varname, int *elem, const void *value, struct reg_db *ref);
+ void (*postHookFunc) (struct script_state *st, struct map_session_data *sd, const char *varname, int elem, const void *value, struct reg_db *ref);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_setd_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_setd_sub_post[hIndex].func;
- postHookFunc(st, sd, varname, &elem, value, ref);
+ postHookFunc(st, sd, varname, elem, value, ref);
}
}
return;
@@ -61441,10 +61441,10 @@ struct script_queue* HP_script_queue(int idx) {
retVal___ = HPMHooks.source.script.queue(idx);
}
if( HPMHooks.count.HP_script_queue_post ) {
- struct script_queue* (*postHookFunc) (struct script_queue* retVal___, int *idx);
+ struct script_queue* (*postHookFunc) (struct script_queue* retVal___, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_queue_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_queue_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &idx);
+ retVal___ = postHookFunc(retVal___, idx);
}
}
return retVal___;
@@ -61468,10 +61468,10 @@ bool HP_script_queue_add(int idx, int var) {
retVal___ = HPMHooks.source.script.queue_add(idx, var);
}
if( HPMHooks.count.HP_script_queue_add_post ) {
- bool (*postHookFunc) (bool retVal___, int *idx, int *var);
+ bool (*postHookFunc) (bool retVal___, int idx, int var);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_queue_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_queue_add_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &idx, &var);
+ retVal___ = postHookFunc(retVal___, idx, var);
}
}
return retVal___;
@@ -61495,10 +61495,10 @@ bool HP_script_queue_del(int idx) {
retVal___ = HPMHooks.source.script.queue_del(idx);
}
if( HPMHooks.count.HP_script_queue_del_post ) {
- bool (*postHookFunc) (bool retVal___, int *idx);
+ bool (*postHookFunc) (bool retVal___, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_queue_del_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_queue_del_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &idx);
+ retVal___ = postHookFunc(retVal___, idx);
}
}
return retVal___;
@@ -61522,10 +61522,10 @@ bool HP_script_queue_remove(int idx, int var) {
retVal___ = HPMHooks.source.script.queue_remove(idx, var);
}
if( HPMHooks.count.HP_script_queue_remove_post ) {
- bool (*postHookFunc) (bool retVal___, int *idx, int *var);
+ bool (*postHookFunc) (bool retVal___, int idx, int var);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_queue_remove_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_queue_remove_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &idx, &var);
+ retVal___ = postHookFunc(retVal___, idx, var);
}
}
return retVal___;
@@ -61576,10 +61576,10 @@ bool HP_script_queue_clear(int idx) {
retVal___ = HPMHooks.source.script.queue_clear(idx);
}
if( HPMHooks.count.HP_script_queue_clear_post ) {
- bool (*postHookFunc) (bool retVal___, int *idx);
+ bool (*postHookFunc) (bool retVal___, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_queue_clear_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_queue_clear_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &idx);
+ retVal___ = postHookFunc(retVal___, idx);
}
}
return retVal___;
@@ -61765,10 +61765,10 @@ const char* HP_script_op2name(int op) {
retVal___ = HPMHooks.source.script.op2name(op);
}
if( HPMHooks.count.HP_script_op2name_post ) {
- const char* (*postHookFunc) (const char* retVal___, int *op);
+ const char* (*postHookFunc) (const char* retVal___, int op);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op2name_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_op2name_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &op);
+ retVal___ = postHookFunc(retVal___, op);
}
}
return retVal___;
@@ -61948,10 +61948,10 @@ void HP_script_addb(int a) {
HPMHooks.source.script.addb(a);
}
if( HPMHooks.count.HP_script_addb_post ) {
- void (*postHookFunc) (int *a);
+ void (*postHookFunc) (int a);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_addb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_addb_post[hIndex].func;
- postHookFunc(&a);
+ postHookFunc(a);
}
}
return;
@@ -61974,10 +61974,10 @@ void HP_script_addc(int a) {
HPMHooks.source.script.addc(a);
}
if( HPMHooks.count.HP_script_addc_post ) {
- void (*postHookFunc) (int *a);
+ void (*postHookFunc) (int a);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_addc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_addc_post[hIndex].func;
- postHookFunc(&a);
+ postHookFunc(a);
}
}
return;
@@ -62000,10 +62000,10 @@ void HP_script_addi(int a) {
HPMHooks.source.script.addi(a);
}
if( HPMHooks.count.HP_script_addi_post ) {
- void (*postHookFunc) (int *a);
+ void (*postHookFunc) (int a);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_addi_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_addi_post[hIndex].func;
- postHookFunc(&a);
+ postHookFunc(a);
}
}
return;
@@ -62026,10 +62026,10 @@ void HP_script_addl(int l) {
HPMHooks.source.script.addl(l);
}
if( HPMHooks.count.HP_script_addl_post ) {
- void (*postHookFunc) (int *l);
+ void (*postHookFunc) (int l);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_addl_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_addl_post[hIndex].func;
- postHookFunc(&l);
+ postHookFunc(l);
}
}
return;
@@ -62052,10 +62052,10 @@ void HP_script_set_label(int l, int pos, const char *script_pos) {
HPMHooks.source.script.set_label(l, pos, script_pos);
}
if( HPMHooks.count.HP_script_set_label_post ) {
- void (*postHookFunc) (int *l, int *pos, const char *script_pos);
+ void (*postHookFunc) (int l, int pos, const char *script_pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_label_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_label_post[hIndex].func;
- postHookFunc(&l, &pos, script_pos);
+ postHookFunc(l, pos, script_pos);
}
}
return;
@@ -62133,10 +62133,10 @@ const char* HP_script_parse_callfunc(const char *p, int require_paren, int is_cu
retVal___ = HPMHooks.source.script.parse_callfunc(p, require_paren, is_custom);
}
if( HPMHooks.count.HP_script_parse_callfunc_post ) {
- const char* (*postHookFunc) (const char* retVal___, const char *p, int *require_paren, int *is_custom);
+ const char* (*postHookFunc) (const char* retVal___, const char *p, int require_paren, int is_custom);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_callfunc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_parse_callfunc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, p, &require_paren, &is_custom);
+ retVal___ = postHookFunc(retVal___, p, require_paren, is_custom);
}
}
return retVal___;
@@ -62159,10 +62159,10 @@ void HP_script_parse_nextline(bool first, const char *p) {
HPMHooks.source.script.parse_nextline(first, p);
}
if( HPMHooks.count.HP_script_parse_nextline_post ) {
- void (*postHookFunc) (bool *first, const char *p);
+ void (*postHookFunc) (bool first, const char *p);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_nextline_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_parse_nextline_post[hIndex].func;
- postHookFunc(&first, p);
+ postHookFunc(first, p);
}
}
return;
@@ -62372,10 +62372,10 @@ const char* HP_script_print_line(StringBuf *buf, const char *p, const char *mark
retVal___ = HPMHooks.source.script.print_line(buf, p, mark, line);
}
if( HPMHooks.count.HP_script_print_line_post ) {
- const char* (*postHookFunc) (const char* retVal___, StringBuf *buf, const char *p, const char *mark, int *line);
+ const char* (*postHookFunc) (const char* retVal___, StringBuf *buf, const char *p, const char *mark, int line);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_print_line_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_print_line_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, buf, p, mark, &line);
+ retVal___ = postHookFunc(retVal___, buf, p, mark, line);
}
}
return retVal___;
@@ -62398,10 +62398,10 @@ void HP_script_errorwarning_sub(StringBuf *buf, const char *src, const char *fil
HPMHooks.source.script.errorwarning_sub(buf, src, file, start_line, error_msg, error_pos);
}
if( HPMHooks.count.HP_script_errorwarning_sub_post ) {
- void (*postHookFunc) (StringBuf *buf, const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+ void (*postHookFunc) (StringBuf *buf, const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_errorwarning_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_errorwarning_sub_post[hIndex].func;
- postHookFunc(buf, src, file, &start_line, error_msg, error_pos);
+ postHookFunc(buf, src, file, start_line, error_msg, error_pos);
}
}
return;
@@ -62425,10 +62425,10 @@ int HP_script_set_reg(struct script_state *st, struct map_session_data *sd, int6
retVal___ = HPMHooks.source.script.set_reg(st, sd, num, name, value, ref);
}
if( HPMHooks.count.HP_script_set_reg_post ) {
- int (*postHookFunc) (int retVal___, struct script_state *st, struct map_session_data *sd, int64 *num, const char *name, const void *value, struct reg_db *ref);
+ int (*postHookFunc) (int retVal___, struct script_state *st, struct map_session_data *sd, int64 num, const char *name, const void *value, struct reg_db *ref);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, st, sd, &num, name, value, ref);
+ retVal___ = postHookFunc(retVal___, st, sd, num, name, value, ref);
}
}
return retVal___;
@@ -62451,10 +62451,10 @@ void HP_script_set_reg_ref_str(struct script_state *st, struct reg_db *n, int64
HPMHooks.source.script.set_reg_ref_str(st, n, num, name, str);
}
if( HPMHooks.count.HP_script_set_reg_ref_str_post ) {
- void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+ void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_ref_str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_ref_str_post[hIndex].func;
- postHookFunc(st, n, &num, name, str);
+ postHookFunc(st, n, num, name, str);
}
}
return;
@@ -62477,10 +62477,10 @@ void HP_script_set_reg_scope_str(struct script_state *st, struct reg_db *n, int6
HPMHooks.source.script.set_reg_scope_str(st, n, num, name, str);
}
if( HPMHooks.count.HP_script_set_reg_scope_str_post ) {
- void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+ void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_scope_str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_scope_str_post[hIndex].func;
- postHookFunc(st, n, &num, name, str);
+ postHookFunc(st, n, num, name, str);
}
}
return;
@@ -62503,10 +62503,10 @@ void HP_script_set_reg_npc_str(struct script_state *st, struct reg_db *n, int64
HPMHooks.source.script.set_reg_npc_str(st, n, num, name, str);
}
if( HPMHooks.count.HP_script_set_reg_npc_str_post ) {
- void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+ void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_npc_str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_npc_str_post[hIndex].func;
- postHookFunc(st, n, &num, name, str);
+ postHookFunc(st, n, num, name, str);
}
}
return;
@@ -62529,10 +62529,10 @@ void HP_script_set_reg_instance_str(struct script_state *st, int64 num, const ch
HPMHooks.source.script.set_reg_instance_str(st, num, name, str);
}
if( HPMHooks.count.HP_script_set_reg_instance_str_post ) {
- void (*postHookFunc) (struct script_state *st, int64 *num, const char *name, const char *str);
+ void (*postHookFunc) (struct script_state *st, int64 num, const char *name, const char *str);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_instance_str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_instance_str_post[hIndex].func;
- postHookFunc(st, &num, name, str);
+ postHookFunc(st, num, name, str);
}
}
return;
@@ -62555,10 +62555,10 @@ void HP_script_set_reg_ref_num(struct script_state *st, struct reg_db *n, int64
HPMHooks.source.script.set_reg_ref_num(st, n, num, name, val);
}
if( HPMHooks.count.HP_script_set_reg_ref_num_post ) {
- void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+ void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 num, const char *name, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_ref_num_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_ref_num_post[hIndex].func;
- postHookFunc(st, n, &num, name, &val);
+ postHookFunc(st, n, num, name, val);
}
}
return;
@@ -62581,10 +62581,10 @@ void HP_script_set_reg_scope_num(struct script_state *st, struct reg_db *n, int6
HPMHooks.source.script.set_reg_scope_num(st, n, num, name, val);
}
if( HPMHooks.count.HP_script_set_reg_scope_num_post ) {
- void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+ void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 num, const char *name, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_scope_num_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_scope_num_post[hIndex].func;
- postHookFunc(st, n, &num, name, &val);
+ postHookFunc(st, n, num, name, val);
}
}
return;
@@ -62607,10 +62607,10 @@ void HP_script_set_reg_npc_num(struct script_state *st, struct reg_db *n, int64
HPMHooks.source.script.set_reg_npc_num(st, n, num, name, val);
}
if( HPMHooks.count.HP_script_set_reg_npc_num_post ) {
- void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+ void (*postHookFunc) (struct script_state *st, struct reg_db *n, int64 num, const char *name, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_npc_num_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_npc_num_post[hIndex].func;
- postHookFunc(st, n, &num, name, &val);
+ postHookFunc(st, n, num, name, val);
}
}
return;
@@ -62633,10 +62633,10 @@ void HP_script_set_reg_instance_num(struct script_state *st, int64 num, const ch
HPMHooks.source.script.set_reg_instance_num(st, num, name, val);
}
if( HPMHooks.count.HP_script_set_reg_instance_num_post ) {
- void (*postHookFunc) (struct script_state *st, int64 *num, const char *name, int *val);
+ void (*postHookFunc) (struct script_state *st, int64 num, const char *name, int val);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_instance_num_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_set_reg_instance_num_post[hIndex].func;
- postHookFunc(st, &num, name, &val);
+ postHookFunc(st, num, name, val);
}
}
return;
@@ -62712,10 +62712,10 @@ void HP_script_op_3(struct script_state *st, int op) {
HPMHooks.source.script.op_3(st, op);
}
if( HPMHooks.count.HP_script_op_3_post ) {
- void (*postHookFunc) (struct script_state *st, int *op);
+ void (*postHookFunc) (struct script_state *st, int op);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_3_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_op_3_post[hIndex].func;
- postHookFunc(st, &op);
+ postHookFunc(st, op);
}
}
return;
@@ -62738,10 +62738,10 @@ void HP_script_op_2str(struct script_state *st, int op, const char *s1, const ch
HPMHooks.source.script.op_2str(st, op, s1, s2);
}
if( HPMHooks.count.HP_script_op_2str_post ) {
- void (*postHookFunc) (struct script_state *st, int *op, const char *s1, const char *s2);
+ void (*postHookFunc) (struct script_state *st, int op, const char *s1, const char *s2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_2str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_op_2str_post[hIndex].func;
- postHookFunc(st, &op, s1, s2);
+ postHookFunc(st, op, s1, s2);
}
}
return;
@@ -62764,10 +62764,10 @@ void HP_script_op_2num(struct script_state *st, int op, int i1, int i2) {
HPMHooks.source.script.op_2num(st, op, i1, i2);
}
if( HPMHooks.count.HP_script_op_2num_post ) {
- void (*postHookFunc) (struct script_state *st, int *op, int *i1, int *i2);
+ void (*postHookFunc) (struct script_state *st, int op, int i1, int i2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_2num_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_op_2num_post[hIndex].func;
- postHookFunc(st, &op, &i1, &i2);
+ postHookFunc(st, op, i1, i2);
}
}
return;
@@ -62790,10 +62790,10 @@ void HP_script_op_2(struct script_state *st, int op) {
HPMHooks.source.script.op_2(st, op);
}
if( HPMHooks.count.HP_script_op_2_post ) {
- void (*postHookFunc) (struct script_state *st, int *op);
+ void (*postHookFunc) (struct script_state *st, int op);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_op_2_post[hIndex].func;
- postHookFunc(st, &op);
+ postHookFunc(st, op);
}
}
return;
@@ -62816,10 +62816,10 @@ void HP_script_op_1(struct script_state *st, int op) {
HPMHooks.source.script.op_1(st, op);
}
if( HPMHooks.count.HP_script_op_1_post ) {
- void (*postHookFunc) (struct script_state *st, int *op);
+ void (*postHookFunc) (struct script_state *st, int op);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_1_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_op_1_post[hIndex].func;
- postHookFunc(st, &op);
+ postHookFunc(st, op);
}
}
return;
@@ -62842,10 +62842,10 @@ void HP_script_check_buildin_argtype(struct script_state *st, int func) {
HPMHooks.source.script.check_buildin_argtype(st, func);
}
if( HPMHooks.count.HP_script_check_buildin_argtype_post ) {
- void (*postHookFunc) (struct script_state *st, int *func);
+ void (*postHookFunc) (struct script_state *st, int func);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_check_buildin_argtype_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_check_buildin_argtype_post[hIndex].func;
- postHookFunc(st, &func);
+ postHookFunc(st, func);
}
}
return;
@@ -62868,10 +62868,10 @@ void HP_script_detach_state(struct script_state *st, bool dequeue_event) {
HPMHooks.source.script.detach_state(st, dequeue_event);
}
if( HPMHooks.count.HP_script_detach_state_post ) {
- void (*postHookFunc) (struct script_state *st, bool *dequeue_event);
+ void (*postHookFunc) (struct script_state *st, bool dequeue_event);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_detach_state_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_detach_state_post[hIndex].func;
- postHookFunc(st, &dequeue_event);
+ postHookFunc(st, dequeue_event);
}
}
return;
@@ -62899,11 +62899,11 @@ int HP_script_db_free_code_sub(union DBKey key, struct DBData *data, va_list ap)
va_end(ap___copy);
}
if( HPMHooks.count.HP_script_db_free_code_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_script_db_free_code_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_script_db_free_code_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -62954,10 +62954,10 @@ int HP_script_menu_countoptions(const char *str, int max_count, int *total) {
retVal___ = HPMHooks.source.script.menu_countoptions(str, max_count, total);
}
if( HPMHooks.count.HP_script_menu_countoptions_post ) {
- int (*postHookFunc) (int retVal___, const char *str, int *max_count, int *total);
+ int (*postHookFunc) (int retVal___, const char *str, int max_count, int *total);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_menu_countoptions_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_menu_countoptions_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &max_count, total);
+ retVal___ = postHookFunc(retVal___, str, max_count, total);
}
}
return retVal___;
@@ -63046,10 +63046,10 @@ void HP_script_buildin_delitem_delete(struct map_session_data *sd, int idx, int
HPMHooks.source.script.buildin_delitem_delete(sd, idx, amount, delete_items);
}
if( HPMHooks.count.HP_script_buildin_delitem_delete_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *idx, int *amount, bool *delete_items);
+ void (*postHookFunc) (struct map_session_data *sd, int idx, int *amount, bool delete_items);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_delitem_delete_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_buildin_delitem_delete_post[hIndex].func;
- postHookFunc(sd, &idx, amount, &delete_items);
+ postHookFunc(sd, idx, amount, delete_items);
}
}
return;
@@ -63073,10 +63073,10 @@ bool HP_script_buildin_delitem_search(struct map_session_data *sd, struct item *
retVal___ = HPMHooks.source.script.buildin_delitem_search(sd, it, exact_match);
}
if( HPMHooks.count.HP_script_buildin_delitem_search_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, struct item *it, bool *exact_match);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, struct item *it, bool exact_match);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_delitem_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_buildin_delitem_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, it, &exact_match);
+ retVal___ = postHookFunc(retVal___, sd, it, exact_match);
}
}
return retVal___;
@@ -63828,10 +63828,10 @@ void HP_script_array_update(struct reg_db *src, int64 num, bool empty) {
HPMHooks.source.script.array_update(src, num, empty);
}
if( HPMHooks.count.HP_script_array_update_post ) {
- void (*postHookFunc) (struct reg_db *src, int64 *num, bool *empty);
+ void (*postHookFunc) (struct reg_db *src, int64 num, bool empty);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_update_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_array_update_post[hIndex].func;
- postHookFunc(src, &num, &empty);
+ postHookFunc(src, num, empty);
}
}
return;
@@ -63880,10 +63880,10 @@ void HP_script_array_remove_member(struct reg_db *src, struct script_array *sa,
HPMHooks.source.script.array_remove_member(src, sa, idx);
}
if( HPMHooks.count.HP_script_array_remove_member_post ) {
- void (*postHookFunc) (struct reg_db *src, struct script_array *sa, unsigned int *idx);
+ void (*postHookFunc) (struct reg_db *src, struct script_array *sa, unsigned int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_remove_member_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_array_remove_member_post[hIndex].func;
- postHookFunc(src, sa, &idx);
+ postHookFunc(src, sa, idx);
}
}
return;
@@ -63906,10 +63906,10 @@ void HP_script_array_add_member(struct script_array *sa, unsigned int idx) {
HPMHooks.source.script.array_add_member(sa, idx);
}
if( HPMHooks.count.HP_script_array_add_member_post ) {
- void (*postHookFunc) (struct script_array *sa, unsigned int *idx);
+ void (*postHookFunc) (struct script_array *sa, unsigned int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_add_member_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_array_add_member_post[hIndex].func;
- postHookFunc(sa, &idx);
+ postHookFunc(sa, idx);
}
}
return;
@@ -63991,11 +63991,11 @@ int HP_script_array_free_db(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_script_array_free_db_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_script_array_free_db_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_script_array_free_db_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -64019,10 +64019,10 @@ void HP_script_array_ensure_zero(struct script_state *st, struct map_session_dat
HPMHooks.source.script.array_ensure_zero(st, sd, uid, ref);
}
if( HPMHooks.count.HP_script_array_ensure_zero_post ) {
- void (*postHookFunc) (struct script_state *st, struct map_session_data *sd, int64 *uid, struct reg_db *ref);
+ void (*postHookFunc) (struct script_state *st, struct map_session_data *sd, int64 uid, struct reg_db *ref);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_ensure_zero_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_array_ensure_zero_post[hIndex].func;
- postHookFunc(st, sd, &uid, ref);
+ postHookFunc(st, sd, uid, ref);
}
}
return;
@@ -64045,10 +64045,10 @@ void HP_script_reg_destroy_single(struct map_session_data *sd, int64 reg, struct
HPMHooks.source.script.reg_destroy_single(sd, reg, data);
}
if( HPMHooks.count.HP_script_reg_destroy_single_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int64 *reg, struct script_reg_state *data);
+ void (*postHookFunc) (struct map_session_data *sd, int64 reg, struct script_reg_state *data);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_reg_destroy_single_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_reg_destroy_single_post[hIndex].func;
- postHookFunc(sd, &reg, data);
+ postHookFunc(sd, reg, data);
}
}
return;
@@ -64076,11 +64076,11 @@ int HP_script_reg_destroy(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_script_reg_destroy_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_script_reg_destroy_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_script_reg_destroy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -64104,10 +64104,10 @@ void HP_script_generic_ui_array_expand(unsigned int plus) {
HPMHooks.source.script.generic_ui_array_expand(plus);
}
if( HPMHooks.count.HP_script_generic_ui_array_expand_post ) {
- void (*postHookFunc) (unsigned int *plus);
+ void (*postHookFunc) (unsigned int plus);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_generic_ui_array_expand_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_generic_ui_array_expand_post[hIndex].func;
- postHookFunc(&plus);
+ postHookFunc(plus);
}
}
return;
@@ -64263,10 +64263,10 @@ void HP_script_load_translation(const char *file, uint8 lang_id, uint32 *total)
HPMHooks.source.script.load_translation(file, lang_id, total);
}
if( HPMHooks.count.HP_script_load_translation_post ) {
- void (*postHookFunc) (const char *file, uint8 *lang_id, uint32 *total);
+ void (*postHookFunc) (const char *file, uint8 lang_id, uint32 *total);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_load_translation_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_load_translation_post[hIndex].func;
- postHookFunc(file, &lang_id, total);
+ postHookFunc(file, lang_id, total);
}
}
return;
@@ -64294,11 +64294,11 @@ int HP_script_translation_db_destroyer(union DBKey key, struct DBData *data, va_
va_end(ap___copy);
}
if( HPMHooks.count.HP_script_translation_db_destroyer_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_script_translation_db_destroyer_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_script_translation_db_destroyer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -64322,10 +64322,10 @@ void HP_script_clear_translations(bool reload) {
HPMHooks.source.script.clear_translations(reload);
}
if( HPMHooks.count.HP_script_clear_translations_post ) {
- void (*postHookFunc) (bool *reload);
+ void (*postHookFunc) (bool reload);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_clear_translations_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_clear_translations_post[hIndex].func;
- postHookFunc(&reload);
+ postHookFunc(reload);
}
}
return;
@@ -64349,10 +64349,10 @@ int HP_script_parse_cleanup_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.script.parse_cleanup_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_script_parse_cleanup_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_script_parse_cleanup_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_parse_cleanup_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -64455,10 +64455,10 @@ void HP_script_run_use_script(struct map_session_data *sd, struct item_data *dat
HPMHooks.source.script.run_use_script(sd, data, oid);
}
if( HPMHooks.count.HP_script_run_use_script_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct item_data *data, int *oid);
+ void (*postHookFunc) (struct map_session_data *sd, struct item_data *data, int oid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_use_script_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_run_use_script_post[hIndex].func;
- postHookFunc(sd, data, &oid);
+ postHookFunc(sd, data, oid);
}
}
return;
@@ -64481,10 +64481,10 @@ void HP_script_run_item_equip_script(struct map_session_data *sd, struct item_da
HPMHooks.source.script.run_item_equip_script(sd, data, oid);
}
if( HPMHooks.count.HP_script_run_item_equip_script_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct item_data *data, int *oid);
+ void (*postHookFunc) (struct map_session_data *sd, struct item_data *data, int oid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_item_equip_script_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_run_item_equip_script_post[hIndex].func;
- postHookFunc(sd, data, &oid);
+ postHookFunc(sd, data, oid);
}
}
return;
@@ -64507,10 +64507,10 @@ void HP_script_run_item_unequip_script(struct map_session_data *sd, struct item_
HPMHooks.source.script.run_item_unequip_script(sd, data, oid);
}
if( HPMHooks.count.HP_script_run_item_unequip_script_post ) {
- void (*postHookFunc) (struct map_session_data *sd, struct item_data *data, int *oid);
+ void (*postHookFunc) (struct map_session_data *sd, struct item_data *data, int oid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_item_unequip_script_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_script_run_item_unequip_script_post[hIndex].func;
- postHookFunc(sd, data, &oid);
+ postHookFunc(sd, data, oid);
}
}
return;
@@ -64535,10 +64535,10 @@ bool HP_searchstore_open(struct map_session_data *sd, unsigned int uses, unsigne
retVal___ = HPMHooks.source.searchstore.open(sd, uses, effect);
}
if( HPMHooks.count.HP_searchstore_open_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned int *uses, unsigned short *effect);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned int uses, unsigned short effect);
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_open_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_searchstore_open_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &uses, &effect);
+ retVal___ = postHookFunc(retVal___, sd, uses, effect);
}
}
return retVal___;
@@ -64561,10 +64561,10 @@ void HP_searchstore_query(struct map_session_data *sd, unsigned char type, unsig
HPMHooks.source.searchstore.query(sd, type, min_price, max_price, itemlist, item_count, cardlist, card_count);
}
if( HPMHooks.count.HP_searchstore_query_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned char *type, unsigned int *min_price, unsigned int *max_price, const unsigned short *itemlist, unsigned int *item_count, const unsigned short *cardlist, unsigned int *card_count);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned char type, unsigned int min_price, unsigned int max_price, const unsigned short *itemlist, unsigned int item_count, const unsigned short *cardlist, unsigned int card_count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_query_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_searchstore_query_post[hIndex].func;
- postHookFunc(sd, &type, &min_price, &max_price, itemlist, &item_count, cardlist, &card_count);
+ postHookFunc(sd, type, min_price, max_price, itemlist, item_count, cardlist, card_count);
}
}
return;
@@ -64692,10 +64692,10 @@ void HP_searchstore_click(struct map_session_data *sd, int account_id, int store
HPMHooks.source.searchstore.click(sd, account_id, store_id, nameid);
}
if( HPMHooks.count.HP_searchstore_click_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *account_id, int *store_id, unsigned short *nameid);
+ void (*postHookFunc) (struct map_session_data *sd, int account_id, int store_id, unsigned short nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_click_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_searchstore_click_post[hIndex].func;
- postHookFunc(sd, &account_id, &store_id, &nameid);
+ postHookFunc(sd, account_id, store_id, nameid);
}
}
return;
@@ -64719,10 +64719,10 @@ bool HP_searchstore_queryremote(struct map_session_data *sd, int account_id) {
retVal___ = HPMHooks.source.searchstore.queryremote(sd, account_id);
}
if( HPMHooks.count.HP_searchstore_queryremote_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *account_id);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int account_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_queryremote_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_searchstore_queryremote_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &account_id);
+ retVal___ = postHookFunc(retVal___, sd, account_id);
}
}
return retVal___;
@@ -64772,10 +64772,10 @@ bool HP_searchstore_result(struct map_session_data *sd, unsigned int store_id, i
retVal___ = HPMHooks.source.searchstore.result(sd, store_id, account_id, store_name, nameid, amount, price, card, refine);
}
if( HPMHooks.count.HP_searchstore_result_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned int *store_id, int *account_id, const char *store_name, unsigned short *nameid, unsigned short *amount, unsigned int *price, const short *card, unsigned char *refine);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned int store_id, int account_id, const char *store_name, unsigned short nameid, unsigned short amount, unsigned int price, const short *card, unsigned char refine);
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_result_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_searchstore_result_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &store_id, &account_id, store_name, &nameid, &amount, &price, card, &refine);
+ retVal___ = postHookFunc(retVal___, sd, store_id, account_id, store_name, nameid, amount, price, card, refine);
}
}
return retVal___;
@@ -64912,10 +64912,10 @@ int HP_skill_init(bool minimal) {
retVal___ = HPMHooks.source.skill.init(minimal);
}
if( HPMHooks.count.HP_skill_init_post ) {
- int (*postHookFunc) (int retVal___, bool *minimal);
+ int (*postHookFunc) (int retVal___, bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &minimal);
+ retVal___ = postHookFunc(retVal___, minimal);
}
}
return retVal___;
@@ -64991,10 +64991,10 @@ void HP_skill_read_db(bool minimal) {
HPMHooks.source.skill.read_db(minimal);
}
if( HPMHooks.count.HP_skill_read_db_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_read_db_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_read_db_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -65018,10 +65018,10 @@ int HP_skill_get_index(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_index(skill_id);
}
if( HPMHooks.count.HP_skill_get_index_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_index_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_index_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65045,10 +65045,10 @@ int HP_skill_get_type(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_type(skill_id);
}
if( HPMHooks.count.HP_skill_get_type_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_type_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_type_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65072,10 +65072,10 @@ int HP_skill_get_hit(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_hit(skill_id);
}
if( HPMHooks.count.HP_skill_get_hit_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_hit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_hit_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65099,10 +65099,10 @@ int HP_skill_get_inf(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_inf(skill_id);
}
if( HPMHooks.count.HP_skill_get_inf_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_inf_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_inf_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65126,10 +65126,10 @@ int HP_skill_get_ele(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_ele(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_ele_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_ele_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_ele_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65153,10 +65153,10 @@ int HP_skill_get_nk(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_nk(skill_id);
}
if( HPMHooks.count.HP_skill_get_nk_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_nk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_nk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65180,10 +65180,10 @@ int HP_skill_get_max(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_max(skill_id);
}
if( HPMHooks.count.HP_skill_get_max_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_max_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_max_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65207,10 +65207,10 @@ int HP_skill_get_range(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_range(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_range_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_range_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_range_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65234,10 +65234,10 @@ int HP_skill_get_range2(struct block_list *bl, uint16 skill_id, uint16 skill_lv)
retVal___ = HPMHooks.source.skill.get_range2(bl, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_range2_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_range2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_range2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, bl, skill_id, skill_lv);
}
}
return retVal___;
@@ -65261,10 +65261,10 @@ int HP_skill_get_splash(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_splash(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_splash_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_splash_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_splash_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65288,10 +65288,10 @@ int HP_skill_get_hp(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_hp(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_hp_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_hp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_hp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65315,10 +65315,10 @@ int HP_skill_get_mhp(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_mhp(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_mhp_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_mhp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_mhp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65342,10 +65342,10 @@ int HP_skill_get_sp(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_sp(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_sp_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_sp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_sp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65369,10 +65369,10 @@ int HP_skill_get_state(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_state(skill_id);
}
if( HPMHooks.count.HP_skill_get_state_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_state_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_state_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65396,10 +65396,10 @@ int HP_skill_get_spiritball(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_spiritball(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_spiritball_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_spiritball_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_spiritball_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65423,10 +65423,10 @@ int HP_skill_get_zeny(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_zeny(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_zeny_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_zeny_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_zeny_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65450,10 +65450,10 @@ int HP_skill_get_num(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_num(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_num_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_num_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_num_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65477,10 +65477,10 @@ int HP_skill_get_cast(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_cast(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_cast_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_cast_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_cast_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65504,10 +65504,10 @@ int HP_skill_get_delay(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_delay(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_delay_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_delay_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_delay_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65531,10 +65531,10 @@ int HP_skill_get_walkdelay(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_walkdelay(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_walkdelay_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_walkdelay_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_walkdelay_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65558,10 +65558,10 @@ int HP_skill_get_time(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_time(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_time_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_time_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_time_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65585,10 +65585,10 @@ int HP_skill_get_time2(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_time2(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_time2_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_time2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_time2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65612,10 +65612,10 @@ int HP_skill_get_castnodex(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_castnodex(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_castnodex_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_castnodex_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_castnodex_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65639,10 +65639,10 @@ int HP_skill_get_delaynodex(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_delaynodex(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_delaynodex_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_delaynodex_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_delaynodex_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65666,10 +65666,10 @@ int HP_skill_get_castdef(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_castdef(skill_id);
}
if( HPMHooks.count.HP_skill_get_castdef_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_castdef_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_castdef_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65693,10 +65693,10 @@ int HP_skill_get_weapontype(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_weapontype(skill_id);
}
if( HPMHooks.count.HP_skill_get_weapontype_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_weapontype_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_weapontype_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65720,10 +65720,10 @@ int HP_skill_get_ammotype(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_ammotype(skill_id);
}
if( HPMHooks.count.HP_skill_get_ammotype_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_ammotype_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_ammotype_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65747,10 +65747,10 @@ int HP_skill_get_ammo_qty(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_ammo_qty(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_ammo_qty_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_ammo_qty_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_ammo_qty_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65774,10 +65774,10 @@ int HP_skill_get_unit_id(uint16 skill_id, int flag) {
retVal___ = HPMHooks.source.skill.get_unit_id(skill_id, flag);
}
if( HPMHooks.count.HP_skill_get_unit_id_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, int *flag);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_id_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_unit_id_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &flag);
+ retVal___ = postHookFunc(retVal___, skill_id, flag);
}
}
return retVal___;
@@ -65801,10 +65801,10 @@ int HP_skill_get_inf2(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_inf2(skill_id);
}
if( HPMHooks.count.HP_skill_get_inf2_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_inf2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_inf2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65828,10 +65828,10 @@ int HP_skill_get_castcancel(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_castcancel(skill_id);
}
if( HPMHooks.count.HP_skill_get_castcancel_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_castcancel_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_castcancel_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65855,10 +65855,10 @@ int HP_skill_get_maxcount(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_maxcount(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_maxcount_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_maxcount_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_maxcount_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65882,10 +65882,10 @@ int HP_skill_get_blewcount(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_blewcount(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_blewcount_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_blewcount_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_blewcount_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -65909,10 +65909,10 @@ int HP_skill_get_unit_flag(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_unit_flag(skill_id);
}
if( HPMHooks.count.HP_skill_get_unit_flag_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_flag_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_unit_flag_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65936,10 +65936,10 @@ int HP_skill_get_unit_target(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_unit_target(skill_id);
}
if( HPMHooks.count.HP_skill_get_unit_target_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_target_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_unit_target_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65963,10 +65963,10 @@ int HP_skill_get_unit_interval(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_unit_interval(skill_id);
}
if( HPMHooks.count.HP_skill_get_unit_interval_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_interval_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_unit_interval_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -65990,10 +65990,10 @@ int HP_skill_get_unit_bl_target(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_unit_bl_target(skill_id);
}
if( HPMHooks.count.HP_skill_get_unit_bl_target_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_bl_target_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_unit_bl_target_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -66017,10 +66017,10 @@ int HP_skill_get_unit_layout_type(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_unit_layout_type(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_unit_layout_type_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_layout_type_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_unit_layout_type_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -66044,10 +66044,10 @@ int HP_skill_get_unit_range(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_unit_range(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_unit_range_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_range_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_unit_range_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -66071,10 +66071,10 @@ int HP_skill_get_cooldown(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_cooldown(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_cooldown_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_cooldown_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_cooldown_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -66098,10 +66098,10 @@ int HP_skill_tree_get_max(uint16 skill_id, int b_class) {
retVal___ = HPMHooks.source.skill.tree_get_max(skill_id, b_class);
}
if( HPMHooks.count.HP_skill_tree_get_max_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, int *b_class);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, int b_class);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_tree_get_max_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_tree_get_max_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &b_class);
+ retVal___ = postHookFunc(retVal___, skill_id, b_class);
}
}
return retVal___;
@@ -66125,10 +66125,10 @@ const char* HP_skill_get_name(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_name(skill_id);
}
if( HPMHooks.count.HP_skill_get_name_post ) {
- const char* (*postHookFunc) (const char* retVal___, uint16 *skill_id);
+ const char* (*postHookFunc) (const char* retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_name_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_name_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -66152,10 +66152,10 @@ const char* HP_skill_get_desc(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_desc(skill_id);
}
if( HPMHooks.count.HP_skill_get_desc_post ) {
- const char* (*postHookFunc) (const char* retVal___, uint16 *skill_id);
+ const char* (*postHookFunc) (const char* retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_desc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_desc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -66205,10 +66205,10 @@ int HP_skill_get_casttype(uint16 skill_id) {
retVal___ = HPMHooks.source.skill.get_casttype(skill_id);
}
if( HPMHooks.count.HP_skill_get_casttype_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_casttype_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_casttype_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -66232,10 +66232,10 @@ int HP_skill_get_casttype2(uint16 index) {
retVal___ = HPMHooks.source.skill.get_casttype2(index);
}
if( HPMHooks.count.HP_skill_get_casttype2_post ) {
- int (*postHookFunc) (int retVal___, uint16 *index);
+ int (*postHookFunc) (int retVal___, uint16 index);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_casttype2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_casttype2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &index);
+ retVal___ = postHookFunc(retVal___, index);
}
}
return retVal___;
@@ -66259,10 +66259,10 @@ bool HP_skill_is_combo(int skill_id) {
retVal___ = HPMHooks.source.skill.is_combo(skill_id);
}
if( HPMHooks.count.HP_skill_is_combo_post ) {
- bool (*postHookFunc) (bool retVal___, int *skill_id);
+ bool (*postHookFunc) (bool retVal___, int skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_is_combo_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_is_combo_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -66313,10 +66313,10 @@ int HP_skill_isammotype(struct map_session_data *sd, int skill_id) {
retVal___ = HPMHooks.source.skill.isammotype(sd, skill_id);
}
if( HPMHooks.count.HP_skill_isammotype_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_isammotype_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_isammotype_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -66340,10 +66340,10 @@ int HP_skill_castend_id(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.skill.castend_id(tid, tick, id, data);
}
if( HPMHooks.count.HP_skill_castend_id_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_skill_castend_id_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_castend_id_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -66367,10 +66367,10 @@ int HP_skill_castend_pos(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.skill.castend_pos(tid, tick, id, data);
}
if( HPMHooks.count.HP_skill_castend_pos_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_skill_castend_pos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_castend_pos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -66394,10 +66394,10 @@ int HP_skill_castend_map(struct map_session_data *sd, uint16 skill_id, const cha
retVal___ = HPMHooks.source.skill.castend_map(sd, skill_id, mapname);
}
if( HPMHooks.count.HP_skill_castend_map_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id, const char *mapname);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id, const char *mapname);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_map_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_castend_map_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, mapname);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, mapname);
}
}
return retVal___;
@@ -66448,10 +66448,10 @@ int HP_skill_addtimerskill(struct block_list *src, int64 tick, int target, int x
retVal___ = HPMHooks.source.skill.addtimerskill(src, tick, target, x, y, skill_id, skill_lv, type, flag);
}
if( HPMHooks.count.HP_skill_addtimerskill_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, int64 *tick, int *target, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int *type, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, int64 tick, int target, int x, int y, uint16 skill_id, uint16 skill_lv, int type, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_addtimerskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_addtimerskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &tick, &target, &x, &y, &skill_id, &skill_lv, &type, &flag);
+ retVal___ = postHookFunc(retVal___, src, tick, target, x, y, skill_id, skill_lv, type, flag);
}
}
return retVal___;
@@ -66475,10 +66475,10 @@ int HP_skill_additional_effect(struct block_list *src, struct block_list *bl, ui
retVal___ = HPMHooks.source.skill.additional_effect(src, bl, skill_id, skill_lv, attack_type, dmg_lv, tick);
}
if( HPMHooks.count.HP_skill_additional_effect_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int *dmg_lv, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int attack_type, int dmg_lv, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_additional_effect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_additional_effect_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &skill_id, &skill_lv, &attack_type, &dmg_lv, &tick);
+ retVal___ = postHookFunc(retVal___, src, bl, skill_id, skill_lv, attack_type, dmg_lv, tick);
}
}
return retVal___;
@@ -66502,10 +66502,10 @@ int HP_skill_counter_additional_effect(struct block_list *src, struct block_list
retVal___ = HPMHooks.source.skill.counter_additional_effect(src, bl, skill_id, skill_lv, attack_type, tick);
}
if( HPMHooks.count.HP_skill_counter_additional_effect_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int attack_type, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_counter_additional_effect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_counter_additional_effect_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &skill_id, &skill_lv, &attack_type, &tick);
+ retVal___ = postHookFunc(retVal___, src, bl, skill_id, skill_lv, attack_type, tick);
}
}
return retVal___;
@@ -66529,10 +66529,10 @@ int HP_skill_blown(struct block_list *src, struct block_list *target, int count,
retVal___ = HPMHooks.source.skill.blown(src, target, count, dir, flag);
}
if( HPMHooks.count.HP_skill_blown_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, int *count, int8 *dir, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, int count, int8 dir, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_blown_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_blown_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &count, &dir, &flag);
+ retVal___ = postHookFunc(retVal___, src, target, count, dir, flag);
}
}
return retVal___;
@@ -66556,10 +66556,10 @@ int HP_skill_break_equip(struct block_list *bl, unsigned short where, int rate,
retVal___ = HPMHooks.source.skill.break_equip(bl, where, rate, flag);
}
if( HPMHooks.count.HP_skill_break_equip_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned short *where, int *rate, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned short where, int rate, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_break_equip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_break_equip_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &where, &rate, &flag);
+ retVal___ = postHookFunc(retVal___, bl, where, rate, flag);
}
}
return retVal___;
@@ -66583,10 +66583,10 @@ int HP_skill_strip_equip(struct block_list *bl, unsigned short where, int rate,
retVal___ = HPMHooks.source.skill.strip_equip(bl, where, rate, lv, time);
}
if( HPMHooks.count.HP_skill_strip_equip_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned short *where, int *rate, int *lv, int *time);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned short where, int rate, int lv, int time);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_strip_equip_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_strip_equip_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &where, &rate, &lv, &time);
+ retVal___ = postHookFunc(retVal___, bl, where, rate, lv, time);
}
}
return retVal___;
@@ -66610,10 +66610,10 @@ struct skill_unit_group* HP_skill_id2group(int group_id) {
retVal___ = HPMHooks.source.skill.id2group(group_id);
}
if( HPMHooks.count.HP_skill_id2group_post ) {
- struct skill_unit_group* (*postHookFunc) (struct skill_unit_group* retVal___, int *group_id);
+ struct skill_unit_group* (*postHookFunc) (struct skill_unit_group* retVal___, int group_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_id2group_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_id2group_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &group_id);
+ retVal___ = postHookFunc(retVal___, group_id);
}
}
return retVal___;
@@ -66637,10 +66637,10 @@ struct skill_unit_group* HP_skill_unitsetting(struct block_list *src, uint16 ski
retVal___ = HPMHooks.source.skill.unitsetting(src, skill_id, skill_lv, x, y, flag);
}
if( HPMHooks.count.HP_skill_unitsetting_post ) {
- struct skill_unit_group* (*postHookFunc) (struct skill_unit_group* retVal___, struct block_list *src, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *flag);
+ struct skill_unit_group* (*postHookFunc) (struct skill_unit_group* retVal___, struct block_list *src, uint16 skill_id, uint16 skill_lv, short x, short y, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unitsetting_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unitsetting_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &skill_id, &skill_lv, &x, &y, &flag);
+ retVal___ = postHookFunc(retVal___, src, skill_id, skill_lv, x, y, flag);
}
}
return retVal___;
@@ -66664,10 +66664,10 @@ struct skill_unit* HP_skill_initunit(struct skill_unit_group *group, int idx, in
retVal___ = HPMHooks.source.skill.initunit(group, idx, x, y, val1, val2);
}
if( HPMHooks.count.HP_skill_initunit_post ) {
- struct skill_unit* (*postHookFunc) (struct skill_unit* retVal___, struct skill_unit_group *group, int *idx, int *x, int *y, int *val1, int *val2);
+ struct skill_unit* (*postHookFunc) (struct skill_unit* retVal___, struct skill_unit_group *group, int idx, int x, int y, int val1, int val2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_initunit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_initunit_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, group, &idx, &x, &y, &val1, &val2);
+ retVal___ = postHookFunc(retVal___, group, idx, x, y, val1, val2);
}
}
return retVal___;
@@ -66718,10 +66718,10 @@ struct skill_unit_group* HP_skill_init_unitgroup(struct block_list *src, int cou
retVal___ = HPMHooks.source.skill.init_unitgroup(src, count, skill_id, skill_lv, unit_id, limit, interval);
}
if( HPMHooks.count.HP_skill_init_unitgroup_post ) {
- struct skill_unit_group* (*postHookFunc) (struct skill_unit_group* retVal___, struct block_list *src, int *count, uint16 *skill_id, uint16 *skill_lv, int *unit_id, int *limit, int *interval);
+ struct skill_unit_group* (*postHookFunc) (struct skill_unit_group* retVal___, struct block_list *src, int count, uint16 skill_id, uint16 skill_lv, int unit_id, int limit, int interval);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_init_unitgroup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_init_unitgroup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &count, &skill_id, &skill_lv, &unit_id, &limit, &interval);
+ retVal___ = postHookFunc(retVal___, src, count, skill_id, skill_lv, unit_id, limit, interval);
}
}
return retVal___;
@@ -66745,10 +66745,10 @@ int HP_skill_del_unitgroup(struct skill_unit_group *group, const char *file, int
retVal___ = HPMHooks.source.skill.del_unitgroup(group, file, line, func);
}
if( HPMHooks.count.HP_skill_del_unitgroup_post ) {
- int (*postHookFunc) (int retVal___, struct skill_unit_group *group, const char *file, int *line, const char *func);
+ int (*postHookFunc) (int retVal___, struct skill_unit_group *group, const char *file, int line, const char *func);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_del_unitgroup_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_del_unitgroup_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, group, file, &line, func);
+ retVal___ = postHookFunc(retVal___, group, file, line, func);
}
}
return retVal___;
@@ -66799,10 +66799,10 @@ int HP_skill_clear_group(struct block_list *bl, int flag) {
retVal___ = HPMHooks.source.skill.clear_group(bl, flag);
}
if( HPMHooks.count.HP_skill_clear_group_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_clear_group_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_clear_group_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &flag);
+ retVal___ = postHookFunc(retVal___, bl, flag);
}
}
return retVal___;
@@ -66826,10 +66826,10 @@ int HP_skill_unit_onplace(struct skill_unit *src, struct block_list *bl, int64 t
retVal___ = HPMHooks.source.skill.unit_onplace(src, bl, tick);
}
if( HPMHooks.count.HP_skill_unit_onplace_post ) {
- int (*postHookFunc) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onplace_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unit_onplace_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &tick);
+ retVal___ = postHookFunc(retVal___, src, bl, tick);
}
}
return retVal___;
@@ -66853,10 +66853,10 @@ int HP_skill_unit_ondamaged(struct skill_unit *src, struct block_list *bl, int64
retVal___ = HPMHooks.source.skill.unit_ondamaged(src, bl, damage, tick);
}
if( HPMHooks.count.HP_skill_unit_ondamaged_post ) {
- int (*postHookFunc) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 *damage, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 damage, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_ondamaged_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unit_ondamaged_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &damage, &tick);
+ retVal___ = postHookFunc(retVal___, src, bl, damage, tick);
}
}
return retVal___;
@@ -66880,10 +66880,10 @@ int HP_skill_cast_fix(struct block_list *bl, uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.cast_fix(bl, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_cast_fix_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cast_fix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_cast_fix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, bl, skill_id, skill_lv);
}
}
return retVal___;
@@ -66907,10 +66907,10 @@ int HP_skill_cast_fix_sc(struct block_list *bl, int time) {
retVal___ = HPMHooks.source.skill.cast_fix_sc(bl, time);
}
if( HPMHooks.count.HP_skill_cast_fix_sc_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *time);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int time);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cast_fix_sc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_cast_fix_sc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &time);
+ retVal___ = postHookFunc(retVal___, bl, time);
}
}
return retVal___;
@@ -66934,10 +66934,10 @@ int HP_skill_vf_cast_fix(struct block_list *bl, double time, uint16 skill_id, ui
retVal___ = HPMHooks.source.skill.vf_cast_fix(bl, time, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_vf_cast_fix_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, double *time, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, double time, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_vf_cast_fix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_vf_cast_fix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &time, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, bl, time, skill_id, skill_lv);
}
}
return retVal___;
@@ -66961,10 +66961,10 @@ int HP_skill_delay_fix(struct block_list *bl, uint16 skill_id, uint16 skill_lv)
retVal___ = HPMHooks.source.skill.delay_fix(bl, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_delay_fix_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_delay_fix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_delay_fix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, bl, skill_id, skill_lv);
}
}
return retVal___;
@@ -66988,10 +66988,10 @@ int HP_skill_check_condition_castbegin(struct map_session_data *sd, uint16 skill
retVal___ = HPMHooks.source.skill.check_condition_castbegin(sd, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_check_condition_castbegin_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castbegin_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_check_condition_castbegin_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, skill_lv);
}
}
return retVal___;
@@ -67015,10 +67015,10 @@ int HP_skill_check_condition_castend(struct map_session_data *sd, uint16 skill_i
retVal___ = HPMHooks.source.skill.check_condition_castend(sd, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_check_condition_castend_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castend_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_check_condition_castend_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, skill_lv);
}
}
return retVal___;
@@ -67042,10 +67042,10 @@ int HP_skill_consume_requirement(struct map_session_data *sd, uint16 skill_id, u
retVal___ = HPMHooks.source.skill.consume_requirement(sd, skill_id, skill_lv, type);
}
if( HPMHooks.count.HP_skill_consume_requirement_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, short *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv, short type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_consume_requirement_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_consume_requirement_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, &skill_lv, &type);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, skill_lv, type);
}
}
return retVal___;
@@ -67069,10 +67069,10 @@ struct skill_condition HP_skill_get_requirement(struct map_session_data *sd, uin
retVal___ = HPMHooks.source.skill.get_requirement(sd, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_requirement_post ) {
- struct skill_condition (*postHookFunc) (struct skill_condition retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ struct skill_condition (*postHookFunc) (struct skill_condition retVal___, struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_requirement_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_requirement_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, skill_lv);
}
}
return retVal___;
@@ -67096,10 +67096,10 @@ int HP_skill_check_pc_partner(struct map_session_data *sd, uint16 skill_id, uint
retVal___ = HPMHooks.source.skill.check_pc_partner(sd, skill_id, skill_lv, range, cast_flag);
}
if( HPMHooks.count.HP_skill_check_pc_partner_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, int *range, int *cast_flag);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id, uint16 *skill_lv, int range, int cast_flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_pc_partner_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_check_pc_partner_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, skill_lv, &range, &cast_flag);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, skill_lv, range, cast_flag);
}
}
return retVal___;
@@ -67123,10 +67123,10 @@ int HP_skill_unit_move(struct block_list *bl, int64 tick, int flag) {
retVal___ = HPMHooks.source.skill.unit_move(bl, tick, flag);
}
if( HPMHooks.count.HP_skill_unit_move_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int64 *tick, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_move_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unit_move_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, bl, tick, flag);
}
}
return retVal___;
@@ -67150,10 +67150,10 @@ int HP_skill_unit_onleft(uint16 skill_id, struct block_list *bl, int64 tick) {
retVal___ = HPMHooks.source.skill.unit_onleft(skill_id, bl, tick);
}
if( HPMHooks.count.HP_skill_unit_onleft_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, struct block_list *bl, int64 *tick);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, struct block_list *bl, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onleft_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unit_onleft_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, bl, &tick);
+ retVal___ = postHookFunc(retVal___, skill_id, bl, tick);
}
}
return retVal___;
@@ -67177,10 +67177,10 @@ int HP_skill_unit_onout(struct skill_unit *src, struct block_list *bl, int64 tic
retVal___ = HPMHooks.source.skill.unit_onout(src, bl, tick);
}
if( HPMHooks.count.HP_skill_unit_onout_post ) {
- int (*postHookFunc) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onout_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unit_onout_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &tick);
+ retVal___ = postHookFunc(retVal___, src, bl, tick);
}
}
return retVal___;
@@ -67204,10 +67204,10 @@ int HP_skill_unit_move_unit_group(struct skill_unit_group *group, int16 m, int16
retVal___ = HPMHooks.source.skill.unit_move_unit_group(group, m, dx, dy);
}
if( HPMHooks.count.HP_skill_unit_move_unit_group_post ) {
- int (*postHookFunc) (int retVal___, struct skill_unit_group *group, int16 *m, int16 *dx, int16 *dy);
+ int (*postHookFunc) (int retVal___, struct skill_unit_group *group, int16 m, int16 dx, int16 dy);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_move_unit_group_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unit_move_unit_group_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, group, &m, &dx, &dy);
+ retVal___ = postHookFunc(retVal___, group, m, dx, dy);
}
}
return retVal___;
@@ -67231,10 +67231,10 @@ int HP_skill_sit(struct map_session_data *sd, int type) {
retVal___ = HPMHooks.source.skill.sit(sd, type);
}
if( HPMHooks.count.HP_skill_sit_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *type);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_sit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_sit_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &type);
+ retVal___ = postHookFunc(retVal___, sd, type);
}
}
return retVal___;
@@ -67257,10 +67257,10 @@ void HP_skill_brandishspear(struct block_list *src, struct block_list *bl, uint1
HPMHooks.source.skill.brandishspear(src, bl, skill_id, skill_lv, tick, flag);
}
if( HPMHooks.count.HP_skill_brandishspear_post ) {
- void (*postHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ void (*postHookFunc) (struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_brandishspear_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_brandishspear_post[hIndex].func;
- postHookFunc(src, bl, &skill_id, &skill_lv, &tick, &flag);
+ postHookFunc(src, bl, skill_id, skill_lv, tick, flag);
}
}
return;
@@ -67283,10 +67283,10 @@ void HP_skill_repairweapon(struct map_session_data *sd, int idx) {
HPMHooks.source.skill.repairweapon(sd, idx);
}
if( HPMHooks.count.HP_skill_repairweapon_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *idx);
+ void (*postHookFunc) (struct map_session_data *sd, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_repairweapon_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_repairweapon_post[hIndex].func;
- postHookFunc(sd, &idx);
+ postHookFunc(sd, idx);
}
}
return;
@@ -67309,10 +67309,10 @@ void HP_skill_identify(struct map_session_data *sd, int idx) {
HPMHooks.source.skill.identify(sd, idx);
}
if( HPMHooks.count.HP_skill_identify_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *idx);
+ void (*postHookFunc) (struct map_session_data *sd, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_identify_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_identify_post[hIndex].func;
- postHookFunc(sd, &idx);
+ postHookFunc(sd, idx);
}
}
return;
@@ -67335,10 +67335,10 @@ void HP_skill_weaponrefine(struct map_session_data *sd, int idx) {
HPMHooks.source.skill.weaponrefine(sd, idx);
}
if( HPMHooks.count.HP_skill_weaponrefine_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *idx);
+ void (*postHookFunc) (struct map_session_data *sd, int idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_weaponrefine_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_weaponrefine_post[hIndex].func;
- postHookFunc(sd, &idx);
+ postHookFunc(sd, idx);
}
}
return;
@@ -67362,10 +67362,10 @@ int HP_skill_autospell(struct map_session_data *md, uint16 skill_id) {
retVal___ = HPMHooks.source.skill.autospell(md, skill_id);
}
if( HPMHooks.count.HP_skill_autospell_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *md, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *md, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_autospell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_autospell_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &skill_id);
+ retVal___ = postHookFunc(retVal___, md, skill_id);
}
}
return retVal___;
@@ -67389,10 +67389,10 @@ int HP_skill_calc_heal(struct block_list *src, struct block_list *target, uint16
retVal___ = HPMHooks.source.skill.calc_heal(src, target, skill_id, skill_lv, heal);
}
if( HPMHooks.count.HP_skill_calc_heal_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, bool *heal);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, bool heal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_calc_heal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_calc_heal_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &skill_lv, &heal);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, skill_lv, heal);
}
}
return retVal___;
@@ -67503,10 +67503,10 @@ int HP_skill_enchant_elemental_end(struct block_list *bl, int type) {
retVal___ = HPMHooks.source.skill.enchant_elemental_end(bl, type);
}
if( HPMHooks.count.HP_skill_enchant_elemental_end_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_enchant_elemental_end_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_enchant_elemental_end_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &type);
+ retVal___ = postHookFunc(retVal___, bl, type);
}
}
return retVal___;
@@ -67530,10 +67530,10 @@ int HP_skill_not_ok(uint16 skill_id, struct map_session_data *sd) {
retVal___ = HPMHooks.source.skill.not_ok(skill_id, sd);
}
if( HPMHooks.count.HP_skill_not_ok_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, struct map_session_data *sd);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, struct map_session_data *sd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_not_ok_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_not_ok_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, sd);
+ retVal___ = postHookFunc(retVal___, skill_id, sd);
}
}
return retVal___;
@@ -67557,10 +67557,10 @@ int HP_skill_not_ok_hom(uint16 skill_id, struct homun_data *hd) {
retVal___ = HPMHooks.source.skill.not_ok_hom(skill_id, hd);
}
if( HPMHooks.count.HP_skill_not_ok_hom_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, struct homun_data *hd);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, struct homun_data *hd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_not_ok_hom_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_not_ok_hom_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, hd);
+ retVal___ = postHookFunc(retVal___, skill_id, hd);
}
}
return retVal___;
@@ -67584,10 +67584,10 @@ int HP_skill_not_ok_mercenary(uint16 skill_id, struct mercenary_data *md) {
retVal___ = HPMHooks.source.skill.not_ok_mercenary(skill_id, md);
}
if( HPMHooks.count.HP_skill_not_ok_mercenary_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, struct mercenary_data *md);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, struct mercenary_data *md);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_not_ok_mercenary_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_not_ok_mercenary_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, md);
+ retVal___ = postHookFunc(retVal___, skill_id, md);
}
}
return retVal___;
@@ -67644,10 +67644,10 @@ int HP_skill_can_produce_mix(struct map_session_data *sd, int nameid, int trigge
retVal___ = HPMHooks.source.skill.can_produce_mix(sd, nameid, trigger, qty);
}
if( HPMHooks.count.HP_skill_can_produce_mix_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *nameid, int *trigger, int *qty);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int nameid, int trigger, int qty);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_can_produce_mix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_can_produce_mix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid, &trigger, &qty);
+ retVal___ = postHookFunc(retVal___, sd, nameid, trigger, qty);
}
}
return retVal___;
@@ -67671,10 +67671,10 @@ int HP_skill_produce_mix(struct map_session_data *sd, uint16 skill_id, int namei
retVal___ = HPMHooks.source.skill.produce_mix(sd, skill_id, nameid, slot1, slot2, slot3, qty);
}
if( HPMHooks.count.HP_skill_produce_mix_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id, int *nameid, int *slot1, int *slot2, int *slot3, int *qty);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id, int nameid, int slot1, int slot2, int slot3, int qty);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_produce_mix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_produce_mix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, &nameid, &slot1, &slot2, &slot3, &qty);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, nameid, slot1, slot2, slot3, qty);
}
}
return retVal___;
@@ -67698,10 +67698,10 @@ int HP_skill_arrow_create(struct map_session_data *sd, int nameid) {
retVal___ = HPMHooks.source.skill.arrow_create(sd, nameid);
}
if( HPMHooks.count.HP_skill_arrow_create_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *nameid);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_arrow_create_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_arrow_create_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid);
+ retVal___ = postHookFunc(retVal___, sd, nameid);
}
}
return retVal___;
@@ -67725,10 +67725,10 @@ int HP_skill_castend_nodamage_id(struct block_list *src, struct block_list *bl,
retVal___ = HPMHooks.source.skill.castend_nodamage_id(src, bl, skill_id, skill_lv, tick, flag);
}
if( HPMHooks.count.HP_skill_castend_nodamage_id_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_nodamage_id_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_castend_nodamage_id_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, src, bl, skill_id, skill_lv, tick, flag);
}
}
return retVal___;
@@ -67752,10 +67752,10 @@ int HP_skill_castend_damage_id(struct block_list *src, struct block_list *bl, ui
retVal___ = HPMHooks.source.skill.castend_damage_id(src, bl, skill_id, skill_lv, tick, flag);
}
if( HPMHooks.count.HP_skill_castend_damage_id_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_damage_id_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_castend_damage_id_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, src, bl, skill_id, skill_lv, tick, flag);
}
}
return retVal___;
@@ -67779,10 +67779,10 @@ int HP_skill_castend_pos2(struct block_list *src, int x, int y, uint16 skill_id,
retVal___ = HPMHooks.source.skill.castend_pos2(src, x, y, skill_id, skill_lv, tick, flag);
}
if( HPMHooks.count.HP_skill_castend_pos2_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, int x, int y, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_pos2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_castend_pos2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &x, &y, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, src, x, y, skill_id, skill_lv, tick, flag);
}
}
return retVal___;
@@ -67806,10 +67806,10 @@ int HP_skill_blockpc_start(struct map_session_data *sd, uint16 skill_id, int tic
retVal___ = HPMHooks.source.skill.blockpc_start(sd, skill_id, tick);
}
if( HPMHooks.count.HP_skill_blockpc_start_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id, int *tick);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id, int tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_blockpc_start_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_blockpc_start_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id, &tick);
+ retVal___ = postHookFunc(retVal___, sd, skill_id, tick);
}
}
return retVal___;
@@ -67833,10 +67833,10 @@ int HP_skill_blockhomun_start(struct homun_data *hd, uint16 skill_id, int tick)
retVal___ = HPMHooks.source.skill.blockhomun_start(hd, skill_id, tick);
}
if( HPMHooks.count.HP_skill_blockhomun_start_post ) {
- int (*postHookFunc) (int retVal___, struct homun_data *hd, uint16 *skill_id, int *tick);
+ int (*postHookFunc) (int retVal___, struct homun_data *hd, uint16 skill_id, int tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_blockhomun_start_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_blockhomun_start_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &skill_id, &tick);
+ retVal___ = postHookFunc(retVal___, hd, skill_id, tick);
}
}
return retVal___;
@@ -67860,10 +67860,10 @@ int HP_skill_blockmerc_start(struct mercenary_data *md, uint16 skill_id, int tic
retVal___ = HPMHooks.source.skill.blockmerc_start(md, skill_id, tick);
}
if( HPMHooks.count.HP_skill_blockmerc_start_post ) {
- int (*postHookFunc) (int retVal___, struct mercenary_data *md, uint16 *skill_id, int *tick);
+ int (*postHookFunc) (int retVal___, struct mercenary_data *md, uint16 skill_id, int tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_blockmerc_start_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_blockmerc_start_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &skill_id, &tick);
+ retVal___ = postHookFunc(retVal___, md, skill_id, tick);
}
}
return retVal___;
@@ -67887,10 +67887,10 @@ int HP_skill_attack(int attack_type, struct block_list *src, struct block_list *
retVal___ = HPMHooks.source.skill.attack(attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag);
}
if( HPMHooks.count.HP_skill_attack_post ) {
- int (*postHookFunc) (int retVal___, int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*postHookFunc) (int retVal___, int attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_attack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &attack_type, src, dsrc, bl, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag);
}
}
return retVal___;
@@ -67980,10 +67980,10 @@ int HP_skill_area_sub_count(struct block_list *src, struct block_list *target, u
retVal___ = HPMHooks.source.skill.area_sub_count(src, target, skill_id, skill_lv, tick, flag);
}
if( HPMHooks.count.HP_skill_area_sub_count_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int64 tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_area_sub_count_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_area_sub_count_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, skill_lv, tick, flag);
}
}
return retVal___;
@@ -68007,10 +68007,10 @@ int HP_skill_check_unit_range(struct block_list *bl, int x, int y, uint16 skill_
retVal___ = HPMHooks.source.skill.check_unit_range(bl, x, y, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_check_unit_range_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int x, int y, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_unit_range_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_check_unit_range_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &x, &y, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, bl, x, y, skill_id, skill_lv);
}
}
return retVal___;
@@ -68067,10 +68067,10 @@ int HP_skill_check_unit_range2(struct block_list *bl, int x, int y, uint16 skill
retVal___ = HPMHooks.source.skill.check_unit_range2(bl, x, y, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_check_unit_range2_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int x, int y, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_unit_range2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_check_unit_range2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &x, &y, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, bl, x, y, skill_id, skill_lv);
}
}
return retVal___;
@@ -68126,10 +68126,10 @@ void HP_skill_toggle_magicpower(struct block_list *bl, uint16 skill_id) {
HPMHooks.source.skill.toggle_magicpower(bl, skill_id);
}
if( HPMHooks.count.HP_skill_toggle_magicpower_post ) {
- void (*postHookFunc) (struct block_list *bl, uint16 *skill_id);
+ void (*postHookFunc) (struct block_list *bl, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_toggle_magicpower_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_toggle_magicpower_post[hIndex].func;
- postHookFunc(bl, &skill_id);
+ postHookFunc(bl, skill_id);
}
}
return;
@@ -68153,10 +68153,10 @@ int HP_skill_magic_reflect(struct block_list *src, struct block_list *bl, int ty
retVal___ = HPMHooks.source.skill.magic_reflect(src, bl, type);
}
if( HPMHooks.count.HP_skill_magic_reflect_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_magic_reflect_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_magic_reflect_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &type);
+ retVal___ = postHookFunc(retVal___, src, bl, type);
}
}
return retVal___;
@@ -68180,10 +68180,10 @@ int HP_skill_onskillusage(struct map_session_data *sd, struct block_list *bl, ui
retVal___ = HPMHooks.source.skill.onskillusage(sd, bl, skill_id, tick);
}
if( HPMHooks.count.HP_skill_onskillusage_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 *skill_id, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 skill_id, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_onskillusage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_onskillusage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, bl, &skill_id, &tick);
+ retVal___ = postHookFunc(retVal___, sd, bl, skill_id, tick);
}
}
return retVal___;
@@ -68240,10 +68240,10 @@ int HP_skill_timerskill(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.skill.timerskill(tid, tick, id, data);
}
if( HPMHooks.count.HP_skill_timerskill_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_skill_timerskill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_timerskill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -68300,10 +68300,10 @@ int HP_skill_check_condition_mercenary(struct block_list *bl, int skill_id, int
retVal___ = HPMHooks.source.skill.check_condition_mercenary(bl, skill_id, lv, type);
}
if( HPMHooks.count.HP_skill_check_condition_mercenary_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *skill_id, int *lv, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int skill_id, int lv, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_mercenary_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_check_condition_mercenary_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &skill_id, &lv, &type);
+ retVal___ = postHookFunc(retVal___, bl, skill_id, lv, type);
}
}
return retVal___;
@@ -68453,10 +68453,10 @@ int HP_skill_dance_overlap(struct skill_unit *su, int flag) {
retVal___ = HPMHooks.source.skill.dance_overlap(su, flag);
}
if( HPMHooks.count.HP_skill_dance_overlap_post ) {
- int (*postHookFunc) (int retVal___, struct skill_unit *su, int *flag);
+ int (*postHookFunc) (int retVal___, struct skill_unit *su, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_dance_overlap_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_dance_overlap_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, su, &flag);
+ retVal___ = postHookFunc(retVal___, su, flag);
}
}
return retVal___;
@@ -68480,10 +68480,10 @@ struct s_skill_unit_layout* HP_skill_get_unit_layout(uint16 skill_id, uint16 ski
retVal___ = HPMHooks.source.skill.get_unit_layout(skill_id, skill_lv, src, x, y);
}
if( HPMHooks.count.HP_skill_get_unit_layout_post ) {
- struct s_skill_unit_layout* (*postHookFunc) (struct s_skill_unit_layout* retVal___, uint16 *skill_id, uint16 *skill_lv, struct block_list *src, int *x, int *y);
+ struct s_skill_unit_layout* (*postHookFunc) (struct s_skill_unit_layout* retVal___, uint16 skill_id, uint16 skill_lv, struct block_list *src, int x, int y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_layout_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_unit_layout_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv, src, &x, &y);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv, src, x, y);
}
}
return retVal___;
@@ -68606,10 +68606,10 @@ struct skill_unit_group_tickset* HP_skill_unitgrouptickset_search(struct block_l
retVal___ = HPMHooks.source.skill.unitgrouptickset_search(bl, group, tick);
}
if( HPMHooks.count.HP_skill_unitgrouptickset_search_post ) {
- struct skill_unit_group_tickset* (*postHookFunc) (struct skill_unit_group_tickset* retVal___, struct block_list *bl, struct skill_unit_group *group, int64 *tick);
+ struct skill_unit_group_tickset* (*postHookFunc) (struct skill_unit_group_tickset* retVal___, struct block_list *bl, struct skill_unit_group *group, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unitgrouptickset_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unitgrouptickset_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, group, &tick);
+ retVal___ = postHookFunc(retVal___, bl, group, tick);
}
}
return retVal___;
@@ -68633,10 +68633,10 @@ bool HP_skill_dance_switch(struct skill_unit *su, int flag) {
retVal___ = HPMHooks.source.skill.dance_switch(su, flag);
}
if( HPMHooks.count.HP_skill_dance_switch_post ) {
- bool (*postHookFunc) (bool retVal___, struct skill_unit *su, int *flag);
+ bool (*postHookFunc) (bool retVal___, struct skill_unit *su, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_dance_switch_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_dance_switch_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, su, &flag);
+ retVal___ = postHookFunc(retVal___, su, flag);
}
}
return retVal___;
@@ -68725,10 +68725,10 @@ void HP_skill_brandishspear_first(struct square *tc, uint8 dir, int16 x, int16 y
HPMHooks.source.skill.brandishspear_first(tc, dir, x, y);
}
if( HPMHooks.count.HP_skill_brandishspear_first_post ) {
- void (*postHookFunc) (struct square *tc, uint8 *dir, int16 *x, int16 *y);
+ void (*postHookFunc) (struct square *tc, uint8 dir, int16 x, int16 y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_brandishspear_first_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_brandishspear_first_post[hIndex].func;
- postHookFunc(tc, &dir, &x, &y);
+ postHookFunc(tc, dir, x, y);
}
}
return;
@@ -68751,10 +68751,10 @@ void HP_skill_brandishspear_dir(struct square *tc, uint8 dir, int are) {
HPMHooks.source.skill.brandishspear_dir(tc, dir, are);
}
if( HPMHooks.count.HP_skill_brandishspear_dir_post ) {
- void (*postHookFunc) (struct square *tc, uint8 *dir, int *are);
+ void (*postHookFunc) (struct square *tc, uint8 dir, int are);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_brandishspear_dir_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_brandishspear_dir_post[hIndex].func;
- postHookFunc(tc, &dir, &are);
+ postHookFunc(tc, dir, are);
}
}
return;
@@ -68778,10 +68778,10 @@ int HP_skill_get_fixed_cast(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_fixed_cast(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_fixed_cast_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_fixed_cast_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_fixed_cast_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -68903,10 +68903,10 @@ void HP_skill_unitsetmapcell(struct skill_unit *src, uint16 skill_id, uint16 ski
HPMHooks.source.skill.unitsetmapcell(src, skill_id, skill_lv, cell, flag);
}
if( HPMHooks.count.HP_skill_unitsetmapcell_post ) {
- void (*postHookFunc) (struct skill_unit *src, uint16 *skill_id, uint16 *skill_lv, cell_t *cell, bool *flag);
+ void (*postHookFunc) (struct skill_unit *src, uint16 skill_id, uint16 skill_lv, cell_t cell, bool flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unitsetmapcell_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unitsetmapcell_post[hIndex].func;
- postHookFunc(src, &skill_id, &skill_lv, &cell, &flag);
+ postHookFunc(src, skill_id, skill_lv, cell, flag);
}
}
return;
@@ -68930,10 +68930,10 @@ int HP_skill_unit_onplace_timer(struct skill_unit *src, struct block_list *bl, i
retVal___ = HPMHooks.source.skill.unit_onplace_timer(src, bl, tick);
}
if( HPMHooks.count.HP_skill_unit_onplace_timer_post ) {
- int (*postHookFunc) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct skill_unit *src, struct block_list *bl, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onplace_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unit_onplace_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &tick);
+ retVal___ = postHookFunc(retVal___, src, bl, tick);
}
}
return retVal___;
@@ -69056,10 +69056,10 @@ int HP_skill_blockpc_end(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.skill.blockpc_end(tid, tick, id, data);
}
if( HPMHooks.count.HP_skill_blockpc_end_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_skill_blockpc_end_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_blockpc_end_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -69083,10 +69083,10 @@ int HP_skill_blockhomun_end(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.skill.blockhomun_end(tid, tick, id, data);
}
if( HPMHooks.count.HP_skill_blockhomun_end_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_skill_blockhomun_end_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_blockhomun_end_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -69110,10 +69110,10 @@ int HP_skill_blockmerc_end(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.skill.blockmerc_end(tid, tick, id, data);
}
if( HPMHooks.count.HP_skill_blockmerc_end_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_skill_blockmerc_end_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_blockmerc_end_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -69164,10 +69164,10 @@ int HP_skill_unit_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.skill.unit_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_skill_unit_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_skill_unit_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_unit_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -69195,11 +69195,11 @@ int HP_skill_unit_timer_sub(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_skill_unit_timer_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_skill_unit_timer_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_skill_unit_timer_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -69250,10 +69250,10 @@ bool HP_skill_parse_row_skilldb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_skilldb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_skilldb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_skilldb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_skilldb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69277,10 +69277,10 @@ bool HP_skill_parse_row_requiredb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_requiredb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_requiredb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_requiredb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_requiredb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69304,10 +69304,10 @@ bool HP_skill_parse_row_castdb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_castdb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_castdb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_castdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_castdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69331,10 +69331,10 @@ bool HP_skill_parse_row_castnodexdb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_castnodexdb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_castnodexdb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_castnodexdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_castnodexdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69358,10 +69358,10 @@ bool HP_skill_parse_row_unitdb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_unitdb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_unitdb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_unitdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_unitdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69385,10 +69385,10 @@ bool HP_skill_parse_row_producedb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_producedb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_producedb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_producedb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_producedb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69412,10 +69412,10 @@ bool HP_skill_parse_row_createarrowdb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_createarrowdb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_createarrowdb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_createarrowdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_createarrowdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69439,10 +69439,10 @@ bool HP_skill_parse_row_abradb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_abradb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_abradb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_abradb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_abradb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69466,10 +69466,10 @@ bool HP_skill_parse_row_spellbookdb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_spellbookdb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_spellbookdb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_spellbookdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_spellbookdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69493,10 +69493,10 @@ bool HP_skill_parse_row_magicmushroomdb(char *split[], int column, int current)
retVal___ = HPMHooks.source.skill.parse_row_magicmushroomdb(split, column, current);
}
if( HPMHooks.count.HP_skill_parse_row_magicmushroomdb_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_skill_parse_row_magicmushroomdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_magicmushroomdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &column, &current);
+ retVal___ = postHookFunc(retVal___, split, column, current);
}
}
return retVal___;
@@ -69520,10 +69520,10 @@ bool HP_skill_parse_row_reproducedb(char *split[], int column, int current) {
retVal___ = HPMHooks.source.skill.parse_row_reproducedb(split, column, current);
}
if( HPMHooks.count.HP_skill_parse_row_reproducedb_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_skill_parse_row_reproducedb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_reproducedb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &column, &current);
+ retVal___ = postHookFunc(retVal___, split, column, current);
}
}
return retVal___;
@@ -69547,10 +69547,10 @@ bool HP_skill_parse_row_improvisedb(char *split[], int columns, int current) {
retVal___ = HPMHooks.source.skill.parse_row_improvisedb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_improvisedb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_improvisedb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_improvisedb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69574,10 +69574,10 @@ bool HP_skill_parse_row_changematerialdb(char *split[], int columns, int current
retVal___ = HPMHooks.source.skill.parse_row_changematerialdb(split, columns, current);
}
if( HPMHooks.count.HP_skill_parse_row_changematerialdb_post ) {
- bool (*postHookFunc) (bool retVal___, char *split[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *split[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_changematerialdb_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_parse_row_changematerialdb_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, split, &columns, &current);
+ retVal___ = postHookFunc(retVal___, split, columns, current);
}
}
return retVal___;
@@ -69600,10 +69600,10 @@ void HP_skill_usave_add(struct map_session_data *sd, uint16 skill_id, uint16 ski
HPMHooks.source.skill.usave_add(sd, skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_usave_add_post ) {
- void (*postHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ void (*postHookFunc) (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_usave_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_usave_add_post[hIndex].func;
- postHookFunc(sd, &skill_id, &skill_lv);
+ postHookFunc(sd, skill_id, skill_lv);
}
}
return;
@@ -69679,10 +69679,10 @@ int HP_skill_spellbook(struct map_session_data *sd, int nameid) {
retVal___ = HPMHooks.source.skill.spellbook(sd, nameid);
}
if( HPMHooks.count.HP_skill_spellbook_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *nameid);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_spellbook_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_spellbook_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid);
+ retVal___ = postHookFunc(retVal___, sd, nameid);
}
}
return retVal___;
@@ -69706,10 +69706,10 @@ int HP_skill_block_check(struct block_list *bl, enum sc_type type, uint16 skill_
retVal___ = HPMHooks.source.skill.block_check(bl, type, skill_id);
}
if( HPMHooks.count.HP_skill_block_check_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, enum sc_type *type, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, enum sc_type type, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_block_check_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_block_check_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &type, &skill_id);
+ retVal___ = postHookFunc(retVal___, bl, type, skill_id);
}
}
return retVal___;
@@ -69793,10 +69793,10 @@ int HP_skill_magicdecoy(struct map_session_data *sd, int nameid) {
retVal___ = HPMHooks.source.skill.magicdecoy(sd, nameid);
}
if( HPMHooks.count.HP_skill_magicdecoy_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *nameid);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_magicdecoy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_magicdecoy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid);
+ retVal___ = postHookFunc(retVal___, sd, nameid);
}
}
return retVal___;
@@ -69820,10 +69820,10 @@ int HP_skill_poisoningweapon(struct map_session_data *sd, int nameid) {
retVal___ = HPMHooks.source.skill.poisoningweapon(sd, nameid);
}
if( HPMHooks.count.HP_skill_poisoningweapon_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *nameid);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_poisoningweapon_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_poisoningweapon_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid);
+ retVal___ = postHookFunc(retVal___, sd, nameid);
}
}
return retVal___;
@@ -69847,10 +69847,10 @@ int HP_skill_select_menu(struct map_session_data *sd, uint16 skill_id) {
retVal___ = HPMHooks.source.skill.select_menu(sd, skill_id);
}
if( HPMHooks.count.HP_skill_select_menu_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_id);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_select_menu_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_select_menu_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_id);
+ retVal___ = postHookFunc(retVal___, sd, skill_id);
}
}
return retVal___;
@@ -69874,10 +69874,10 @@ int HP_skill_elementalanalysis(struct map_session_data *sd, uint16 skill_lv, con
retVal___ = HPMHooks.source.skill.elementalanalysis(sd, skill_lv, item_list);
}
if( HPMHooks.count.HP_skill_elementalanalysis_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 *skill_lv, const struct itemlist *item_list);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, uint16 skill_lv, const struct itemlist *item_list);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_elementalanalysis_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_elementalanalysis_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &skill_lv, item_list);
+ retVal___ = postHookFunc(retVal___, sd, skill_lv, item_list);
}
}
return retVal___;
@@ -69928,10 +69928,10 @@ int HP_skill_get_elemental_type(uint16 skill_id, uint16 skill_lv) {
retVal___ = HPMHooks.source.skill.get_elemental_type(skill_id, skill_lv);
}
if( HPMHooks.count.HP_skill_get_elemental_type_post ) {
- int (*postHookFunc) (int retVal___, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_elemental_type_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_get_elemental_type_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, skill_id, skill_lv);
}
}
return retVal___;
@@ -70008,10 +70008,10 @@ bool HP_skill_check_shadowform(struct block_list *bl, int64 damage, int hit) {
retVal___ = HPMHooks.source.skill.check_shadowform(bl, damage, hit);
}
if( HPMHooks.count.HP_skill_check_shadowform_post ) {
- bool (*postHookFunc) (bool retVal___, struct block_list *bl, int64 *damage, int *hit);
+ bool (*postHookFunc) (bool retVal___, struct block_list *bl, int64 damage, int hit);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_shadowform_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_check_shadowform_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &damage, &hit);
+ retVal___ = postHookFunc(retVal___, bl, damage, hit);
}
}
return retVal___;
@@ -70324,10 +70324,10 @@ void HP_skill_timerskill_target_unknown(int tid, int64 tick, struct block_list *
HPMHooks.source.skill.timerskill_target_unknown(tid, tick, src, target, ud, skl);
}
if( HPMHooks.count.HP_skill_timerskill_target_unknown_post ) {
- void (*postHookFunc) (int *tid, int64 *tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
+ void (*postHookFunc) (int tid, int64 tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_timerskill_target_unknown_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_timerskill_target_unknown_post[hIndex].func;
- postHookFunc(&tid, &tick, src, target, ud, skl);
+ postHookFunc(tid, tick, src, target, ud, skl);
}
}
return;
@@ -70350,10 +70350,10 @@ void HP_skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list
HPMHooks.source.skill.timerskill_notarget_unknown(tid, tick, src, ud, skl);
}
if( HPMHooks.count.HP_skill_timerskill_notarget_unknown_post ) {
- void (*postHookFunc) (int *tid, int64 *tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
+ void (*postHookFunc) (int tid, int64 tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_timerskill_notarget_unknown_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_timerskill_notarget_unknown_post[hIndex].func;
- postHookFunc(&tid, &tick, src, ud, skl);
+ postHookFunc(tid, tick, src, ud, skl);
}
}
return;
@@ -70377,10 +70377,10 @@ bool HP_skill_cleartimerskill_exception(int skill_id) {
retVal___ = HPMHooks.source.skill.cleartimerskill_exception(skill_id);
}
if( HPMHooks.count.HP_skill_cleartimerskill_exception_post ) {
- bool (*postHookFunc) (bool retVal___, int *skill_id);
+ bool (*postHookFunc) (bool retVal___, int skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cleartimerskill_exception_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_cleartimerskill_exception_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -70937,10 +70937,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___;
@@ -70963,10 +70963,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;
@@ -70990,10 +70990,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___;
@@ -71017,10 +71017,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___;
@@ -71044,10 +71044,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___;
@@ -71071,10 +71071,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___;
@@ -71098,10 +71098,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___;
@@ -71125,10 +71125,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___;
@@ -71151,10 +71151,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;
@@ -71178,10 +71178,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___;
@@ -71205,10 +71205,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___;
@@ -71231,10 +71231,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;
@@ -71283,10 +71283,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;
@@ -71309,10 +71309,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;
@@ -71363,10 +71363,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___;
@@ -71417,10 +71417,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___;
@@ -71444,10 +71444,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___;
@@ -71470,10 +71470,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;
@@ -71497,10 +71497,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___;
@@ -71524,10 +71524,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___;
@@ -71551,10 +71551,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___;
@@ -71632,10 +71632,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___;
@@ -71686,10 +71686,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___;
@@ -71794,10 +71794,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___;
@@ -71989,10 +71989,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___;
@@ -72041,10 +72041,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;
@@ -72235,10 +72235,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___;
@@ -72343,10 +72343,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___;
@@ -72475,10 +72475,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;
@@ -72503,10 +72503,10 @@ int HP_status_init(bool minimal) {
retVal___ = HPMHooks.source.status.init(minimal);
}
if( HPMHooks.count.HP_status_init_post ) {
- int (*postHookFunc) (int retVal___, bool *minimal);
+ int (*postHookFunc) (int retVal___, bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &minimal);
+ retVal___ = postHookFunc(retVal___, minimal);
}
}
return retVal___;
@@ -72556,10 +72556,10 @@ int HP_status_get_refine_chance(enum refine_type wlv, int refine) {
retVal___ = HPMHooks.source.status.get_refine_chance(wlv, refine);
}
if( HPMHooks.count.HP_status_get_refine_chance_post ) {
- int (*postHookFunc) (int retVal___, enum refine_type *wlv, int *refine);
+ int (*postHookFunc) (int retVal___, enum refine_type wlv, int refine);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_refine_chance_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_get_refine_chance_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &wlv, &refine);
+ retVal___ = postHookFunc(retVal___, wlv, refine);
}
}
return retVal___;
@@ -72583,10 +72583,10 @@ sc_type HP_status_skill2sc(int skill_id) {
retVal___ = HPMHooks.source.status.skill2sc(skill_id);
}
if( HPMHooks.count.HP_status_skill2sc_post ) {
- sc_type (*postHookFunc) (sc_type retVal___, int *skill_id);
+ sc_type (*postHookFunc) (sc_type retVal___, int skill_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_skill2sc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_skill2sc_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &skill_id);
+ retVal___ = postHookFunc(retVal___, skill_id);
}
}
return retVal___;
@@ -72610,10 +72610,10 @@ int HP_status_sc2skill(sc_type sc) {
retVal___ = HPMHooks.source.status.sc2skill(sc);
}
if( HPMHooks.count.HP_status_sc2skill_post ) {
- int (*postHookFunc) (int retVal___, sc_type *sc);
+ int (*postHookFunc) (int retVal___, sc_type sc);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_sc2skill_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_sc2skill_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &sc);
+ retVal___ = postHookFunc(retVal___, sc);
}
}
return retVal___;
@@ -72637,10 +72637,10 @@ unsigned int HP_status_sc2scb_flag(sc_type sc) {
retVal___ = HPMHooks.source.status.sc2scb_flag(sc);
}
if( HPMHooks.count.HP_status_sc2scb_flag_post ) {
- unsigned int (*postHookFunc) (unsigned int retVal___, sc_type *sc);
+ unsigned int (*postHookFunc) (unsigned int retVal___, sc_type sc);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_sc2scb_flag_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_sc2scb_flag_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &sc);
+ retVal___ = postHookFunc(retVal___, sc);
}
}
return retVal___;
@@ -72664,10 +72664,10 @@ int HP_status_type2relevant_bl_types(int type) {
retVal___ = HPMHooks.source.status.type2relevant_bl_types(type);
}
if( HPMHooks.count.HP_status_type2relevant_bl_types_post ) {
- int (*postHookFunc) (int retVal___, int *type);
+ int (*postHookFunc) (int retVal___, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_type2relevant_bl_types_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_type2relevant_bl_types_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &type);
+ retVal___ = postHookFunc(retVal___, type);
}
}
return retVal___;
@@ -72691,10 +72691,10 @@ int HP_status_get_sc_type(sc_type idx) {
retVal___ = HPMHooks.source.status.get_sc_type(idx);
}
if( HPMHooks.count.HP_status_get_sc_type_post ) {
- int (*postHookFunc) (int retVal___, sc_type *idx);
+ int (*postHookFunc) (int retVal___, sc_type idx);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_sc_type_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_get_sc_type_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &idx);
+ retVal___ = postHookFunc(retVal___, idx);
}
}
return retVal___;
@@ -72718,10 +72718,10 @@ int HP_status_damage(struct block_list *src, struct block_list *target, int64 hp
retVal___ = HPMHooks.source.status.damage(src, target, hp, sp, walkdelay, flag);
}
if( HPMHooks.count.HP_status_damage_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, int64 *hp, int64 *sp, int *walkdelay, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, int64 hp, int64 sp, int walkdelay, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_damage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_damage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &hp, &sp, &walkdelay, &flag);
+ retVal___ = postHookFunc(retVal___, src, target, hp, sp, walkdelay, flag);
}
}
return retVal___;
@@ -72745,10 +72745,10 @@ int HP_status_charge(struct block_list *bl, int64 hp, int64 sp) {
retVal___ = HPMHooks.source.status.charge(bl, hp, sp);
}
if( HPMHooks.count.HP_status_charge_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int64 *hp, int64 *sp);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int64 hp, int64 sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_charge_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_charge_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &hp, &sp);
+ retVal___ = postHookFunc(retVal___, bl, hp, sp);
}
}
return retVal___;
@@ -72772,10 +72772,10 @@ int HP_status_percent_change(struct block_list *src, struct block_list *target,
retVal___ = HPMHooks.source.status.percent_change(src, target, hp_rate, sp_rate, flag);
}
if( HPMHooks.count.HP_status_percent_change_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, signed char *hp_rate, signed char *sp_rate, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, signed char hp_rate, signed char sp_rate, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_percent_change_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_percent_change_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &hp_rate, &sp_rate, &flag);
+ retVal___ = postHookFunc(retVal___, src, target, hp_rate, sp_rate, flag);
}
}
return retVal___;
@@ -72799,10 +72799,10 @@ int HP_status_set_hp(struct block_list *bl, unsigned int hp, int flag) {
retVal___ = HPMHooks.source.status.set_hp(bl, hp, flag);
}
if( HPMHooks.count.HP_status_set_hp_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned int *hp, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned int hp, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_set_hp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_set_hp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &hp, &flag);
+ retVal___ = postHookFunc(retVal___, bl, hp, flag);
}
}
return retVal___;
@@ -72826,10 +72826,10 @@ int HP_status_set_sp(struct block_list *bl, unsigned int sp, int flag) {
retVal___ = HPMHooks.source.status.set_sp(bl, sp, flag);
}
if( HPMHooks.count.HP_status_set_sp_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned int *sp, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned int sp, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_set_sp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_set_sp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &sp, &flag);
+ retVal___ = postHookFunc(retVal___, bl, sp, flag);
}
}
return retVal___;
@@ -72853,10 +72853,10 @@ int HP_status_heal(struct block_list *bl, int64 hp, int64 sp, int flag) {
retVal___ = HPMHooks.source.status.heal(bl, hp, sp, flag);
}
if( HPMHooks.count.HP_status_heal_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int64 *hp, int64 *sp, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int64 hp, int64 sp, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_heal_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_heal_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &hp, &sp, &flag);
+ retVal___ = postHookFunc(retVal___, bl, hp, sp, flag);
}
}
return retVal___;
@@ -72880,10 +72880,10 @@ int HP_status_revive(struct block_list *bl, unsigned char per_hp, unsigned char
retVal___ = HPMHooks.source.status.revive(bl, per_hp, per_sp);
}
if( HPMHooks.count.HP_status_revive_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned char *per_hp, unsigned char *per_sp);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned char per_hp, unsigned char per_sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_revive_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_revive_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &per_hp, &per_sp);
+ retVal___ = postHookFunc(retVal___, bl, per_hp, per_sp);
}
}
return retVal___;
@@ -72907,10 +72907,10 @@ int HP_status_fixed_revive(struct block_list *bl, unsigned int per_hp, unsigned
retVal___ = HPMHooks.source.status.fixed_revive(bl, per_hp, per_sp);
}
if( HPMHooks.count.HP_status_fixed_revive_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned int *per_hp, unsigned int *per_sp);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned int per_hp, unsigned int per_sp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_fixed_revive_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_fixed_revive_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &per_hp, &per_sp);
+ retVal___ = postHookFunc(retVal___, bl, per_hp, per_sp);
}
}
return retVal___;
@@ -73150,10 +73150,10 @@ unsigned char HP_status_calc_attack_element(struct block_list *bl, struct status
retVal___ = HPMHooks.source.status.calc_attack_element(bl, sc, element);
}
if( HPMHooks.count.HP_status_calc_attack_element_post ) {
- unsigned char (*postHookFunc) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int *element);
+ unsigned char (*postHookFunc) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int element);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_attack_element_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_attack_element_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &element);
+ retVal___ = postHookFunc(retVal___, bl, sc, element);
}
}
return retVal___;
@@ -73338,10 +73338,10 @@ void HP_status_set_viewdata(struct block_list *bl, int class_) {
HPMHooks.source.status.set_viewdata(bl, class_);
}
if( HPMHooks.count.HP_status_set_viewdata_post ) {
- void (*postHookFunc) (struct block_list *bl, int *class_);
+ void (*postHookFunc) (struct block_list *bl, int class_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_set_viewdata_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_set_viewdata_post[hIndex].func;
- postHookFunc(bl, &class_);
+ postHookFunc(bl, class_);
}
}
return;
@@ -73472,10 +73472,10 @@ int HP_status_get_sc_def(struct block_list *src, struct block_list *bl, enum sc_
retVal___ = HPMHooks.source.status.get_sc_def(src, bl, type, rate, tick, flag);
}
if( HPMHooks.count.HP_status_get_sc_def_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, enum sc_type *type, int *rate, int *tick, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, enum sc_type type, int rate, int tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_sc_def_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_get_sc_def_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &type, &rate, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, src, bl, type, rate, tick, flag);
}
}
return retVal___;
@@ -73499,10 +73499,10 @@ int HP_status_change_start(struct block_list *src, struct block_list *bl, enum s
retVal___ = HPMHooks.source.status.change_start(src, bl, type, rate, val1, val2, val3, val4, tick, flag);
}
if( HPMHooks.count.HP_status_change_start_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, enum sc_type *type, int *rate, int *val1, int *val2, int *val3, int *val4, int *tick, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *bl, enum sc_type type, int rate, int val1, int val2, int val3, int val4, int tick, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_start_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_change_start_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, bl, &type, &rate, &val1, &val2, &val3, &val4, &tick, &flag);
+ retVal___ = postHookFunc(retVal___, src, bl, type, rate, val1, val2, val3, val4, tick, flag);
}
}
return retVal___;
@@ -73526,10 +73526,10 @@ int HP_status_change_end_(struct block_list *bl, enum sc_type type, int tid, con
retVal___ = HPMHooks.source.status.change_end_(bl, type, tid, file, line);
}
if( HPMHooks.count.HP_status_change_end__post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, enum sc_type *type, int *tid, const char *file, int *line);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, enum sc_type type, int tid, const char *file, int line);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_end__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_change_end__post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &type, &tid, file, &line);
+ retVal___ = postHookFunc(retVal___, bl, type, tid, file, line);
}
}
return retVal___;
@@ -73553,10 +73553,10 @@ int HP_status_kaahi_heal_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.status.kaahi_heal_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_status_kaahi_heal_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_status_kaahi_heal_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_kaahi_heal_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -73580,10 +73580,10 @@ int HP_status_change_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.status.change_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_status_change_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_status_change_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_change_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -73640,10 +73640,10 @@ int HP_status_change_clear(struct block_list *bl, int type) {
retVal___ = HPMHooks.source.status.change_clear(bl, type);
}
if( HPMHooks.count.HP_status_change_clear_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_clear_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_change_clear_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &type);
+ retVal___ = postHookFunc(retVal___, bl, type);
}
}
return retVal___;
@@ -73667,10 +73667,10 @@ int HP_status_change_clear_buffs(struct block_list *bl, int type) {
retVal___ = HPMHooks.source.status.change_clear_buffs(bl, type);
}
if( HPMHooks.count.HP_status_change_clear_buffs_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_clear_buffs_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_change_clear_buffs_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &type);
+ retVal___ = postHookFunc(retVal___, bl, type);
}
}
return retVal___;
@@ -73693,10 +73693,10 @@ void HP_status_calc_bl_(struct block_list *bl, enum scb_flag flag, enum e_status
HPMHooks.source.status.calc_bl_(bl, flag, opt);
}
if( HPMHooks.count.HP_status_calc_bl__post ) {
- void (*postHookFunc) (struct block_list *bl, enum scb_flag *flag, enum e_status_calc_opt *opt);
+ void (*postHookFunc) (struct block_list *bl, enum scb_flag flag, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_bl__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_bl__post[hIndex].func;
- postHookFunc(bl, &flag, &opt);
+ postHookFunc(bl, flag, opt);
}
}
return;
@@ -73720,10 +73720,10 @@ int HP_status_calc_mob_(struct mob_data *md, enum e_status_calc_opt opt) {
retVal___ = HPMHooks.source.status.calc_mob_(md, opt);
}
if( HPMHooks.count.HP_status_calc_mob__post ) {
- int (*postHookFunc) (int retVal___, struct mob_data *md, enum e_status_calc_opt *opt);
+ int (*postHookFunc) (int retVal___, struct mob_data *md, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mob__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_mob__post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &opt);
+ retVal___ = postHookFunc(retVal___, md, opt);
}
}
return retVal___;
@@ -73747,10 +73747,10 @@ int HP_status_calc_pet_(struct pet_data *pd, enum e_status_calc_opt opt) {
retVal___ = HPMHooks.source.status.calc_pet_(pd, opt);
}
if( HPMHooks.count.HP_status_calc_pet__post ) {
- int (*postHookFunc) (int retVal___, struct pet_data *pd, enum e_status_calc_opt *opt);
+ int (*postHookFunc) (int retVal___, struct pet_data *pd, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_pet__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_pet__post[hIndex].func;
- retVal___ = postHookFunc(retVal___, pd, &opt);
+ retVal___ = postHookFunc(retVal___, pd, opt);
}
}
return retVal___;
@@ -73774,10 +73774,10 @@ int HP_status_calc_pc_(struct map_session_data *sd, enum e_status_calc_opt opt)
retVal___ = HPMHooks.source.status.calc_pc_(sd, opt);
}
if( HPMHooks.count.HP_status_calc_pc__post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, enum e_status_calc_opt *opt);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_pc__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_pc__post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &opt);
+ retVal___ = postHookFunc(retVal___, sd, opt);
}
}
return retVal___;
@@ -73800,10 +73800,10 @@ void HP_status_calc_pc_additional(struct map_session_data *sd, enum e_status_cal
HPMHooks.source.status.calc_pc_additional(sd, opt);
}
if( HPMHooks.count.HP_status_calc_pc_additional_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum e_status_calc_opt *opt);
+ void (*postHookFunc) (struct map_session_data *sd, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_pc_additional_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_pc_additional_post[hIndex].func;
- postHookFunc(sd, &opt);
+ postHookFunc(sd, opt);
}
}
return;
@@ -73827,10 +73827,10 @@ int HP_status_calc_homunculus_(struct homun_data *hd, enum e_status_calc_opt opt
retVal___ = HPMHooks.source.status.calc_homunculus_(hd, opt);
}
if( HPMHooks.count.HP_status_calc_homunculus__post ) {
- int (*postHookFunc) (int retVal___, struct homun_data *hd, enum e_status_calc_opt *opt);
+ int (*postHookFunc) (int retVal___, struct homun_data *hd, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_homunculus__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_homunculus__post[hIndex].func;
- retVal___ = postHookFunc(retVal___, hd, &opt);
+ retVal___ = postHookFunc(retVal___, hd, opt);
}
}
return retVal___;
@@ -73854,10 +73854,10 @@ int HP_status_calc_mercenary_(struct mercenary_data *md, enum e_status_calc_opt
retVal___ = HPMHooks.source.status.calc_mercenary_(md, opt);
}
if( HPMHooks.count.HP_status_calc_mercenary__post ) {
- int (*postHookFunc) (int retVal___, struct mercenary_data *md, enum e_status_calc_opt *opt);
+ int (*postHookFunc) (int retVal___, struct mercenary_data *md, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mercenary__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_mercenary__post[hIndex].func;
- retVal___ = postHookFunc(retVal___, md, &opt);
+ retVal___ = postHookFunc(retVal___, md, opt);
}
}
return retVal___;
@@ -73881,10 +73881,10 @@ int HP_status_calc_elemental_(struct elemental_data *ed, enum e_status_calc_opt
retVal___ = HPMHooks.source.status.calc_elemental_(ed, opt);
}
if( HPMHooks.count.HP_status_calc_elemental__post ) {
- int (*postHookFunc) (int retVal___, struct elemental_data *ed, enum e_status_calc_opt *opt);
+ int (*postHookFunc) (int retVal___, struct elemental_data *ed, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_elemental__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_elemental__post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ed, &opt);
+ retVal___ = postHookFunc(retVal___, ed, opt);
}
}
return retVal___;
@@ -73907,10 +73907,10 @@ void HP_status_calc_misc(struct block_list *bl, struct status_data *st, int leve
HPMHooks.source.status.calc_misc(bl, st, level);
}
if( HPMHooks.count.HP_status_calc_misc_post ) {
- void (*postHookFunc) (struct block_list *bl, struct status_data *st, int *level);
+ void (*postHookFunc) (struct block_list *bl, struct status_data *st, int level);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_misc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_misc_post[hIndex].func;
- postHookFunc(bl, st, &level);
+ postHookFunc(bl, st, level);
}
}
return;
@@ -73986,10 +73986,10 @@ int HP_status_check_skilluse(struct block_list *src, struct block_list *target,
retVal___ = HPMHooks.source.status.check_skilluse(src, target, skill_id, flag);
}
if( HPMHooks.count.HP_status_check_skilluse_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, uint16 *skill_id, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, uint16 skill_id, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_check_skilluse_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_check_skilluse_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &skill_id, &flag);
+ retVal___ = postHookFunc(retVal___, src, target, skill_id, flag);
}
}
return retVal___;
@@ -74067,10 +74067,10 @@ defType HP_status_calc_def(struct block_list *bl, struct status_change *sc, int
retVal___ = HPMHooks.source.status.calc_def(bl, sc, def, viewable);
}
if( HPMHooks.count.HP_status_calc_def_post ) {
- defType (*postHookFunc) (defType retVal___, struct block_list *bl, struct status_change *sc, int *def, bool *viewable);
+ defType (*postHookFunc) (defType retVal___, struct block_list *bl, struct status_change *sc, int def, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_def_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_def_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &def, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, def, viewable);
}
}
return retVal___;
@@ -74094,10 +74094,10 @@ short HP_status_calc_def2(struct block_list *bl, struct status_change *sc, int d
retVal___ = HPMHooks.source.status.calc_def2(bl, sc, def2, viewable);
}
if( HPMHooks.count.HP_status_calc_def2_post ) {
- short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, int *def2, bool *viewable);
+ short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, int def2, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_def2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_def2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &def2, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, def2, viewable);
}
}
return retVal___;
@@ -74121,10 +74121,10 @@ defType HP_status_calc_mdef(struct block_list *bl, struct status_change *sc, int
retVal___ = HPMHooks.source.status.calc_mdef(bl, sc, mdef, viewable);
}
if( HPMHooks.count.HP_status_calc_mdef_post ) {
- defType (*postHookFunc) (defType retVal___, struct block_list *bl, struct status_change *sc, int *mdef, bool *viewable);
+ defType (*postHookFunc) (defType retVal___, struct block_list *bl, struct status_change *sc, int mdef, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mdef_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_mdef_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &mdef, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, mdef, viewable);
}
}
return retVal___;
@@ -74148,10 +74148,10 @@ short HP_status_calc_mdef2(struct block_list *bl, struct status_change *sc, int
retVal___ = HPMHooks.source.status.calc_mdef2(bl, sc, mdef2, viewable);
}
if( HPMHooks.count.HP_status_calc_mdef2_post ) {
- short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, int *mdef2, bool *viewable);
+ short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, int mdef2, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mdef2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_mdef2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &mdef2, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, mdef2, viewable);
}
}
return retVal___;
@@ -74175,10 +74175,10 @@ unsigned short HP_status_calc_batk(struct block_list *bl, struct status_change *
retVal___ = HPMHooks.source.status.calc_batk(bl, sc, batk, viewable);
}
if( HPMHooks.count.HP_status_calc_batk_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *batk, bool *viewable);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int batk, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_batk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_batk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &batk, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, batk, viewable);
}
}
return retVal___;
@@ -74202,10 +74202,10 @@ unsigned short HP_status_base_matk(struct block_list *bl, const struct status_da
retVal___ = HPMHooks.source.status.base_matk(bl, st, level);
}
if( HPMHooks.count.HP_status_base_matk_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, const struct status_data *st, int *level);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, const struct status_data *st, int level);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_base_matk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_base_matk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, st, &level);
+ retVal___ = postHookFunc(retVal___, bl, st, level);
}
}
return retVal___;
@@ -74229,10 +74229,10 @@ int HP_status_get_weapon_atk(struct block_list *src, struct weapon_atk *watk, in
retVal___ = HPMHooks.source.status.get_weapon_atk(src, watk, flag);
}
if( HPMHooks.count.HP_status_get_weapon_atk_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct weapon_atk *watk, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct weapon_atk *watk, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_weapon_atk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_get_weapon_atk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, watk, &flag);
+ retVal___ = postHookFunc(retVal___, src, watk, flag);
}
}
return retVal___;
@@ -74310,10 +74310,10 @@ int HP_status_get_matk(struct block_list *src, int flag) {
retVal___ = HPMHooks.source.status.get_matk(src, flag);
}
if( HPMHooks.count.HP_status_get_matk_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *src, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_matk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_get_matk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &flag);
+ retVal___ = postHookFunc(retVal___, src, flag);
}
}
return retVal___;
@@ -74550,10 +74550,10 @@ int HP_status_calc_npc_(struct npc_data *nd, enum e_status_calc_opt opt) {
retVal___ = HPMHooks.source.status.calc_npc_(nd, opt);
}
if( HPMHooks.count.HP_status_calc_npc__post ) {
- int (*postHookFunc) (int retVal___, struct npc_data *nd, enum e_status_calc_opt *opt);
+ int (*postHookFunc) (int retVal___, struct npc_data *nd, enum e_status_calc_opt opt);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_npc__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_npc__post[hIndex].func;
- retVal___ = postHookFunc(retVal___, nd, &opt);
+ retVal___ = postHookFunc(retVal___, nd, opt);
}
}
return retVal___;
@@ -74577,10 +74577,10 @@ unsigned short HP_status_calc_str(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_str(bl, sc, str);
}
if( HPMHooks.count.HP_status_calc_str_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *str);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int str);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_str_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_str_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &str);
+ retVal___ = postHookFunc(retVal___, bl, sc, str);
}
}
return retVal___;
@@ -74604,10 +74604,10 @@ unsigned short HP_status_calc_agi(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_agi(bl, sc, agi);
}
if( HPMHooks.count.HP_status_calc_agi_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *agi);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int agi);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_agi_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_agi_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &agi);
+ retVal___ = postHookFunc(retVal___, bl, sc, agi);
}
}
return retVal___;
@@ -74631,10 +74631,10 @@ unsigned short HP_status_calc_vit(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_vit(bl, sc, vit);
}
if( HPMHooks.count.HP_status_calc_vit_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *vit);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int vit);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_vit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_vit_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &vit);
+ retVal___ = postHookFunc(retVal___, bl, sc, vit);
}
}
return retVal___;
@@ -74658,10 +74658,10 @@ unsigned short HP_status_calc_int(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_int(bl, sc, int_);
}
if( HPMHooks.count.HP_status_calc_int_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *int_);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int int_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_int_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_int_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &int_);
+ retVal___ = postHookFunc(retVal___, bl, sc, int_);
}
}
return retVal___;
@@ -74685,10 +74685,10 @@ unsigned short HP_status_calc_dex(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_dex(bl, sc, dex);
}
if( HPMHooks.count.HP_status_calc_dex_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *dex);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int dex);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_dex_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_dex_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &dex);
+ retVal___ = postHookFunc(retVal___, bl, sc, dex);
}
}
return retVal___;
@@ -74712,10 +74712,10 @@ unsigned short HP_status_calc_luk(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_luk(bl, sc, luk);
}
if( HPMHooks.count.HP_status_calc_luk_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *luk);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int luk);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_luk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_luk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &luk);
+ retVal___ = postHookFunc(retVal___, bl, sc, luk);
}
}
return retVal___;
@@ -74739,10 +74739,10 @@ unsigned short HP_status_calc_watk(struct block_list *bl, struct status_change *
retVal___ = HPMHooks.source.status.calc_watk(bl, sc, watk, viewable);
}
if( HPMHooks.count.HP_status_calc_watk_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *watk, bool *viewable);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int watk, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_watk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_watk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &watk, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, watk, viewable);
}
}
return retVal___;
@@ -74766,10 +74766,10 @@ unsigned short HP_status_calc_matk(struct block_list *bl, struct status_change *
retVal___ = HPMHooks.source.status.calc_matk(bl, sc, matk, viewable);
}
if( HPMHooks.count.HP_status_calc_matk_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *matk, bool *viewable);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int matk, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_matk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_matk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &matk, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, matk, viewable);
}
}
return retVal___;
@@ -74793,10 +74793,10 @@ signed short HP_status_calc_hit(struct block_list *bl, struct status_change *sc,
retVal___ = HPMHooks.source.status.calc_hit(bl, sc, hit, viewable);
}
if( HPMHooks.count.HP_status_calc_hit_post ) {
- signed short (*postHookFunc) (signed short retVal___, struct block_list *bl, struct status_change *sc, int *hit, bool *viewable);
+ signed short (*postHookFunc) (signed short retVal___, struct block_list *bl, struct status_change *sc, int hit, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_hit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_hit_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &hit, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, hit, viewable);
}
}
return retVal___;
@@ -74820,10 +74820,10 @@ signed short HP_status_calc_critical(struct block_list *bl, struct status_change
retVal___ = HPMHooks.source.status.calc_critical(bl, sc, critical, viewable);
}
if( HPMHooks.count.HP_status_calc_critical_post ) {
- signed short (*postHookFunc) (signed short retVal___, struct block_list *bl, struct status_change *sc, int *critical, bool *viewable);
+ signed short (*postHookFunc) (signed short retVal___, struct block_list *bl, struct status_change *sc, int critical, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_critical_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_critical_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &critical, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, critical, viewable);
}
}
return retVal___;
@@ -74847,10 +74847,10 @@ signed short HP_status_calc_flee(struct block_list *bl, struct status_change *sc
retVal___ = HPMHooks.source.status.calc_flee(bl, sc, flee, viewable);
}
if( HPMHooks.count.HP_status_calc_flee_post ) {
- signed short (*postHookFunc) (signed short retVal___, struct block_list *bl, struct status_change *sc, int *flee, bool *viewable);
+ signed short (*postHookFunc) (signed short retVal___, struct block_list *bl, struct status_change *sc, int flee, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_flee_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_flee_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &flee, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, flee, viewable);
}
}
return retVal___;
@@ -74874,10 +74874,10 @@ signed short HP_status_calc_flee2(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_flee2(bl, sc, flee2, viewable);
}
if( HPMHooks.count.HP_status_calc_flee2_post ) {
- signed short (*postHookFunc) (signed short retVal___, struct block_list *bl, struct status_change *sc, int *flee2, bool *viewable);
+ signed short (*postHookFunc) (signed short retVal___, struct block_list *bl, struct status_change *sc, int flee2, bool viewable);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_flee2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_flee2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &flee2, &viewable);
+ retVal___ = postHookFunc(retVal___, bl, sc, flee2, viewable);
}
}
return retVal___;
@@ -74901,10 +74901,10 @@ unsigned short HP_status_calc_speed(struct block_list *bl, struct status_change
retVal___ = HPMHooks.source.status.calc_speed(bl, sc, speed);
}
if( HPMHooks.count.HP_status_calc_speed_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *speed);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int speed);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_speed_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_speed_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &speed);
+ retVal___ = postHookFunc(retVal___, bl, sc, speed);
}
}
return retVal___;
@@ -74928,10 +74928,10 @@ short HP_status_calc_aspd_rate(struct block_list *bl, struct status_change *sc,
retVal___ = HPMHooks.source.status.calc_aspd_rate(bl, sc, aspd_rate);
}
if( HPMHooks.count.HP_status_calc_aspd_rate_post ) {
- short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, int *aspd_rate);
+ short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, int aspd_rate);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_aspd_rate_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_aspd_rate_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &aspd_rate);
+ retVal___ = postHookFunc(retVal___, bl, sc, aspd_rate);
}
}
return retVal___;
@@ -74955,10 +74955,10 @@ unsigned short HP_status_calc_dmotion(struct block_list *bl, struct status_chang
retVal___ = HPMHooks.source.status.calc_dmotion(bl, sc, dmotion);
}
if( HPMHooks.count.HP_status_calc_dmotion_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *dmotion);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int dmotion);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_dmotion_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_dmotion_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &dmotion);
+ retVal___ = postHookFunc(retVal___, bl, sc, dmotion);
}
}
return retVal___;
@@ -74982,10 +74982,10 @@ short HP_status_calc_aspd(struct block_list *bl, struct status_change *sc, short
retVal___ = HPMHooks.source.status.calc_aspd(bl, sc, flag);
}
if( HPMHooks.count.HP_status_calc_aspd_post ) {
- short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, short *flag);
+ short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, short flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_aspd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_aspd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &flag);
+ retVal___ = postHookFunc(retVal___, bl, sc, flag);
}
}
return retVal___;
@@ -75009,10 +75009,10 @@ short HP_status_calc_fix_aspd(struct block_list *bl, struct status_change *sc, i
retVal___ = HPMHooks.source.status.calc_fix_aspd(bl, sc, aspd);
}
if( HPMHooks.count.HP_status_calc_fix_aspd_post ) {
- short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, int *aspd);
+ short (*postHookFunc) (short retVal___, struct block_list *bl, struct status_change *sc, int aspd);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_fix_aspd_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_fix_aspd_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &aspd);
+ retVal___ = postHookFunc(retVal___, bl, sc, aspd);
}
}
return retVal___;
@@ -75036,10 +75036,10 @@ unsigned int HP_status_calc_maxhp(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_maxhp(bl, sc, maxhp);
}
if( HPMHooks.count.HP_status_calc_maxhp_post ) {
- unsigned int (*postHookFunc) (unsigned int retVal___, struct block_list *bl, struct status_change *sc, uint64 *maxhp);
+ unsigned int (*postHookFunc) (unsigned int retVal___, struct block_list *bl, struct status_change *sc, uint64 maxhp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_maxhp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_maxhp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &maxhp);
+ retVal___ = postHookFunc(retVal___, bl, sc, maxhp);
}
}
return retVal___;
@@ -75063,10 +75063,10 @@ unsigned int HP_status_calc_maxsp(struct block_list *bl, struct status_change *s
retVal___ = HPMHooks.source.status.calc_maxsp(bl, sc, maxsp);
}
if( HPMHooks.count.HP_status_calc_maxsp_post ) {
- unsigned int (*postHookFunc) (unsigned int retVal___, struct block_list *bl, struct status_change *sc, unsigned int *maxsp);
+ unsigned int (*postHookFunc) (unsigned int retVal___, struct block_list *bl, struct status_change *sc, unsigned int maxsp);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_maxsp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_maxsp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &maxsp);
+ retVal___ = postHookFunc(retVal___, bl, sc, maxsp);
}
}
return retVal___;
@@ -75090,10 +75090,10 @@ unsigned char HP_status_calc_element(struct block_list *bl, struct status_change
retVal___ = HPMHooks.source.status.calc_element(bl, sc, element);
}
if( HPMHooks.count.HP_status_calc_element_post ) {
- unsigned char (*postHookFunc) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int *element);
+ unsigned char (*postHookFunc) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int element);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_element_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_element_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &element);
+ retVal___ = postHookFunc(retVal___, bl, sc, element);
}
}
return retVal___;
@@ -75117,10 +75117,10 @@ unsigned char HP_status_calc_element_lv(struct block_list *bl, struct status_cha
retVal___ = HPMHooks.source.status.calc_element_lv(bl, sc, lv);
}
if( HPMHooks.count.HP_status_calc_element_lv_post ) {
- unsigned char (*postHookFunc) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int *lv);
+ unsigned char (*postHookFunc) (unsigned char retVal___, struct block_list *bl, struct status_change *sc, int lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_element_lv_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_element_lv_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &lv);
+ retVal___ = postHookFunc(retVal___, bl, sc, lv);
}
}
return retVal___;
@@ -75144,10 +75144,10 @@ uint32 HP_status_calc_mode(const struct block_list *bl, const struct status_chan
retVal___ = HPMHooks.source.status.calc_mode(bl, sc, mode);
}
if( HPMHooks.count.HP_status_calc_mode_post ) {
- uint32 (*postHookFunc) (uint32 retVal___, const struct block_list *bl, const struct status_change *sc, uint32 *mode);
+ uint32 (*postHookFunc) (uint32 retVal___, const struct block_list *bl, const struct status_change *sc, uint32 mode);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mode_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_mode_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &mode);
+ retVal___ = postHookFunc(retVal___, bl, sc, mode);
}
}
return retVal___;
@@ -75171,10 +75171,10 @@ unsigned short HP_status_calc_ematk(struct block_list *bl, struct status_change
retVal___ = HPMHooks.source.status.calc_ematk(bl, sc, matk);
}
if( HPMHooks.count.HP_status_calc_ematk_post ) {
- unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int *matk);
+ unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, struct status_change *sc, int matk);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_ematk_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_ematk_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sc, &matk);
+ retVal___ = postHookFunc(retVal___, bl, sc, matk);
}
}
return retVal___;
@@ -75197,10 +75197,10 @@ void HP_status_calc_bl_main(struct block_list *bl, int flag) {
HPMHooks.source.status.calc_bl_main(bl, flag);
}
if( HPMHooks.count.HP_status_calc_bl_main_post ) {
- void (*postHookFunc) (struct block_list *bl, int *flag);
+ void (*postHookFunc) (struct block_list *bl, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_bl_main_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_calc_bl_main_post[hIndex].func;
- postHookFunc(bl, &flag);
+ postHookFunc(bl, flag);
}
}
return;
@@ -75223,10 +75223,10 @@ void HP_status_display_add(struct map_session_data *sd, enum sc_type type, int d
HPMHooks.source.status.display_add(sd, type, dval1, dval2, dval3);
}
if( HPMHooks.count.HP_status_display_add_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum sc_type *type, int *dval1, int *dval2, int *dval3);
+ void (*postHookFunc) (struct map_session_data *sd, enum sc_type type, int dval1, int dval2, int dval3);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_display_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_display_add_post[hIndex].func;
- postHookFunc(sd, &type, &dval1, &dval2, &dval3);
+ postHookFunc(sd, type, dval1, dval2, dval3);
}
}
return;
@@ -75249,10 +75249,10 @@ void HP_status_display_remove(struct map_session_data *sd, enum sc_type type) {
HPMHooks.source.status.display_remove(sd, type);
}
if( HPMHooks.count.HP_status_display_remove_post ) {
- void (*postHookFunc) (struct map_session_data *sd, enum sc_type *type);
+ void (*postHookFunc) (struct map_session_data *sd, enum sc_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_display_remove_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_display_remove_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -75309,10 +75309,10 @@ int HP_status_natural_heal_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.status.natural_heal_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_status_natural_heal_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_status_natural_heal_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_natural_heal_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -75336,10 +75336,10 @@ bool HP_status_readdb_job2(char *fields[], int columns, int current) {
retVal___ = HPMHooks.source.status.readdb_job2(fields, columns, current);
}
if( HPMHooks.count.HP_status_readdb_job2_post ) {
- bool (*postHookFunc) (bool retVal___, char *fields[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *fields[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_readdb_job2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_readdb_job2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fields, &columns, &current);
+ retVal___ = postHookFunc(retVal___, fields, columns, current);
}
}
return retVal___;
@@ -75363,10 +75363,10 @@ bool HP_status_readdb_sizefix(char *fields[], int columns, int current) {
retVal___ = HPMHooks.source.status.readdb_sizefix(fields, columns, current);
}
if( HPMHooks.count.HP_status_readdb_sizefix_post ) {
- bool (*postHookFunc) (bool retVal___, char *fields[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *fields[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_readdb_sizefix_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_readdb_sizefix_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fields, &columns, &current);
+ retVal___ = postHookFunc(retVal___, fields, columns, current);
}
}
return retVal___;
@@ -75444,10 +75444,10 @@ bool HP_status_readdb_scconfig(char *fields[], int columns, int current) {
retVal___ = HPMHooks.source.status.readdb_scconfig(fields, columns, current);
}
if( HPMHooks.count.HP_status_readdb_scconfig_post ) {
- bool (*postHookFunc) (bool retVal___, char *fields[], int *columns, int *current);
+ bool (*postHookFunc) (bool retVal___, char *fields[], int columns, int current);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_readdb_scconfig_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_readdb_scconfig_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fields, &columns, &current);
+ retVal___ = postHookFunc(retVal___, fields, columns, current);
}
}
return retVal___;
@@ -75496,10 +75496,10 @@ void HP_status_read_job_db_sub(int idx, const char *name, struct config_setting_
HPMHooks.source.status.read_job_db_sub(idx, name, jdb);
}
if( HPMHooks.count.HP_status_read_job_db_sub_post ) {
- void (*postHookFunc) (int *idx, const char *name, struct config_setting_t *jdb);
+ void (*postHookFunc) (int idx, const char *name, struct config_setting_t *jdb);
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_read_job_db_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_status_read_job_db_sub_post[hIndex].func;
- postHookFunc(&idx, name, jdb);
+ postHookFunc(idx, name, jdb);
}
}
return;
@@ -75550,10 +75550,10 @@ int HP_storage_delitem(struct map_session_data *sd, int n, int amount) {
retVal___ = HPMHooks.source.storage.delitem(sd, n, amount);
}
if( HPMHooks.count.HP_storage_delitem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *n, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int n, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_delitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_storage_delitem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &n, &amount);
+ retVal___ = postHookFunc(retVal___, sd, n, amount);
}
}
return retVal___;
@@ -75604,10 +75604,10 @@ int HP_storage_add(struct map_session_data *sd, int index, int amount) {
retVal___ = HPMHooks.source.storage.add(sd, index, amount);
}
if( HPMHooks.count.HP_storage_add_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_add_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_storage_add_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index, &amount);
+ retVal___ = postHookFunc(retVal___, sd, index, amount);
}
}
return retVal___;
@@ -75631,10 +75631,10 @@ int HP_storage_get(struct map_session_data *sd, int index, int amount) {
retVal___ = HPMHooks.source.storage.get(sd, index, amount);
}
if( HPMHooks.count.HP_storage_get_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_get_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_storage_get_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index, &amount);
+ retVal___ = postHookFunc(retVal___, sd, index, amount);
}
}
return retVal___;
@@ -75658,10 +75658,10 @@ int HP_storage_additem(struct map_session_data *sd, struct item *item_data, int
retVal___ = HPMHooks.source.storage.additem(sd, item_data, amount);
}
if( HPMHooks.count.HP_storage_additem_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct item *item_data, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct item *item_data, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_additem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_storage_additem_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, item_data, &amount);
+ retVal___ = postHookFunc(retVal___, sd, item_data, amount);
}
}
return retVal___;
@@ -75685,10 +75685,10 @@ int HP_storage_addfromcart(struct map_session_data *sd, int index, int amount) {
retVal___ = HPMHooks.source.storage.addfromcart(sd, index, amount);
}
if( HPMHooks.count.HP_storage_addfromcart_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_addfromcart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_storage_addfromcart_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index, &amount);
+ retVal___ = postHookFunc(retVal___, sd, index, amount);
}
}
return retVal___;
@@ -75712,10 +75712,10 @@ int HP_storage_gettocart(struct map_session_data *sd, int index, int amount) {
retVal___ = HPMHooks.source.storage.gettocart(sd, index, amount);
}
if( HPMHooks.count.HP_storage_gettocart_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, int *index, int *amount);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, int index, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_gettocart_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_storage_gettocart_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &index, &amount);
+ retVal___ = postHookFunc(retVal___, sd, index, amount);
}
}
return retVal___;
@@ -75764,10 +75764,10 @@ void HP_storage_pc_quit(struct map_session_data *sd, int flag) {
HPMHooks.source.storage.pc_quit(sd, flag);
}
if( HPMHooks.count.HP_storage_pc_quit_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *flag);
+ void (*postHookFunc) (struct map_session_data *sd, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_pc_quit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_storage_pc_quit_post[hIndex].func;
- postHookFunc(sd, &flag);
+ postHookFunc(sd, flag);
}
}
return;
@@ -75817,10 +75817,10 @@ void HP_storage_sortitem(struct item *items, unsigned int size) {
HPMHooks.source.storage.sortitem(items, size);
}
if( HPMHooks.count.HP_storage_sortitem_post ) {
- void (*postHookFunc) (struct item *items, unsigned int *size);
+ void (*postHookFunc) (struct item *items, unsigned int size);
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_sortitem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_storage_sortitem_post[hIndex].func;
- postHookFunc(items, &size);
+ postHookFunc(items, size);
}
}
return;
@@ -75848,11 +75848,11 @@ int HP_storage_reconnect_sub(union DBKey key, struct DBData *data, va_list ap) {
va_end(ap___copy);
}
if( HPMHooks.count.HP_storage_reconnect_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_storage_reconnect_sub_post; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
postHookFunc = HPMHooks.list.HP_storage_reconnect_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &key, data, ap___copy);
+ retVal___ = postHookFunc(retVal___, key, data, ap___copy);
va_end(ap___copy);
}
}
@@ -76205,10 +76205,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___;
@@ -76340,10 +76340,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___;
@@ -76448,10 +76448,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___;
@@ -76475,10 +76475,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___;
@@ -76502,10 +76502,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___;
@@ -76529,10 +76529,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___;
@@ -76584,10 +76584,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___;
@@ -76611,10 +76611,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___;
@@ -76638,10 +76638,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___;
@@ -76665,10 +76665,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___;
@@ -76719,10 +76719,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___;
@@ -77285,10 +77285,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___;
@@ -77312,10 +77312,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___;
@@ -77339,10 +77339,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___;
@@ -77366,10 +77366,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___;
@@ -77393,10 +77393,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___;
@@ -77420,10 +77420,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___;
@@ -77447,10 +77447,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___;
@@ -77501,10 +77501,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___;
@@ -77606,10 +77606,10 @@ void HP_trade_ack(struct map_session_data *sd, int type) {
HPMHooks.source.trade.ack(sd, type);
}
if( HPMHooks.count.HP_trade_ack_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *type);
+ void (*postHookFunc) (struct map_session_data *sd, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_trade_ack_post[hIndex].func;
- postHookFunc(sd, &type);
+ postHookFunc(sd, type);
}
}
return;
@@ -77686,10 +77686,10 @@ void HP_trade_additem(struct map_session_data *sd, short index, short amount) {
HPMHooks.source.trade.additem(sd, index, amount);
}
if( HPMHooks.count.HP_trade_additem_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *index, short *amount);
+ void (*postHookFunc) (struct map_session_data *sd, short index, short amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_additem_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_trade_additem_post[hIndex].func;
- postHookFunc(sd, &index, &amount);
+ postHookFunc(sd, index, amount);
}
}
return;
@@ -77712,10 +77712,10 @@ void HP_trade_addzeny(struct map_session_data *sd, int amount) {
HPMHooks.source.trade.addzeny(sd, amount);
}
if( HPMHooks.count.HP_trade_addzeny_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *amount);
+ void (*postHookFunc) (struct map_session_data *sd, int amount);
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_addzeny_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_trade_addzeny_post[hIndex].func;
- postHookFunc(sd, &amount);
+ postHookFunc(sd, amount);
}
}
return;
@@ -77818,10 +77818,10 @@ int HP_unit_init(bool minimal) {
retVal___ = HPMHooks.source.unit.init(minimal);
}
if( HPMHooks.count.HP_unit_init_post ) {
- int (*postHookFunc) (int retVal___, bool *minimal);
+ int (*postHookFunc) (int retVal___, bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_init_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &minimal);
+ retVal___ = postHookFunc(retVal___, minimal);
}
}
return retVal___;
@@ -77952,10 +77952,10 @@ int HP_unit_attack_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.unit.attack_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_unit_attack_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_unit_attack_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_attack_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -77979,10 +77979,10 @@ int HP_unit_walktoxy_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.unit.walktoxy_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_unit_walktoxy_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_unit_walktoxy_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_walktoxy_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -78033,10 +78033,10 @@ int HP_unit_delay_walktoxy_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.unit.delay_walktoxy_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_unit_delay_walktoxy_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_unit_delay_walktoxy_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_delay_walktoxy_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -78060,10 +78060,10 @@ int HP_unit_walktoxy(struct block_list *bl, short x, short y, int flag) {
retVal___ = HPMHooks.source.unit.walktoxy(bl, x, y, flag);
}
if( HPMHooks.count.HP_unit_walktoxy_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, short *x, short *y, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, short x, short y, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_walktoxy_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_walktoxy_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &x, &y, &flag);
+ retVal___ = postHookFunc(retVal___, bl, x, y, flag);
}
}
return retVal___;
@@ -78087,10 +78087,10 @@ int HP_unit_walktobl_sub(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.unit.walktobl_sub(tid, tick, id, data);
}
if( HPMHooks.count.HP_unit_walktobl_sub_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_unit_walktobl_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_walktobl_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -78114,10 +78114,10 @@ int HP_unit_walktobl(struct block_list *bl, struct block_list *tbl, int range, i
retVal___ = HPMHooks.source.unit.walktobl(bl, tbl, range, flag);
}
if( HPMHooks.count.HP_unit_walktobl_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, struct block_list *tbl, int *range, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, struct block_list *tbl, int range, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_walktobl_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_walktobl_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, tbl, &range, &flag);
+ retVal___ = postHookFunc(retVal___, bl, tbl, range, flag);
}
}
return retVal___;
@@ -78141,10 +78141,10 @@ bool HP_unit_run(struct block_list *bl, struct map_session_data *sd, enum sc_typ
retVal___ = HPMHooks.source.unit.run(bl, sd, type);
}
if( HPMHooks.count.HP_unit_run_post ) {
- bool (*postHookFunc) (bool retVal___, struct block_list *bl, struct map_session_data *sd, enum sc_type *type);
+ bool (*postHookFunc) (bool retVal___, struct block_list *bl, struct map_session_data *sd, enum sc_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_run_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_run_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, sd, &type);
+ retVal___ = postHookFunc(retVal___, bl, sd, type);
}
}
return retVal___;
@@ -78167,10 +78167,10 @@ void HP_unit_run_hit(struct block_list *bl, struct status_change *sc, struct map
HPMHooks.source.unit.run_hit(bl, sc, sd, type);
}
if( HPMHooks.count.HP_unit_run_hit_post ) {
- void (*postHookFunc) (struct block_list *bl, struct status_change *sc, struct map_session_data *sd, enum sc_type *type);
+ void (*postHookFunc) (struct block_list *bl, struct status_change *sc, struct map_session_data *sd, enum sc_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_run_hit_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_run_hit_post[hIndex].func;
- postHookFunc(bl, sc, sd, &type);
+ postHookFunc(bl, sc, sd, type);
}
}
return;
@@ -78194,10 +78194,10 @@ int HP_unit_escape(struct block_list *bl, struct block_list *target, short dist)
retVal___ = HPMHooks.source.unit.escape(bl, target, dist);
}
if( HPMHooks.count.HP_unit_escape_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, struct block_list *target, short *dist);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, struct block_list *target, short dist);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_escape_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_escape_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, target, &dist);
+ retVal___ = postHookFunc(retVal___, bl, target, dist);
}
}
return retVal___;
@@ -78221,10 +78221,10 @@ int HP_unit_movepos(struct block_list *bl, short dst_x, short dst_y, int easy, b
retVal___ = HPMHooks.source.unit.movepos(bl, dst_x, dst_y, easy, checkpath);
}
if( HPMHooks.count.HP_unit_movepos_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, short *dst_x, short *dst_y, int *easy, bool *checkpath);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, short dst_x, short dst_y, int easy, bool checkpath);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_movepos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_movepos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &dst_x, &dst_y, &easy, &checkpath);
+ retVal___ = postHookFunc(retVal___, bl, dst_x, dst_y, easy, checkpath);
}
}
return retVal___;
@@ -78248,10 +78248,10 @@ int HP_unit_setdir(struct block_list *bl, unsigned char dir) {
retVal___ = HPMHooks.source.unit.setdir(bl, dir);
}
if( HPMHooks.count.HP_unit_setdir_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned char *dir);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, unsigned char dir);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_setdir_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_setdir_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &dir);
+ retVal___ = postHookFunc(retVal___, bl, dir);
}
}
return retVal___;
@@ -78302,10 +78302,10 @@ int HP_unit_blown(struct block_list *bl, int dx, int dy, int count, int flag) {
retVal___ = HPMHooks.source.unit.blown(bl, dx, dy, count, flag);
}
if( HPMHooks.count.HP_unit_blown_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *dx, int *dy, int *count, int *flag);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int dx, int dy, int count, int flag);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_blown_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_blown_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &dx, &dy, &count, &flag);
+ retVal___ = postHookFunc(retVal___, bl, dx, dy, count, flag);
}
}
return retVal___;
@@ -78329,10 +78329,10 @@ int HP_unit_warp(struct block_list *bl, short m, short x, short y, clr_type type
retVal___ = HPMHooks.source.unit.warp(bl, m, x, y, type);
}
if( HPMHooks.count.HP_unit_warp_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, short *m, short *x, short *y, clr_type *type);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, short m, short x, short y, clr_type type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_warp_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_warp_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &m, &x, &y, &type);
+ retVal___ = postHookFunc(retVal___, bl, m, x, y, type);
}
}
return retVal___;
@@ -78356,10 +78356,10 @@ int HP_unit_stop_walking(struct block_list *bl, int type) {
retVal___ = HPMHooks.source.unit.stop_walking(bl, type);
}
if( HPMHooks.count.HP_unit_stop_walking_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_stop_walking_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_stop_walking_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &type);
+ retVal___ = postHookFunc(retVal___, bl, type);
}
}
return retVal___;
@@ -78383,10 +78383,10 @@ int HP_unit_skilluse_id(struct block_list *src, int target_id, uint16 skill_id,
retVal___ = HPMHooks.source.unit.skilluse_id(src, target_id, skill_id, skill_lv);
}
if( HPMHooks.count.HP_unit_skilluse_id_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, int *target_id, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *src, int target_id, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skilluse_id_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_skilluse_id_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &target_id, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, src, target_id, skill_id, skill_lv);
}
}
return retVal___;
@@ -78410,10 +78410,10 @@ int HP_unit_step_timer(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.unit.step_timer(tid, tick, id, data);
}
if( HPMHooks.count.HP_unit_step_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_unit_step_timer_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_step_timer_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -78517,10 +78517,10 @@ int HP_unit_resume_running(int tid, int64 tick, int id, intptr_t data) {
retVal___ = HPMHooks.source.unit.resume_running(tid, tick, id, data);
}
if( HPMHooks.count.HP_unit_resume_running_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_unit_resume_running_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_resume_running_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, &tid, &tick, &id, &data);
+ retVal___ = postHookFunc(retVal___, tid, tick, id, data);
}
}
return retVal___;
@@ -78544,10 +78544,10 @@ int HP_unit_set_walkdelay(struct block_list *bl, int64 tick, int delay, int type
retVal___ = HPMHooks.source.unit.set_walkdelay(bl, tick, delay, type);
}
if( HPMHooks.count.HP_unit_set_walkdelay_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int64 *tick, int *delay, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int64 tick, int delay, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_set_walkdelay_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_set_walkdelay_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &tick, &delay, &type);
+ retVal___ = postHookFunc(retVal___, bl, tick, delay, type);
}
}
return retVal___;
@@ -78571,10 +78571,10 @@ int HP_unit_skilluse_id2(struct block_list *src, int target_id, uint16 skill_id,
retVal___ = HPMHooks.source.unit.skilluse_id2(src, target_id, skill_id, skill_lv, casttime, castcancel);
}
if( HPMHooks.count.HP_unit_skilluse_id2_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, int *target_id, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
+ int (*postHookFunc) (int retVal___, struct block_list *src, int target_id, uint16 skill_id, uint16 skill_lv, int casttime, int castcancel);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skilluse_id2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_skilluse_id2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &target_id, &skill_id, &skill_lv, &casttime, &castcancel);
+ retVal___ = postHookFunc(retVal___, src, target_id, skill_id, skill_lv, casttime, castcancel);
}
}
return retVal___;
@@ -78598,10 +78598,10 @@ int HP_unit_skilluse_pos(struct block_list *src, short skill_x, short skill_y, u
retVal___ = HPMHooks.source.unit.skilluse_pos(src, skill_x, skill_y, skill_id, skill_lv);
}
if( HPMHooks.count.HP_unit_skilluse_pos_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv);
+ int (*postHookFunc) (int retVal___, struct block_list *src, short skill_x, short skill_y, uint16 skill_id, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skilluse_pos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_skilluse_pos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &skill_x, &skill_y, &skill_id, &skill_lv);
+ retVal___ = postHookFunc(retVal___, src, skill_x, skill_y, skill_id, skill_lv);
}
}
return retVal___;
@@ -78625,10 +78625,10 @@ int HP_unit_skilluse_pos2(struct block_list *src, short skill_x, short skill_y,
retVal___ = HPMHooks.source.unit.skilluse_pos2(src, skill_x, skill_y, skill_id, skill_lv, casttime, castcancel);
}
if( HPMHooks.count.HP_unit_skilluse_pos2_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
+ int (*postHookFunc) (int retVal___, struct block_list *src, short skill_x, short skill_y, uint16 skill_id, uint16 skill_lv, int casttime, int castcancel);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skilluse_pos2_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_skilluse_pos2_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &skill_x, &skill_y, &skill_id, &skill_lv, &casttime, &castcancel);
+ retVal___ = postHookFunc(retVal___, src, skill_x, skill_y, skill_id, skill_lv, casttime, castcancel);
}
}
return retVal___;
@@ -78652,10 +78652,10 @@ int HP_unit_set_target(struct unit_data *ud, int target_id) {
retVal___ = HPMHooks.source.unit.set_target(ud, target_id);
}
if( HPMHooks.count.HP_unit_set_target_post ) {
- int (*postHookFunc) (int retVal___, struct unit_data *ud, int *target_id);
+ int (*postHookFunc) (int retVal___, struct unit_data *ud, int target_id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_set_target_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_set_target_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, ud, &target_id);
+ retVal___ = postHookFunc(retVal___, ud, target_id);
}
}
return retVal___;
@@ -78732,10 +78732,10 @@ int HP_unit_attack(struct block_list *src, int target_id, int continuous) {
retVal___ = HPMHooks.source.unit.attack(src, target_id, continuous);
}
if( HPMHooks.count.HP_unit_attack_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, int *target_id, int *continuous);
+ int (*postHookFunc) (int retVal___, struct block_list *src, int target_id, int continuous);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_attack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_attack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &target_id, &continuous);
+ retVal___ = postHookFunc(retVal___, src, target_id, continuous);
}
}
return retVal___;
@@ -78786,10 +78786,10 @@ bool HP_unit_can_reach_pos(struct block_list *bl, int x, int y, int easy) {
retVal___ = HPMHooks.source.unit.can_reach_pos(bl, x, y, easy);
}
if( HPMHooks.count.HP_unit_can_reach_pos_post ) {
- bool (*postHookFunc) (bool retVal___, struct block_list *bl, int *x, int *y, int *easy);
+ bool (*postHookFunc) (bool retVal___, struct block_list *bl, int x, int y, int easy);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_can_reach_pos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_can_reach_pos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &x, &y, &easy);
+ retVal___ = postHookFunc(retVal___, bl, x, y, easy);
}
}
return retVal___;
@@ -78813,10 +78813,10 @@ bool HP_unit_can_reach_bl(struct block_list *bl, struct block_list *tbl, int ran
retVal___ = HPMHooks.source.unit.can_reach_bl(bl, tbl, range, easy, x, y);
}
if( HPMHooks.count.HP_unit_can_reach_bl_post ) {
- bool (*postHookFunc) (bool retVal___, struct block_list *bl, struct block_list *tbl, int *range, int *easy, short *x, short *y);
+ bool (*postHookFunc) (bool retVal___, struct block_list *bl, struct block_list *tbl, int range, int easy, short *x, short *y);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_can_reach_bl_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_can_reach_bl_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, tbl, &range, &easy, x, y);
+ retVal___ = postHookFunc(retVal___, bl, tbl, range, easy, x, y);
}
}
return retVal___;
@@ -78840,10 +78840,10 @@ int HP_unit_calc_pos(struct block_list *bl, int tx, int ty, uint8 dir) {
retVal___ = HPMHooks.source.unit.calc_pos(bl, tx, ty, dir);
}
if( HPMHooks.count.HP_unit_calc_pos_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *tx, int *ty, uint8 *dir);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int tx, int ty, uint8 dir);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_calc_pos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_calc_pos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &tx, &ty, &dir);
+ retVal___ = postHookFunc(retVal___, bl, tx, ty, dir);
}
}
return retVal___;
@@ -78867,10 +78867,10 @@ int HP_unit_attack_timer_sub(struct block_list *src, int tid, int64 tick) {
retVal___ = HPMHooks.source.unit.attack_timer_sub(src, tid, tick);
}
if( HPMHooks.count.HP_unit_attack_timer_sub_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, int *tid, int64 *tick);
+ int (*postHookFunc) (int retVal___, struct block_list *src, int tid, int64 tick);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_attack_timer_sub_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_attack_timer_sub_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, &tid, &tick);
+ retVal___ = postHookFunc(retVal___, src, tid, tick);
}
}
return retVal___;
@@ -78894,10 +78894,10 @@ int HP_unit_skillcastcancel(struct block_list *bl, int type) {
retVal___ = HPMHooks.source.unit.skillcastcancel(bl, type);
}
if( HPMHooks.count.HP_unit_skillcastcancel_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, int *type);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, int type);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skillcastcancel_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_skillcastcancel_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &type);
+ retVal___ = postHookFunc(retVal___, bl, type);
}
}
return retVal___;
@@ -78974,10 +78974,10 @@ int HP_unit_fixdamage(struct block_list *src, struct block_list *target, int sde
retVal___ = HPMHooks.source.unit.fixdamage(src, target, sdelay, ddelay, damage, div, type, damage2);
}
if( HPMHooks.count.HP_unit_fixdamage_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
+ int (*postHookFunc) (int retVal___, struct block_list *src, struct block_list *target, int sdelay, int ddelay, int64 damage, short div, unsigned char type, int64 damage2);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_fixdamage_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_fixdamage_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, src, target, &sdelay, &ddelay, &damage, &div, &type, &damage2);
+ retVal___ = postHookFunc(retVal___, src, target, sdelay, ddelay, damage, div, type, damage2);
}
}
return retVal___;
@@ -79001,10 +79001,10 @@ int HP_unit_changeviewsize(struct block_list *bl, short size) {
retVal___ = HPMHooks.source.unit.changeviewsize(bl, size);
}
if( HPMHooks.count.HP_unit_changeviewsize_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, short *size);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, short size);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_changeviewsize_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_changeviewsize_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &size);
+ retVal___ = postHookFunc(retVal___, bl, size);
}
}
return retVal___;
@@ -79028,10 +79028,10 @@ int HP_unit_remove_map(struct block_list *bl, clr_type clrtype, const char *file
retVal___ = HPMHooks.source.unit.remove_map(bl, clrtype, file, line, func);
}
if( HPMHooks.count.HP_unit_remove_map_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, clr_type *clrtype, const char *file, int *line, const char *func);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, clr_type clrtype, const char *file, int line, const char *func);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_remove_map_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_remove_map_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &clrtype, file, &line, func);
+ retVal___ = postHookFunc(retVal___, bl, clrtype, file, line, func);
}
}
return retVal___;
@@ -79054,10 +79054,10 @@ void HP_unit_remove_map_pc(struct map_session_data *sd, clr_type clrtype) {
HPMHooks.source.unit.remove_map_pc(sd, clrtype);
}
if( HPMHooks.count.HP_unit_remove_map_pc_post ) {
- void (*postHookFunc) (struct map_session_data *sd, clr_type *clrtype);
+ void (*postHookFunc) (struct map_session_data *sd, clr_type clrtype);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_remove_map_pc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_remove_map_pc_post[hIndex].func;
- postHookFunc(sd, &clrtype);
+ postHookFunc(sd, clrtype);
}
}
return;
@@ -79107,10 +79107,10 @@ int HP_unit_free(struct block_list *bl, clr_type clrtype) {
retVal___ = HPMHooks.source.unit.free(bl, clrtype);
}
if( HPMHooks.count.HP_unit_free_post ) {
- int (*postHookFunc) (int retVal___, struct block_list *bl, clr_type *clrtype);
+ int (*postHookFunc) (int retVal___, struct block_list *bl, clr_type clrtype);
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_free_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_unit_free_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, bl, &clrtype);
+ retVal___ = postHookFunc(retVal___, bl, clrtype);
}
}
return retVal___;
@@ -79134,10 +79134,10 @@ void HP_vending_init(bool minimal) {
HPMHooks.source.vending.init(minimal);
}
if( HPMHooks.count.HP_vending_init_post ) {
- void (*postHookFunc) (bool *minimal);
+ void (*postHookFunc) (bool minimal);
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_init_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_vending_init_post[hIndex].func;
- postHookFunc(&minimal);
+ postHookFunc(minimal);
}
}
return;
@@ -79212,10 +79212,10 @@ void HP_vending_open(struct map_session_data *sd, const char *message, const uin
HPMHooks.source.vending.open(sd, message, data, count);
}
if( HPMHooks.count.HP_vending_open_post ) {
- void (*postHookFunc) (struct map_session_data *sd, const char *message, const uint8 *data, int *count);
+ void (*postHookFunc) (struct map_session_data *sd, const char *message, const uint8 *data, int count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_open_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_vending_open_post[hIndex].func;
- postHookFunc(sd, message, data, &count);
+ postHookFunc(sd, message, data, count);
}
}
return;
@@ -79238,10 +79238,10 @@ void HP_vending_list(struct map_session_data *sd, unsigned int id) {
HPMHooks.source.vending.list(sd, id);
}
if( HPMHooks.count.HP_vending_list_post ) {
- void (*postHookFunc) (struct map_session_data *sd, unsigned int *id);
+ void (*postHookFunc) (struct map_session_data *sd, unsigned int id);
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_list_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_vending_list_post[hIndex].func;
- postHookFunc(sd, &id);
+ postHookFunc(sd, id);
}
}
return;
@@ -79264,10 +79264,10 @@ void HP_vending_purchase(struct map_session_data *sd, int aid, unsigned int uid,
HPMHooks.source.vending.purchase(sd, aid, uid, data, count);
}
if( HPMHooks.count.HP_vending_purchase_post ) {
- void (*postHookFunc) (struct map_session_data *sd, int *aid, unsigned int *uid, const uint8 *data, int *count);
+ void (*postHookFunc) (struct map_session_data *sd, int aid, unsigned int uid, const uint8 *data, int count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_purchase_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_vending_purchase_post[hIndex].func;
- postHookFunc(sd, &aid, &uid, data, &count);
+ postHookFunc(sd, aid, uid, data, count);
}
}
return;
@@ -79291,10 +79291,10 @@ bool HP_vending_search(struct map_session_data *sd, unsigned short nameid) {
retVal___ = HPMHooks.source.vending.search(sd, nameid);
}
if( HPMHooks.count.HP_vending_search_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned short *nameid);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, unsigned short nameid);
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_search_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_vending_search_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &nameid);
+ retVal___ = postHookFunc(retVal___, sd, nameid);
}
}
return retVal___;