Yes it is possible to do that, however i dont play PH so i cant help you bypass xtrap but incase you manage to or find a way here is how u can use Cheat Engine Codes in AutoIt. This is my old zoomhack but for the purpose of proving it. here you are
Code:
HotKeySet("{DOWN}","ZoomHack") ; Down Arrow Key
Global $Zoom = [COLOR="red"]0x[/COLOR]004238DE; CE Address
Func ZoomHack() ; Make a Func
SetPrivilege("SeDebugPrivilege", 1) ; Allow Debugging
$PID = _MemoryOpen(WinGetProcess("TwelveSky2")) ; Target TS2
$ZMode = _MemoryRead($Zoom, $PID) ; Read the Address $zoom, which we said was 0x004238DE ( dont forget to add 0x b4 ur adddresses )
If $ZMode == 16748047 Then ;16748047 is the value of Zoom when the Zoom Limit is Enabled.
_MemoryWrite($Zoom, $PID, 2425393296) ;2425393296 value when Disabled. So we Write the Value to Address $Zoom located in the Process $PID. which we said was TwelveSky2.
ToolTip('ZoomHack:ON',650,0) ;Tell u Its On
Sleep(1000); Sleep for a few moments.
ToolTip('',650,0); Removes the Message
EndIf
; the code below this is simply to check if zoomhack has already been enabled, if it has then do nothing.
If $ZMode == 2425393296 Then ; if Zoomhack is already on then
ToolTip('ZoomHack Already Actived',650,0) ; tell you its already Actived.
Sleep(3000); Wait for 3seconds.
ToolTip('',650, 0) ; Remove the Message
EndIf
_MemoryClose($PID) ; Close off the Memory to prevent any lag and what not.
EndFunc
also for this to work you will need Nomadmemory.au3 file to be included.
hope this helps you some.