// Auto-generated by ps1_meta.lua (passes/offsets.lua) — DO NOT EDIT
// Directory: C:\projects\Pikuma\ps1\code\hello_joypad\
//   source: C:\projects\Pikuma\ps1\code\hello_joypad\hello_joypad.c
//   source: C:\projects\Pikuma\ps1\code\hello_joypad\hello_joypad.h
//   source: C:\projects\Pikuma\ps1\code\hello_joypad\hello_joypad.atom.c
#pragma once

#pragma region hello_joypad


// --- atom: cube_g4_face (76 words) ---

#define _atom_offset_cull_cube_g4_face_exit           41
#define _atom_offset_bounds_chk_cube_g4_face_exit     24

enum {
    atom_offset_cull_cube_g4_face_exit = _atom_offset_cull_cube_g4_face_exit,
    atom_offset_bounds_chk_cube_g4_face_exit = _atom_offset_bounds_chk_cube_g4_face_exit,
};

// --- atom: floor_f3_face (58 words) ---

#define _atom_offset_culling_floor_f3_face_exit       25
#define _atom_offset_bounds_chk_floor_f3_face_exit    16

enum {
    atom_offset_culling_floor_f3_face_exit = _atom_offset_culling_floor_f3_face_exit,
    atom_offset_bounds_chk_floor_f3_face_exit = _atom_offset_bounds_chk_floor_f3_face_exit,
};

// --- atom: pad_bios_snapshot (78 words) ---

#define _atom_offset_snap_root_skip_disconnected      8
#define _atom_offset_disconnected_snap_end            61
#define _atom_offset_case_2_id_dispatch               8
#define _atom_offset_pending_snap_end                 51
#define _atom_offset_id_dispatch_try_analog_stick     11
#define _atom_offset_id_dispatch_snap_end             38
#define _atom_offset_try_analog_stick_try_analog_pad  12
#define _atom_offset_analog_stick_snap_end            24
#define _atom_offset_try_analog_pad_try_unsupported   11
#define _atom_offset_analog_pad_snap_end              10

enum {
    atom_offset_snap_root_skip_disconnected = _atom_offset_snap_root_skip_disconnected,
    atom_offset_disconnected_snap_end = _atom_offset_disconnected_snap_end,
    atom_offset_case_2_id_dispatch = _atom_offset_case_2_id_dispatch,
    atom_offset_pending_snap_end = _atom_offset_pending_snap_end,
    atom_offset_id_dispatch_try_analog_stick = _atom_offset_id_dispatch_try_analog_stick,
    atom_offset_id_dispatch_snap_end = _atom_offset_id_dispatch_snap_end,
    atom_offset_try_analog_stick_try_analog_pad = _atom_offset_try_analog_stick_try_analog_pad,
    atom_offset_analog_stick_snap_end = _atom_offset_analog_stick_snap_end,
    atom_offset_try_analog_pad_try_unsupported = _atom_offset_try_analog_pad_try_unsupported,
    atom_offset_analog_pad_snap_end = _atom_offset_analog_pad_snap_end,
};

// --- atom: pad_apply_input (60 words) ---

#define _atom_offset_dpad_left_exit_dpad_left         6
#define _atom_offset_dpad_right_exit_dpad_right       6
#define _atom_offset_dead_zone_low_check_dead_low_active  8
#define _atom_offset_dead_zone_high_check_dead_high_active  15
#define _atom_offset_dead_zone_skip_exit_stick        24
#define _atom_offset_end_low_exit_stick               12

enum {
    atom_offset_dpad_left_exit_dpad_left = _atom_offset_dpad_left_exit_dpad_left,
    atom_offset_dpad_right_exit_dpad_right = _atom_offset_dpad_right_exit_dpad_right,
    atom_offset_dead_zone_low_check_dead_low_active = _atom_offset_dead_zone_low_check_dead_low_active,
    atom_offset_dead_zone_high_check_dead_high_active = _atom_offset_dead_zone_high_check_dead_high_active,
    atom_offset_dead_zone_skip_exit_stick = _atom_offset_dead_zone_skip_exit_stick,
    atom_offset_end_low_exit_stick = _atom_offset_end_low_exit_stick,
};

#pragma endregion hello_joypad

