Commit a096080
authored
Add a more specific RunFinalizer signature for Summer Vacation! Scramble (#199)
The "Test Game" signature is a bit general that it matched `MS.Internal.Xml.Cache.XPathDocumentNavigator$$MoveToId`
in Summer Vacation! Scramble(SVS) assembly, causing NULL finalier access
crashes due to HasFinalize not being handled.
The one actually matched RunFinalizer in SVS is "V Rising" signature,
though it's listed after the "Test Game" signature.
Although a simple reorder can fix the issue for SVS, both signatures
mentioned are quiet general so this could breaks other games relying on
this matching order, otherwise the same crash can happen due to hooking
on the wrong location.
Thus I instead add a more specific signature that should solely matches
RunFinalizer on SVS or other games with similar compilation options
before the too general one.1 parent 3f97933 commit a096080
File tree
1 file changed
+7
-0
lines changed- Il2CppInterop.Runtime/Injection/Hooks
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
0 commit comments