From 7cd02f3c24cfcb8bffa489ee0742a2aa37d981a2 Mon Sep 17 00:00:00 2001 From: kurokobo <2920259+kurokobo@users.noreply.github.com> Date: Wed, 22 Jun 2022 21:05:21 +0900 Subject: [PATCH] feat: add support for v2022.6.21m --- Offsets.json | 167 ++++++++++++++++++++++++--------------------------- 1 file changed, 77 insertions(+), 90 deletions(-) diff --git a/Offsets.json b/Offsets.json index 2a3cb49e..7738afb9 100644 --- a/Offsets.json +++ b/Offsets.json @@ -2654,102 +2654,31 @@ "ServerManagerOffset": 0x1C4FA94, "TempDataOffset": 0x1C8CB60, "GameOptionsOffset": 0x1C7A844, - "MeetingHudPtr": [ - 0x1C6E458, - 0x5C, - 0x0 - ], - "MeetingHudCachePtrOffsets": [ - 0x8 - ], - "MeetingHudStateOffsets": [ - 0x78 - ], - "GameStateOffsets": [ - 0x1C785D4, - 0x5C, - 0x0, - 0x7C - ], - "AllPlayerPtrOffsets": [ - 0x1C92178, - 0x5C, - 0x0, - 0x24 - ], - "AllPlayersOffsets": [ - 0x8 - ], - "PlayerCountOffsets": [ - 0xC - ], - "ExiledPlayerIdOffsets": [ - 0x1C6E458, - 0x5C, - 0x0, - 0x84, - 0x8 - ], - "RawGameOverReasonOffsets": [ - 0x1C8CB60, - 0x5C, - 0x4 - ], - "WinningPlayersPtrOffsets": [ - 0x1C8CB60, - 0x5C, - 0xC - ], - "WinningPlayersOffsets": [ - 0x8 - ], - "WinningPlayerCountOffsets": [ - 0xC - ], - "GameCodeOffsets": [ - 0x1C4F094, - 0x5C, - 0x0, - 0x20, - 0x80 - ], - "PlayRegionOffsets": [ - 0x1C4FA94, - 0x5C, - 0x0, - 0x10, - 0x8, - 0x8 - ], - "PlayMapOffsets": [ - 0x1C7A844, - 0x5C, - 0x4, - 0x30 - ], - "StringOffsets": [ - 0x8, - 0xC - ], + "MeetingHudPtr": [0x1C6E458, 0x5C, 0x0], + "MeetingHudCachePtrOffsets": [0x8], + "MeetingHudStateOffsets": [0x78], + "GameStateOffsets": [0x1C785D4, 0x5C, 0x0, 0x7C], + "AllPlayerPtrOffsets": [0x1C92178, 0x5C, 0x0, 0x24], + "AllPlayersOffsets": [0x8], + "PlayerCountOffsets": [0xC], + "ExiledPlayerIdOffsets": [0x1C6E458, 0x5C, 0x0, 0x84, 0x8], + "RawGameOverReasonOffsets": [0x1C8CB60, 0x5C, 0x4], + "WinningPlayersPtrOffsets": [0x1C8CB60, 0x5C, 0xC], + "WinningPlayersOffsets": [0x8], + "WinningPlayerCountOffsets": [0xC], + "GameCodeOffsets": [0x1C4F094, 0x5C, 0x0, 0x20, 0x80], + "PlayRegionOffsets": [0x1C4FA94, 0x5C, 0x0, 0x10, 0x8, 0x8], + "PlayMapOffsets": [0x1C7A844, 0x5C, 0x4, 0x30], + "StringOffsets": [0x8, 0xC], "AddPlayerPtr": 0x4, "PlayerListPtr": 0x10, "PlayerInfoStructOffsets": { "PlayerIDOffset": 0x8, - "OutfitsOffset": [ - 0x14, - 0xC, - 0x1C - ], + "OutfitsOffset": [0x14, 0xC, 0x1C], "PlayerLevelOffset": 0x18, "DisconnectedOffset": 0x1C, - "RoleTypeOffset": [ - 0x20, - 0xC - ], - "RoleTeamTypeOffset": [ - 0x20, - 0x3C - ], + "RoleTypeOffset": [0x20, 0xC], + "RoleTeamTypeOffset": [0x20, 0x3C], "TasksOffset": 0x24, "IsDeadOffset": 0x28, "ObjectOffset": 0x2C @@ -2885,5 +2814,63 @@ "PreCensorNameOffset": 0x24, "PostCensorNameOffset": 0x28 } + }, + "6AF9274CC2FAC5E40B080E273A1C79E98D1F4D5EF8545CD43613C4D1E4CF8D7C": { + "Description": "v2022.6.21m (build num: 2007)", + "AmongUsClientOffset": 0x2360E20, + "GameDataOffset": 0x2395B88, + "MeetingHudOffset": 0x234CD40, + "GameStartManagerOffset": 0x231EF88, + "HudManagerOffset": 0x231F488, + "ServerManagerOffset": 0x2320608, + "TempDataOffset": 0x238B0C0, + "GameOptionsOffset": 0x2365250, + + "MeetingHudPtr": [0x234CD40, 0xB8, 0x0], + "MeetingHudCachePtrOffsets": [0x10], + "MeetingHudStateOffsets": [0xC0], + "GameStateOffsets": [0x2360E20, 0xB8, 0x0, 0xD4], + "AllPlayerPtrOffsets": [0x2395B88, 0xB8, 0x0, 0x30], + "AllPlayersOffsets": [0x10], + "PlayerCountOffsets": [0x18], + "ExiledPlayerIdOffsets": [0x234CD40, 0xB8, 0x0, 0xD8, 0x10], + "RawGameOverReasonOffsets": [0x238B0C0, 0xB8, 0x4], + "WinningPlayersPtrOffsets": [0x238B0C0, 0xB8, 0x10], + "WinningPlayersOffsets": [0x10], + "WinningPlayerCountOffsets": [0x18], + "GameCodeOffsets": [0x231EF88, 0xB8, 0x0, 0x50, 0xD8], + "PlayRegionOffsets": [0x2320608, 0xB8, 0x0, 0x20, 0x10, 0x10], + "PlayMapOffsets": [0x2365250, 0xB8, 0x8, 0x38], + "StringOffsets": [0x10, 0x14], + "AddPlayerPtr": 0x8, + "PlayerListPtr": 0x20, + "PlayerInfoStructOffsets": { + "PlayerIDOffset": 0x10, + "OutfitsOffset": [0x30, 0x18, 0x30], + "PlayerLevelOffset": 0x38, + "DisconnectedOffset": 0x3C, + "RoleTypeOffset": [0x40, 0x18], + "RoleTeamTypeOffset": [0x40, 0x48], + "TasksOffset": 0x48, + "IsDeadOffset": 0x50, + "ObjectOffset": 0x58 + }, + "WinningPlayerDataStructOffsets": { + "IsYouOffset": 0x50, + "IsImposterOffset": 0x51, + "IsDeadOffset": 0x52 + }, + "PlayerOutfitStructOffsets": { + "dontCensorNameOffset": 0x10, + "ColorIDOffset": 0x14, + "HatIDOffset": 0x18, + "PetIDOffset": 0x20, + "SkinIDOffset": 0x28, + "VisorIDOffset": 0x30, + "NamePlateIDOffset": 0x38, + "PlayerNameOffset": 0x40, + "PreCensorNameOffset": 0x40, + "PostCensorNameOffset": 0x48, + } } }