mumble/plugins/amongus
Davide Beatrici f069abdf77 FIX(positional-audio): Update Among Us plugin to work with v2020.12.09s
The reason why the signature has to be stricter now is due to a very similar function being present at an earlier address:

il2cpp:10E99B02 83 C4 08          add     esp, 8
il2cpp:10E99B05 84 C0             test    al, al
il2cpp:10E99B07 74 39             jz      short loc_10E99B42
il2cpp:10E99B09 A1 AC 7C C5 11    mov     eax, HLBNNHFCNAJ__TypeInfo ; HLBNNHFCNAJ
il2cpp:10E99B0E 8B 40 5C          mov     eax, [eax+5Ch]
il2cpp:10E99B11 8B 38             mov     edi, [eax]

il2cpp:112CC4B8 83 C4 08          add     esp, 8
il2cpp:112CC4BB 84 C0             test    al, al
il2cpp:112CC4BD 74 39             jz      short loc_112CC4F8
il2cpp:112CC4BF A1 54 7F C5 11    mov     eax, FMLLKEACGIO__TypeInfo ; FMLLKEACGIO
il2cpp:112CC4C4 8B 40 5C          mov     eax, [eax+5Ch]
il2cpp:112CC4C7 8B 00             mov     eax, [eax]

FMLLKEACGIO is AmongUsClient, the object we need.

See https://wiki.weewoo.net/wiki/Translations for more info on the obfuscated names.
2021-01-01 21:16:18 +01:00
..
amongus.cpp FEAT(positional-audio): Add plugin for Among Us 2020-11-11 05:25:56 +01:00
CMakeLists.txt FEAT(positional-audio): Add plugin for Among Us 2020-11-11 05:25:56 +01:00
Game.cpp FIX(positional-audio): Update Among Us plugin to work with v2020.12.09s 2021-01-01 21:16:18 +01:00
Game.h FEAT(positional-audio): Add plugin for Among Us 2020-11-11 05:25:56 +01:00
structs.h FEAT(positional-audio): Add plugin for Among Us 2020-11-11 05:25:56 +01:00