Originally Posted by
st0724
Does anyone know a good way to get the pSNOContainer for GetSnoInfoFromSnoId() for different kinds of SNOs? Right now I'm just hardcoding static pointers for known SNO types.
There's a list at 0x1548058 of type struct { void (*allocatorFunc)(); void* containerPtr; };
Either dump it statically or iterate over it at runtime and match [[containerPtr]+0x68] against mooege's SNOGroup enum.
Code:
SNOGroup | Address
1 15b7540
2 15b22e8
5 161f880
6 15b4580
7 1619c40
8 15b70d0
9 1605110
10 1598090
11 161d6f0
12 15b0a40
13 15b0058
14 161dfb8
15 15b26c8
17 161ea30
18 15afc78
19 161a250
20 1571440
21 15c0008
22 15ae3c0
23 16148d8
24 15b2bc0
25 15a7238
26 15bf7c8
27 161a978
28 161f040
29 15b3258
31 15ab038
32 160f120
33 15bd5c8
34 15af780
36 16202f0
37 16181f8
38 160d1e0
39 15aa1e0
40 16115e0
41 1613ef0
42 15b3c40
43 161e6e0
44 1620528
45 161ceb0
46 16154e8
47 160d990
48 15b8f10
49 15a7118
51 15a42e8
52 15a3530
53 159a4d0
55 15a6ff8
56 15a6358
57 160cf18
58 15aace0
59 15a5f78
60 160c160
61 15c4b20
62 1610680
63 15a2888
64 15a2cf0