comparison MM7.h @ 513:3ee1e351e710

Some CharacterUI_LoadPaperdollTextures overflows
author Nomad
date Fri, 01 Mar 2013 18:22:43 +0200
parents 5b6e2021c6fe
children 59713bb36033
comparison
equal deleted inserted replaced
511:a13d7b95424e 513:3ee1e351e710
210 #pragma pack(push, 1) 210 #pragma pack(push, 1)
211 211
212 #pragma pack(pop) 212 #pragma pack(pop)
213 extern int paperdoll_Weapon[4][16][2]; 213 extern int paperdoll_Weapon[4][16][2];
214 214
215 /* 371 */ 215 /* 371 */ // stru331 - deleted
216 #pragma pack(push, 1) 216
217 struct stru331
218 {
219 int field_0;
220 int field_4;
221 int field_8;
222 int field_C;
223 int field_10;
224 int field_14;
225 int field_18;
226 int field_1C;
227 int field_20;
228 int field_24;
229 int field_28;
230 int field_2C;
231 int field_30;
232 int field_34;
233 int field_38;
234 int field_3C;
235 };
236 #pragma pack(pop)
237 217
238 /* 372 */ 218 /* 372 */
239 #pragma pack(push, 1) 219 #pragma pack(push, 1)
240 struct stru332 220 struct stru332
241 { 221 {
242 unsigned int texids[11]; 222 unsigned int texids[11];
243 stru331 field_2C; 223 int texid1;
244 }; 224 int texid2;
245 #pragma pack(pop) 225 int texid3;
246 extern stru332 stru_511698; 226 int texid4;
227 int texid5;
228 };
229 #pragma pack(pop)
230 extern stru332 stru_511698[];
247 231
248 232
249 /* 373 */ 233 /* 373 */
250 #pragma pack(push, 1) 234 #pragma pack(push, 1)
251 struct stru333 235 struct stru333
252 { 236 {
253 unsigned int texids[5]; 237 unsigned int texids[5];
254 unsigned int *texid1; 238 int texid1;
255 int field_18; 239 int texid2;
256 }; 240 };
257 #pragma pack(pop) 241 #pragma pack(pop)
258 extern stru333 stru_511718; 242 extern stru333 stru_511718[];
259 243
260 244
261 /* 374 */ 245 /* 374 */
262 #pragma pack(push, 1) 246 #pragma pack(push, 1)
263 struct stru334 247 struct stru334