; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727.762 

	TITLE	d:\Source Code\STGM\neo.cpp
	.686P
	.XMM
	include listing.inc
	.model	flat

INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES

PUBLIC	??_C@_0P@GHFPNOJB@bad?5allocation?$AA@		; `string'
PUBLIC	?collate@?$_Locbase@H@std@@2HB			; std::_Locbase<int>::collate
PUBLIC	?ctype@?$_Locbase@H@std@@2HB			; std::_Locbase<int>::ctype
PUBLIC	?monetary@?$_Locbase@H@std@@2HB			; std::_Locbase<int>::monetary
PUBLIC	?numeric@?$_Locbase@H@std@@2HB			; std::_Locbase<int>::numeric
PUBLIC	?time@?$_Locbase@H@std@@2HB			; std::_Locbase<int>::time
PUBLIC	?messages@?$_Locbase@H@std@@2HB			; std::_Locbase<int>::messages
PUBLIC	?all@?$_Locbase@H@std@@2HB			; std::_Locbase<int>::all
PUBLIC	?none@?$_Locbase@H@std@@2HB			; std::_Locbase<int>::none
PUBLIC	?table_size@?$ctype@D@std@@2IB			; std::ctype<char>::table_size
PUBLIC	?skipws@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::skipws
PUBLIC	?unitbuf@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::unitbuf
PUBLIC	?uppercase@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::uppercase
PUBLIC	?showbase@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::showbase
PUBLIC	?showpoint@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::showpoint
PUBLIC	?showpos@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::showpos
PUBLIC	?left@?$_Iosb@H@std@@2W4_Fmtflags@12@B		; std::_Iosb<int>::left
PUBLIC	?right@?$_Iosb@H@std@@2W4_Fmtflags@12@B		; std::_Iosb<int>::right
PUBLIC	?internal@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::internal
PUBLIC	?dec@?$_Iosb@H@std@@2W4_Fmtflags@12@B		; std::_Iosb<int>::dec
PUBLIC	?oct@?$_Iosb@H@std@@2W4_Fmtflags@12@B		; std::_Iosb<int>::oct
PUBLIC	?hex@?$_Iosb@H@std@@2W4_Fmtflags@12@B		; std::_Iosb<int>::hex
PUBLIC	?scientific@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::scientific
PUBLIC	?fixed@?$_Iosb@H@std@@2W4_Fmtflags@12@B		; std::_Iosb<int>::fixed
PUBLIC	?boolalpha@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::boolalpha
PUBLIC	?_Stdio@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::_Stdio
PUBLIC	?adjustfield@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::adjustfield
PUBLIC	?basefield@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::basefield
PUBLIC	?floatfield@?$_Iosb@H@std@@2W4_Fmtflags@12@B	; std::_Iosb<int>::floatfield
PUBLIC	?goodbit@?$_Iosb@H@std@@2W4_Iostate@12@B	; std::_Iosb<int>::goodbit
PUBLIC	?eofbit@?$_Iosb@H@std@@2W4_Iostate@12@B		; std::_Iosb<int>::eofbit
PUBLIC	?failbit@?$_Iosb@H@std@@2W4_Iostate@12@B	; std::_Iosb<int>::failbit
PUBLIC	?badbit@?$_Iosb@H@std@@2W4_Iostate@12@B		; std::_Iosb<int>::badbit
PUBLIC	?_Hardfail@?$_Iosb@H@std@@2W4_Iostate@12@B	; std::_Iosb<int>::_Hardfail
PUBLIC	?in@?$_Iosb@H@std@@2W4_Openmode@12@B		; std::_Iosb<int>::in
PUBLIC	?out@?$_Iosb@H@std@@2W4_Openmode@12@B		; std::_Iosb<int>::out
PUBLIC	?ate@?$_Iosb@H@std@@2W4_Openmode@12@B		; std::_Iosb<int>::ate
PUBLIC	?app@?$_Iosb@H@std@@2W4_Openmode@12@B		; std::_Iosb<int>::app
PUBLIC	?trunc@?$_Iosb@H@std@@2W4_Openmode@12@B		; std::_Iosb<int>::trunc
PUBLIC	?_Nocreate@?$_Iosb@H@std@@2W4_Openmode@12@B	; std::_Iosb<int>::_Nocreate
PUBLIC	?_Noreplace@?$_Iosb@H@std@@2W4_Openmode@12@B	; std::_Iosb<int>::_Noreplace
PUBLIC	?binary@?$_Iosb@H@std@@2W4_Openmode@12@B	; std::_Iosb<int>::binary
PUBLIC	?beg@?$_Iosb@H@std@@2W4_Seekdir@12@B		; std::_Iosb<int>::beg
PUBLIC	?cur@?$_Iosb@H@std@@2W4_Seekdir@12@B		; std::_Iosb<int>::cur
PUBLIC	?end@?$_Iosb@H@std@@2W4_Seekdir@12@B		; std::_Iosb<int>::end
;	COMDAT ?end@?$_Iosb@H@std@@2W4_Seekdir@12@B
CONST	SEGMENT
?end@?$_Iosb@H@std@@2W4_Seekdir@12@B DD 02H		; std::_Iosb<int>::end
CONST	ENDS
;	COMDAT ?cur@?$_Iosb@H@std@@2W4_Seekdir@12@B
CONST	SEGMENT
?cur@?$_Iosb@H@std@@2W4_Seekdir@12@B DD 01H		; std::_Iosb<int>::cur
CONST	ENDS
;	COMDAT ?beg@?$_Iosb@H@std@@2W4_Seekdir@12@B
CONST	SEGMENT
?beg@?$_Iosb@H@std@@2W4_Seekdir@12@B DD 00H		; std::_Iosb<int>::beg
CONST	ENDS
;	COMDAT ?binary@?$_Iosb@H@std@@2W4_Openmode@12@B
CONST	SEGMENT
?binary@?$_Iosb@H@std@@2W4_Openmode@12@B DD 020H	; std::_Iosb<int>::binary
CONST	ENDS
;	COMDAT ?_Noreplace@?$_Iosb@H@std@@2W4_Openmode@12@B
CONST	SEGMENT
?_Noreplace@?$_Iosb@H@std@@2W4_Openmode@12@B DD 080H	; std::_Iosb<int>::_Noreplace
CONST	ENDS
;	COMDAT ?_Nocreate@?$_Iosb@H@std@@2W4_Openmode@12@B
CONST	SEGMENT
?_Nocreate@?$_Iosb@H@std@@2W4_Openmode@12@B DD 040H	; std::_Iosb<int>::_Nocreate
CONST	ENDS
;	COMDAT ?trunc@?$_Iosb@H@std@@2W4_Openmode@12@B
CONST	SEGMENT
?trunc@?$_Iosb@H@std@@2W4_Openmode@12@B DD 010H		; std::_Iosb<int>::trunc
CONST	ENDS
;	COMDAT ?app@?$_Iosb@H@std@@2W4_Openmode@12@B
CONST	SEGMENT
?app@?$_Iosb@H@std@@2W4_Openmode@12@B DD 08H		; std::_Iosb<int>::app
CONST	ENDS
;	COMDAT ?ate@?$_Iosb@H@std@@2W4_Openmode@12@B
CONST	SEGMENT
?ate@?$_Iosb@H@std@@2W4_Openmode@12@B DD 04H		; std::_Iosb<int>::ate
CONST	ENDS
;	COMDAT ?out@?$_Iosb@H@std@@2W4_Openmode@12@B
CONST	SEGMENT
?out@?$_Iosb@H@std@@2W4_Openmode@12@B DD 02H		; std::_Iosb<int>::out
CONST	ENDS
;	COMDAT ?in@?$_Iosb@H@std@@2W4_Openmode@12@B
CONST	SEGMENT
?in@?$_Iosb@H@std@@2W4_Openmode@12@B DD 01H		; std::_Iosb<int>::in
CONST	ENDS
;	COMDAT ?_Hardfail@?$_Iosb@H@std@@2W4_Iostate@12@B
CONST	SEGMENT
?_Hardfail@?$_Iosb@H@std@@2W4_Iostate@12@B DD 010H	; std::_Iosb<int>::_Hardfail
CONST	ENDS
;	COMDAT ?badbit@?$_Iosb@H@std@@2W4_Iostate@12@B
CONST	SEGMENT
?badbit@?$_Iosb@H@std@@2W4_Iostate@12@B DD 04H		; std::_Iosb<int>::badbit
CONST	ENDS
;	COMDAT ?failbit@?$_Iosb@H@std@@2W4_Iostate@12@B
CONST	SEGMENT
?failbit@?$_Iosb@H@std@@2W4_Iostate@12@B DD 02H		; std::_Iosb<int>::failbit
CONST	ENDS
;	COMDAT ?eofbit@?$_Iosb@H@std@@2W4_Iostate@12@B
CONST	SEGMENT
?eofbit@?$_Iosb@H@std@@2W4_Iostate@12@B DD 01H		; std::_Iosb<int>::eofbit
CONST	ENDS
;	COMDAT ?goodbit@?$_Iosb@H@std@@2W4_Iostate@12@B
CONST	SEGMENT
?goodbit@?$_Iosb@H@std@@2W4_Iostate@12@B DD 00H		; std::_Iosb<int>::goodbit
CONST	ENDS
;	COMDAT ?floatfield@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?floatfield@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 03000H	; std::_Iosb<int>::floatfield
CONST	ENDS
;	COMDAT ?basefield@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?basefield@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 0e00H	; std::_Iosb<int>::basefield
CONST	ENDS
;	COMDAT ?adjustfield@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?adjustfield@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 01c0H	; std::_Iosb<int>::adjustfield
CONST	ENDS
;	COMDAT ?_Stdio@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?_Stdio@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 08000H	; std::_Iosb<int>::_Stdio
CONST	ENDS
;	COMDAT ?boolalpha@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?boolalpha@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 04000H	; std::_Iosb<int>::boolalpha
CONST	ENDS
;	COMDAT ?fixed@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?fixed@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 02000H	; std::_Iosb<int>::fixed
CONST	ENDS
;	COMDAT ?scientific@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?scientific@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 01000H	; std::_Iosb<int>::scientific
CONST	ENDS
;	COMDAT ?hex@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?hex@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 0800H		; std::_Iosb<int>::hex
CONST	ENDS
;	COMDAT ?oct@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?oct@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 0400H		; std::_Iosb<int>::oct
CONST	ENDS
;	COMDAT ?dec@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?dec@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 0200H		; std::_Iosb<int>::dec
CONST	ENDS
;	COMDAT ?internal@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?internal@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 0100H	; std::_Iosb<int>::internal
CONST	ENDS
;	COMDAT ?right@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?right@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 080H		; std::_Iosb<int>::right
CONST	ENDS
;	COMDAT ?left@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?left@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 040H		; std::_Iosb<int>::left
CONST	ENDS
;	COMDAT ?showpos@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?showpos@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 020H	; std::_Iosb<int>::showpos
CONST	ENDS
;	COMDAT ?showpoint@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?showpoint@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 010H	; std::_Iosb<int>::showpoint
CONST	ENDS
;	COMDAT ?showbase@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?showbase@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 08H	; std::_Iosb<int>::showbase
CONST	ENDS
;	COMDAT ?uppercase@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?uppercase@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 04H	; std::_Iosb<int>::uppercase
CONST	ENDS
;	COMDAT ?unitbuf@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?unitbuf@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 02H	; std::_Iosb<int>::unitbuf
CONST	ENDS
;	COMDAT ?skipws@?$_Iosb@H@std@@2W4_Fmtflags@12@B
CONST	SEGMENT
?skipws@?$_Iosb@H@std@@2W4_Fmtflags@12@B DD 01H		; std::_Iosb<int>::skipws
CONST	ENDS
;	COMDAT ?table_size@?$ctype@D@std@@2IB
CONST	SEGMENT
?table_size@?$ctype@D@std@@2IB DD 0100H			; std::ctype<char>::table_size
CONST	ENDS
;	COMDAT ?none@?$_Locbase@H@std@@2HB
CONST	SEGMENT
?none@?$_Locbase@H@std@@2HB DD 00H			; std::_Locbase<int>::none
CONST	ENDS
;	COMDAT ?all@?$_Locbase@H@std@@2HB
CONST	SEGMENT
?all@?$_Locbase@H@std@@2HB DD 03fH			; std::_Locbase<int>::all
CONST	ENDS
;	COMDAT ?messages@?$_Locbase@H@std@@2HB
CONST	SEGMENT
?messages@?$_Locbase@H@std@@2HB DD 020H			; std::_Locbase<int>::messages
CONST	ENDS
;	COMDAT ?time@?$_Locbase@H@std@@2HB
CONST	SEGMENT
?time@?$_Locbase@H@std@@2HB DD 010H			; std::_Locbase<int>::time
CONST	ENDS
;	COMDAT ?numeric@?$_Locbase@H@std@@2HB
CONST	SEGMENT
?numeric@?$_Locbase@H@std@@2HB DD 08H			; std::_Locbase<int>::numeric
CONST	ENDS
;	COMDAT ?monetary@?$_Locbase@H@std@@2HB
CONST	SEGMENT
?monetary@?$_Locbase@H@std@@2HB DD 04H			; std::_Locbase<int>::monetary
CONST	ENDS
;	COMDAT ?ctype@?$_Locbase@H@std@@2HB
CONST	SEGMENT
?ctype@?$_Locbase@H@std@@2HB DD 02H			; std::_Locbase<int>::ctype
CONST	ENDS
;	COMDAT ?collate@?$_Locbase@H@std@@2HB
CONST	SEGMENT
?collate@?$_Locbase@H@std@@2HB DD 01H			; std::_Locbase<int>::collate
CONST	ENDS
_DATA	SEGMENT
__bad_alloc_Message DD FLAT:??_C@_0P@GHFPNOJB@bad?5allocation?$AA@
_DATA	ENDS
;	COMDAT ??_C@_0P@GHFPNOJB@bad?5allocation?$AA@
CONST	SEGMENT
??_C@_0P@GHFPNOJB@bad?5allocation?$AA@ DB 'bad allocation', 00H ; `string'
CONST	ENDS
PUBLIC	??_7bad_alloc@std@@6B@				; std::bad_alloc::`vftable'
PUBLIC	??0bad_alloc@std@@QAE@PBD@Z			; std::bad_alloc::bad_alloc
PUBLIC	??_R4bad_alloc@std@@6B@				; std::bad_alloc::`RTTI Complete Object Locator'
PUBLIC	??_R0?AVbad_alloc@std@@@8			; std::bad_alloc `RTTI Type Descriptor'
PUBLIC	??_R3bad_alloc@std@@8				; std::bad_alloc::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2bad_alloc@std@@8				; std::bad_alloc::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@bad_alloc@std@@8			; std::bad_alloc::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R1A@?0A@EA@exception@std@@8			; std::exception::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVexception@std@@@8			; std::exception `RTTI Type Descriptor'
PUBLIC	??_R3exception@std@@8				; std::exception::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2exception@std@@8				; std::exception::`RTTI Base Class Array'
EXTRN	??0exception@std@@QAE@ABQBD@Z:PROC		; std::exception::exception
EXTRN	??_7type_info@@6B@:QWORD			; type_info::`vftable'
EXTRN	??_Ebad_alloc@std@@UAEPAXI@Z:PROC		; std::bad_alloc::`vector deleting destructor'
EXTRN	?what@exception@std@@UBEPBDXZ:PROC		; std::exception::what
;	COMDAT ??_R2exception@std@@8
; File c:\program files\microsoft visual studio 8\vc\include\exception
rdata$r	SEGMENT
??_R2exception@std@@8 DD FLAT:??_R1A@?0A@EA@exception@std@@8 ; std::exception::`RTTI Base Class Array'
rdata$r	ENDS
;	COMDAT ??_R3exception@std@@8
rdata$r	SEGMENT
??_R3exception@std@@8 DD 00H				; std::exception::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	01H
	DD	FLAT:??_R2exception@std@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVexception@std@@@8
_DATA	SEGMENT
??_R0?AVexception@std@@@8 DD FLAT:??_7type_info@@6B@	; std::exception `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVexception@std@@', 00H
_DATA	ENDS
;	COMDAT ??_R1A@?0A@EA@exception@std@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@exception@std@@8 DD FLAT:??_R0?AVexception@std@@@8 ; std::exception::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	00H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3exception@std@@8
rdata$r	ENDS
;	COMDAT ??_R1A@?0A@EA@bad_alloc@std@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@bad_alloc@std@@8 DD FLAT:??_R0?AVbad_alloc@std@@@8 ; std::bad_alloc::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	01H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3bad_alloc@std@@8
rdata$r	ENDS
;	COMDAT ??_R2bad_alloc@std@@8
rdata$r	SEGMENT
??_R2bad_alloc@std@@8 DD FLAT:??_R1A@?0A@EA@bad_alloc@std@@8 ; std::bad_alloc::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@exception@std@@8
rdata$r	ENDS
;	COMDAT ??_R3bad_alloc@std@@8
rdata$r	SEGMENT
??_R3bad_alloc@std@@8 DD 00H				; std::bad_alloc::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	02H
	DD	FLAT:??_R2bad_alloc@std@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVbad_alloc@std@@@8
_DATA	SEGMENT
??_R0?AVbad_alloc@std@@@8 DD FLAT:??_7type_info@@6B@	; std::bad_alloc `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVbad_alloc@std@@', 00H
_DATA	ENDS
;	COMDAT ??_R4bad_alloc@std@@6B@
rdata$r	SEGMENT
??_R4bad_alloc@std@@6B@ DD 00H				; std::bad_alloc::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AVbad_alloc@std@@@8
	DD	FLAT:??_R3bad_alloc@std@@8
rdata$r	ENDS
;	COMDAT ??_7bad_alloc@std@@6B@
CONST	SEGMENT
??_7bad_alloc@std@@6B@ DD FLAT:??_R4bad_alloc@std@@6B@	; std::bad_alloc::`vftable'
	DD	FLAT:??_Ebad_alloc@std@@UAEPAXI@Z
	DD	FLAT:?what@exception@std@@UBEPBDXZ
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ??0bad_alloc@std@@QAE@PBD@Z
_TEXT	SEGMENT
__Message$ = 8						; size = 4
??0bad_alloc@std@@QAE@PBD@Z PROC			; std::bad_alloc::bad_alloc, COMDAT
; _this$ = ecx

; 371  : 		{	// construct from message string

	push	esi
	lea	eax, DWORD PTR __Message$[esp]
	push	eax
	mov	esi, ecx
	call	??0exception@std@@QAE@ABQBD@Z		; std::exception::exception
	mov	DWORD PTR [esi], OFFSET ??_7bad_alloc@std@@6B@

; 372  : 		}

	mov	eax, esi
	pop	esi
	ret	4
??0bad_alloc@std@@QAE@PBD@Z ENDP			; std::bad_alloc::bad_alloc
_TEXT	ENDS
PUBLIC	??1bad_alloc@std@@UAE@XZ			; std::bad_alloc::~bad_alloc
EXTRN	??1exception@std@@UAE@XZ:PROC			; std::exception::~exception
; Function compile flags: /Ogtpy
;	COMDAT ??1bad_alloc@std@@UAE@XZ
_TEXT	SEGMENT
??1bad_alloc@std@@UAE@XZ PROC				; std::bad_alloc::~bad_alloc, COMDAT
; _this$ = ecx

; 380  : 		{	// destroy the object

	mov	DWORD PTR [ecx], OFFSET ??_7bad_alloc@std@@6B@

; 381  : 		}

	jmp	??1exception@std@@UAE@XZ		; std::exception::~exception
??1bad_alloc@std@@UAE@XZ ENDP				; std::bad_alloc::~bad_alloc
_TEXT	ENDS
EXTRN	??3@YAXPAX@Z:PROC				; operator delete
; Function compile flags: /Ogtpy
;	COMDAT ??_Gbad_alloc@std@@UAEPAXI@Z
_TEXT	SEGMENT
___flags$ = 8						; size = 4
??_Gbad_alloc@std@@UAEPAXI@Z PROC			; std::bad_alloc::`scalar deleting destructor', COMDAT
; _this$ = ecx
	push	esi
	mov	esi, ecx
	mov	DWORD PTR [esi], OFFSET ??_7bad_alloc@std@@6B@
	call	??1exception@std@@UAE@XZ		; std::exception::~exception
	test	BYTE PTR ___flags$[esp], 1
	je	SHORT $LN6@scalar
	push	esi
	call	??3@YAXPAX@Z				; operator delete
	add	esp, 4
$LN6@scalar:
	mov	eax, esi
	pop	esi
	ret	4
??_Gbad_alloc@std@@UAEPAXI@Z ENDP			; std::bad_alloc::`scalar deleting destructor'
_TEXT	ENDS
PUBLIC	?GetID@GameObjObserverClass@@QAEHXZ		; GameObjObserverClass::GetID
; Function compile flags: /Ogtpy
; File d:\source code\stgm\scripts.h
;	COMDAT ?GetID@GameObjObserverClass@@QAEHXZ
_TEXT	SEGMENT
?GetID@GameObjObserverClass@@QAEHXZ PROC		; GameObjObserverClass::GetID, COMDAT
; _this$ = ecx

; 126  : 		return ObserverID;

	mov	eax, DWORD PTR [ecx+4]

; 127  : 	}

	ret	0
?GetID@GameObjObserverClass@@QAEHXZ ENDP		; GameObjObserverClass::GetID
_TEXT	ENDS
PUBLIC	__real@40000000
PUBLIC	__real@41a00000
PUBLIC	__real@447a0000
PUBLIC	__real@3f800000
PUBLIC	__real@00000000
PUBLIC	??0ActionParamsStruct@@QAE@XZ			; ActionParamsStruct::ActionParamsStruct
EXTRN	??0Vector3@@QAE@MMM@Z:PROC			; Vector3::Vector3
EXTRN	__fltused:DWORD
;	COMDAT __real@40000000
CONST	SEGMENT
__real@40000000 DD 040000000r			; 2
CONST	ENDS
;	COMDAT __real@41a00000
CONST	SEGMENT
__real@41a00000 DD 041a00000r			; 20
CONST	ENDS
;	COMDAT __real@447a0000
CONST	SEGMENT
__real@447a0000 DD 0447a0000r			; 1000
CONST	ENDS
;	COMDAT __real@3f800000
CONST	SEGMENT
__real@3f800000 DD 03f800000r			; 1
CONST	ENDS
;	COMDAT __real@00000000
CONST	SEGMENT
__real@00000000 DD 000000000r			; 0
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ??0ActionParamsStruct@@QAE@XZ
_TEXT	SEGMENT
??0ActionParamsStruct@@QAE@XZ PROC			; ActionParamsStruct::ActionParamsStruct, COMDAT
; _this$ = ecx

; 236  : 	ActionParamsStruct()

	fldz
	push	ebx
	push	ebp
	push	esi
	push	edi
	mov	esi, ecx
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	lea	edi, DWORD PTR [esi+12]
	fst	DWORD PTR [esp+4]
	mov	ecx, edi
	fstp	DWORD PTR [esp]
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3
	fldz
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	lea	ebx, DWORD PTR [esi+32]
	fst	DWORD PTR [esp+4]
	mov	ecx, ebx
	fstp	DWORD PTR [esp]
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3
	fldz
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	lea	ebp, DWORD PTR [esi+48]
	fst	DWORD PTR [esp+4]
	mov	ecx, ebp
	fstp	DWORD PTR [esp]
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3
	fldz
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	fst	DWORD PTR [esp+4]
	lea	ecx, DWORD PTR [esi+96]
	fstp	DWORD PTR [esp]
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3
	fldz
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	fst	DWORD PTR [esp+4]
	lea	ecx, DWORD PTR [esi+116]
	fstp	DWORD PTR [esp]
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3
	fldz
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	fst	DWORD PTR [esp+4]
	lea	ecx, DWORD PTR [esi+172]
	fstp	DWORD PTR [esp]
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3
	fldz
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	fst	DWORD PTR [esp+4]
	lea	ecx, DWORD PTR [esi+184]
	fstp	DWORD PTR [esp]
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3

; 237  : 	{
; 238  : 		Action_Priority = 0;
; 239  : 		Action_ID = 0;
; 240  : 		Observer_ID = 0;
; 241  : 		varB8.X = 0;

	fldz
	fst	DWORD PTR [edi]
	xor	eax, eax

; 242  : 		varB8.Y = 0;

	fst	DWORD PTR [esi+16]
	mov	DWORD PTR [esi], eax

; 243  : 		varB8.Z = 0;

	fst	DWORD PTR [esi+20]
	mov	DWORD PTR [esi+4], eax

; 244  : 		varAC = 0;
; 245  : 		varA8 = 0;

	fst	DWORD PTR [esi+28]
	mov	DWORD PTR [esi+8], eax

; 246  : 		Move_Destination.X = 0;

	fst	DWORD PTR [ebx]
	mov	DWORD PTR [esi+24], eax

; 247  : 		Move_Destination.Y = 0;

	fst	DWORD PTR [esi+36]

; 248  : 		Move_Destination.Z = 0;
; 249  : 		Move_Target = 0;

	mov	DWORD PTR [esi+44], eax
	fst	DWORD PTR [esi+40]

; 250  : 		var94.X = 0;
; 251  : 		var94.Y = 0;
; 252  : 		var94.Z = 0;
; 253  : 		Move_Speed = 1.0;
; 254  : 		Move_Arrive_Distance = 1000;
; 255  : 		Move_Backwards = false;

	mov	BYTE PTR [esi+68], al
	fst	DWORD PTR [ebp]

; 256  : 		Move_Following = false;

	mov	BYTE PTR [esi+69], al
	fst	DWORD PTR [esi+52]

; 257  : 		Move_Crouch = false;

	mov	BYTE PTR [esi+70], al
	fst	DWORD PTR [esi+56]
	fld1
	fstp	DWORD PTR [esi+60]
	fld	DWORD PTR __real@447a0000
	fstp	DWORD PTR [esi+64]

; 258  : 		Move_Pathfind = true;
; 259  : 		var7C = false;
; 260  : 		Attack_Range = 20;

	fld	DWORD PTR __real@41a00000
	mov	cl, 1
	fstp	DWORD PTR [esi+76]
	pop	edi
	mov	BYTE PTR [esi+72], al

; 261  : 		Attack_Deviation = 0;

	fst	DWORD PTR [esi+80]

; 262  : 		var70 = false;

	mov	BYTE PTR [esi+84], al

; 263  : 		Attack_Target = 0;
; 264  : 		Attack_Primary = true;
; 265  : 		Attack_Crouched = false;
; 266  : 		Attack_Location.X = 0;

	fst	DWORD PTR [esi+96]
	mov	DWORD PTR [esi+88], eax

; 267  : 		Attack_Location.Y = 0;

	fst	DWORD PTR [esi+100]
	mov	BYTE PTR [esi+93], al

; 268  : 		Attack_Location.Z = 0;

	fst	DWORD PTR [esi+104]

; 269  : 		Hold_Action = true;
; 270  : 		var57 = true;
; 271  : 		var56 = false;

	mov	BYTE PTR [esi+110], al

; 272  : 		var55 = true;
; 273  : 		var54 = false;
; 274  : 		var53 = false;
; 275  : 		Face_Location.X = 0;

	fst	DWORD PTR [esi+116]
	mov	BYTE PTR [esi+112], al

; 276  : 		Face_Location.Y = 0;

	fst	DWORD PTR [esi+120]
	mov	BYTE PTR [esi+113], al

; 277  : 		Face_Location.Z = 0;

	fst	DWORD PTR [esi+124]

; 278  : 		Face_Time = 2.0;
; 279  : 		var40 = false;

	mov	BYTE PTR [esi+132], al
	fld	DWORD PTR __real@40000000

; 280  : 		Move_Waypath_ID = 0;

	mov	DWORD PTR [esi+136], eax
	fstp	DWORD PTR [esi+128]

; 281  : 		Move_Waypath_Start_ID = 0;

	mov	DWORD PTR [esi+140], eax

; 282  : 		Move_Waypath_End_ID = 0;

	mov	DWORD PTR [esi+144], eax

; 283  : 		Move_Waypath_Splined = false;
; 284  : 		Animation = 0;
; 285  : 		Anim_Loop = false;
; 286  : 		var24 = 0;
; 287  : 		var20 = 0;
; 288  : 		Soldier_AI_State = -1;
; 289  : 		Dock_Location.X = 0;

	fst	DWORD PTR [esi+172]
	mov	BYTE PTR [esi+148], al

; 290  : 		Dock_Location.Y = 0;

	fst	DWORD PTR [esi+176]
	mov	DWORD PTR [esi+152], eax

; 291  : 		Dock_Location.Z = 0;

	fst	DWORD PTR [esi+180]
	mov	BYTE PTR [esi+156], al

; 292  : 		Dock_Entrance.X = 0;

	fst	DWORD PTR [esi+184]
	mov	DWORD PTR [esi+160], eax

; 293  : 		Dock_Entrance.Y = 0;

	fst	DWORD PTR [esi+188]
	mov	DWORD PTR [esi+164], eax

; 294  : 		Dock_Entrance.Z = 0;

	fstp	DWORD PTR [esi+192]
	mov	BYTE PTR [esi+71], cl
	mov	BYTE PTR [esi+92], cl
	mov	BYTE PTR [esi+108], cl
	mov	BYTE PTR [esi+109], cl
	mov	BYTE PTR [esi+111], cl
	mov	DWORD PTR [esi+168], -1

; 295  : 	}

	mov	eax, esi
	pop	esi
	pop	ebp
	pop	ebx
	ret	0
??0ActionParamsStruct@@QAE@XZ ENDP			; ActionParamsStruct::ActionParamsStruct
_TEXT	ENDS
PUBLIC	?Set_Basic@ActionParamsStruct@@QAEXPAVScriptClass@@KK@Z ; ActionParamsStruct::Set_Basic
; Function compile flags: /Ogtpy
;	COMDAT ?Set_Basic@ActionParamsStruct@@QAEXPAVScriptClass@@KK@Z
_TEXT	SEGMENT
_s$ = 8							; size = 4
_priority$ = 12						; size = 4
_ID$ = 16						; size = 4
?Set_Basic@ActionParamsStruct@@QAEXPAVScriptClass@@KK@Z PROC ; ActionParamsStruct::Set_Basic, COMDAT
; _this$ = ecx

; 298  : 		ID = s->GetID();

	mov	eax, DWORD PTR _s$[esp-4]
	mov	eax, DWORD PTR [eax+4]

; 299  : 		Action_Priority = priority;

	mov	edx, DWORD PTR _priority$[esp-4]
	mov	DWORD PTR [ecx], edx

; 300  : 		Action_ID = ID;

	mov	DWORD PTR [ecx+4], eax

; 301  : 		Soldier_AI_State = -1;

	mov	DWORD PTR [ecx+168], -1

; 302  : 	}

	ret	12					; 0000000cH
?Set_Basic@ActionParamsStruct@@QAEXPAVScriptClass@@KK@Z ENDP ; ActionParamsStruct::Set_Basic
_TEXT	ENDS
PUBLIC	?Set_Attack_Hold@ActionParamsStruct@@QAEXPAEMM_N1@Z ; ActionParamsStruct::Set_Attack_Hold
; Function compile flags: /Ogtpy
;	COMDAT ?Set_Attack_Hold@ActionParamsStruct@@QAEXPAEMM_N1@Z
_TEXT	SEGMENT
_Target$ = 8						; size = 4
_Range$ = 12						; size = 4
_Deviation$ = 16					; size = 4
_Primary$ = 20						; size = 1
_Hold$ = 24						; size = 1
?Set_Attack_Hold@ActionParamsStruct@@QAEXPAEMM_N1@Z PROC ; ActionParamsStruct::Set_Attack_Hold, COMDAT
; _this$ = ecx

; 312  : 		Attack_Target = Target;

	mov	eax, DWORD PTR _Target$[esp-4]

; 313  : 		Attack_Range = Range;

	fld	DWORD PTR _Range$[esp-4]

; 314  : 		Attack_Deviation = Deviation;
; 315  : 		Attack_Primary = Primary;

	mov	dl, BYTE PTR _Primary$[esp-4]
	fstp	DWORD PTR [ecx+76]
	fld	DWORD PTR _Deviation$[esp-4]
	mov	DWORD PTR [ecx+88], eax

; 316  : 		Hold_Action = Hold;

	mov	al, BYTE PTR _Hold$[esp-4]
	fstp	DWORD PTR [ecx+80]
	mov	BYTE PTR [ecx+92], dl
	mov	BYTE PTR [ecx+108], al

; 317  : 	}

	ret	20					; 00000014H
?Set_Attack_Hold@ActionParamsStruct@@QAEXPAEMM_N1@Z ENDP ; ActionParamsStruct::Set_Attack_Hold
_TEXT	ENDS
PUBLIC	?Set_Face_Location@ActionParamsStruct@@QAEXABUVector3@@M@Z ; ActionParamsStruct::Set_Face_Location
; Function compile flags: /Ogtpy
;	COMDAT ?Set_Face_Location@ActionParamsStruct@@QAEXABUVector3@@M@Z
_TEXT	SEGMENT
_facelocation$ = 8					; size = 4
_Time$ = 12						; size = 4
?Set_Face_Location@ActionParamsStruct@@QAEXABUVector3@@M@Z PROC ; ActionParamsStruct::Set_Face_Location, COMDAT
; _this$ = ecx

; 334  : 		Face_Location.X = facelocation.X;

	mov	eax, DWORD PTR _facelocation$[esp-4]
	fld	DWORD PTR [eax]
	fstp	DWORD PTR [ecx+116]

; 335  : 		Face_Location.Y = facelocation.Y;

	fld	DWORD PTR [eax+4]
	fstp	DWORD PTR [ecx+120]

; 336  : 		Face_Location.Z = facelocation.Z;

	fld	DWORD PTR [eax+8]
	fstp	DWORD PTR [ecx+124]

; 337  : 		Face_Time = Time;

	fld	DWORD PTR _Time$[esp-4]
	fstp	DWORD PTR [ecx+128]

; 338  : 	}

	ret	8
?Set_Face_Location@ActionParamsStruct@@QAEXABUVector3@@M@Z ENDP ; ActionParamsStruct::Set_Face_Location
_TEXT	ENDS
PUBLIC	?Set_Goto_Location@ActionParamsStruct@@QAEXABUVector3@@MM_N@Z ; ActionParamsStruct::Set_Goto_Location
; Function compile flags: /Ogtpy
;	COMDAT ?Set_Goto_Location@ActionParamsStruct@@QAEXABUVector3@@MM_N@Z
_TEXT	SEGMENT
_position$ = 8						; size = 4
_speed$ = 12						; size = 4
_arrivedistance$ = 16					; size = 4
_crouch$ = 20						; size = 1
?Set_Goto_Location@ActionParamsStruct@@QAEXABUVector3@@MM_N@Z PROC ; ActionParamsStruct::Set_Goto_Location, COMDAT
; _this$ = ecx

; 350  : 		Move_Destination.X = position.X;

	mov	eax, DWORD PTR _position$[esp-4]
	fld	DWORD PTR [eax]
	fstp	DWORD PTR [ecx+32]

; 351  : 		Move_Destination.Y = position.Y;

	fld	DWORD PTR [eax+4]
	fstp	DWORD PTR [ecx+36]

; 352  : 		Move_Destination.Z = position.Z;

	fld	DWORD PTR [eax+8]

; 353  : 		Move_Speed = speed;
; 354  : 		Move_Arrive_Distance = arrivedistance;
; 355  : 		Move_Crouch = crouch;

	mov	al, BYTE PTR _crouch$[esp-4]
	fstp	DWORD PTR [ecx+40]
	mov	BYTE PTR [ecx+70], al
	fld	DWORD PTR _speed$[esp-4]
	fstp	DWORD PTR [ecx+60]
	fld	DWORD PTR _arrivedistance$[esp-4]
	fstp	DWORD PTR [ecx+64]

; 356  : 	}

	ret	16					; 00000010H
?Set_Goto_Location@ActionParamsStruct@@QAEXABUVector3@@MM_N@Z ENDP ; ActionParamsStruct::Set_Goto_Location
_TEXT	ENDS
PUBLIC	??_C@_03LLNBGIF@Min?$AA@			; `string'
PUBLIC	??_C@_03BJDGPCOK@Max?$AA@			; `string'
PUBLIC	?Created@Neo_CreateObject_RandomTimer@@EAEXPAE@Z ; Neo_CreateObject_RandomTimer::Created
EXTRN	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z:PROC ; ScriptImpClass::Get_Float_Parameter
EXTRN	?Commands@@3PAUScriptCommands@@A:DWORD		; Commands
;	COMDAT ??_C@_03LLNBGIF@Min?$AA@
; File d:\source code\stgm\neo.cpp
CONST	SEGMENT
??_C@_03LLNBGIF@Min?$AA@ DB 'Min', 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_03BJDGPCOK@Max?$AA@
CONST	SEGMENT
??_C@_03BJDGPCOK@Max?$AA@ DB 'Max', 00H			; `string'
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ?Created@Neo_CreateObject_RandomTimer@@EAEXPAE@Z
_TEXT	SEGMENT
_obj$ = 8						; size = 4
?Created@Neo_CreateObject_RandomTimer@@EAEXPAE@Z PROC	; Neo_CreateObject_RandomTimer::Created, COMDAT
; _this$ = ecx

; 22   : {

	push	esi
	push	edi

; 23   : 	//Start Counting
; 24   : 	float timer;
; 25   : 	timer = Commands->Get_Random(Get_Float_Parameter("Min"),Get_Float_Parameter("Max"));

	mov	edi, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	OFFSET ??_C@_03BJDGPCOK@Max?$AA@
	mov	esi, ecx
	add	edi, 148				; 00000094H
	call	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z ; ScriptImpClass::Get_Float_Parameter
	push	ecx
	fstp	DWORD PTR [esp]
	push	OFFSET ??_C@_03LLNBGIF@Min?$AA@
	mov	ecx, esi
	call	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z ; ScriptImpClass::Get_Float_Parameter
	mov	eax, DWORD PTR [edi]
	push	ecx
	fstp	DWORD PTR [esp]
	call	eax

; 26   : 	Commands->Start_Timer(obj,this,timer,0);

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	eax, DWORD PTR [edx+128]
	add	esp, 8
	push	0
	push	ecx
	mov	ecx, DWORD PTR _obj$[esp+12]
	fstp	DWORD PTR [esp]
	push	esi
	push	ecx
	call	eax
	add	esp, 16					; 00000010H
	pop	edi
	pop	esi

; 27   : }

	ret	4
?Created@Neo_CreateObject_RandomTimer@@EAEXPAE@Z ENDP	; Neo_CreateObject_RandomTimer::Created
_TEXT	ENDS
PUBLIC	??_C@_06HJIMLMON@Repeat?$AA@			; `string'
PUBLIC	??_C@_0M@KBNHOJJA@Preset_Name?$AA@		; `string'
PUBLIC	?Timer_Expired@Neo_CreateObject_RandomTimer@@EAEXPAEH@Z ; Neo_CreateObject_RandomTimer::Timer_Expired
EXTRN	?Get_Int_Parameter@ScriptImpClass@@QAEHPBD@Z:PROC ; ScriptImpClass::Get_Int_Parameter
EXTRN	?Get_Parameter@ScriptImpClass@@QAEPBDPBD@Z:PROC	; ScriptImpClass::Get_Parameter
;	COMDAT ??_C@_06HJIMLMON@Repeat?$AA@
CONST	SEGMENT
??_C@_06HJIMLMON@Repeat?$AA@ DB 'Repeat', 00H		; `string'
CONST	ENDS
;	COMDAT ??_C@_0M@KBNHOJJA@Preset_Name?$AA@
CONST	SEGMENT
??_C@_0M@KBNHOJJA@Preset_Name?$AA@ DB 'Preset_Name', 00H ; `string'
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ?Timer_Expired@Neo_CreateObject_RandomTimer@@EAEXPAEH@Z
_TEXT	SEGMENT
$T60881 = -12						; size = 12
_obj$ = 8						; size = 4
_number$ = 12						; size = 4
?Timer_Expired@Neo_CreateObject_RandomTimer@@EAEXPAEH@Z PROC ; Neo_CreateObject_RandomTimer::Timer_Expired, COMDAT
; _this$ = ecx

; 31   : 	//Time's up,create the object
; 32   : 
; 33   : 	GameObject *newobj;
; 34   : 
; 35   : 	newobj = Commands->Create_Object(Get_Parameter("Preset_Name"),Commands->Get_Position(obj));

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [eax+64]
	sub	esp, 12					; 0000000cH
	push	ebx
	push	ebp
	push	esi
	push	edi
	mov	edi, DWORD PTR _obj$[esp+24]
	mov	esi, ecx
	lea	ecx, DWORD PTR $T60881[esp+28]
	push	edi
	push	ecx
	lea	ebx, DWORD PTR [eax+100]
	call	edx
	add	esp, 8
	push	eax
	push	OFFSET ??_C@_0M@KBNHOJJA@Preset_Name?$AA@
	mov	ecx, esi
	call	?Get_Parameter@ScriptImpClass@@QAEPBDPBD@Z ; ScriptImpClass::Get_Parameter
	push	eax
	mov	eax, DWORD PTR [ebx]
	call	eax
	mov	ebx, eax

; 36   : 	Commands->Set_Facing(newobj,Commands->Get_Facing(obj));

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	ecx, DWORD PTR [eax+72]
	push	edi
	lea	ebp, DWORD PTR [eax+76]
	call	ecx
	fstp	DWORD PTR [esp+8]
	mov	edx, DWORD PTR [ebp]
	add	esp, 8
	push	ebx
	call	edx
	add	esp, 8

; 37   : 
; 38   : 	int repeat = Get_Int_Parameter("Repeat");

	push	OFFSET ??_C@_06HJIMLMON@Repeat?$AA@
	mov	ecx, esi
	call	?Get_Int_Parameter@ScriptImpClass@@QAEHPBD@Z ; ScriptImpClass::Get_Int_Parameter

; 39   : 
; 40   : 	if (repeat == 1) //Check if we should start again

	cmp	eax, 1
	jne	SHORT $LN1@Timer_Expi

; 41   : 	{
; 42   : 		//Start Counting again
; 43   : 		float timer;
; 44   : 		timer = Commands->Get_Random(Get_Float_Parameter("Min"),Get_Float_Parameter("Max"));

	mov	ebx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	OFFSET ??_C@_03BJDGPCOK@Max?$AA@
	mov	ecx, esi
	add	ebx, 148				; 00000094H
	call	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z ; ScriptImpClass::Get_Float_Parameter
	push	ecx
	fstp	DWORD PTR [esp]
	push	OFFSET ??_C@_03LLNBGIF@Min?$AA@
	mov	ecx, esi
	call	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z ; ScriptImpClass::Get_Float_Parameter
	mov	eax, DWORD PTR [ebx]
	push	ecx
	fstp	DWORD PTR [esp]
	call	eax
	add	esp, 8

; 45   : 		Commands->Start_Timer(obj,this,timer,0);

	push	0
	push	ecx
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	fstp	DWORD PTR [esp]
	mov	edx, DWORD PTR [ecx+128]
	push	esi
	push	edi
	call	edx
	add	esp, 16					; 00000010H
$LN1@Timer_Expi:
	pop	edi
	pop	esi
	pop	ebp
	pop	ebx

; 46   : 	}
; 47   : }

	add	esp, 12					; 0000000cH
	ret	8
?Timer_Expired@Neo_CreateObject_RandomTimer@@EAEXPAEH@Z ENDP ; Neo_CreateObject_RandomTimer::Timer_Expired
_TEXT	ENDS
PUBLIC	?Created@Neo_Vehicle_AI@@EAEXPAE@Z		; Neo_Vehicle_AI::Created
; Function compile flags: /Ogtpy
;	COMDAT ?Created@Neo_Vehicle_AI@@EAEXPAE@Z
_TEXT	SEGMENT
$T60885 = -12						; size = 12
_obj$ = 8						; size = 4
?Created@Neo_Vehicle_AI@@EAEXPAE@Z PROC			; Neo_Vehicle_AI::Created, COMDAT
; _this$ = ecx

; 53   : 	//Variable Initializing
; 54   : 	targetID = 0;
; 55   : 	position.X = 0;

	fldz
	sub	esp, 12					; 0000000cH
	push	ebx
	push	esi
	mov	esi, ecx
	fst	DWORD PTR [esi+32]
	xor	ebx, ebx

; 56   : 	position.Y = 0;

	fst	DWORD PTR [esi+36]
	push	edi

; 57   : 	position.Z = 0;
; 58   : 	rampaging = false;
; 59   : 	guarding = false;
; 60   : 	moving = false;
; 61   : 	hunting = false;
; 62   : //	move_priority = 90;
; 63   : //	attack_priority = 100;
; 64   : 	face_priority = 1;
; 65   : 	current_priority = 10;
; 66   : 	guard_timer = 2;
; 67   : 	attack_timer = 2;
; 68   : 	mypos = Commands->Get_Position(obj);

	mov	edi, DWORD PTR _obj$[esp+20]
	fstp	DWORD PTR [esi+40]
	fld	DWORD PTR __real@40000000
	mov	DWORD PTR [esi+28], ebx
	fst	DWORD PTR [esi+56]
	mov	BYTE PTR [esi+44], bl
	fstp	DWORD PTR [esi+60]
	mov	BYTE PTR [esi+45], bl
	mov	BYTE PTR [esi+46], bl
	mov	BYTE PTR [esi+47], bl
	mov	DWORD PTR [esi+48], 1
	mov	DWORD PTR [esi+52], 10			; 0000000aH
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+64]
	lea	eax, DWORD PTR $T60885[esp+24]
	push	edi
	push	eax
	call	edx
	mov	ecx, DWORD PTR [eax]
	mov	DWORD PTR [esi+64], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR [esi+68], edx
	mov	eax, DWORD PTR [eax+8]
	mov	DWORD PTR [esi+72], eax

; 69   : 	move_count = 0;

	mov	DWORD PTR [esi+76], ebx

; 70   : 
; 71   : 	//Standard AI Startup Junk
; 72   : 	Commands->Enable_Enemy_Seen(obj,true);

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+300]
	push	1
	push	edi
	call	edx

; 73   : 	Commands->Enable_Vehicle_Transitions(obj,false);

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	ecx, DWORD PTR [eax+728]
	push	ebx
	push	edi
	call	ecx

; 74   : 	Commands->Enable_Hibernation(obj,false);

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	eax, DWORD PTR [edx+568]
	push	ebx
	push	edi
	call	eax

; 75   : 	Commands->Innate_Enable(obj);

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+440]
	push	edi
	call	edx
	add	esp, 36					; 00000024H
	pop	edi
	pop	esi
	pop	ebx

; 76   : }

	add	esp, 12					; 0000000cH
	ret	4
?Created@Neo_Vehicle_AI@@EAEXPAE@Z ENDP			; Neo_Vehicle_AI::Created
_TEXT	ENDS
PUBLIC	?Action_Complete@Neo_Vehicle_AI@@EAEXPAEHW4ActionCompleteReason@@@Z ; Neo_Vehicle_AI::Action_Complete
; Function compile flags: /Ogtpy
;	COMDAT ?Action_Complete@Neo_Vehicle_AI@@EAEXPAEHW4ActionCompleteReason@@@Z
_TEXT	SEGMENT
_obj$ = 8						; size = 4
_action$ = 12						; size = 4
_reason$ = 16						; size = 4
?Action_Complete@Neo_Vehicle_AI@@EAEXPAEHW4ActionCompleteReason@@@Z PROC ; Neo_Vehicle_AI::Action_Complete, COMDAT
; _this$ = ecx

; 134  : 	/**********************************************/
; 135  : 	//				Action IDs
; 136  : 	/**********************************************/
; 137  : 	//	10: Goto action
; 138  : 	//	20: Attack action
; 139  : 	//	30: Facing action
; 140  : 	/**********************************************/
; 141  : 
; 142  : 	if (action == 10)

	cmp	DWORD PTR _action$[esp-4], 10		; 0000000aH
	jne	SHORT $LN1@Action_Com

; 143  : 	{
; 144  : 		moving = false;

	xor	eax, eax
	mov	BYTE PTR [ecx+46], al

; 145  : 		move_count = 0; //move completed

	mov	DWORD PTR [ecx+76], eax
$LN1@Action_Com:

; 146  : 	}
; 147  : }

	ret	12					; 0000000cH
?Action_Complete@Neo_Vehicle_AI@@EAEXPAEHW4ActionCompleteReason@@@Z ENDP ; Neo_Vehicle_AI::Action_Complete
_TEXT	ENDS
PUBLIC	__real@40a00000
PUBLIC	?Sound_Heard@Neo_Vehicle_AI@@EAEXPAEABUCombatSound@@@Z ; Neo_Vehicle_AI::Sound_Heard
;	COMDAT __real@40a00000
; File d:\source code\stgm\scripts.h
CONST	SEGMENT
__real@40a00000 DD 040a00000r			; 5
; Function compile flags: /Ogtpy
; File d:\source code\stgm\neo.cpp
CONST	ENDS
;	COMDAT ?Sound_Heard@Neo_Vehicle_AI@@EAEXPAEABUCombatSound@@@Z
_TEXT	SEGMENT
_params$56580 = -196					; size = 196
_obj$ = 8						; size = 4
_sound$ = 12						; size = 4
?Sound_Heard@Neo_Vehicle_AI@@EAEXPAEABUCombatSound@@@Z PROC ; Neo_Vehicle_AI::Sound_Heard, COMDAT
; _this$ = ecx

; 258  : {

	sub	esp, 196				; 000000c4H
	push	esi
	mov	esi, ecx

; 259  : 	if (guarding)

	cmp	BYTE PTR [esi+45], 0
	push	edi

; 260  : 	{
; 261  : 		if (!moving)
; 262  : 		{
; 263  : 			if (Commands->Is_A_Star(sound.obj))
; 264  : 			{
; 265  : 				ActionParamsStruct params;
; 266  : 				params.Set_Basic(this,face_priority,30);
; 267  : 				params.Set_Face_Location(sound.position,5);
; 268  : 				Commands->Action_Face_Location(obj,params);
; 269  : 			}
; 270  : 		}
; 271  : 	}
; 272  : 	else

	jne	SHORT $LN24@Sound_Hear

; 273  : 	{
; 274  : 		if (!rampaging)

	cmp	BYTE PTR [esi+44], 0
	jne	$LN1@Sound_Hear
$LN24@Sound_Hear:

; 275  : 		{
; 276  : 			if (!moving)

	cmp	BYTE PTR [esi+46], 0
	jne	$LN1@Sound_Hear

; 277  : 			{
; 278  : 				if (Commands->Is_A_Star(sound.obj))

	mov	edi, DWORD PTR _sound$[esp+200]
	mov	eax, DWORD PTR [edi+16]
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+280]
	push	eax
	call	edx
	add	esp, 4
	test	al, al
	je	SHORT $LN1@Sound_Hear

; 279  : 				{
; 280  : 					ActionParamsStruct params;

	lea	ecx, DWORD PTR _params$56580[esp+204]
	call	??0ActionParamsStruct@@QAE@XZ		; ActionParamsStruct::ActionParamsStruct

; 281  : 					params.Set_Basic(this,face_priority,30);
; 282  : 					params.Set_Face_Location(sound.position,5);

	fld	DWORD PTR [edi]
	mov	eax, DWORD PTR [esi+48]
	fstp	DWORD PTR _params$56580[esp+320]
	fld	DWORD PTR [edi+4]
	mov	ecx, DWORD PTR [esi+4]
	fstp	DWORD PTR _params$56580[esp+324]

; 283  : 					Commands->Action_Face_Location(obj,params);

	lea	edx, DWORD PTR _params$56580[esp+204]
	fld	DWORD PTR [edi+8]
	mov	DWORD PTR _params$56580[esp+204], eax
	mov	eax, DWORD PTR _obj$[esp+200]
	fstp	DWORD PTR _params$56580[esp+328]
	fld	DWORD PTR __real@40a00000
	mov	DWORD PTR _params$56580[esp+208], ecx
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	fstp	DWORD PTR _params$56580[esp+332]
	push	edx
	mov	DWORD PTR _params$56580[esp+376], -1
	mov	edx, DWORD PTR [ecx+32]
	push	eax
	call	edx
	add	esp, 8
$LN1@Sound_Hear:
	pop	edi
	pop	esi

; 284  : 				}
; 285  : 			}
; 286  : 		}
; 287  : 	}
; 288  : }

	add	esp, 196				; 000000c4H
	ret	8
?Sound_Heard@Neo_Vehicle_AI@@EAEXPAEABUCombatSound@@@Z ENDP ; Neo_Vehicle_AI::Sound_Heard
_TEXT	ENDS
PUBLIC	?Destroyed@Neo_Vehicle_AI@@EAEXPAE@Z		; Neo_Vehicle_AI::Destroyed
; Function compile flags: /Ogtpy
;	COMDAT ?Destroyed@Neo_Vehicle_AI@@EAEXPAE@Z
_TEXT	SEGMENT
_obj$ = 8						; size = 4
?Destroyed@Neo_Vehicle_AI@@EAEXPAE@Z PROC		; Neo_Vehicle_AI::Destroyed, COMDAT
; _this$ = ecx

; 292  : 	//clean up things,send off messages
; 293  : }

	ret	4
?Destroyed@Neo_Vehicle_AI@@EAEXPAE@Z ENDP		; Neo_Vehicle_AI::Destroyed
_TEXT	ENDS
PUBLIC	?Register_Auto_Save_Variables@Neo_Vehicle_AI@@EAEXXZ ; Neo_Vehicle_AI::Register_Auto_Save_Variables
EXTRN	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z:PROC ; ScriptImpClass::Auto_Save_Variable
; Function compile flags: /Ogtpy
;	COMDAT ?Register_Auto_Save_Variables@Neo_Vehicle_AI@@EAEXXZ
_TEXT	SEGMENT
?Register_Auto_Save_Variables@Neo_Vehicle_AI@@EAEXXZ PROC ; Neo_Vehicle_AI::Register_Auto_Save_Variables, COMDAT
; _this$ = ecx

; 296  : {

	push	esi
	mov	esi, ecx

; 297  : 	//Not sure on Size,all this could be wrong
; 298  : 	Auto_Save_Variable(1,4,&targetID);

	lea	eax, DWORD PTR [esi+28]
	push	eax
	push	4
	push	1
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 299  : 	Auto_Save_Variable(2,4,&position);

	lea	ecx, DWORD PTR [esi+32]
	push	ecx
	push	4
	push	2
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 300  : 	Auto_Save_Variable(3,4,&rampaging);

	lea	edx, DWORD PTR [esi+44]
	push	edx
	push	4
	push	3
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 301  : 	Auto_Save_Variable(4,4,&guarding);

	lea	eax, DWORD PTR [esi+45]
	push	eax
	push	4
	push	4
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 302  : 	Auto_Save_Variable(5,4,&moving);

	lea	ecx, DWORD PTR [esi+46]
	push	ecx
	push	4
	push	5
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 303  : 	Auto_Save_Variable(6,4,&hunting);

	lea	edx, DWORD PTR [esi+47]
	push	edx
	push	4
	push	6
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 304  : //	Auto_Save_Variable(7,4,&move_priority);
; 305  : //	Auto_Save_Variable(8,4,&attack_priority);
; 306  : 	Auto_Save_Variable(9,4,&face_priority);

	lea	eax, DWORD PTR [esi+48]
	push	eax
	push	4
	push	9
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 307  : 	Auto_Save_Variable(10,4,&current_priority);

	lea	ecx, DWORD PTR [esi+52]
	push	ecx
	push	4
	push	10					; 0000000aH
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 308  : 	Auto_Save_Variable(11,4,&guard_timer);

	lea	edx, DWORD PTR [esi+56]
	push	edx
	push	4
	push	11					; 0000000bH
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 309  : 	Auto_Save_Variable(12,4,&attack_timer);

	lea	eax, DWORD PTR [esi+60]
	push	eax
	push	4
	push	12					; 0000000cH
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 310  : 	Auto_Save_Variable(13,4,&mypos);

	lea	ecx, DWORD PTR [esi+64]
	push	ecx
	push	4
	push	13					; 0000000dH
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable

; 311  : 	Auto_Save_Variable(14,4,&move_count);

	lea	edx, DWORD PTR [esi+76]
	push	edx
	push	4
	push	14					; 0000000eH
	mov	ecx, esi
	call	?Auto_Save_Variable@ScriptImpClass@@QAEXHHPAX@Z ; ScriptImpClass::Auto_Save_Variable
	pop	esi

; 312  : }

	ret	0
?Register_Auto_Save_Variables@Neo_Vehicle_AI@@EAEXXZ ENDP ; Neo_Vehicle_AI::Register_Auto_Save_Variables
_TEXT	ENDS
PUBLIC	?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z		; Neo_Vehicle_AI::Set_Target
EXTRN	?Get_Vehicle@@YAPAEPAE@Z:PROC			; Get_Vehicle
; Function compile flags: /Ogtpy
;	COMDAT ?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z
_TEXT	SEGMENT
_target$ = 8						; size = 4
?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z PROC		; Neo_Vehicle_AI::Set_Target, COMDAT
; _this$ = ecx

; 576  : 	//This function sets a new target even if one exists
; 577  : 	targetID = Commands->Get_ID(target); //remember target

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	esi
	push	edi
	mov	edi, DWORD PTR _target$[esp+4]
	mov	esi, ecx
	mov	ecx, DWORD PTR [eax+108]
	push	edi
	call	ecx
	add	esp, 4

; 578  : 
; 579  : 	if (!hunting && !guarding) //only initiate if not doing anything

	cmp	BYTE PTR [esi+47], 0
	mov	DWORD PTR [esi+28], eax
	jne	SHORT $LN4@Set_Target
	cmp	BYTE PTR [esi+45], 0
	jne	SHORT $LN4@Set_Target

; 580  : 	{
; 581  : 		if (Commands->Is_A_Star(target)) //Is it a player?

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	eax, DWORD PTR [edx+280]
	push	edi
	call	eax
	add	esp, 4
	test	al, al
	je	SHORT $LN1@Set_Target

; 582  : 		{
; 583  : 			GameObject *vehicle = Get_Vehicle(target); 

	push	edi
	call	?Get_Vehicle@@YAPAEPAE@Z		; Get_Vehicle
	add	esp, 4

; 584  : 
; 585  : 			if (vehicle) //Are they in a vehicle

	test	eax, eax

; 586  : 				return vehicle; //if so,return vehicle

	jne	SHORT $LN5@Set_Target
$LN1@Set_Target:

; 587  : 			else
; 588  : 				return target; //if not,return player

	mov	eax, edi
	pop	edi
	pop	esi

; 595  : }

	ret	4
$LN4@Set_Target:

; 589  : 		}
; 590  : 
; 591  : 		return target; //nothing left but the target
; 592  : 	}
; 593  : 
; 594  : 	return 0; //don't start new job if already working

	xor	eax, eax
$LN5@Set_Target:
	pop	edi
	pop	esi

; 595  : }

	ret	4
?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z ENDP		; Neo_Vehicle_AI::Set_Target
_TEXT	ENDS
PUBLIC	?Get_Closest@Neo_Vehicle_AI@@AAEPAEPAE00@Z	; Neo_Vehicle_AI::Get_Closest
; Function compile flags: /Ogtpy
;	COMDAT ?Get_Closest@Neo_Vehicle_AI@@AAEPAEPAE00@Z
_TEXT	SEGMENT
_obj_pos$ = -48						; size = 12
_target1_pos$ = -36					; size = 12
_target2_pos$ = -24					; size = 12
$T60939 = -12						; size = 12
$T60938 = -12						; size = 12
$T60937 = -12						; size = 12
_dist1$ = 8						; size = 4
_obj$ = 8						; size = 4
_new_target$ = 12					; size = 4
_old_target$ = 16					; size = 4
?Get_Closest@Neo_Vehicle_AI@@AAEPAEPAE00@Z PROC		; Neo_Vehicle_AI::Get_Closest, COMDAT
; _this$ = ecx

; 598  : {

	sub	esp, 48					; 00000030H

; 599  : 	Vector3 obj_pos = Commands->Get_Position(obj);

	mov	eax, DWORD PTR _obj$[esp+44]
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	esi
	push	eax
	mov	eax, DWORD PTR [edx+64]
	lea	ecx, DWORD PTR $T60937[esp+56]
	push	ecx
	call	eax
	mov	ecx, DWORD PTR [eax]

; 600  : 	Vector3 target1_pos = Commands->Get_Position(new_target);

	mov	esi, DWORD PTR _new_target$[esp+56]
	mov	DWORD PTR _obj_pos$[esp+60], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR _obj_pos$[esp+64], edx
	mov	eax, DWORD PTR [eax+8]
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR $T60938[esp+60]
	mov	DWORD PTR _obj_pos$[esp+68], eax
	mov	eax, DWORD PTR [edx+64]
	push	esi
	push	ecx
	call	eax
	mov	ecx, DWORD PTR [eax]
	mov	DWORD PTR _target1_pos$[esp+68], ecx
	mov	edx, DWORD PTR [eax+4]

; 601  : 	Vector3 target2_pos = Commands->Get_Position(old_target);

	mov	ecx, DWORD PTR _old_target$[esp+64]
	mov	DWORD PTR _target1_pos$[esp+72], edx
	mov	eax, DWORD PTR [eax+8]
	mov	DWORD PTR _target1_pos$[esp+76], eax
	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	ecx
	mov	ecx, DWORD PTR [eax+64]
	lea	edx, DWORD PTR $T60939[esp+72]
	push	edx
	call	ecx
	mov	edx, DWORD PTR [eax]
	mov	DWORD PTR _target2_pos$[esp+76], edx
	mov	ecx, DWORD PTR [eax+4]
	mov	DWORD PTR _target2_pos$[esp+80], ecx
	mov	edx, DWORD PTR [eax+8]
	mov	DWORD PTR _target2_pos$[esp+84], edx

; 602  : 
; 603  : 	float dist1 = Commands->Get_Distance(obj_pos,target1_pos);

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	eax, DWORD PTR _target1_pos$[esp+76]
	push	eax
	mov	eax, DWORD PTR [edx+256]
	lea	ecx, DWORD PTR _obj_pos$[esp+80]
	push	ecx
	call	eax
	fstp	DWORD PTR _dist1$[esp+80]

; 604  : 	float dist2 = Commands->Get_Distance(obj_pos,target2_pos);

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR _target2_pos$[esp+84]
	push	ecx
	mov	ecx, DWORD PTR [eax+256]
	lea	edx, DWORD PTR _obj_pos$[esp+88]
	push	edx
	call	ecx

; 605  : 
; 606  : 	if (dist1 < dist2)

	fcomp	DWORD PTR _dist1$[esp+88]
	add	esp, 40					; 00000028H
	fnstsw	ax
	test	ah, 65					; 00000041H
	jne	SHORT $LN2@Get_Closes

; 607  : 		return new_target; //new is closer,inform of change

	mov	eax, esi
	pop	esi

; 610  : }

	add	esp, 48					; 00000030H
	ret	12					; 0000000cH
$LN2@Get_Closes:

; 608  : 	else
; 609  : 		return 0; //old is closer,no change needed

	xor	eax, eax
	pop	esi

; 610  : }

	add	esp, 48					; 00000030H
	ret	12					; 0000000cH
?Get_Closest@Neo_Vehicle_AI@@AAEPAEPAE00@Z ENDP		; Neo_Vehicle_AI::Get_Closest
_TEXT	ENDS
PUBLIC	??_C@_09GEJKGJAF@vsVehicle?$AA@			; `string'
PUBLIC	??_C@_0L@GLMKNALD@vsAircraft?$AA@		; `string'
PUBLIC	??_C@_09IOOEOBPF@vsSoldier?$AA@			; `string'
PUBLIC	?Set_Ammo@Neo_Vehicle_AI@@AAE_NPAE@Z		; Neo_Vehicle_AI::Set_Ammo
EXTRN	?Get_Vehicle_Mode@@YAIPAE@Z:PROC		; Get_Vehicle_Mode
EXTRN	?Is_Vehicle@@YA_NPAE@Z:PROC			; Is_Vehicle
EXTRN	?Is_Soldier@@YA_NPAE@Z:PROC			; Is_Soldier
;	COMDAT ??_C@_09GEJKGJAF@vsVehicle?$AA@
CONST	SEGMENT
??_C@_09GEJKGJAF@vsVehicle?$AA@ DB 'vsVehicle', 00H	; `string'
CONST	ENDS
;	COMDAT ??_C@_0L@GLMKNALD@vsAircraft?$AA@
CONST	SEGMENT
??_C@_0L@GLMKNALD@vsAircraft?$AA@ DB 'vsAircraft', 00H	; `string'
CONST	ENDS
;	COMDAT ??_C@_09IOOEOBPF@vsSoldier?$AA@
CONST	SEGMENT
??_C@_09IOOEOBPF@vsSoldier?$AA@ DB 'vsSoldier', 00H	; `string'
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ?Set_Ammo@Neo_Vehicle_AI@@AAE_NPAE@Z
_TEXT	SEGMENT
_target$ = 8						; size = 4
?Set_Ammo@Neo_Vehicle_AI@@AAE_NPAE@Z PROC		; Neo_Vehicle_AI::Set_Ammo, COMDAT
; _this$ = ecx

; 613  : {

	push	esi

; 614  : 	//This function sets ammo type to use on a target
; 615  : 
; 616  : 	if (target)//Just to be on the safe side

	mov	esi, DWORD PTR _target$[esp]
	test	esi, esi
	push	edi
	mov	edi, ecx
	je	SHORT $LN1@Set_Ammo

; 617  : 	{
; 618  : 		if (Is_Soldier(target)) //is the target a soldier?

	push	esi
	call	?Is_Soldier@@YA_NPAE@Z			; Is_Soldier
	add	esp, 4
	test	al, al
	je	SHORT $LN8@Set_Ammo

; 619  : 		{
; 620  : 			if (Get_Int_Parameter("vsSoldier")) 

	push	OFFSET ??_C@_09IOOEOBPF@vsSoldier?$AA@
	mov	ecx, edi
	call	?Get_Int_Parameter@ScriptImpClass@@QAEHPBD@Z ; ScriptImpClass::Get_Int_Parameter
	test	eax, eax
	pop	edi
	setne	al
	pop	esi

; 645  : }

	ret	4
$LN8@Set_Ammo:

; 621  : 				return true; //Use Primary
; 622  : 			else
; 623  : 				return false; //Use Secondary
; 624  : 		}
; 625  : 
; 626  : 		if (Is_Vehicle(target))

	push	esi
	call	?Is_Vehicle@@YA_NPAE@Z			; Is_Vehicle
	add	esp, 4
	test	al, al
	je	SHORT $LN1@Set_Ammo

; 627  : 		{
; 628  : 			if (Get_Vehicle_Mode(target) != FLYING)

	push	esi
	call	?Get_Vehicle_Mode@@YAIPAE@Z		; Get_Vehicle_Mode
	add	esp, 4
	cmp	eax, 3

; 629  : 			{
; 630  : 				if (Get_Int_Parameter("vsAircraft")) 

	mov	ecx, edi
	je	SHORT $LN6@Set_Ammo
	push	OFFSET ??_C@_0L@GLMKNALD@vsAircraft?$AA@
	call	?Get_Int_Parameter@ScriptImpClass@@QAEHPBD@Z ; ScriptImpClass::Get_Int_Parameter
	test	eax, eax
	pop	edi
	setne	al
	pop	esi

; 645  : }

	ret	4
$LN6@Set_Ammo:

; 631  : 					return true; //Use Primary
; 632  : 				else
; 633  : 					return false; //Use Secondary
; 634  : 			}
; 635  : 			else
; 636  : 			{
; 637  : 				if (Get_Int_Parameter("vsVehicle")) 

	push	OFFSET ??_C@_09GEJKGJAF@vsVehicle?$AA@
	call	?Get_Int_Parameter@ScriptImpClass@@QAEHPBD@Z ; ScriptImpClass::Get_Int_Parameter
	test	eax, eax
	pop	edi
	setne	al
	pop	esi

; 645  : }

	ret	4
$LN1@Set_Ammo:
	pop	edi

; 638  : 					return true; //Use Primary
; 639  : 				else
; 640  : 					return false; //Use Secondary
; 641  : 			}
; 642  : 		}
; 643  : 	}
; 644  : 	return true; //If all else fails,use Primary Ammo

	mov	al, 1
	pop	esi

; 645  : }

	ret	4
?Set_Ammo@Neo_Vehicle_AI@@AAE_NPAE@Z ENDP		; Neo_Vehicle_AI::Set_Ammo
_TEXT	ENDS
PUBLIC	?Set_Direction@Neo_Vehicle_AI@@AAE_NPAE@Z	; Neo_Vehicle_AI::Set_Direction
; Function compile flags: /Ogtpy
;	COMDAT ?Set_Direction@Neo_Vehicle_AI@@AAE_NPAE@Z
_TEXT	SEGMENT
_current$ = -24						; size = 12
$T60946 = -12						; size = 12
_obj$ = 8						; size = 4
?Set_Direction@Neo_Vehicle_AI@@AAE_NPAE@Z PROC		; Neo_Vehicle_AI::Set_Direction, COMDAT
; _this$ = ecx

; 648  : {

	sub	esp, 24					; 00000018H

; 649  : 	Vector3 current = Commands->Get_Position(obj);

	mov	eax, DWORD PTR _obj$[esp+20]
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	esi
	push	edi
	mov	esi, ecx
	push	eax
	mov	eax, DWORD PTR [edx+64]
	lea	ecx, DWORD PTR $T60946[esp+36]
	push	ecx
	call	eax
	mov	ecx, DWORD PTR [eax]
	mov	DWORD PTR _current$[esp+40], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR _current$[esp+44], edx
	mov	eax, DWORD PTR [eax+8]

; 650  : 	float distance = Commands->Get_Distance(mypos,current);

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR _current$[esp+40]
	push	ecx
	mov	DWORD PTR _current$[esp+52], eax
	mov	eax, DWORD PTR [edx+256]
	lea	edi, DWORD PTR [esi+64]
	push	edi
	call	eax

; 651  : 
; 652  : 	if (distance < 1) //did I barely move?

	fcomp	DWORD PTR __real@3f800000
	add	esp, 16					; 00000010H
	fnstsw	ax
	test	ah, 5
	jp	SHORT $LN2@Set_Direct

; 653  : 	{
; 654  : 		if (move_count > 2)

	mov	eax, DWORD PTR [esi+76]
	cmp	eax, 2
	jle	SHORT $LN1@Set_Direct
	pop	edi

; 655  : 		{
; 656  : 			move_count = 0;

	mov	DWORD PTR [esi+76], 0

; 657  : 			return true; //tried at least 3 times,reverse direction

	mov	al, 1
	pop	esi

; 664  : }

	add	esp, 24					; 00000018H
	ret	4
$LN1@Set_Direct:

; 658  : 		}
; 659  : 		move_count++; //haven't hit the limit yet

	add	eax, 1
	mov	DWORD PTR [esi+76], eax
$LN2@Set_Direct:

; 660  : 	}
; 661  : 
; 662  : 	mypos = current; //remember current position

	mov	ecx, DWORD PTR _current$[esp+32]
	mov	edx, DWORD PTR _current$[esp+36]
	mov	eax, DWORD PTR _current$[esp+40]
	mov	DWORD PTR [edi], ecx
	mov	DWORD PTR [edi+4], edx
	mov	DWORD PTR [edi+8], eax
	pop	edi

; 663  : 	return false; //Don't drive backwards

	xor	al, al
	pop	esi

; 664  : }

	add	esp, 24					; 00000018H
	ret	4
?Set_Direction@Neo_Vehicle_AI@@AAE_NPAE@Z ENDP		; Neo_Vehicle_AI::Set_Direction
_TEXT	ENDS
PUBLIC	??1?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAE@XZ ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::~ScriptRegistrant<Neo_CreateObject_RandomTimer>
EXTRN	??1ScriptFactory@@UAE@XZ:PROC			; ScriptFactory::~ScriptFactory
; Function compile flags: /Ogtpy
;	COMDAT ??1?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAE@XZ
_TEXT	SEGMENT
??1?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAE@XZ PROC ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::~ScriptRegistrant<Neo_CreateObject_RandomTimer>, COMDAT
; _this$ = ecx
	jmp	??1ScriptFactory@@UAE@XZ		; ScriptFactory::~ScriptFactory
??1?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAE@XZ ENDP ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::~ScriptRegistrant<Neo_CreateObject_RandomTimer>
_TEXT	ENDS
PUBLIC	??1?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAE@XZ	; ScriptRegistrant<Neo_Vehicle_AI>::~ScriptRegistrant<Neo_Vehicle_AI>
; Function compile flags: /Ogtpy
;	COMDAT ??1?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAE@XZ
_TEXT	SEGMENT
??1?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAE@XZ PROC	; ScriptRegistrant<Neo_Vehicle_AI>::~ScriptRegistrant<Neo_Vehicle_AI>, COMDAT
; _this$ = ecx
	jmp	??1ScriptFactory@@UAE@XZ		; ScriptFactory::~ScriptFactory
??1?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAE@XZ ENDP	; ScriptRegistrant<Neo_Vehicle_AI>::~ScriptRegistrant<Neo_Vehicle_AI>
_TEXT	ENDS
PUBLIC	__TI2?AVbad_alloc@std@@
PUBLIC	??_C@_0DN@JHKGIIJF@C?3?2Program?5Files?2Microsoft?5Visua@ ; `string'
PUBLIC	?allocate@?$_DebugHeapAllocator@D@std@@QAAPADIPBX@Z ; std::_DebugHeapAllocator<char>::allocate
PUBLIC	__CTA2?AVbad_alloc@std@@
PUBLIC	__CT??_R0?AVbad_alloc@std@@@8??0bad_alloc@std@@QAE@ABV01@@Z12
PUBLIC	??0bad_alloc@std@@QAE@ABV01@@Z			; std::bad_alloc::bad_alloc
PUBLIC	__CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12
EXTRN	??_U@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z:PROC	; operator new[]
EXTRN	?_DebugHeapTag_func@std@@YAABU_DebugHeapTag_t@1@XZ:PROC ; std::_DebugHeapTag_func
EXTRN	__CxxThrowException@8:PROC
EXTRN	??0exception@std@@QAE@ABV01@@Z:PROC		; std::exception::exception
;	COMDAT __CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12
; File c:\program files\microsoft visual studio 8\vc\include\exception
xdata$x	SEGMENT
__CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12 DD 00H
	DD	FLAT:??_R0?AVexception@std@@@8
	DD	00H
	DD	0ffffffffH
	ORG $+4
	DD	0cH
	DD	FLAT:??0exception@std@@QAE@ABV01@@Z
xdata$x	ENDS
;	COMDAT __CT??_R0?AVbad_alloc@std@@@8??0bad_alloc@std@@QAE@ABV01@@Z12
xdata$x	SEGMENT
__CT??_R0?AVbad_alloc@std@@@8??0bad_alloc@std@@QAE@ABV01@@Z12 DD 00H
	DD	FLAT:??_R0?AVbad_alloc@std@@@8
	DD	00H
	DD	0ffffffffH
	ORG $+4
	DD	0cH
	DD	FLAT:??0bad_alloc@std@@QAE@ABV01@@Z
xdata$x	ENDS
;	COMDAT __CTA2?AVbad_alloc@std@@
xdata$x	SEGMENT
__CTA2?AVbad_alloc@std@@ DD 02H
	DD	FLAT:__CT??_R0?AVbad_alloc@std@@@8??0bad_alloc@std@@QAE@ABV01@@Z12
	DD	FLAT:__CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12
xdata$x	ENDS
;	COMDAT __TI2?AVbad_alloc@std@@
xdata$x	SEGMENT
__TI2?AVbad_alloc@std@@ DD 00H
	DD	FLAT:??1bad_alloc@std@@UAE@XZ
	DD	00H
	DD	FLAT:__CTA2?AVbad_alloc@std@@
xdata$x	ENDS
;	COMDAT ??_C@_0DN@JHKGIIJF@C?3?2Program?5Files?2Microsoft?5Visua@
CONST	SEGMENT
??_C@_0DN@JHKGIIJF@C?3?2Program?5Files?2Microsoft?5Visua@ DB 'C:\Program '
	DB	'Files\Microsoft Visual Studio 8\VC\include\xdebug', 00H ; `string'
; Function compile flags: /Ogtpy
; File c:\program files\microsoft visual studio 8\vc\include\xdebug
CONST	ENDS
;	COMDAT ?allocate@?$_DebugHeapAllocator@D@std@@QAAPADIPBX@Z
_TEXT	SEGMENT
$T60960 = -12						; size = 12
_this$ = 8						; size = 4
$T60966 = 12						; size = 4
__Count$ = 12						; size = 4
___formal$ = 16						; size = 4
?allocate@?$_DebugHeapAllocator@D@std@@QAAPADIPBX@Z PROC ; std::_DebugHeapAllocator<char>::allocate, COMDAT

; 79   : 		{	// check for integer overflow

	sub	esp, 12					; 0000000cH
	push	esi

; 80   : 		if (_Count <= 0)

	mov	esi, DWORD PTR __Count$[esp+12]
	test	esi, esi
	ja	SHORT $LN3@allocate

; 81   : 			_Count = 0;

	xor	esi, esi
$LN1@allocate:

; 84   : 
; 85   : 			// allocate array of _Count elements, ignore hint
; 86   : 		return ((_Ty *)_NEW_CRT char[_Count * sizeof(_Ty)]);

	push	86					; 00000056H
	push	OFFSET ??_C@_0DN@JHKGIIJF@C?3?2Program?5Files?2Microsoft?5Visua@
	call	?_DebugHeapTag_func@std@@YAABU_DebugHeapTag_t@1@XZ ; std::_DebugHeapTag_func
	push	eax
	push	esi
	call	??_U@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z ; operator new[]
	add	esp, 16					; 00000010H
	pop	esi

; 87   : 		}

	add	esp, 12					; 0000000cH
	ret	0
$LN3@allocate:

; 82   : 		else if (((size_t)(-1) / _Count) < sizeof(_Ty))

	or	eax, -1
	xor	edx, edx
	div	esi
	cmp	eax, 1
	jae	SHORT $LN1@allocate

; 83   : 			_THROW_NCEE(std::bad_alloc, NULL);

	lea	eax, DWORD PTR $T60966[esp+12]
	push	eax
	lea	ecx, DWORD PTR $T60960[esp+20]
	mov	DWORD PTR $T60966[esp+16], 0
	call	??0exception@std@@QAE@ABQBD@Z		; std::exception::exception
	push	OFFSET __TI2?AVbad_alloc@std@@
	lea	ecx, DWORD PTR $T60960[esp+20]
	push	ecx
	mov	DWORD PTR $T60960[esp+24], OFFSET ??_7bad_alloc@std@@6B@
	call	__CxxThrowException@8
$LN9@allocate:
$LN8@allocate:
	int	3
?allocate@?$_DebugHeapAllocator@D@std@@QAAPADIPBX@Z ENDP ; std::_DebugHeapAllocator<char>::allocate
_TEXT	ENDS
PUBLIC	?allocate@?$_DebugHeapAllocator@D@std@@QAEPADI@Z ; std::_DebugHeapAllocator<char>::allocate
; Function compile flags: /Ogtpy
;	COMDAT ?allocate@?$_DebugHeapAllocator@D@std@@QAEPADI@Z
_TEXT	SEGMENT
$T60972 = -12						; size = 12
$T60977 = 8						; size = 4
__Count$ = 8						; size = 4
?allocate@?$_DebugHeapAllocator@D@std@@QAEPADI@Z PROC	; std::_DebugHeapAllocator<char>::allocate, COMDAT
; _this$ = ecx

; 90   : 		{	// check for integer overflow

	sub	esp, 12					; 0000000cH
	push	esi

; 91   : 		if (_Count <= 0)

	mov	esi, DWORD PTR __Count$[esp+12]
	test	esi, esi
	ja	SHORT $LN3@allocate@2

; 92   : 			_Count = 0;

	xor	esi, esi
$LN1@allocate@2:

; 95   : 
; 96   : 			// allocate array of _Count elements
; 97   : 		return ((_Ty *)_NEW_CRT char[_Count * sizeof(_Ty)]);

	push	97					; 00000061H
	push	OFFSET ??_C@_0DN@JHKGIIJF@C?3?2Program?5Files?2Microsoft?5Visua@
	call	?_DebugHeapTag_func@std@@YAABU_DebugHeapTag_t@1@XZ ; std::_DebugHeapTag_func
	push	eax
	push	esi
	call	??_U@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z ; operator new[]
	add	esp, 16					; 00000010H
	pop	esi

; 98   : 		}

	add	esp, 12					; 0000000cH
	ret	4
$LN3@allocate@2:

; 93   : 		else if (((size_t)(-1) / _Count) < sizeof(_Ty))

	or	eax, -1
	xor	edx, edx
	div	esi
	cmp	eax, 1
	jae	SHORT $LN1@allocate@2

; 94   : 			_THROW_NCEE(std::bad_alloc, NULL);

	lea	eax, DWORD PTR $T60977[esp+12]
	push	eax
	lea	ecx, DWORD PTR $T60972[esp+20]
	mov	DWORD PTR $T60977[esp+16], 0
	call	??0exception@std@@QAE@ABQBD@Z		; std::exception::exception
	push	OFFSET __TI2?AVbad_alloc@std@@
	lea	ecx, DWORD PTR $T60972[esp+20]
	push	ecx
	mov	DWORD PTR $T60972[esp+24], OFFSET ??_7bad_alloc@std@@6B@
	call	__CxxThrowException@8
$LN9@allocate@2:
$LN8@allocate@2:
	int	3
?allocate@?$_DebugHeapAllocator@D@std@@QAEPADI@Z ENDP	; std::_DebugHeapAllocator<char>::allocate
_TEXT	ENDS
PUBLIC	??_7?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@ ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`vftable'
PUBLIC	??0?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@QAE@PAD0@Z ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::ScriptRegistrant<Neo_CreateObject_RandomTimer>
PUBLIC	??_R4?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@ ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`RTTI Complete Object Locator'
PUBLIC	??_R0?AV?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@@8 ; ScriptRegistrant<Neo_CreateObject_RandomTimer> `RTTI Type Descriptor'
PUBLIC	??_R3?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8 ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8 ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8 ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R1A@?0A@EA@ScriptFactory@@8			; ScriptFactory::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVScriptFactory@@@8			; ScriptFactory `RTTI Type Descriptor'
PUBLIC	??_R3ScriptFactory@@8				; ScriptFactory::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2ScriptFactory@@8				; ScriptFactory::`RTTI Base Class Array'
PUBLIC	?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::Create
EXTRN	??0ScriptFactory@@QAE@PAD0@Z:PROC		; ScriptFactory::ScriptFactory
EXTRN	??_E?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAXI@Z:PROC ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`vector deleting destructor'
;	COMDAT ??_R2ScriptFactory@@8
; File d:\source code\stgm\scripts.h
rdata$r	SEGMENT
??_R2ScriptFactory@@8 DD FLAT:??_R1A@?0A@EA@ScriptFactory@@8 ; ScriptFactory::`RTTI Base Class Array'
rdata$r	ENDS
;	COMDAT ??_R3ScriptFactory@@8
rdata$r	SEGMENT
??_R3ScriptFactory@@8 DD 00H				; ScriptFactory::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	01H
	DD	FLAT:??_R2ScriptFactory@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVScriptFactory@@@8
_DATA	SEGMENT
??_R0?AVScriptFactory@@@8 DD FLAT:??_7type_info@@6B@	; ScriptFactory `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVScriptFactory@@', 00H
_DATA	ENDS
;	COMDAT ??_R1A@?0A@EA@ScriptFactory@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@ScriptFactory@@8 DD FLAT:??_R0?AVScriptFactory@@@8 ; ScriptFactory::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	00H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3ScriptFactory@@8
rdata$r	ENDS
;	COMDAT ??_R1A@?0A@EA@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8 DD FLAT:??_R0?AV?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@@8 ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	01H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8
rdata$r	ENDS
;	COMDAT ??_R2?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8
rdata$r	SEGMENT
??_R2?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8 DD FLAT:??_R1A@?0A@EA@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8 ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@ScriptFactory@@8
rdata$r	ENDS
;	COMDAT ??_R3?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8
rdata$r	SEGMENT
??_R3?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8 DD 00H ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	02H
	DD	FLAT:??_R2?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8
rdata$r	ENDS
;	COMDAT ??_R0?AV?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@@8
_DATA	SEGMENT
??_R0?AV?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@@8 DD FLAT:??_7type_info@@6B@ ; ScriptRegistrant<Neo_CreateObject_RandomTimer> `RTTI Type Descriptor'
	DD	00H
	DB	'.?AV?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@'
	DB	00H
_DATA	ENDS
;	COMDAT ??_R4?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@
rdata$r	SEGMENT
??_R4?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@ DD 00H ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AV?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@@8
	DD	FLAT:??_R3?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@8
rdata$r	ENDS
;	COMDAT ??_7?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@
CONST	SEGMENT
??_7?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@ DD FLAT:??_R4?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@ ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`vftable'
	DD	FLAT:??_E?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAXI@Z
	DD	FLAT:?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ??0?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@QAE@PAD0@Z
_TEXT	SEGMENT
_n$ = 8							; size = 4
_p$ = 12						; size = 4
??0?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@QAE@PAD0@Z PROC ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::ScriptRegistrant<Neo_CreateObject_RandomTimer>, COMDAT
; _this$ = ecx

; 481  : 	{

	mov	eax, DWORD PTR _p$[esp-4]
	push	esi
	mov	esi, ecx
	mov	ecx, DWORD PTR _n$[esp]
	push	eax
	push	ecx
	mov	ecx, esi
	call	??0ScriptFactory@@QAE@PAD0@Z		; ScriptFactory::ScriptFactory
	mov	DWORD PTR [esi], OFFSET ??_7?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@

; 482  : 	}

	mov	eax, esi
	pop	esi
	ret	8
??0?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@QAE@PAD0@Z ENDP ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::ScriptRegistrant<Neo_CreateObject_RandomTimer>
_TEXT	ENDS
PUBLIC	?SetFactory@ScriptImpClass@@QAEXPAVScriptFactory@@@Z ; ScriptImpClass::SetFactory
; Function compile flags: /Ogtpy
;	COMDAT ?SetFactory@ScriptImpClass@@QAEXPAVScriptFactory@@@Z
_TEXT	SEGMENT
_ptr$ = 8						; size = 4
?SetFactory@ScriptImpClass@@QAEXPAVScriptFactory@@@Z PROC ; ScriptImpClass::SetFactory, COMDAT
; _this$ = ecx

; 145  : 		Factory = ptr;

	mov	eax, DWORD PTR _ptr$[esp-4]
	mov	DWORD PTR [ecx+20], eax

; 146  : 	}

	ret	4
?SetFactory@ScriptImpClass@@QAEXPAVScriptFactory@@@Z ENDP ; ScriptImpClass::SetFactory
_TEXT	ENDS
PUBLIC	??_7?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@	; ScriptRegistrant<Neo_Vehicle_AI>::`vftable'
PUBLIC	??0?$ScriptRegistrant@VNeo_Vehicle_AI@@@@QAE@PAD0@Z ; ScriptRegistrant<Neo_Vehicle_AI>::ScriptRegistrant<Neo_Vehicle_AI>
PUBLIC	??_R4?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@	; ScriptRegistrant<Neo_Vehicle_AI>::`RTTI Complete Object Locator'
PUBLIC	??_R0?AV?$ScriptRegistrant@VNeo_Vehicle_AI@@@@@8 ; ScriptRegistrant<Neo_Vehicle_AI> `RTTI Type Descriptor'
PUBLIC	??_R3?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8	; ScriptRegistrant<Neo_Vehicle_AI>::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8	; ScriptRegistrant<Neo_Vehicle_AI>::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8 ; ScriptRegistrant<Neo_Vehicle_AI>::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ ; ScriptRegistrant<Neo_Vehicle_AI>::Create
EXTRN	??_E?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAXI@Z:PROC ; ScriptRegistrant<Neo_Vehicle_AI>::`vector deleting destructor'
;	COMDAT ??_R1A@?0A@EA@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8 DD FLAT:??_R0?AV?$ScriptRegistrant@VNeo_Vehicle_AI@@@@@8 ; ScriptRegistrant<Neo_Vehicle_AI>::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	01H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8
rdata$r	ENDS
;	COMDAT ??_R2?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8
rdata$r	SEGMENT
??_R2?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8 DD FLAT:??_R1A@?0A@EA@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8 ; ScriptRegistrant<Neo_Vehicle_AI>::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@ScriptFactory@@8
rdata$r	ENDS
;	COMDAT ??_R3?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8
rdata$r	SEGMENT
??_R3?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8 DD 00H	; ScriptRegistrant<Neo_Vehicle_AI>::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	02H
	DD	FLAT:??_R2?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8
rdata$r	ENDS
;	COMDAT ??_R0?AV?$ScriptRegistrant@VNeo_Vehicle_AI@@@@@8
_DATA	SEGMENT
??_R0?AV?$ScriptRegistrant@VNeo_Vehicle_AI@@@@@8 DD FLAT:??_7type_info@@6B@ ; ScriptRegistrant<Neo_Vehicle_AI> `RTTI Type Descriptor'
	DD	00H
	DB	'.?AV?$ScriptRegistrant@VNeo_Vehicle_AI@@@@', 00H
_DATA	ENDS
;	COMDAT ??_R4?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@
rdata$r	SEGMENT
??_R4?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@ DD 00H	; ScriptRegistrant<Neo_Vehicle_AI>::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AV?$ScriptRegistrant@VNeo_Vehicle_AI@@@@@8
	DD	FLAT:??_R3?$ScriptRegistrant@VNeo_Vehicle_AI@@@@8
rdata$r	ENDS
;	COMDAT ??_7?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@
CONST	SEGMENT
??_7?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@ DD FLAT:??_R4?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@ ; ScriptRegistrant<Neo_Vehicle_AI>::`vftable'
	DD	FLAT:??_E?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAXI@Z
	DD	FLAT:?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ??0?$ScriptRegistrant@VNeo_Vehicle_AI@@@@QAE@PAD0@Z
_TEXT	SEGMENT
_n$ = 8							; size = 4
_p$ = 12						; size = 4
??0?$ScriptRegistrant@VNeo_Vehicle_AI@@@@QAE@PAD0@Z PROC ; ScriptRegistrant<Neo_Vehicle_AI>::ScriptRegistrant<Neo_Vehicle_AI>, COMDAT
; _this$ = ecx

; 481  : 	{

	mov	eax, DWORD PTR _p$[esp-4]
	push	esi
	mov	esi, ecx
	mov	ecx, DWORD PTR _n$[esp]
	push	eax
	push	ecx
	mov	ecx, esi
	call	??0ScriptFactory@@QAE@PAD0@Z		; ScriptFactory::ScriptFactory
	mov	DWORD PTR [esi], OFFSET ??_7?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@

; 482  : 	}

	mov	eax, esi
	pop	esi
	ret	8
??0?$ScriptRegistrant@VNeo_Vehicle_AI@@@@QAE@PAD0@Z ENDP ; ScriptRegistrant<Neo_Vehicle_AI>::ScriptRegistrant<Neo_Vehicle_AI>
; Function compile flags: /Ogtpy
_TEXT	ENDS
;	COMDAT ??0bad_alloc@std@@QAE@ABV01@@Z
_TEXT	SEGMENT
___that$ = 8						; size = 4
??0bad_alloc@std@@QAE@ABV01@@Z PROC			; std::bad_alloc::bad_alloc, COMDAT
; _this$ = ecx
	mov	eax, DWORD PTR ___that$[esp-4]
	push	esi
	push	eax
	mov	esi, ecx
	call	??0exception@std@@QAE@ABV01@@Z		; std::exception::exception
	mov	DWORD PTR [esi], OFFSET ??_7bad_alloc@std@@6B@
	mov	eax, esi
	pop	esi
	ret	4
??0bad_alloc@std@@QAE@ABV01@@Z ENDP			; std::bad_alloc::bad_alloc
; Function compile flags: /Ogtpy
_TEXT	ENDS
;	COMDAT ??_G?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAXI@Z
_TEXT	SEGMENT
___flags$ = 8						; size = 4
??_G?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAXI@Z PROC ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`scalar deleting destructor', COMDAT
; _this$ = ecx
	push	esi
	mov	esi, ecx
	call	??1ScriptFactory@@UAE@XZ		; ScriptFactory::~ScriptFactory
	test	BYTE PTR ___flags$[esp], 1
	je	SHORT $LN7@scalar@2
	push	esi
	call	??3@YAXPAX@Z				; operator delete
	add	esp, 4
$LN7@scalar@2:
	mov	eax, esi
	pop	esi
	ret	4
??_G?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAXI@Z ENDP ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::`scalar deleting destructor'
; Function compile flags: /Ogtpy
_TEXT	ENDS
;	COMDAT ??_G?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAXI@Z
_TEXT	SEGMENT
___flags$ = 8						; size = 4
??_G?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAXI@Z PROC ; ScriptRegistrant<Neo_Vehicle_AI>::`scalar deleting destructor', COMDAT
; _this$ = ecx
	push	esi
	mov	esi, ecx
	call	??1ScriptFactory@@UAE@XZ		; ScriptFactory::~ScriptFactory
	test	BYTE PTR ___flags$[esp], 1
	je	SHORT $LN7@scalar@3
	push	esi
	call	??3@YAXPAX@Z				; operator delete
	add	esp, 4
$LN7@scalar@3:
	mov	eax, esi
	pop	esi
	ret	4
??_G?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAXI@Z ENDP ; ScriptRegistrant<Neo_Vehicle_AI>::`scalar deleting destructor'
_TEXT	ENDS
PUBLIC	??0?$allocator@D@std@@QAE@XZ			; std::allocator<char>::allocator<char>
; Function compile flags: /Ogtpy
; File c:\program files\microsoft visual studio 8\vc\include\xmemory
;	COMDAT ??0?$allocator@D@std@@QAE@XZ
_TEXT	SEGMENT
??0?$allocator@D@std@@QAE@XZ PROC			; std::allocator<char>::allocator<char>, COMDAT
; _this$ = ecx

; 120  : 	allocator() _THROW0()

	mov	eax, ecx

; 121  : 		{	// construct default allocator (do nothing)
; 122  : 		}

	ret	0
??0?$allocator@D@std@@QAE@XZ ENDP			; std::allocator<char>::allocator<char>
_TEXT	ENDS
PUBLIC	??0?$allocator@D@std@@QAE@ABV01@@Z		; std::allocator<char>::allocator<char>
; Function compile flags: /Ogtpy
;	COMDAT ??0?$allocator@D@std@@QAE@ABV01@@Z
_TEXT	SEGMENT
___formal$ = 8						; size = 4
??0?$allocator@D@std@@QAE@ABV01@@Z PROC			; std::allocator<char>::allocator<char>, COMDAT
; _this$ = ecx

; 124  : 	allocator(const allocator<_Ty>&) _THROW0()

	mov	eax, ecx

; 125  : 		{	// construct by copying (do nothing)
; 126  : 		}

	ret	4
??0?$allocator@D@std@@QAE@ABV01@@Z ENDP			; std::allocator<char>::allocator<char>
_TEXT	ENDS
PUBLIC	??$_DebugHeapDelete@X@std@@YAXPAX@Z		; std::_DebugHeapDelete<void>
EXTRN	_free:PROC
; Function compile flags: /Ogtpy
; File c:\program files\microsoft visual studio 8\vc\include\xdebug
;	COMDAT ??$_DebugHeapDelete@X@std@@YAXPAX@Z
_TEXT	SEGMENT
__Ptr$ = 8						; size = 4
??$_DebugHeapDelete@X@std@@YAXPAX@Z PROC		; std::_DebugHeapDelete<void>, COMDAT

; 56   : 	if (_Ptr != 0)

	mov	eax, DWORD PTR __Ptr$[esp-4]
	test	eax, eax
	je	SHORT $LN1@DebugHeapD

; 57   : 		{	// worth deleting
; 58   : 		_Ptr->~_Ty();
; 59   : 		// delete as _NORMAL_BLOCK, not _CRT_BLOCK, since we might have
; 60   : 		// facets allocated by normal new.
; 61   : 		free(_Ptr);

	mov	DWORD PTR __Ptr$[esp-4], eax
	jmp	_free
$LN1@DebugHeapD:

; 62   : 		}
; 63   : 	}

	ret	0
??$_DebugHeapDelete@X@std@@YAXPAX@Z ENDP		; std::_DebugHeapDelete<void>
_TEXT	ENDS
PUBLIC	??_7Neo_CreateObject_RandomTimer@@6B@		; Neo_CreateObject_RandomTimer::`vftable'
PUBLIC	??0Neo_CreateObject_RandomTimer@@QAE@XZ		; Neo_CreateObject_RandomTimer::Neo_CreateObject_RandomTimer
PUBLIC	??_R4Neo_CreateObject_RandomTimer@@6B@		; Neo_CreateObject_RandomTimer::`RTTI Complete Object Locator'
PUBLIC	??_R0?AVNeo_CreateObject_RandomTimer@@@8	; Neo_CreateObject_RandomTimer `RTTI Type Descriptor'
PUBLIC	??_R3Neo_CreateObject_RandomTimer@@8		; Neo_CreateObject_RandomTimer::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2Neo_CreateObject_RandomTimer@@8		; Neo_CreateObject_RandomTimer::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@Neo_CreateObject_RandomTimer@@8	; Neo_CreateObject_RandomTimer::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R1A@?0A@EA@ScriptImpClass@@8			; ScriptImpClass::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVScriptImpClass@@@8			; ScriptImpClass `RTTI Type Descriptor'
PUBLIC	??_R3ScriptImpClass@@8				; ScriptImpClass::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2ScriptImpClass@@8				; ScriptImpClass::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@ScriptClass@@8			; ScriptClass::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVScriptClass@@@8				; ScriptClass `RTTI Type Descriptor'
PUBLIC	??_R3ScriptClass@@8				; ScriptClass::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2ScriptClass@@8				; ScriptClass::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@GameObjObserverClass@@8		; GameObjObserverClass::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVGameObjObserverClass@@@8		; GameObjObserverClass `RTTI Type Descriptor'
PUBLIC	??_R3GameObjObserverClass@@8			; GameObjObserverClass::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2GameObjObserverClass@@8			; GameObjObserverClass::`RTTI Base Class Array'
EXTRN	??0ScriptImpClass@@QAE@XZ:PROC			; ScriptImpClass::ScriptImpClass
EXTRN	??_ENeo_CreateObject_RandomTimer@@UAEPAXI@Z:PROC ; Neo_CreateObject_RandomTimer::`vector deleting destructor'
EXTRN	?Get_Name@ScriptImpClass@@UAEPADXZ:PROC		; ScriptImpClass::Get_Name
EXTRN	?Attach@ScriptImpClass@@UAEXPAE@Z:PROC		; ScriptImpClass::Attach
EXTRN	?Detach@ScriptImpClass@@UAEXPAE@Z:PROC		; ScriptImpClass::Detach
EXTRN	?Destroyed@ScriptImpClass@@UAEXPAE@Z:PROC	; ScriptImpClass::Destroyed
EXTRN	?Killed@ScriptImpClass@@UAEXPAE0@Z:PROC		; ScriptImpClass::Killed
EXTRN	?Damaged@ScriptImpClass@@UAEXPAE0M@Z:PROC	; ScriptImpClass::Damaged
EXTRN	?Custom@ScriptImpClass@@UAEXPAEHH0@Z:PROC	; ScriptImpClass::Custom
EXTRN	?Sound_Heard@ScriptImpClass@@UAEXPAEABUCombatSound@@@Z:PROC ; ScriptImpClass::Sound_Heard
EXTRN	?Enemy_Seen@ScriptImpClass@@UAEXPAE0@Z:PROC	; ScriptImpClass::Enemy_Seen
EXTRN	?Action_Complete@ScriptImpClass@@UAEXPAEHW4ActionCompleteReason@@@Z:PROC ; ScriptImpClass::Action_Complete
EXTRN	?Animation_Complete@ScriptImpClass@@UAEXPAEPBD@Z:PROC ; ScriptImpClass::Animation_Complete
EXTRN	?Poked@ScriptImpClass@@UAEXPAE0@Z:PROC		; ScriptImpClass::Poked
EXTRN	?Entered@ScriptImpClass@@UAEXPAE0@Z:PROC	; ScriptImpClass::Entered
EXTRN	?Exited@ScriptImpClass@@UAEXPAE0@Z:PROC		; ScriptImpClass::Exited
EXTRN	?Owner@ScriptImpClass@@UAEPAEXZ:PROC		; ScriptImpClass::Owner
EXTRN	?Get_Owner_Ptr@ScriptImpClass@@UAEPAPAEXZ:PROC	; ScriptImpClass::Get_Owner_Ptr
EXTRN	?Set_Parameters_String@ScriptImpClass@@UAEXPBD@Z:PROC ; ScriptImpClass::Set_Parameters_String
EXTRN	?Get_Parameters_String@ScriptImpClass@@UAEXPADI@Z:PROC ; ScriptImpClass::Get_Parameters_String
EXTRN	?Save@ScriptImpClass@@UAEXAAE@Z:PROC		; ScriptImpClass::Save
EXTRN	?Load@ScriptImpClass@@UAEXAAE@Z:PROC		; ScriptImpClass::Load
EXTRN	?Save_Data@ScriptImpClass@@UAEXAAE@Z:PROC	; ScriptImpClass::Save_Data
EXTRN	?Load_Data@ScriptImpClass@@UAEXAAE@Z:PROC	; ScriptImpClass::Load_Data
EXTRN	?Register_Auto_Save_Variables@ScriptImpClass@@UAEXXZ:PROC ; ScriptImpClass::Register_Auto_Save_Variables
;	COMDAT ??_R2GameObjObserverClass@@8
rdata$r	SEGMENT
??_R2GameObjObserverClass@@8 DD FLAT:??_R1A@?0A@EA@GameObjObserverClass@@8 ; GameObjObserverClass::`RTTI Base Class Array'
rdata$r	ENDS
;	COMDAT ??_R3GameObjObserverClass@@8
rdata$r	SEGMENT
??_R3GameObjObserverClass@@8 DD 00H			; GameObjObserverClass::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	01H
	DD	FLAT:??_R2GameObjObserverClass@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVGameObjObserverClass@@@8
_DATA	SEGMENT
??_R0?AVGameObjObserverClass@@@8 DD FLAT:??_7type_info@@6B@ ; GameObjObserverClass `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVGameObjObserverClass@@', 00H
_DATA	ENDS
;	COMDAT ??_R1A@?0A@EA@GameObjObserverClass@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@GameObjObserverClass@@8 DD FLAT:??_R0?AVGameObjObserverClass@@@8 ; GameObjObserverClass::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	00H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3GameObjObserverClass@@8
rdata$r	ENDS
;	COMDAT ??_R2ScriptClass@@8
rdata$r	SEGMENT
??_R2ScriptClass@@8 DD FLAT:??_R1A@?0A@EA@ScriptClass@@8 ; ScriptClass::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@GameObjObserverClass@@8
rdata$r	ENDS
;	COMDAT ??_R3ScriptClass@@8
rdata$r	SEGMENT
??_R3ScriptClass@@8 DD 00H				; ScriptClass::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	02H
	DD	FLAT:??_R2ScriptClass@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVScriptClass@@@8
_DATA	SEGMENT
??_R0?AVScriptClass@@@8 DD FLAT:??_7type_info@@6B@	; ScriptClass `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVScriptClass@@', 00H
_DATA	ENDS
;	COMDAT ??_R1A@?0A@EA@ScriptClass@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@ScriptClass@@8 DD FLAT:??_R0?AVScriptClass@@@8 ; ScriptClass::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	01H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3ScriptClass@@8
rdata$r	ENDS
;	COMDAT ??_R2ScriptImpClass@@8
rdata$r	SEGMENT
??_R2ScriptImpClass@@8 DD FLAT:??_R1A@?0A@EA@ScriptImpClass@@8 ; ScriptImpClass::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@ScriptClass@@8
	DD	FLAT:??_R1A@?0A@EA@GameObjObserverClass@@8
rdata$r	ENDS
;	COMDAT ??_R3ScriptImpClass@@8
rdata$r	SEGMENT
??_R3ScriptImpClass@@8 DD 00H				; ScriptImpClass::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	03H
	DD	FLAT:??_R2ScriptImpClass@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVScriptImpClass@@@8
_DATA	SEGMENT
??_R0?AVScriptImpClass@@@8 DD FLAT:??_7type_info@@6B@	; ScriptImpClass `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVScriptImpClass@@', 00H
_DATA	ENDS
;	COMDAT ??_R1A@?0A@EA@ScriptImpClass@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@ScriptImpClass@@8 DD FLAT:??_R0?AVScriptImpClass@@@8 ; ScriptImpClass::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	02H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3ScriptImpClass@@8
rdata$r	ENDS
;	COMDAT ??_R1A@?0A@EA@Neo_CreateObject_RandomTimer@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@Neo_CreateObject_RandomTimer@@8 DD FLAT:??_R0?AVNeo_CreateObject_RandomTimer@@@8 ; Neo_CreateObject_RandomTimer::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	03H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3Neo_CreateObject_RandomTimer@@8
rdata$r	ENDS
;	COMDAT ??_R2Neo_CreateObject_RandomTimer@@8
rdata$r	SEGMENT
??_R2Neo_CreateObject_RandomTimer@@8 DD FLAT:??_R1A@?0A@EA@Neo_CreateObject_RandomTimer@@8 ; Neo_CreateObject_RandomTimer::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@ScriptImpClass@@8
	DD	FLAT:??_R1A@?0A@EA@ScriptClass@@8
	DD	FLAT:??_R1A@?0A@EA@GameObjObserverClass@@8
rdata$r	ENDS
;	COMDAT ??_R3Neo_CreateObject_RandomTimer@@8
rdata$r	SEGMENT
??_R3Neo_CreateObject_RandomTimer@@8 DD 00H		; Neo_CreateObject_RandomTimer::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	04H
	DD	FLAT:??_R2Neo_CreateObject_RandomTimer@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVNeo_CreateObject_RandomTimer@@@8
_DATA	SEGMENT
??_R0?AVNeo_CreateObject_RandomTimer@@@8 DD FLAT:??_7type_info@@6B@ ; Neo_CreateObject_RandomTimer `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVNeo_CreateObject_RandomTimer@@', 00H
_DATA	ENDS
;	COMDAT ??_R4Neo_CreateObject_RandomTimer@@6B@
rdata$r	SEGMENT
??_R4Neo_CreateObject_RandomTimer@@6B@ DD 00H		; Neo_CreateObject_RandomTimer::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AVNeo_CreateObject_RandomTimer@@@8
	DD	FLAT:??_R3Neo_CreateObject_RandomTimer@@8
rdata$r	ENDS
;	COMDAT ??_7Neo_CreateObject_RandomTimer@@6B@
CONST	SEGMENT
??_7Neo_CreateObject_RandomTimer@@6B@ DD FLAT:??_R4Neo_CreateObject_RandomTimer@@6B@ ; Neo_CreateObject_RandomTimer::`vftable'
	DD	FLAT:??_ENeo_CreateObject_RandomTimer@@UAEPAXI@Z
	DD	FLAT:?Get_Name@ScriptImpClass@@UAEPADXZ
	DD	FLAT:?Attach@ScriptImpClass@@UAEXPAE@Z
	DD	FLAT:?Detach@ScriptImpClass@@UAEXPAE@Z
	DD	FLAT:?Created@Neo_CreateObject_RandomTimer@@EAEXPAE@Z
	DD	FLAT:?Destroyed@ScriptImpClass@@UAEXPAE@Z
	DD	FLAT:?Killed@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Damaged@ScriptImpClass@@UAEXPAE0M@Z
	DD	FLAT:?Custom@ScriptImpClass@@UAEXPAEHH0@Z
	DD	FLAT:?Sound_Heard@ScriptImpClass@@UAEXPAEABUCombatSound@@@Z
	DD	FLAT:?Enemy_Seen@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Action_Complete@ScriptImpClass@@UAEXPAEHW4ActionCompleteReason@@@Z
	DD	FLAT:?Timer_Expired@Neo_CreateObject_RandomTimer@@EAEXPAEH@Z
	DD	FLAT:?Animation_Complete@ScriptImpClass@@UAEXPAEPBD@Z
	DD	FLAT:?Poked@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Entered@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Exited@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Owner@ScriptImpClass@@UAEPAEXZ
	DD	FLAT:?Get_Owner_Ptr@ScriptImpClass@@UAEPAPAEXZ
	DD	FLAT:?Set_Parameters_String@ScriptImpClass@@UAEXPBD@Z
	DD	FLAT:?Get_Parameters_String@ScriptImpClass@@UAEXPADI@Z
	DD	FLAT:?Save@ScriptImpClass@@UAEXAAE@Z
	DD	FLAT:?Load@ScriptImpClass@@UAEXAAE@Z
	DD	FLAT:?Save_Data@ScriptImpClass@@UAEXAAE@Z
	DD	FLAT:?Load_Data@ScriptImpClass@@UAEXAAE@Z
	DD	FLAT:?Register_Auto_Save_Variables@ScriptImpClass@@UAEXXZ
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ??0Neo_CreateObject_RandomTimer@@QAE@XZ
_TEXT	SEGMENT
??0Neo_CreateObject_RandomTimer@@QAE@XZ PROC		; Neo_CreateObject_RandomTimer::Neo_CreateObject_RandomTimer, COMDAT
; _this$ = ecx
	push	esi
	mov	esi, ecx
	call	??0ScriptImpClass@@QAE@XZ		; ScriptImpClass::ScriptImpClass
	mov	DWORD PTR [esi], OFFSET ??_7Neo_CreateObject_RandomTimer@@6B@
	mov	eax, esi
	pop	esi
	ret	0
??0Neo_CreateObject_RandomTimer@@QAE@XZ ENDP		; Neo_CreateObject_RandomTimer::Neo_CreateObject_RandomTimer
_TEXT	ENDS
PUBLIC	??_7Neo_Vehicle_AI@@6B@				; Neo_Vehicle_AI::`vftable'
PUBLIC	??0Neo_Vehicle_AI@@QAE@XZ			; Neo_Vehicle_AI::Neo_Vehicle_AI
PUBLIC	??_R4Neo_Vehicle_AI@@6B@			; Neo_Vehicle_AI::`RTTI Complete Object Locator'
PUBLIC	??_R0?AVNeo_Vehicle_AI@@@8			; Neo_Vehicle_AI `RTTI Type Descriptor'
PUBLIC	??_R3Neo_Vehicle_AI@@8				; Neo_Vehicle_AI::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2Neo_Vehicle_AI@@8				; Neo_Vehicle_AI::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@Neo_Vehicle_AI@@8			; Neo_Vehicle_AI::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	?Damaged@Neo_Vehicle_AI@@EAEXPAE0M@Z		; Neo_Vehicle_AI::Damaged
PUBLIC	?Custom@Neo_Vehicle_AI@@EAEXPAEHH0@Z		; Neo_Vehicle_AI::Custom
PUBLIC	?Enemy_Seen@Neo_Vehicle_AI@@EAEXPAE0@Z		; Neo_Vehicle_AI::Enemy_Seen
PUBLIC	?Timer_Expired@Neo_Vehicle_AI@@EAEXPAEH@Z	; Neo_Vehicle_AI::Timer_Expired
EXTRN	??1ScriptImpClass@@UAE@XZ:PROC			; ScriptImpClass::~ScriptImpClass
EXTRN	___CxxFrameHandler3:PROC
EXTRN	??_ENeo_Vehicle_AI@@UAEPAXI@Z:PROC		; Neo_Vehicle_AI::`vector deleting destructor'
;	COMDAT ??_R1A@?0A@EA@Neo_Vehicle_AI@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@Neo_Vehicle_AI@@8 DD FLAT:??_R0?AVNeo_Vehicle_AI@@@8 ; Neo_Vehicle_AI::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	03H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3Neo_Vehicle_AI@@8
rdata$r	ENDS
;	COMDAT ??_R2Neo_Vehicle_AI@@8
rdata$r	SEGMENT
??_R2Neo_Vehicle_AI@@8 DD FLAT:??_R1A@?0A@EA@Neo_Vehicle_AI@@8 ; Neo_Vehicle_AI::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@ScriptImpClass@@8
	DD	FLAT:??_R1A@?0A@EA@ScriptClass@@8
	DD	FLAT:??_R1A@?0A@EA@GameObjObserverClass@@8
rdata$r	ENDS
;	COMDAT ??_R3Neo_Vehicle_AI@@8
rdata$r	SEGMENT
??_R3Neo_Vehicle_AI@@8 DD 00H				; Neo_Vehicle_AI::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	04H
	DD	FLAT:??_R2Neo_Vehicle_AI@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVNeo_Vehicle_AI@@@8
_DATA	SEGMENT
??_R0?AVNeo_Vehicle_AI@@@8 DD FLAT:??_7type_info@@6B@	; Neo_Vehicle_AI `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVNeo_Vehicle_AI@@', 00H
_DATA	ENDS
;	COMDAT ??_R4Neo_Vehicle_AI@@6B@
rdata$r	SEGMENT
??_R4Neo_Vehicle_AI@@6B@ DD 00H				; Neo_Vehicle_AI::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AVNeo_Vehicle_AI@@@8
	DD	FLAT:??_R3Neo_Vehicle_AI@@8
rdata$r	ENDS
;	COMDAT ??_7Neo_Vehicle_AI@@6B@
CONST	SEGMENT
??_7Neo_Vehicle_AI@@6B@ DD FLAT:??_R4Neo_Vehicle_AI@@6B@ ; Neo_Vehicle_AI::`vftable'
	DD	FLAT:??_ENeo_Vehicle_AI@@UAEPAXI@Z
	DD	FLAT:?Get_Name@ScriptImpClass@@UAEPADXZ
	DD	FLAT:?Attach@ScriptImpClass@@UAEXPAE@Z
	DD	FLAT:?Detach@ScriptImpClass@@UAEXPAE@Z
	DD	FLAT:?Created@Neo_Vehicle_AI@@EAEXPAE@Z
	DD	FLAT:?Destroyed@Neo_Vehicle_AI@@EAEXPAE@Z
	DD	FLAT:?Killed@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Damaged@Neo_Vehicle_AI@@EAEXPAE0M@Z
	DD	FLAT:?Custom@Neo_Vehicle_AI@@EAEXPAEHH0@Z
	DD	FLAT:?Sound_Heard@Neo_Vehicle_AI@@EAEXPAEABUCombatSound@@@Z
	DD	FLAT:?Enemy_Seen@Neo_Vehicle_AI@@EAEXPAE0@Z
	DD	FLAT:?Action_Complete@Neo_Vehicle_AI@@EAEXPAEHW4ActionCompleteReason@@@Z
	DD	FLAT:?Timer_Expired@Neo_Vehicle_AI@@EAEXPAEH@Z
	DD	FLAT:?Animation_Complete@ScriptImpClass@@UAEXPAEPBD@Z
	DD	FLAT:?Poked@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Entered@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Exited@ScriptImpClass@@UAEXPAE0@Z
	DD	FLAT:?Owner@ScriptImpClass@@UAEPAEXZ
	DD	FLAT:?Get_Owner_Ptr@ScriptImpClass@@UAEPAPAEXZ
	DD	FLAT:?Set_Parameters_String@ScriptImpClass@@UAEXPBD@Z
	DD	FLAT:?Get_Parameters_String@ScriptImpClass@@UAEXPADI@Z
	DD	FLAT:?Save@ScriptImpClass@@UAEXAAE@Z
	DD	FLAT:?Load@ScriptImpClass@@UAEXAAE@Z
	DD	FLAT:?Save_Data@ScriptImpClass@@UAEXAAE@Z
	DD	FLAT:?Load_Data@ScriptImpClass@@UAEXAAE@Z
	DD	FLAT:?Register_Auto_Save_Variables@Neo_Vehicle_AI@@EAEXXZ
CONST	ENDS
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??0Neo_Vehicle_AI@@QAE@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??0Neo_Vehicle_AI@@QAE@XZ$0
__ehfuncinfo$??0Neo_Vehicle_AI@@QAE@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??0Neo_Vehicle_AI@@QAE@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	01H
; Function compile flags: /Ogtpy
xdata$x	ENDS
;	COMDAT ??0Neo_Vehicle_AI@@QAE@XZ
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
??0Neo_Vehicle_AI@@QAE@XZ PROC				; Neo_Vehicle_AI::Neo_Vehicle_AI, COMDAT
; _this$ = ecx
	push	-1
	push	__ehhandler$??0Neo_Vehicle_AI@@QAE@XZ
	mov	eax, DWORD PTR fs:0
	push	eax
	mov	DWORD PTR fs:0, esp
	push	ecx
	push	esi
	mov	esi, ecx
	mov	DWORD PTR _this$[esp+20], esi
	call	??0ScriptImpClass@@QAE@XZ		; ScriptImpClass::ScriptImpClass
	fldz
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	fst	DWORD PTR [esp+4]
	lea	ecx, DWORD PTR [esi+32]
	fstp	DWORD PTR [esp]
	mov	DWORD PTR __$EHRec$[esp+40], 0
	mov	DWORD PTR [esi], OFFSET ??_7Neo_Vehicle_AI@@6B@
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3
	fldz
	sub	esp, 12					; 0000000cH
	fst	DWORD PTR [esp+8]
	fst	DWORD PTR [esp+4]
	lea	ecx, DWORD PTR [esi+64]
	fstp	DWORD PTR [esp]
	call	??0Vector3@@QAE@MMM@Z			; Vector3::Vector3
	mov	ecx, DWORD PTR __$EHRec$[esp+20]
	mov	eax, esi
	pop	esi
	mov	DWORD PTR fs:0, ecx
	add	esp, 16					; 00000010H
	ret	0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??0Neo_Vehicle_AI@@QAE@XZ$0:
	mov	ecx, DWORD PTR _this$[ebp]
	jmp	??1ScriptImpClass@@UAE@XZ		; ScriptImpClass::~ScriptImpClass
__ehhandler$??0Neo_Vehicle_AI@@QAE@XZ:
	mov	eax, OFFSET __ehfuncinfo$??0Neo_Vehicle_AI@@QAE@XZ
	jmp	___CxxFrameHandler3
text$x	ENDS
??0Neo_Vehicle_AI@@QAE@XZ ENDP				; Neo_Vehicle_AI::Neo_Vehicle_AI
PUBLIC	??1Neo_CreateObject_RandomTimer@@UAE@XZ		; Neo_CreateObject_RandomTimer::~Neo_CreateObject_RandomTimer
; Function compile flags: /Ogtpy
;	COMDAT ??1Neo_CreateObject_RandomTimer@@UAE@XZ
_TEXT	SEGMENT
??1Neo_CreateObject_RandomTimer@@UAE@XZ PROC		; Neo_CreateObject_RandomTimer::~Neo_CreateObject_RandomTimer, COMDAT
; _this$ = ecx
	jmp	??1ScriptImpClass@@UAE@XZ		; ScriptImpClass::~ScriptImpClass
??1Neo_CreateObject_RandomTimer@@UAE@XZ ENDP		; Neo_CreateObject_RandomTimer::~Neo_CreateObject_RandomTimer
_TEXT	ENDS
PUBLIC	??1Neo_Vehicle_AI@@UAE@XZ			; Neo_Vehicle_AI::~Neo_Vehicle_AI
; Function compile flags: /Ogtpy
;	COMDAT ??1Neo_Vehicle_AI@@UAE@XZ
_TEXT	SEGMENT
??1Neo_Vehicle_AI@@UAE@XZ PROC				; Neo_Vehicle_AI::~Neo_Vehicle_AI, COMDAT
; _this$ = ecx
	jmp	??1ScriptImpClass@@UAE@XZ		; ScriptImpClass::~ScriptImpClass
??1Neo_Vehicle_AI@@UAE@XZ ENDP				; Neo_Vehicle_AI::~Neo_Vehicle_AI
_TEXT	ENDS
PUBLIC	__real@41200000
PUBLIC	??_C@_08JOBCAEBO@MaxRange?$AA@			; `string'
PUBLIC	?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z		; Neo_Vehicle_AI::Hunt
;	COMDAT __real@41200000
; File d:\source code\stgm\scripts.h
CONST	SEGMENT
__real@41200000 DD 041200000r			; 10
CONST	ENDS
;	COMDAT ??_C@_08JOBCAEBO@MaxRange?$AA@
CONST	SEGMENT
??_C@_08JOBCAEBO@MaxRange?$AA@ DB 'MaxRange', 00H	; `string'
; Function compile flags: /Ogtpy
; File d:\source code\stgm\neo.cpp
CONST	ENDS
;	COMDAT ?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z
_TEXT	SEGMENT
_deviation$56601 = -236					; size = 4
_distance$56598 = -236					; size = 4
_pos$56594 = -232					; size = 12
_mypos$56596 = -220					; size = 12
$T61052 = -208						; size = 12
$T61051 = -208						; size = 12
_params$56606 = -196					; size = 196
_params$56604 = -196					; size = 196
_obj$ = 8						; size = 4
_target$ = 12						; size = 4
?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z PROC			; Neo_Vehicle_AI::Hunt, COMDAT
; _this$ = ecx

; 315  : {

	sub	esp, 236				; 000000ecH
	push	ebp

; 316  : 	if (target) //Can't do anything without a target

	mov	ebp, DWORD PTR _target$[esp+236]
	test	ebp, ebp
	push	esi
	mov	esi, ecx
	je	$LN5@Hunt
	push	ebx
	push	edi

; 317  : 	{
; 318  : 		hunting = true; //The hunt has begun!

	mov	ebx, 1
	mov	BYTE PTR [esi+47], bl

; 319  : 		guarding = false; //W00T! no more guard duty!

	mov	BYTE PTR [esi+45], 0

; 320  : 
; 321  : 		Vector3 pos = Commands->Get_Position(target);

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+64]
	lea	eax, DWORD PTR $T61051[esp+252]
	push	ebp
	push	eax
	call	edx
	mov	ecx, DWORD PTR [eax]

; 322  : 		Vector3 mypos = Commands->Get_Position(obj);

	mov	edi, DWORD PTR _obj$[esp+256]
	mov	DWORD PTR _pos$56594[esp+260], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR _pos$56594[esp+264], edx
	mov	eax, DWORD PTR [eax+8]
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR $T61052[esp+260]
	mov	DWORD PTR _pos$56594[esp+268], eax
	mov	eax, DWORD PTR [edx+64]
	push	edi
	push	ecx
	call	eax
	mov	ecx, DWORD PTR [eax]
	mov	DWORD PTR _mypos$56596[esp+268], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR _mypos$56596[esp+272], edx
	mov	eax, DWORD PTR [eax+8]
	mov	DWORD PTR _mypos$56596[esp+276], eax

; 323  : 		float distance = Commands->Get_Distance(pos,mypos);

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR _mypos$56596[esp+268]
	push	ecx
	mov	ecx, DWORD PTR [eax+256]
	lea	edx, DWORD PTR _pos$56594[esp+272]
	push	edx
	call	ecx
	fstp	DWORD PTR _distance$56598[esp+276]
	add	esp, 24					; 00000018H

; 324  : 		float max = Get_Float_Parameter("MaxRange");

	push	OFFSET ??_C@_08JOBCAEBO@MaxRange?$AA@
	mov	ecx, esi
	call	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z ; ScriptImpClass::Get_Float_Parameter

; 325  : 
; 326  : 		current_priority += 1; //override last hunt command
; 327  : 
; 328  : 		if (distance > max)

	fcom	DWORD PTR _distance$56598[esp+252]
	add	DWORD PTR [esi+52], ebx
	fnstsw	ax
	test	ah, 5
	jp	$LN21@Hunt

; 329  : 		{
; 330  : 			float deviation;
; 331  : 
; 332  : 			if (max > 10)

	fld	DWORD PTR __real@41200000
	fcom	ST(1)
	fnstsw	ax
	test	ah, 5
	jp	SHORT $LN24@Hunt

; 333  : 				deviation = max - 10;

	fsubp	ST(1), ST(0)

; 334  : 			else

	jmp	SHORT $LN26@Hunt
$LN24@Hunt:

; 329  : 		{
; 330  : 			float deviation;
; 331  : 
; 332  : 			if (max > 10)

	fstp	ST(0)
$LN26@Hunt:

; 335  : 				deviation = max;
; 336  : 
; 337  : 			ActionParamsStruct params;

	lea	ecx, DWORD PTR _params$56604[esp+252]
	fstp	DWORD PTR _deviation$56601[esp+252]
	call	??0ActionParamsStruct@@QAE@XZ		; ActionParamsStruct::ActionParamsStruct

; 338  : 			params.Set_Basic(this,current_priority,10);
; 339  : 			params.Set_Goto_Location(pos,1,deviation,false);

	fld	DWORD PTR _pos$56594[esp+252]
	mov	edx, DWORD PTR [esi+52]
	fstp	DWORD PTR _params$56604[esp+284]
	fld	DWORD PTR _pos$56594[esp+256]
	mov	eax, DWORD PTR [esi+4]
	fstp	DWORD PTR _params$56604[esp+288]

; 340  : 			params.Move_Backwards = Set_Direction(obj);

	push	edi
	fld	DWORD PTR _pos$56594[esp+264]
	mov	ecx, esi
	fstp	DWORD PTR _params$56604[esp+296]
	mov	DWORD PTR _params$56604[esp+256], edx
	fld1
	mov	DWORD PTR _params$56604[esp+260], eax
	fstp	DWORD PTR _params$56604[esp+316]
	mov	DWORD PTR _params$56604[esp+424], -1
	fld	DWORD PTR _deviation$56601[esp+256]
	mov	BYTE PTR _params$56604[esp+326], 0
	fstp	DWORD PTR _params$56604[esp+320]
	call	?Set_Direction@Neo_Vehicle_AI@@AAE_NPAE@Z ; Neo_Vehicle_AI::Set_Direction

; 341  : 			Commands->Action_Goto(obj,params);

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR _params$56604[esp+252]
	push	ecx
	mov	BYTE PTR _params$56604[esp+324], al
	mov	eax, DWORD PTR [edx+16]
	push	edi
	call	eax

; 342  : 			moving = true;

	mov	BYTE PTR [esi+46], bl

; 343  : 		}
; 344  : 		else

	jmp	SHORT $LN27@Hunt
$LN21@Hunt:

; 345  : 		{
; 346  : 			ActionParamsStruct params;

	lea	ecx, DWORD PTR _params$56606[esp+252]
	fstp	ST(0)
	call	??0ActionParamsStruct@@QAE@XZ		; ActionParamsStruct::ActionParamsStruct

; 347  : 			params.Set_Basic(this,current_priority,20);

	mov	ecx, DWORD PTR [esi+52]
	mov	edx, DWORD PTR [esi+4]
	mov	DWORD PTR _params$56606[esp+252], ecx

; 348  : 			params.Set_Attack_Hold(target,distance,0,Set_Ammo(target),true);

	push	ebp
	mov	ecx, esi
	mov	DWORD PTR _params$56606[esp+260], edx
	mov	DWORD PTR _params$56606[esp+424], -1
	call	?Set_Ammo@Neo_Vehicle_AI@@AAE_NPAE@Z	; Neo_Vehicle_AI::Set_Ammo
	fld	DWORD PTR _distance$56598[esp+252]

; 349  : 			Commands->Action_Attack(obj,params);

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	fstp	DWORD PTR _params$56606[esp+328]
	fldz
	mov	BYTE PTR _params$56606[esp+344], al
	lea	eax, DWORD PTR _params$56606[esp+252]
	fstp	DWORD PTR _params$56606[esp+332]
	push	eax
	mov	DWORD PTR _params$56606[esp+344], ebp
	mov	BYTE PTR _params$56606[esp+364], bl
	mov	edx, DWORD PTR [ecx+20]
	push	edi
	call	edx
$LN27@Hunt:

; 350  : 		}
; 351  : 
; 352  : 		Commands->Start_Timer(obj,this,attack_timer,22);

	fld	DWORD PTR [esi+60]
	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	add	esp, 8
	push	22					; 00000016H
	push	ecx
	mov	ecx, DWORD PTR [eax+128]
	fstp	DWORD PTR [esp]
	push	esi
	push	edi
	call	ecx
	add	esp, 16					; 00000010H
	pop	edi
	pop	ebx
$LN5@Hunt:
	pop	esi
	pop	ebp

; 353  : 	}
; 354  : }

	add	esp, 236				; 000000ecH
	ret	8
?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z ENDP			; Neo_Vehicle_AI::Hunt
_TEXT	ENDS
PUBLIC	__real@41000000
PUBLIC	?Guard@Neo_Vehicle_AI@@AAEXPAE0@Z		; Neo_Vehicle_AI::Guard
;	COMDAT __real@41000000
; File d:\source code\stgm\scripts.h
CONST	SEGMENT
__real@41000000 DD 041000000r			; 8
; Function compile flags: /Ogtpy
; File d:\source code\stgm\neo.cpp
CONST	ENDS
;	COMDAT ?Guard@Neo_Vehicle_AI@@AAEXPAE0@Z
_TEXT	SEGMENT
_pos$56613 = -232					; size = 12
_mypos$56615 = -220					; size = 12
$T61096 = -208						; size = 12
$T61095 = -208						; size = 12
_params$56619 = -196					; size = 196
_obj$ = 8						; size = 4
_target$ = 12						; size = 4
?Guard@Neo_Vehicle_AI@@AAEXPAE0@Z PROC			; Neo_Vehicle_AI::Guard, COMDAT
; _this$ = ecx

; 358  : 	if (target) //Check for a target

	mov	eax, DWORD PTR _target$[esp-4]
	sub	esp, 232				; 000000e8H
	test	eax, eax
	push	esi
	mov	esi, ecx
	je	$LN2@Guard
	push	edi

; 359  : 	{
; 360  : 		guarding = true; //time for guard duty

	mov	BYTE PTR [esi+45], 1

; 361  : 		hunting = false; //any hunts have ended

	mov	BYTE PTR [esi+47], 0

; 362  : 
; 363  : 		Vector3 pos = Commands->Get_Position(target);

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+64]
	push	eax
	lea	eax, DWORD PTR $T61095[esp+244]
	push	eax
	call	edx
	mov	ecx, DWORD PTR [eax]

; 364  : 		Vector3 mypos = Commands->Get_Position(obj);

	mov	edi, DWORD PTR _obj$[esp+244]
	mov	DWORD PTR _pos$56613[esp+248], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR _pos$56613[esp+252], edx
	mov	eax, DWORD PTR [eax+8]
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR $T61096[esp+248]
	mov	DWORD PTR _pos$56613[esp+256], eax
	mov	eax, DWORD PTR [edx+64]
	push	edi
	push	ecx
	call	eax
	mov	ecx, DWORD PTR [eax]
	mov	DWORD PTR _mypos$56615[esp+256], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR _mypos$56615[esp+260], edx
	mov	eax, DWORD PTR [eax+8]
	mov	DWORD PTR _mypos$56615[esp+264], eax

; 365  : 		float distance = Commands->Get_Distance(pos,mypos);

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR _mypos$56615[esp+256]
	push	ecx
	mov	ecx, DWORD PTR [eax+256]
	lea	edx, DWORD PTR _pos$56613[esp+260]
	push	edx
	call	ecx

; 366  : 
; 367  : 		current_priority += 1; //override last command
; 368  : 
; 369  : 		if (distance > 10)

	fcomp	DWORD PTR __real@41200000
	add	DWORD PTR [esi+52], 1
	add	esp, 24					; 00000018H
	fnstsw	ax
	test	ah, 65					; 00000041H
	jne	SHORT $LN1@Guard

; 370  : 		{
; 371  : 			ActionParamsStruct params;

	lea	ecx, DWORD PTR _params$56619[esp+240]
	call	??0ActionParamsStruct@@QAE@XZ		; ActionParamsStruct::ActionParamsStruct

; 372  : 			params.Set_Basic(this,current_priority,10);
; 373  : 			params.Set_Goto_Location(pos,1,8,false);

	fld	DWORD PTR _pos$56613[esp+240]
	mov	edx, DWORD PTR [esi+52]
	fstp	DWORD PTR _params$56619[esp+272]
	fld	DWORD PTR _pos$56613[esp+244]
	mov	eax, DWORD PTR [esi+4]
	fstp	DWORD PTR _params$56619[esp+276]

; 374  : 			params.Move_Backwards = Set_Direction(obj);

	push	edi
	fld	DWORD PTR _pos$56613[esp+252]
	mov	ecx, esi
	fstp	DWORD PTR _params$56619[esp+284]
	mov	DWORD PTR _params$56619[esp+244], edx
	fld1
	mov	DWORD PTR _params$56619[esp+248], eax
	fstp	DWORD PTR _params$56619[esp+304]
	mov	DWORD PTR _params$56619[esp+412], -1
	fld	DWORD PTR __real@41000000
	mov	BYTE PTR _params$56619[esp+314], 0
	fstp	DWORD PTR _params$56619[esp+308]
	call	?Set_Direction@Neo_Vehicle_AI@@AAE_NPAE@Z ; Neo_Vehicle_AI::Set_Direction

; 375  : 			Commands->Action_Goto(obj,params);

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR _params$56619[esp+240]
	push	ecx
	mov	BYTE PTR _params$56619[esp+312], al
	mov	eax, DWORD PTR [edx+16]
	push	edi
	call	eax
	add	esp, 8

; 376  : 			moving = true;

	mov	BYTE PTR [esi+46], 1
$LN1@Guard:

; 377  : 		}
; 378  : 
; 379  : 		Commands->Start_Timer(obj,this,guard_timer,11);

	fld	DWORD PTR [esi+56]
	push	11					; 0000000bH
	push	ecx
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	fstp	DWORD PTR [esp]
	mov	edx, DWORD PTR [ecx+128]
	push	esi
	push	edi
	call	edx
	add	esp, 16					; 00000010H
	pop	edi
$LN2@Guard:
	pop	esi

; 380  : 	}
; 381  : }

	add	esp, 232				; 000000e8H
	ret	8
?Guard@Neo_Vehicle_AI@@AAEXPAE0@Z ENDP			; Neo_Vehicle_AI::Guard
_TEXT	ENDS
PUBLIC	?Select_Target@Neo_Vehicle_AI@@AAEPAEPAE0@Z	; Neo_Vehicle_AI::Select_Target
; Function compile flags: /Ogtpy
;	COMDAT ?Select_Target@Neo_Vehicle_AI@@AAEPAEPAE0@Z
_TEXT	SEGMENT
$T61127 = -24						; size = 12
$T61125 = -24						; size = 12
$T61116 = -24						; size = 12
$T61126 = -12						; size = 12
$T61124 = -12						; size = 12
$T61117 = -12						; size = 12
_obj$ = 8						; size = 4
_distance$56663 = 12					; size = 4
_target$ = 12						; size = 4
?Select_Target@Neo_Vehicle_AI@@AAEPAEPAE0@Z PROC	; Neo_Vehicle_AI::Select_Target, COMDAT
; _this$ = ecx

; 384  : {

	sub	esp, 24					; 00000018H
	push	ebx
	push	ebp
	push	esi
	push	edi

; 385  : 	//This function determines threats between old and new targets
; 386  : 	GameObject *selected = 0; //if threat rating skips,this stays 0
; 387  : 							//if threat keeps old,this stays 0
; 388  : 
; 389  : 	if (target) //First see if there is a valid target

	mov	edi, DWORD PTR _target$[esp+36]
	test	edi, edi
	mov	esi, ecx
	je	$LN50@Select_Tar

; 390  : 	{
; 391  : 		GameObject *old = Commands->Find_Object(targetID);

	mov	eax, DWORD PTR [esi+28]
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+96]
	push	eax
	call	edx
	mov	ebx, eax
	add	esp, 4

; 392  : 		if (old) //is there a current target?

	test	ebx, ebx
	je	$LN46@Select_Tar

; 393  : 		{
; 394  : 			unsigned int newID = Commands->Get_ID(target);

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	ecx, DWORD PTR [eax+108]
	push	edi
	call	ecx
	add	esp, 4

; 395  : 
; 396  : 			/******************Threat Rating System**********************/
; 397  : 
; 398  : 			if (newID != targetID) //is this a new target

	cmp	eax, DWORD PTR [esi+28]
	je	$LN50@Select_Tar

; 399  : 			{
; 400  : 				//requires threat assessment
; 401  : 				if (Commands->Is_A_Star(target)) //Is new one a player?

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	eax, DWORD PTR [edx+280]
	push	edi
	call	eax
	add	esp, 4
	test	al, al
	je	$LN44@Select_Tar

; 402  : 				{
; 403  : 					GameObject *vehicle = Get_Vehicle(target);

	push	edi
	call	?Get_Vehicle@@YAPAEPAE@Z		; Get_Vehicle

; 404  : 
; 405  : 					if (vehicle) //is player in a tank?
; 406  : 					{
; 407  : 						if (Commands->Is_A_Star(old))

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+280]
	add	esp, 4
	test	eax, eax
	push	ebx
	je	SHORT $LN43@Select_Tar
	call	edx
	add	esp, 4
	test	al, al

; 408  : 						{
; 409  : 							//Both are players,do a vehicle test
; 410  : 							vehicle = Get_Vehicle(old);

	push	ebx
	je	SHORT $LN42@Select_Tar
	call	?Get_Vehicle@@YAPAEPAE@Z		; Get_Vehicle
	add	esp, 4

; 411  : 							if (vehicle) //is the old in a vehicle?

	test	eax, eax

; 412  : 							{
; 413  : 								//both in vehicle,closer is priority
; 414  : 								selected = Get_Closest(obj,target,old);

	push	ebx
	je	SHORT $LN41@Select_Tar
	mov	eax, DWORD PTR _obj$[esp+40]
	push	edi
	push	eax
	mov	ecx, esi
	call	?Get_Closest@Neo_Vehicle_AI@@AAEPAEPAE00@Z ; Neo_Vehicle_AI::Get_Closest
	mov	ebx, eax

; 415  : 							}
; 416  : 							else //old not in a vehicle

	jmp	$LN11@Select_Tar
$LN41@Select_Tar:

; 417  : 							{
; 418  : 								//specify distance to change on
; 419  : 								float distance = Commands->Get_Distance(Commands->Get_Position(obj),Commands->Get_Position(old));

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [eax+64]
	lea	ecx, DWORD PTR $T61116[esp+44]
	push	ecx
	lea	ebp, DWORD PTR [eax+256]
	call	edx
	lea	ecx, DWORD PTR $T61117[esp+48]

; 420  : 								if (distance > Get_Float_Parameter("MaxRange"))
; 421  : 								{
; 422  : 									distance = Commands->Get_Distance(Commands->Get_Position(obj),Commands->Get_Position(target));
; 423  : 									if (distance < Get_Float_Parameter("MaxRange"))
; 424  : 										selected = target;
; 425  : 								}
; 426  : 							}
; 427  : 						}
; 428  : 						else

	jmp	$LN56@Select_Tar
$LN42@Select_Tar:

; 429  : 						{
; 430  : 							//new is a player(in tank),old is not
; 431  : 							if (Is_Soldier(old))

	call	?Is_Soldier@@YA_NPAE@Z			; Is_Soldier
	add	esp, 4
	test	al, al

; 432  : 							{
; 433  : 								//old is a soldier
; 434  : 								//switch to new target,old not worth it
; 435  : 								selected = target;

	jne	$LN55@Select_Tar

; 436  : 							}
; 437  : 							else if (Is_Vehicle(old))

	push	ebx
	call	?Is_Vehicle@@YA_NPAE@Z			; Is_Vehicle
	add	esp, 4
	test	al, al
	je	$LN50@Select_Tar

; 438  : 							{
; 439  : 								//old is a vehicle,new is a player in tank
; 440  : 								//switch based on distance
; 441  : 								selected = Get_Closest(obj,target,old);

	mov	eax, DWORD PTR _obj$[esp+36]
	push	ebx
	push	edi
	push	eax
	mov	ecx, esi
	call	?Get_Closest@Neo_Vehicle_AI@@AAEPAEPAE00@Z ; Neo_Vehicle_AI::Get_Closest
	mov	ebx, eax

; 442  : 							}
; 443  : 						}
; 444  : 					}
; 445  : 					else //new player is on foot

	jmp	$LN11@Select_Tar
$LN43@Select_Tar:

; 446  : 					{
; 447  : 						if (Commands->Is_A_Star(old))

	call	edx
	add	esp, 4
	test	al, al

; 448  : 						{
; 449  : 							//Both are players,do a vehicle test
; 450  : 							vehicle = Get_Vehicle(old);

	push	ebx
	je	SHORT $LN32@Select_Tar
	call	?Get_Vehicle@@YAPAEPAE@Z		; Get_Vehicle
	add	esp, 4

; 451  : 							if (vehicle) //is the old in a vehicle?

	test	eax, eax

; 452  : 							{
; 453  : 								//new on foot,old in vehicle
; 454  : 								//specify distance to change on
; 455  : 								float distance = Commands->Get_Distance(Commands->Get_Position(obj),Commands->Get_Position(old));

	push	ebx
	je	$LN31@Select_Tar

; 456  : 								if (distance > Get_Float_Parameter("MaxRange"))
; 457  : 								{
; 458  : 									distance = Commands->Get_Distance(Commands->Get_Position(obj),Commands->Get_Position(target));
; 459  : 									if (distance < Get_Float_Parameter("MaxRange"))
; 460  : 										selected = target;
; 461  : 								}
; 462  : 							}
; 463  : 							else //old not in a vehicle

	jmp	SHORT $LN57@Select_Tar
$LN32@Select_Tar:

; 464  : 							{
; 465  : 								//both on foot,choose one closer
; 466  : 								selected = Get_Closest(obj,target,old);
; 467  : 							}
; 468  : 						}
; 469  : 						else
; 470  : 						{
; 471  : 							//new is a player on foot,old is not a player
; 472  : 							if (Is_Soldier(old))

	call	?Is_Soldier@@YA_NPAE@Z			; Is_Soldier
	add	esp, 4
	test	al, al

; 473  : 							{
; 474  : 								//old is a soldier
; 475  : 								//switch to new target,old not worth it
; 476  : 								selected = target;

	jne	$LN55@Select_Tar

; 477  : 							}
; 478  : 							else if (Is_Vehicle(old))

	push	ebx
	call	?Is_Vehicle@@YA_NPAE@Z			; Is_Vehicle
	add	esp, 4
	test	al, al
	je	$LN50@Select_Tar

; 479  : 							{
; 480  : 								//old is a vehicle
; 481  : 								//switch if old out of range and new is close
; 482  : 								float distance = Commands->Get_Distance(Commands->Get_Position(obj),Commands->Get_Position(old));

	push	ebx
$LN57@Select_Tar:
	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [eax+64]
	lea	ecx, DWORD PTR $T61124[esp+44]
	push	ecx
	lea	ebp, DWORD PTR [eax+256]
	call	edx
	lea	ecx, DWORD PTR $T61125[esp+48]
$LN56@Select_Tar:
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	add	esp, 8
	push	eax
	mov	eax, DWORD PTR _obj$[esp+40]
	push	eax
	mov	eax, DWORD PTR [edx+64]
	push	ecx
	call	eax
	mov	ecx, DWORD PTR [ebp]
	add	esp, 8
	push	eax
	call	ecx
	fstp	DWORD PTR _distance$56663[esp+44]
	add	esp, 8

; 483  : 								if (distance > Get_Float_Parameter("MaxRange"))

	push	OFFSET ??_C@_08JOBCAEBO@MaxRange?$AA@
	mov	ecx, esi
	call	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z ; ScriptImpClass::Get_Float_Parameter
	fcomp	DWORD PTR _distance$56663[esp+36]
	fnstsw	ax
	test	ah, 5
	jp	$LN50@Select_Tar

; 484  : 								{
; 485  : 									distance = Commands->Get_Distance(Commands->Get_Position(obj),Commands->Get_Position(target));

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	edx, DWORD PTR $T61126[esp+40]
	lea	ebx, DWORD PTR [eax+256]
	mov	eax, DWORD PTR [eax+64]
	push	edi
	push	edx
	call	eax
	mov	ecx, DWORD PTR _obj$[esp+44]
	add	esp, 8
	push	eax
	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	ecx
	mov	ecx, DWORD PTR [eax+64]
	lea	edx, DWORD PTR $T61127[esp+48]
	push	edx
	call	ecx
	mov	edx, DWORD PTR [ebx]
	add	esp, 8
	push	eax
	call	edx
	fstp	DWORD PTR _distance$56663[esp+44]
	add	esp, 8

; 486  : 									if (distance < Get_Float_Parameter("MaxRange"))

	push	OFFSET ??_C@_08JOBCAEBO@MaxRange?$AA@
	mov	ecx, esi
	call	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z ; ScriptImpClass::Get_Float_Parameter
	fcomp	DWORD PTR _distance$56663[esp+36]
	fnstsw	ax
	test	ah, 65					; 00000041H
	jne	$LN50@Select_Tar
$LN55@Select_Tar:

; 487  : 										selected = target;

	mov	ebx, edi
$LN11@Select_Tar:

; 531  : 	}
; 532  : 
; 533  : 	/***************Determine Specific Target*******************/
; 534  : 
; 535  : 	if (selected) //Did we determine a new target?

	test	ebx, ebx
	je	$LN50@Select_Tar

; 536  : 	{
; 537  : 		targetID = Commands->Get_ID(selected); //remember target

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+108]
	push	ebx
	call	edx
	add	esp, 4

; 538  : 		
; 539  : 		if (!hunting && !guarding) //only initiate if not doing anything

	cmp	BYTE PTR [esi+47], 0
	mov	DWORD PTR [esi+28], eax
	jne	$LN4@Select_Tar
	cmp	BYTE PTR [esi+45], 0
	jne	$LN4@Select_Tar

; 540  : 		{
; 541  : 			if (Commands->Is_A_Star(selected)) //Is it a player?

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	ecx, DWORD PTR [eax+280]
	push	ebx
	call	ecx
	add	esp, 4
	test	al, al
	je	SHORT $LN6@Select_Tar

; 542  : 			{
; 543  : 				GameObject *vehicle = Get_Vehicle(selected); 

	push	ebx
	call	?Get_Vehicle@@YAPAEPAE@Z		; Get_Vehicle
	add	esp, 4

; 544  : 
; 545  : 				if (vehicle) //Are they in a vehicle

	test	eax, eax

; 546  : 					return vehicle; //if so,return vehicle

	jne	$LN48@Select_Tar
$LN6@Select_Tar:
	pop	edi
	pop	esi
	pop	ebp

; 547  : 				else
; 548  : 					return selected; //if not,return player

	mov	eax, ebx
	pop	ebx

; 572  : }

	add	esp, 24					; 00000018H
	ret	8
$LN44@Select_Tar:

; 488  : 								}
; 489  : 							}
; 490  : 						}
; 491  : 					}
; 492  : 				}
; 493  : 				else if (Commands->Is_A_Star(old)) //Is the old guy a player?

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	ecx, DWORD PTR [eax+280]
	push	ebx
	call	ecx
	add	esp, 4
	test	al, al
	je	SHORT $LN50@Select_Tar

; 494  : 				{
; 495  : 					//old a player,new not a player
; 496  : 					GameObject *vehicle = Get_Vehicle(old);

	push	ebx
	call	?Get_Vehicle@@YAPAEPAE@Z		; Get_Vehicle
	add	esp, 4

; 497  : 					if (vehicle) //is the old in a vehicle?

	test	eax, eax

; 498  : 					{
; 499  : 						//old in vehicle
; 500  : 						if (Is_Soldier(target))

	push	edi
	je	SHORT $LN19@Select_Tar
	call	?Is_Soldier@@YA_NPAE@Z			; Is_Soldier
	add	esp, 4
	test	al, al

; 501  : 						{
; 502  : 							//new is a soldier,old is player in a tank
; 503  : 							//Perhaps an out of range check here?
; 504  : 							selected = 0; //keep old					

	jne	SHORT $LN50@Select_Tar

; 505  : 						}
; 506  : 						else if (Is_Vehicle(target))

	push	edi
	call	?Is_Vehicle@@YA_NPAE@Z			; Is_Vehicle
	add	esp, 4
	test	al, al
	je	SHORT $LN50@Select_Tar

; 507  : 						{
; 508  : 							//new is a vehicle,old is player in a tank
; 509  : 							//switch if new closer
; 510  : 							selected = Get_Closest(obj,target,old);

	mov	edx, DWORD PTR _obj$[esp+36]
	push	ebx
	push	edi
	push	edx
	mov	ecx, esi
	call	?Get_Closest@Neo_Vehicle_AI@@AAEPAEPAE00@Z ; Neo_Vehicle_AI::Get_Closest
	mov	ebx, eax

; 511  : 						}
; 512  : 					}
; 513  : 					else //old on foot

	jmp	$LN11@Select_Tar
$LN19@Select_Tar:

; 514  : 					{
; 515  : 						if (Is_Soldier(target))

	call	?Is_Soldier@@YA_NPAE@Z			; Is_Soldier
	add	esp, 4
	test	al, al
	je	SHORT $LN14@Select_Tar

; 516  : 						{
; 517  : 							//new is a soldier
; 518  : 							selected = Get_Closest(obj,target,old);

	push	ebx
$LN31@Select_Tar:
	mov	eax, DWORD PTR _obj$[esp+40]
	push	edi
	push	eax
	mov	ecx, esi
	call	?Get_Closest@Neo_Vehicle_AI@@AAEPAEPAE00@Z ; Neo_Vehicle_AI::Get_Closest
	mov	ebx, eax
	jmp	$LN11@Select_Tar
$LN14@Select_Tar:

; 519  : 						}
; 520  : 						else if (Is_Vehicle(target))

	push	edi
	call	?Is_Vehicle@@YA_NPAE@Z			; Is_Vehicle
	add	esp, 4
	test	al, al
	jne	$LN55@Select_Tar
$LN50@Select_Tar:

; 549  : 			}
; 550  : 			return selected; //nothing left but the target
; 551  : 		}
; 552  : 	}
; 553  : 	else //No new target was picked,only change if not doing anything
; 554  : 	{
; 555  : 		if (!hunting && !guarding) //only initiate if not doing anything

	cmp	BYTE PTR [esi+47], 0
	jne	SHORT $LN4@Select_Tar
	cmp	BYTE PTR [esi+45], 0
	jne	SHORT $LN4@Select_Tar

; 556  : 		{
; 557  : 			targetID = Commands->Get_ID(target); //remember target

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	eax, DWORD PTR [edx+108]
	push	edi
	call	eax
	mov	DWORD PTR [esi+28], eax

; 558  : 			if (Commands->Is_A_Star(target)) //Is it a player?

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+280]
	push	edi
	call	edx
	add	esp, 8
	test	al, al
	je	SHORT $LN1@Select_Tar

; 559  : 			{
; 560  : 				GameObject *vehicle = Get_Vehicle(target); 

	push	edi
	call	?Get_Vehicle@@YAPAEPAE@Z		; Get_Vehicle
	add	esp, 4

; 561  : 
; 562  : 				if (vehicle) //Are they in a vehicle

	test	eax, eax

; 563  : 					return vehicle; //if so,return vehicle

	jne	SHORT $LN48@Select_Tar
$LN1@Select_Tar:

; 564  : 				else
; 565  : 					return target; //if not,return player

	mov	eax, edi
	pop	edi
	pop	esi
	pop	ebp
	pop	ebx

; 572  : }

	add	esp, 24					; 00000018H
	ret	8
$LN46@Select_Tar:

; 521  : 						{
; 522  : 							//new is a vehicle,old just a player
; 523  : 							selected = target;
; 524  : 						}
; 525  : 					}
; 526  : 				}
; 527  : 			}
; 528  : 		}
; 529  : 		else	//old target was invalid
; 530  : 			targetID = 0; //forget ID

	mov	DWORD PTR [esi+28], 0

; 531  : 	}
; 532  : 
; 533  : 	/***************Determine Specific Target*******************/
; 534  : 
; 535  : 	if (selected) //Did we determine a new target?

	jmp	SHORT $LN50@Select_Tar
$LN4@Select_Tar:

; 566  : 			}
; 567  : 			return target; //nothing left but the target
; 568  : 		}
; 569  : 	}
; 570  : 
; 571  : 	return 0; //don't start new job if already working

	xor	eax, eax
$LN48@Select_Tar:
	pop	edi
	pop	esi
	pop	ebp
	pop	ebx

; 572  : }

	add	esp, 24					; 00000018H
	ret	8
?Select_Target@Neo_Vehicle_AI@@AAEPAEPAE0@Z ENDP	; Neo_Vehicle_AI::Select_Target
_TEXT	ENDS
PUBLIC	?deallocate@?$_DebugHeapAllocator@D@std@@QAEXPADI@Z ; std::_DebugHeapAllocator<char>::deallocate
; Function compile flags: /Ogtpy
; File c:\program files\microsoft visual studio 8\vc\include\xdebug
;	COMDAT ?deallocate@?$_DebugHeapAllocator@D@std@@QAEXPADI@Z
_TEXT	SEGMENT
__Ptr$ = 8						; size = 4
___formal$ = 12						; size = 4
?deallocate@?$_DebugHeapAllocator@D@std@@QAEXPADI@Z PROC ; std::_DebugHeapAllocator<char>::deallocate, COMDAT
; _this$ = ecx

; 102  : 		_DELETE_CRT_VEC(_Ptr);

	mov	eax, DWORD PTR __Ptr$[esp-4]
	test	eax, eax
	je	SHORT $LN3@deallocate
	push	eax
	call	_free
	pop	ecx
$LN3@deallocate:

; 103  : 		}

	ret	8
?deallocate@?$_DebugHeapAllocator@D@std@@QAEXPADI@Z ENDP ; std::_DebugHeapAllocator<char>::deallocate
_TEXT	ENDS
PUBLIC	??0?$_DebugHeapAllocator@D@std@@QAE@XZ		; std::_DebugHeapAllocator<char>::_DebugHeapAllocator<char>
; Function compile flags: /Ogtpy
;	COMDAT ??0?$_DebugHeapAllocator@D@std@@QAE@XZ
_TEXT	SEGMENT
??0?$_DebugHeapAllocator@D@std@@QAE@XZ PROC		; std::_DebugHeapAllocator<char>::_DebugHeapAllocator<char>, COMDAT
; _this$ = ecx
	mov	eax, ecx
	ret	0
??0?$_DebugHeapAllocator@D@std@@QAE@XZ ENDP		; std::_DebugHeapAllocator<char>::_DebugHeapAllocator<char>
_TEXT	ENDS
PUBLIC	??0?$_DebugHeapAllocator@D@std@@QAE@ABV01@@Z	; std::_DebugHeapAllocator<char>::_DebugHeapAllocator<char>
; Function compile flags: /Ogtpy
;	COMDAT ??0?$_DebugHeapAllocator@D@std@@QAE@ABV01@@Z
_TEXT	SEGMENT
___that$ = 8						; size = 4
??0?$_DebugHeapAllocator@D@std@@QAE@ABV01@@Z PROC	; std::_DebugHeapAllocator<char>::_DebugHeapAllocator<char>, COMDAT
; _this$ = ecx
	mov	eax, ecx
	ret	4
??0?$_DebugHeapAllocator@D@std@@QAE@ABV01@@Z ENDP	; std::_DebugHeapAllocator<char>::_DebugHeapAllocator<char>
_TEXT	ENDS
PUBLIC	??_C@_0BO@INLPCLGJ@d?3?2source?5code?2stgm?2scripts?4h?$AA@ ; `string'
PUBLIC	??_C@_0DN@NMBHGNIB@ScriptRegistrant?$DMclass?5Neo_Creat@ ; `string'
EXTRN	??2@YAPAXI@Z:PROC				; operator new
EXTRN	?m_setOwner@@YAXPBDI0@Z:PROC			; m_setOwner
;	COMDAT ??_C@_0BO@INLPCLGJ@d?3?2source?5code?2stgm?2scripts?4h?$AA@
; File d:\source code\stgm\scripts.h
CONST	SEGMENT
??_C@_0BO@INLPCLGJ@d?3?2source?5code?2stgm?2scripts?4h?$AA@ DB 'd:\source'
	DB	' code\stgm\scripts.h', 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_0DN@NMBHGNIB@ScriptRegistrant?$DMclass?5Neo_Creat@
CONST	SEGMENT
??_C@_0DN@NMBHGNIB@ScriptRegistrant?$DMclass?5Neo_Creat@ DB 'ScriptRegist'
	DB	'rant<class Neo_CreateObject_RandomTimer>::Create', 00H ; `string'
CONST	ENDS
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ$0
__ehfuncinfo$?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	01H
; Function compile flags: /Ogtpy
xdata$x	ENDS
;	COMDAT ?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ
_TEXT	SEGMENT
$T61159 = -16						; size = 4
__$EHRec$ = -12						; size = 12
?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ PROC ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::Create, COMDAT
; _this$ = ecx

; 487  : {

	push	-1
	push	__ehhandler$?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ
	mov	eax, DWORD PTR fs:0
	push	eax
	mov	DWORD PTR fs:0, esp
	push	ecx
	push	esi
	push	edi

; 488  : 	ScriptImpClass *scr = new T;

	push	OFFSET ??_C@_0DN@NMBHGNIB@ScriptRegistrant?$DMclass?5Neo_Creat@
	push	488					; 000001e8H
	push	OFFSET ??_C@_0BO@INLPCLGJ@d?3?2source?5code?2stgm?2scripts?4h?$AA@
	mov	edi, ecx
	call	?m_setOwner@@YAXPBDI0@Z			; m_setOwner
	push	28					; 0000001cH
	call	??2@YAPAXI@Z				; operator new
	mov	esi, eax
	add	esp, 16					; 00000010H
	mov	DWORD PTR $T61159[esp+24], esi
	test	esi, esi
	mov	DWORD PTR __$EHRec$[esp+32], 0
	je	SHORT $LN3@Create
	mov	ecx, esi
	call	??0ScriptImpClass@@QAE@XZ		; ScriptImpClass::ScriptImpClass
	mov	DWORD PTR [esi], OFFSET ??_7Neo_CreateObject_RandomTimer@@6B@
	jmp	SHORT $LN4@Create
$LN3@Create:
	xor	esi, esi
$LN4@Create:

; 489  : 	scr->SetFactory(this);
; 490  : 	scr->Register_Auto_Save_Variables();

	mov	eax, DWORD PTR [esi]
	mov	edx, DWORD PTR [eax+100]
	mov	ecx, esi
	mov	DWORD PTR __$EHRec$[esp+32], -1
	mov	DWORD PTR [esi+20], edi
	call	edx

; 491  : 	return scr;
; 492  : };

	mov	ecx, DWORD PTR __$EHRec$[esp+24]
	pop	edi
	mov	eax, esi
	pop	esi
	mov	DWORD PTR fs:0, ecx
	add	esp, 16					; 00000010H
	ret	0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ$0:
	mov	eax, DWORD PTR $T61159[ebp]
	push	eax
	call	??3@YAXPAX@Z				; operator delete
	pop	ecx
	ret	0
__ehhandler$?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ:
	mov	eax, OFFSET __ehfuncinfo$?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ
	jmp	___CxxFrameHandler3
text$x	ENDS
?Create@?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@UAEPAVScriptImpClass@@XZ ENDP ; ScriptRegistrant<Neo_CreateObject_RandomTimer>::Create
PUBLIC	??_C@_0CP@NBACHIDN@ScriptRegistrant?$DMclass?5Neo_Vehic@ ; `string'
;	COMDAT ??_C@_0CP@NBACHIDN@ScriptRegistrant?$DMclass?5Neo_Vehic@
CONST	SEGMENT
??_C@_0CP@NBACHIDN@ScriptRegistrant?$DMclass?5Neo_Vehic@ DB 'ScriptRegist'
	DB	'rant<class Neo_Vehicle_AI>::Create', 00H	; `string'
CONST	ENDS
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ$0
__ehfuncinfo$?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	01H
; Function compile flags: /Ogtpy
xdata$x	ENDS
;	COMDAT ?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ
_TEXT	SEGMENT
$T61182 = -16						; size = 4
__$EHRec$ = -12						; size = 12
?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ PROC ; ScriptRegistrant<Neo_Vehicle_AI>::Create, COMDAT
; _this$ = ecx

; 487  : {

	push	-1
	push	__ehhandler$?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ
	mov	eax, DWORD PTR fs:0
	push	eax
	mov	DWORD PTR fs:0, esp
	push	ecx
	push	esi
	push	edi

; 488  : 	ScriptImpClass *scr = new T;

	push	OFFSET ??_C@_0CP@NBACHIDN@ScriptRegistrant?$DMclass?5Neo_Vehic@
	push	488					; 000001e8H
	push	OFFSET ??_C@_0BO@INLPCLGJ@d?3?2source?5code?2stgm?2scripts?4h?$AA@
	mov	edi, ecx
	call	?m_setOwner@@YAXPBDI0@Z			; m_setOwner
	push	80					; 00000050H
	call	??2@YAPAXI@Z				; operator new
	add	esp, 16					; 00000010H
	mov	DWORD PTR $T61182[esp+24], eax
	xor	esi, esi
	cmp	eax, esi
	mov	DWORD PTR __$EHRec$[esp+32], esi
	je	SHORT $LN3@Create@2
	mov	ecx, eax
	call	??0Neo_Vehicle_AI@@QAE@XZ
	mov	esi, eax
$LN3@Create@2:

; 489  : 	scr->SetFactory(this);
; 490  : 	scr->Register_Auto_Save_Variables();

	mov	eax, DWORD PTR [esi]
	mov	edx, DWORD PTR [eax+100]
	mov	ecx, esi
	mov	DWORD PTR __$EHRec$[esp+32], -1
	mov	DWORD PTR [esi+20], edi
	call	edx

; 491  : 	return scr;
; 492  : };

	mov	ecx, DWORD PTR __$EHRec$[esp+24]
	pop	edi
	mov	eax, esi
	pop	esi
	mov	DWORD PTR fs:0, ecx
	add	esp, 16					; 00000010H
	ret	0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ$0:
	mov	eax, DWORD PTR $T61182[ebp]
	push	eax
	call	??3@YAXPAX@Z				; operator delete
	pop	ecx
	ret	0
__ehhandler$?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ:
	mov	eax, OFFSET __ehfuncinfo$?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ
	jmp	___CxxFrameHandler3
text$x	ENDS
?Create@?$ScriptRegistrant@VNeo_Vehicle_AI@@@@UAEPAVScriptImpClass@@XZ ENDP ; ScriptRegistrant<Neo_Vehicle_AI>::Create
; Function compile flags: /Ogtpy
;	COMDAT ??_GNeo_CreateObject_RandomTimer@@UAEPAXI@Z
_TEXT	SEGMENT
___flags$ = 8						; size = 4
??_GNeo_CreateObject_RandomTimer@@UAEPAXI@Z PROC	; Neo_CreateObject_RandomTimer::`scalar deleting destructor', COMDAT
; _this$ = ecx
	push	esi
	mov	esi, ecx
	call	??1ScriptImpClass@@UAE@XZ		; ScriptImpClass::~ScriptImpClass
	test	BYTE PTR ___flags$[esp], 1
	je	SHORT $LN7@scalar@4
	push	esi
	call	??3@YAXPAX@Z				; operator delete
	add	esp, 4
$LN7@scalar@4:
	mov	eax, esi
	pop	esi
	ret	4
??_GNeo_CreateObject_RandomTimer@@UAEPAXI@Z ENDP	; Neo_CreateObject_RandomTimer::`scalar deleting destructor'
; Function compile flags: /Ogtpy
_TEXT	ENDS
;	COMDAT ??_GNeo_Vehicle_AI@@UAEPAXI@Z
_TEXT	SEGMENT
___flags$ = 8						; size = 4
??_GNeo_Vehicle_AI@@UAEPAXI@Z PROC			; Neo_Vehicle_AI::`scalar deleting destructor', COMDAT
; _this$ = ecx
	push	esi
	mov	esi, ecx
	call	??1ScriptImpClass@@UAE@XZ		; ScriptImpClass::~ScriptImpClass
	test	BYTE PTR ___flags$[esp], 1
	je	SHORT $LN7@scalar@5
	push	esi
	call	??3@YAXPAX@Z				; operator delete
	add	esp, 4
$LN7@scalar@5:
	mov	eax, esi
	pop	esi
	ret	4
??_GNeo_Vehicle_AI@@UAEPAXI@Z ENDP			; Neo_Vehicle_AI::`scalar deleting destructor'
; Function compile flags: /Ogtpy
; File d:\source code\stgm\neo.cpp
_TEXT	ENDS
;	COMDAT ?Custom@Neo_Vehicle_AI@@EAEXPAEHH0@Z
_TEXT	SEGMENT
$T61217 = -208						; size = 12
$T61216 = -208						; size = 12
_params$56510 = -196					; size = 196
_params$56504 = -196					; size = 196
_obj$ = 8						; size = 4
_message$ = 12						; size = 4
_param$ = 16						; size = 4
_sender$ = 20						; size = 4
?Custom@Neo_Vehicle_AI@@EAEXPAEHH0@Z PROC		; Neo_Vehicle_AI::Custom, COMDAT
; _this$ = ecx

; 79   : {

	sub	esp, 208				; 000000d0H
	push	esi
	mov	esi, ecx

; 80   : 	/***********************************************/
; 81   : 	//				Message List
; 82   : 	/***********************************************/
; 83   : 	//				Incoming
; 84   : 	//	127127: Order to hunt at location of sender
; 85   : 	//	781781: Order to hunt a new player (sender)
; 86   : 	//	329329: Order to guard location of sender
; 87   : 	//	983983: Order to guard a new player (sender)
; 88   : 	//	param will be used to determine order priority
; 89   : 	/***********************************************/
; 90   : 
; 91   : 	if (!rampaging) //Ignore orders if beserk

	cmp	BYTE PTR [esi+44], 0
	jne	$LN1@Custom

; 92   : 	{
; 93   : 		//Maybe a Switch statement would be better?
; 94   : 		if (message == 127127)

	mov	eax, DWORD PTR _message$[esp+208]
	cmp	eax, 127127				; 0001f097H
	push	edi
	jne	$LN7@Custom

; 95   : 		{
; 96   : 			position = Commands->Get_Position(sender);

	mov	eax, DWORD PTR _sender$[esp+212]
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	eax
	mov	eax, DWORD PTR [edx+64]
	lea	ecx, DWORD PTR $T61216[esp+220]
	push	ecx
	call	eax
	mov	ecx, DWORD PTR [eax]
	mov	DWORD PTR [esi+32], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR [esi+36], edx
	mov	eax, DWORD PTR [eax+8]
	add	esp, 8

; 97   : 			ActionParamsStruct params;

	lea	ecx, DWORD PTR _params$56504[esp+216]
	mov	DWORD PTR [esi+40], eax
	call	??0ActionParamsStruct@@QAE@XZ		; ActionParamsStruct::ActionParamsStruct

; 98   : 			params.Set_Basic(this,current_priority,10);
; 99   : 			params.Set_Goto_Location(position,1,2,false);

	fld	DWORD PTR [esi+32]
	mov	ecx, DWORD PTR [esi+52]
	fstp	DWORD PTR _params$56504[esp+248]
	fld	DWORD PTR [esi+36]
	mov	edx, DWORD PTR [esi+4]

; 100  : 			params.Move_Backwards = Set_Direction(obj);

	mov	edi, DWORD PTR _obj$[esp+212]
	fstp	DWORD PTR _params$56504[esp+252]
	fld	DWORD PTR [esi+40]
	mov	DWORD PTR _params$56504[esp+216], ecx
	fstp	DWORD PTR _params$56504[esp+256]
	push	edi
	fld1
	mov	ecx, esi
	fstp	DWORD PTR _params$56504[esp+280]
	mov	DWORD PTR _params$56504[esp+224], edx
	fld	DWORD PTR __real@40000000
	mov	DWORD PTR _params$56504[esp+388], -1
	fstp	DWORD PTR _params$56504[esp+284]
	mov	BYTE PTR _params$56504[esp+290], 0
	call	?Set_Direction@Neo_Vehicle_AI@@AAE_NPAE@Z ; Neo_Vehicle_AI::Set_Direction

; 101  : 			Commands->Action_Goto(obj,params);

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	BYTE PTR _params$56504[esp+284], al
	mov	edx, DWORD PTR [ecx+16]
	lea	eax, DWORD PTR _params$56504[esp+216]
	push	eax
	push	edi
	call	edx
	add	esp, 8
	pop	edi

; 102  : 			moving = true;

	mov	BYTE PTR [esi+46], 1
	pop	esi

; 127  : 			//Might need more here...
; 128  : 		}
; 129  : 	}
; 130  : }

	add	esp, 208				; 000000d0H
	ret	16					; 00000010H
$LN7@Custom:

; 103  : 
; 104  : 			//Offense code to be added here?
; 105  : 		}
; 106  : 		else if (message == 781781)

	cmp	eax, 781781				; 000bedd5H
	jne	SHORT $LN5@Custom

; 107  : 		{
; 108  : 			Hunt(obj,Set_Target(sender));

	mov	eax, DWORD PTR _sender$[esp+212]
	push	eax
	call	?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z	; Neo_Vehicle_AI::Set_Target
	mov	ecx, DWORD PTR _obj$[esp+212]
	push	eax
	push	ecx
	mov	ecx, esi
	call	?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z	; Neo_Vehicle_AI::Hunt
	pop	edi
	pop	esi

; 127  : 			//Might need more here...
; 128  : 		}
; 129  : 	}
; 130  : }

	add	esp, 208				; 000000d0H
	ret	16					; 00000010H
$LN5@Custom:

; 109  : 			//Offense code to be added here?
; 110  : 		}
; 111  : 		else if (message == 329329)

	cmp	eax, 329329				; 00050671H
	jne	$LN3@Custom

; 112  : 		{
; 113  : 			position = Commands->Get_Position(sender);

	mov	edx, DWORD PTR _sender$[esp+212]
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	edx
	mov	edx, DWORD PTR [ecx+64]
	lea	eax, DWORD PTR $T61217[esp+220]
	push	eax
	call	edx
	mov	ecx, DWORD PTR [eax]
	mov	DWORD PTR [esi+32], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR [esi+36], edx
	mov	eax, DWORD PTR [eax+8]
	add	esp, 8

; 114  : 			ActionParamsStruct params;

	lea	ecx, DWORD PTR _params$56510[esp+216]
	mov	DWORD PTR [esi+40], eax
	call	??0ActionParamsStruct@@QAE@XZ		; ActionParamsStruct::ActionParamsStruct

; 115  : 			params.Set_Basic(this,current_priority,10);
; 116  : 			params.Set_Goto_Location(position,1,2,false);

	fld	DWORD PTR [esi+32]
	mov	ecx, DWORD PTR [esi+52]
	fstp	DWORD PTR _params$56510[esp+248]
	fld	DWORD PTR [esi+36]
	mov	edx, DWORD PTR [esi+4]

; 117  : 			params.Move_Backwards = Set_Direction(obj);

	mov	edi, DWORD PTR _obj$[esp+212]
	fstp	DWORD PTR _params$56510[esp+252]
	fld	DWORD PTR [esi+40]
	mov	DWORD PTR _params$56510[esp+216], ecx
	fstp	DWORD PTR _params$56510[esp+256]
	push	edi
	fld1
	mov	ecx, esi
	fstp	DWORD PTR _params$56510[esp+280]
	mov	DWORD PTR _params$56510[esp+224], edx
	fld	DWORD PTR __real@40000000
	mov	DWORD PTR _params$56510[esp+388], -1
	fstp	DWORD PTR _params$56510[esp+284]
	mov	BYTE PTR _params$56510[esp+290], 0
	call	?Set_Direction@Neo_Vehicle_AI@@AAE_NPAE@Z ; Neo_Vehicle_AI::Set_Direction

; 118  : 			Commands->Action_Goto(obj,params);

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	BYTE PTR _params$56510[esp+284], al
	mov	edx, DWORD PTR [ecx+16]
	lea	eax, DWORD PTR _params$56510[esp+216]
	push	eax
	push	edi
	call	edx
	add	esp, 8

; 119  : 
; 120  : 			moving = true;

	mov	al, 1
	pop	edi
	mov	BYTE PTR [esi+46], al

; 121  : 			guarding = true;

	mov	BYTE PTR [esi+45], al

; 122  : 			hunting = false;

	mov	BYTE PTR [esi+47], 0
	pop	esi

; 127  : 			//Might need more here...
; 128  : 		}
; 129  : 	}
; 130  : }

	add	esp, 208				; 000000d0H
	ret	16					; 00000010H
$LN3@Custom:

; 123  : 		}
; 124  : 		else if (message == 983983)

	cmp	eax, 983983				; 000f03afH
	jne	SHORT $LN23@Custom

; 125  : 		{
; 126  : 			Guard(obj,Set_Target(sender));

	mov	eax, DWORD PTR _sender$[esp+212]
	push	eax
	call	?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z	; Neo_Vehicle_AI::Set_Target
	mov	ecx, DWORD PTR _obj$[esp+212]
	push	eax
	push	ecx
	mov	ecx, esi
	call	?Guard@Neo_Vehicle_AI@@AAEXPAE0@Z	; Neo_Vehicle_AI::Guard
$LN23@Custom:
	pop	edi
$LN1@Custom:
	pop	esi

; 127  : 			//Might need more here...
; 128  : 		}
; 129  : 	}
; 130  : }

	add	esp, 208				; 000000d0H
	ret	16					; 00000010H
?Custom@Neo_Vehicle_AI@@EAEXPAEHH0@Z ENDP		; Neo_Vehicle_AI::Custom
; Function compile flags: /Ogtpy
_TEXT	ENDS
;	COMDAT ?Damaged@Neo_Vehicle_AI@@EAEXPAE0M@Z
_TEXT	SEGMENT
_obj$ = 8						; size = 4
_damager$ = 12						; size = 4
_damage$ = 16						; size = 4
?Damaged@Neo_Vehicle_AI@@EAEXPAE0M@Z PROC		; Neo_Vehicle_AI::Damaged, COMDAT
; _this$ = ecx

; 151  : 	//This function needs to be rewritten from scratch
; 152  : 
; 153  : 	int testID = Commands->Get_Player_Type(damager);

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	push	ebx
	push	ebp
	mov	ebp, DWORD PTR _damager$[esp+4]
	push	esi
	push	edi
	mov	esi, ecx
	mov	ecx, DWORD PTR [eax+248]
	push	ebp
	call	ecx

; 154  : 	int myID = Commands->Get_Player_Type(obj);

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edi, DWORD PTR _obj$[esp+16]
	mov	ebx, eax
	mov	eax, DWORD PTR [edx+248]
	push	edi
	call	eax
	add	esp, 8

; 155  : 
; 156  : 	if (testID != myID) //Did the enemy hit me?

	cmp	ebx, eax
	je	SHORT $LN6@Damaged

; 157  : 	{
; 158  : 		if (!hunting && !guarding) //Not doing anything?

	mov	al, BYTE PTR [esi+47]
	test	al, al
	jne	SHORT $LN10@Damaged
	cmp	BYTE PTR [esi+45], al
	jne	SHORT $LN5@Damaged

; 159  : 		{
; 160  : 			Hunt(obj,Set_Target(damager));

	push	ebp
	mov	ecx, esi
	call	?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z	; Neo_Vehicle_AI::Set_Target
	push	eax
	push	edi
	mov	ecx, esi
	call	?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z	; Neo_Vehicle_AI::Hunt
	pop	edi
	pop	esi
	pop	ebp
	pop	ebx

; 172  : 	}
; 173  : }

	ret	12					; 0000000cH
$LN5@Damaged:

; 161  : 		}
; 162  : 		else if (hunting) //On a hunt?

	test	al, al
	je	SHORT $LN1@Damaged
$LN10@Damaged:

; 163  : 		{
; 164  : 			//Might not need the Hunt function here...
; 165  : 			Hunt(obj,Select_Target(obj,damager));

	push	ebp
	push	edi
	mov	ecx, esi
	call	?Select_Target@Neo_Vehicle_AI@@AAEPAEPAE0@Z ; Neo_Vehicle_AI::Select_Target
	push	eax
	push	edi
	mov	ecx, esi
	call	?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z	; Neo_Vehicle_AI::Hunt
	pop	edi
	pop	esi
	pop	ebp
	pop	ebx

; 172  : 	}
; 173  : }

	ret	12					; 0000000cH
$LN6@Damaged:

; 166  : 			//This determines if damager bigger threat than target
; 167  : 		}
; 168  : 	}
; 169  : 	else if (!hunting && !guarding) //Am I doing anything?

	cmp	BYTE PTR [esi+47], 0
	jne	SHORT $LN1@Damaged
	cmp	BYTE PTR [esi+45], 0
	jne	SHORT $LN1@Damaged

; 170  : 	{
; 171  : 		Guard(obj,Set_Target(damager)); //must be a call for help

	push	ebp
	mov	ecx, esi
	call	?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z	; Neo_Vehicle_AI::Set_Target
	push	eax
	push	edi
	mov	ecx, esi
	call	?Guard@Neo_Vehicle_AI@@AAEXPAE0@Z	; Neo_Vehicle_AI::Guard
$LN1@Damaged:
	pop	edi
	pop	esi
	pop	ebp
	pop	ebx

; 172  : 	}
; 173  : }

	ret	12					; 0000000cH
?Damaged@Neo_Vehicle_AI@@EAEXPAE0M@Z ENDP		; Neo_Vehicle_AI::Damaged
; Function compile flags: /Ogtpy
_TEXT	ENDS
;	COMDAT ?Enemy_Seen@Neo_Vehicle_AI@@EAEXPAE0@Z
_TEXT	SEGMENT
_distance$56544 = -236					; size = 4
_pos$56540 = -232					; size = 12
_mypos$56542 = -220					; size = 12
$T61258 = -208						; size = 12
$T61257 = -208						; size = 12
_params$56550 = -196					; size = 196
_params$56548 = -196					; size = 196
_obj$ = 8						; size = 4
_seen$ = 12						; size = 4
?Enemy_Seen@Neo_Vehicle_AI@@EAEXPAE0@Z PROC		; Neo_Vehicle_AI::Enemy_Seen, COMDAT
; _this$ = ecx

; 176  : {

	sub	esp, 236				; 000000ecH
	push	esi
	mov	esi, ecx

; 177  : 	if (guarding)

	cmp	BYTE PTR [esi+45], 0
	push	edi
	je	$LN4@Enemy_Seen

; 178  : 	{
; 179  : 		Vector3 pos = Commands->Get_Position(seen);

	mov	edi, DWORD PTR _seen$[esp+240]
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+64]
	push	ebp
	lea	eax, DWORD PTR $T61257[esp+248]
	push	edi
	push	eax
	call	edx
	mov	ecx, DWORD PTR [eax]

; 180  : 		Vector3 mypos = Commands->Get_Position(obj);

	mov	ebp, DWORD PTR _obj$[esp+252]
	mov	DWORD PTR _pos$56540[esp+256], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR _pos$56540[esp+260], edx
	mov	eax, DWORD PTR [eax+8]
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR $T61258[esp+256]
	mov	DWORD PTR _pos$56540[esp+264], eax
	mov	eax, DWORD PTR [edx+64]
	push	ebp
	push	ecx
	call	eax
	mov	ecx, DWORD PTR [eax]
	mov	DWORD PTR _mypos$56542[esp+264], ecx
	mov	edx, DWORD PTR [eax+4]
	mov	DWORD PTR _mypos$56542[esp+268], edx
	mov	eax, DWORD PTR [eax+8]
	mov	DWORD PTR _mypos$56542[esp+272], eax

; 181  : 		float distance = Commands->Get_Distance(pos,mypos);

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	lea	ecx, DWORD PTR _mypos$56542[esp+264]
	push	ecx
	mov	ecx, DWORD PTR [eax+256]
	lea	edx, DWORD PTR _pos$56540[esp+268]
	push	edx
	call	ecx
	fstp	DWORD PTR _distance$56544[esp+272]

; 182  : 
; 183  : 		current_priority += 1; //override last command

	add	DWORD PTR [esi+52], 1
	add	esp, 24					; 00000018H

; 184  : 
; 185  : 		if (distance > Get_Float_Parameter("MaxRange"))

	push	OFFSET ??_C@_08JOBCAEBO@MaxRange?$AA@
	mov	ecx, esi
	call	?Get_Float_Parameter@ScriptImpClass@@QAEMPBD@Z ; ScriptImpClass::Get_Float_Parameter
	fcomp	DWORD PTR _distance$56544[esp+248]
	fnstsw	ax
	test	ah, 5
	jp	SHORT $LN3@Enemy_Seen

; 186  : 		{
; 187  : 			if (!moving)

	cmp	BYTE PTR [esi+46], 0
	jne	SHORT $LN19@Enemy_Seen

; 188  : 			{
; 189  : 				ActionParamsStruct params;

	lea	ecx, DWORD PTR _params$56548[esp+248]
	call	??0ActionParamsStruct@@QAE@XZ		; ActionParamsStruct::ActionParamsStruct

; 190  : 				params.Set_Basic(this,face_priority,30);
; 191  : 				params.Set_Face_Location(pos,5);

	fld	DWORD PTR _pos$56540[esp+248]
	mov	edx, DWORD PTR [esi+48]
	fstp	DWORD PTR _params$56548[esp+364]
	fld	DWORD PTR _pos$56540[esp+252]
	mov	eax, DWORD PTR [esi+4]
	fstp	DWORD PTR _params$56548[esp+368]
	mov	DWORD PTR _params$56548[esp+248], edx
	fld	DWORD PTR _pos$56540[esp+256]

; 192  : 				Commands->Action_Face_Location(obj,params);

	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	fstp	DWORD PTR _params$56548[esp+372]
	lea	ecx, DWORD PTR _params$56548[esp+248]
	fld	DWORD PTR __real@40a00000
	push	ecx
	fstp	DWORD PTR _params$56548[esp+380]
	mov	DWORD PTR _params$56548[esp+256], eax
	mov	DWORD PTR _params$56548[esp+420], -1
	mov	eax, DWORD PTR [edx+32]
	push	ebp
	call	eax
	add	esp, 8
$LN19@Enemy_Seen:
	pop	ebp
	pop	edi
	pop	esi

; 210  : 
; 211  : }

	add	esp, 236				; 000000ecH
	ret	8
$LN3@Enemy_Seen:

; 193  : 			}
; 194  : 		}
; 195  : 		else
; 196  : 		{
; 197  : 			//May need a 'Check_Target' that won't touch targetID
; 198  : 			ActionParamsStruct params;

	lea	ecx, DWORD PTR _params$56550[esp+248]
	call	??0ActionParamsStruct@@QAE@XZ		; ActionParamsStruct::ActionParamsStruct

; 199  : 			params.Set_Basic(this,current_priority,20);

	mov	ecx, DWORD PTR [esi+52]
	mov	edx, DWORD PTR [esi+4]
	mov	DWORD PTR _params$56550[esp+248], ecx

; 200  : 			params.Set_Attack_Hold(seen,distance,0,Set_Ammo(seen),true);

	push	edi
	mov	ecx, esi
	mov	DWORD PTR _params$56550[esp+256], edx
	mov	DWORD PTR _params$56550[esp+420], -1
	call	?Set_Ammo@Neo_Vehicle_AI@@AAE_NPAE@Z	; Neo_Vehicle_AI::Set_Ammo
	fld	DWORD PTR _distance$56544[esp+248]

; 201  : 			Commands->Action_Attack(obj,params);

	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	fstp	DWORD PTR _params$56550[esp+324]
	fldz
	mov	BYTE PTR _params$56550[esp+340], al
	lea	eax, DWORD PTR _params$56550[esp+248]
	fstp	DWORD PTR _params$56550[esp+328]
	push	eax
	mov	DWORD PTR _params$56550[esp+340], edi
	mov	BYTE PTR _params$56550[esp+360], 1
	mov	edx, DWORD PTR [ecx+20]
	push	ebp
	call	edx
	add	esp, 8
	pop	ebp
	pop	edi
	pop	esi

; 210  : 
; 211  : }

	add	esp, 236				; 000000ecH
	ret	8
$LN4@Enemy_Seen:

; 202  : 		}
; 203  : 
; 204  : 		return; // we're done here
; 205  : 	}
; 206  : 
; 207  : 	//If I'm not guarding,might as well go hunting
; 208  : 
; 209  : 	Hunt(obj,Select_Target(obj,seen));

	mov	eax, DWORD PTR _seen$[esp+240]
	mov	edi, DWORD PTR _obj$[esp+240]
	push	eax
	push	edi
	call	?Select_Target@Neo_Vehicle_AI@@AAEPAEPAE0@Z ; Neo_Vehicle_AI::Select_Target
	push	eax
	push	edi
	mov	ecx, esi
	call	?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z	; Neo_Vehicle_AI::Hunt
	pop	edi
	pop	esi

; 210  : 
; 211  : }

	add	esp, 236				; 000000ecH
	ret	8
?Enemy_Seen@Neo_Vehicle_AI@@EAEXPAE0@Z ENDP		; Neo_Vehicle_AI::Enemy_Seen
; Function compile flags: /Ogtpy
_TEXT	ENDS
;	COMDAT ?Timer_Expired@Neo_Vehicle_AI@@EAEXPAEH@Z
_TEXT	SEGMENT
_obj$ = 8						; size = 4
_number$ = 12						; size = 4
?Timer_Expired@Neo_Vehicle_AI@@EAEXPAEH@Z PROC		; Neo_Vehicle_AI::Timer_Expired, COMDAT
; _this$ = ecx

; 215  : 	/***********************************************/
; 216  : 	//				Timer List
; 217  : 	/***********************************************/
; 218  : 	//	11: Guard Timer
; 219  : 	//	22: Hunt Timer
; 220  : 	/***********************************************/
; 221  : 	if (number == 11)

	mov	eax, DWORD PTR _number$[esp-4]
	cmp	eax, 11					; 0000000bH
	push	esi
	mov	esi, ecx
	jne	SHORT $LN9@Timer_Expi@2

; 222  : 	{
; 223  : 		if (guarding) //in case guard was forced off

	cmp	BYTE PTR [esi+45], 0
	je	SHORT $LN1@Timer_Expi@2

; 224  : 		{
; 225  : 			guarding = false; //guard will only continue if Guard called
; 226  : 			GameObject *target = Commands->Find_Object(targetID);

	mov	eax, DWORD PTR [esi+28]
	mov	BYTE PTR [esi+45], 0
	mov	ecx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	edx, DWORD PTR [ecx+96]
	push	eax
	call	edx
	add	esp, 4

; 227  : 
; 228  : 			if (target) //Check if the target lives

	test	eax, eax
	je	SHORT $LN2@Timer_Expi@2

; 229  : 			{
; 230  : 				Guard(obj,Set_Target(target));

	push	eax
	mov	ecx, esi
	call	?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z	; Neo_Vehicle_AI::Set_Target
	push	eax
	mov	eax, DWORD PTR _obj$[esp+4]
	push	eax
	mov	ecx, esi
	call	?Guard@Neo_Vehicle_AI@@AAEXPAE0@Z	; Neo_Vehicle_AI::Guard
	pop	esi

; 252  : 			}
; 253  : 		}
; 254  : 	}
; 255  : }

	ret	8
$LN9@Timer_Expi@2:

; 231  : 			}
; 232  : 			else //target dead
; 233  : 			{
; 234  : 				targetID = 0;
; 235  : 				current_priority = 10; //drop priority back down
; 236  : 			}
; 237  : 		}
; 238  : 	}
; 239  : 	else if (number == 22)

	cmp	eax, 22					; 00000016H
	jne	SHORT $LN1@Timer_Expi@2

; 240  : 	{
; 241  : 		if (hunting) //In case hunt was forced off

	cmp	BYTE PTR [esi+47], 0
	je	SHORT $LN1@Timer_Expi@2

; 242  : 		{
; 243  : 			hunting = false; //hunt will only continue if Hunt called
; 244  : 			GameObject *target = Commands->Find_Object(targetID);

	mov	ecx, DWORD PTR [esi+28]
	mov	BYTE PTR [esi+47], 0
	mov	edx, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	eax, DWORD PTR [edx+96]
	push	ecx
	call	eax
	add	esp, 4

; 245  : 
; 246  : 			if (target) //Check if the target lives

	test	eax, eax
	je	SHORT $LN2@Timer_Expi@2

; 247  : 				Hunt(obj,Set_Target(target));//Hunt starts a new timer by itself

	push	eax
	mov	ecx, esi
	call	?Set_Target@Neo_Vehicle_AI@@AAEPAEPAE@Z	; Neo_Vehicle_AI::Set_Target
	mov	ecx, DWORD PTR _obj$[esp]
	push	eax
	push	ecx
	mov	ecx, esi
	call	?Hunt@Neo_Vehicle_AI@@AAEXPAE0@Z	; Neo_Vehicle_AI::Hunt
	pop	esi

; 252  : 			}
; 253  : 		}
; 254  : 	}
; 255  : }

	ret	8
$LN2@Timer_Expi@2:

; 248  : 			else
; 249  : 			{
; 250  : 				targetID = 0; //target dead,forget him
; 251  : 				current_priority = 10; //drop priority back down

	mov	DWORD PTR [esi+52], 10			; 0000000aH
	mov	DWORD PTR [esi+28], 0
$LN1@Timer_Expi@2:
	pop	esi

; 252  : 			}
; 253  : 		}
; 254  : 	}
; 255  : }

	ret	8
?Timer_Expired@Neo_Vehicle_AI@@EAEXPAEH@Z ENDP		; Neo_Vehicle_AI::Timer_Expired
_TEXT	ENDS
PUBLIC	??_C@_0BN@JOPFNADD@Neo_CreateObject_RandomTimer?$AA@ ; `string'
PUBLIC	??_C@_0ED@KMBLHBJA@Preset_Name?$DNblank?3string?0Min?$DN0?40@ ; `string'
EXTRN	_atexit:PROC
;	COMDAT ??_C@_0BN@JOPFNADD@Neo_CreateObject_RandomTimer?$AA@
; File d:\source code\stgm\scripts.h
CONST	SEGMENT
??_C@_0BN@JOPFNADD@Neo_CreateObject_RandomTimer?$AA@ DB 'Neo_CreateObject'
	DB	'_RandomTimer', 00H				; `string'
CONST	ENDS
;	COMDAT ??_C@_0ED@KMBLHBJA@Preset_Name?$DNblank?3string?0Min?$DN0?40@
CONST	SEGMENT
??_C@_0ED@KMBLHBJA@Preset_Name?$DNblank?3string?0Min?$DN0?40@ DB 'Preset_'
	DB	'Name=blank:string,Min=0.0:float,Max=60.0:float,Repeat=1:int', 00H ; `string'
; Function compile flags: /Ogtpy
; File d:\source code\stgm\neo.cpp
CONST	ENDS
;	COMDAT ??__ENeo_CreateObject_RandomTimer_Registrant@@YAXXZ
text$yc	SEGMENT
??__ENeo_CreateObject_RandomTimer_Registrant@@YAXXZ PROC ; `dynamic initializer for 'Neo_CreateObject_RandomTimer_Registrant'', COMDAT

; 668  : ScriptRegistrant<Neo_CreateObject_RandomTimer> Neo_CreateObject_RandomTimer_Registrant("Neo_CreateObject_RandomTimer","Preset_Name=blank:string,Min=0.0:float,Max=60.0:float,Repeat=1:int");

	push	OFFSET ??_C@_0ED@KMBLHBJA@Preset_Name?$DNblank?3string?0Min?$DN0?40@
	push	OFFSET ??_C@_0BN@JOPFNADD@Neo_CreateObject_RandomTimer?$AA@
	mov	ecx, OFFSET ?Neo_CreateObject_RandomTimer_Registrant@@3V?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@A ; Neo_CreateObject_RandomTimer_Registrant
	call	??0ScriptFactory@@QAE@PAD0@Z		; ScriptFactory::ScriptFactory
	push	OFFSET ??__FNeo_CreateObject_RandomTimer_Registrant@@YAXXZ ; `dynamic atexit destructor for 'Neo_CreateObject_RandomTimer_Registrant''
	mov	DWORD PTR ?Neo_CreateObject_RandomTimer_Registrant@@3V?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@A, OFFSET ??_7?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@6B@
	call	_atexit
	pop	ecx
	ret	0
??__ENeo_CreateObject_RandomTimer_Registrant@@YAXXZ ENDP ; `dynamic initializer for 'Neo_CreateObject_RandomTimer_Registrant''
text$yc	ENDS
PUBLIC	??_C@_0P@LIFLJJBG@Neo_Vehicle_AI?$AA@		; `string'
PUBLIC	??_C@_0EE@HOJFEMNJ@MaxRange?$DN0?40?3float?0vsSoldier?$DN1?3i@ ; `string'
;	COMDAT ??_C@_0P@LIFLJJBG@Neo_Vehicle_AI?$AA@
; File d:\source code\stgm\scripts.h
CONST	SEGMENT
??_C@_0P@LIFLJJBG@Neo_Vehicle_AI?$AA@ DB 'Neo_Vehicle_AI', 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_0EE@HOJFEMNJ@MaxRange?$DN0?40?3float?0vsSoldier?$DN1?3i@
CONST	SEGMENT
??_C@_0EE@HOJFEMNJ@MaxRange?$DN0?40?3float?0vsSoldier?$DN1?3i@ DB 'MaxRan'
	DB	'ge=0.0:float,vsSoldier=1:int,vsVehicle=1:int,vsAircraft=1:int'
	DB	00H						; `string'
; Function compile flags: /Ogtpy
; File d:\source code\stgm\neo.cpp
CONST	ENDS
;	COMDAT ??__ENeo_Vehicle_AI_Registrant@@YAXXZ
text$yc	SEGMENT
??__ENeo_Vehicle_AI_Registrant@@YAXXZ PROC		; `dynamic initializer for 'Neo_Vehicle_AI_Registrant'', COMDAT

; 669  : ScriptRegistrant<Neo_Vehicle_AI> Neo_Vehicle_AI_Registrant("Neo_Vehicle_AI","MaxRange=0.0:float,vsSoldier=1:int,vsVehicle=1:int,vsAircraft=1:int");

	push	OFFSET ??_C@_0EE@HOJFEMNJ@MaxRange?$DN0?40?3float?0vsSoldier?$DN1?3i@
	push	OFFSET ??_C@_0P@LIFLJJBG@Neo_Vehicle_AI?$AA@
	mov	ecx, OFFSET ?Neo_Vehicle_AI_Registrant@@3V?$ScriptRegistrant@VNeo_Vehicle_AI@@@@A ; Neo_Vehicle_AI_Registrant
	call	??0ScriptFactory@@QAE@PAD0@Z		; ScriptFactory::ScriptFactory
	push	OFFSET ??__FNeo_Vehicle_AI_Registrant@@YAXXZ ; `dynamic atexit destructor for 'Neo_Vehicle_AI_Registrant''
	mov	DWORD PTR ?Neo_Vehicle_AI_Registrant@@3V?$ScriptRegistrant@VNeo_Vehicle_AI@@@@A, OFFSET ??_7?$ScriptRegistrant@VNeo_Vehicle_AI@@@@6B@
	call	_atexit
	pop	ecx
	ret	0
??__ENeo_Vehicle_AI_Registrant@@YAXXZ ENDP		; `dynamic initializer for 'Neo_Vehicle_AI_Registrant''
; Function compile flags: /Ogtpy
text$yc	ENDS
;	COMDAT ??__FNeo_CreateObject_RandomTimer_Registrant@@YAXXZ
text$yd	SEGMENT
??__FNeo_CreateObject_RandomTimer_Registrant@@YAXXZ PROC ; `dynamic atexit destructor for 'Neo_CreateObject_RandomTimer_Registrant'', COMDAT
	mov	ecx, OFFSET ?Neo_CreateObject_RandomTimer_Registrant@@3V?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@A ; Neo_CreateObject_RandomTimer_Registrant
	jmp	??1ScriptFactory@@UAE@XZ		; ScriptFactory::~ScriptFactory
??__FNeo_CreateObject_RandomTimer_Registrant@@YAXXZ ENDP ; `dynamic atexit destructor for 'Neo_CreateObject_RandomTimer_Registrant''
; Function compile flags: /Ogtpy
text$yd	ENDS
;	COMDAT ??__FNeo_Vehicle_AI_Registrant@@YAXXZ
text$yd	SEGMENT
??__FNeo_Vehicle_AI_Registrant@@YAXXZ PROC		; `dynamic atexit destructor for 'Neo_Vehicle_AI_Registrant'', COMDAT
	mov	ecx, OFFSET ?Neo_Vehicle_AI_Registrant@@3V?$ScriptRegistrant@VNeo_Vehicle_AI@@@@A ; Neo_Vehicle_AI_Registrant
	jmp	??1ScriptFactory@@UAE@XZ		; ScriptFactory::~ScriptFactory
??__FNeo_Vehicle_AI_Registrant@@YAXXZ ENDP		; `dynamic atexit destructor for 'Neo_Vehicle_AI_Registrant''
text$yd	ENDS
PUBLIC	?Neo_CreateObject_RandomTimer_Registrant@@3V?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@A ; Neo_CreateObject_RandomTimer_Registrant
PUBLIC	?Neo_Vehicle_AI_Registrant@@3V?$ScriptRegistrant@VNeo_Vehicle_AI@@@@A ; Neo_Vehicle_AI_Registrant
_BSS	SEGMENT
?Neo_CreateObject_RandomTimer_Registrant@@3V?$ScriptRegistrant@VNeo_CreateObject_RandomTimer@@@@A DB 010H DUP (?) ; Neo_CreateObject_RandomTimer_Registrant
?Neo_Vehicle_AI_Registrant@@3V?$ScriptRegistrant@VNeo_Vehicle_AI@@@@A DB 010H DUP (?) ; Neo_Vehicle_AI_Registrant
_BSS	ENDS
CRT$XCU	SEGMENT
_Neo_CreateObject_RandomTimer_Registrant$initializer$ DD FLAT:??__ENeo_CreateObject_RandomTimer_Registrant@@YAXXZ
_Neo_Vehicle_AI_Registrant$initializer$ DD FLAT:??__ENeo_Vehicle_AI_Registrant@@YAXXZ
CRT$XCU	ENDS
END
