Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hook (use with any stub, I wont be releasing the reversed callback)
- CODE:
- HRESULT AllowRuntimeToHostRelocator(PWCHAR Resource, DWORD TempBuffer, DWORD ResourceSize) // sub_92200360
- {
- if (lstrcmpW(Resource, L"section://30000EC8,Example#Example") == NULL)
- {
- insert callback/method here e.g. RedeemToken();
- }
- return AllowRuntimeToHostRelocatorCallback(Resource, TempBuffer, ResourceSize);
- }
- PatchInJump((PDWORD)0x92200360, (DWORD)AllowRuntimeToHostRelocator, (PDWORD)AllowRuntimeToHostRelocatorCallback);
- Dummy XML slot
- CODE:
- <slotgroup>
- <slot>
- <name>CheckTime</name>
- <description>Time Remaining</description>
- <rating>267242991</rating>
- <deepasset>
- <format>EpixScene</format>
- <path>EsLiveTile</path>
- <param>common://ico_64x_clock.png</param>
- </deepasset>
- <onclick>
- <action>EpixCmd</action>
- <cmd>EcNavToSceneInApp</cmd>
- <param>EcCreateVirtualDisplay</param>
- <param2>CheckTime</param2>
- </onclick>
- </slot>
- </slotgroup>
Advertisement
Add Comment
Please, Sign In to add comment