Restructured project structure to use a singular SLN; made the T2API common to all projects; adjusted watchdog timer to 8 seconds

This commit is contained in:
Robert MacGregor 2015-06-27 13:36:30 -04:00
parent e1c5d1dead
commit 527474ff24
79 changed files with 469 additions and 626 deletions

View file

@ -0,0 +1,34 @@
#include <DXAPI/GameConnection.h>
namespace DX
{
GameConnection::GameConnection(unsigned int obj) : NetConnection(obj)
{
}
ShapeBase GameConnection::getControlObject(void)
{
unsigned int result_ptr = 0;
unsigned int my_ptr = this->base_pointer_value;
__asm
{
mov ecx, my_ptr;
add ecx, 3404928;
test ecx, ecx;
mov edx, ecx;
jz loc_5FDA60_sim;
add edx, 4294967136;
loc_5FDA60_sim:
mov eax, [edx + 33372];
test eax, eax;
jnz got_valid_ptr;
got_valid_ptr:
mov result_ptr, eax;
}
return ShapeBase(result_ptr);
}
} // End NameSpace DX