-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A bunch of changes over the course of a year. I'm bad at version cont…
…rol, sorry.
- Loading branch information
1 parent
9ba2ede
commit 72d37c2
Showing
19 changed files
with
648 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> | ||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> | ||
<security> | ||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<!-- UAC Manifest Options | ||
If you want to change the Windows User Account Control level replace the | ||
requestedExecutionLevel node with one of the following. | ||
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> | ||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> | ||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" /> | ||
Specifying requestedExecutionLevel node will disable file and registry virtualization. | ||
If you want to utilize File and Registry Virtualization for backward | ||
compatibility then delete the requestedExecutionLevel node. | ||
--> | ||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" /> | ||
</requestedPrivileges> | ||
</security> | ||
</trustInfo> | ||
|
||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<application> | ||
<!-- A list of all Windows versions that this application is designed to work with. | ||
Windows will automatically select the most compatible environment.--> | ||
|
||
<!-- If your application is designed to work with Windows Vista, uncomment the following supportedOS node--> | ||
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>--> | ||
|
||
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node--> | ||
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>--> | ||
|
||
<!-- If your application is designed to work with Windows 8, uncomment the following supportedOS node--> | ||
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>--> | ||
|
||
<!-- If your application is designed to work with Windows 8.1, uncomment the following supportedOS node--> | ||
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>--> | ||
|
||
</application> | ||
</compatibility> | ||
|
||
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) --> | ||
<!-- <dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
processorArchitecture="*" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
/> | ||
</dependentAssembly> | ||
</dependency>--> | ||
|
||
</asmv1:assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace TinkerWorX.SharpCraft | ||
{ | ||
internal static class Addresses | ||
{ | ||
// === INSTRUCTIONS === | ||
// 1. Hit "Alt + B" to search for the following byte sequence, | ||
// including the quotes: ".?AUAgent2HandleReg@@". This should return one | ||
// result, looking similar to this: | ||
// .data:6FA7951C a_?auagent2hand db '.?AUAgent2HandleReg@@',0 | ||
// 2. Double click the result. (Only in IDAPro 5.5) | ||
// 3. Place the cursor in the following part of the line: | ||
// .data:6FA7951C a_?auagent2hand db '.?AUAgent2HandleReg@@',0 | ||
// ^^^^^^^^^^^^^^^ | ||
// 4. Press "x", to cross reference the string. | ||
// This should give you several results. Four of them are functions. | ||
// 5. One of the functions will look like this (first one likely): | ||
// -> .text:6F3A465F call sub_6F3A3AD0 | ||
// .text:6F3A4664 push 1 | ||
// .text:6F3A4666 push 0FFFFFFFEh | ||
// .text:6F3A4668 push offset a_?auagent2hand ; ".?AUAgent2HandleReg@@" | ||
// 6. Double click sub_6F3A3AD0. | ||
// 7. You are now in a function that looks like this: | ||
// .text:6F3A3AD0 sub_6F3A3AD0 proc near | ||
// .text:6F3A3AD0 | ||
// .text:6F3A3AD0 | ||
// .text:6F3A3AD0 arg_0 = dword ptr 4 | ||
// .text:6F3A3AD0 arg_4 = dword ptr 8 | ||
// .text:6F3A3AD0 | ||
// .text:6F3A3AD0 push ebx | ||
// .text:6F3A3AD1 push edi | ||
// .text:6F3A3AD2 mov edi, edx | ||
// .text:6F3A3AD4 mov ebx, ecx | ||
// .text:6F3A3AD6 call sub_6F442670 | ||
// .text:6F3A3ADB mov ecx, 0Dh | ||
// .text:6F3A3AE0 call sub_6F4C34D0 | ||
// .text:6F3A3AE5 mov eax, [eax+10h] | ||
// .text:6F3A3AE8 mov ecx, [eax+18h] | ||
// .text:6F3A3AEB test ecx, ecx | ||
// .text:6F3A3AED jz short loc_6F3A3AFE | ||
// .text:6F3A3AEF mov edx, [esp+8+arg_4] | ||
// .text:6F3A3AF3 mov eax, [esp+8+arg_0] | ||
// .text:6F3A3AF7 push edx | ||
// .text:6F3A3AF8 push eax | ||
// -> .text:6F3A3AF9 call sub_6F3A2EC0 | ||
// 8. sub_6F3A2EC0 is the game_state function. | ||
// 7. Using the image base, you rebase this address like this: | ||
// 6F3A2EC0 - 6F000000 = 003A2EC0 | ||
public const Int32 Unknown__SetStateOffset = 0x3A2EC0; | ||
} | ||
} |
Oops, something went wrong.