Advertisement
Moolah60

Animal Crossing GC Animal_c

Mar 6th, 2021
1,015
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 4.88 KB | None | 0 0
  1. typedef unsigned char   undefined;
  2.  
  3. typedef unsigned char    bool;
  4. typedef unsigned char    byte;
  5. typedef unsigned int    dword;
  6. typedef long long    longlong;
  7. typedef char    sbyte;
  8. typedef unsigned char    uchar;
  9. typedef unsigned int    uint;
  10. typedef unsigned long    ulong;
  11. typedef unsigned long long    ulonglong;
  12. typedef unsigned char    undefined1;
  13. typedef unsigned short    undefined2;
  14. typedef unsigned int    undefined4;
  15. typedef unsigned long long    undefined6;
  16. typedef unsigned long long    undefined8;
  17. typedef unsigned short    ushort;
  18. typedef short    wchar_t;
  19. typedef struct Animal_c Animal_c, *PAnimal_c;
  20.  
  21. typedef struct AnmPersonalID AnmPersonalID, *PAnmPersonalID;
  22.  
  23. typedef struct Anmmem_c Anmmem_c, *PAnmmem_c;
  24.  
  25. typedef struct Anmhome_c Anmhome_c, *PAnmhome_c;
  26.  
  27. typedef struct mQst_ctt_c mQst_ctt_c, *PmQst_ctt_c;
  28.  
  29. typedef ushort mAc_nfs_t;
  30.  
  31. typedef struct AnmHPMail_c AnmHPMail_c, *PAnmHPMail_c;
  32.  
  33. typedef struct PersonalID PersonalID, *PPersonalID;
  34.  
  35. typedef struct OSRTCTime OSRTCTime, *POSRTCTime;
  36.  
  37. typedef struct OSRTCTime lbRTC_time_c;
  38.  
  39. typedef struct Anm_ltt_c Anm_ltt_c, *PAnm_ltt_c;
  40.  
  41. typedef struct Anmplmail_c Anmplmail_c, *PAnmplmail_c;
  42.  
  43. typedef struct mQst_cl_c mQst_cl_c, *PmQst_cl_c;
  44.  
  45. typedef union mQst_ctd_c mQst_ctd_c, *PmQst_ctd_c;
  46.  
  47. typedef struct lbRTC_ymd_c lbRTC_ymd_c, *PlbRTC_ymd_c;
  48.  
  49. typedef struct mQst_flw_c mQst_flw_c, *PmQst_flw_c;
  50.  
  51. typedef struct mQst_ltt_c mQst_ltt_c, *PmQst_ltt_c;
  52.  
  53. typedef ushort lbRTC_YY_t;
  54.  
  55. typedef byte lbRTC_MM_t;
  56.  
  57. typedef byte lbRTC_DD_t;
  58.  
  59. struct mQst_flw_c {
  60.     byte goal_num;
  61. };
  62.  
  63. struct mQst_ltt_c { /* letter quest */
  64.     byte rank;
  65.     byte field_0x1;
  66.     mAc_nfs_t present;
  67. };
  68.  
  69. union mQst_ctd_c {
  70.     struct mQst_flw_c flower;
  71.     struct mQst_ltt_c letter;
  72. };
  73.  
  74. struct OSRTCTime {
  75.     byte sec;
  76.     byte min;
  77.     byte hour;
  78.     byte day;
  79.     byte week;
  80.     byte month;
  81.     ushort year;
  82. };
  83.  
  84. struct mQst_cl_c {
  85.     uint type:2;
  86.     uint kind:6;
  87.     uint time_is:1;
  88.     uint step:4;
  89.     uint hand_reward:1;
  90.     lbRTC_time_c limit;
  91. };
  92.  
  93. struct PersonalID {
  94.     byte name[8];
  95.     byte town_name[8];
  96.     ushort player_id;
  97.     ushort town_id;
  98. };
  99.  
  100. struct mQst_ctt_c { /* contest type */
  101.     struct mQst_cl_c info;
  102.     mAc_nfs_t item;
  103.     struct PersonalID pID;
  104.     sbyte data_type;
  105.     byte field_0x23;
  106.     union mQst_ctd_c data;
  107. };
  108.  
  109. struct lbRTC_ymd_c { /* year_month_day_data */
  110.     lbRTC_YY_t year;
  111.     lbRTC_MM_t month;
  112.     lbRTC_DD_t day;
  113. };
  114.  
  115. struct Anmplmail_c { /* animal_player_mail_info */
  116.     byte font;
  117.     byte binsen_type; /* paper type */
  118.     mAc_nfs_t present;
  119.     byte header_back_start;
  120.     byte header[24];
  121.     byte body[192];
  122.     byte footer[32];
  123.     byte pad;
  124.     struct lbRTC_ymd_c time;
  125. };
  126.  
  127. struct Anmhome_c { /* animal_home_pos */
  128.     byte kind;
  129.     byte block_xnum;
  130.     byte block_znum;
  131.     byte ut_xnum;
  132.     byte ut_znum;
  133. };
  134.  
  135. struct Anm_ltt_c { /* animal_letter_info */
  136.     byte is:1;
  137.     byte cond:1;
  138.     byte send:1;
  139.     byte pad:5;
  140. };
  141.  
  142. struct Anmmem_c {
  143.     struct PersonalID friend_id;
  144.     lbRTC_time_c last_day;
  145.     byte land_name[8];
  146.     ushort land_id;
  147.     undefined field_0x26;
  148.     undefined field_0x27;
  149.     ulonglong note;
  150.     sbyte friendship;
  151.     struct Anm_ltt_c letter;
  152.     struct Anmplmail_c mail;
  153.     uint action_talk;
  154. };
  155.  
  156. struct AnmPersonalID {
  157.     mAc_nfs_t name;
  158.     ushort land_id;
  159.     byte land_name[8];
  160.     byte name_id;
  161.     byte looks;
  162. };
  163.  
  164. struct AnmHPMail_c {
  165.     lbRTC_time_c receive_time;
  166.     byte password[20];
  167. };
  168.  
  169. struct Animal_c {
  170.     struct AnmPersonalID id;
  171.     undefined field_0xe; // pad
  172.     undefined field_0xf;
  173.     struct Anmmem_c memory[7];
  174.     struct Anmhome_c home;
  175.     byte ending[10];
  176.     undefined field_0x8a7; // pad
  177.     struct mQst_ctt_c contest;
  178.     byte parent_name[8];
  179.     byte last_land_name[8];
  180.     ushort last_land_id;
  181.     byte feel;
  182.     byte feel_tim;
  183.     mAc_nfs_t cloth_no;
  184.     ushort remove;
  185.     byte be_home;
  186.     byte born;
  187.     byte remove_animal;
  188.     byte org_id; /* able sisters pattern */
  189.     sbyte umbrella;
  190.     byte field_0x8ed; // pad
  191.     mAc_nfs_t present_cloth;
  192.     byte animal_relation[15];
  193.     byte field_0x8ff; // pad
  194.     struct AnmHPMail_c hp_mail[4];
  195.     undefined field_0x970; // pad/unused/align
  196.     undefined field_0x971;
  197.     undefined field_0x972;
  198.     undefined field_0x973;
  199.     undefined field_0x974;
  200.     undefined field_0x975;
  201.     undefined field_0x976;
  202.     undefined field_0x977;
  203.     undefined field_0x978;
  204.     undefined field_0x979;
  205.     undefined field_0x97a;
  206.     undefined field_0x97b;
  207.     undefined field_0x97c;
  208.     undefined field_0x97d;
  209.     undefined field_0x97e;
  210.     undefined field_0x97f;
  211.     undefined field_0x980;
  212.     undefined field_0x981;
  213.     undefined field_0x982;
  214.     undefined field_0x983;
  215.     undefined field_0x984;
  216.     undefined field_0x985;
  217.     undefined field_0x986;
  218.     undefined field_0x987;
  219. };
  220.  
  221.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement