Added much stuff, including working Config System and Test System to Mount pak files and then Load its Content. (Loads Pak File and Mounts it but couldnt load any stuff from my Custom Pak yet)

This commit is contained in:
Unknown
2024-06-26 22:23:20 +02:00
parent f785e17b48
commit cc69714429
13 changed files with 2023 additions and 501 deletions

View File

@ -25,13 +25,19 @@ typedef unsigned __int64 uint64;
namespace Offsets
{
constexpr int32 GObjects = 0x04B1FA90;
constexpr int32 AppendString = 0x01162410;
constexpr int32 GNames = 0x00000000;
constexpr int32 ProcessEvent = 0x013522E0;
constexpr int32 ProcessEventIdx = 0x00000044;
constexpr int32 PostRenderIdx = 0x00000064;
constexpr int32 StaticConstructObject_Internal = 0x1359C70;
constexpr int32 GObjects = 0x04B1FA90;
constexpr int32 AppendString = 0x01162410;
constexpr int32 GNames = 0x00000000;
constexpr int32 ProcessEvent = 0x013522E0;
constexpr int32 ProcessEventIdx = 0x00000044;
constexpr int32 PostRenderIdx = 0x00000064;
constexpr int32 StaticConstructObject_Internal = 0x01359C70; // 48 89 5c 24 ? 48 89 74 24 ? 55 57 41 54 41 56 41 57 48 8d ac 24 ? ? ? ? 48 81 ec ? ? ? ? 48 8b 05 ? ? ? ? 48 33 c4 48 89 85 ? ? ? ? 48 8b 39
constexpr int32 StaticLoadObjectInternal = 0x0135BE10; // 4c 89 4c 24 ? 48 89 54 24 ? 48 89 4c 24 ? 55 53 56 57 41 54 41 55 41 56 41 57 48 8b ec
constexpr int32 FPakPlatformFile$$Mount = 0x0272C690; // 4c 8b dc 55 53 57 49 8d ab ? ? ? ? 48 81 ec ? ? ? ? 48 8b 05 ? ? ? ? 48 33 c4 48 89 85 ? ? ? ? 49 89 73 ? 49 8b f1
constexpr int32 FPlatformFileManager$$Get = 0x01068D00; // Not directly sig of Function, Function this finds has a call to FPlatformFileManager::Get. 40 53 41 54 41 55 41 57 48 83 ec ? 49 8b d8
constexpr int32 FPakPlatformFile$$FindPlatformFile = 0x01067CD0; // 48 89 5c 24 ? 57 48 83 ec ? 48 8b 19 48 8b fa 48 85 db 74 ? 48 8b 03 48 8b cb Or use Sig from above also get called in Function!
}
#include "PropertyFixup.hpp"

View File

@ -88,6 +88,7 @@ public:
{
}
inline T& operator[](uint32 Index)
{
return Data[Index];

View File

@ -4610,7 +4610,7 @@ public:
class UAssetManager : public UObject
{
public:
uint8 Pad_7A4[0x2B8]; // Fixing Size After Last Property [ Dumper-7 ]
uint8 Pad_99B[0x2B8]; // Fixing Size After Last Property [ Dumper-7 ]
TArray<class UObject*> ObjectReferenceList; // 0x2E0(0x10)(ZeroConstructor, Protected, NativeAccessSpecifierProtected)
bool bIsGlobalAsyncScanEnvironment; // 0x2F0(0x1)(ZeroConstructor, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
bool bShouldGuessTypeAndName; // 0x2F1(0x1)(ZeroConstructor, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
@ -11006,7 +11006,9 @@ public:
class ULevel : public UObject
{
public:
uint8 Pad_11E2[0x90]; // Fixing Size After Last Property [ Dumper-7 ]
uint8 Pad_11E2[0x70];
TArray<class AActor*> Actors;
TArray<class AActor*> ActorsForGC;
class UWorld* OwningWorld; // 0xB8(0x8)(ZeroConstructor, Transient, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
class UModel* Model; // 0xC0(0x8)(ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
TArray<class UModelComponent*> ModelComponents; // 0xC8(0x10)(ExportObject, ZeroConstructor, ContainsInstancedReference, NativeAccessSpecifierPublic)