File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515static const char *kEIDRunResetSupportedUUID = " F4357753-A25F-30EE-BACF-63709F902895" ;
1616static const uintptr_t kEIDRunResetGameGlobalOffset = 0xac3b90 ;
1717
18- struct EIDRemotePointerVector {
18+ typedef struct {
1919 uintptr_t begin;
2020 uintptr_t end;
2121 uintptr_t capacity;
22- };
22+ } EIDRemotePointerVector ;
2323
2424static BOOL EIDRunResetRead (vm_address_t address, void *destination, vm_size_t size) {
2525 if (!address || !destination || !size) return NO ;
@@ -73,7 +73,7 @@ static uintptr_t EIDCurrentRunIdentity(id probe) {
7373 if (!EIDRunResetRead ((vm_address_t )header + kEIDRunResetGameGlobalOffset ,
7474 &game, sizeof (game)) || !game) return 0 ;
7575
76- EIDRemotePointerVector vector = {};
76+ EIDRemotePointerVector vector = {0 };
7777 if (!EIDRunResetRead (game + playerVectorOffset, &vector, sizeof (vector))) return 0 ;
7878 if (!vector.begin || vector.end <= vector.begin || vector.capacity < vector.end ) return 0 ;
7979 if ((vector.end - vector.begin ) % sizeof (uintptr_t ) != 0 ) return 0 ;
You can’t perform that action at this time.
0 commit comments