diff --git a/Makefile b/Makefile index 099c25d..955266e 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ CFLAGS := -Wall -O2 \ CFLAGS += $(INCLUDE) -DSWITCH -CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -fpermissive -Wno-parentheses -Wno-write-strings -Wno-pointer-arith -std=gnu++11 +CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -fpermissive -Wno-parentheses -Wno-write-strings -Wno-pointer-arith -Wno-int-to-pointer-cast -std=gnu++11 ASFLAGS := -g $(ARCH) LDFLAGS = -specs=$(TOPDIR)/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) diff --git a/source/acmd_wrapper.hpp b/source/acmd_wrapper.hpp index 9ba704e..69fcb01 100644 --- a/source/acmd_wrapper.hpp +++ b/source/acmd_wrapper.hpp @@ -3,8 +3,11 @@ #include -#include "acmd_imports.hpp" -#include "l2c_imports.hpp" +#include "imports/app/sv_animcmd.hpp" +#include "imports/app/sv_system.hpp" +#include "imports/app/sv_math.hpp" +#include "imports/app/lua_bind.hpp" +#include "imports/lib/l2c.hpp" #include @@ -19,84 +22,9 @@ void* load_module_impl(u64 module, u64 function_offset) { return (void*) LOAD64(function_impl); } -namespace app::sv_math { - int rand(u64, int) asm("_ZN3app7sv_math4randEN3phx6Hash40Ei") LINKABLE; -} - -namespace app::sv_system { - u64 battle_object(u64) asm("_ZN3app9sv_system13battle_objectEP9lua_State") LINKABLE; - u64 battle_object_module_accessor(u64) asm("_ZN3app9sv_system29battle_object_module_accessorEP9lua_State") LINKABLE; - u8 battle_object_category(u64) asm("_ZN3app9sv_system22battle_object_categoryEP9lua_State") LINKABLE; - int battle_object_kind(u64) asm("_ZN3app9sv_system18battle_object_kindEP9lua_State") LINKABLE; -} - -namespace app::lua_bind { - namespace AttackModule { - void clear_all(u64) asm("_ZN3app8lua_bind28AttackModule__clear_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; - } - - namespace ControlModule { - bool check_button_on(u64, int) asm("_ZN3app8lua_bind35ControlModule__check_button_on_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; - bool check_button_trigger(u64, int) asm("_ZN3app8lua_bind40ControlModule__check_button_trigger_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; - } - - namespace DamageModule { - float damage(u64, int) asm("_ZN3app8lua_bind25DamageModule__damage_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; - void add_damage(u64, float, int) asm("_ZN3app8lua_bind29DamageModule__add_damage_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; - } - - namespace EffectModule { - // boma, effect, joint, pos, rot, size, random_pos, random_rot, NO_SCALE?, attr?, unkint1, unkint2 - uint req_on_joint(u64, u64, u64, const Vector3f*, const Vector3f*, float a6, const Vector3f*, const Vector3f*, bool, uint, int, int) - asm("_ZN3app8lua_bind31EffectModule__req_on_joint_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ES4_RKNS3_8Vector3fES7_fS7_S7_bjii") LINKABLE; - - void kill_kind(u64, u64, bool, bool) asm("_ZN3app8lua_bind28EffectModule__kill_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ebb") LINKABLE; - } - - namespace FighterManager { - u64 get_fighter_information(u64, int) asm("_ZN3app8lua_bind44FighterManager__get_fighter_information_implEPNS_14FighterManagerENS_14FighterEntryIDE") LINKABLE; - } - - namespace FighterInformation { - bool is_operation_cpu(u64) asm("_ZN3app8lua_bind41FighterInformation__is_operation_cpu_implEPNS_18FighterInformationE") LINKABLE; - } - - namespace FighterStatusModuleImpl { - u64 set_fighter_status_data(u64,bool,int,bool,bool,bool,u64,uint,uint,uint) asm("_ZN3app8lua_bind53FighterStatusModuleImpl__set_fighter_status_data_implEPNS_26BattleObjectModuleAccessorEbibbbmjjj") LINKABLE; - } - - namespace MotionModule { - float frame(u64) asm("_ZN3app8lua_bind24MotionModule__frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; - u64 motion_kind(u64) asm("_ZN3app8lua_bind30MotionModule__motion_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; - } - - namespace PostureModule { - float lr(u64) asm("_ZN3app8lua_bind22PostureModule__lr_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; - void set_lr(u64, float) asm("_ZN3app8lua_bind26PostureModule__set_lr_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; - float pos_x(u64) asm("_ZN3app8lua_bind25PostureModule__pos_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; - float pos_y(u64) asm("_ZN3app8lua_bind25PostureModule__pos_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; - void set_pos(u64, const Vector3f*) asm("_ZN3app8lua_bind27PostureModule__set_pos_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fE") LINKABLE; - } - - namespace StatusModule { - u64 change_status_request_from_script(u64, int, bool) asm("_ZN3app8lua_bind52StatusModule__change_status_request_from_script_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; - int status_kind(u64) asm("_ZN3app8lua_bind30StatusModule__status_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; - int situation_kind(u64) asm("_ZN3app8lua_bind33StatusModule__situation_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; - u64 set_situation_kind(u64,int,bool) asm("_ZN3app8lua_bind37StatusModule__set_situation_kind_implEPNS_26BattleObjectModuleAccessorENS_13SituationKindEb") LINKABLE; - u64 init_settings(u64,int,int,uint,int,bool,int,int,int,int) asm("_ZN3app8lua_bind32StatusModule__init_settings_implEPNS_26BattleObjectModuleAccessorENS_13SituationKindEijNS_20GroundCliffCheckKindEbiiii") LINKABLE; - } - - namespace WorkModule { - float get_float(u64, int) asm("_ZN3app8lua_bind26WorkModule__get_float_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; - bool get_int(u64, int) asm("_ZN3app8lua_bind24WorkModule__get_int_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; // this function must return a bool, otherwise Pokemon Trainer fails to load - void inc_int(u64, int) asm("_ZN3app8lua_bind24WorkModule__inc_int_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; - float get_param_float(u64, u64, u64) asm("_ZN3app8lua_bind32WorkModule__get_param_float_implEPNS_26BattleObjectModuleAccessorEmm") LINKABLE; - int get_param_int(u64, u64, u64) asm("_ZN3app8lua_bind30WorkModule__get_param_int_implEPNS_26BattleObjectModuleAccessorEmm") LINKABLE; - void on_flag(u64, int) asm("_ZN3app8lua_bind24WorkModule__on_flag_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; - void off_flag(u64, int) asm("_ZN3app8lua_bind25WorkModule__off_flag_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; - float set_float(u64, float, int) asm("_ZN3app8lua_bind26WorkModule__set_float_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; - int set_int(u64, int, int) asm("_ZN3app8lua_bind24WorkModule__set_int_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; - } +bool is_before_frame(u64 lua_state, float f) { + u64 acmd_frame_obj = LOAD64(LOAD64(lua_state - 8) + 432LL); + return *(float*)((*((u32 *)acmd_frame_obj + 64) + 15) & 0xFFFFFFF0) < f; } struct ACMD { @@ -116,6 +44,48 @@ struct ACMD { l2c_agent->clear_lua_stack(); } + // attempted reimplementation of sv_animcmd::frame + bool _frame(float f) { + u64 acmd_obj = LOAD64(LOAD64(l2c_agent->lua_state_agent - 8) + 432); + if ( !is_before_frame(l2c_agent->lua_state_agent, f) ) + return true; + + *(u8*)(acmd_obj + 47) = 3; + LOAD64(acmd_obj + 48) = (u64)&is_before_frame; + *(float*)(acmd_obj + 56) = f; + + u64 acmd_obj_other = LOAD64(acmd_obj); + if (*(u8*)(acmd_obj_other + 664)) { + void (*some_func)(u64) = (void (*)(u64)) LOAD64(LOAD64(LOAD64(acmd_obj_other + 656)) + 16); + some_func(LOAD64(acmd_obj_other + 656)); + return true; + } + + bool doThing = false; + + if ( !*(u16*)(l2c_agent->lua_state_agent + 196)) { + u64 v4 = LOAD64(l2c_agent->lua_state_agent + 32); + *(u8*)(l2c_agent->lua_state_agent + 12) = 1; + LOAD64(v4 + 56) = LOAD64(v4) - LOAD64(l2c_agent->lua_state_agent + 56); + if ( *(u8*)(v4 + 66) & 2) + return true; + doThing = true; + } + + + if ( doThing || LOAD64(LOAD64(l2c_agent->lua_state_agent + 24) + 200) == l2c_agent->lua_state_agent) { + // throw + u64 v4 = LOAD64(l2c_agent->lua_state_agent + 32); + LOAD64(v4 + 32) = 0; + LOAD64(v4) = LOAD64(l2c_agent->lua_state_agent + 16) - 16; + + } + + return false; + + // throw + } + void wait(float f) { l2c_agent->clear_lua_stack(); L2CValue frame_val(f); @@ -138,6 +108,7 @@ struct ACMD { l2c_agent->clear_lua_stack(); for (L2CValue elem : list) l2c_agent->push_lua_stack(&elem); + acmd_func(l2c_agent->lua_state_agent); l2c_agent->clear_lua_stack(); } @@ -165,7 +136,7 @@ struct ACMD { u64 i9, // Fixed Weight u64 i10, // Shield Damage float f8, // Trip Chance - u64 i11, // Rehit Rate + u64 i11, // Rehite Rate u64 i12, // Reflectable u64 i13, // Absorbable u64 i14, // Flinchless @@ -183,11 +154,11 @@ struct ACMD { L2CValue(i1), L2CValue(i2), L2CValue(h1), L2CValue(f1), L2CValue(i3), L2CValue(i4), L2CValue(i5), L2CValue(i6), L2CValue(f2), L2CValue(f3), L2CValue(f4), L2CValue(f5), - L2CValue(), L2CValue(), L2CValue(), L2CValue(f6), + L2CValue("void"), L2CValue("void"), L2CValue("void"), L2CValue(f6), L2CValue(f7), L2CValue(i7), L2CValue(i8), L2CValue(i9), L2CValue(i10), L2CValue(f8), L2CValue(i11), L2CValue(i12), L2CValue(i13), L2CValue(i14), L2CValue(i15), L2CValue(i16), - L2CValue(i17), L2CValue(i18), L2CValue(i19), L2CValue(i20), + L2CValue(i17), L2CValue(i18), L2CValue(i19), L2CValue(i20), L2CValue(h2), L2CValue(i21), L2CValue(i22), L2CValue(i23) }); } @@ -215,7 +186,7 @@ struct ACMD { u64 i9, // Fixed Weight u64 i10, // Shield Damage float f8, // Trip Chance - u64 i11, // Rehit Rate + u64 i11, // Rehite Rate u64 i12, // Reflectable u64 i13, // Absorbable u64 i14, // Flinchless @@ -237,7 +208,7 @@ struct ACMD { L2CValue(f7), L2CValue(i7), L2CValue(i8), L2CValue(i9), L2CValue(i10), L2CValue(f8), L2CValue(i11), L2CValue(i12), L2CValue(i13), L2CValue(i14), L2CValue(i15), L2CValue(i16), - L2CValue(i17), L2CValue(i18), L2CValue(i19), L2CValue(i20), + L2CValue(i17), L2CValue(i18), L2CValue(i19), L2CValue(i20), L2CValue(h2), L2CValue(i21), L2CValue(i22), L2CValue(i23) }); } diff --git a/source/hitbox_visualizer.hpp b/source/hitbox_visualizer.hpp index beadd6e..37ce1e6 100644 --- a/source/hitbox_visualizer.hpp +++ b/source/hitbox_visualizer.hpp @@ -1,14 +1,16 @@ +#ifndef HITBOX_VISUALIZER_H +#define HITBOX_VISUALIZER_H + #include -#include "useful.h" -#include "useful_visual.h" +#include "useful/useful.h" +#include "useful/visual.h" -#include "l2c_imports.hpp" +#include "imports/lib/l2c.hpp" #include "acmd_wrapper.hpp" -#include "saltysd_helper.hpp" -#include "const_value_table.h" +#include "saltysd/saltysd_helper.hpp" +#include "useful/const_value_table.h" #include "taunt_toggles.h" -#include "raygun_printer.hpp" using namespace lib; using namespace app::lua_bind; @@ -264,3 +266,5 @@ void hitbox_vis_main() { "_ZN3app8lua_bind28GrabModule__set_rebound_implEPNS_26BattleObjectModuleAccessorEb", (u64)&GrabModule::set_rebound_replace); } + +#endif // HITBOX_VISUALIZER_H diff --git a/source/imports/app/lua_bind.hpp b/source/imports/app/lua_bind.hpp new file mode 100644 index 0000000..2898f7b --- /dev/null +++ b/source/imports/app/lua_bind.hpp @@ -0,0 +1,60 @@ +#pragma once + +#include "lua_bind/MotionModule.hpp" +#include "lua_bind/ControlModule.hpp" +#include "lua_bind/CancelModule.hpp" +#include "lua_bind/EffectModule.hpp" +#include "lua_bind/WorkModule.hpp" +#include "lua_bind/StatusModule.hpp" +#include "lua_bind/KineticModule.hpp" +#include "lua_bind/JostleModule.hpp" +#include "lua_bind/GroundModule.hpp" +#include "lua_bind/GrabModule.hpp" +#include "lua_bind/DamageModule.hpp" +#include "lua_bind/CatchModule.hpp" +#include "lua_bind/CaptureModule.hpp" +#include "lua_bind/PostureModule.hpp" +#include "lua_bind/ArticleModule.hpp" +#include "lua_bind/ColorBlendModule.hpp" +#include "lua_bind/SoundModule.hpp" +#include "lua_bind/StopModule.hpp" +#include "lua_bind/ShakeModule.hpp" +#include "lua_bind/ShieldModule.hpp" +#include "lua_bind/SlopeModule.hpp" +#include "lua_bind/SlopeModule.hpp" +#include "lua_bind/ShadowModule.hpp" +#include "lua_bind/SlowModule.hpp" +#include "lua_bind/TurnModule.hpp" +#include "lua_bind/VisibilityModule.hpp" +#include "lua_bind/TeamModule.hpp" +#include "lua_bind/SearchModule.hpp" +#include "lua_bind/ReflectorModule.hpp" +#include "lua_bind/ReflectModule.hpp" +#include "lua_bind/PhysicsModule.hpp" +#include "lua_bind/MotionAnimcmdModule.hpp" +#include "lua_bind/ModelModule.hpp" +#include "lua_bind/ItemModule.hpp" +#include "lua_bind/InkPaintModule.hpp" +#include "lua_bind/HitModule.hpp" +#include "lua_bind/ComboModule.hpp" +#include "lua_bind/CameraModule.hpp" +#include "lua_bind/AttackModule.hpp" +#include "lua_bind/AreaModule.hpp" +#include "lua_bind/AbsorberModule.hpp" + +#include "lua_bind/FighterWorkModuleImpl.hpp" +#include "lua_bind/FighterStopModuleImpl.hpp" +#include "lua_bind/FighterStatusModuleImpl.hpp" +#include "lua_bind/FighterMotionModuleImpl.hpp" +#include "lua_bind/FighterControlModuleImpl.hpp" +#include "lua_bind/FighterAreaModuleImpl.hpp" + +namespace app::lua_bind { + namespace FighterManager { + u64 get_fighter_information(u64, int) asm("_ZN3app8lua_bind44FighterManager__get_fighter_information_implEPNS_14FighterManagerENS_14FighterEntryIDE") LINKABLE; + } + + namespace FighterInformation { + bool is_operation_cpu(u64) asm("_ZN3app8lua_bind41FighterInformation__is_operation_cpu_implEPNS_18FighterInformationE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/AbsorberModule.hpp b/source/imports/app/lua_bind/AbsorberModule.hpp new file mode 100644 index 0000000..0060a5e --- /dev/null +++ b/source/imports/app/lua_bind/AbsorberModule.hpp @@ -0,0 +1,7 @@ +#pragma once + +namespace app::lua_bind { + namespace AbsorberModule { + u64 set_status(u64,int,int shieldStatus,int) asm("_ZN3app8lua_bind31AbsorberModule__set_status_implEPNS_26BattleObjectModuleAccessorEiNS_12ShieldStatusEi") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/AreaModule.hpp b/source/imports/app/lua_bind/AreaModule.hpp new file mode 100644 index 0000000..ff37e01 --- /dev/null +++ b/source/imports/app/lua_bind/AreaModule.hpp @@ -0,0 +1,26 @@ +#pragma once + +namespace app::lua_bind { + namespace AreaModule { + u64 enable_area(u64,int,bool,int) asm("_ZN3app8lua_bind28AreaModule__enable_area_implEPNS_26BattleObjectModuleAccessorEibi") LINKABLE; + u64 erase_wind(u64,int) asm("_ZN3app8lua_bind27AreaModule__erase_wind_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_area_contact_count(u64,int) asm("_ZN3app8lua_bind39AreaModule__get_area_contact_count_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_area_contact_log(u64,int,int) asm("_ZN3app8lua_bind37AreaModule__get_area_contact_log_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 get_area_contact_target_id(u64,int,int) asm("_ZN3app8lua_bind43AreaModule__get_area_contact_target_id_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 get_water_surface_y(u64) asm("_ZN3app8lua_bind36AreaModule__get_water_surface_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_water_task_id(u64) asm("_ZN3app8lua_bind34AreaModule__get_water_task_id_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_enable_area(u64,int) asm("_ZN3app8lua_bind31AreaModule__is_enable_area_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_exist_area_instance(u64,int) asm("_ZN3app8lua_bind39AreaModule__is_exist_area_instance_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_water(u64) asm("_ZN3app8lua_bind25AreaModule__is_water_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 layer(u64,int) asm("_ZN3app8lua_bind22AreaModule__layer_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 reset_area(u64,int) asm("_ZN3app8lua_bind27AreaModule__reset_area_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_area_shape_aabb(u64,int,const Vector2f*,const Vector2f*) asm("_ZN3app8lua_bind36AreaModule__set_area_shape_aabb_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector2fES6_") LINKABLE; + u64 set_area_shape_circle(u64,int,const Vector2f*,float) asm("_ZN3app8lua_bind38AreaModule__set_area_shape_circle_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector2fEf") LINKABLE; + u64 set_area_shape_type(u64,int,unsigned char) asm("_ZN3app8lua_bind36AreaModule__set_area_shape_type_implEPNS_26BattleObjectModuleAccessorEih") LINKABLE; + u64 set_auto_layer_update(u64,bool) asm("_ZN3app8lua_bind38AreaModule__set_auto_layer_update_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_center_x0(u64,int,bool) asm("_ZN3app8lua_bind30AreaModule__set_center_x0_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_layer(u64,int,int) asm("_ZN3app8lua_bind26AreaModule__set_layer_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 set_whole(u64,bool) asm("_ZN3app8lua_bind26AreaModule__set_whole_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 sleep(u64,bool) asm("_ZN3app8lua_bind22AreaModule__sleep_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ArticleModule.hpp b/source/imports/app/lua_bind/ArticleModule.hpp new file mode 100644 index 0000000..9e29197 --- /dev/null +++ b/source/imports/app/lua_bind/ArticleModule.hpp @@ -0,0 +1,38 @@ +#pragma once + +namespace app::lua_bind { + namespace ArticleModule { + u64 add_motion_2nd(u64,int,u64,float,float,bool,float) asm("_ZN3app8lua_bind34ArticleModule__add_motion_2nd_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40Effbf") LINKABLE; + u64 add_motion_partial(u64,int,int,u64,float,float,bool,bool,float,bool,bool,bool) asm("_ZN3app8lua_bind38ArticleModule__add_motion_partial_implEPNS_26BattleObjectModuleAccessorEiiN3phx6Hash40Effbbfbbb") LINKABLE; + u64 change_motion(u64,int,u64,bool,float) asm("_ZN3app8lua_bind33ArticleModule__change_motion_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40Ebf") LINKABLE; + u64 change_status(u64,int,int,int articleOperationTarget) asm("_ZN3app8lua_bind33ArticleModule__change_status_implEPNS_26BattleObjectModuleAccessorEiiNS_22ArticleOperationTargetE") LINKABLE; + u64 change_status_exist(u64,int,int) asm("_ZN3app8lua_bind39ArticleModule__change_status_exist_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 generate_article(u64,int,bool,int) asm("_ZN3app8lua_bind36ArticleModule__generate_article_implEPNS_26BattleObjectModuleAccessorEibi") LINKABLE; + u64 generate_article_enable(u64,int,bool,int) asm("_ZN3app8lua_bind43ArticleModule__generate_article_enable_implEPNS_26BattleObjectModuleAccessorEibi") LINKABLE; + u64 generate_article_have_item(u64,int,int,u64) asm("_ZN3app8lua_bind46ArticleModule__generate_article_have_item_implEPNS_26BattleObjectModuleAccessorEiiN3phx6Hash40E") LINKABLE; + u64 get_active_num(u64,int) asm("_ZN3app8lua_bind34ArticleModule__get_active_num_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_article(u64,int) asm("_ZN3app8lua_bind31ArticleModule__get_article_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_joint_pos(u64,int,u64,int articleOperationTarget) asm("_ZN3app8lua_bind33ArticleModule__get_joint_pos_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40ENS_22ArticleOperationTargetE") LINKABLE; + u64 get_joint_rotate(u64,int,u64,int articleOperationTarget) asm("_ZN3app8lua_bind36ArticleModule__get_joint_rotate_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40ENS_22ArticleOperationTargetE") LINKABLE; + u64 have(u64,int,u64,int articleOperationTarget,uint,bool) asm("_ZN3app8lua_bind24ArticleModule__have_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40ENS_22ArticleOperationTargetEjb") LINKABLE; + bool is_exist(u64,int) asm("_ZN3app8lua_bind28ArticleModule__is_exist_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_generatable(u64,int) asm("_ZN3app8lua_bind34ArticleModule__is_generatable_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 motion_kind(u64,int,int articleOperationTarget) asm("_ZN3app8lua_bind31ArticleModule__motion_kind_implEPNS_26BattleObjectModuleAccessorEiNS_22ArticleOperationTargetE") LINKABLE; + u64 motion_kind_2nd(u64,int,int articleOperationTarget) asm("_ZN3app8lua_bind35ArticleModule__motion_kind_2nd_implEPNS_26BattleObjectModuleAccessorEiNS_22ArticleOperationTargetE") LINKABLE; + u64 remove(u64,int,int articleOperationTarget) asm("_ZN3app8lua_bind26ArticleModule__remove_implEPNS_26BattleObjectModuleAccessorEiNS_22ArticleOperationTargetE") LINKABLE; + u64 remove_exist(u64,int,int articleOperationTarget) asm("_ZN3app8lua_bind32ArticleModule__remove_exist_implEPNS_26BattleObjectModuleAccessorEiNS_22ArticleOperationTargetE") LINKABLE; + u64 remove_exist_object_id(u64,uint) asm("_ZN3app8lua_bind42ArticleModule__remove_exist_object_id_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 set_flag(u64,int,bool,int) asm("_ZN3app8lua_bind28ArticleModule__set_flag_implEPNS_26BattleObjectModuleAccessorEibi") LINKABLE; + u64 set_float(u64,int,float,int) asm("_ZN3app8lua_bind29ArticleModule__set_float_implEPNS_26BattleObjectModuleAccessorEifi") LINKABLE; + u64 set_frame(u64,int,float) asm("_ZN3app8lua_bind29ArticleModule__set_frame_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_frame_2nd(u64,int,float,bool) asm("_ZN3app8lua_bind33ArticleModule__set_frame_2nd_implEPNS_26BattleObjectModuleAccessorEifb") LINKABLE; + u64 set_item_action(u64,int,int,float) asm("_ZN3app8lua_bind35ArticleModule__set_item_action_implEPNS_26BattleObjectModuleAccessorEiif") LINKABLE; + u64 set_pos(u64,int,Vector3f) asm("_ZN3app8lua_bind27ArticleModule__set_pos_implEPNS_26BattleObjectModuleAccessorEiN3phx8Vector3fE") LINKABLE; + u64 set_rate(u64,int,float) asm("_ZN3app8lua_bind28ArticleModule__set_rate_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_visibility(u64,int,u64,u64,int articleOperationTarget) asm("_ZN3app8lua_bind34ArticleModule__set_visibility_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40ES4_NS_22ArticleOperationTargetE") LINKABLE; + u64 set_visibility_whole(u64,int,bool,int articleOperationTarget) asm("_ZN3app8lua_bind40ArticleModule__set_visibility_whole_implEPNS_26BattleObjectModuleAccessorEibNS_22ArticleOperationTargetE") LINKABLE; + u64 set_weight(u64,int,float,bool) asm("_ZN3app8lua_bind30ArticleModule__set_weight_implEPNS_26BattleObjectModuleAccessorEifb") LINKABLE; + u64 shoot(u64,int,int articleOperationTarget,bool) asm("_ZN3app8lua_bind25ArticleModule__shoot_implEPNS_26BattleObjectModuleAccessorEiNS_22ArticleOperationTargetEb") LINKABLE; + u64 shoot_exist(u64,int,int articleOperationTarget,bool) asm("_ZN3app8lua_bind31ArticleModule__shoot_exist_implEPNS_26BattleObjectModuleAccessorEiNS_22ArticleOperationTargetEb") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/AttackModule.hpp b/source/imports/app/lua_bind/AttackModule.hpp new file mode 100644 index 0000000..62d8a6b --- /dev/null +++ b/source/imports/app/lua_bind/AttackModule.hpp @@ -0,0 +1,109 @@ +#pragma once + +namespace app::lua_bind { + namespace AttackModule { + u64 add_power(u64,int,float,bool) asm("_ZN3app8lua_bind28AttackModule__add_power_implEPNS_26BattleObjectModuleAccessorEifb") LINKABLE; + u64 attack_data(u64,int,bool) asm("_ZN3app8lua_bind30AttackModule__attack_data_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + void clear(u64,int,bool) asm("_ZN3app8lua_bind24AttackModule__clear_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + void clear_all(u64) asm("_ZN3app8lua_bind28AttackModule__clear_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + void clear_inflict_kind_status(u64) asm("_ZN3app8lua_bind44AttackModule__clear_inflict_kind_status_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 enable_safe_pos(u64) asm("_ZN3app8lua_bind34AttackModule__enable_safe_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_attacker_attribute(u64) asm("_ZN3app8lua_bind41AttackModule__get_attacker_attribute_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_offset2(u64,int,bool) asm("_ZN3app8lua_bind30AttackModule__get_offset2_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 get_power(u64,int,bool,float,bool) asm("_ZN3app8lua_bind28AttackModule__get_power_implEPNS_26BattleObjectModuleAccessorEibfb") LINKABLE; + u64 get_power_up(u64) asm("_ZN3app8lua_bind31AttackModule__get_power_up_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 group(u64,int) asm("_ZN3app8lua_bind24AttackModule__group_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 hit_absolute(u64,int,uint,const Vector3f*,int,int) asm("_ZN3app8lua_bind31AttackModule__hit_absolute_implEPNS_26BattleObjectModuleAccessorEijRKN3phx8Vector3fEii") LINKABLE; + u64 hit_absolute_joint(u64,int,uint,u64,int,int) asm("_ZN3app8lua_bind37AttackModule__hit_absolute_joint_implEPNS_26BattleObjectModuleAccessorEijN3phx6Hash40Eii") LINKABLE; + u64 init_attack_pos(u64,int) asm("_ZN3app8lua_bind34AttackModule__init_attack_pos_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 is_attack(u64,int,bool) asm("_ZN3app8lua_bind28AttackModule__is_attack_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 is_attack_occur(u64) asm("_ZN3app8lua_bind34AttackModule__is_attack_occur_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_hit_abs(u64) asm("_ZN3app8lua_bind29AttackModule__is_hit_abs_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_infliction(u64,uint) asm("_ZN3app8lua_bind32AttackModule__is_infliction_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 is_infliction_status(u64,uint) asm("_ZN3app8lua_bind39AttackModule__is_infliction_status_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 off_target_kind(u64,int,uint) asm("_ZN3app8lua_bind34AttackModule__off_target_kind_implEPNS_26BattleObjectModuleAccessorEij") LINKABLE; + u64 part_size(u64) asm("_ZN3app8lua_bind28AttackModule__part_size_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 power_mul_5th(u64) asm("_ZN3app8lua_bind32AttackModule__power_mul_5th_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 power_mul_status(u64) asm("_ZN3app8lua_bind35AttackModule__power_mul_status_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + // u64 set_absolute(u64,int,int,app::AttackAbsoluteData const&) asm("_ZN3app8lua_bind31AttackModule__set_absolute_implEPNS_26BattleObjectModuleAccessorEiiRKNS_18AttackAbsoluteDataE") LINKABLE; + u64 set_accept_no_lr(u64,int,bool) asm("_ZN3app8lua_bind35AttackModule__set_accept_no_lr_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_add_reaction_frame(u64,int,float,bool) asm("_ZN3app8lua_bind41AttackModule__set_add_reaction_frame_implEPNS_26BattleObjectModuleAccessorEifb") LINKABLE; + // u64 set_attack(u64,int,int,app::AttackData const&) asm("_ZN3app8lua_bind29AttackModule__set_attack_implEPNS_26BattleObjectModuleAccessorEiiRKNS_10AttackDataE") LINKABLE; + u64 set_attack_2(u64,int,int) asm("_ZN3app8lua_bind31AttackModule__set_attack_2_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 set_attack_composition_speed(u64,int,bool) asm("_ZN3app8lua_bind47AttackModule__set_attack_composition_speed_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_attack_height_all(u64,int attackHeight,bool) asm("_ZN3app8lua_bind40AttackModule__set_attack_height_all_implEPNS_26BattleObjectModuleAccessorENS_12AttackHeightEb") LINKABLE; + u64 set_attack_keep_rumble(u64,int,bool) asm("_ZN3app8lua_bind41AttackModule__set_attack_keep_rumble_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_attack_level(u64,int,unsigned char) asm("_ZN3app8lua_bind35AttackModule__set_attack_level_implEPNS_26BattleObjectModuleAccessorEih") LINKABLE; + u64 set_attack_reference_joint_id(u64,u64,int attackDirectionAxis1,int attackDirectionAxis2,int attackDirectionAxis3) asm("_ZN3app8lua_bind48AttackModule__set_attack_reference_joint_id_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ENS_19AttackDirectionAxisES5_S5_") LINKABLE; + u64 set_attack_scale(u64,float,bool) asm("_ZN3app8lua_bind35AttackModule__set_attack_scale_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + // u64 set_attacker_attribute(u64,app::AttackerAttribute) asm("_ZN3app8lua_bind41AttackModule__set_attacker_attribute_implEPNS_26BattleObjectModuleAccessorENS_17AttackerAttributeE") LINKABLE; + u64 set_base_offset(u64,const Vector2f*) asm("_ZN3app8lua_bind34AttackModule__set_base_offset_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fE") LINKABLE; + u64 set_captured_same_time_attack(u64,int,bool) asm("_ZN3app8lua_bind48AttackModule__set_captured_same_time_attack_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_catch_only(u64,int,bool,bool) asm("_ZN3app8lua_bind33AttackModule__set_catch_only_implEPNS_26BattleObjectModuleAccessorEibb") LINKABLE; + u64 set_catch_only_all(u64,bool,bool) asm("_ZN3app8lua_bind37AttackModule__set_catch_only_all_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 set_constraint_pos(u64,bool) asm("_ZN3app8lua_bind37AttackModule__set_constraint_pos_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_critical_attack_damage_mul(u64,float) asm("_ZN3app8lua_bind49AttackModule__set_critical_attack_damage_mul_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_critical_attack_reaction_mul(u64,float) asm("_ZN3app8lua_bind51AttackModule__set_critical_attack_reaction_mul_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_customize_attack_ratio(u64,float) asm("_ZN3app8lua_bind45AttackModule__set_customize_attack_ratio_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_damage_effect_mul_scale(u64,float) asm("_ZN3app8lua_bind46AttackModule__set_damage_effect_mul_scale_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_damage_shake_scale(u64,float) asm("_ZN3app8lua_bind41AttackModule__set_damage_shake_scale_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_final_finish_cut_in(u64,int,bool,bool,float,bool) asm("_ZN3app8lua_bind42AttackModule__set_final_finish_cut_in_implEPNS_26BattleObjectModuleAccessorEibbfb") LINKABLE; + u64 set_force_reaction(u64,int,bool,bool) asm("_ZN3app8lua_bind37AttackModule__set_force_reaction_implEPNS_26BattleObjectModuleAccessorEibb") LINKABLE; + u64 set_ignore_just_shield(u64,bool) asm("_ZN3app8lua_bind41AttackModule__set_ignore_just_shield_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_indirect_info(u64,uint,int,bool,bool) asm("_ZN3app8lua_bind36AttackModule__set_indirect_info_implEPNS_26BattleObjectModuleAccessorEjibb") LINKABLE; + u64 set_ink_value(u64,int,float) asm("_ZN3app8lua_bind32AttackModule__set_ink_value_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_invalid_invincible(u64,int,bool) asm("_ZN3app8lua_bind41AttackModule__set_invalid_invincible_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_invalid_xlu(u64,int,bool) asm("_ZN3app8lua_bind34AttackModule__set_invalid_xlu_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_is_critical_attack(u64,bool) asm("_ZN3app8lua_bind41AttackModule__set_is_critical_attack_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_lerp(u64,int,int,int) asm("_ZN3app8lua_bind27AttackModule__set_lerp_implEPNS_26BattleObjectModuleAccessorEiii") LINKABLE; + u64 set_lerp_ratio(u64,float,int) asm("_ZN3app8lua_bind33AttackModule__set_lerp_ratio_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 set_lr_check_back(u64,int) asm("_ZN3app8lua_bind36AttackModule__set_lr_check_back_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_lr_check_front(u64,int) asm("_ZN3app8lua_bind37AttackModule__set_lr_check_front_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_lr_check_front_lr(u64,int) asm("_ZN3app8lua_bind40AttackModule__set_lr_check_front_lr_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_nearest(u64,int,bool) asm("_ZN3app8lua_bind30AttackModule__set_nearest_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_no_damage_fly_smoke_all(u64,bool,bool) asm("_ZN3app8lua_bind46AttackModule__set_no_damage_fly_smoke_all_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 set_no_damage_orbit_all(u64,bool,bool) asm("_ZN3app8lua_bind42AttackModule__set_no_damage_orbit_all_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 set_no_dead_all(u64,bool,bool) asm("_ZN3app8lua_bind34AttackModule__set_no_dead_all_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 set_no_finish_camera(u64,int,bool,bool) asm("_ZN3app8lua_bind39AttackModule__set_no_finish_camera_implEPNS_26BattleObjectModuleAccessorEibb") LINKABLE; + u64 set_no_hop_opponent_all(u64,bool,bool) asm("_ZN3app8lua_bind42AttackModule__set_no_hop_opponent_all_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 set_no_squat_damage_reaction_mul(u64,int,bool,bool) asm("_ZN3app8lua_bind51AttackModule__set_no_squat_damage_reaction_mul_implEPNS_26BattleObjectModuleAccessorEibb") LINKABLE; + u64 set_no_team(u64,bool) asm("_ZN3app8lua_bind30AttackModule__set_no_team_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_no_uniq_effect_all(u64,bool,bool) asm("_ZN3app8lua_bind41AttackModule__set_no_uniq_effect_all_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 set_no_world_scale(u64,bool) asm("_ZN3app8lua_bind37AttackModule__set_no_world_scale_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_node(u64,int,u64) asm("_ZN3app8lua_bind27AttackModule__set_node_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40E") LINKABLE; + u64 set_offset(u64,int,const Vector3f*) asm("_ZN3app8lua_bind29AttackModule__set_offset_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector3fE") LINKABLE; + u64 set_offset2(u64,int,const Vector3f*) asm("_ZN3app8lua_bind30AttackModule__set_offset2_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector3fE") LINKABLE; + u64 set_optional_hit_effect(u64,int,u64) asm("_ZN3app8lua_bind42AttackModule__set_optional_hit_effect_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40E") LINKABLE; + u64 set_optional_hit_sound(u64,int,u64) asm("_ZN3app8lua_bind41AttackModule__set_optional_hit_sound_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40E") LINKABLE; + u64 set_overlap_hit(u64,bool) asm("_ZN3app8lua_bind34AttackModule__set_overlap_hit_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_poison_param(u64,int,int,int,float,bool) asm("_ZN3app8lua_bind35AttackModule__set_poison_param_implEPNS_26BattleObjectModuleAccessorEiiifb") LINKABLE; + u64 set_power(u64,int,float,bool) asm("_ZN3app8lua_bind28AttackModule__set_power_implEPNS_26BattleObjectModuleAccessorEifb") LINKABLE; + u64 set_power_add_status(u64,float) asm("_ZN3app8lua_bind39AttackModule__set_power_add_status_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_power_mul(u64,float) asm("_ZN3app8lua_bind32AttackModule__set_power_mul_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_power_mul_5th(u64,float) asm("_ZN3app8lua_bind36AttackModule__set_power_mul_5th_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_power_mul_status(u64,float) asm("_ZN3app8lua_bind39AttackModule__set_power_mul_status_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_power_speed_limit(u64,float) asm("_ZN3app8lua_bind40AttackModule__set_power_speed_limit_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_power_speed_status(u64,float) asm("_ZN3app8lua_bind41AttackModule__set_power_speed_status_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_power_up(u64,float) asm("_ZN3app8lua_bind31AttackModule__set_power_up_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_reaction_add(u64,int,int,bool) asm("_ZN3app8lua_bind35AttackModule__set_reaction_add_implEPNS_26BattleObjectModuleAccessorEiib") LINKABLE; + u64 set_reaction_effect(u64,int,int,bool) asm("_ZN3app8lua_bind38AttackModule__set_reaction_effect_implEPNS_26BattleObjectModuleAccessorEiib") LINKABLE; + u64 set_reaction_mul(u64,float) asm("_ZN3app8lua_bind35AttackModule__set_reaction_mul_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_reaction_mul_2nd(u64,float) asm("_ZN3app8lua_bind39AttackModule__set_reaction_mul_2nd_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_reaction_mul_3rd(u64,float) asm("_ZN3app8lua_bind39AttackModule__set_reaction_mul_3rd_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_reflect_attack(u64,bool) asm("_ZN3app8lua_bind37AttackModule__set_reflect_attack_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_serial_hit_frame(u64,int,uint) asm("_ZN3app8lua_bind39AttackModule__set_serial_hit_frame_implEPNS_26BattleObjectModuleAccessorEij") LINKABLE; + u64 set_set_off(u64,int,int attackSetOffKind) asm("_ZN3app8lua_bind30AttackModule__set_set_off_implEPNS_26BattleObjectModuleAccessorEiNS_16AttackSetOffKindE") LINKABLE; + u64 set_shield_stiff_mul(u64,float) asm("_ZN3app8lua_bind39AttackModule__set_shield_stiff_mul_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_size(u64,int,float) asm("_ZN3app8lua_bind27AttackModule__set_size_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_special_paint(u64,int,int specialPaintKind) asm("_ZN3app8lua_bind36AttackModule__set_special_paint_implEPNS_26BattleObjectModuleAccessorEiNS_16SpecialPaintKindE") LINKABLE; + u64 set_speed(u64,const Vector2f*) asm("_ZN3app8lua_bind28AttackModule__set_speed_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fE") LINKABLE; + u64 set_target_category(u64,int,uint) asm("_ZN3app8lua_bind38AttackModule__set_target_category_implEPNS_26BattleObjectModuleAccessorEij") LINKABLE; + u64 set_vec_target_pos(u64,int,u64,const Vector2f*,uint,bool) asm("_ZN3app8lua_bind37AttackModule__set_vec_target_pos_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40ERKNS3_8Vector2fEjb") LINKABLE; + u64 set_vector(u64,int,int,bool) asm("_ZN3app8lua_bind29AttackModule__set_vector_implEPNS_26BattleObjectModuleAccessorEiib") LINKABLE; + u64 set_whole(u64,int,bool) asm("_ZN3app8lua_bind28AttackModule__set_whole_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 shield_stiff_mul(u64) asm("_ZN3app8lua_bind35AttackModule__shield_stiff_mul_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 size(u64,int) asm("_ZN3app8lua_bind23AttackModule__size_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 sleep(u64,bool) asm("_ZN3app8lua_bind24AttackModule__sleep_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 sleep_partialy(u64,int,bool) asm("_ZN3app8lua_bind33AttackModule__sleep_partialy_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/CameraModule.hpp b/source/imports/app/lua_bind/CameraModule.hpp new file mode 100644 index 0000000..e928418 --- /dev/null +++ b/source/imports/app/lua_bind/CameraModule.hpp @@ -0,0 +1,37 @@ +#pragma once + +namespace app::lua_bind { + namespace CameraModule { + u64 add_camera_range_offset(u64,const Vector3f*,int) asm("_ZN3app8lua_bind42CameraModule__add_camera_range_offset_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEi") LINKABLE; + // u64 add_camera_range_rect(u64,lib::Rect const&,int) asm("_ZN3app8lua_bind40CameraModule__add_camera_range_rect_implEPNS_26BattleObjectModuleAccessorERKN3lib4RectEi") LINKABLE; + u64 end_final_zoom_out(u64) asm("_ZN3app8lua_bind37CameraModule__end_final_zoom_out_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 exit_being_carried(u64,int) asm("_ZN3app8lua_bind37CameraModule__exit_being_carried_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 exit_damage_fly(u64,int) asm("_ZN3app8lua_bind34CameraModule__exit_damage_fly_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 exit_run(u64,int) asm("_ZN3app8lua_bind27CameraModule__exit_run_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_camera_type_for_save(u64) asm("_ZN3app8lua_bind43CameraModule__get_camera_type_for_save_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_camera_view_volume_z0_rect(u64) asm("_ZN3app8lua_bind49CameraModule__get_camera_view_volume_z0_rect_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_internal_camera_target_pos(u64) asm("_ZN3app8lua_bind49CameraModule__get_internal_camera_target_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_main_camera_range(u64) asm("_ZN3app8lua_bind40CameraModule__get_main_camera_range_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_clip_in(u64,bool) asm("_ZN3app8lua_bind29CameraModule__is_clip_in_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 req_quake(u64,int) asm("_ZN3app8lua_bind28CameraModule__req_quake_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 req_quake_pos(u64,int,const Vector3f*) asm("_ZN3app8lua_bind32CameraModule__req_quake_pos_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector3fE") LINKABLE; + u64 reset_all(u64) asm("_ZN3app8lua_bind28CameraModule__reset_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_camera_range(u64,int) asm("_ZN3app8lua_bind37CameraModule__reset_camera_range_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 reset_main_camera_fov(u64) asm("_ZN3app8lua_bind40CameraModule__reset_main_camera_fov_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_being_carried(u64,int) asm("_ZN3app8lua_bind36CameraModule__set_being_carried_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_camera_range_offset(u64,const Vector3f*,int) asm("_ZN3app8lua_bind42CameraModule__set_camera_range_offset_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEi") LINKABLE; + u64 set_camera_type(u64,int) asm("_ZN3app8lua_bind34CameraModule__set_camera_type_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_damage_fly(u64,int) asm("_ZN3app8lua_bind33CameraModule__set_damage_fly_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_enable_camera(u64,bool,int) asm("_ZN3app8lua_bind36CameraModule__set_enable_camera_implEPNS_26BattleObjectModuleAccessorEbi") LINKABLE; + u64 set_enable_update_pos(u64,unsigned char,int) asm("_ZN3app8lua_bind40CameraModule__set_enable_update_pos_implEPNS_26BattleObjectModuleAccessorEhi") LINKABLE; + u64 set_priority(u64,unsigned char,int) asm("_ZN3app8lua_bind31CameraModule__set_priority_implEPNS_26BattleObjectModuleAccessorEhi") LINKABLE; + u64 set_run(u64,int) asm("_ZN3app8lua_bind26CameraModule__set_run_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_status(u64,int cameraStatus,int) asm("_ZN3app8lua_bind29CameraModule__set_status_implEPNS_26BattleObjectModuleAccessorENS_12CameraStatusEi") LINKABLE; + u64 set_whole(u64,bool) asm("_ZN3app8lua_bind28CameraModule__set_whole_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + // u64 start_final_zoom_out(u64,int,lib::Rect const&,const Vector3f*) asm("_ZN3app8lua_bind39CameraModule__start_final_zoom_out_implEPNS_26BattleObjectModuleAccessorEiRKN3lib4RectERKN3phx8Vector3fE") LINKABLE; + u64 stop_quake(u64,int) asm("_ZN3app8lua_bind29CameraModule__stop_quake_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 update_force(u64,int,const Vector3f*,const Vector3f*) asm("_ZN3app8lua_bind31CameraModule__update_force_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector3fES6_") LINKABLE; + u64 zoom_in(u64,int,int,float,const Vector2f*,bool) asm("_ZN3app8lua_bind26CameraModule__zoom_in_implEPNS_26BattleObjectModuleAccessorEiifRKN3phx8Vector2fEb") LINKABLE; + u64 zoom_out(u64,int) asm("_ZN3app8lua_bind27CameraModule__zoom_out_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/CancelModule.hpp b/source/imports/app/lua_bind/CancelModule.hpp new file mode 100644 index 0000000..de7fa1f --- /dev/null +++ b/source/imports/app/lua_bind/CancelModule.hpp @@ -0,0 +1,8 @@ +#pragma once + +namespace app::lua_bind { + namespace CancelModule { + u64 enable_cancel(u64) asm("_ZN3app8lua_bind32CancelModule__enable_cancel_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_enable_cancel(u64) asm("_ZN3app8lua_bind35CancelModule__is_enable_cancel_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/CaptureModule.hpp b/source/imports/app/lua_bind/CaptureModule.hpp new file mode 100644 index 0000000..937a666 --- /dev/null +++ b/source/imports/app/lua_bind/CaptureModule.hpp @@ -0,0 +1,29 @@ +#pragma once + +namespace app::lua_bind { + namespace CaptureModule { + u64 capture(u64,u64,int,bool,int) asm("_ZN3app8lua_bind27CaptureModule__capture_implEPNS_26BattleObjectModuleAccessorEjibi") LINKABLE; + u64 capture_cut(u64,bool,bool,bool) asm("_ZN3app8lua_bind31CaptureModule__capture_cut_implEPNS_26BattleObjectModuleAccessorEbbb") LINKABLE; + u64 capture_to_catch_node_pos_diff(u64) asm("_ZN3app8lua_bind50CaptureModule__capture_to_catch_node_pos_diff_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 catch_node_pos_y(u64) asm("_ZN3app8lua_bind36CaptureModule__catch_node_pos_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 check_damage(u64,int,float,float) asm("_ZN3app8lua_bind32CaptureModule__check_damage_implEPNS_26BattleObjectModuleAccessorEiff") LINKABLE; + u64 check_damage_thrown(u64) asm("_ZN3app8lua_bind39CaptureModule__check_damage_thrown_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_capture(u64) asm("_ZN3app8lua_bind30CaptureModule__is_capture_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_catch_hit_stop(u64) asm("_ZN3app8lua_bind37CaptureModule__is_catch_hit_stop_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_ignore_distance(u64) asm("_ZN3app8lua_bind38CaptureModule__is_ignore_distance_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_motion_hi_lw(u64) asm("_ZN3app8lua_bind35CaptureModule__is_motion_hi_lw_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_thrown(u64) asm("_ZN3app8lua_bind29CaptureModule__is_thrown_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_thrown_finish(u64) asm("_ZN3app8lua_bind36CaptureModule__is_thrown_finish_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 motion(u64,u64,int) asm("_ZN3app8lua_bind26CaptureModule__motion_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + u64 motion_lw(u64,u64,int) asm("_ZN3app8lua_bind29CaptureModule__motion_lw_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + u64 motion_offset(u64) asm("_ZN3app8lua_bind33CaptureModule__motion_offset_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 motion_offset_lw(u64) asm("_ZN3app8lua_bind36CaptureModule__motion_offset_lw_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 node_offset(u64,bool) asm("_ZN3app8lua_bind31CaptureModule__node_offset_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_nodes(u64,u64,u64,float) asm("_ZN3app8lua_bind29CaptureModule__set_nodes_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ES4_f") LINKABLE; + u64 set_send_cut_event(u64,bool) asm("_ZN3app8lua_bind38CaptureModule__set_send_cut_event_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 thrown(u64) asm("_ZN3app8lua_bind26CaptureModule__thrown_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 thrown_cut(u64,bool,bool) asm("_ZN3app8lua_bind30CaptureModule__thrown_cut_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 update_node_pos(u64) asm("_ZN3app8lua_bind35CaptureModule__update_node_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 update_pos_thrown(u64) asm("_ZN3app8lua_bind37CaptureModule__update_pos_thrown_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/CatchModule.hpp b/source/imports/app/lua_bind/CatchModule.hpp new file mode 100644 index 0000000..44173cc --- /dev/null +++ b/source/imports/app/lua_bind/CatchModule.hpp @@ -0,0 +1,15 @@ +#pragma once + +namespace app::lua_bind { + namespace CatchModule { + u64 capture_object_id(u64,bool) asm("_ZN3app8lua_bind35CatchModule__capture_object_id_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 capture_pos_x_diff(u64) asm("_ZN3app8lua_bind36CatchModule__capture_pos_x_diff_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 catch_cut(u64,bool,bool) asm("_ZN3app8lua_bind27CatchModule__catch_cut_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 check_damage(u64) asm("_ZN3app8lua_bind30CatchModule__check_damage_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 cling_cut(u64,bool) asm("_ZN3app8lua_bind27CatchModule__cling_cut_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 is_catch(u64) asm("_ZN3app8lua_bind26CatchModule__is_catch_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_catch(u64,u64) asm("_ZN3app8lua_bind27CatchModule__set_catch_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 set_send_cut_event(u64,bool) asm("_ZN3app8lua_bind36CatchModule__set_send_cut_event_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 update_pos_cling(u64) asm("_ZN3app8lua_bind34CatchModule__update_pos_cling_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ColorBlendModule.hpp b/source/imports/app/lua_bind/ColorBlendModule.hpp new file mode 100644 index 0000000..bea1e5c --- /dev/null +++ b/source/imports/app/lua_bind/ColorBlendModule.hpp @@ -0,0 +1,12 @@ +#pragma once + +namespace app::lua_bind { + namespace ColorBlendModule { + u64 cancel_main_color(u64,int) asm("_ZN3app8lua_bind40ColorBlendModule__cancel_main_color_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_disable_camera_depth_influence(u64,bool) asm("_ZN3app8lua_bind57ColorBlendModule__set_disable_camera_depth_influence_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_enable_flash(u64,bool) asm("_ZN3app8lua_bind39ColorBlendModule__set_enable_flash_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_last_attack_direction(u64,const Vector3f*) asm("_ZN3app8lua_bind48ColorBlendModule__set_last_attack_direction_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fE") LINKABLE; + u64 set_main_color(u64,const Vector4f*, const Vector4f *, float,float,int,bool) asm("_ZN3app8lua_bind37ColorBlendModule__set_main_color_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector4fES6_ffib") LINKABLE; + u64 set_shadow_bloom(u64,float,bool) asm("_ZN3app8lua_bind39ColorBlendModule__set_shadow_bloom_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ComboModule.hpp b/source/imports/app/lua_bind/ComboModule.hpp new file mode 100644 index 0000000..12d3013 --- /dev/null +++ b/source/imports/app/lua_bind/ComboModule.hpp @@ -0,0 +1,9 @@ +#pragma once + +namespace app::lua_bind { + namespace ComboModule { + u64 count(u64) asm("_ZN3app8lua_bind23ComboModule__count_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset(u64) asm("_ZN3app8lua_bind23ComboModule__reset_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set(u64,int) asm("_ZN3app8lua_bind21ComboModule__set_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ControlModule.hpp b/source/imports/app/lua_bind/ControlModule.hpp new file mode 100644 index 0000000..7c08410 --- /dev/null +++ b/source/imports/app/lua_bind/ControlModule.hpp @@ -0,0 +1,80 @@ +#pragma once + +namespace app::lua_bind { + namespace ControlModule { + u64 add_clatter_time(u64,float,int) asm("_ZN3app8lua_bind36ControlModule__add_clatter_time_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + bool check_button_off(u64,int) asm("_ZN3app8lua_bind36ControlModule__check_button_off_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool check_button_on(u64,int) asm("_ZN3app8lua_bind35ControlModule__check_button_on_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool check_button_on_release(u64,int) asm("_ZN3app8lua_bind43ControlModule__check_button_on_release_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool check_button_on_trriger(u64,int) asm("_ZN3app8lua_bind43ControlModule__check_button_on_trriger_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool check_button_release(u64,int) asm("_ZN3app8lua_bind40ControlModule__check_button_release_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool check_button_trigger(u64,int) asm("_ZN3app8lua_bind40ControlModule__check_button_trigger_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 clear_command(u64,bool) asm("_ZN3app8lua_bind33ControlModule__clear_command_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 clear_command_one(u64,int,int) asm("_ZN3app8lua_bind37ControlModule__clear_command_one_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 end_clatter(u64,int) asm("_ZN3app8lua_bind31ControlModule__end_clatter_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 end_clatter_motion_rate(u64) asm("_ZN3app8lua_bind43ControlModule__end_clatter_motion_rate_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 exec_command(u64,bool) asm("_ZN3app8lua_bind32ControlModule__exec_command_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 get_attack_air_kind(u64) asm("_ZN3app8lua_bind39ControlModule__get_attack_air_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_attack_air_stick_dir(u64) asm("_ZN3app8lua_bind44ControlModule__get_attack_air_stick_dir_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_attack_air_stick_x(u64) asm("_ZN3app8lua_bind42ControlModule__get_attack_air_stick_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_attack_hi3_fb_kind(u64) asm("_ZN3app8lua_bind42ControlModule__get_attack_hi3_fb_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_attack_lw3_fb_kind(u64) asm("_ZN3app8lua_bind42ControlModule__get_attack_lw3_fb_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_clatter_time(u64,int) asm("_ZN3app8lua_bind36ControlModule__get_clatter_time_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_command_flag_cat(u64,int) asm("_ZN3app8lua_bind40ControlModule__get_command_flag_cat_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_command_life(u64,int,int) asm("_ZN3app8lua_bind36ControlModule__get_command_life_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 get_down_stand_fb_kind(u64) asm("_ZN3app8lua_bind42ControlModule__get_down_stand_fb_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_flick_no_reset_x(u64) asm("_ZN3app8lua_bind40ControlModule__get_flick_no_reset_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_flick_no_reset_y(u64) asm("_ZN3app8lua_bind40ControlModule__get_flick_no_reset_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_flick_sub_x(u64) asm("_ZN3app8lua_bind35ControlModule__get_flick_sub_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_flick_x(u64) asm("_ZN3app8lua_bind31ControlModule__get_flick_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_flick_x_dir(u64) asm("_ZN3app8lua_bind35ControlModule__get_flick_x_dir_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_flick_y(u64) asm("_ZN3app8lua_bind31ControlModule__get_flick_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_flick_y_dir(u64) asm("_ZN3app8lua_bind35ControlModule__get_flick_y_dir_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_pad_flag(u64) asm("_ZN3app8lua_bind32ControlModule__get_pad_flag_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_stick_angle(u64) asm("_ZN3app8lua_bind35ControlModule__get_stick_angle_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_stick_dir(u64) asm("_ZN3app8lua_bind33ControlModule__get_stick_dir_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_stick_prev_y(u64) asm("_ZN3app8lua_bind36ControlModule__get_stick_prev_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_stick_x(u64) asm("_ZN3app8lua_bind31ControlModule__get_stick_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_stick_x_no_clamp(u64) asm("_ZN3app8lua_bind40ControlModule__get_stick_x_no_clamp_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_stick_y(u64) asm("_ZN3app8lua_bind31ControlModule__get_stick_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_stick_y_no_clamp(u64) asm("_ZN3app8lua_bind40ControlModule__get_stick_y_no_clamp_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_trigger_count(u64,unsigned char) asm("_ZN3app8lua_bind37ControlModule__get_trigger_count_implEPNS_26BattleObjectModuleAccessorEh") LINKABLE; + u64 get_trigger_count_prev(u64,unsigned char) asm("_ZN3app8lua_bind42ControlModule__get_trigger_count_prev_implEPNS_26BattleObjectModuleAccessorEh") LINKABLE; + bool is_clear_command(u64) asm("_ZN3app8lua_bind36ControlModule__is_clear_command_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_enable_flick_jump(u64) asm("_ZN3app8lua_bind40ControlModule__is_enable_flick_jump_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_input_clatter(u64) asm("_ZN3app8lua_bind36ControlModule__is_input_clatter_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_jump_mini_button(u64) asm("_ZN3app8lua_bind39ControlModule__is_jump_mini_button_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_remake_command(u64) asm("_ZN3app8lua_bind37ControlModule__is_remake_command_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_stick_reversed(u64,int) asm("_ZN3app8lua_bind37ControlModule__is_stick_reversed_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_stick_side(u64) asm("_ZN3app8lua_bind33ControlModule__is_stick_side_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 item_heavy_throw_fb_kind(u64) asm("_ZN3app8lua_bind44ControlModule__item_heavy_throw_fb_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 item_light_throw_air_fb4_kind(u64) asm("_ZN3app8lua_bind49ControlModule__item_light_throw_air_fb4_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 item_light_throw_air_fb_kind(u64) asm("_ZN3app8lua_bind48ControlModule__item_light_throw_air_fb_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 item_light_throw_fb4_kind(u64) asm("_ZN3app8lua_bind45ControlModule__item_light_throw_fb4_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 item_light_throw_fb_kind(u64) asm("_ZN3app8lua_bind44ControlModule__item_light_throw_fb_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_attack_air_kind(u64) asm("_ZN3app8lua_bind41ControlModule__reset_attack_air_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_down_stand_fb_kind(u64) asm("_ZN3app8lua_bind44ControlModule__reset_down_stand_fb_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_flick_sub_x(u64) asm("_ZN3app8lua_bind37ControlModule__reset_flick_sub_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_flick_sub_y(u64) asm("_ZN3app8lua_bind37ControlModule__reset_flick_sub_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_flick_x(u64) asm("_ZN3app8lua_bind33ControlModule__reset_flick_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_flick_y(u64) asm("_ZN3app8lua_bind33ControlModule__reset_flick_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_trigger(u64) asm("_ZN3app8lua_bind33ControlModule__reset_trigger_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reverse_x_frame(u64) asm("_ZN3app8lua_bind35ControlModule__reverse_x_frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_add_jump_mini_button_life(u64,signed char) asm("_ZN3app8lua_bind49ControlModule__set_add_jump_mini_button_life_implEPNS_26BattleObjectModuleAccessorEa") LINKABLE; + u64 set_attack_air_kind(u64,int) asm("_ZN3app8lua_bind39ControlModule__set_attack_air_kind_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_clatter_stop(u64,bool) asm("_ZN3app8lua_bind36ControlModule__set_clatter_stop_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_clatter_time(u64,float,int) asm("_ZN3app8lua_bind36ControlModule__set_clatter_time_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 set_command_life_extend(u64,unsigned char) asm("_ZN3app8lua_bind43ControlModule__set_command_life_extend_implEPNS_26BattleObjectModuleAccessorEh") LINKABLE; + u64 set_dec_time(u64,float,int) asm("_ZN3app8lua_bind32ControlModule__set_dec_time_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 set_dec_time_recovery(u64,float,int) asm("_ZN3app8lua_bind41ControlModule__set_dec_time_recovery_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 set_off(u64,bool) asm("_ZN3app8lua_bind27ControlModule__set_off_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_rumble(u64,u64,int,bool,uint) asm("_ZN3app8lua_bind30ControlModule__set_rumble_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Eibj") LINKABLE; + u64 set_special_command_life_count_extend(u64,unsigned char) asm("_ZN3app8lua_bind57ControlModule__set_special_command_life_count_extend_implEPNS_26BattleObjectModuleAccessorEh") LINKABLE; + u64 set_special_command_life_extend(u64,signed char) asm("_ZN3app8lua_bind51ControlModule__set_special_command_life_extend_implEPNS_26BattleObjectModuleAccessorEa") LINKABLE; + u64 special_s_turn(u64) asm("_ZN3app8lua_bind34ControlModule__special_s_turn_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 start_clatter(u64,float,float,float,signed char,int,bool,bool) asm("_ZN3app8lua_bind33ControlModule__start_clatter_implEPNS_26BattleObjectModuleAccessorEfffaibb") LINKABLE; + u64 start_clatter_motion_rate(u64) asm("_ZN3app8lua_bind45ControlModule__start_clatter_motion_rate_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 stop_rumble(u64,bool) asm("_ZN3app8lua_bind31ControlModule__stop_rumble_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 stop_rumble_kind(u64,u64,uint) asm("_ZN3app8lua_bind36ControlModule__stop_rumble_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ej") LINKABLE; + } +} diff --git a/source/imports/app/lua_bind/DamageModule.hpp b/source/imports/app/lua_bind/DamageModule.hpp new file mode 100644 index 0000000..3f78bc3 --- /dev/null +++ b/source/imports/app/lua_bind/DamageModule.hpp @@ -0,0 +1,32 @@ +#pragma once + +namespace app::lua_bind { + namespace DamageModule { + u64 add_damage(u64,float,int) asm("_ZN3app8lua_bind29DamageModule__add_damage_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 damage(u64,int) asm("_ZN3app8lua_bind25DamageModule__damage_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 end_damage_info_log(u64) asm("_ZN3app8lua_bind38DamageModule__end_damage_info_log_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 heal(u64,float,int) asm("_ZN3app8lua_bind23DamageModule__heal_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 init_damage(u64,float) asm("_ZN3app8lua_bind30DamageModule__init_damage_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 is_capture_cut(u64,float) asm("_ZN3app8lua_bind33DamageModule__is_capture_cut_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 is_damage_lock(u64) asm("_ZN3app8lua_bind33DamageModule__is_damage_lock_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_no_reaction_mode_perfect(u64) asm("_ZN3app8lua_bind46DamageModule__is_no_reaction_mode_perfect_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_paralyze(u64) asm("_ZN3app8lua_bind30DamageModule__is_paralyze_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 overwrite_log_reaction_frame(u64,float) asm("_ZN3app8lua_bind47DamageModule__overwrite_log_reaction_frame_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 reaction(u64,int) asm("_ZN3app8lua_bind27DamageModule__reaction_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 reset_no_reaction_mode_status(u64) asm("_ZN3app8lua_bind48DamageModule__reset_no_reaction_mode_status_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_attacker_info(u64,u64) asm("_ZN3app8lua_bind36DamageModule__set_attacker_info_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 set_critical_hit(u64,bool) asm("_ZN3app8lua_bind35DamageModule__set_critical_hit_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_damage_lock(u64,bool) asm("_ZN3app8lua_bind34DamageModule__set_damage_lock_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_damage_mul(u64,float) asm("_ZN3app8lua_bind33DamageModule__set_damage_mul_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_damage_mul_2nd(u64,float) asm("_ZN3app8lua_bind37DamageModule__set_damage_mul_2nd_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_force_damage(u64,u64,const Vector3f*,int,int,bool,bool,bool,bool) asm("_ZN3app8lua_bind35DamageModule__set_force_damage_implEPNS_26BattleObjectModuleAccessorEjRKN3phx8Vector3fEiibbbb") LINKABLE; + u64 set_force_damage_from_last_damage(u64) asm("_ZN3app8lua_bind52DamageModule__set_force_damage_from_last_damage_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_ignore_capture_cut_no(u64,signed char) asm("_ZN3app8lua_bind44DamageModule__set_ignore_capture_cut_no_implEPNS_26BattleObjectModuleAccessorEa") LINKABLE; + u64 set_no_reaction_damage_power(u64,float) asm("_ZN3app8lua_bind47DamageModule__set_no_reaction_damage_power_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_no_reaction_mode_status(u64,int damageNoReactionMode,float,float,int) asm("_ZN3app8lua_bind46DamageModule__set_no_reaction_mode_status_implEPNS_26BattleObjectModuleAccessorENS_20DamageNoReactionModeEffi") LINKABLE; + u64 set_no_reaction_no_effect(u64,bool) asm("_ZN3app8lua_bind44DamageModule__set_no_reaction_no_effect_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_reaction_mul_2nd(u64,float) asm("_ZN3app8lua_bind39DamageModule__set_reaction_mul_2nd_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 sleep(u64,bool) asm("_ZN3app8lua_bind24DamageModule__sleep_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 start_damage_info_log(u64) asm("_ZN3app8lua_bind40DamageModule__start_damage_info_log_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/EffectModule.hpp b/source/imports/app/lua_bind/EffectModule.hpp new file mode 100644 index 0000000..4e8106b --- /dev/null +++ b/source/imports/app/lua_bind/EffectModule.hpp @@ -0,0 +1,66 @@ +#pragma once + +namespace app::lua_bind { + namespace EffectModule { + void clear_screen(u64,int,int) asm("_ZN3app8lua_bind31EffectModule__clear_screen_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + void detach(u64,u64,int) asm("_ZN3app8lua_bind25EffectModule__detach_implEPNS_26BattleObjectModuleAccessorEji") LINKABLE; + void detach_all(u64,u64) asm("_ZN3app8lua_bind29EffectModule__detach_all_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + void detach_kind(u64,u64,int) asm("_ZN3app8lua_bind30EffectModule__detach_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + u64 enable_stencil(u64,bool) asm("_ZN3app8lua_bind33EffectModule__enable_stencil_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 enable_sync_init_pos_last(u64) asm("_ZN3app8lua_bind44EffectModule__enable_sync_init_pos_last_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 end_kind(u64,u64,int) asm("_ZN3app8lua_bind27EffectModule__end_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + u64 force_update_common_effect(u64) asm("_ZN3app8lua_bind45EffectModule__force_update_common_effect_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_dead_effect_rot_z(u64,const Vector3f*,float,bool) asm("_ZN3app8lua_bind40EffectModule__get_dead_effect_rot_z_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEfb") LINKABLE; + u64 get_dead_effect_scale(u64,const Vector3f*,float,bool) asm("_ZN3app8lua_bind40EffectModule__get_dead_effect_scale_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEfb") LINKABLE; + u64 get_last_handle(u64) asm("_ZN3app8lua_bind34EffectModule__get_last_handle_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_variation_effect_kind(u64,u64,int) asm("_ZN3app8lua_bind44EffectModule__get_variation_effect_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + bool is_enable_ground_effect(u64) asm("_ZN3app8lua_bind42EffectModule__is_enable_ground_effect_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_exist_common(u64,u64) asm("_ZN3app8lua_bind34EffectModule__is_exist_common_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + bool is_exist_effect(u64,u64) asm("_ZN3app8lua_bind34EffectModule__is_exist_effect_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + bool is_sync_visibility(u64) asm("_ZN3app8lua_bind37EffectModule__is_sync_visibility_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + void kill(u64,u64,bool,bool) asm("_ZN3app8lua_bind23EffectModule__kill_implEPNS_26BattleObjectModuleAccessorEjbb") LINKABLE; + void kill_all(u64,u64,bool,bool) asm("_ZN3app8lua_bind27EffectModule__kill_all_implEPNS_26BattleObjectModuleAccessorEjbb") LINKABLE; + void kill_joint_id(u64,u64,bool,bool) asm("_ZN3app8lua_bind32EffectModule__kill_joint_id_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ebb") LINKABLE; + void kill_kind(u64,u64,bool,bool) asm("_ZN3app8lua_bind28EffectModule__kill_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ebb") LINKABLE; + u64 preset_lifetime_rate_partial(u64,float) asm("_ZN3app8lua_bind47EffectModule__preset_lifetime_rate_partial_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 preset_limit_num(u64,int) asm("_ZN3app8lua_bind35EffectModule__preset_limit_num_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 remove(u64,u64,u64) asm("_ZN3app8lua_bind25EffectModule__remove_implEPNS_26BattleObjectModuleAccessorEjj") LINKABLE; + u64 remove_all(u64,u64,u64) asm("_ZN3app8lua_bind29EffectModule__remove_all_implEPNS_26BattleObjectModuleAccessorEjj") LINKABLE; + u64 remove_all_after_image(u64,u64,u64) asm("_ZN3app8lua_bind41EffectModule__remove_all_after_image_implEPNS_26BattleObjectModuleAccessorEjj") LINKABLE; + u64 remove_common(u64,u64) asm("_ZN3app8lua_bind32EffectModule__remove_common_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 remove_post_effect_line(u64,int,bool) asm("_ZN3app8lua_bind42EffectModule__remove_post_effect_line_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 remove_screen(u64,u64,int) asm("_ZN3app8lua_bind32EffectModule__remove_screen_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + u64 remove_time(u64,u64) asm("_ZN3app8lua_bind30EffectModule__remove_time_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 req(u64,u64,const Vector3f*,const Vector3f*,float,u64,int,bool,int) asm("_ZN3app8lua_bind22EffectModule__req_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fES7_fjibi") LINKABLE; + u64 req_2d(u64,u64,const Vector3f*,const Vector3f*,float,u64) asm("_ZN3app8lua_bind25EffectModule__req_2d_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fES7_fj") LINKABLE; + u64 req_common(u64,u64,float) asm("_ZN3app8lua_bind29EffectModule__req_common_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ef") LINKABLE; + u64 req_emit(u64,u64,u64) asm("_ZN3app8lua_bind27EffectModule__req_emit_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ej") LINKABLE; + u64 req_follow(u64,u64,u64,const Vector3f*,const Vector3f*,float,bool,u64,int,int,int,int,bool,bool) asm("_ZN3app8lua_bind29EffectModule__req_follow_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ES4_RKNS3_8Vector3fES7_fbjiiiibb") LINKABLE; + u64 req_on_joint(u64,u64,u64,const Vector3f*,const Vector3f*,float,const Vector3f*,const Vector3f*,bool,u64,int,int) asm("_ZN3app8lua_bind31EffectModule__req_on_joint_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ES4_RKNS3_8Vector3fES7_fS7_S7_bjii") LINKABLE; + u64 req_screen(u64,u64,bool,bool,bool) asm("_ZN3app8lua_bind29EffectModule__req_screen_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ebbb") LINKABLE; + u64 req_time(u64,u64,int,const Vector3f*,const Vector3f*,float,u64,bool,bool) asm("_ZN3app8lua_bind27EffectModule__req_time_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40EiRKNS3_8Vector3fES7_fjbb") LINKABLE; + u64 request_post_effect_line_circle(u64,u64,u64,Vector2f,Vector3f,bool,float,float) asm("_ZN3app8lua_bind50EffectModule__request_post_effect_line_circle_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ES4_NS3_8Vector2fENS3_8Vector3fEbff") LINKABLE; + u64 request_post_effect_line_parallel_2d(u64,u64,Vector2f,Vector2f,Vector2f,Vector2f,bool,float,float) asm("_ZN3app8lua_bind55EffectModule__request_post_effect_line_parallel_2d_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ENS3_8Vector2fES5_S5_S5_bff") LINKABLE; + u64 reset_screen(u64,int) asm("_ZN3app8lua_bind31EffectModule__reset_screen_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_alpha(u64,u64,float) asm("_ZN3app8lua_bind28EffectModule__set_alpha_implEPNS_26BattleObjectModuleAccessorEjf") LINKABLE; + u64 set_custom_uv_offset(u64,u64,const Vector2f*,int) asm("_ZN3app8lua_bind39EffectModule__set_custom_uv_offset_implEPNS_26BattleObjectModuleAccessorEjRKN3phx8Vector2fEi") LINKABLE; + u64 set_disable_render_offset_last(u64) asm("_ZN3app8lua_bind49EffectModule__set_disable_render_offset_last_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_disable_system_slow(u64,bool) asm("_ZN3app8lua_bind42EffectModule__set_disable_system_slow_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_frame(u64,u64,float) asm("_ZN3app8lua_bind28EffectModule__set_frame_implEPNS_26BattleObjectModuleAccessorEjf") LINKABLE; + u64 set_offset_to_next(u64,int) asm("_ZN3app8lua_bind37EffectModule__set_offset_to_next_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_pos(u64,u64,const Vector3f*) asm("_ZN3app8lua_bind26EffectModule__set_pos_implEPNS_26BattleObjectModuleAccessorEjRKN3phx8Vector3fE") LINKABLE; + u64 set_post_effect_line_circle_target(u64,u64,Vector2f,Vector3f,bool) asm("_ZN3app8lua_bind53EffectModule__set_post_effect_line_circle_target_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ENS3_8Vector2fENS3_8Vector3fEb") LINKABLE; + u64 set_rate(u64,u64,float) asm("_ZN3app8lua_bind27EffectModule__set_rate_implEPNS_26BattleObjectModuleAccessorEjf") LINKABLE; + u64 set_rate_last(u64,float) asm("_ZN3app8lua_bind32EffectModule__set_rate_last_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_rgb(u64,u64,float,float,float) asm("_ZN3app8lua_bind26EffectModule__set_rgb_implEPNS_26BattleObjectModuleAccessorEjfff") LINKABLE; + u64 set_rgb_partial_last(u64,float,float,float) asm("_ZN3app8lua_bind39EffectModule__set_rgb_partial_last_implEPNS_26BattleObjectModuleAccessorEfff") LINKABLE; + u64 set_rot(u64,u64,const Vector3f*) asm("_ZN3app8lua_bind26EffectModule__set_rot_implEPNS_26BattleObjectModuleAccessorEjRKN3phx8Vector3fE") LINKABLE; + u64 set_scale(u64,u64,const Vector3f*) asm("_ZN3app8lua_bind28EffectModule__set_scale_implEPNS_26BattleObjectModuleAccessorEjRKN3phx8Vector3fE") LINKABLE; + u64 set_sync_scale(u64,bool) asm("_ZN3app8lua_bind33EffectModule__set_sync_scale_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_sync_visibility(u64,bool) asm("_ZN3app8lua_bind38EffectModule__set_sync_visibility_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_visible(u64,u64,bool) asm("_ZN3app8lua_bind30EffectModule__set_visible_implEPNS_26BattleObjectModuleAccessorEjb") LINKABLE; + u64 set_visible_kind(u64,u64,bool) asm("_ZN3app8lua_bind35EffectModule__set_visible_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Eb") LINKABLE; + u64 set_whole(u64,bool) asm("_ZN3app8lua_bind28EffectModule__set_whole_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_whole_attr(u64,bool,u64) asm("_ZN3app8lua_bind33EffectModule__set_whole_attr_implEPNS_26BattleObjectModuleAccessorEbj") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/FighterAreaModuleImpl.hpp b/source/imports/app/lua_bind/FighterAreaModuleImpl.hpp new file mode 100644 index 0000000..ef3dd23 --- /dev/null +++ b/source/imports/app/lua_bind/FighterAreaModuleImpl.hpp @@ -0,0 +1,8 @@ +#pragma once + +namespace app::lua_bind { + namespace FighterAreaModuleImpl { + u64 enable_fix_jostle_area(u64,float,float) asm("_ZN3app8lua_bind50FighterAreaModuleImpl__enable_fix_jostle_area_implEPNS_26BattleObjectModuleAccessorEff") LINKABLE; + u64 enable_fix_jostle_area_xy(u64,float,float,float,float) asm("_ZN3app8lua_bind53FighterAreaModuleImpl__enable_fix_jostle_area_xy_implEPNS_26BattleObjectModuleAccessorEffff") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/FighterControlModuleImpl.hpp b/source/imports/app/lua_bind/FighterControlModuleImpl.hpp new file mode 100644 index 0000000..fd38345 --- /dev/null +++ b/source/imports/app/lua_bind/FighterControlModuleImpl.hpp @@ -0,0 +1,14 @@ +#pragma once + +namespace app::lua_bind { + namespace FighterControlModuleImpl { + u64 check_hit_stop_delay_command(u64,Vector2f *) asm("_ZN3app8lua_bind59FighterControlModuleImpl__check_hit_stop_delay_command_implEPNS_26BattleObjectModuleAccessorERN3phx8Vector2fE") LINKABLE; + u64 get_param_attack_hi4_flick_y(u64) asm("_ZN3app8lua_bind59FighterControlModuleImpl__get_param_attack_hi4_flick_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_param_attack_lw4_flick_y(u64) asm("_ZN3app8lua_bind59FighterControlModuleImpl__get_param_attack_lw4_flick_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_param_dash_s4_frame(u64) asm("_ZN3app8lua_bind54FighterControlModuleImpl__get_param_dash_s4_frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_enable_hit_stop_delay(u64) asm("_ZN3app8lua_bind55FighterControlModuleImpl__is_enable_hit_stop_delay_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_enable_hit_stop_delay_life(u64) asm("_ZN3app8lua_bind60FighterControlModuleImpl__is_enable_hit_stop_delay_life_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reserve_on_attack_button(u64) asm("_ZN3app8lua_bind55FighterControlModuleImpl__reserve_on_attack_button_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 update_attack_air_kind(u64,bool) asm("_ZN3app8lua_bind53FighterControlModuleImpl__update_attack_air_kind_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/FighterMotionModuleImpl.hpp b/source/imports/app/lua_bind/FighterMotionModuleImpl.hpp new file mode 100644 index 0000000..8103144 --- /dev/null +++ b/source/imports/app/lua_bind/FighterMotionModuleImpl.hpp @@ -0,0 +1,21 @@ +#pragma once + +namespace app::lua_bind { + namespace FighterMotionModuleImpl { + u64 add_body_type_hash(u64,u64,int) asm("_ZN3app8lua_bind48FighterMotionModuleImpl__add_body_type_hash_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + u64 add_motion_partial_kirby_copy(u64,int,u64,float,float,bool,bool,float,bool,bool,bool) asm("_ZN3app8lua_bind59FighterMotionModuleImpl__add_motion_partial_kirby_copy_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40Effbbfbbb") LINKABLE; + u64 change_motion_force_inherit_frame_kirby_copy(u64,u64,float,float,float) asm("_ZN3app8lua_bind74FighterMotionModuleImpl__change_motion_force_inherit_frame_kirby_copy_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efff") LINKABLE; + u64 change_motion_inherit_frame_keep_rate_kirby_copy(u64,u64,float,float,float) asm("_ZN3app8lua_bind78FighterMotionModuleImpl__change_motion_inherit_frame_keep_rate_kirby_copy_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efff") LINKABLE; + u64 change_motion_inherit_frame_kirby_copy(u64,u64,float,float,float,bool,bool) asm("_ZN3app8lua_bind68FighterMotionModuleImpl__change_motion_inherit_frame_kirby_copy_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efffbb") LINKABLE; + u64 change_motion_kirby_copy(u64,u64,float,float,bool,float,bool,bool) asm("_ZN3app8lua_bind54FighterMotionModuleImpl__change_motion_kirby_copy_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Effbfbb") LINKABLE; + u64 end_frame_from_hash_kirby_copy(u64,u64) asm("_ZN3app8lua_bind60FighterMotionModuleImpl__end_frame_from_hash_kirby_copy_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 get_cancel_frame(u64,u64,bool) asm("_ZN3app8lua_bind46FighterMotionModuleImpl__get_cancel_frame_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Eb") LINKABLE; + u64 get_cancel_frame_kirby_copy(u64,u64,bool) asm("_ZN3app8lua_bind57FighterMotionModuleImpl__get_cancel_frame_kirby_copy_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Eb") LINKABLE; + bool is_valid_cancel_frame(u64,int,bool) asm("_ZN3app8lua_bind51FighterMotionModuleImpl__is_valid_cancel_frame_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 motion_kind_kirby_copy_original(u64,u64) asm("_ZN3app8lua_bind61FighterMotionModuleImpl__motion_kind_kirby_copy_original_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 set_blend_waist(u64,bool) asm("_ZN3app8lua_bind45FighterMotionModuleImpl__set_blend_waist_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_frame_sync_anim_cmd_kirby_copy(u64,float,bool) asm("_ZN3app8lua_bind64FighterMotionModuleImpl__set_frame_sync_anim_cmd_kirby_copy_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 set_pause_motion_interpolation_stop(u64) asm("_ZN3app8lua_bind65FighterMotionModuleImpl__set_pause_motion_interpolation_stop_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 start_damage_stop_interpolation(u64,float) asm("_ZN3app8lua_bind61FighterMotionModuleImpl__start_damage_stop_interpolation_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/FighterStatusModuleImpl.hpp b/source/imports/app/lua_bind/FighterStatusModuleImpl.hpp new file mode 100644 index 0000000..ca2577c --- /dev/null +++ b/source/imports/app/lua_bind/FighterStatusModuleImpl.hpp @@ -0,0 +1,8 @@ +#pragma once + +namespace app::lua_bind { + namespace FighterStatusModuleImpl { + u64 reset_log_action_info(u64,u64) asm("_ZN3app8lua_bind51FighterStatusModuleImpl__reset_log_action_info_implEPNS_26BattleObjectModuleAccessorEm") LINKABLE; + u64 set_fighter_status_data(u64,bool,int,bool,bool,bool,u64,u64,u64,u64) asm("_ZN3app8lua_bind53FighterStatusModuleImpl__set_fighter_status_data_implEPNS_26BattleObjectModuleAccessorEbibbbmjjj") LINKABLE; + } +} diff --git a/source/imports/app/lua_bind/FighterStopModuleImpl.hpp b/source/imports/app/lua_bind/FighterStopModuleImpl.hpp new file mode 100644 index 0000000..46b1b86 --- /dev/null +++ b/source/imports/app/lua_bind/FighterStopModuleImpl.hpp @@ -0,0 +1,8 @@ +#pragma once + +namespace app::lua_bind { + namespace FighterStopModuleImpl { + float get_damage_stop_frame(u64) asm("_ZN3app8lua_bind49FighterStopModuleImpl__get_damage_stop_frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_damage_stop(u64) asm("_ZN3app8lua_bind42FighterStopModuleImpl__is_damage_stop_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/FighterWorkModuleImpl.hpp b/source/imports/app/lua_bind/FighterWorkModuleImpl.hpp new file mode 100644 index 0000000..721b223 --- /dev/null +++ b/source/imports/app/lua_bind/FighterWorkModuleImpl.hpp @@ -0,0 +1,8 @@ +#pragma once + +namespace app::lua_bind { + namespace FighterWorkModuleImpl { + u64 calc_escape_air_slide_param(u64,float) asm("_ZN3app8lua_bind55FighterWorkModuleImpl__calc_escape_air_slide_param_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 calc_param(u64,bool,bool) asm("_ZN3app8lua_bind38FighterWorkModuleImpl__calc_param_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + } +} diff --git a/source/imports/app/lua_bind/GrabModule.hpp b/source/imports/app/lua_bind/GrabModule.hpp new file mode 100644 index 0000000..62ba6e5 --- /dev/null +++ b/source/imports/app/lua_bind/GrabModule.hpp @@ -0,0 +1,12 @@ +#pragma once + +namespace app::lua_bind { + namespace GrabModule { + u64 clear_all(u64) asm("_ZN3app8lua_bind26GrabModule__clear_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_grab(u64,int) asm("_ZN3app8lua_bind24GrabModule__is_grab_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 node(u64,int) asm("_ZN3app8lua_bind21GrabModule__node_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_check_front(u64,bool) asm("_ZN3app8lua_bind32GrabModule__set_check_front_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_constraint(u64,int,bool) asm("_ZN3app8lua_bind31GrabModule__set_constraint_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_rebound(u64,bool) asm("_ZN3app8lua_bind28GrabModule__set_rebound_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/GroundModule.hpp b/source/imports/app/lua_bind/GroundModule.hpp new file mode 100644 index 0000000..72a07d6 --- /dev/null +++ b/source/imports/app/lua_bind/GroundModule.hpp @@ -0,0 +1,118 @@ +#pragma once + +namespace app::lua_bind { + namespace GroundModule { + u64 attach(u64,int groundTouchFlag) asm("_ZN3app8lua_bind25GroundModule__attach_implEPNS_26BattleObjectModuleAccessorENS_15GroundTouchFlagE") LINKABLE; + u64 attach_ground(u64,bool) asm("_ZN3app8lua_bind32GroundModule__attach_ground_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 can_entry_cliff(u64) asm("_ZN3app8lua_bind34GroundModule__can_entry_cliff_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 can_entry_cliff_hang_data(u64,u64,int groundCliffCheckKind) asm("_ZN3app8lua_bind44GroundModule__can_entry_cliff_hang_data_implEPNS_26BattleObjectModuleAccessorEjNS_20GroundCliffCheckKindE") LINKABLE; + u64 center_pos(u64) asm("_ZN3app8lua_bind29GroundModule__center_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 check_down_correct_pos(u64,Vector2f) asm("_ZN3app8lua_bind41GroundModule__check_down_correct_pos_implEPNS_26BattleObjectModuleAccessorEN3phx8Vector2fE") LINKABLE; + u64 clear_cliff_point(u64) asm("_ZN3app8lua_bind36GroundModule__clear_cliff_point_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 clear_pass_floor(u64) asm("_ZN3app8lua_bind35GroundModule__clear_pass_floor_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 cliff_check(u64) asm("_ZN3app8lua_bind30GroundModule__cliff_check_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 correct(u64,int groundCorrectKind) asm("_ZN3app8lua_bind26GroundModule__correct_implEPNS_26BattleObjectModuleAccessorENS_17GroundCorrectKindE") LINKABLE; + u64 correct_pos(u64) asm("_ZN3app8lua_bind30GroundModule__correct_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 detach(u64,int) asm("_ZN3app8lua_bind25GroundModule__detach_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 entry_cliff(u64) asm("_ZN3app8lua_bind30GroundModule__entry_cliff_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_center_pos(u64) asm("_ZN3app8lua_bind33GroundModule__get_center_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_circle_radius(u64) asm("_ZN3app8lua_bind36GroundModule__get_circle_radius_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_cliff_movement_speed(u64) asm("_ZN3app8lua_bind43GroundModule__get_cliff_movement_speed_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_correct(u64) asm("_ZN3app8lua_bind30GroundModule__get_correct_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_correct_pos(u64) asm("_ZN3app8lua_bind34GroundModule__get_correct_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_correct_pos_local(u64) asm("_ZN3app8lua_bind40GroundModule__get_correct_pos_local_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_distance_to_floor(u64,const Vector3f*,float,bool) asm("_ZN3app8lua_bind40GroundModule__get_distance_to_floor_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEfb") LINKABLE; + u64 get_down_correct_edge_pos(u64,Vector2f *,const Vector2f*) asm("_ZN3app8lua_bind44GroundModule__get_down_correct_edge_pos_implEPNS_26BattleObjectModuleAccessorERN3phx8Vector2fERKS4_") LINKABLE; + u64 get_down_friction(u64) asm("_ZN3app8lua_bind36GroundModule__get_down_friction_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_down_movement_speed(u64) asm("_ZN3app8lua_bind42GroundModule__get_down_movement_speed_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_down_pos(u64) asm("_ZN3app8lua_bind31GroundModule__get_down_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_latest_down_correct_pos(u64) asm("_ZN3app8lua_bind46GroundModule__get_latest_down_correct_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_left_pos(u64) asm("_ZN3app8lua_bind31GroundModule__get_left_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_line_movement_speed(u64,u64) asm("_ZN3app8lua_bind42GroundModule__get_line_movement_speed_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 get_rhombus(u64,bool) asm("_ZN3app8lua_bind30GroundModule__get_rhombus_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 get_right_pos(u64) asm("_ZN3app8lua_bind32GroundModule__get_right_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_shape_kind(u64) asm("_ZN3app8lua_bind33GroundModule__get_shape_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_shape_safe_pos(u64) asm("_ZN3app8lua_bind37GroundModule__get_shape_safe_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_touch_flag(u64) asm("_ZN3app8lua_bind33GroundModule__get_touch_flag_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_touch_line_raw(u64,int groundTouchID) asm("_ZN3app8lua_bind37GroundModule__get_touch_line_raw_implEPNS_26BattleObjectModuleAccessorENS_13GroundTouchIDE") LINKABLE; + u64 get_touch_material_type(u64,u64) asm("_ZN3app8lua_bind42GroundModule__get_touch_material_type_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 get_touch_moment_flag(u64) asm("_ZN3app8lua_bind40GroundModule__get_touch_moment_flag_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_touch_normal(u64,u64) asm("_ZN3app8lua_bind35GroundModule__get_touch_normal_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 get_touch_normal_consider_gravity(u64,u64) asm("_ZN3app8lua_bind52GroundModule__get_touch_normal_consider_gravity_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 get_touch_normal_x_consider_gravity(u64,u64) asm("_ZN3app8lua_bind54GroundModule__get_touch_normal_x_consider_gravity_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 get_touch_pos(u64,u64) asm("_ZN3app8lua_bind32GroundModule__get_touch_pos_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 get_touch_wall_cliff_pos(u64,u64,Vector2f *) asm("_ZN3app8lua_bind43GroundModule__get_touch_wall_cliff_pos_implEPNS_26BattleObjectModuleAccessorEjRN3phx8Vector2fE") LINKABLE; + u64 get_up_pos(u64) asm("_ZN3app8lua_bind29GroundModule__get_up_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_width(u64) asm("_ZN3app8lua_bind28GroundModule__get_width_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_z(u64) asm("_ZN3app8lua_bind24GroundModule__get_z_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 ground_touch_flag(u64) asm("_ZN3app8lua_bind36GroundModule__ground_touch_flag_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 ground_touch_flag_ex(u64,bool,bool) asm("_ZN3app8lua_bind39GroundModule__ground_touch_flag_ex_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 hang_can_entry_cliff_dir(u64) asm("_ZN3app8lua_bind43GroundModule__hang_can_entry_cliff_dir_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 hang_can_entry_cliff_pos(u64) asm("_ZN3app8lua_bind43GroundModule__hang_can_entry_cliff_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 hang_cliff_dir(u64) asm("_ZN3app8lua_bind33GroundModule__hang_cliff_dir_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 hang_cliff_pos(u64) asm("_ZN3app8lua_bind33GroundModule__hang_cliff_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 hang_cliff_pos_3f(u64) asm("_ZN3app8lua_bind36GroundModule__hang_cliff_pos_3f_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_attach(u64) asm("_ZN3app8lua_bind28GroundModule__is_attach_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_attach_cliff(u64) asm("_ZN3app8lua_bind34GroundModule__is_attach_cliff_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_attachable(u64,int groundTouchFlag) asm("_ZN3app8lua_bind32GroundModule__is_attachable_implEPNS_26BattleObjectModuleAccessorENS_15GroundTouchFlagE") LINKABLE; + u64 is_floor_touch_line(u64,u64) asm("_ZN3app8lua_bind38GroundModule__is_floor_touch_line_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 is_floor_vanishing(u64) asm("_ZN3app8lua_bind37GroundModule__is_floor_vanishing_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_miss_foot(u64) asm("_ZN3app8lua_bind31GroundModule__is_miss_foot_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_near_cliff(u64,float,float) asm("_ZN3app8lua_bind32GroundModule__is_near_cliff_implEPNS_26BattleObjectModuleAccessorEff") LINKABLE; + u64 is_ottotto(u64,float) asm("_ZN3app8lua_bind29GroundModule__is_ottotto_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 is_ottotto_lr(u64,float,float) asm("_ZN3app8lua_bind32GroundModule__is_ottotto_lr_implEPNS_26BattleObjectModuleAccessorEff") LINKABLE; + u64 is_passable_check(u64) asm("_ZN3app8lua_bind36GroundModule__is_passable_check_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_passable_ground(u64) asm("_ZN3app8lua_bind37GroundModule__is_passable_ground_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_status_cliff(u64) asm("_ZN3app8lua_bind34GroundModule__is_status_cliff_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_still_on_floor(u64,float,bool) asm("_ZN3app8lua_bind36GroundModule__is_still_on_floor_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 is_touch(u64,u64) asm("_ZN3app8lua_bind27GroundModule__is_touch_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 is_wall_touch_line(u64,u64) asm("_ZN3app8lua_bind37GroundModule__is_wall_touch_line_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 leave_cliff(u64) asm("_ZN3app8lua_bind30GroundModule__leave_cliff_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 modify_rhombus(u64,float,float,float) asm("_ZN3app8lua_bind33GroundModule__modify_rhombus_implEPNS_26BattleObjectModuleAccessorEfff") LINKABLE; + u64 pass_floor(u64) asm("_ZN3app8lua_bind29GroundModule__pass_floor_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 ray_check(u64,const Vector2f*,const Vector2f*,bool) asm("_ZN3app8lua_bind28GroundModule__ray_check_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_b") LINKABLE; + u64 ray_check_get_line(u64,const Vector2f*,const Vector2f*,bool) asm("_ZN3app8lua_bind37GroundModule__ray_check_get_line_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_b") LINKABLE; + u64 ray_check_get_line_hit_pos(u64,const Vector2f*,const Vector2f*,Vector2f *,bool) asm("_ZN3app8lua_bind45GroundModule__ray_check_get_line_hit_pos_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_RS4_b") LINKABLE; + u64 ray_check_get_line_hit_pos_ignore_any(u64,const Vector2f*,const Vector2f*,Vector2f *,u64) asm("_ZN3app8lua_bind56GroundModule__ray_check_get_line_hit_pos_ignore_any_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_RS4_j") LINKABLE; + u64 ray_check_get_line_hit_pos_no_culling(u64,const Vector2f*,const Vector2f*,Vector2f *,bool) asm("_ZN3app8lua_bind56GroundModule__ray_check_get_line_hit_pos_no_culling_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_RS4_b") LINKABLE; + u64 ray_check_hit_normal(u64,const Vector2f*,const Vector2f*,Vector2f *,bool) asm("_ZN3app8lua_bind39GroundModule__ray_check_hit_normal_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_RS4_b") LINKABLE; + u64 ray_check_hit_pos(u64,const Vector2f*,const Vector2f*,Vector2f *,bool) asm("_ZN3app8lua_bind36GroundModule__ray_check_hit_pos_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_RS4_b") LINKABLE; + u64 ray_check_hit_pos_normal(u64,const Vector2f*,const Vector2f*,Vector2f *,Vector2f *,bool) asm("_ZN3app8lua_bind43GroundModule__ray_check_hit_pos_normal_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_RS4_S7_b") LINKABLE; + u64 ray_check_hit_pos_normal_no_culling(u64,const Vector2f*,const Vector2f*,Vector2f *,Vector2f *,bool) asm("_ZN3app8lua_bind54GroundModule__ray_check_hit_pos_normal_no_culling_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_RS4_S7_b") LINKABLE; + u64 ray_check_hit_pos_target(u64,const Vector2f*,const Vector2f*,Vector2f *,u64,bool) asm("_ZN3app8lua_bind43GroundModule__ray_check_hit_pos_target_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fES6_RS4_jb") LINKABLE; + u64 reentry_cliff(u64) asm("_ZN3app8lua_bind32GroundModule__reentry_cliff_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 select_cliff_hangdata(u64,u64) asm("_ZN3app8lua_bind40GroundModule__select_cliff_hangdata_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 set_attach_ground(u64,bool) asm("_ZN3app8lua_bind36GroundModule__set_attach_ground_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_auto_detach(u64,bool) asm("_ZN3app8lua_bind34GroundModule__set_auto_detach_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_cliff_check(u64,int groundCliffCheckKind) asm("_ZN3app8lua_bind34GroundModule__set_cliff_check_implEPNS_26BattleObjectModuleAccessorENS_20GroundCliffCheckKindE") LINKABLE; + u64 set_cloud_through(u64,bool) asm("_ZN3app8lua_bind36GroundModule__set_cloud_through_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_coll_stop_slidable_length(u64,float) asm("_ZN3app8lua_bind48GroundModule__set_coll_stop_slidable_length_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_collidable(u64,bool) asm("_ZN3app8lua_bind33GroundModule__set_collidable_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_correct(u64,int groundCorrectKind) asm("_ZN3app8lua_bind30GroundModule__set_correct_implEPNS_26BattleObjectModuleAccessorENS_17GroundCorrectKindE") LINKABLE; + u64 set_correct_ignore_slope(u64,bool) asm("_ZN3app8lua_bind43GroundModule__set_correct_ignore_slope_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_ignore_boss(u64,bool) asm("_ZN3app8lua_bind34GroundModule__set_ignore_boss_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_ignore_slide_up(u64,bool) asm("_ZN3app8lua_bind38GroundModule__set_ignore_slide_up_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_init_circle(u64,const Vector2f*,float) asm("_ZN3app8lua_bind34GroundModule__set_init_circle_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fEf") LINKABLE; + u64 set_init_shape_kind(u64) asm("_ZN3app8lua_bind38GroundModule__set_init_shape_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_keep_distant_cliff(u64,bool) asm("_ZN3app8lua_bind41GroundModule__set_keep_distant_cliff_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_no_cliff_stop_energy(u64,int) asm("_ZN3app8lua_bind43GroundModule__set_no_cliff_stop_energy_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_offset_x(u64,float) asm("_ZN3app8lua_bind31GroundModule__set_offset_x_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_offset_y(u64,float) asm("_ZN3app8lua_bind31GroundModule__set_offset_y_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_passable_check(u64,bool) asm("_ZN3app8lua_bind37GroundModule__set_passable_check_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_reverse_direction(u64,bool,bool) asm("_ZN3app8lua_bind40GroundModule__set_reverse_direction_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 set_rhombus_offset(u64,const Vector2f*) asm("_ZN3app8lua_bind37GroundModule__set_rhombus_offset_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fE") LINKABLE; + u64 set_shape_data_rhombus_modify_node_offset(u64,u64,const Vector3f*) asm("_ZN3app8lua_bind60GroundModule__set_shape_data_rhombus_modify_node_offset_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fE") LINKABLE; + u64 set_shape_flag(u64,u16,bool) asm("_ZN3app8lua_bind33GroundModule__set_shape_flag_implEPNS_26BattleObjectModuleAccessorEtb") LINKABLE; + u64 set_shape_kind(u64,int groundCorrectShapeType) asm("_ZN3app8lua_bind33GroundModule__set_shape_kind_implEPNS_26BattleObjectModuleAccessorENS_5grcol22GroundCorrectShapeTypeE") LINKABLE; + u64 set_shape_safe_pos(u64,const Vector2f*) asm("_ZN3app8lua_bind37GroundModule__set_shape_safe_pos_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fE") LINKABLE; + u64 set_status_ground(u64) asm("_ZN3app8lua_bind36GroundModule__set_status_ground_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_test_coll_stop(u64,bool) asm("_ZN3app8lua_bind37GroundModule__set_test_coll_stop_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_test_coll_stop_status(u64,bool) asm("_ZN3app8lua_bind44GroundModule__set_test_coll_stop_status_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_update_shape(u64,bool) asm("_ZN3app8lua_bind35GroundModule__set_update_shape_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_z(u64,float) asm("_ZN3app8lua_bind24GroundModule__set_z_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 test(u64) asm("_ZN3app8lua_bind23GroundModule__test_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 test_ground(u64) asm("_ZN3app8lua_bind30GroundModule__test_ground_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 update_force(u64) asm("_ZN3app8lua_bind31GroundModule__update_force_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 update_shape(u64,bool) asm("_ZN3app8lua_bind31GroundModule__update_shape_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/HitModule.hpp b/source/imports/app/lua_bind/HitModule.hpp new file mode 100644 index 0000000..ec5927d --- /dev/null +++ b/source/imports/app/lua_bind/HitModule.hpp @@ -0,0 +1,25 @@ +#pragma once + +namespace app::lua_bind { + namespace HitModule { + u64 cancel_xlu_global(u64,int) asm("_ZN3app8lua_bind33HitModule__cancel_xlu_global_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 clean(u64) asm("_ZN3app8lua_bind21HitModule__clean_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 exist_log(u64,uint,int) asm("_ZN3app8lua_bind25HitModule__exist_log_implEPNS_26BattleObjectModuleAccessorEji") LINKABLE; + u64 get_center_pos(u64,int,int) asm("_ZN3app8lua_bind30HitModule__get_center_pos_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 get_status(u64,int,int) asm("_ZN3app8lua_bind26HitModule__get_status_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 get_total_status(u64,int) asm("_ZN3app8lua_bind32HitModule__get_total_status_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_whole(u64,int) asm("_ZN3app8lua_bind25HitModule__get_whole_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_check_catch(u64,bool,int) asm("_ZN3app8lua_bind31HitModule__set_check_catch_implEPNS_26BattleObjectModuleAccessorEbi") LINKABLE; + u64 set_defense_mul_status(u64,float) asm("_ZN3app8lua_bind38HitModule__set_defense_mul_status_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_hit_stop_mul(u64,float,int hitStopMulTarget,float) asm("_ZN3app8lua_bind32HitModule__set_hit_stop_mul_implEPNS_26BattleObjectModuleAccessorEfNS_16HitStopMulTargetEf") LINKABLE; + u64 set_invincible_frame_global(u64,int,bool,int) asm("_ZN3app8lua_bind43HitModule__set_invincible_frame_global_implEPNS_26BattleObjectModuleAccessorEibi") LINKABLE; + u64 set_no_team(u64,bool) asm("_ZN3app8lua_bind27HitModule__set_no_team_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_status(u64,int,int hitStatus,int) asm("_ZN3app8lua_bind26HitModule__set_status_implEPNS_26BattleObjectModuleAccessorEiNS_9HitStatusEi") LINKABLE; + u64 set_status_all(u64,int hitStatus,int) asm("_ZN3app8lua_bind30HitModule__set_status_all_implEPNS_26BattleObjectModuleAccessorENS_9HitStatusEi") LINKABLE; + u64 set_status_joint(u64,u64,int hitStatus,int) asm("_ZN3app8lua_bind32HitModule__set_status_joint_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ENS_9HitStatusEi") LINKABLE; + u64 set_whole(u64,int hitStatus,int) asm("_ZN3app8lua_bind25HitModule__set_whole_implEPNS_26BattleObjectModuleAccessorENS_9HitStatusEi") LINKABLE; + u64 set_xlu_frame_global(u64,int,int) asm("_ZN3app8lua_bind36HitModule__set_xlu_frame_global_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 set_xlu_global(u64,int) asm("_ZN3app8lua_bind30HitModule__set_xlu_global_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 sleep(u64,bool) asm("_ZN3app8lua_bind21HitModule__sleep_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/InkPaintModule.hpp b/source/imports/app/lua_bind/InkPaintModule.hpp new file mode 100644 index 0000000..0710712 --- /dev/null +++ b/source/imports/app/lua_bind/InkPaintModule.hpp @@ -0,0 +1,7 @@ +#pragma once + +namespace app::lua_bind { + namespace InkPaintModule { + u64 set_special_paint(u64,int specialPaintKind) asm("_ZN3app8lua_bind38InkPaintModule__set_special_paint_implEPNS_26BattleObjectModuleAccessorENS_16SpecialPaintKindE") LINKABLE; + } +} diff --git a/source/imports/app/lua_bind/ItemModule.hpp b/source/imports/app/lua_bind/ItemModule.hpp new file mode 100644 index 0000000..49ff50b --- /dev/null +++ b/source/imports/app/lua_bind/ItemModule.hpp @@ -0,0 +1,50 @@ +#ifndef ITEMMODULE_H +#define ITEMMODULE_H +namespace app::lua_bind { + namespace ItemModule { + u64 attach_item(u64,int itemKind,int,bool) asm("_ZN3app8lua_bind28ItemModule__attach_item_implEPNS_26BattleObjectModuleAccessorENS_8ItemKindEib") LINKABLE; + u64 attach_item_2(u64,u64 item,bool) asm("_ZN3app8lua_bind30ItemModule__attach_item_2_implEPNS_26BattleObjectModuleAccessorEPNS_4ItemEb") LINKABLE; + u64 attach_item_instance(u64,u64 item,bool) asm("_ZN3app8lua_bind37ItemModule__attach_item_instance_implEPNS_26BattleObjectModuleAccessorEPNS_4ItemEb") LINKABLE; + u64 born_item(u64,int) asm("_ZN3app8lua_bind26ItemModule__born_item_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 drop_attach_group(u64,unsigned char,float,float) asm("_ZN3app8lua_bind34ItemModule__drop_attach_group_implEPNS_26BattleObjectModuleAccessorEhff") LINKABLE; + u64 drop_item(u64,float,float,int) asm("_ZN3app8lua_bind26ItemModule__drop_item_implEPNS_26BattleObjectModuleAccessorEffi") LINKABLE; + u64 eject_attach(u64,int itemKind,bool,bool) asm("_ZN3app8lua_bind29ItemModule__eject_attach_implEPNS_26BattleObjectModuleAccessorENS_8ItemKindEbb") LINKABLE; + u64 eject_have_item(u64,int,bool,bool) asm("_ZN3app8lua_bind32ItemModule__eject_have_item_implEPNS_26BattleObjectModuleAccessorEibb") LINKABLE; + u64 get_have_item_id(u64,int) asm("_ZN3app8lua_bind33ItemModule__get_have_item_id_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_have_item_kind(u64,int) asm("_ZN3app8lua_bind35ItemModule__get_have_item_kind_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_have_item_size(u64,int) asm("_ZN3app8lua_bind35ItemModule__get_have_item_size_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + //u64 get_have_item_status_param_bool(u64,app::ItemStatusParamBool,int) asm("_ZN3app8lua_bind48ItemModule__get_have_item_status_param_bool_implEPNS_26BattleObjectModuleAccessorENS_19ItemStatusParamBoolEi") LINKABLE; + //u64 get_have_item_status_param_float(u64,app::ItemStatusParamFloat,int) asm("_ZN3app8lua_bind49ItemModule__get_have_item_status_param_float_implEPNS_26BattleObjectModuleAccessorENS_20ItemStatusParamFloatEi") LINKABLE; + //u64 get_have_item_status_param_int(u64,app::ItemStatusParamInt,int) asm("_ZN3app8lua_bind47ItemModule__get_have_item_status_param_int_implEPNS_26BattleObjectModuleAccessorENS_18ItemStatusParamIntEi") LINKABLE; + u64 get_have_item_trait(u64,int) asm("_ZN3app8lua_bind36ItemModule__get_have_item_trait_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_pickable_item_kind(u64) asm("_ZN3app8lua_bind39ItemModule__get_pickable_item_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_pickable_item_object_id(u64) asm("_ZN3app8lua_bind44ItemModule__get_pickable_item_object_id_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_pickable_item_size(u64) asm("_ZN3app8lua_bind39ItemModule__get_pickable_item_size_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_shoot_item_bullet(u64,int) asm("_ZN3app8lua_bind38ItemModule__get_shoot_item_bullet_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 have_item(u64,int itemKind,int,int,bool,bool) asm("_ZN3app8lua_bind26ItemModule__have_item_implEPNS_26BattleObjectModuleAccessorENS_8ItemKindEiibb") LINKABLE; + u64 have_item_instance(u64,u64 item,int,bool,bool,bool,bool) asm("_ZN3app8lua_bind35ItemModule__have_item_instance_implEPNS_26BattleObjectModuleAccessorEPNS_4ItemEibbbb") LINKABLE; + u64 is_have_item(u64,int) asm("_ZN3app8lua_bind29ItemModule__is_have_item_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 is_success_auto_pickup_item(u64) asm("_ZN3app8lua_bind44ItemModule__is_success_auto_pickup_item_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_success_pickup_item(u64) asm("_ZN3app8lua_bind39ItemModule__is_success_pickup_item_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 pickup_item(u64,int itemSize,int,int,int itemQuickItemTreatType,int itemPickupSearchMode) asm("_ZN3app8lua_bind28ItemModule__pickup_item_implEPNS_26BattleObjectModuleAccessorENS_8ItemSizeEiiNS_18QuickItemTreatTypeENS_20ItemPickupSearchModeE") LINKABLE; + u64 remove_all(u64) asm("_ZN3app8lua_bind27ItemModule__remove_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 remove_item(u64,int) asm("_ZN3app8lua_bind28ItemModule__remove_item_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 reset_have_item_constraint_node(u64,int) asm("_ZN3app8lua_bind48ItemModule__reset_have_item_constraint_node_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_attach_item_action(u64,int itemKind,int,float) asm("_ZN3app8lua_bind39ItemModule__set_attach_item_action_implEPNS_26BattleObjectModuleAccessorENS_8ItemKindEif") LINKABLE; + u64 set_attach_item_visibility(u64,bool,unsigned char) asm("_ZN3app8lua_bind43ItemModule__set_attach_item_visibility_implEPNS_26BattleObjectModuleAccessorEbh") LINKABLE; + u64 set_change_status_event(u64,bool) asm("_ZN3app8lua_bind40ItemModule__set_change_status_event_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_have_item_action(u64,int,float,int) asm("_ZN3app8lua_bind37ItemModule__set_have_item_action_implEPNS_26BattleObjectModuleAccessorEifi") LINKABLE; + u64 set_have_item_constraint_joint(u64,u64,int) asm("_ZN3app8lua_bind47ItemModule__set_have_item_constraint_joint_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + u64 set_have_item_hold_anim(u64,bool,int) asm("_ZN3app8lua_bind40ItemModule__set_have_item_hold_anim_implEPNS_26BattleObjectModuleAccessorEbi") LINKABLE; + u64 set_have_item_scale_anim(u64,int,float,int) asm("_ZN3app8lua_bind41ItemModule__set_have_item_scale_anim_implEPNS_26BattleObjectModuleAccessorEifi") LINKABLE; + u64 set_have_item_visibility(u64,bool,int) asm("_ZN3app8lua_bind41ItemModule__set_have_item_visibility_implEPNS_26BattleObjectModuleAccessorEbi") LINKABLE; + u64 shoot_item_bullet(u64,int,float,int) asm("_ZN3app8lua_bind34ItemModule__shoot_item_bullet_implEPNS_26BattleObjectModuleAccessorEifi") LINKABLE; + u64 shoot_item_bullet_blanks(u64,int,int) asm("_ZN3app8lua_bind41ItemModule__shoot_item_bullet_blanks_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 success_auto_pickup_item(u64) asm("_ZN3app8lua_bind41ItemModule__success_auto_pickup_item_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 throw_item(u64,float,float,float,int,bool,float) asm("_ZN3app8lua_bind27ItemModule__throw_item_implEPNS_26BattleObjectModuleAccessorEfffibf") LINKABLE; + u64 update_have_item_action_info(u64,int) asm("_ZN3app8lua_bind45ItemModule__update_have_item_action_info_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 use_item(u64,int,bool) asm("_ZN3app8lua_bind25ItemModule__use_item_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 use_item_instance(u64,u64 item,bool) asm("_ZN3app8lua_bind34ItemModule__use_item_instance_implEPNS_26BattleObjectModuleAccessorEPNS_4ItemEb") LINKABLE; + } + } +#endif // ITEMMODULE_H diff --git a/source/imports/app/lua_bind/JostleModule.hpp b/source/imports/app/lua_bind/JostleModule.hpp new file mode 100644 index 0000000..2357e0e --- /dev/null +++ b/source/imports/app/lua_bind/JostleModule.hpp @@ -0,0 +1,26 @@ +#pragma once + +namespace app::lua_bind { + namespace JostleModule { + bool is_sleep(u64) asm("_ZN3app8lua_bind27JostleModule__is_sleep_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 overlap_x(u64,bool) asm("_ZN3app8lua_bind28JostleModule__overlap_x_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_fix(u64,bool) asm("_ZN3app8lua_bind26JostleModule__set_fix_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_force_gap(u64,int) asm("_ZN3app8lua_bind32JostleModule__set_force_gap_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_ignore_owner_id(u64,int) asm("_ZN3app8lua_bind38JostleModule__set_ignore_owner_id_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_ignore_speed_x(u64,bool) asm("_ZN3app8lua_bind37JostleModule__set_ignore_speed_x_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_influence_opponent_weight(u64,bool) asm("_ZN3app8lua_bind48JostleModule__set_influence_opponent_weight_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_layer(u64,int) asm("_ZN3app8lua_bind28JostleModule__set_layer_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_overlap_rate_mul(u64,float) asm("_ZN3app8lua_bind39JostleModule__set_overlap_rate_mul_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_priority(u64,int) asm("_ZN3app8lua_bind31JostleModule__set_priority_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_propagate_push_speed(u64,bool) asm("_ZN3app8lua_bind43JostleModule__set_propagate_push_speed_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_push_speed_x(u64,float,bool) asm("_ZN3app8lua_bind35JostleModule__set_push_speed_x_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 set_push_speed_x_overlap_rate(u64,float) asm("_ZN3app8lua_bind48JostleModule__set_push_speed_x_overlap_rate_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_refer(u64,bool) asm("_ZN3app8lua_bind28JostleModule__set_refer_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_status(u64,bool) asm("_ZN3app8lua_bind29JostleModule__set_status_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_team(u64,int) asm("_ZN3app8lua_bind27JostleModule__set_team_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_weight(u64,float) asm("_ZN3app8lua_bind29JostleModule__set_weight_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 sleep(u64,bool) asm("_ZN3app8lua_bind24JostleModule__sleep_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 target_weight(u64) asm("_ZN3app8lua_bind32JostleModule__target_weight_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 weight(u64) asm("_ZN3app8lua_bind25JostleModule__weight_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/KineticModule.hpp b/source/imports/app/lua_bind/KineticModule.hpp new file mode 100644 index 0000000..b4666ed --- /dev/null +++ b/source/imports/app/lua_bind/KineticModule.hpp @@ -0,0 +1,35 @@ +#pragma once + +namespace app::lua_bind { + namespace KineticModule { + u64 add_speed(u64,const Vector3f*) asm("_ZN3app8lua_bind29KineticModule__add_speed_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fE") LINKABLE; + u64 add_speed_outside(u64,int,const Vector3f*) asm("_ZN3app8lua_bind37KineticModule__add_speed_outside_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector3fE") LINKABLE; + u64 change_kinetic(u64,int) asm("_ZN3app8lua_bind34KineticModule__change_kinetic_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + void clear_speed_all(u64) asm("_ZN3app8lua_bind35KineticModule__clear_speed_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + void clear_speed_attr(u64,int) asm("_ZN3app8lua_bind36KineticModule__clear_speed_attr_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + void clear_speed_energy_id(u64,int) asm("_ZN3app8lua_bind41KineticModule__clear_speed_energy_id_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 enable_energy(u64,int) asm("_ZN3app8lua_bind33KineticModule__enable_energy_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_energy(u64,int) asm("_ZN3app8lua_bind30KineticModule__get_energy_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_kinetic_type(u64) asm("_ZN3app8lua_bind36KineticModule__get_kinetic_type_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_sum_rotation(u64,int) asm("_ZN3app8lua_bind36KineticModule__get_sum_rotation_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_sum_speed(u64,int) asm("_ZN3app8lua_bind33KineticModule__get_sum_speed_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_sum_speed3f(u64,int) asm("_ZN3app8lua_bind35KineticModule__get_sum_speed3f_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_sum_speed_length(u64,int) asm("_ZN3app8lua_bind40KineticModule__get_sum_speed_length_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_sum_speed_x(u64,int) asm("_ZN3app8lua_bind35KineticModule__get_sum_speed_x_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_sum_speed_y(u64,int) asm("_ZN3app8lua_bind35KineticModule__get_sum_speed_y_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_enable_energy(u64,int) asm("_ZN3app8lua_bind36KineticModule__is_enable_energy_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_suspend_energy(u64,int) asm("_ZN3app8lua_bind37KineticModule__is_suspend_energy_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 mul_accel(u64,const Vector3f*,int) asm("_ZN3app8lua_bind29KineticModule__mul_accel_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEi") LINKABLE; + u64 mul_speed(u64,const Vector3f*,int) asm("_ZN3app8lua_bind29KineticModule__mul_speed_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEi") LINKABLE; + u64 reflect_accel(u64,const Vector3f*,int) asm("_ZN3app8lua_bind33KineticModule__reflect_accel_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEi") LINKABLE; + u64 reflect_speed(u64,const Vector3f*,int) asm("_ZN3app8lua_bind33KineticModule__reflect_speed_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEi") LINKABLE; + u64 resume_energy(u64,int) asm("_ZN3app8lua_bind33KineticModule__resume_energy_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 resume_energy_all(u64) asm("_ZN3app8lua_bind37KineticModule__resume_energy_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_consider_ground_friction(u64,bool,int) asm("_ZN3app8lua_bind48KineticModule__set_consider_ground_friction_implEPNS_26BattleObjectModuleAccessorEbi") LINKABLE; + u64 sleep(u64,bool) asm("_ZN3app8lua_bind25KineticModule__sleep_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 suspend_energy(u64,int) asm("_ZN3app8lua_bind34KineticModule__suspend_energy_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 suspend_energy_all(u64) asm("_ZN3app8lua_bind38KineticModule__suspend_energy_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + void unable_energy(u64,int) asm("_ZN3app8lua_bind33KineticModule__unable_energy_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + void unable_energy_all(u64) asm("_ZN3app8lua_bind37KineticModule__unable_energy_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ModelModule.hpp b/source/imports/app/lua_bind/ModelModule.hpp new file mode 100644 index 0000000..6e1bb36 --- /dev/null +++ b/source/imports/app/lua_bind/ModelModule.hpp @@ -0,0 +1,31 @@ +#pragma once + +namespace app::lua_bind { + namespace ModelModule { + u64 clear_joint_srt(u64,u64) asm("_ZN3app8lua_bind33ModelModule__clear_joint_srt_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 disable_gold_eye(u64) asm("_ZN3app8lua_bind34ModelModule__disable_gold_eye_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 enable_gold_eye(u64) asm("_ZN3app8lua_bind33ModelModule__enable_gold_eye_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 joint_global_offset_from_top(u64,u64,Vector3f *) asm("_ZN3app8lua_bind46ModelModule__joint_global_offset_from_top_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERNS3_8Vector3fE") LINKABLE; + u64 joint_global_position(u64,u64,Vector3f *,bool) asm("_ZN3app8lua_bind39ModelModule__joint_global_position_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERNS3_8Vector3fEb") LINKABLE; + u64 joint_global_position_with_offset(u64,u64,const Vector3f*,Vector3f *,bool) asm("_ZN3app8lua_bind51ModelModule__joint_global_position_with_offset_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fERS5_b") LINKABLE; + u64 joint_global_rotation(u64,u64,Vector3f *,bool) asm("_ZN3app8lua_bind39ModelModule__joint_global_rotation_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERNS3_8Vector3fEb") LINKABLE; + u64 joint_rotate(u64,u64,Vector3f *) asm("_ZN3app8lua_bind30ModelModule__joint_rotate_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERNS3_8Vector3fE") LINKABLE; + u64 scale(u64) asm("_ZN3app8lua_bind23ModelModule__scale_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 scale_z(u64) asm("_ZN3app8lua_bind25ModelModule__scale_z_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_alpha(u64,float) asm("_ZN3app8lua_bind27ModelModule__set_alpha_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_color_rgb(u64,float,float,float,int MODEL_COLOR_TYPE) asm("_ZN3app8lua_bind31ModelModule__set_color_rgb_implEPNS_26BattleObjectModuleAccessorEfffNS_16MODEL_COLOR_TYPEE") LINKABLE; + u64 set_depth_offset(u64,float) asm("_ZN3app8lua_bind34ModelModule__set_depth_offset_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_depth_stencil(u64,int) asm("_ZN3app8lua_bind35ModelModule__set_depth_stencil_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_joint_rotate(u64,u64,const Vector3f*,int motionNodeRotateCompose,int motionNodeRotateOrder) asm("_ZN3app8lua_bind34ModelModule__set_joint_rotate_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fENS_23MotionNodeRotateComposeENS_21MotionNodeRotateOrderE") LINKABLE; + u64 set_joint_scale(u64,u64,const Vector3f*) asm("_ZN3app8lua_bind33ModelModule__set_joint_scale_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fE") LINKABLE; + u64 set_joint_srt(u64,u64,const Vector3f*,const Vector3f*,const Vector3f*) asm("_ZN3app8lua_bind31ModelModule__set_joint_srt_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fES7_S7_") LINKABLE; + u64 set_joint_translate(u64,u64,const Vector3f*,bool,bool) asm("_ZN3app8lua_bind37ModelModule__set_joint_translate_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fEbb") LINKABLE; + u64 set_mesh_visibility(u64,u64,bool) asm("_ZN3app8lua_bind37ModelModule__set_mesh_visibility_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Eb") LINKABLE; + u64 set_render_offset_position(u64,const Vector3f*) asm("_ZN3app8lua_bind44ModelModule__set_render_offset_position_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fE") LINKABLE; + u64 set_rotation_order(u64,int motionNodeRotateOrder) asm("_ZN3app8lua_bind36ModelModule__set_rotation_order_implEPNS_26BattleObjectModuleAccessorENS_21MotionNodeRotateOrderE") LINKABLE; + u64 set_scale(u64,float) asm("_ZN3app8lua_bind27ModelModule__set_scale_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_temporary_scale_z(u64,float) asm("_ZN3app8lua_bind39ModelModule__set_temporary_scale_z_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 top_joint_global_position_from_joint(u64,u64,const Vector3f*,Vector3f *) asm("_ZN3app8lua_bind54ModelModule__top_joint_global_position_from_joint_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fERS5_") LINKABLE; + u64 virtual_joint_tra(u64,u64) asm("_ZN3app8lua_bind35ModelModule__virtual_joint_tra_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/MotionAnimcmdModule.hpp b/source/imports/app/lua_bind/MotionAnimcmdModule.hpp new file mode 100644 index 0000000..7a0cdb4 --- /dev/null +++ b/source/imports/app/lua_bind/MotionAnimcmdModule.hpp @@ -0,0 +1,18 @@ +#pragma once + +namespace app::lua_bind { + namespace MotionAnimcmdModule { + u64 call_script_single(u64,int,u64,int) asm("_ZN3app8lua_bind44MotionAnimcmdModule__call_script_single_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40Ei") LINKABLE; + u64 change_script_motion_line_single(u64,int,u64,int) asm("_ZN3app8lua_bind58MotionAnimcmdModule__change_script_motion_line_single_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40Ei") LINKABLE; + u64 change_script_motion_lines(u64,u64,float,bool,bool,float,bool) asm("_ZN3app8lua_bind52MotionAnimcmdModule__change_script_motion_lines_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efbbfb") LINKABLE; + u64 change_script_motion_partial_lines(u64,u64,float,bool,float,bool) asm("_ZN3app8lua_bind60MotionAnimcmdModule__change_script_motion_partial_lines_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efbfb") LINKABLE; + u64 enable_skip_delay_update(u64) asm("_ZN3app8lua_bind50MotionAnimcmdModule__enable_skip_delay_update_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 exec_motion_lines_initialize(u64,float,bool) asm("_ZN3app8lua_bind54MotionAnimcmdModule__exec_motion_lines_initialize_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 flush(u64,bool) asm("_ZN3app8lua_bind31MotionAnimcmdModule__flush_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 flush_current_motion(u64) asm("_ZN3app8lua_bind46MotionAnimcmdModule__flush_current_motion_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_sleep(u64,bool) asm("_ZN3app8lua_bind35MotionAnimcmdModule__set_sleep_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_sleep_effect(u64,bool) asm("_ZN3app8lua_bind42MotionAnimcmdModule__set_sleep_effect_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_sleep_game(u64,bool) asm("_ZN3app8lua_bind40MotionAnimcmdModule__set_sleep_game_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_sleep_sound(u64,bool) asm("_ZN3app8lua_bind41MotionAnimcmdModule__set_sleep_sound_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + } +} diff --git a/source/imports/app/lua_bind/MotionModule.hpp b/source/imports/app/lua_bind/MotionModule.hpp new file mode 100644 index 0000000..b6a4c76 --- /dev/null +++ b/source/imports/app/lua_bind/MotionModule.hpp @@ -0,0 +1,82 @@ +#pragma once + +namespace app::lua_bind { + namespace MotionModule { + u64 add_motion_2nd(u64,u64,float,float,bool,float) asm("_ZN3app8lua_bind33MotionModule__add_motion_2nd_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Effbf") LINKABLE; + u64 add_motion_partial(u64,int,u64,float,float,bool,bool,float,bool,bool,bool) asm("_ZN3app8lua_bind37MotionModule__add_motion_partial_implEPNS_26BattleObjectModuleAccessorEiN3phx6Hash40Effbbfbbb") LINKABLE; + u64 animcmd_name_hash(u64,u64) asm("_ZN3app8lua_bind36MotionModule__animcmd_name_hash_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 calc_joint(u64,u64,u64,Vector3f &) asm("_ZN3app8lua_bind29MotionModule__calc_joint_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ES4_RNS3_8Vector3fE") LINKABLE; + u64 change_motion(u64,u64,float,float,bool,float,bool,bool) asm("_ZN3app8lua_bind32MotionModule__change_motion_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Effbfbb") LINKABLE; + u64 change_motion_force_inherit_frame(u64,u64,float,float,float) asm("_ZN3app8lua_bind52MotionModule__change_motion_force_inherit_frame_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efff") LINKABLE; + u64 change_motion_inherit_frame(u64,u64,float,float,float,bool,bool) asm("_ZN3app8lua_bind46MotionModule__change_motion_inherit_frame_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efffbb") LINKABLE; + u64 change_motion_inherit_frame_keep_rate(u64,u64,float,float,float) asm("_ZN3app8lua_bind56MotionModule__change_motion_inherit_frame_keep_rate_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efff") LINKABLE; + u64 change_motion_kind(u64,u64) asm("_ZN3app8lua_bind37MotionModule__change_motion_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 clear_joint_srt(u64,u64) asm("_ZN3app8lua_bind34MotionModule__clear_joint_srt_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 enable_shift_material_animation(u64,bool) asm("_ZN3app8lua_bind50MotionModule__enable_shift_material_animation_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 end_frame(u64) asm("_ZN3app8lua_bind28MotionModule__end_frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 end_frame_from_hash(u64,u64) asm("_ZN3app8lua_bind38MotionModule__end_frame_from_hash_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 end_frame_partial(u64,int) asm("_ZN3app8lua_bind36MotionModule__end_frame_partial_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + float frame(u64) asm("_ZN3app8lua_bind24MotionModule__frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + float frame_2nd(u64) asm("_ZN3app8lua_bind28MotionModule__frame_2nd_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + float frame_partial(u64,int) asm("_ZN3app8lua_bind32MotionModule__frame_partial_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_frame_material(u64,int materialAnimeKind) asm("_ZN3app8lua_bind37MotionModule__get_frame_material_implEPNS_26BattleObjectModuleAccessorENS_17MaterialAnimeKindE") LINKABLE; + bool is_anim_resource(u64,u64) asm("_ZN3app8lua_bind35MotionModule__is_anim_resource_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + bool is_blend(u64) asm("_ZN3app8lua_bind27MotionModule__is_blend_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_end(u64) asm("_ZN3app8lua_bind25MotionModule__is_end_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_end_2nd(u64) asm("_ZN3app8lua_bind29MotionModule__is_end_2nd_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_end_partial(u64,int) asm("_ZN3app8lua_bind33MotionModule__is_end_partial_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_flag_link(u64,u64) asm("_ZN3app8lua_bind31MotionModule__is_flag_link_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + bool is_flag_start_1_frame(u64) asm("_ZN3app8lua_bind40MotionModule__is_flag_start_1_frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_flag_start_1_frame_from_motion_kind(u64,u64) asm("_ZN3app8lua_bind57MotionModule__is_flag_start_1_frame_from_motion_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + bool is_flip(u64) asm("_ZN3app8lua_bind26MotionModule__is_flip_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_flip_resource(u64) asm("_ZN3app8lua_bind35MotionModule__is_flip_resource_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_loop_flag(u64) asm("_ZN3app8lua_bind31MotionModule__is_loop_flag_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_looped(u64) asm("_ZN3app8lua_bind28MotionModule__is_looped_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + bool is_no_comp(u64) asm("_ZN3app8lua_bind29MotionModule__is_no_comp_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 joint_local_rotation(u64,u64,Vector3f &) asm("_ZN3app8lua_bind39MotionModule__joint_local_rotation_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERNS3_8Vector3fE") LINKABLE; + u64 joint_local_tra(u64,u64,bool,Vector3f &) asm("_ZN3app8lua_bind34MotionModule__joint_local_tra_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40EbRNS3_8Vector3fE") LINKABLE; + u64 motion_kind(u64) asm("_ZN3app8lua_bind30MotionModule__motion_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 motion_kind_2nd(u64) asm("_ZN3app8lua_bind34MotionModule__motion_kind_2nd_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 motion_kind_partial(u64,int) asm("_ZN3app8lua_bind38MotionModule__motion_kind_partial_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 prev_frame(u64) asm("_ZN3app8lua_bind29MotionModule__prev_frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 prev_weight(u64) asm("_ZN3app8lua_bind30MotionModule__prev_weight_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 rate(u64) asm("_ZN3app8lua_bind23MotionModule__rate_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 rate_partial(u64,int) asm("_ZN3app8lua_bind31MotionModule__rate_partial_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 remove_motion_partial(u64,int,bool) asm("_ZN3app8lua_bind40MotionModule__remove_motion_partial_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 remove_motion_partial_comp(u64,int) asm("_ZN3app8lua_bind45MotionModule__remove_motion_partial_comp_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 resource_id(u64,u64) asm("_ZN3app8lua_bind30MotionModule__resource_id_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 set_flip(u64,bool,bool,bool) asm("_ZN3app8lua_bind27MotionModule__set_flip_implEPNS_26BattleObjectModuleAccessorEbbb") LINKABLE; + u64 set_force_progress_2nd_weight(u64,bool) asm("_ZN3app8lua_bind48MotionModule__set_force_progress_2nd_weight_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_frame(u64,float,bool) asm("_ZN3app8lua_bind28MotionModule__set_frame_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 set_frame_2nd(u64,float,bool) asm("_ZN3app8lua_bind32MotionModule__set_frame_2nd_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 set_frame_material(u64,float,int materialAnimeKind) asm("_ZN3app8lua_bind37MotionModule__set_frame_material_implEPNS_26BattleObjectModuleAccessorEfNS_17MaterialAnimeKindE") LINKABLE; + u64 set_frame_partial(u64,int,float,bool) asm("_ZN3app8lua_bind36MotionModule__set_frame_partial_implEPNS_26BattleObjectModuleAccessorEifb") LINKABLE; + u64 set_frame_partial_sync_anim_cmd(u64,int,float,bool) asm("_ZN3app8lua_bind50MotionModule__set_frame_partial_sync_anim_cmd_implEPNS_26BattleObjectModuleAccessorEifb") LINKABLE; + u64 set_frame_sync_anim_cmd(u64,float,bool,bool,bool) asm("_ZN3app8lua_bind42MotionModule__set_frame_sync_anim_cmd_implEPNS_26BattleObjectModuleAccessorEfbbb") LINKABLE; + u64 set_helper_calculation(u64,bool) asm("_ZN3app8lua_bind41MotionModule__set_helper_calculation_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_kind_offset(u64,int) asm("_ZN3app8lua_bind34MotionModule__set_kind_offset_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_link_flip_target_joint(u64,bool) asm("_ZN3app8lua_bind45MotionModule__set_link_flip_target_joint_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_no_comp(u64,bool) asm("_ZN3app8lua_bind30MotionModule__set_no_comp_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_rate(u64,float) asm("_ZN3app8lua_bind27MotionModule__set_rate_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_rate_2nd(u64,float) asm("_ZN3app8lua_bind31MotionModule__set_rate_2nd_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_rate_material(u64,float,int materialAnimeKind) asm("_ZN3app8lua_bind36MotionModule__set_rate_material_implEPNS_26BattleObjectModuleAccessorEfNS_17MaterialAnimeKindE") LINKABLE; + u64 set_rate_partial(u64,int,float) asm("_ZN3app8lua_bind35MotionModule__set_rate_partial_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_recalc_ik(u64,bool) asm("_ZN3app8lua_bind32MotionModule__set_recalc_ik_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_reverse(u64,bool) asm("_ZN3app8lua_bind30MotionModule__set_reverse_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_skip_rate(u64,float,bool) asm("_ZN3app8lua_bind32MotionModule__set_skip_rate_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 set_stop_interpolation(u64,float,bool) asm("_ZN3app8lua_bind41MotionModule__set_stop_interpolation_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 set_trans_joint_id(u64,u64) asm("_ZN3app8lua_bind37MotionModule__set_trans_joint_id_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 set_trans_move_speed_no_scale(u64,bool) asm("_ZN3app8lua_bind48MotionModule__set_trans_move_speed_no_scale_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_weight(u64,float,bool) asm("_ZN3app8lua_bind29MotionModule__set_weight_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 set_weight_rate(u64,float) asm("_ZN3app8lua_bind34MotionModule__set_weight_rate_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_whole_rate(u64,float) asm("_ZN3app8lua_bind33MotionModule__set_whole_rate_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 trans_joint_scale(u64) asm("_ZN3app8lua_bind36MotionModule__trans_joint_scale_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 trans_move_speed(u64) asm("_ZN3app8lua_bind35MotionModule__trans_move_speed_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 trans_tra(u64,Vector3f &,bool,bool) asm("_ZN3app8lua_bind28MotionModule__trans_tra_implEPNS_26BattleObjectModuleAccessorERN3phx8Vector3fEbb") LINKABLE; + u64 trans_tra_end_frame(u64,u64,Vector3f &) asm("_ZN3app8lua_bind38MotionModule__trans_tra_end_frame_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERNS3_8Vector3fE") LINKABLE; + u64 update_dynamic_skeleton_without_complete_matrix(u64) asm("_ZN3app8lua_bind66MotionModule__update_dynamic_skeleton_without_complete_matrix_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 update_rate(u64) asm("_ZN3app8lua_bind30MotionModule__update_rate_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 weight(u64) asm("_ZN3app8lua_bind25MotionModule__weight_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 whole_rate(u64) asm("_ZN3app8lua_bind29MotionModule__whole_rate_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/PhysicsModule.hpp b/source/imports/app/lua_bind/PhysicsModule.hpp new file mode 100644 index 0000000..9d907ad --- /dev/null +++ b/source/imports/app/lua_bind/PhysicsModule.hpp @@ -0,0 +1,45 @@ +#pragma once + +namespace app::lua_bind { + namespace PhysicsModule { + u64 get_2nd_active_length(u64) asm("_ZN3app8lua_bind41PhysicsModule__get_2nd_active_length_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_2nd_active_node_num(u64) asm("_ZN3app8lua_bind43PhysicsModule__get_2nd_active_node_num_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_2nd_joint_num(u64) asm("_ZN3app8lua_bind37PhysicsModule__get_2nd_joint_num_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_2nd_node_num(u64) asm("_ZN3app8lua_bind36PhysicsModule__get_2nd_node_num_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 get_2nd_pos(u64,int) asm("_ZN3app8lua_bind31PhysicsModule__get_2nd_pos_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_2nd_speed(u64,int) asm("_ZN3app8lua_bind33PhysicsModule__get_2nd_speed_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_2nd_touch_ground_line_num(u64,int) asm("_ZN3app8lua_bind49PhysicsModule__get_2nd_touch_ground_line_num_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_ik_end_joint_id(u64,int) asm("_ZN3app8lua_bind39PhysicsModule__get_ik_end_joint_id_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 reset_swing(u64) asm("_ZN3app8lua_bind31PhysicsModule__reset_swing_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_2nd_active_node_num(u64,float) asm("_ZN3app8lua_bind43PhysicsModule__set_2nd_active_node_num_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_2nd_air_resistance(u64,float) asm("_ZN3app8lua_bind42PhysicsModule__set_2nd_air_resistance_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_2nd_back_speed(u64,float) asm("_ZN3app8lua_bind38PhysicsModule__set_2nd_back_speed_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_2nd_collision_size(u64,int,float) asm("_ZN3app8lua_bind42PhysicsModule__set_2nd_collision_size_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_2nd_disable_collision(u64,u64,bool) asm("_ZN3app8lua_bind45PhysicsModule__set_2nd_disable_collision_implEPNS_26BattleObjectModuleAccessorEjb") LINKABLE; + u64 set_2nd_end_pos(u64,const Vector3f*,const Vector3f*) asm("_ZN3app8lua_bind35PhysicsModule__set_2nd_end_pos_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fES6_") LINKABLE; + u64 set_2nd_flip(u64,bool) asm("_ZN3app8lua_bind32PhysicsModule__set_2nd_flip_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_2nd_gravity(u64,float) asm("_ZN3app8lua_bind35PhysicsModule__set_2nd_gravity_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_2nd_length(u64,int,float) asm("_ZN3app8lua_bind34PhysicsModule__set_2nd_length_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_2nd_node_num_max(u64,int) asm("_ZN3app8lua_bind40PhysicsModule__set_2nd_node_num_max_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_2nd_pos(u64,int,const Vector3f*) asm("_ZN3app8lua_bind31PhysicsModule__set_2nd_pos_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector3fE") LINKABLE; + u64 set_2nd_restitution_range(u64,float) asm("_ZN3app8lua_bind45PhysicsModule__set_2nd_restitution_range_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_2nd_restitution_rate(u64,float,float) asm("_ZN3app8lua_bind44PhysicsModule__set_2nd_restitution_rate_implEPNS_26BattleObjectModuleAccessorEff") LINKABLE; + u64 set_2nd_restitution_rate_2(u64,int,float) asm("_ZN3app8lua_bind46PhysicsModule__set_2nd_restitution_rate_2_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_2nd_status(u64,int) asm("_ZN3app8lua_bind34PhysicsModule__set_2nd_status_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_2nd_water_resistance(u64,float) asm("_ZN3app8lua_bind44PhysicsModule__set_2nd_water_resistance_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_2nd_z_range(u64,float,float) asm("_ZN3app8lua_bind35PhysicsModule__set_2nd_z_range_implEPNS_26BattleObjectModuleAccessorEff") LINKABLE; + u64 set_enable_floor_collision_line(u64, void *) asm("_ZN3app8lua_bind51PhysicsModule__set_enable_floor_collision_line_implEPNS_26BattleObjectModuleAccessorEPNS_19GroundCollisionLineE") LINKABLE; + u64 set_ik(u64,int,float) asm("_ZN3app8lua_bind26PhysicsModule__set_ik_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_ik_target_pos(u64,int,const Vector3f*,const Vector3f*) asm("_ZN3app8lua_bind37PhysicsModule__set_ik_target_pos_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector3fES6_") LINKABLE; + u64 set_reflect_param_ceil(u64,float,float,float) asm("_ZN3app8lua_bind42PhysicsModule__set_reflect_param_ceil_implEPNS_26BattleObjectModuleAccessorEfff") LINKABLE; + u64 set_reflect_param_floor(u64,float,float,float) asm("_ZN3app8lua_bind43PhysicsModule__set_reflect_param_floor_implEPNS_26BattleObjectModuleAccessorEfff") LINKABLE; + u64 set_reflect_param_wall(u64,float,float,float) asm("_ZN3app8lua_bind42PhysicsModule__set_reflect_param_wall_implEPNS_26BattleObjectModuleAccessorEfff") LINKABLE; + u64 set_swing_ground_collision_all(u64,bool) asm("_ZN3app8lua_bind50PhysicsModule__set_swing_ground_collision_all_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_swing_joint_name(u64,bool,u64,bool) asm("_ZN3app8lua_bind40PhysicsModule__set_swing_joint_name_implEPNS_26BattleObjectModuleAccessorEbN3phx6Hash40Eb") LINKABLE; + u64 set_swing_only_anim(u64,bool) asm("_ZN3app8lua_bind39PhysicsModule__set_swing_only_anim_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_swing_rate(u64,float) asm("_ZN3app8lua_bind34PhysicsModule__set_swing_rate_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_swing_rebirth(u64,bool) asm("_ZN3app8lua_bind37PhysicsModule__set_swing_rebirth_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_swing_special_state(u64,int) asm("_ZN3app8lua_bind43PhysicsModule__set_swing_special_state_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 stop_charge(u64) asm("_ZN3app8lua_bind31PhysicsModule__stop_charge_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} diff --git a/source/imports/app/lua_bind/PostureModule.hpp b/source/imports/app/lua_bind/PostureModule.hpp new file mode 100644 index 0000000..f641ffa --- /dev/null +++ b/source/imports/app/lua_bind/PostureModule.hpp @@ -0,0 +1,37 @@ +#pragma once + +namespace app::lua_bind { + namespace PostureModule { + u64 add_pos(u64,const Vector3f*) asm("_ZN3app8lua_bind27PostureModule__add_pos_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fE") LINKABLE; + u64 add_pos_2d(u64,const Vector2f*) asm("_ZN3app8lua_bind30PostureModule__add_pos_2d_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fE") LINKABLE; + u64 base_scale(u64) asm("_ZN3app8lua_bind30PostureModule__base_scale_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 init_pos(u64,const Vector3f*,bool,bool) asm("_ZN3app8lua_bind28PostureModule__init_pos_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEbb") LINKABLE; + u64 init_rot(u64) asm("_ZN3app8lua_bind28PostureModule__init_rot_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_rot_y_lr_different_inner_lr(u64) asm("_ZN3app8lua_bind50PostureModule__is_rot_y_lr_different_inner_lr_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + float lr(u64) asm("_ZN3app8lua_bind22PostureModule__lr_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 owner_scale(u64) asm("_ZN3app8lua_bind31PostureModule__owner_scale_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 pos(u64) asm("_ZN3app8lua_bind23PostureModule__pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 pos_2d(u64) asm("_ZN3app8lua_bind26PostureModule__pos_2d_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + float pos_x(u64) asm("_ZN3app8lua_bind25PostureModule__pos_x_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + float pos_y(u64) asm("_ZN3app8lua_bind25PostureModule__pos_y_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 pos_z(u64) asm("_ZN3app8lua_bind25PostureModule__pos_z_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 prev_pos(u64) asm("_ZN3app8lua_bind28PostureModule__prev_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 prev_pos_2d(u64) asm("_ZN3app8lua_bind31PostureModule__prev_pos_2d_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reverse_lr(u64) asm("_ZN3app8lua_bind30PostureModule__reverse_lr_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 rot(u64,int) asm("_ZN3app8lua_bind23PostureModule__rot_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 rot_x(u64,int) asm("_ZN3app8lua_bind25PostureModule__rot_x_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 rot_y(u64,int) asm("_ZN3app8lua_bind25PostureModule__rot_y_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 rot_y_lr(u64) asm("_ZN3app8lua_bind28PostureModule__rot_y_lr_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 rot_z(u64,int) asm("_ZN3app8lua_bind25PostureModule__rot_z_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 scale(u64) asm("_ZN3app8lua_bind25PostureModule__scale_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_lr(u64,float) asm("_ZN3app8lua_bind26PostureModule__set_lr_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_owner_scale(u64,float) asm("_ZN3app8lua_bind35PostureModule__set_owner_scale_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + float set_pos(u64,const Vector3f*) asm("_ZN3app8lua_bind27PostureModule__set_pos_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fE") LINKABLE; + float set_pos_2d(u64,const Vector2f*) asm("_ZN3app8lua_bind30PostureModule__set_pos_2d_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector2fE") LINKABLE; + u64 set_rot(u64,const Vector3f*,int) asm("_ZN3app8lua_bind27PostureModule__set_rot_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fEi") LINKABLE; + u64 set_scale(u64,float,bool) asm("_ZN3app8lua_bind29PostureModule__set_scale_implEPNS_26BattleObjectModuleAccessorEfb") LINKABLE; + u64 set_stick_lr(u64,float) asm("_ZN3app8lua_bind32PostureModule__set_stick_lr_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_sync_constraint_joint(u64,u64) asm("_ZN3app8lua_bind45PostureModule__set_sync_constraint_joint_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 update_rot_y_lr(u64) asm("_ZN3app8lua_bind35PostureModule__update_rot_y_lr_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ReflectModule.hpp b/source/imports/app/lua_bind/ReflectModule.hpp new file mode 100644 index 0000000..9169a89 --- /dev/null +++ b/source/imports/app/lua_bind/ReflectModule.hpp @@ -0,0 +1,11 @@ +#pragma once + +namespace app::lua_bind { + namespace ReflectModule { + bool is_reflect(u64) asm("_ZN3app8lua_bind30ReflectModule__is_reflect_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 object_id(u64) asm("_ZN3app8lua_bind29ReflectModule__object_id_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_info(u64) asm("_ZN3app8lua_bind30ReflectModule__reset_info_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 speed_mul(u64) asm("_ZN3app8lua_bind29ReflectModule__speed_mul_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 team_no(u64) asm("_ZN3app8lua_bind27ReflectModule__team_no_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ReflectorModule.hpp b/source/imports/app/lua_bind/ReflectorModule.hpp new file mode 100644 index 0000000..a713b3d --- /dev/null +++ b/source/imports/app/lua_bind/ReflectorModule.hpp @@ -0,0 +1,10 @@ +#pragma once + +namespace app::lua_bind { + namespace ReflectorModule { + u64 is_shield(u64,int,int) asm("_ZN3app8lua_bind31ReflectorModule__is_shield_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 set_no_team(u64,bool) asm("_ZN3app8lua_bind33ReflectorModule__set_no_team_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_status(u64,int,int shieldStatus,int) asm("_ZN3app8lua_bind32ReflectorModule__set_status_implEPNS_26BattleObjectModuleAccessorEiNS_12ShieldStatusEi") LINKABLE; + u64 set_status_all(u64,int shieldStatus,int) asm("_ZN3app8lua_bind36ReflectorModule__set_status_all_implEPNS_26BattleObjectModuleAccessorENS_12ShieldStatusEi") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/SearchModule.hpp b/source/imports/app/lua_bind/SearchModule.hpp new file mode 100644 index 0000000..0527bfd --- /dev/null +++ b/source/imports/app/lua_bind/SearchModule.hpp @@ -0,0 +1,15 @@ +#pragma once + +namespace app::lua_bind { + namespace SearchModule { + u64 clear(u64,int) asm("_ZN3app8lua_bind24SearchModule__clear_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 clear_all(u64) asm("_ZN3app8lua_bind28SearchModule__clear_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 enable_safe_pos(u64) asm("_ZN3app8lua_bind34SearchModule__enable_safe_pos_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_search(u64,int) asm("_ZN3app8lua_bind28SearchModule__is_search_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_offset(u64,int,const Vector3f*) asm("_ZN3app8lua_bind29SearchModule__set_offset_implEPNS_26BattleObjectModuleAccessorEiRKN3phx8Vector3fE") LINKABLE; + u64 set_size(u64,int,float) asm("_ZN3app8lua_bind27SearchModule__set_size_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_sync_lr(u64,bool) asm("_ZN3app8lua_bind30SearchModule__set_sync_lr_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_target_opponent(u64,int,int,int,u64) asm("_ZN3app8lua_bind38SearchModule__set_target_opponent_implEPNS_26BattleObjectModuleAccessorEiiij") LINKABLE; + u64 sleep(u64,bool) asm("_ZN3app8lua_bind24SearchModule__sleep_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ShadowModule.hpp b/source/imports/app/lua_bind/ShadowModule.hpp new file mode 100644 index 0000000..cae075c --- /dev/null +++ b/source/imports/app/lua_bind/ShadowModule.hpp @@ -0,0 +1,9 @@ +#pragma once + +namespace app::lua_bind { + namespace ShadowModule { + u64 set_draw(u64,int shadowDrawFlag,bool) asm("_ZN3app8lua_bind27ShadowModule__set_draw_implEPNS_26BattleObjectModuleAccessorENS_14ShadowDrawFlagEb") LINKABLE; + u64 set_draw_status(u64,bool) asm("_ZN3app8lua_bind34ShadowModule__set_draw_status_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_offset_y(u64,float) asm("_ZN3app8lua_bind31ShadowModule__set_offset_y_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ShakeModule.hpp b/source/imports/app/lua_bind/ShakeModule.hpp new file mode 100644 index 0000000..7c78773 --- /dev/null +++ b/source/imports/app/lua_bind/ShakeModule.hpp @@ -0,0 +1,16 @@ +#pragma once + +namespace app::lua_bind { + namespace ShakeModule { + u64 disable_offset(u64) asm("_ZN3app8lua_bind32ShakeModule__disable_offset_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 enable_offset(u64,Vector3f *) asm("_ZN3app8lua_bind31ShakeModule__enable_offset_implEPNS_26BattleObjectModuleAccessorERN3phx8Vector3fE") LINKABLE; + u64 extend(u64,u64,int) asm("_ZN3app8lua_bind24ShakeModule__extend_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ei") LINKABLE; + u64 is_shake(u64) asm("_ZN3app8lua_bind26ShakeModule__is_shake_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 req(u64,u64,int,bool,const Vector2f*,float,float,bool,bool) asm("_ZN3app8lua_bind21ShakeModule__req_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40EibRKNS3_8Vector2fEffbb") LINKABLE; + u64 req_time_scale(u64,u64,int,bool,const Vector2f*,float,float,bool,bool,int,float) asm("_ZN3app8lua_bind32ShakeModule__req_time_scale_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40EibRKNS3_8Vector2fEffbbif") LINKABLE; + u64 set_axis_xy_kind(u64,u64,bool) asm("_ZN3app8lua_bind34ShakeModule__set_axis_xy_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Eb") LINKABLE; + u64 set_scale_kind(u64,u64,float) asm("_ZN3app8lua_bind32ShakeModule__set_scale_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ef") LINKABLE; + u64 stop(u64) asm("_ZN3app8lua_bind22ShakeModule__stop_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 stop_kind(u64,u64) asm("_ZN3app8lua_bind27ShakeModule__stop_kind_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/ShieldModule.hpp b/source/imports/app/lua_bind/ShieldModule.hpp new file mode 100644 index 0000000..48bc25c --- /dev/null +++ b/source/imports/app/lua_bind/ShieldModule.hpp @@ -0,0 +1,9 @@ +#pragma once + +namespace app::lua_bind { + namespace ShieldModule { + u64 set_hit_stop_mul(u64,float) asm("_ZN3app8lua_bind35ShieldModule__set_hit_stop_mul_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_shield_type(u64,int shieldType,int,int) asm("_ZN3app8lua_bind34ShieldModule__set_shield_type_implEPNS_26BattleObjectModuleAccessorENS_10ShieldTypeEii") LINKABLE; + u64 set_status(u64,int,int shieldStatus,int) asm("_ZN3app8lua_bind29ShieldModule__set_status_implEPNS_26BattleObjectModuleAccessorEiNS_12ShieldStatusEi") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/SlopeModule.hpp b/source/imports/app/lua_bind/SlopeModule.hpp new file mode 100644 index 0000000..cd0014f --- /dev/null +++ b/source/imports/app/lua_bind/SlopeModule.hpp @@ -0,0 +1,9 @@ +#pragma once + +namespace app::lua_bind { + namespace SlopeModule { + u64 floor_diff_l(u64) asm("_ZN3app8lua_bind30SlopeModule__floor_diff_l_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 floor_diff_r(u64) asm("_ZN3app8lua_bind30SlopeModule__floor_diff_r_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 update_model_top_angle(u64) asm("_ZN3app8lua_bind40SlopeModule__update_model_top_angle_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/SlowModule.hpp b/source/imports/app/lua_bind/SlowModule.hpp new file mode 100644 index 0000000..646abc4 --- /dev/null +++ b/source/imports/app/lua_bind/SlowModule.hpp @@ -0,0 +1,18 @@ +#pragma once + +namespace app::lua_bind { + namespace SlowModule { + u64 clear(u64) asm("_ZN3app8lua_bind22SlowModule__clear_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 clear_whole(u64) asm("_ZN3app8lua_bind28SlowModule__clear_whole_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 frame(u64,int) asm("_ZN3app8lua_bind22SlowModule__frame_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 is_prev_skip(u64) asm("_ZN3app8lua_bind29SlowModule__is_prev_skip_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_skip(u64) asm("_ZN3app8lua_bind24SlowModule__is_skip_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_slow(u64) asm("_ZN3app8lua_bind24SlowModule__is_slow_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 rate(u64) asm("_ZN3app8lua_bind21SlowModule__rate_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 rate_ignore_effect(u64) asm("_ZN3app8lua_bind35SlowModule__rate_ignore_effect_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set(u64,int,int,int,bool,uint) asm("_ZN3app8lua_bind20SlowModule__set_implEPNS_26BattleObjectModuleAccessorEiiibj") LINKABLE; + u64 set_whole(u64,unsigned char,int) asm("_ZN3app8lua_bind26SlowModule__set_whole_implEPNS_26BattleObjectModuleAccessorEhi") LINKABLE; + u64 whole_frame(u64) asm("_ZN3app8lua_bind28SlowModule__whole_frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 whole_mag(u64) asm("_ZN3app8lua_bind26SlowModule__whole_mag_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } + } diff --git a/source/imports/app/lua_bind/SoundModule.hpp b/source/imports/app/lua_bind/SoundModule.hpp new file mode 100644 index 0000000..792fd8e --- /dev/null +++ b/source/imports/app/lua_bind/SoundModule.hpp @@ -0,0 +1,34 @@ +#pragma once + +namespace app::lua_bind { + namespace SoundModule { + u64 get_common_sound_label(u64,uint) asm("_ZN3app8lua_bind40SoundModule__get_common_sound_label_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 get_se_vol(u64,int) asm("_ZN3app8lua_bind28SoundModule__get_se_vol_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 is_playing(u64,u64) asm("_ZN3app8lua_bind28SoundModule__is_playing_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 is_playing_status(u64,u64) asm("_ZN3app8lua_bind35SoundModule__is_playing_status_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 play_se(u64,u64,bool,bool,bool,bool,int enSEType) asm("_ZN3app8lua_bind25SoundModule__play_se_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40EbbbbNS_11SoundModule8enSETypeE") LINKABLE; + u64 play_se_no3d(u64,u64,bool,bool) asm("_ZN3app8lua_bind30SoundModule__play_se_no3d_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ebb") LINKABLE; + u64 play_se_pos(u64,u64,const Vector3f*,bool,bool) asm("_ZN3app8lua_bind29SoundModule__play_se_pos_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ERKNS3_8Vector3fEbb") LINKABLE; + u64 play_sequence(u64,u64,bool,bool) asm("_ZN3app8lua_bind31SoundModule__play_sequence_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ebb") LINKABLE; + u64 play_status_bgm(u64,int enStatusBGMType) asm("_ZN3app8lua_bind33SoundModule__play_status_bgm_implEPNS_26BattleObjectModuleAccessorENS_15enStatusBGMTypeE") LINKABLE; + u64 play_status_se(u64,u64,bool,bool,bool) asm("_ZN3app8lua_bind32SoundModule__play_status_se_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ebbb") LINKABLE; + u64 set_auto_se_pitch(u64,float) asm("_ZN3app8lua_bind35SoundModule__set_auto_se_pitch_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_continue_se_at_game_finish(u64,int,bool) asm("_ZN3app8lua_bind48SoundModule__set_continue_se_at_game_finish_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_gamespeed_se_calibration(u64,bool) asm("_ZN3app8lua_bind46SoundModule__set_gamespeed_se_calibration_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_play_hit_se_flag(u64,bool) asm("_ZN3app8lua_bind38SoundModule__set_play_hit_se_flag_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_play_inhivit(u64,u64,uint) asm("_ZN3app8lua_bind34SoundModule__set_play_inhivit_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ej") LINKABLE; + u64 set_position_sub(u64,const Vector3f*) asm("_ZN3app8lua_bind34SoundModule__set_position_sub_implEPNS_26BattleObjectModuleAccessorERKN3phx8Vector3fE") LINKABLE; + u64 set_remain_se(u64,bool) asm("_ZN3app8lua_bind31SoundModule__set_remain_se_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_se_pitch_cent(u64,u64,float) asm("_ZN3app8lua_bind35SoundModule__set_se_pitch_cent_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ef") LINKABLE; + u64 set_se_pitch_ratio(u64,u64,float) asm("_ZN3app8lua_bind36SoundModule__set_se_pitch_ratio_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ef") LINKABLE; + u64 set_se_pitch_status(u64,float) asm("_ZN3app8lua_bind37SoundModule__set_se_pitch_status_implEPNS_26BattleObjectModuleAccessorEf") LINKABLE; + u64 set_se_pitch_status_handle(u64,int,float) asm("_ZN3app8lua_bind44SoundModule__set_se_pitch_status_handle_implEPNS_26BattleObjectModuleAccessorEif") LINKABLE; + u64 set_se_vol(u64,int,float,int) asm("_ZN3app8lua_bind28SoundModule__set_se_vol_implEPNS_26BattleObjectModuleAccessorEifi") LINKABLE; + u64 set_se_vol_db(u64,int,float,int) asm("_ZN3app8lua_bind31SoundModule__set_se_vol_db_implEPNS_26BattleObjectModuleAccessorEifi") LINKABLE; + u64 set_takeout_se(u64,u64) asm("_ZN3app8lua_bind32SoundModule__set_takeout_se_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 stop_se(u64,u64,uint) asm("_ZN3app8lua_bind25SoundModule__stop_se_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Ej") LINKABLE; + u64 stop_se_all(u64,uint,bool,bool) asm("_ZN3app8lua_bind29SoundModule__stop_se_all_implEPNS_26BattleObjectModuleAccessorEjbb") LINKABLE; + u64 stop_se_handle(u64,int,uint) asm("_ZN3app8lua_bind32SoundModule__stop_se_handle_implEPNS_26BattleObjectModuleAccessorEij") LINKABLE; + u64 stop_status_se(u64) asm("_ZN3app8lua_bind32SoundModule__stop_status_se_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/StatusModule.hpp b/source/imports/app/lua_bind/StatusModule.hpp new file mode 100644 index 0000000..1a25380 --- /dev/null +++ b/source/imports/app/lua_bind/StatusModule.hpp @@ -0,0 +1,22 @@ +#pragma once + +namespace app::lua_bind { + namespace StatusModule { + u64 change_status_request(u64,int,bool) asm("_ZN3app8lua_bind40StatusModule__change_status_request_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 change_status_request_from_script(u64,int,bool) asm("_ZN3app8lua_bind52StatusModule__change_status_request_from_script_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 delete_status_request_from_script(u64) asm("_ZN3app8lua_bind52StatusModule__delete_status_request_from_script_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 init_settings(u64,int situationKind,int,u64,int groundCliffCheckKind,bool,int,int,int,int) asm("_ZN3app8lua_bind32StatusModule__init_settings_implEPNS_26BattleObjectModuleAccessorENS_13SituationKindEijNS_20GroundCliffCheckKindEbiiii") LINKABLE; + u64 is_changing(u64) asm("_ZN3app8lua_bind30StatusModule__is_changing_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_situation_changed(u64) asm("_ZN3app8lua_bind39StatusModule__is_situation_changed_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 prev_situation_kind(u64) asm("_ZN3app8lua_bind38StatusModule__prev_situation_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 prev_status_kind(u64,u64) asm("_ZN3app8lua_bind35StatusModule__prev_status_kind_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 set_keep_situation_air(u64,bool) asm("_ZN3app8lua_bind41StatusModule__set_keep_situation_air_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_situation_kind(u64,int situationKind,bool) asm("_ZN3app8lua_bind37StatusModule__set_situation_kind_implEPNS_26BattleObjectModuleAccessorENS_13SituationKindEb") LINKABLE; + u64 set_status_kind_interrupt(u64,int) asm("_ZN3app8lua_bind44StatusModule__set_status_kind_interrupt_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 situation_kind(u64) asm("_ZN3app8lua_bind33StatusModule__situation_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 status_kind(u64) asm("_ZN3app8lua_bind30StatusModule__status_kind_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 status_kind_interrupt(u64) asm("_ZN3app8lua_bind40StatusModule__status_kind_interrupt_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 status_kind_next(u64) asm("_ZN3app8lua_bind35StatusModule__status_kind_next_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 status_kind_que_from_script(u64) asm("_ZN3app8lua_bind46StatusModule__status_kind_que_from_script_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/StopModule.hpp b/source/imports/app/lua_bind/StopModule.hpp new file mode 100644 index 0000000..1d9cfad --- /dev/null +++ b/source/imports/app/lua_bind/StopModule.hpp @@ -0,0 +1,15 @@ +#pragma once + +namespace app::lua_bind { + namespace StopModule { + u64 cancel_hit_stop(u64) asm("_ZN3app8lua_bind32StopModule__cancel_hit_stop_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 cancel_other_stop(u64,int stopOtherKind) asm("_ZN3app8lua_bind34StopModule__cancel_other_stop_implEPNS_26BattleObjectModuleAccessorENS_13StopOtherKindE") LINKABLE; + u64 get_hit_stop_real_frame(u64) asm("_ZN3app8lua_bind40StopModule__get_hit_stop_real_frame_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_damage(u64) asm("_ZN3app8lua_bind26StopModule__is_damage_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_hit(u64) asm("_ZN3app8lua_bind23StopModule__is_hit_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_stop(u64) asm("_ZN3app8lua_bind24StopModule__is_stop_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_hit_stop_frame(u64,int,bool) asm("_ZN3app8lua_bind35StopModule__set_hit_stop_frame_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_link_stop(u64,bool,bool) asm("_ZN3app8lua_bind30StopModule__set_link_stop_implEPNS_26BattleObjectModuleAccessorEbb") LINKABLE; + u64 set_other_stop(u64,int,int stopOtherKind) asm("_ZN3app8lua_bind31StopModule__set_other_stop_implEPNS_26BattleObjectModuleAccessorEiNS_13StopOtherKindE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/TeamModule.hpp b/source/imports/app/lua_bind/TeamModule.hpp new file mode 100644 index 0000000..5fce4b8 --- /dev/null +++ b/source/imports/app/lua_bind/TeamModule.hpp @@ -0,0 +1,14 @@ +#pragma once +namespace app::lua_bind { + namespace TeamModule { + u64 hit_team_no(u64) asm("_ZN3app8lua_bind28TeamModule__hit_team_no_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 metamon_owner_fighter_entry_id(u64) asm("_ZN3app8lua_bind47TeamModule__metamon_owner_fighter_entry_id_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_hit_team(u64,int) asm("_ZN3app8lua_bind29TeamModule__set_hit_team_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_team(u64,int,bool) asm("_ZN3app8lua_bind25TeamModule__set_team_implEPNS_26BattleObjectModuleAccessorEib") LINKABLE; + u64 set_team_owner_id(u64,uint) asm("_ZN3app8lua_bind34TeamModule__set_team_owner_id_implEPNS_26BattleObjectModuleAccessorEj") LINKABLE; + u64 set_team_second(u64,int) asm("_ZN3app8lua_bind32TeamModule__set_team_second_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 team_no(u64) asm("_ZN3app8lua_bind24TeamModule__team_no_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 team_owner_id(u64) asm("_ZN3app8lua_bind30TeamModule__team_owner_id_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 team_second_no(u64) asm("_ZN3app8lua_bind31TeamModule__team_second_no_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + } +} \ No newline at end of file diff --git a/source/imports/app/lua_bind/TurnModule.hpp b/source/imports/app/lua_bind/TurnModule.hpp new file mode 100644 index 0000000..324d639 --- /dev/null +++ b/source/imports/app/lua_bind/TurnModule.hpp @@ -0,0 +1,13 @@ +#pragma once + +namespace app::lua_bind { + namespace TurnModule { + u64 end_turn(u64) asm("_ZN3app8lua_bind25TurnModule__end_turn_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_extern(u64) asm("_ZN3app8lua_bind26TurnModule__is_extern_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_turn(u64) asm("_ZN3app8lua_bind24TurnModule__is_turn_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_turn_after90(u64) asm("_ZN3app8lua_bind32TurnModule__is_turn_after90_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 ry_reverse(u64) asm("_ZN3app8lua_bind27TurnModule__ry_reverse_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_omit_intermediate(u64,bool) asm("_ZN3app8lua_bind38TurnModule__set_omit_intermediate_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + u64 set_turn(u64,u64,float,bool,bool,bool) asm("_ZN3app8lua_bind25TurnModule__set_turn_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Efbbb") LINKABLE; + } +} diff --git a/source/imports/app/lua_bind/VisibilityModule.hpp b/source/imports/app/lua_bind/VisibilityModule.hpp new file mode 100644 index 0000000..cf12c93 --- /dev/null +++ b/source/imports/app/lua_bind/VisibilityModule.hpp @@ -0,0 +1,19 @@ +#pragma once +namespace app::lua_bind { + namespace VisibilityModule { + u64 get_whole(u64) asm("_ZN3app8lua_bind32VisibilityModule__get_whole_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 is_visible(u64) asm("_ZN3app8lua_bind33VisibilityModule__is_visible_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 reset_status_default_int64(u64,s64) asm("_ZN3app8lua_bind49VisibilityModule__reset_status_default_int64_implEPNS_26BattleObjectModuleAccessorEl") LINKABLE; + u64 set(u64,u64,u64) asm("_ZN3app8lua_bind26VisibilityModule__set_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ES4_") LINKABLE; + u64 set_default(u64,u64) asm("_ZN3app8lua_bind34VisibilityModule__set_default_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40E") LINKABLE; + u64 set_default_all(u64) asm("_ZN3app8lua_bind38VisibilityModule__set_default_all_implEPNS_26BattleObjectModuleAccessorE") LINKABLE; + u64 set_default_int64(u64,s64) asm("_ZN3app8lua_bind40VisibilityModule__set_default_int64_implEPNS_26BattleObjectModuleAccessorEl") LINKABLE; + u64 set_int64(u64,s64,s64) asm("_ZN3app8lua_bind32VisibilityModule__set_int64_implEPNS_26BattleObjectModuleAccessorEll") LINKABLE; + u64 set_material_anim_priority(u64,u64,bool) asm("_ZN3app8lua_bind49VisibilityModule__set_material_anim_priority_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Eb") LINKABLE; + u64 set_mesh_visibility(u64,u64,int,bool) asm("_ZN3app8lua_bind42VisibilityModule__set_mesh_visibility_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40Eib") LINKABLE; + u64 set_mesh_visibility_int64(u64,s64,int,bool) asm("_ZN3app8lua_bind48VisibilityModule__set_mesh_visibility_int64_implEPNS_26BattleObjectModuleAccessorElib") LINKABLE; + u64 set_status_default(u64,u64,u64) asm("_ZN3app8lua_bind41VisibilityModule__set_status_default_implEPNS_26BattleObjectModuleAccessorEN3phx6Hash40ES4_") LINKABLE; + u64 set_status_default_int64(u64,s64,s64) asm("_ZN3app8lua_bind47VisibilityModule__set_status_default_int64_implEPNS_26BattleObjectModuleAccessorEll") LINKABLE; + u64 set_whole(u64,bool) asm("_ZN3app8lua_bind32VisibilityModule__set_whole_implEPNS_26BattleObjectModuleAccessorEb") LINKABLE; + } +} diff --git a/source/imports/app/lua_bind/WorkModule.hpp b/source/imports/app/lua_bind/WorkModule.hpp new file mode 100644 index 0000000..25c61cf --- /dev/null +++ b/source/imports/app/lua_bind/WorkModule.hpp @@ -0,0 +1,44 @@ +#pragma once + +namespace app::lua_bind { + namespace WorkModule { + u64 add_float(u64,float,int) asm("_ZN3app8lua_bind26WorkModule__add_float_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 add_int(u64,int,int) asm("_ZN3app8lua_bind24WorkModule__add_int_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 clear_all(u64,int workKind) asm("_ZN3app8lua_bind26WorkModule__clear_all_implEPNS_26BattleObjectModuleAccessorENS_8WorkKindE") LINKABLE; + u64 count_down_int(u64,int,int) asm("_ZN3app8lua_bind31WorkModule__count_down_int_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + void dec_int(u64,int) asm("_ZN3app8lua_bind24WorkModule__dec_int_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 div_float(u64,float,int) asm("_ZN3app8lua_bind26WorkModule__div_float_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 enable_transition_term(u64,int) asm("_ZN3app8lua_bind39WorkModule__enable_transition_term_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 enable_transition_term_forbid(u64,int) asm("_ZN3app8lua_bind46WorkModule__enable_transition_term_forbid_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 enable_transition_term_forbid_group(u64,int) asm("_ZN3app8lua_bind52WorkModule__enable_transition_term_forbid_group_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 enable_transition_term_group(u64,int) asm("_ZN3app8lua_bind45WorkModule__enable_transition_term_group_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 enable_transition_term_group_ex(u64,int) asm("_ZN3app8lua_bind48WorkModule__enable_transition_term_group_ex_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_float(u64,int) asm("_ZN3app8lua_bind26WorkModule__get_float_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_int(u64,int) asm("_ZN3app8lua_bind24WorkModule__get_int_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_int64(u64,int) asm("_ZN3app8lua_bind26WorkModule__get_int64_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 get_param_float(u64,u64,u64) asm("_ZN3app8lua_bind32WorkModule__get_param_float_implEPNS_26BattleObjectModuleAccessorEmm") LINKABLE; + u64 get_param_int(u64,u64,u64) asm("_ZN3app8lua_bind30WorkModule__get_param_int_implEPNS_26BattleObjectModuleAccessorEmm") LINKABLE; + u64 get_param_int64(u64,u64,u64) asm("_ZN3app8lua_bind32WorkModule__get_param_int64_implEPNS_26BattleObjectModuleAccessorEmm") LINKABLE; + void inc_int(u64,int) asm("_ZN3app8lua_bind24WorkModule__inc_int_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_enable_transition_term(u64,int) asm("_ZN3app8lua_bind42WorkModule__is_enable_transition_term_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_enable_transition_term_forbid(u64,int) asm("_ZN3app8lua_bind49WorkModule__is_enable_transition_term_forbid_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_enable_transition_term_group(u64,int) asm("_ZN3app8lua_bind48WorkModule__is_enable_transition_term_group_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + bool is_flag(u64,int) asm("_ZN3app8lua_bind24WorkModule__is_flag_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 mul_float(u64,float,int) asm("_ZN3app8lua_bind26WorkModule__mul_float_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 mul_int(u64,int,int) asm("_ZN3app8lua_bind24WorkModule__mul_int_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + void off_flag(u64,int) asm("_ZN3app8lua_bind25WorkModule__off_flag_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + void on_flag(u64,int) asm("_ZN3app8lua_bind24WorkModule__on_flag_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 set_flag(u64,bool,int) asm("_ZN3app8lua_bind25WorkModule__set_flag_implEPNS_26BattleObjectModuleAccessorEbi") LINKABLE; + u64 set_float(u64,float,int) asm("_ZN3app8lua_bind26WorkModule__set_float_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 set_int(u64,int,int) asm("_ZN3app8lua_bind24WorkModule__set_int_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 set_int64(u64,s64,int) asm("_ZN3app8lua_bind26WorkModule__set_int64_implEPNS_26BattleObjectModuleAccessorEli") LINKABLE; + u64 sub_float(u64,float,int) asm("_ZN3app8lua_bind26WorkModule__sub_float_implEPNS_26BattleObjectModuleAccessorEfi") LINKABLE; + u64 sub_int(u64,int,int) asm("_ZN3app8lua_bind24WorkModule__sub_int_implEPNS_26BattleObjectModuleAccessorEii") LINKABLE; + u64 turn_off_flag(u64,int) asm("_ZN3app8lua_bind30WorkModule__turn_off_flag_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 unable_transition_term(u64,int) asm("_ZN3app8lua_bind39WorkModule__unable_transition_term_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 unable_transition_term_forbid(u64,int) asm("_ZN3app8lua_bind46WorkModule__unable_transition_term_forbid_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 unable_transition_term_forbid_group(u64,int) asm("_ZN3app8lua_bind52WorkModule__unable_transition_term_forbid_group_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 unable_transition_term_group(u64,int) asm("_ZN3app8lua_bind45WorkModule__unable_transition_term_group_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + u64 unable_transition_term_group_ex(u64,int) asm("_ZN3app8lua_bind48WorkModule__unable_transition_term_group_ex_implEPNS_26BattleObjectModuleAccessorEi") LINKABLE; + } +} diff --git a/source/acmd_imports.hpp b/source/imports/app/sv_animcmd.hpp similarity index 63% rename from source/acmd_imports.hpp rename to source/imports/app/sv_animcmd.hpp index fbfbdc8..c250a0a 100644 --- a/source/acmd_imports.hpp +++ b/source/imports/app/sv_animcmd.hpp @@ -1,5 +1,5 @@ -#ifndef ACMD_IMPORTS_H -#define ACMD_IMPORTS_H +#ifndef APP_SV_ANIMCMD_H +#define APP_SV_ANIMCMD_H #include @@ -7,17 +7,18 @@ namespace app::sv_animcmd { extern void wait(u64, float) asm("_ZN3app10sv_animcmd4waitEP9lua_Statef") LINKABLE; extern void frame(u64, float) asm("_ZN3app10sv_animcmd5frameEP9lua_Statef") LINKABLE; extern void is_excute(u64) asm("_ZN3app10sv_animcmd9is_excuteEP9lua_State") LINKABLE; - extern u64 ATTACK(u64) asm("_ZN3app10sv_animcmd6ATTACKEP9lua_State") LINKABLE; + extern u64 CATCH(u64) asm("_ZN3app10sv_animcmd5CATCHEP9lua_State") LINKABLE; - + extern u64 ATTACK(u64) asm("_ZN3app10sv_animcmd6ATTACKEP9lua_State") LINKABLE; extern u64 EFFECT(u64) asm("_ZN3app10sv_animcmd6EFFECTEP9lua_State") LINKABLE; extern u64 EFFECT_FOLLOW_NO_SCALE(u64) asm("_ZN3app10sv_animcmd22EFFECT_FOLLOW_NO_SCALEEP9lua_State") LINKABLE; extern u64 LAST_EFFECT_SET_COLOR(u64) asm("_ZN3app10sv_animcmd21LAST_EFFECT_SET_COLOREP9lua_State") LINKABLE; extern u64 LAST_EFFECT_SET_RATE(u64) asm("_ZN3app10sv_animcmd20LAST_EFFECT_SET_RATEEP9lua_State") LINKABLE; + extern u64 SEARCH(u64) asm("_ZN3app10sv_animcmd6SEARCHEP9lua_State") LINKABLE; + extern u64 HIT_NODE(u64) asm("_ZN3app10sv_animcmd8HIT_NODEEP9lua_State") LINKABLE; + extern u64 ATK_POWER(u64) asm("_ZN3app10sv_animcmd9ATK_POWEREP9lua_State") LINKABLE; + extern u64 REVERSE_LR(u64) asm("_ZN3app10sv_animcmd10REVERSE_LREP9lua_State") LINKABLE; + extern u64 FT_MOTION_RATE(u64) asm("_ZN3app10sv_animcmd14FT_MOTION_RATEEP9lua_State") LINKABLE; } -namespace app::sv_module_access { - extern u64 grab(u64) asm("_ZN3app16sv_module_access4grabEP9lua_State") LINKABLE; -} - -#endif // ACMD_IMPORTS_H +#endif // APP_SV_ANIMCMD_H diff --git a/source/imports/app/sv_math.hpp b/source/imports/app/sv_math.hpp new file mode 100644 index 0000000..321e3f1 --- /dev/null +++ b/source/imports/app/sv_math.hpp @@ -0,0 +1,10 @@ +#ifndef APP_SV_MATH +#define APP_SV_MATH + +#include + +namespace app::sv_math { + int rand(u64, int) asm("_ZN3app7sv_math4randEN3phx6Hash40Ei") LINKABLE; +} + +#endif // APP_SV_MATH \ No newline at end of file diff --git a/source/imports/app/sv_system.hpp b/source/imports/app/sv_system.hpp new file mode 100644 index 0000000..18f974c --- /dev/null +++ b/source/imports/app/sv_system.hpp @@ -0,0 +1,13 @@ +#ifndef APP_SV_SYSTEM_H +#define APP_SV_SYSTEM_H + +#include + +namespace app::sv_system { + u64 battle_object(u64) asm("_ZN3app9sv_system13battle_objectEP9lua_State") LINKABLE; + u64 battle_object_module_accessor(u64) asm("_ZN3app9sv_system29battle_object_module_accessorEP9lua_State") LINKABLE; + u8 battle_object_category(u64) asm("_ZN3app9sv_system22battle_object_categoryEP9lua_State") LINKABLE; + int battle_object_kind(u64) asm("_ZN3app9sv_system18battle_object_kindEP9lua_State") LINKABLE; +} + +#endif // APP_SV_SYSTEM_H \ No newline at end of file diff --git a/source/l2c_imports.hpp b/source/imports/lib/l2c.hpp similarity index 83% rename from source/l2c_imports.hpp rename to source/imports/lib/l2c.hpp index f3df2a9..8cbb5ca 100644 --- a/source/l2c_imports.hpp +++ b/source/imports/lib/l2c.hpp @@ -1,12 +1,9 @@ -#ifndef L2C_IMPORTS_H -#define L2C_IMPORTS_H +#ifndef L2C_H +#define L2C_H #include -#include - -#include "useful.h" - +#include "../../useful/useful.h" #include "lua_bind_hash.hpp" u64 is_training_mode(void) asm("_ZN3app9smashball16is_training_modeEv") LINKABLE; @@ -24,14 +21,14 @@ namespace lib { L2C_string = 8, }; - typedef struct L2CTable_meta { + struct L2CTable_meta { uint64_t a; uint64_t b; uint64_t c; uint64_t d; - } L2CTable_meta; + }; - typedef struct L2CTable { + struct L2CTable { uint32_t refcnt; uint32_t unk; @@ -40,9 +37,10 @@ namespace lib { uint64_t also_end; // L2CValue* struct L2CTable_meta meta; uint64_t unk_ptr; - } L2CTable; + }; - typedef struct L2CInnerFunctionBase { + struct L2CInnerFunctionBase + { uint64_t unk; uint32_t refcnt; } L2CInnerFunctionBase; @@ -53,15 +51,13 @@ namespace lib { union { uint64_t raw; float raw_float; - // void* raw_pointer; - // struct L2CTable* raw_table; - // struct L2CInnerFunctionBase* raw_innerfunc; + void* raw_pointer; + struct L2CTable* raw_table; + struct L2CInnerFunctionBase* raw_innerfunc; //std::string* raw_string; }; - L2CValue() { - type = L2C_void; - } + L2CValue() {} L2CValue(bool val) { type = L2C_bool; @@ -79,21 +75,17 @@ namespace lib { } L2CValue(float val) { - if (isnan(val)) { - type = L2C_void; - } else { - type = L2C_number; - raw_float = val; - } + type = L2C_number; + raw_float = val; } L2CValue(double val) { - if (isnan(val)) { - type = L2C_void; - } else { - type = L2C_number; - raw_float = val; - } + type = L2C_number; + raw_float = val; + } + + L2CValue(const char* str) { + type = L2C_void; } operator bool() asm("_ZNK3lib8L2CValuecvbEv") LINKABLE; @@ -137,8 +129,6 @@ namespace lib { u64 clear_lua_stack() asm("_ZN3lib8L2CAgent15clear_lua_stackEv") LINKABLE; }; - u64 L2CValue_int(L2CValue*, int) asm("_ZN3lib8L2CValueC1Ei") LINKABLE; - bool lua_bind_get_value(u64, int*) asm("_ZN3lib18lua_bind_get_valueIiEEbmRT_") LINKABLE; int lua_const(const char* str) { @@ -148,6 +138,12 @@ namespace lib { else return -1; } + + namespace utility { + namespace Variadic { + const char* get_format(void* variadic) asm("_ZNK3lib7utility8Variadic10get_formatEv") LINKABLE; + } + } } -#endif // L2C_IMPORTS_H +#endif // L2C_H diff --git a/source/lua_bind_hash.hpp b/source/imports/lib/lua_bind_hash.hpp similarity index 100% rename from source/lua_bind_hash.hpp rename to source/imports/lib/lua_bind_hash.hpp diff --git a/source/main.cpp b/source/main.cpp index 3f245c9..6d6260c 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -7,15 +7,15 @@ #include #include -#include "useful.h" +#include "useful/useful.h" -#include "saltysd_core.h" -#include "saltysd_ipc.h" -#include "saltysd_dynamic.h" +#include "saltysd/saltysd_core.h" +#include "saltysd/saltysd_ipc.h" +#include "saltysd/saltysd_dynamic.h" -#include "saltysd_helper.hpp" -#include "l2c_imports.hpp" -#include "acmd_imports.hpp" +#include "saltysd/saltysd_helper.hpp" +#include "imports/lib/l2c.hpp" +#include "imports/app/sv_animcmd.hpp" #include "hitbox_visualizer.hpp" #include "script_replacement.hpp" diff --git a/source/nn_ro.h b/source/saltysd/nn_ro.h similarity index 100% rename from source/nn_ro.h rename to source/saltysd/nn_ro.h diff --git a/source/saltysd_core.h b/source/saltysd/saltysd_core.h similarity index 89% rename from source/saltysd_core.h rename to source/saltysd/saltysd_core.h index 9e25bb1..a0b26c0 100644 --- a/source/saltysd_core.h +++ b/source/saltysd/saltysd_core.h @@ -3,7 +3,7 @@ #include -#include "useful.h" +#include "../useful/useful.h" extern "C" { u64 SaltySDCore_getCodeStart() LINKABLE; diff --git a/source/saltysd_dynamic.h b/source/saltysd/saltysd_dynamic.h similarity index 95% rename from source/saltysd_dynamic.h rename to source/saltysd/saltysd_dynamic.h index d04d65a..09a3960 100644 --- a/source/saltysd_dynamic.h +++ b/source/saltysd/saltysd_dynamic.h @@ -3,7 +3,7 @@ #include -#include "useful.h" +#include "../useful/useful.h" extern "C" { uint64_t SaltySDCore_GetSymbolAddr(void* base, char* name) LINKABLE; diff --git a/source/saltysd_helper.cpp b/source/saltysd/saltysd_helper.hpp similarity index 86% rename from source/saltysd_helper.cpp rename to source/saltysd/saltysd_helper.hpp index c80c042..46f12ee 100644 --- a/source/saltysd_helper.cpp +++ b/source/saltysd/saltysd_helper.hpp @@ -1,3 +1,6 @@ +#ifndef SALTYSD_HELPER_H +#define SALTYSD_HELPER_H + #include #include "saltysd_core.h" @@ -5,6 +8,10 @@ #include "saltysd_dynamic.h" #include "nn_ro.h" +#define ANCHOR_REL 0x70ffffc000 +u64 ANCHOR_ABS; +#define IMPORT(x) (x - ANCHOR_REL + ANCHOR_ABS) + void (*SaltySD_installed_hook)(char*, u64) = NULL; int SaltySD_function_replace(u64 addr, u64 new_func) { @@ -34,3 +41,5 @@ void SaltySD_install_nro_hook(u64 LoadModule_thunk_addr, void hook_main(char*, u SaltySD_installed_hook = hook_main; SaltySD_function_replace(LoadModule_thunk_addr, (u64) LoadModule); } + +#endif // SALTYSD_HELPER_H diff --git a/source/saltysd_ipc.h b/source/saltysd/saltysd_ipc.h similarity index 94% rename from source/saltysd_ipc.h rename to source/saltysd/saltysd_ipc.h index 294435a..39a7f71 100644 --- a/source/saltysd_ipc.h +++ b/source/saltysd/saltysd_ipc.h @@ -3,7 +3,7 @@ #include -#include "useful.h" +#include "../useful/useful.h" extern "C" { void SaltySD_Init() LINKABLE; diff --git a/source/saltysd_helper.hpp b/source/saltysd_helper.hpp deleted file mode 100644 index f45c8b9..0000000 --- a/source/saltysd_helper.hpp +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef SALTYSD_HELPER_H -#define SALTYSD_HELPER_H - -#include - -#define ANCHOR_REL 0x70ffffc000 -u64 ANCHOR_ABS; -#define IMPORT(x) (x - ANCHOR_REL + ANCHOR_ABS) - -int SaltySD_function_replace(u64 addr, u64 new_func); -int SaltySD_function_replace_sym(char* function_sym, u64 new_func); - -#endif // SALTYSD_HELPER_H diff --git a/source/script_replacement.hpp b/source/script_replacement.hpp index c9f8e6a..7b2df06 100644 --- a/source/script_replacement.hpp +++ b/source/script_replacement.hpp @@ -2,19 +2,17 @@ #include -#include "crc32.h" -#include "useful.h" +#include "useful/crc32.h" +#include "useful/useful.h" -#include "l2c_imports.hpp" +#include "useful/const_value_table.h" +#include "useful/raygun_printer.hpp" + +#include "imports/lib/l2c.hpp" #include "acmd_wrapper.hpp" -#include "raygun_printer.hpp" - -#include "const_value_table.h" #include "taunt_toggles.h" -#include - using namespace lib; using namespace app::lua_bind; diff --git a/source/training_mods.hpp b/source/training_mods.hpp index 1007d47..59e68aa 100644 --- a/source/training_mods.hpp +++ b/source/training_mods.hpp @@ -1,9 +1,20 @@ -#include "useful.h" -#include "l2c_imports.hpp" -#include "saltysd_helper.hpp" -#include "acmd_imports.hpp" +#ifndef TRAINING_MODS_H +#define TRAINING_MODS_H + +#ifndef M_PI + #define M_PI 3.14159265358979323846 +#endif +#include "useful/useful.h" +#include "useful/crc32.h" +#include "useful/const_value_table.h" + +#include "useful/raygun_printer.hpp" + +#include "imports/lib/l2c.hpp" +#include "saltysd/saltysd_dynamic.h" +#include "saltysd/saltysd_helper.hpp" +#include "acmd_wrapper.hpp" #include "taunt_toggles.h" -#include "raygun_printer.hpp" using namespace lib; using namespace app::lua_bind; @@ -23,22 +34,6 @@ bool is_in_hitstun(u64 module_accessor) { return status_kind >= FIGHTER_STATUS_KIND_DAMAGE && status_kind <= FIGHTER_STATUS_KIND_DAMAGE_FALL; } -void perform_jump(u64 module_accessor) { - int jump_count = WorkModule::get_int(module_accessor, FIGHTER_INSTANCE_WORK_ID_INT_JUMP_COUNT); - int max_jump_count = WorkModule::get_int(module_accessor, FIGHTER_INSTANCE_WORK_ID_INT_JUMP_COUNT_MAX); - if (jump_count < max_jump_count) { - if (StatusModule::situation_kind(module_accessor) == SITUATION_KIND_AIR) { - if (WorkModule::get_param_int(module_accessor, hash40("aerial_type"), 0) == FIGHTER_JUMP_AERIAL_TYPE_NORMAL) - StatusModule::change_status_request_from_script(module_accessor, FIGHTER_STATUS_KIND_JUMP_AERIAL, 1); - else - StatusModule::change_status_request_from_script(module_accessor, FIGHTER_STATUS_KIND_FLY, 1); - } else if (StatusModule::situation_kind(module_accessor) == SITUATION_KIND_GROUND) { - StatusModule::change_status_request_from_script(module_accessor, FIGHTER_STATUS_KIND_JUMP_SQUAT, 1); - } - WorkModule::inc_int(module_accessor, FIGHTER_INSTANCE_WORK_ID_INT_JUMP_COUNT); - } -} - namespace app::lua_bind { namespace WorkModule { // Force DI @@ -228,13 +223,12 @@ namespace app::lua_bind { StatusModule::set_situation_kind(module_accessor, *save_state_situation_kind, 0); // Doesn't work, and I don't know why yet. - /* - if (*save_state_situation_kind == SITUATION_KIND_GROUND) - StatusModule::change_status_request_from_script(module_accessor, FIGHTER_STATUS_KIND_WAIT, 1); - if (save_state_situtation_kind_player == SITUATION_KIND_AIR) - StatusModule::change_status_request_from_script(module_accessor, FIGHTER_STATUS_KIND_FALL, 1); - if (*save_state_situation_kind == SITUATION_KIND_CLIFF) - StatusModule::change_status_request_from_script(module_accessor, FIGHTER_STATUS_KIND_CLIFF_CATCH, 1); + /*if (*save_state_situation_kind == SITUATION_KIND_GROUND) + StatusModule::change_status_request(module_accessor, FIGHTER_STATUS_KIND_WAIT, 0); + else if (*save_state_situation_kind == SITUATION_KIND_AIR) + StatusModule::change_status_request(module_accessor, FIGHTER_STATUS_KIND_FALL, 0); + else if (*save_state_situation_kind == SITUATION_KIND_CLIFF) + StatusModule::change_status_request(module_accessor, FIGHTER_STATUS_KIND_CLIFF_CATCH, 0); */ } @@ -293,3 +287,5 @@ void training_mods_main() { "_ZN3app8lua_bind32ControlModule__get_pad_flag_implEPNS_26BattleObjectModuleAccessorE", (u64)&ControlModule::get_pad_flag_replace);*/ } + +#endif // TRAINING_MODS_H diff --git a/source/const_value_table.h b/source/useful/const_value_table.h similarity index 100% rename from source/const_value_table.h rename to source/useful/const_value_table.h diff --git a/source/crc32.h b/source/useful/crc32.h similarity index 100% rename from source/crc32.h rename to source/useful/crc32.h diff --git a/source/raygun_printer.hpp b/source/useful/raygun_printer.hpp similarity index 95% rename from source/raygun_printer.hpp rename to source/useful/raygun_printer.hpp index bc7ff51..50f015f 100644 --- a/source/raygun_printer.hpp +++ b/source/useful/raygun_printer.hpp @@ -6,7 +6,7 @@ #include "useful.h" -#include "acmd_wrapper.hpp" +#include "../acmd_wrapper.hpp" #define RAYGUN_LENGTH 8 #define RAYGUN_HEIGHT 6 diff --git a/source/useful.h b/source/useful/useful.h similarity index 52% rename from source/useful.h rename to source/useful/useful.h index 4cc628f..d0fd64f 100644 --- a/source/useful.h +++ b/source/useful/useful.h @@ -5,22 +5,34 @@ #include #include -#define LINKABLE __attribute__ ((weak)) - #define LOAD64 *(u64 *) -#define debug_log(...) {\ - char log_buf[0x200]; snprintf(log_buf, 0x200, __VA_ARGS__); \ - svcOutputDebugString(log_buf, strlen(log_buf)); } +#define LINKABLE __attribute__ ((weak)) + +#define debug_log(...) \ + {char log_buf[0x200]; snprintf(log_buf, 0x200, __VA_ARGS__); \ + svcOutputDebugString(log_buf, strlen(log_buf));} typedef struct Hash40 { uint64_t hash : 40; } Hash40; +typedef struct Vector2f { + float x; + float y; +} Vector2f; + typedef struct Vector3f { float x; float y; float z; } Vector3f; + +typedef struct Vector4f { + float x; + float y; + float z; + float w; +}Vector4f; #endif // USEFUL_H diff --git a/source/useful_visual.cpp b/source/useful/visual.h similarity index 55% rename from source/useful_visual.cpp rename to source/useful/visual.h index 1d8903f..1fa51ea 100644 --- a/source/useful_visual.cpp +++ b/source/useful/visual.h @@ -1,13 +1,19 @@ -#include "useful_visual.h" - -#include +#ifndef USEFUL_VISUAL_H +#define USEFUL_VISUAL_H #include "useful.h" +#include +/** + * Rounds a number to the nearest multiple of another number. + */ float round_to(float val, float align) { return roundf(val / align) * align; } +/** + * Linearly interpolates between two numbers, without bounds checking. + */ float lerp(float min, float max, float t) { return min + (max - min) * t; } @@ -16,6 +22,9 @@ float unlerp(float min, float max, float val) { return (val - min) / (max - min); } +/** + * Linearly interpolates between two numbers, with bounds checking. + */ float lerp_bounded(float min, float max, float t) { return t <= 0 ? min : t >= 1 ? max : lerp(min, max, t); } @@ -24,7 +33,16 @@ float unlerp_bounded(float min, float max, float val) { return val <= min ? 0 : val >= max ? 1 : unlerp(min, max, val); } -Vector3f color_lerp(Vector3f min_color, Vector3f max_color, float t, float gamma) { +/** + * Linearly nterpolates between two colors, with bounds checking, accounting for gamma. + * arguments: + * - min_color (Vector3f) -- xyz maps to rgb, components are usually in the range [0.0f, 1.0f] but can go beyond to account for super-bright or super-dark colors + * - max_Color (Vector3f) -- same as minColor + * - t (float) -- how far to interpolate between the colors + * - gamma (float = 2.0f) -- used for color correction, helps avoid ugly dark colors when interpolating b/t bright colors + */ + +Vector3f color_lerp(Vector3f min_color, Vector3f max_color, float t, float gamma = 2.0f) { float gamma_inv = 1.0f / gamma; float align = 1.0f / 255.0f; // color components must be a multiple of 1/255 return { @@ -33,3 +51,6 @@ Vector3f color_lerp(Vector3f min_color, Vector3f max_color, float t, float gamma round_to(powf(lerp_bounded(powf(min_color.z, gamma), powf(max_color.z, gamma), t), gamma_inv), align) }; } + + +#endif // USEFUL_VISUAL_H diff --git a/source/useful_visual.h b/source/useful_visual.h deleted file mode 100644 index 497b640..0000000 --- a/source/useful_visual.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef USEFUL_VISUAL_H -#define USEFUL_VISUAL_H - -#include "useful.h" -/** - * Rounds a number to the nearest multiple of another number. - */ -float round_to(float val, float align); - -/** - * Linearly interpolates between two numbers, without bounds checking. - */ -float lerp(float min, float max, float t); -float unlerp(float min, float max, float val); -/** - * Linearly interpolates between two numbers, with bounds checking. - */ -float lerp_bounded(float min, float max, float t); -float unlerp_bounded(float min, float max, float val); - -/** - * Linearly nterpolates between two colors, with bounds checking, accounting for gamma. - * arguments: - * - min_color (Vector3f) -- xyz maps to rgb, components are usually in the range [0.0f, 1.0f] but can go beyond to account for super-bright or super-dark colors - * - max_Color (Vector3f) -- same as minColor - * - t (float) -- how far to interpolate between the colors - * - gamma (float = 2.0f) -- used for color correction, helps avoid ugly dark colors when interpolating b/t bright colors - */ -Vector3f color_lerp(Vector3f min_color, Vector3f max_color, float t, float gamma = 2.0f); - -#endif // USEFUL_VISUAL_H