# Addresses
Address STAGE_ADDRESS 0x0FAD83B8
Address MONSTERS_ADDRESS 0x0FAD52D8
Address LOCKON_ADDRESS 0x0FAD4030
Address CHARACTER_ADDRESS 0x0FA12670
Address SAVE_ADDRESS 0x0FADE290
Address WEAPON_ADDRESS 0x0FA0F9A0
Address ABNORMALITIES_ADDRESS 0x0FADCB68
Address ARGOSY_ADDRESS 0x0FAE40A8
Address TRAINING_DOJO_ADDRESS 0x0FAE1200
Address CHAT_ADDRESS 0x0FADCCF8
Address CHAT_UI_ADDRESS 0x0FA11528
Address SESSION_PLAYERS_ADDRESS 0x0FAD5190
Address UI_ADDRESS 0x0FA11528
Address MOUSE_ADDRESS 0x0FA128C8
Address QUEST_ADDRESS 0x0FAD28E0
Address MEOWMASTERS_ADDRESS 0x0FAE2D08
Address COHOOT_ADDRESS 0x0FAE14A8
Address EVENTCAMERA_ADDRESS 0x0FAD50D8
Address GEAR_ADDRESS 0x0FA12680
Address PLAYER_GEAR_ADDRESS 0x0FAE41D0
Address SHARPNESS_ADDRESS 0x0FADCB68
Address LOCAL_PLAYER_DATA_ADDRESS 0x0FADCB68
Address SERVANTS_DATA_ADDRESS 0x0FAD88D0
# Static Data
Address DATA_TRAINING_DOJO_ROUNDS_LEFT 0x0FAE2A90

# Executable
Address FUNC_WIREBUG_HIDE_AIM_ADDRESS 0x03B4642C

# Offsets
Offset STAGE_OFFSETS 0x0
Offset LOCKON_OFFSETS 0xB8,0x58,0x20
Offset LOCKON_CAMERA_STYLE_OFFSETS 0xB8,0x50
Offset MONSTER_HEALTH_COMPONENT_OFFSETS 0x308,0x48,0x10,0x20,0x10,0x20
Offset MONSTER_FLINCH_HEALTH_COMPONENT_OFFSETS 0x308,0x48,0x10,0x28,0x10
Offset MONSTER_SEVER_HEALTH_COMPONENT_OFFSETS 0x308,0x48,0x10,0x38,0x10
Offset MONSTER_BREAK_HEALTH_COMPONENT_OFFSETS 0x308,0x48,0x10,0x30,0x10
Offset MONSTER_HEALTH_COMPONENT_ENCODED_OFFSETS 0x10,0x18
Offset MONSTER_CAPTURE_HEALTH_THRESHOLD 0x308
Offset MONSTER_TYPE_OFFSETS 0x300
Offset MONSTER_QURIO_DATA 0x438
Offset MONSTER_QURIO_HEALTH_COMPONENT_OFFSETS 0x438,0x38
Offset MONSTER_LIST_OFFSETS 0x80,0x10,0x0
Offset CHARACTER_OFFSETS 0xA8,0x18
Offset WEAPON_OFFSETS 0x0
Offset SAVE_OFFSETS 0xC0,0x18
Offset MONSTER_AILMENTS_OFFSETS 0x378,0x120
Offset MONSTER_CROWN_OFFSETS 0x308
Offset MONSTER_ENRAGE_OFFSETS 0x318
Offset MONSTER_STAMINA_OFFSETS 0x320
Offset HH_ABNORMALITIES_OFFSETS 0xE0,0x208,0x0
Offset CONS_ABNORMALITIES_OFFSETS 0xE0,0x120,0x0
Offset DEBUFF_ABNORMALITIES_OFFSETS 0xE0,0x0
Offset WIREBUG_COUNT_OFFSETS 0xE0,0x2D8
Offset WIREBUG_DATA_OFFSETS 0xE0,0x410,0x0
Offset WIREBUG_EXTRA_DATA_OFFSETS 0xE0,0x418
Offset WIREBUG_EXTRA_DATA_FROM_SKILL_OFFSETS 0xE0,0x120,0x1C4
Offset ARGOSY_OFFSETS 0x58,0x68,0x0
Offset ARGOSY_SUBMARINE_ITEMS_OFFSETS 0x40,0x0
Offset TRAINING_DOJO_OFFSETS 0x68,0x0
Offset TRAINING_DOJO_BUDDY_ARRAY_OFFSETS 0x60,0x10,0x0
Offset UI_OPEN_OFFSETS 0x258,0x58,0x118,0x118,0x120,0x120,0x20,0x50
Offset MOUSE_OFFSETS 0x60,0x28
Offset CHARACTER_INFO_OFFSETS 0xB0
Offset SESSION_PLAYER_OFFSETS 0x58 # next is 0x20 + i * 8
Offset QUEST_TIMER_OFFSETS 0x170
Offset QUEST_STATUS_OFFSETS 0x110
Offset QUEST_TYPE_OFFSETS 0x120
Offset QUEST_MAX_DEATHS_OFFSETS 0x15C
Offset QUEST_DEATH_COUNTER_OFFSETS 0x160
Offset SOS_SESSION_PLAYER_OFFSETS 0x1F0
Offset COHOOT_COUNT_OFFSETS 0x60,0x0
Offset IS_WIREBUG_BLOCKED_OFFSETS 0x438,0x128
Offset CUTSCENE_STATE_OFFSETS 0x80
Offset SELECTED_PETALACE_OFFSETS 0x88,0x18,0x50,0x34
Offset PETALACES_ARRAY_OFFSETS 0x98,0x20,0x0
Offset PLAYER_HUD_OFFSETS 0x400,0xD8,0x50
Offset SHARPNESS_OFFSETS 0xE0,0x1E8
Offset SHARPNESS_ARRAY_OFFSETS 0xE0,0x4D8,0xE0,0x10,0x0
Offset PLAYER_GEAR_SKILLS_ARRAY_OFFSETS 0xE0,0x128,0x10,0x0
Offset PLAYER_FOOD_SKILLS_ARRAY_OFFSETS 0xE0,0x128,0x18,0x0
Offset PLAYER_RAMPAGE_SKILLS_ARRAY_OFFSETS 0xE0,0x128,0x20,0x0
Offset PLAYER_SWITCH_SCROLL_OFFSETS 0xE0,0x3A8,0x18
Offset PLAYER_CONDITION_OFFSETS 0xE0,0x120,0x38,0x0
Offset PLAYER_ACTIONFLAG_OFFSETS 0xE0,0x350,0x10,0x0
Offset SERVANTS_DATA_ARRAY_OFFSETS 0x2F0,0x10,0x0
Offset SERVANT_NAME_OFFSETS 0xE8,0x10
Offset CURRENT_WEAPON_OFFSETS 0xE0,0x0
Offset KINSECT_STAMINA_OFFSETS 0xE0,0x108,0x16C

# Session
Offset SESSION_PLAYERS_ARRAY_OFFSETS 0x58,0x0

# Chat
Offset CHAT_OFFSETS 0x60,0x10
Offset CHAT_UI_OFFSETS 0x2E8,0x68,0x138,0x20

# Buddy data
Offset BUDDY_NAME_OFFSETS 0x20,0x18
Offset BUDDY_LEVEL_OFFSETS 0x20
Offset MEOWMASTERS_OFFSETS 0x0

# CRC Credits to REFramework: https://github.com/praydog/REFramework/blob/master/src/mods/IntegrityCheckBypass.cpp
Address CRC_FUNC_1 0x0C863E0
Address CRC_FUNC_2 0x0D686D0
Address CRC_FUNC_3 0x73576B0

# Instructions
Instruction CRC_ORIGINAL_FUNC_1 0x48,0x89,0x5C
Instruction CRC_ORIGINAL_FUNC_2 0x48,0x89,0x5C
Instruction CRC_ORIGINAL_FUNC_3 0x48,0x89,0x5C

# Native Interface
Address FUN_CALCULATE_ENTITY_DAMAGE 0x013121D0
