This is just an example.
Feel free to change, add extra security, anti debug, integrity verification of the caller, load a driver that protects the whole process, internet callbacks, whatever... it's up to you.

Note that decoder.dll must be compatible with CE's manual map method. If you need to do something more fancy, consider using decoder.dll as a loader (loadlibrary works just fine)
The first parameter is currently unused but reserved for future use. Do not rely on what it points to

Also, you can delete these dll's and CE will fallback on some autogenerated code instead