I'm working on a project which requires me to extract, edit, and reproduce part of a proprietary hash algorithm.. which is contained inside a dll.
The dll is used by an Unity game, and includes Unity between its references too.
This dll invokes some external functions contained in another dll (which I suppose has been written in c++, considering the DllImport etc present in the source code) with all the real hash logic and methods... and here comes the problem.
I've not been able to find and locate that dll: no trace in the folder at all.
So I suppose that Unity (or whatever tool) managed somehow to embed it inside the dll code itself... but after further decompilation, disassemblation etc, the dll does not present any code to eventually extract it!
The fact is that ILSpy is able to show this external dll in the "parent" dll references, marking it as a "module", but I have no idea about how to proceed to extract it (if it's relly there!).
I also tried to bypass the problem, including the entire dll into a C# project, and invoking its public functions at runtime (like the Unity game does)... but it seems that somehow, this idea is not working at all (read something about the fact that unity can run c# code, but I cannot init Unity via C#... or something like that).
So... After struggling for days, I decided to ask here to some experts.
Anyone can help me?