-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug_class35.idc
More file actions
28 lines (22 loc) · 891 Bytes
/
debug_class35.idc
File metadata and controls
28 lines (22 loc) · 891 Bytes
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
#include <idc.idc>
#include "lib/lib.idc"
static handle_class35_calculate_ship_route_route_allocation() {
auto eax = GetRegValue("eax");
Message("Route allocated at 0x%x\n", eax);
}
static handle_class35_calculate_ship_route_points_allocation() {
auto eax = GetRegValue("eax");
Message("Points allocated at 0x%x\n", eax);
}
static handle_class35_calculate_ship_route_points_final_allocation() {
auto eax = GetRegValue("eax");
Message("Points final allocated at 0x%x\n", eax);
}
static main() {
AddBpt(0x00445020);
SetBptCnd(0x00445020, "handle_class35_calculate_ship_route_route_allocation()");
AddBpt(0x0044502C);
SetBptCnd(0x0044502C, "handle_class35_calculate_ship_route_points_allocation()");
AddBpt(0x00445D15);
SetBptCnd(0x00445D15, "handle_class35_calculate_ship_route_points_final_allocation()");
}