mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2024-12-22 22:57:23 +08:00
485ff54642
intentionally was kept until "something" along with watermark inside of datamap lol jitters in certain scenarios due to interpolation history not being filled which doesn't bothers anyone (probably) so i've removed "fading"
78 lines
2.5 KiB
C++
Executable File
78 lines
2.5 KiB
C++
Executable File
struct Interface_Structure
|
|
{
|
|
__int8 Additional_Bytes_1[44];
|
|
|
|
float Floating_Point;
|
|
|
|
__int32 Integer;
|
|
|
|
__int8 Additional_Bytes_3[20];
|
|
};
|
|
|
|
Interface_Structure Interface_Extra_Commands;
|
|
|
|
Interface_Structure Interface_Interpolate_Extra_Commands;
|
|
|
|
Interface_Structure Interface_Target_On_Simulation;
|
|
|
|
Interface_Structure Interface_Riot_Deprioritize;
|
|
|
|
Interface_Structure Interface_Penetrate_Teammates;
|
|
|
|
Interface_Structure Interface_Aim_Intersection;
|
|
|
|
Interface_Structure Interface_Penetration_Damage;
|
|
|
|
Interface_Structure Interface_Equipment_Distance;
|
|
|
|
Interface_Structure Interface_Storm_Rotation_Radius;
|
|
|
|
Interface_Structure Interface_Storm_Radius;
|
|
|
|
Interface_Structure Interface_Storm_Segments;
|
|
|
|
Interface_Structure Interface_Storm_Iterations;
|
|
|
|
Interface_Structure Interface_Storm_Speed;
|
|
|
|
void Implement_Extended_Interface()
|
|
{
|
|
auto Create_Interface = [](Interface_Structure* Interface, char* Name, char* Value, void* Handler)
|
|
{
|
|
using Create_Variable_Type = void(__thiscall*)(Interface_Structure* Interface, char* Name, char* Value, void* Unknown_Parameter_1, void* Unknown_Parameter_2, void* Handler);
|
|
|
|
Create_Variable_Type((unsigned __int32)Engine_Module + 2636368)(Interface, Name, Value, nullptr, nullptr, Handler);
|
|
|
|
*(__int32*)((unsigned __int32)Interface + 20) &= ~10;
|
|
|
|
wprintf(L"[ + ] %hs -> %p\n", Name, Interface);
|
|
};
|
|
|
|
#define Pointer_Name(Interface) &Interface, (char*)#Interface + 10
|
|
|
|
Create_Interface(Pointer_Name(Interface_Extra_Commands), (char*)"5", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Interpolate_Extra_Commands), (char*)"1", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Target_On_Simulation), (char*)"0", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Riot_Deprioritize), (char*)"0", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Penetrate_Teammates), (char*)"0", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Aim_Intersection), (char*)"1", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Penetration_Damage), (char*)"12", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Equipment_Distance), (char*)"2048", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Storm_Rotation_Radius), (char*)"24", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Storm_Radius), (char*)"8", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Storm_Segments), (char*)"12", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Storm_Iterations), (char*)"16", nullptr);
|
|
|
|
Create_Interface(Pointer_Name(Interface_Storm_Speed), (char*)"512", nullptr);
|
|
} |