TAnimData.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #ifndef _TANIMDATA_H_
  2. #define _TANIMDATA_H_
  3. #include "common_type.h"
  4. struct TAnimData_C {
  5. ushort us_0; // 00156268 STRH R0, [R4,#0x38]; 0016E9CE LDRH R0, [R6,#0x20]
  6. ushort us_2;
  7. sint32 i_4;
  8. int i_8;
  9. };
  10. // 0x84
  11. #pragma pack(push, 1)
  12. struct TAnimData {
  13. int filed_0; // 00155DC2 确定类型
  14. int filed_4;
  15. sint8 filed_8;
  16. sint8 filed_9; // 00170656
  17. char filed_a;
  18. char filed_b;
  19. union {
  20. struct {
  21. uint8 uc_c; // 0016FB7C filed_c 此处是一个byte
  22. uint8 uc_d;
  23. uint8 uc_e;
  24. uint8 uc_f;
  25. } s_C;
  26. int filed_C;
  27. } u_C;
  28. int i_10;
  29. int filed_14;
  30. short s_18;
  31. ushort us_1A;
  32. ushort us_1C;
  33. ushort us_1E;
  34. TAnimData_C filed_20[4];
  35. int filed_50;
  36. short* filed_54; // 00156698 由此确定是 short*
  37. short* filed_58;
  38. ushort filed_5c;
  39. ushort filed_5e;
  40. short filed_60;
  41. ushort filed_62;
  42. short s_64;
  43. short s_66; // 001D3A84 LDRSH.W R0, [R0,#0x66] 由此判断是有符号的
  44. short s_68; // 00171204 LDRSH.W R0, [R8,#0x68]
  45. short s_6A;
  46. ushort filed_6c;
  47. ushort filed_6e;
  48. short s_70; // 00171192 LDRSH.W R1, [R8,#0x70]
  49. short s_72; // 001711AA LDRSH.W R7, [R8,#0x72]
  50. short s_74; // 00175A08 LDRSH.W R2, [R3,#0x74]
  51. short s_76;
  52. short s_78; // 00171164 LDRSH.W R3, [R8,#0x78]
  53. uchar filed_7a;
  54. uchar filed_7b;
  55. ushort filed_7c;
  56. ushort filed_7e;
  57. int filed_80;
  58. };
  59. #pragma pack(pop)
  60. #endif