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
|
# ras 27.0.0.25 -> 27.0.0.26
# branch 27.0.0, consecutive builds
#
# 1 functions resized, 0 new, 0 removed, 1 with body changes
# total named bytes +16
#
# Normalised: tier annotations, off_/loc_/sub_ address tokens,
# long hex literals and vN renumbering. Local declarations are
# dropped. Raw diffs are 6-17% of lines and almost all noise.
## resized functions (byte size from the index sidecar)
ras_TA_InvokeCommandEntryPoint 70 -> 86 +16
## body changes, per function
### ras_TA_InvokeCommandEntryPoint
-int __fastcall ras_TA_InvokeCommandEntryPoint(int a1, int a2, int a3, int **a4)
+int __fastcall ras_TA_InvokeCommandEntryPoint(int a1, int a2, char a3, int a4)
{
- vX = *a4;
result = dword_X;
- if ( *a4 != nullptr )
+ if ( (a3 & 0xFu) - 5 <= 2 && *(_DWORD *)(a4 + 4) >= 0x30u )
{
- vX = *vX;
- if ( *vX == 2 )
+ vX = *(int **)a4;
+ if ( *(_DWORD *)a4 != 0 )
{
- vX = sub_X(a1: (int)(vX + 4));
+ vX = *vX;
+ if ( *vX == 2 )
+ {
+ vX = sub_X(a1: (int)(vX + 4));
+ }
+ else if ( vX == 1 )
+ {
+ vX = sub_X();
+ }
+ else
+ {
+ if ( vX != 0 )
+ {
+ result = dword_X + 4;
+ vX = 0;
+ goto LABEL_12;
+ }
+ vX = sub_X();
+ }
+ vX = vX;
+ result = 0;
+LABEL_12:
+ vX[1] = *vX | 0xX;
+ vX[2] = vX;
}
- else if ( vX == 1 )
- {
- vX = sub_X();
- }
- else
- {
- if ( vX != 0 )
- {
- result = dword_X + 4;
- vX = 0;
- goto LABEL_10;
- }
- vX = sub_X();
- }
- vX = vX;
- result = 0;
-LABEL_10:
- vX[1] = *vX | 0xX;
- vX[2] = vX;
}
|