Skip to content

Commit

Permalink
updated to latest fn offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuckwaffel committed May 13, 2024
1 parent 9a782c2 commit b83115b
Show file tree
Hide file tree
Showing 812 changed files with 678,299 additions and 13 deletions.
22 changes: 12 additions & 10 deletions UEDumper/Engine/Core/FName_decryption.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,26 @@ static void fname_decrypt(char* inputBuf, int namelength)

char* v2; // rdi
int v4; // ebx
int v5; // eax
int v6; // er8
unsigned int v7; // edx
__int64 v8; // rcx
__int64 v9; // rax
__int16 result; // ax
int v6; // edx
int v7; // ecx
int v8; // ecx
__int16 v9; // ax

v2 = inputBuf;
v4 = namelength;
result = Memory::read<unsigned int>(Memory::getBaseAddress() + 0x127A3F5C);
v6 = 0;
v7 = Memory::read<unsigned int>(Memory::getBaseAddress() + 0x1270893C) >> 5;
v7 = 30;
if (v4)
{
do
{
v7 += v6 + 160;
++v6;
v5 = (16 * *v2) | (v7 ^ ((unsigned int)(char)*v2 >> 4)) & 0xF;
*v2++ = static_cast<char>(v5 & 0xFF);
v8 = v6++ | v7;
v9 = v8;
v7 = 2 * v8;
result = ~v9;
*v2++ ^= result;
} while (v6 < v4);
}
}
6 changes: 3 additions & 3 deletions UEDumper/Engine/Userdefined/Offsets.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ inline std::vector<Offset> setOffsets()
{
std::vector<Offset> offsets;

offsets.push_back({ OFFSET_ADDRESS | OFFSET_DS, "OFFSET_GNAMES", 0x127F3180 });
offsets.push_back({ OFFSET_ADDRESS | OFFSET_DS, "OFFSET_GOBJECTS", 0x1260C5A0 });
offsets.push_back({ OFFSET_ADDRESS | OFFSET_DS | OFFSET_LIVE_EDITOR, "OFFSET_UWORLD", 0x12634238 });
offsets.push_back({ OFFSET_ADDRESS | OFFSET_DS, "OFFSET_GNAMES", 0x12894800 });
offsets.push_back({ OFFSET_ADDRESS | OFFSET_DS, "OFFSET_GOBJECTS", 0x126A7EB0 });
offsets.push_back({ OFFSET_ADDRESS | OFFSET_DS | OFFSET_LIVE_EDITOR, "OFFSET_GWORLD", 0x126CF528 });

//offsets.push_back({ OFFSET_ADDRESS | OFFSET_DH, "OFFSET_GNAMES", 0x562D340 });
//offsets.push_back({ OFFSET_ADDRESS | OFFSET_DH, "OFFSET_GOBJECTS", 0x545C6E0 });
Expand Down
138 changes: 138 additions & 0 deletions UEDumper/fortnite/MDK/MDK/ACLPlugin.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@

/********************************************************
* *
* Package generated using UEDumper by Spuckwaffel. *
* *
********************************************************/

/// dependency: BasicType
/// dependency: CoreUObject
/// dependency: Engine

/// Class /Script/ACLPlugin.AnimationCompressionLibraryDatabase
/// Size: 0x0100 (0x000028 - 0x000128)
class UAnimationCompressionLibraryDatabase : public UObject
{
friend MDKHandler;
static inline constexpr uint64_t __MDKClassSize = 296;

public:
CMember(TArray<char>) CookedCompressedBytes OFFSET(get<T>, {0x28, 16, 0, 0})
CMember(TArray<uint64_t>) CookedAnimSequenceMappings OFFSET(get<T>, {0x38, 16, 0, 0})
DMember(uint32_t) MaxStreamRequestSizeKB OFFSET(get<uint32_t>, {0x120, 4, 0, 0})


/// Functions
// Function /Script/ACLPlugin.AnimationCompressionLibraryDatabase.SetVisualFidelity
// void SetVisualFidelity(class UObject* WorldContextObject, FLatentActionInfo LatentInfo, class UAnimationCompressionLibraryDatabase* DatabaseAsset, ACLVisualFidelityChangeResult& Result, ACLVisualFidelity VisualFidelity); // [0xbbc4d1c] Final|Native|Static|Public|HasOutParms|BlueprintCallable
// Function /Script/ACLPlugin.AnimationCompressionLibraryDatabase.GetVisualFidelity
// ACLVisualFidelity GetVisualFidelity(class UAnimationCompressionLibraryDatabase* DatabaseAsset); // [0xbbc4c9c] Final|Native|Static|Public|BlueprintCallable
};

/// Class /Script/ACLPlugin.AnimBoneCompressionCodec_ACLBase
/// Size: 0x0000 (0x000038 - 0x000038)
class UAnimBoneCompressionCodec_ACLBase : public UAnimBoneCompressionCodec
{
friend MDKHandler;
static inline constexpr uint64_t __MDKClassSize = 56;

public:
};

/// Class /Script/ACLPlugin.AnimBoneCompressionCodec_ACL
/// Size: 0x0000 (0x000038 - 0x000038)
class UAnimBoneCompressionCodec_ACL : public UAnimBoneCompressionCodec_ACLBase
{
friend MDKHandler;
static inline constexpr uint64_t __MDKClassSize = 56;

public:
};

/// Class /Script/ACLPlugin.AnimBoneCompressionCodec_ACLCustom
/// Size: 0x0000 (0x000038 - 0x000038)
class UAnimBoneCompressionCodec_ACLCustom : public UAnimBoneCompressionCodec_ACLBase
{
friend MDKHandler;
static inline constexpr uint64_t __MDKClassSize = 56;

public:
};

/// Class /Script/ACLPlugin.AnimBoneCompressionCodec_ACLDatabase
/// Size: 0x0008 (0x000038 - 0x000040)
class UAnimBoneCompressionCodec_ACLDatabase : public UAnimBoneCompressionCodec_ACLBase
{
friend MDKHandler;
static inline constexpr uint64_t __MDKClassSize = 64;

public:
CMember(class UAnimationCompressionLibraryDatabase*) DatabaseAsset OFFSET(get<T>, {0x38, 8, 0, 0})
};

/// Class /Script/ACLPlugin.AnimBoneCompressionCodec_ACLSafe
/// Size: 0x0000 (0x000038 - 0x000038)
class UAnimBoneCompressionCodec_ACLSafe : public UAnimBoneCompressionCodec_ACLBase
{
friend MDKHandler;
static inline constexpr uint64_t __MDKClassSize = 56;

public:
};

/// Class /Script/ACLPlugin.AnimCurveCompressionCodec_ACL
/// Size: 0x0000 (0x000028 - 0x000028)
class UAnimCurveCompressionCodec_ACL : public UAnimCurveCompressionCodec
{
friend MDKHandler;
static inline constexpr uint64_t __MDKClassSize = 40;

public:
};

/// Enum /Script/ACLPlugin.ACLRotationFormat
/// Size: 0x03
enum class ACLRotationFormat : uint8_t
{
ACLRF_Quat = 0,
ACLRF_QuatDropW = 1,
ACLRF_QuatDropW_Variable = 2
};

/// Enum /Script/ACLPlugin.ACLVectorFormat
/// Size: 0x02
enum class ACLVectorFormat : uint8_t
{
ACLVF_Vector3 = 0,
ACLVF_Vector3_Variable = 1
};

/// Enum /Script/ACLPlugin.ACLCompressionLevel
/// Size: 0x05
enum class ACLCompressionLevel : uint8_t
{
ACLCL_Lowest = 0,
ACLCL_Low = 1,
ACLCL_Medium = 2,
ACLCL_High = 3,
ACLCL_Highest = 4
};

/// Enum /Script/ACLPlugin.ACLVisualFidelity
/// Size: 0x03
enum class ACLVisualFidelity : uint8_t
{
ACLVisualFidelity__Highest = 0,
ACLVisualFidelity__Medium = 1,
ACLVisualFidelity__Lowest = 2
};

/// Enum /Script/ACLPlugin.ACLVisualFidelityChangeResult
/// Size: 0x03
enum class ACLVisualFidelityChangeResult : uint8_t
{
ACLVisualFidelityChangeResult__Dispatched = 0,
ACLVisualFidelityChangeResult__Completed = 1,
ACLVisualFidelityChangeResult__Failed = 2
};

21 changes: 21 additions & 0 deletions UEDumper/fortnite/MDK/MDK/AESGCMHandlerComponent.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

/********************************************************
* *
* Package generated using UEDumper by Spuckwaffel. *
* *
********************************************************/


/// Enum /Script/AESGCMHandlerComponent.EAESGCMNetResult
/// Size: 0x07
enum class EAESGCMNetResult : uint8_t
{
EAESGCMNetResult__Unknown = 0,
EAESGCMNetResult__Success = 1,
EAESGCMNetResult__AESMissingIV = 2,
EAESGCMNetResult__AESMissingAuthTag = 3,
EAESGCMNetResult__AESMissingPayload = 4,
EAESGCMNetResult__AESDecryptionFailed = 5,
EAESGCMNetResult__AESZeroLastByte = 6
};

Loading

0 comments on commit b83115b

Please sign in to comment.