-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug_class27.idc
More file actions
71 lines (56 loc) · 2 KB
/
debug_class27.idc
File metadata and controls
71 lines (56 loc) · 2 KB
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
#include <idc.idc>
#include "lib/lib.idc"
static debug_class74(class74) {
Message("%s\n", class74.to_string());
if (class74.get_field_94_a4_len() > 0) {
auto a4_index = 0;
auto i = 0;
while (i < class74.get_field_a4_entry(a4_index)) {
auto screen_rectangle = class74.get_field_a0_entry(i);
Message("screen_rectangle %d: %s\n",
i,
screen_rectangle.to_string());
i = i + 1;
if (i > 10) {
Message("aborting enumeration\n");
break;
}
}
}
}
static main() {
auto c74;
Message("\n\n\n");
auto class27 = get_class27();
if (class27.address == 0) {
return;
}
Message("Debugging %s\n", class27.to_string());
auto c74_808 = class27.get_anim2_oben_rechts_alle_res();
Message("\nanim2 (oben rechts - alle res):\n");
debug_class74(c74_808);
c74 = class27.get_anim1_oben_links_800();
Message("\nanim1 (oben links - 800):\n");
debug_class74(c74);
c74 = class27.get_anim41_oben_links_1024();
Message("\nanim141 (oben links - 1024):\n");
debug_class74(c74);
c74 = class27.get_anim42_oben_links_1280();
Message("\nanim42 (oben links - 1280):\n");
debug_class74(c74);
c74 = class27.get_anim4_horizontal_balken_rechts_alle_res();
Message("\nanim4 (horizontal balken rechts - alle res):\n");
debug_class74(c74);
auto c74_c40 = class27.get_anim3_vertikal_balken_rechts_alle_res();
Message("\nanim3 (vertikal balken rechts - alle res):\n");
debug_class74(c74_c40);
c74 = class27.get_anim44_rechts_unten_1024();
Message("\nanim43 (rechts unten - 1024):\n");
debug_class74(c74);
c74 = class27.get_anim44_rechts_unten_1280();
Message("\nanim44 (rechts unten - 1280):\n");
debug_class74(c74);
c74 = class27.get_anim59();
Message("\nanim59:\n");
debug_class74(c74);
}