File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,20 @@ impl Module {
56
56
} ;
57
57
58
58
let g_world = {
59
- const GWORLD : & [ ( Signature < 22 > , u8 ) ] = & [ (
60
- Signature :: new ( "48 8B 05 ?? ?? ?? ?? 48 3B ?? 48 0F 44 ?? 48 89 05 ?? ?? ?? ?? E8" ) ,
61
- 3 ,
62
- ) ] ;
59
+ const GWORLD : & [ ( Signature < 22 > , u8 ) ] = & [
60
+ (
61
+ Signature :: new (
62
+ "80 7C 24 ?? 00 ?? ?? 48 8B 3D ?? ?? ?? ?? 48 ?? ?? ?? ?? ?? ?? ??" ,
63
+ ) ,
64
+ 10 ,
65
+ ) ,
66
+ (
67
+ Signature :: new (
68
+ "48 8B 05 ?? ?? ?? ?? 48 3B ?? 48 0F 44 ?? 48 89 05 ?? ?? ?? ?? E8" ,
69
+ ) ,
70
+ 3 ,
71
+ ) ,
72
+ ] ;
63
73
64
74
let addr = GWORLD . iter ( ) . find_map ( |( sig, offset) | {
65
75
Some ( sig. scan_process_range ( process, module_range) ? + * offset)
@@ -491,7 +501,7 @@ impl Offsets {
491
501
uproperty_property_link_next : 0x58 ,
492
502
} ,
493
503
// Tested on Unreal Physics
494
- Version :: V5_3 => & Self {
504
+ Version :: V5_3 | Version :: V5_4 => & Self {
495
505
uobject_fname : 0x18 ,
496
506
uobject_class : 0x10 ,
497
507
uclass_super_field : 0x40 ,
@@ -520,4 +530,5 @@ pub enum Version {
520
530
V5_1 ,
521
531
V5_2 ,
522
532
V5_3 ,
533
+ V5_4 ,
523
534
}
You can’t perform that action at this time.
0 commit comments