1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #ifndef _TANIMDATA_H_
- #define _TANIMDATA_H_
- #include "common_type.h"
- struct TAnimData_C {
- ushort us_0; // 00156268 STRH R0, [R4,#0x38]; 0016E9CE LDRH R0, [R6,#0x20]
- ushort us_2;
- sint32 i_4;
- int i_8;
- };
- // 0x84
- #pragma pack(push, 1)
- struct TAnimData {
- int filed_0; // 00155DC2 确定类型
- int filed_4;
- sint8 filed_8;
- sint8 filed_9; // 00170656
- char filed_a;
- char filed_b;
- union {
- struct {
- uint8 uc_c; // 0016FB7C filed_c 此处是一个byte
- uint8 uc_d;
- uint8 uc_e;
- uint8 uc_f;
- } s_C;
- int filed_C;
- } u_C;
- int i_10;
- int filed_14;
- short s_18;
- ushort us_1A;
- ushort us_1C;
- ushort us_1E;
- TAnimData_C filed_20[4];
- int filed_50;
- short* filed_54; // 00156698 由此确定是 short*
- short* filed_58;
- ushort filed_5c;
- ushort filed_5e;
- short filed_60;
- ushort filed_62;
- short s_64;
- short s_66; // 001D3A84 LDRSH.W R0, [R0,#0x66] 由此判断是有符号的
- short s_68; // 00171204 LDRSH.W R0, [R8,#0x68]
- short s_6A;
- ushort filed_6c;
- ushort filed_6e;
- short s_70; // 00171192 LDRSH.W R1, [R8,#0x70]
- short s_72; // 001711AA LDRSH.W R7, [R8,#0x72]
- short s_74; // 00175A08 LDRSH.W R2, [R3,#0x74]
- short s_76;
- short s_78; // 00171164 LDRSH.W R3, [R8,#0x78]
- uchar filed_7a;
- uchar filed_7b;
- ushort filed_7c;
- ushort filed_7e;
- int filed_80;
- };
- #pragma pack(pop)
- #endif
|