1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
|
// Manually created for now
#ifndef __CONVERTER_H_
#define __CONVERTER_H_
#include "box32.h"
typedef struct struct_p_s {
void *p0;
} struct_p_t;
void from_struct_p(struct_p_t *dest, ptr_t src);
void to_struct_p(ptr_t dest, const struct_p_t *src);
typedef struct struct_l_s {
long L0;
} struct_l_t;
void from_struct_l(struct_l_t *dest, ptr_t src);
void to_struct_l(ptr_t dest, const struct_l_t *src);
typedef struct struct_L_s {
unsigned long L0;
} struct_L_t;
void from_struct_L(struct_L_t *dest, ptr_t src);
void to_struct_L(ptr_t dest, const struct_L_t *src);
typedef struct struct_ll_s {
long L0;
long L1;
} struct_ll_t;
void from_struct_ll(struct_ll_t *dest, ptr_t src);
void to_struct_ll(ptr_t dest, const struct_ll_t *src);
typedef struct struct_LL_s {
unsigned long L0;
unsigned long L1;
} struct_LL_t;
void from_struct_LL(struct_LL_t *dest, ptr_t src);
void to_struct_LL(ptr_t dest, const struct_LL_t *src);
typedef struct struct_LC_s {
unsigned long L0;
uint8_t C1;
} struct_LC_t;
void from_struct_LC(struct_LC_t *dest, ptr_t src);
void to_struct_LC(ptr_t dest, const struct_LC_t *src);
typedef struct struct_liu_s {
long l0;
int i1;
uint32_t u2;
} struct_liu_t;
void from_struct_liu(struct_liu_t *dest, ptr_t src);
void to_struct_liu(ptr_t dest, const struct_liu_t *src);
typedef struct struct_llll_s {
long l0;
long l1;
long l2;
long l3;
} struct_llll_t;
void from_struct_llll(struct_llll_t *dest, ptr_t src);
void to_struct_llll(ptr_t dest, const struct_llll_t *src);
typedef struct struct_LLLL_s {
unsigned long L0;
unsigned long L1;
unsigned long L2;
unsigned long L3;
} struct_LLLL_t;
void from_struct_LLLL(struct_LLLL_t *dest, ptr_t src);
void to_struct_LLLL(ptr_t dest, const struct_LLLL_t *src);
typedef struct struct_LLLLLLLLLL_s {
unsigned long L0;
unsigned long L1;
unsigned long L2;
unsigned long L3;
unsigned long L4;
unsigned long L5;
unsigned long L6;
unsigned long L7;
unsigned long L8;
unsigned long L9;
} struct_LLLLLLLLLL_t;
void from_struct_LLLLLLLLLL(struct_LLLLLLLLLL_t *dest, ptr_t src);
void to_struct_LLLLLLLLLL(ptr_t dest, const struct_LLLLLLLLLL_t *src);
typedef struct struct_LLLLLLLLLLLLLLLLLL_s {
unsigned long L0;
unsigned long L1;
unsigned long L2;
unsigned long L3;
unsigned long L4;
unsigned long L5;
unsigned long L6;
unsigned long L7;
unsigned long L8;
unsigned long L9;
unsigned long L10;
unsigned long L11;
unsigned long L12;
unsigned long L13;
unsigned long L14;
unsigned long L15;
unsigned long L16;
unsigned long L17;
} struct_LLLLLLLLLLLLLLLLLL_t;
void from_struct_LLLLLLLLLLLLLLLLLL(struct_LLLLLLLLLLLLLLLLLL_t *dest, ptr_t src);
void to_struct_LLLLLLLLLLLLLLLLLL(ptr_t dest, const struct_LLLLLLLLLLLLLLLLLL_t *src);
typedef struct struct_LpCC_s {
unsigned long L0;
void* p1;
uint8_t C2;
uint8_t C3;
} struct_LpCC_t;
void from_struct_LpCC(struct_LpCC_t *dest, ptr_t src);
void to_struct_LpCC(ptr_t dest, const struct_LpCC_t *src);
typedef struct struct_h_s {
uintptr_t h0;
} struct_h_t;
void from_struct_h(struct_h_t *dest, ptr_t src);
void to_struct_h(ptr_t dest, const struct_h_t *src);
typedef struct struct_H_s {
uintptr_t H0;
} struct_H_t;
void from_struct_H(struct_H_t *dest, ptr_t src);
void to_struct_H(ptr_t dest, const struct_H_t *src);
typedef struct struct_pL_s {
void* p0;
unsigned long L1;
} struct_pL_t;
void from_struct_pL(struct_pL_t *dest, ptr_t src);
void to_struct_pL(ptr_t dest, const struct_pL_t *src);
typedef struct struct_ppppii_s {
void* p0;
void* p1;
void* p2;
void* p3;
int i4;
int i5;
} struct_ppppii_t;
void from_struct_ppppii(struct_ppppii_t *dest, ptr_t src);
void to_struct_ppppii(ptr_t dest, const struct_ppppii_t *src);
typedef struct struct_ppppp_s {
void* p0;
void* p1;
void* p2;
void* p3;
void* p4;
} struct_ppppp_t;
void from_struct_ppppp(struct_ppppp_t *dest, ptr_t src);
void to_struct_ppppp(ptr_t dest, const struct_ppppp_t *src);
typedef struct struct_iiiiiiiiilt_s {
int i0;
int i1;
int i2;
int i3;
int i4;
int i5;
int i6;
int i7;
int i8;
long l9;
void* p10;
} struct_iiiiiiiiilt_t;
void from_struct_iiiiiiiiilt(struct_iiiiiiiiilt_t* dest, ptr_t src);
void to_struct_iiiiiiiiilt(ptr_t dest, const struct_iiiiiiiiilt_t* src);
typedef struct struct_up_s {
uint32_t u0;
void* p1;
} struct_up_t;
void from_struct_up(struct_up_t *dest, ptr_t src);
void to_struct_up(ptr_t dest, const struct_up_t *src);
typedef struct struct_upi_s {
uint32_t u0;
void* p1;
int i2;
} struct_upi_t;
void from_struct_upi(struct_upi_t *dest, ptr_t src);
void to_struct_upi(ptr_t dest, const struct_upi_t *src);
typedef struct struct_Ldd_s {
unsigned long L0;
double d1;
double d2;
} struct_Ldd_t;
void from_struct_Ldd(struct_Ldd_t *dest, ptr_t src);
void to_struct_Ldd(ptr_t dest, const struct_Ldd_t *src);
typedef struct struct_upu_s {
uint32_t u0;
void* p1;
uint32_t u2;
} struct_upu_t;
void from_struct_upu(struct_upu_t *dest, ptr_t src);
void to_struct_upu(ptr_t dest, const struct_upu_t *src);
typedef struct struct_LWWWcc_s {
unsigned long L0;
unsigned short W1;
unsigned short W2;
unsigned short W3;
char c4;
char c5;
} struct_LWWWcc_t;
void from_struct_LWWWcc(struct_LWWWcc_t *dest, ptr_t src);
void to_struct_LWWWcc(ptr_t dest, const struct_LWWWcc_t *src);
typedef struct struct_pLiL_s {
void* p0;
unsigned long L1;
int i2;
unsigned long L3;
} struct_pLiL_t;
void from_struct_pLiL(struct_pLiL_t *dest, ptr_t src);
void to_struct_pLiL(ptr_t dest, const struct_pLiL_t *src);
typedef struct struct_Lip_s {
unsigned long L0;
int i1;
void* p2;
} struct_Lip_t;
void from_struct_Lip(struct_Lip_t *dest, ptr_t src);
void to_struct_Lip(ptr_t dest, const struct_Lip_t *src);
typedef struct struct_Lipi_s {
unsigned long L0;
int i1;
void* p2;
int i3;
} struct_Lipi_t;
void from_struct_Lipi(struct_Lipi_t *dest, ptr_t src);
void to_struct_Lipi(ptr_t dest, const struct_Lipi_t *src);
typedef struct struct_LLii_s {
unsigned long L0;
unsigned long L1;
int i2;
int i3;
} struct_LLii_t;
void from_struct_LLii(struct_LLii_t *dest, ptr_t src);
void to_struct_LLii(ptr_t dest, const struct_LLii_t *src);
typedef struct struct_uuipWCCp_s {
uint32_t u0;
uint32_t u1;
int i2;
void* p3;
uint16_t u4;
uint8_t u5;
uint8_t u6;
void* p7;
} struct_uuipWCCp_t;
void from_struct_uuipWCCp(struct_uuipWCCp_t *dest, ptr_t src);
void to_struct_uuipWCCp(ptr_t dest, const struct_uuipWCCp_t *src);
typedef struct struct_pLiLLLii_s {
void* p0;
unsigned long L1;
int i2;
unsigned long L3;
unsigned long L4;
unsigned long L5;
int i6;
int i7;
} struct_pLiLLLii_t;
void from_struct_pLiLLLii(struct_pLiLLLii_t *dest, ptr_t src);
void to_struct_pLiLLLii(ptr_t dest, const struct_pLiLLLii_t *src);
typedef struct struct_WWpWpWpWp_s {
uint16_t W0;
uint16_t W1;
void* p2;
uint16_t W3;
void* p4;
uint16_t W5;
void* p6;
uint16_t W7;
void* p8;
} struct_WWpWpWpWp_t;
void from_struct_WWpWpWpWp(struct_WWpWpWpWp_t *dest, ptr_t src);
void to_struct_WWpWpWpWp(ptr_t dest, const struct_WWpWpWpWp_t *src);
typedef struct struct_ip_s {
int i0;
void* p1;
} struct_ip_t;
void from_struct_ip(struct_ip_t *dest, ptr_t src);
void to_struct_ip(ptr_t dest, const struct_ip_t *src);
typedef struct struct_pi_s {
void* p0;
int i1;
} struct_pi_t;
void from_struct_pi(struct_pi_t *dest, ptr_t src);
void to_struct_pi(ptr_t dest, const struct_pi_t *src);
typedef struct struct_pp_s {
void* p0;
void* p1;
} struct_pp_t;
void from_struct_pp(struct_pp_t *dest, ptr_t src);
void to_struct_pp(ptr_t dest, const struct_pp_t *src);
typedef struct struct_pu_s {
void* p0;
uint32_t u1;
} struct_pu_t;
void from_struct_pu(struct_pu_t *dest, ptr_t src);
void to_struct_pu(ptr_t dest, const struct_pu_t *src);
typedef struct struct_ppi_s {
void* p0;
void* p1;
int i2;
} struct_ppi_t;
void from_struct_ppi(struct_ppi_t *dest, ptr_t src);
void to_struct_ppi(ptr_t dest, const struct_ppi_t *src);
typedef struct struct_iip_s {
int i0;
int i1;
void* p2;
} struct_iip_t;
void from_struct_iip(struct_iip_t *dest, ptr_t src);
void to_struct_iip(ptr_t dest, const struct_iip_t *src);
typedef struct struct_puu_s {
void* p0;
uint32_t u1;
uint32_t u2;
} struct_puu_t;
void from_struct_puu(struct_puu_t *dest, ptr_t src);
void to_struct_puu(ptr_t dest, const struct_puu_t *src);
typedef struct struct_pii_s {
void* p0;
int i1;
int i2;
} struct_pii_t;
void from_struct_pii(struct_pii_t *dest, ptr_t src);
void to_struct_pii(ptr_t dest, const struct_pii_t *src);
typedef struct struct_piiL_s {
void* p0;
int i1;
int i2;
unsigned long L3;
} struct_piiL_t;
void from_struct_piiL(struct_piiL_t *dest, ptr_t src);
void to_struct_piiL(ptr_t dest, const struct_piiL_t *src);
typedef struct struct_piip_s {
void* p0;
int i1;
int i2;
void* p3;
} struct_piip_t;
void from_struct_piip(struct_piip_t *dest, ptr_t src);
void to_struct_piip(ptr_t dest, const struct_piip_t *src);
typedef struct struct_ppup_s {
void* p0;
void* p1;
uint32_t u2;
void* p3;
} struct_ppup_t;
typedef struct struct_ipip_s {
int i0;
void* p1;
int i2;
void* p3;
} struct_ipip_t;
void from_struct_ipip(struct_ipip_t *dest, ptr_t src);
void to_struct_ipip(ptr_t dest, const struct_ipip_t *src);
void from_struct_ppup(struct_ppup_t *dest, ptr_t src);
void to_struct_ppup(ptr_t dest, const struct_ppup_t *src);
typedef struct struct_iiiiiLi_s {
int i0;
int i1;
int i2;
int i3;
int i4;
unsigned long L5;
int i6;
} struct_iiiiiLi_t;
void from_struct_iiiiiLi(struct_iiiiiLi_t* dest, ptr_t src);
void to_struct_iiiiiLi(ptr_t dest, const struct_iiiiiLi_t* src);
typedef struct struct_iLLLiiiiiiiLLiiLiiiiLic_s {
int i0;
unsigned long L1;
unsigned long L2;
unsigned long L3;
int i4;
int i5;
int i6;
int i7;
int i8;
int i9;
int i10;
unsigned long L11;
unsigned long L12;
int i13;
int i14;
unsigned long L15;
int i16;
int i17;
int i18;
int i19;
unsigned long L20;
int i21;
int8_t c22;
} struct_iLLLiiiiiiiLLiiLiiiiLic_t;
void from_struct_iLLLiiiiiiiLLiiLiiiiLic(struct_iLLLiiiiiiiLLiiLiiiiLic_t* dest, ptr_t src);
void to_struct_iLLLiiiiiiiLLiiLiiiiLic(ptr_t dest, const struct_iLLLiiiiiiiLLiiLiiiiLic_t* src);
typedef struct struct_LLLLiiiLLilliLL_s {
unsigned long L0;
unsigned long L1;
unsigned long L2;
unsigned long L3;
int i4;
int i5;
int i6;
int i7;
unsigned long L8;
unsigned long L9;
int i10;
long l11;
long l12;
int i13;
unsigned long L14;
unsigned long L15;
} struct_LLLLiiiLLilliLL_t;
void from_struct_LLLLiiiLLilliLL(struct_LLLLiiiLLilliLL_t* dest, ptr_t src);
void to_struct_LLLLiiiLLilliLL(ptr_t dest, const struct_LLLLiiiLLilliLL_t* src);
typedef struct struct_iiuuLip_s {
int i0;
int i1;
uint32_t u2;
uint32_t u3;
unsigned long L4;
int i5;
void* p6;
} struct_iiuuLip_t;
void from_struct_iiuuLip(struct_iiuuLip_t *dest, ptr_t src);
void to_struct_iiuuLip(ptr_t dest, const struct_iiuuLip_t *src);
typedef struct struct_pLiiiLLLii_s {
void* p0;
unsigned long L1;
int i2;
int i3;
int i4;
unsigned long L5;
unsigned long L6;
unsigned long L7;
int i8;
int i9;
} struct_pLiiiLLLii_t;
void from_struct_pLiiiLLLii(struct_pLiiiLLLii_t *dest, ptr_t src);
void to_struct_pLiiiLLLii(ptr_t dest, const struct_pLiiiLLLii_t *src);
typedef struct struct_LiiuL_s {
unsigned long L0;
int i1;
int i2;
uint32_t u3;
unsigned long L4;
} struct_LiiuL_t;
void from_struct_LiiuL(struct_LiiuL_t *dest, ptr_t src);
void to_struct_LiiuL(ptr_t dest, const struct_LiiuL_t *src);
typedef struct struct_WWWWWWWWWuip_s {
uint16_t W0;
uint16_t W1;
uint16_t W2;
uint16_t W3;
uint16_t W4;
uint16_t W5;
uint16_t W6;
uint16_t W7;
uint16_t W8;
uint32_t u9;
int i10;
void* p11;
unsigned long L4;
} struct_WWWWWWWWWuip_t;
void from_struct_WWWWWWWWWuip(struct_WWWWWWWWWuip_t *dest, ptr_t src);
void to_struct_WWWWWWWWWuip(ptr_t dest, const struct_WWWWWWWWWuip_t *src);
typedef struct struct_LiiwwwwwwwwL_s {
unsigned long L0;
int i1;
int i2;
short w3;
short w4;
short w5;
short w6;
short w7;
short w8;
short w9;
short w10;
unsigned long L11;
} struct_LiiwwwwwwwwL_t;
void from_struct_LiiwwwwwwwwL(struct_LiiwwwwwwwwL_t *dest, ptr_t src);
void to_struct_LiiwwwwwwwwL(ptr_t dest, const struct_LiiwwwwwwwwL_t *src);
typedef struct struct_iLiiiiLiiiiLi_s {
int i0;
unsigned long L1;
int i2;
int i3;
int i4;
int i5;
unsigned long L6;
int i7;
int i8;
int i9;
int i10;
unsigned long L11;
int i12;
} struct_iLiiiiLiiiiLi_t;
void from_struct_iLiiiiLiiiiLi(struct_iLiiiiLiiiiLi_t* dest, ptr_t src);
void to_struct_iLiiiiLiiiiLi(ptr_t dest, const struct_iLiiiiLiiiiLi_t* src);
typedef struct struct_pppiiip_s {
void* p0;
void* p1;
void* p2;
int i3;
int i4;
int i5;
void* p6;
} struct_pppiiip_t;
void from_struct_pppiiip(struct_pppiiip_t *dest, ptr_t src);
void to_struct_pppiiip(ptr_t dest, const struct_pppiiip_t *src);
typedef struct struct_LWww_s {
unsigned long L0;
unsigned short W1;
short W2;
short W3;
} struct_LWww_t;
void from_struct_LWww(struct_LWww_t *dest, ptr_t src);
void to_struct_LWww(ptr_t dest, const struct_LWww_t *src);
#endif // __CONVERTER_H_
|