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

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

INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES

PUBLIC	??_C@_0P@GHFPNOJB@bad?5allocation?$AA@		; `string'
PUBLIC	?Get_Safe_Data_Int@@3PAXA			; Get_Safe_Data_Int
PUBLIC	?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA	; Find_Def
PUBLIC	?Get_Safe_Data_Float@@3PAXA			; Get_Safe_Data_Float
PUBLIC	?Set_Safe_Data_Int_Ref@@3P6A_NPAXAAH@ZA		; Set_Safe_Data_Int_Ref
PUBLIC	?Set_Safe_Data_Uint_Ref@@3P6A_NPAXAAI@ZA	; Set_Safe_Data_Uint_Ref
PUBLIC	?Get_Safe_Data_Uint@@3PAXA			; Get_Safe_Data_Uint
PUBLIC	?Set_Safe_Data_Float_Ref@@3P6A_NPAXAAM@ZA	; Set_Safe_Data_Float_Ref
PUBLIC	?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA	; FindNamedDef
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
_BSS	SEGMENT
?Get_Safe_Data_Int@@3PAXA DD 01H DUP (?)		; Get_Safe_Data_Int
?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA DD 01H DUP (?) ; Find_Def
?Get_Safe_Data_Float@@3PAXA DD 01H DUP (?)		; Get_Safe_Data_Float
?Set_Safe_Data_Int_Ref@@3P6A_NPAXAAH@ZA DD 01H DUP (?)	; Set_Safe_Data_Int_Ref
?Set_Safe_Data_Uint_Ref@@3P6A_NPAXAAI@ZA DD 01H DUP (?)	; Set_Safe_Data_Uint_Ref
?Get_Safe_Data_Uint@@3PAXA DD 01H DUP (?)		; Get_Safe_Data_Uint
?Set_Safe_Data_Float_Ref@@3P6A_NPAXAAM@ZA DD 01H DUP (?) ; Set_Safe_Data_Float_Ref
?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA DD 01H DUP (?) ; FindNamedDef
_BSS	ENDS
;	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	?Get@IntDataSafeClass@@QAEHXZ			; IntDataSafeClass::Get
; Function compile flags: /Odtpy
; File d:\source code\stgm\engine_def.cpp
;	COMDAT ?Get@IntDataSafeClass@@QAEHXZ
_TEXT	SEGMENT
?Get@IntDataSafeClass@@QAEHXZ PROC			; IntDataSafeClass::Get, COMDAT
; _this$ = ecx

; 41   : IMPLEMENT_THUNK_RETURN(Get_Safe_Data_Int)

	mov	eax, DWORD PTR ?Get_Safe_Data_Int@@3PAXA ; Get_Safe_Data_Int
	jmp	eax
?Get@IntDataSafeClass@@QAEHXZ ENDP			; IntDataSafeClass::Get
_TEXT	ENDS
PUBLIC	?Get@FloatDataSafeClass@@QAEMXZ			; FloatDataSafeClass::Get
; Function compile flags: /Odtpy
;	COMDAT ?Get@FloatDataSafeClass@@QAEMXZ
_TEXT	SEGMENT
?Get@FloatDataSafeClass@@QAEMXZ PROC			; FloatDataSafeClass::Get, COMDAT
; _this$ = ecx

; 43   : IMPLEMENT_THUNK_RETURN(Get_Safe_Data_Float)

	mov	eax, DWORD PTR ?Get_Safe_Data_Float@@3PAXA ; Get_Safe_Data_Float
	jmp	eax
?Get@FloatDataSafeClass@@QAEMXZ ENDP			; FloatDataSafeClass::Get
_TEXT	ENDS
PUBLIC	?Get@UIntDataSafeClass@@QAEIXZ			; UIntDataSafeClass::Get
; Function compile flags: /Odtpy
;	COMDAT ?Get@UIntDataSafeClass@@QAEIXZ
_TEXT	SEGMENT
?Get@UIntDataSafeClass@@QAEIXZ PROC			; UIntDataSafeClass::Get, COMDAT
; _this$ = ecx

; 45   : IMPLEMENT_THUNK_RETURN(Get_Safe_Data_Uint)

	mov	eax, DWORD PTR ?Get_Safe_Data_Uint@@3PAXA ; Get_Safe_Data_Uint
	jmp	eax
?Get@UIntDataSafeClass@@QAEIXZ ENDP			; UIntDataSafeClass::Get
_TEXT	ENDS
PUBLIC	?Set@IntDataSafeClass@@QAG_NAAH@Z		; IntDataSafeClass::Set
; Function compile flags: /Ogtpy
;	COMDAT ?Set@IntDataSafeClass@@QAG_NAAH@Z
_TEXT	SEGMENT
_this$ = 8						; size = 4
_data$ = 12						; size = 4
?Set@IntDataSafeClass@@QAG_NAAH@Z PROC			; IntDataSafeClass::Set, COMDAT

; 48   : 	return Set_Safe_Data_Int_Ref(Data,data);

	mov	eax, DWORD PTR _data$[esp-4]
	mov	ecx, DWORD PTR _this$[esp-4]
	mov	edx, DWORD PTR [ecx]
	push	eax
	push	edx
	call	DWORD PTR ?Set_Safe_Data_Int_Ref@@3P6A_NPAXAAH@ZA ; Set_Safe_Data_Int_Ref
	add	esp, 8

; 49   : }

	ret	8
?Set@IntDataSafeClass@@QAG_NAAH@Z ENDP			; IntDataSafeClass::Set
_TEXT	ENDS
PUBLIC	?Set@FloatDataSafeClass@@QAG_NAAM@Z		; FloatDataSafeClass::Set
; Function compile flags: /Ogtpy
;	COMDAT ?Set@FloatDataSafeClass@@QAG_NAAM@Z
_TEXT	SEGMENT
_this$ = 8						; size = 4
_data$ = 12						; size = 4
?Set@FloatDataSafeClass@@QAG_NAAM@Z PROC		; FloatDataSafeClass::Set, COMDAT

; 52   : 	return Set_Safe_Data_Float_Ref(Data,data);

	mov	eax, DWORD PTR _data$[esp-4]
	mov	ecx, DWORD PTR _this$[esp-4]
	mov	edx, DWORD PTR [ecx]
	push	eax
	push	edx
	call	DWORD PTR ?Set_Safe_Data_Float_Ref@@3P6A_NPAXAAM@ZA ; Set_Safe_Data_Float_Ref
	add	esp, 8

; 53   : }

	ret	8
?Set@FloatDataSafeClass@@QAG_NAAM@Z ENDP		; FloatDataSafeClass::Set
_TEXT	ENDS
PUBLIC	?Set@UIntDataSafeClass@@QAG_NAAI@Z		; UIntDataSafeClass::Set
; Function compile flags: /Ogtpy
;	COMDAT ?Set@UIntDataSafeClass@@QAG_NAAI@Z
_TEXT	SEGMENT
_this$ = 8						; size = 4
_data$ = 12						; size = 4
?Set@UIntDataSafeClass@@QAG_NAAI@Z PROC			; UIntDataSafeClass::Set, COMDAT

; 56   : 	return Set_Safe_Data_Uint_Ref(Data,data);

	mov	eax, DWORD PTR _data$[esp-4]
	mov	ecx, DWORD PTR _this$[esp-4]
	mov	edx, DWORD PTR [ecx]
	push	eax
	push	edx
	call	DWORD PTR ?Set_Safe_Data_Uint_Ref@@3P6A_NPAXAAI@ZA ; Set_Safe_Data_Uint_Ref
	add	esp, 8

; 57   : }

	ret	8
?Set@UIntDataSafeClass@@QAG_NAAI@Z ENDP			; UIntDataSafeClass::Set
_TEXT	ENDS
PUBLIC	?InitEngineDef@@YAXI@Z				; InitEngineDef
; Function compile flags: /Ogtpy
;	COMDAT ?InitEngineDef@@YAXI@Z
_TEXT	SEGMENT
_exe$ = 8						; size = 4
?InitEngineDef@@YAXI@Z PROC				; InitEngineDef, COMDAT

; 98   : 	switch(exe)

	mov	eax, DWORD PTR _exe$[esp-4]
	cmp	eax, 3
	ja	$LN1@InitEngine
	jmp	DWORD PTR $LN12@InitEngine[eax*4]
$LN5@InitEngine:

; 99   : 	{
; 100  : 		case 0: //game.exe
; 101  : 			Find_Def = (FindDefinition)0x00526760;
; 102  : 			FindNamedDef = (Find_Named_Def)0x00526860;
; 103  : 			Get_Safe_Data_Int = (void *)0x00408280;

	mov	eax, 4227712				; 00408280H
	mov	DWORD PTR ?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA, 5400416 ; Find_Def, 00526760H
	mov	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA, 5400672 ; FindNamedDef, 00526860H

; 104  : 			Get_Safe_Data_Uint = (void *)0x00408280;
; 105  : 			Get_Safe_Data_Float = (void *)0x00413510;

	mov	DWORD PTR ?Get_Safe_Data_Float@@3PAXA, 4273424 ; Get_Safe_Data_Float, 00413510H

; 106  : 			Set_Safe_Data_Float_Ref = (SetSafeDataFloatRef)0x00694F90;

	mov	DWORD PTR ?Set_Safe_Data_Float_Ref@@3P6A_NPAXAAM@ZA, 6901648 ; Set_Safe_Data_Float_Ref, 00694f90H

; 107  : 			Set_Safe_Data_Uint_Ref = (SetSafeDataUintRef)0x00696200;

	mov	DWORD PTR ?Set_Safe_Data_Uint_Ref@@3P6A_NPAXAAI@ZA, 6906368 ; Set_Safe_Data_Uint_Ref, 00696200H

; 108  : 			Set_Safe_Data_Int_Ref = (SetSafeDataIntRef)0x00414350;

	mov	DWORD PTR ?Set_Safe_Data_Int_Ref@@3P6A_NPAXAAH@ZA, 4277072 ; Set_Safe_Data_Int_Ref, 00414350H

; 143  : 			Get_Safe_Data_Int = (void *)0;

	mov	DWORD PTR ?Get_Safe_Data_Int@@3PAXA, eax ; Get_Safe_Data_Int

; 144  : 			Get_Safe_Data_Uint = (void *)0;

	mov	DWORD PTR ?Get_Safe_Data_Uint@@3PAXA, eax ; Get_Safe_Data_Uint

; 149  : 			break;
; 150  : 	}
; 151  : }

	ret	0
$LN4@InitEngine:

; 109  : 			break;
; 110  : 		case 1: //server.dat
; 111  : 			Find_Def = (FindDefinition)0x00526000;
; 112  : 			FindNamedDef = (Find_Named_Def)0x00526100;
; 113  : 			Get_Safe_Data_Int = (void *)0x00408280;

	mov	eax, 4227712				; 00408280H
	mov	DWORD PTR ?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA, 5398528 ; Find_Def, 00526000H
	mov	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA, 5398784 ; FindNamedDef, 00526100H

; 114  : 			Get_Safe_Data_Uint = (void *)0x00408280;
; 115  : 			Get_Safe_Data_Float = (void *)0x00413510;

	mov	DWORD PTR ?Get_Safe_Data_Float@@3PAXA, 4273424 ; Get_Safe_Data_Float, 00413510H

; 116  : 			Set_Safe_Data_Float_Ref = (SetSafeDataFloatRef)0x00694830;

	mov	DWORD PTR ?Set_Safe_Data_Float_Ref@@3P6A_NPAXAAM@ZA, 6899760 ; Set_Safe_Data_Float_Ref, 00694830H

; 117  : 			Set_Safe_Data_Uint_Ref = (SetSafeDataUintRef)0x00695AA0;

	mov	DWORD PTR ?Set_Safe_Data_Uint_Ref@@3P6A_NPAXAAI@ZA, 6904480 ; Set_Safe_Data_Uint_Ref, 00695aa0H

; 118  : 			Set_Safe_Data_Int_Ref = (SetSafeDataIntRef)0x00414350;

	mov	DWORD PTR ?Set_Safe_Data_Int_Ref@@3P6A_NPAXAAH@ZA, 4277072 ; Set_Safe_Data_Int_Ref, 00414350H

; 143  : 			Get_Safe_Data_Int = (void *)0;

	mov	DWORD PTR ?Get_Safe_Data_Int@@3PAXA, eax ; Get_Safe_Data_Int

; 144  : 			Get_Safe_Data_Uint = (void *)0;

	mov	DWORD PTR ?Get_Safe_Data_Uint@@3PAXA, eax ; Get_Safe_Data_Uint

; 149  : 			break;
; 150  : 	}
; 151  : }

	ret	0
$LN3@InitEngine:

; 119  : 			break;
; 120  : 		case 2: //RH73
; 121  : 			Find_Def = (FindDefinition)0x08365410;

	mov	DWORD PTR ?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA, 137778192 ; Find_Def, 08365410H

; 122  : 			FindNamedDef = (Find_Named_Def)0x0836557C;

	mov	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA, 137778556 ; FindNamedDef, 0836557cH

; 123  : 			Get_Safe_Data_Int = (void *)0;

	xor	eax, eax

; 124  : 			Get_Safe_Data_Uint = (void *)0;
; 125  : 			Get_Safe_Data_Float = (void *)0;
; 126  : 			Set_Safe_Data_Float_Ref = (SetSafeDataFloatRef)0;
; 127  : 			Set_Safe_Data_Uint_Ref = (SetSafeDataUintRef)0;
; 128  : 			Set_Safe_Data_Int_Ref = (SetSafeDataIntRef)0;
; 129  : 			break;

	jmp	SHORT $LN11@InitEngine
$LN2@InitEngine:

; 130  : 		case 3: //RH8
; 131  : 			Find_Def = (FindDefinition)0x083187AE;

	mov	DWORD PTR ?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA, 137463726 ; Find_Def, 083187aeH

; 132  : 			FindNamedDef = (Find_Named_Def)0x0831890A;

	mov	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA, 137464074 ; FindNamedDef, 0831890aH

; 133  : 			Get_Safe_Data_Int = (void *)0;

	xor	eax, eax

; 134  : 			Get_Safe_Data_Uint = (void *)0;
; 135  : 			Get_Safe_Data_Float = (void *)0;
; 136  : 			Set_Safe_Data_Float_Ref = (SetSafeDataFloatRef)0;
; 137  : 			Set_Safe_Data_Uint_Ref = (SetSafeDataUintRef)0;
; 138  : 			Set_Safe_Data_Int_Ref = (SetSafeDataIntRef)0;
; 139  : 			break;

	jmp	SHORT $LN11@InitEngine
$LN1@InitEngine:

; 140  : 		default:
; 141  : 			Find_Def = (FindDefinition)0;

	xor	eax, eax
	mov	DWORD PTR ?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA, eax ; Find_Def

; 142  : 			FindNamedDef = (Find_Named_Def)0;

	mov	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA, eax ; FindNamedDef
$LN11@InitEngine:

; 145  : 			Get_Safe_Data_Float = (void *)0;

	mov	DWORD PTR ?Get_Safe_Data_Float@@3PAXA, eax ; Get_Safe_Data_Float

; 146  : 			Set_Safe_Data_Float_Ref = (SetSafeDataFloatRef)0;

	mov	DWORD PTR ?Set_Safe_Data_Float_Ref@@3P6A_NPAXAAM@ZA, eax ; Set_Safe_Data_Float_Ref

; 147  : 			Set_Safe_Data_Uint_Ref = (SetSafeDataUintRef)0;

	mov	DWORD PTR ?Set_Safe_Data_Uint_Ref@@3P6A_NPAXAAI@ZA, eax ; Set_Safe_Data_Uint_Ref

; 148  : 			Set_Safe_Data_Int_Ref = (SetSafeDataIntRef)0;

	mov	DWORD PTR ?Set_Safe_Data_Int_Ref@@3P6A_NPAXAAH@ZA, eax ; Set_Safe_Data_Int_Ref
	mov	DWORD PTR ?Get_Safe_Data_Int@@3PAXA, eax ; Get_Safe_Data_Int
	mov	DWORD PTR ?Get_Safe_Data_Uint@@3PAXA, eax ; Get_Safe_Data_Uint

; 149  : 			break;
; 150  : 	}
; 151  : }

	ret	0
	npad	1
$LN12@InitEngine:
	DD	$LN5@InitEngine
	DD	$LN4@InitEngine
	DD	$LN3@InitEngine
	DD	$LN2@InitEngine
?InitEngineDef@@YAXI@Z ENDP				; InitEngineDef
_TEXT	ENDS
PUBLIC	?Find_Definition@@YAPAVDefinitionClass@@K@Z	; Find_Definition
; Function compile flags: /Ogtpy
;	COMDAT ?Find_Definition@@YAPAVDefinitionClass@@K@Z
_TEXT	SEGMENT
_id$ = 8						; size = 4
?Find_Definition@@YAPAVDefinitionClass@@K@Z PROC	; Find_Definition, COMDAT

; 155  : 	return Find_Def(id,1);

	mov	eax, DWORD PTR _id$[esp-4]
	push	1
	push	eax
	call	DWORD PTR ?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA ; Find_Def
	add	esp, 8

; 156  : }

	ret	0
?Find_Definition@@YAPAVDefinitionClass@@K@Z ENDP	; Find_Definition
_TEXT	ENDS
PUBLIC	??_C@_04CGFJFPFD@none?$AA@			; `string'
PUBLIC	?Get_Definition_Name@@YAPBDK@Z			; Get_Definition_Name
;	COMDAT ??_C@_04CGFJFPFD@none?$AA@
CONST	SEGMENT
??_C@_04CGFJFPFD@none?$AA@ DB 'none', 00H		; `string'
; Function compile flags: /Ogtpy
CONST	ENDS
;	COMDAT ?Get_Definition_Name@@YAPBDK@Z
_TEXT	SEGMENT
_id$ = 8						; size = 4
?Get_Definition_Name@@YAPBDK@Z PROC			; Get_Definition_Name, COMDAT

; 160  : 	if (!id)

	mov	eax, DWORD PTR _id$[esp-4]
	test	eax, eax
	jne	SHORT $LN2@Get_Defini
$LN5@Get_Defini:

; 161  : 	{
; 162  : 		return "none";

	mov	eax, OFFSET ??_C@_04CGFJFPFD@none?$AA@

; 170  : }

	ret	0
$LN2@Get_Defini:

; 163  : 	}
; 164  : 	DefinitionClass *d = Find_Def(id,1);

	push	1
	push	eax
	call	DWORD PTR ?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA ; Find_Def
	add	esp, 8

; 165  : 	if (!d)

	test	eax, eax

; 166  : 	{
; 167  : 		return "none";

	je	SHORT $LN5@Get_Defini

; 168  : 	}
; 169  : 	return d->Get_Name();

	mov	edx, DWORD PTR [eax]
	mov	ecx, eax
	mov	eax, DWORD PTR [edx+48]
	jmp	eax
?Get_Definition_Name@@YAPBDK@Z ENDP			; Get_Definition_Name
_TEXT	ENDS
PUBLIC	?Find_Named_Definition@@YAPAVDefinitionClass@@PBD@Z ; Find_Named_Definition
; Function compile flags: /Ogtpy
;	COMDAT ?Find_Named_Definition@@YAPAVDefinitionClass@@PBD@Z
_TEXT	SEGMENT
_name$ = 8						; size = 4
?Find_Named_Definition@@YAPAVDefinitionClass@@PBD@Z PROC ; Find_Named_Definition, COMDAT

; 188  : 	return FindNamedDef(name,1);

	mov	eax, DWORD PTR _name$[esp-4]
	push	1
	push	eax
	call	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA ; FindNamedDef
	add	esp, 8

; 189  : }

	ret	0
?Find_Named_Definition@@YAPAVDefinitionClass@@PBD@Z ENDP ; Find_Named_Definition
_TEXT	ENDS
PUBLIC	?Get_Definition@@YAPAVDefinitionClass@@PAE@Z	; Get_Definition
EXTRN	?Commands@@3PAUScriptCommands@@A:DWORD		; Commands
; Function compile flags: /Ogtpy
;	COMDAT ?Get_Definition@@YAPAVDefinitionClass@@PAE@Z
_TEXT	SEGMENT
_obj$ = 8						; size = 4
?Get_Definition@@YAPAVDefinitionClass@@PAE@Z PROC	; Get_Definition, COMDAT

; 193  : 	if (!Commands->Get_ID(obj) || !obj)

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	ecx, DWORD PTR [eax+108]
	push	esi
	mov	esi, DWORD PTR _obj$[esp]
	push	esi
	call	ecx
	add	esp, 4
	test	eax, eax
	je	SHORT $LN1@Get_Defini@2
	test	esi, esi
	je	SHORT $LN1@Get_Defini@2

; 196  : 	}
; 197  : 	return ((ScriptableGameObj *)obj)->definition;

	mov	eax, DWORD PTR [esi+1724]
	pop	esi

; 198  : }

	ret	0
$LN1@Get_Defini@2:

; 194  : 	{
; 195  : 		return 0;

	xor	eax, eax
	pop	esi

; 198  : }

	ret	0
?Get_Definition@@YAPAVDefinitionClass@@PAE@Z ENDP	; Get_Definition
_TEXT	ENDS
PUBLIC	?Get_Phys_Definition@@YAPAVDefinitionClass@@PAE@Z ; Get_Phys_Definition
EXTRN	?As_PhysicalGameObj@@YAPAEPAE@Z:PROC		; As_PhysicalGameObj
; Function compile flags: /Ogtpy
;	COMDAT ?Get_Phys_Definition@@YAPAVDefinitionClass@@PAE@Z
_TEXT	SEGMENT
_obj$ = 8						; size = 4
?Get_Phys_Definition@@YAPAVDefinitionClass@@PAE@Z PROC	; Get_Phys_Definition, COMDAT

; 202  : 	if (!Commands->Get_ID(obj) || !obj)

	mov	eax, DWORD PTR ?Commands@@3PAUScriptCommands@@A ; Commands
	mov	ecx, DWORD PTR [eax+108]
	push	esi
	mov	esi, DWORD PTR _obj$[esp]
	push	esi
	call	ecx
	add	esp, 4
	test	eax, eax
	je	SHORT $LN2@Get_Phys_D
	test	esi, esi
	je	SHORT $LN2@Get_Phys_D

; 205  : 	}
; 206  : 	GameObject *o = As_PhysicalGameObj(obj);

	push	esi
	call	?As_PhysicalGameObj@@YAPAEPAE@Z		; As_PhysicalGameObj
	add	esp, 4

; 207  : 	if (!o)

	test	eax, eax

; 208  : 	{
; 209  : 		return 0;

	je	SHORT $LN2@Get_Phys_D

; 210  : 	}
; 211  : 	o+=0x774;
; 212  : 	char *p = (char *)*(unsigned int *)o;
; 213  : #ifdef WIN32
; 214  : 	p += 0x50;
; 215  : #else
; 216  : 	p += 0x68;
; 217  : #endif
; 218  : 	return (DefinitionClass *)*(unsigned int *)p;

	mov	edx, DWORD PTR [eax+1908]
	mov	eax, DWORD PTR [edx+80]
	pop	esi

; 219  : }

	ret	0
$LN2@Get_Phys_D:

; 203  : 	{
; 204  : 		return 0;

	xor	eax, eax
	pop	esi

; 219  : }

	ret	0
?Get_Phys_Definition@@YAPAVDefinitionClass@@PAE@Z ENDP	; Get_Phys_Definition
_TEXT	ENDS
PUBLIC	?Get_Definition_Class_ID@@YAKPBD@Z		; Get_Definition_Class_ID
; Function compile flags: /Ogtpy
;	COMDAT ?Get_Definition_Class_ID@@YAKPBD@Z
_TEXT	SEGMENT
_name$ = 8						; size = 4
?Get_Definition_Class_ID@@YAKPBD@Z PROC			; Get_Definition_Class_ID, COMDAT

; 223  : 	if (!name)

	mov	eax, DWORD PTR _name$[esp-4]
	test	eax, eax
	jne	SHORT $LN2@Get_Defini@3
$LN7@Get_Defini@3:

; 224  : 	{
; 225  : 		return 0;

	xor	eax, eax

; 233  : }

	ret	0
$LN2@Get_Defini@3:

; 226  : 	}
; 227  : 	DefinitionClass *d = Find_Named_Definition(name);

	push	1
	push	eax
	call	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA ; FindNamedDef
	add	esp, 8

; 228  : 	if (!d)

	test	eax, eax

; 229  : 	{
; 230  : 		return 0;

	je	SHORT $LN7@Get_Defini@3

; 231  : 	}
; 232  : 	return d->Get_Class_ID();

	mov	edx, DWORD PTR [eax]
	mov	ecx, eax
	mov	eax, DWORD PTR [edx+32]
	jmp	eax
?Get_Definition_Class_ID@@YAKPBD@Z ENDP			; Get_Definition_Class_ID
_TEXT	ENDS
PUBLIC	?Is_Valid_Preset_ID@@YA_NK@Z			; Is_Valid_Preset_ID
; Function compile flags: /Ogtpy
;	COMDAT ?Is_Valid_Preset_ID@@YA_NK@Z
_TEXT	SEGMENT
_ID$ = 8						; size = 4
?Is_Valid_Preset_ID@@YA_NK@Z PROC			; Is_Valid_Preset_ID, COMDAT

; 237  : 	if (Find_Definition(ID))

	mov	eax, DWORD PTR _ID$[esp-4]
	push	1
	push	eax
	call	DWORD PTR ?Find_Def@@3P6APAVDefinitionClass@@K_N@ZA ; Find_Def
	add	esp, 8
	test	eax, eax
	setne	al

; 238  : 	{
; 239  : 		return true;
; 240  : 	}
; 241  : 	return false;
; 242  : }

	ret	0
?Is_Valid_Preset_ID@@YA_NK@Z ENDP			; Is_Valid_Preset_ID
_TEXT	ENDS
PUBLIC	?Is_Valid_Preset@@YA_NPBD@Z			; Is_Valid_Preset
; Function compile flags: /Ogtpy
;	COMDAT ?Is_Valid_Preset@@YA_NPBD@Z
_TEXT	SEGMENT
_Preset$ = 8						; size = 4
?Is_Valid_Preset@@YA_NPBD@Z PROC			; Is_Valid_Preset, COMDAT

; 246  : 	if (Find_Named_Definition(Preset))

	mov	eax, DWORD PTR _Preset$[esp-4]
	push	1
	push	eax
	call	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA ; FindNamedDef
	add	esp, 8
	test	eax, eax
	setne	al

; 247  : 	{
; 248  : 		return true;
; 249  : 	}
; 250  : 	return false;
; 251  : }

	ret	0
?Is_Valid_Preset@@YA_NPBD@Z ENDP			; Is_Valid_Preset
_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
$T57492 = -12						; size = 12
_this$ = 8						; size = 4
$T57498 = 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 $T57498[esp+12]
	push	eax
	lea	ecx, DWORD PTR $T57492[esp+20]
	mov	DWORD PTR $T57498[esp+16], 0
	call	??0exception@std@@QAE@ABQBD@Z		; std::exception::exception
	push	OFFSET __TI2?AVbad_alloc@std@@
	lea	ecx, DWORD PTR $T57492[esp+20]
	push	ecx
	mov	DWORD PTR $T57492[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
$T57504 = -12						; size = 12
$T57509 = 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 $T57509[esp+12]
	push	eax
	lea	ecx, DWORD PTR $T57504[esp+20]
	mov	DWORD PTR $T57509[esp+16], 0
	call	??0exception@std@@QAE@ABQBD@Z		; std::exception::exception
	push	OFFSET __TI2?AVbad_alloc@std@@
	lea	ecx, DWORD PTR $T57504[esp+20]
	push	ecx
	mov	DWORD PTR $T57504[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
; 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
_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	?Get_Definition_ID@@YAKPBD@Z			; Get_Definition_ID
; Function compile flags: /Ogtpy
; File d:\source code\stgm\engine_def.cpp
;	COMDAT ?Get_Definition_ID@@YAKPBD@Z
_TEXT	SEGMENT
_name$ = 8						; size = 4
?Get_Definition_ID@@YAKPBD@Z PROC			; Get_Definition_ID, COMDAT

; 174  : 	if (!name)

	mov	eax, DWORD PTR _name$[esp-4]
	test	eax, eax
	jne	SHORT $LN2@Get_Defini@4
$LN7@Get_Defini@4:

; 175  : 	{
; 176  : 		return 0;

	xor	eax, eax

; 184  : }

	ret	0
$LN2@Get_Defini@4:

; 177  : 	}
; 178  : 	DefinitionClass *d = Find_Named_Definition(name);

	push	1
	push	eax
	call	DWORD PTR ?FindNamedDef@@3P6APAVDefinitionClass@@PBD_N@ZA ; FindNamedDef
	add	esp, 8

; 179  : 	if (!d)

	test	eax, eax

; 180  : 	{
; 181  : 		return 0;

	je	SHORT $LN7@Get_Defini@4

; 182  : 	}
; 183  : 	return d->Get_ID();

	mov	edx, DWORD PTR [eax]
	mov	ecx, eax
	mov	eax, DWORD PTR [edx+36]
	jmp	eax
?Get_Definition_ID@@YAKPBD@Z ENDP			; Get_Definition_ID
_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
END
