	format	MS COFF
	extrn	_C_AddSurface
	extrn	_C_AddTriangle
	extrn	_C_AddVertex
	extrn	_C_CollisionDetect
	extrn	_C_CollisionFinal
	extrn	_C_CollisionNX
	extrn	_C_CollisionNY
	extrn	_C_CollisionNZ
	extrn	_C_CollisionPosX
	extrn	_C_CollisionPosY
	extrn	_C_CollisionPosZ
	extrn	_C_CollisionResponse
	extrn	_C_CollisionSurface
	extrn	_C_CollisionTime
	extrn	_C_CollisionTriangle
	extrn	_C_CollisionX
	extrn	_C_CollisionY
	extrn	_C_CollisionZ
	extrn	_C_CreateColTree
	extrn	_C_CreateCollisionInfoObject
	extrn	_C_CreateCollisionObject
	extrn	_C_CreateLineObject
	extrn	_C_CreateMatrixObject
	extrn	_C_CreateTFormObject
	extrn	_C_CreateVecObject
	extrn	_C_DeleteColTree
	extrn	_C_DeleteCollisionInfoObject
	extrn	_C_DeleteCollisionObject
	extrn	_C_DeleteMeshInfo
	extrn	_C_NewMeshInfo
	extrn	_C_Pick
	extrn	_C_UpdateCollisionInfoObject
	extrn	_C_UpdateLineObject
	extrn	_C_UpdateMatrixObject
	extrn	_C_UpdateNormals
	extrn	_C_UpdateTFormObject
	extrn	_C_UpdateVecObject
	extrn	___bb_blitz_blitz
	extrn	___bb_bmploader_bmploader
	extrn	___bb_glew_glew
	extrn	___bb_glmax2d_glmax2d
	extrn	___bb_jpgloader_jpgloader
	extrn	___bb_pngloader_pngloader
	extrn	___bb_retro_retro
	extrn	___glewActiveTextureARB
	extrn	___glewBindBufferARB
	extrn	___glewBufferDataARB
	extrn	___glewClientActiveTextureARB
	extrn	___glewDeleteBuffersARB
	extrn	___glewGenBuffersARB
	extrn	___glewMultiTexCoord2fARB
	extrn	_bbACos
	extrn	_bbATan
	extrn	_bbATan2
	extrn	_bbArrayCastFromObject
	extrn	_bbArrayConcat
	extrn	_bbArrayDimensions
	extrn	_bbArrayNew
	extrn	_bbArrayNew1D
	extrn	_bbArraySlice
	extrn	_bbArraySort
	extrn	_bbConvertToFloat
	extrn	_bbCos
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbFloatAbs
	extrn	_bbFloatMax
	extrn	_bbFloatMod
	extrn	_bbFloatSgn
	extrn	_bbFloatToInt
	extrn	_bbFloatTypeTag
	extrn	_bbGCFree
	extrn	_bbIntMax
	extrn	_bbIntMin
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbSin
	extrn	_bbSqr
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringConcat
	extrn	_bbStringFind
	extrn	_bbStringFromCString
	extrn	_bbStringFromChar
	extrn	_bbStringFromFloat
	extrn	_bbStringFromInt
	extrn	_bbStringSlice
	extrn	_bbStringSplit
	extrn	_bbStringToInt
	extrn	_brl_blitz_DebugLog
	extrn	_brl_blitz_NullMethodError
	extrn	_brl_blitz_RuntimeError
	extrn	_brl_filesystem_ChangeDir
	extrn	_brl_filesystem_CurrentDir
	extrn	_brl_filesystem_ExtractDir
	extrn	_brl_filesystem_FileType
	extrn	_brl_filesystem_ReadFile
	extrn	_brl_glgraphics_GLDrawText
	extrn	_brl_glmax2d_GLMax2DDriver
	extrn	_brl_graphics_Graphics
	extrn	_brl_graphics_SetGraphicsDriver
	extrn	_brl_linkedlist_ClearList
	extrn	_brl_linkedlist_CreateList
	extrn	_brl_linkedlist_ListAddLast
	extrn	_brl_linkedlist_ListRemove
	extrn	_brl_linkedlist_ListToArray
	extrn	_brl_linkedlist_TList
	extrn	_brl_pixmap_BytesPerPixel
	extrn	_brl_pixmap_CreatePixmap
	extrn	_brl_pixmap_LoadPixmap
	extrn	_brl_pixmap_MaskPixmap
	extrn	_brl_pixmap_ReadPixel
	extrn	_brl_pixmap_ResizePixmap
	extrn	_brl_polledinput_KeyHit
	extrn	_brl_retro_Instr
	extrn	_brl_retro_Left
	extrn	_brl_retro_Lower
	extrn	_brl_retro_Mid
	extrn	_brl_retro_Replace
	extrn	_brl_retro_Right
	extrn	_brl_standardio_Print
	extrn	_brl_stream_CloseStream
	extrn	_brl_stream_Eof
	extrn	_brl_stream_OpenStream
	extrn	_brl_stream_ReadByte
	extrn	_brl_stream_ReadFloat
	extrn	_brl_stream_ReadInt
	extrn	_brl_stream_ReadLong
	extrn	_brl_stream_SeekStream
	extrn	_brl_stream_StreamPos
	extrn	_brl_stream_StreamSize
	extrn	_brl_stream_WriteStream
	extrn	_glAccum@8
	extrn	_glAlphaFunc@8
	extrn	_glBegin@4
	extrn	_glBindTexture@8
	extrn	_glBlendFunc@8
	extrn	_glClear@4
	extrn	_glClearColor@16
	extrn	_glClearDepth@8
	extrn	_glColor3f@12
	extrn	_glColorPointer@16
	extrn	_glCopyTexImage2D@32
	extrn	_glDepthFunc@4
	extrn	_glDepthMask@4
	extrn	_glDisable@4
	extrn	_glDisableClientState@4
	extrn	_glDrawElements@16
	extrn	_glEnable@4
	extrn	_glEnableClientState@4
	extrn	_glEnd@0
	extrn	_glFlush@0
	extrn	_glFogf@8
	extrn	_glFogfv@8
	extrn	_glFogi@8
	extrn	_glFrustum@48
	extrn	_glGenTextures@8
	extrn	_glGetDoublev@8
	extrn	_glGetFloatv@8
	extrn	_glGetIntegerv@8
	extrn	_glGetString@4
	extrn	_glHint@8
	extrn	_glIsEnabled@4
	extrn	_glLightModelfv@8
	extrn	_glLightModeli@8
	extrn	_glLightfv@12
	extrn	_glLoadIdentity@0
	extrn	_glLoadMatrixf@4
	extrn	_glMaterialfv@12
	extrn	_glMatrixMode@4
	extrn	_glMultMatrixf@4
	extrn	_glNormal3f@12
	extrn	_glNormalPointer@12
	extrn	_glOrtho@48
	extrn	_glPixelStorei@8
	extrn	_glPolygonMode@8
	extrn	_glPopAttrib@0
	extrn	_glPopClientAttrib@0
	extrn	_glPopMatrix@0
	extrn	_glPushAttrib@4
	extrn	_glPushClientAttrib@4
	extrn	_glPushMatrix@0
	extrn	_glRotatef@16
	extrn	_glScalef@12
	extrn	_glScissor@16
	extrn	_glShadeModel@4
	extrn	_glTexCoordPointer@16
	extrn	_glTexEnvf@12
	extrn	_glTexEnvi@12
	extrn	_glTexGeni@12
	extrn	_glTexImage2D@36
	extrn	_glTexParameteri@12
	extrn	_glTranslatef@12
	extrn	_glVertex3f@12
	extrn	_glVertexPointer@16
	extrn	_glViewport@16
	extrn	_glewInit
	extrn	_gluProject@48
	extrn	_gluUnProject@48
	public	___bb_minib3d_minib3d
	public	__sidesign_minib3d_T3DSLoader_Delete
	public	__sidesign_minib3d_T3DSLoader_Load
	public	__sidesign_minib3d_T3DSLoader_LoadMap
	public	__sidesign_minib3d_T3DSLoader_New
	public	__sidesign_minib3d_T3DSLoader_ReadBrushBlock
	public	__sidesign_minib3d_T3DSLoader_ReadCString
	public	__sidesign_minib3d_T3DSLoader_ReadChunk
	public	__sidesign_minib3d_T3DSLoader_ReadFaceList
	public	__sidesign_minib3d_T3DSLoader_ReadFaceMatList
	public	__sidesign_minib3d_T3DSLoader_ReadMap
	public	__sidesign_minib3d_T3DSLoader_ReadPercent
	public	__sidesign_minib3d_T3DSLoader_ReadRGB
	public	__sidesign_minib3d_T3DSLoader_ReadTexCoords
	public	__sidesign_minib3d_T3DSLoader_ReadTriMesh
	public	__sidesign_minib3d_T3DSLoader_ReadVertexList
	public	__sidesign_minib3d_T3DSLoader_ScipChunk
	public	__sidesign_minib3d_TAnimationFrame_Copy
	public	__sidesign_minib3d_TAnimationFrame_Delete
	public	__sidesign_minib3d_TAnimationFrame_New
	public	__sidesign_minib3d_TAnimationKeys_Copy
	public	__sidesign_minib3d_TAnimationKeys_Delete
	public	__sidesign_minib3d_TAnimationKeys_New
	public	__sidesign_minib3d_TAnimation_AnimateMesh
	public	__sidesign_minib3d_TAnimation_AnimateMesh2
	public	__sidesign_minib3d_TAnimation_Delete
	public	__sidesign_minib3d_TAnimation_New
	public	__sidesign_minib3d_TAnimation_NormaliseWeights
	public	__sidesign_minib3d_TAnimation_VertexDeform
	public	__sidesign_minib3d_TBlitz2D_BeginMax2D
	public	__sidesign_minib3d_TBlitz2D_Delete
	public	__sidesign_minib3d_TBlitz2D_EndMax2D
	public	__sidesign_minib3d_TBlitz2D_New
	public	__sidesign_minib3d_TBlitz2D_Text
	public	__sidesign_minib3d_TBone_CopyEntity
	public	__sidesign_minib3d_TBone_Delete
	public	__sidesign_minib3d_TBone_FreeEntity
	public	__sidesign_minib3d_TBone_New
	public	__sidesign_minib3d_TBone_Update
	public	__sidesign_minib3d_TBone_UpdateBoneChildren
	public	__sidesign_minib3d_TBrush_BrushAlpha
	public	__sidesign_minib3d_TBrush_BrushBlend
	public	__sidesign_minib3d_TBrush_BrushColor
	public	__sidesign_minib3d_TBrush_BrushFX
	public	__sidesign_minib3d_TBrush_BrushShininess
	public	__sidesign_minib3d_TBrush_BrushTexture
	public	__sidesign_minib3d_TBrush_CompareBrushes
	public	__sidesign_minib3d_TBrush_Copy
	public	__sidesign_minib3d_TBrush_CreateBrush
	public	__sidesign_minib3d_TBrush_Delete
	public	__sidesign_minib3d_TBrush_FreeBrush
	public	__sidesign_minib3d_TBrush_GetEntityBrush
	public	__sidesign_minib3d_TBrush_GetSurfaceBrush
	public	__sidesign_minib3d_TBrush_GetTex
	public	__sidesign_minib3d_TBrush_LoadBrush
	public	__sidesign_minib3d_TBrush_New
	public	__sidesign_minib3d_TCamera_CameraClsColor
	public	__sidesign_minib3d_TCamera_CameraClsMode
	public	__sidesign_minib3d_TCamera_CameraFogColor
	public	__sidesign_minib3d_TCamera_CameraFogMode
	public	__sidesign_minib3d_TCamera_CameraFogRange
	public	__sidesign_minib3d_TCamera_CameraPick
	public	__sidesign_minib3d_TCamera_CameraProjMode
	public	__sidesign_minib3d_TCamera_CameraProject
	public	__sidesign_minib3d_TCamera_CameraRange
	public	__sidesign_minib3d_TCamera_CameraViewport
	public	__sidesign_minib3d_TCamera_CameraZoom
	public	__sidesign_minib3d_TCamera_CopyEntity
	public	__sidesign_minib3d_TCamera_CreateCamera
	public	__sidesign_minib3d_TCamera_Delete
	public	__sidesign_minib3d_TCamera_EntityInFrustum
	public	__sidesign_minib3d_TCamera_EntityInView
	public	__sidesign_minib3d_TCamera_ExtractFrustum
	public	__sidesign_minib3d_TCamera_FreeEntity
	public	__sidesign_minib3d_TCamera_New
	public	__sidesign_minib3d_TCamera_ProjectedX
	public	__sidesign_minib3d_TCamera_ProjectedY
	public	__sidesign_minib3d_TCamera_ProjectedZ
	public	__sidesign_minib3d_TCamera_Update
	public	__sidesign_minib3d_TCamera_accFrustum
	public	__sidesign_minib3d_TCamera_accPerspective
	public	__sidesign_minib3d_TCamera_cam_list
	public	__sidesign_minib3d_TCamera_projected_x
	public	__sidesign_minib3d_TCamera_projected_y
	public	__sidesign_minib3d_TCamera_projected_z
	public	__sidesign_minib3d_TColTree_Delete
	public	__sidesign_minib3d_TColTree_New
	public	__sidesign_minib3d_TColTree_TreeCheck
	public	__sidesign_minib3d_TCollisionImpact_Delete
	public	__sidesign_minib3d_TCollisionImpact_New
	public	__sidesign_minib3d_TCollisionPair_Delete
	public	__sidesign_minib3d_TCollisionPair_New
	public	__sidesign_minib3d_TCollisionPair_ent_lists
	public	__sidesign_minib3d_TCollisionPair_list
	public	__sidesign_minib3d_TDebug_DebugEntity
	public	__sidesign_minib3d_TDebug_DebugWorld
	public	__sidesign_minib3d_TDebug_Delete
	public	__sidesign_minib3d_TDebug_EntityInfo1
	public	__sidesign_minib3d_TDebug_EntityInfo2
	public	__sidesign_minib3d_TDebug_EntityInfo3
	public	__sidesign_minib3d_TDebug_EntityInfo4
	public	__sidesign_minib3d_TDebug_New
	public	__sidesign_minib3d_TDebug_UpdateBoundingSphere
	public	__sidesign_minib3d_TDebug_UpdateMarker
	public	__sidesign_minib3d_TDebug_UpdateSurface
	public	__sidesign_minib3d_TDebug_bounding_sphere
	public	__sidesign_minib3d_TDebug_cno
	public	__sidesign_minib3d_TDebug_debug_mesh
	public	__sidesign_minib3d_TDebug_debug_surf
	public	__sidesign_minib3d_TDebug_info
	public	__sidesign_minib3d_TDebug_marker
	public	__sidesign_minib3d_TDebug_show_ents
	public	__sidesign_minib3d_TDebug_surf_no
	public	__sidesign_minib3d_TEntity_AddParent
	public	__sidesign_minib3d_TEntity_AngDiff2
	public	__sidesign_minib3d_TEntity_AnimLength
	public	__sidesign_minib3d_TEntity_AnimSeq
	public	__sidesign_minib3d_TEntity_AnimTime
	public	__sidesign_minib3d_TEntity_Animate
	public	__sidesign_minib3d_TEntity_Animating
	public	__sidesign_minib3d_TEntity_ApplyAnimationTo
	public	__sidesign_minib3d_TEntity_BoundingSphereNew
	public	__sidesign_minib3d_TEntity_CollisionEntity
	public	__sidesign_minib3d_TEntity_CollisionNX
	public	__sidesign_minib3d_TEntity_CollisionNY
	public	__sidesign_minib3d_TEntity_CollisionNZ
	public	__sidesign_minib3d_TEntity_CollisionSurface
	public	__sidesign_minib3d_TEntity_CollisionTime
	public	__sidesign_minib3d_TEntity_CollisionTriangle
	public	__sidesign_minib3d_TEntity_CollisionX
	public	__sidesign_minib3d_TEntity_CollisionY
	public	__sidesign_minib3d_TEntity_CollisionZ
	public	__sidesign_minib3d_TEntity_CountAllChildren
	public	__sidesign_minib3d_TEntity_CountChildren
	public	__sidesign_minib3d_TEntity_CountCollisions
	public	__sidesign_minib3d_TEntity_Delete
	public	__sidesign_minib3d_TEntity_DeleteFrame
	public	__sidesign_minib3d_TEntity_DeltaPitch
	public	__sidesign_minib3d_TEntity_DeltaYaw
	public	__sidesign_minib3d_TEntity_EntityAlpha
	public	__sidesign_minib3d_TEntity_EntityAutoFade
	public	__sidesign_minib3d_TEntity_EntityBlend
	public	__sidesign_minib3d_TEntity_EntityBox
	public	__sidesign_minib3d_TEntity_EntityClass
	public	__sidesign_minib3d_TEntity_EntityCollided
	public	__sidesign_minib3d_TEntity_EntityColor
	public	__sidesign_minib3d_TEntity_EntityDistance
	public	__sidesign_minib3d_TEntity_EntityDistanceSquared
	public	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	public	__sidesign_minib3d_TEntity_EntityFX
	public	__sidesign_minib3d_TEntity_EntityListAdd
	public	__sidesign_minib3d_TEntity_EntityName
	public	__sidesign_minib3d_TEntity_EntityOrder
	public	__sidesign_minib3d_TEntity_EntityParent
	public	__sidesign_minib3d_TEntity_EntityPick
	public	__sidesign_minib3d_TEntity_EntityPickMode
	public	__sidesign_minib3d_TEntity_EntityPitch
	public	__sidesign_minib3d_TEntity_EntityRadius
	public	__sidesign_minib3d_TEntity_EntityRoll
	public	__sidesign_minib3d_TEntity_EntityScaleX
	public	__sidesign_minib3d_TEntity_EntityScaleY
	public	__sidesign_minib3d_TEntity_EntityScaleZ
	public	__sidesign_minib3d_TEntity_EntityShininess
	public	__sidesign_minib3d_TEntity_EntityTexture
	public	__sidesign_minib3d_TEntity_EntityType
	public	__sidesign_minib3d_TEntity_EntityVisible
	public	__sidesign_minib3d_TEntity_EntityX
	public	__sidesign_minib3d_TEntity_EntityY
	public	__sidesign_minib3d_TEntity_EntityYaw
	public	__sidesign_minib3d_TEntity_EntityZ
	public	__sidesign_minib3d_TEntity_ExtractAnimSeq
	public	__sidesign_minib3d_TEntity_FindChild
	public	__sidesign_minib3d_TEntity_FreeEntity
	public	__sidesign_minib3d_TEntity_GetChild
	public	__sidesign_minib3d_TEntity_GetChildFromAll
	public	__sidesign_minib3d_TEntity_GetEntityType
	public	__sidesign_minib3d_TEntity_GetFrame
	public	__sidesign_minib3d_TEntity_GetMatElement
	public	__sidesign_minib3d_TEntity_GetParent
	public	__sidesign_minib3d_TEntity_Hidden
	public	__sidesign_minib3d_TEntity_HideEntity
	public	__sidesign_minib3d_TEntity_InsertFrame
	public	__sidesign_minib3d_TEntity_LinePick
	public	__sidesign_minib3d_TEntity_LoadAnimSeq
	public	__sidesign_minib3d_TEntity_MQ_CopyMat
	public	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	public	__sidesign_minib3d_TEntity_MQ_GetMatrix
	public	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	public	__sidesign_minib3d_TEntity_MQ_Move
	public	__sidesign_minib3d_TEntity_MQ_Position
	public	__sidesign_minib3d_TEntity_MQ_Rotate
	public	__sidesign_minib3d_TEntity_MQ_Scale
	public	__sidesign_minib3d_TEntity_MQ_SetParent
	public	__sidesign_minib3d_TEntity_MQ_TransformPoint
	public	__sidesign_minib3d_TEntity_MQ_Turn
	public	__sidesign_minib3d_TEntity_MQ_Turn2
	public	__sidesign_minib3d_TEntity_MQ_Update
	public	__sidesign_minib3d_TEntity_MeshCullRadius
	public	__sidesign_minib3d_TEntity_MoveEntity
	public	__sidesign_minib3d_TEntity_NameEntity
	public	__sidesign_minib3d_TEntity_New
	public	__sidesign_minib3d_TEntity_PaintEntity
	public	__sidesign_minib3d_TEntity_PlayFrame
	public	__sidesign_minib3d_TEntity_PointEntity
	public	__sidesign_minib3d_TEntity_PositionEntity
	public	__sidesign_minib3d_TEntity_RecordFrame
	public	__sidesign_minib3d_TEntity_ResetEntity
	public	__sidesign_minib3d_TEntity_RotateEntity
	public	__sidesign_minib3d_TEntity_ScaleEntity
	public	__sidesign_minib3d_TEntity_SetAnimTime
	public	__sidesign_minib3d_TEntity_SetAnimationFrame
	public	__sidesign_minib3d_TEntity_SetUpdateFlag
	public	__sidesign_minib3d_TEntity_ShowEntity
	public	__sidesign_minib3d_TEntity_TFormNormal
	public	__sidesign_minib3d_TEntity_TFormPoint
	public	__sidesign_minib3d_TEntity_TFormVector
	public	__sidesign_minib3d_TEntity_TFormedX
	public	__sidesign_minib3d_TEntity_TFormedY
	public	__sidesign_minib3d_TEntity_TFormedZ
	public	__sidesign_minib3d_TEntity_TranslateEntity
	public	__sidesign_minib3d_TEntity_TurnEntity
	public	__sidesign_minib3d_TEntity_TweenFrame
	public	__sidesign_minib3d_TEntity_UpdateChildren
	public	__sidesign_minib3d_TEntity_UpdateMat
	public	__sidesign_minib3d_TEntity_UpdateRadius
	public	__sidesign_minib3d_TEntity_entity_list
	public	__sidesign_minib3d_TEntity_tformed_x
	public	__sidesign_minib3d_TEntity_tformed_y
	public	__sidesign_minib3d_TEntity_tformed_z
	public	__sidesign_minib3d_TGlobal_ACSIZE
	public	__sidesign_minib3d_TGlobal_AmbientLight
	public	__sidesign_minib3d_TGlobal_AntiAlias
	public	__sidesign_minib3d_TGlobal_AutoFade
	public	__sidesign_minib3d_TGlobal_ClearCollisions
	public	__sidesign_minib3d_TGlobal_ClearWorld
	public	__sidesign_minib3d_TGlobal_Collisions
	public	__sidesign_minib3d_TGlobal_Delete
	public	__sidesign_minib3d_TGlobal_EnableStates
	public	__sidesign_minib3d_TGlobal_Graphics3D
	public	__sidesign_minib3d_TGlobal_GraphicsInit
	public	__sidesign_minib3d_TGlobal_New
	public	__sidesign_minib3d_TGlobal_RenderCamera
	public	__sidesign_minib3d_TGlobal_RenderListAdd
	public	__sidesign_minib3d_TGlobal_RenderWorld
	public	__sidesign_minib3d_TGlobal_RenderWorldAA
	public	__sidesign_minib3d_TGlobal_UpdateSprites
	public	__sidesign_minib3d_TGlobal_UpdateWorld
	public	__sidesign_minib3d_TGlobal_Wireframe
	public	__sidesign_minib3d_TGlobal_aa
	public	__sidesign_minib3d_TGlobal_ambient_blue
	public	__sidesign_minib3d_TGlobal_ambient_green
	public	__sidesign_minib3d_TGlobal_ambient_red
	public	__sidesign_minib3d_TGlobal_depth
	public	__sidesign_minib3d_TGlobal_height
	public	__sidesign_minib3d_TGlobal_j
	public	__sidesign_minib3d_TGlobal_jitter
	public	__sidesign_minib3d_TGlobal_mode
	public	__sidesign_minib3d_TGlobal_rate
	public	__sidesign_minib3d_TGlobal_vbo_enabled
	public	__sidesign_minib3d_TGlobal_width
	public	__sidesign_minib3d_THardwareInfo_AnIsoSupport
	public	__sidesign_minib3d_THardwareInfo_CubemapSupport
	public	__sidesign_minib3d_THardwareInfo_Delete
	public	__sidesign_minib3d_THardwareInfo_DepthmapSupport
	public	__sidesign_minib3d_THardwareInfo_DisplayInfo
	public	__sidesign_minib3d_THardwareInfo_Extensions
	public	__sidesign_minib3d_THardwareInfo_FPSupport
	public	__sidesign_minib3d_THardwareInfo_FSSupport
	public	__sidesign_minib3d_THardwareInfo_GLTCSupport
	public	__sidesign_minib3d_THardwareInfo_GetInfo
	public	__sidesign_minib3d_THardwareInfo_MaxLights
	public	__sidesign_minib3d_THardwareInfo_MaxTexSize
	public	__sidesign_minib3d_THardwareInfo_MaxTextures
	public	__sidesign_minib3d_THardwareInfo_MultiTexSupport
	public	__sidesign_minib3d_THardwareInfo_New
	public	__sidesign_minib3d_THardwareInfo_OGLVersion
	public	__sidesign_minib3d_THardwareInfo_Renderer
	public	__sidesign_minib3d_THardwareInfo_S3TCSupport
	public	__sidesign_minib3d_THardwareInfo_SLSupport
	public	__sidesign_minib3d_THardwareInfo_ScreenDepth
	public	__sidesign_minib3d_THardwareInfo_ScreenHeight
	public	__sidesign_minib3d_THardwareInfo_ScreenHertz
	public	__sidesign_minib3d_THardwareInfo_ScreenWidth
	public	__sidesign_minib3d_THardwareInfo_ShaderSupport
	public	__sidesign_minib3d_THardwareInfo_TexBlendSupport
	public	__sidesign_minib3d_THardwareInfo_VBOSupport
	public	__sidesign_minib3d_THardwareInfo_VPSupport
	public	__sidesign_minib3d_THardwareInfo_VSSupport
	public	__sidesign_minib3d_THardwareInfo_Vendor
	public	__sidesign_minib3d_TLight_CopyEntity
	public	__sidesign_minib3d_TLight_CreateLight
	public	__sidesign_minib3d_TLight_Delete
	public	__sidesign_minib3d_TLight_FreeEntity
	public	__sidesign_minib3d_TLight_LightColor
	public	__sidesign_minib3d_TLight_LightConeAngles
	public	__sidesign_minib3d_TLight_LightRange
	public	__sidesign_minib3d_TLight_New
	public	__sidesign_minib3d_TLight_Update
	public	__sidesign_minib3d_TLight_gl_light
	public	__sidesign_minib3d_TLight_light_list
	public	__sidesign_minib3d_TLight_light_no
	public	__sidesign_minib3d_TLight_max_lights
	public	__sidesign_minib3d_TLight_no_lights
	public	__sidesign_minib3d_TMatrix_Copy
	public	__sidesign_minib3d_TMatrix_Create
	public	__sidesign_minib3d_TMatrix_Delete
	public	__sidesign_minib3d_TMatrix_FromQuaternion
	public	__sidesign_minib3d_TMatrix_FromToRotation
	public	__sidesign_minib3d_TMatrix_GetPitch
	public	__sidesign_minib3d_TMatrix_GetRoll
	public	__sidesign_minib3d_TMatrix_GetYaw
	public	__sidesign_minib3d_TMatrix_Inverse
	public	__sidesign_minib3d_TMatrix_LoadIdentity
	public	__sidesign_minib3d_TMatrix_Multiply
	public	__sidesign_minib3d_TMatrix_Multiply2
	public	__sidesign_minib3d_TMatrix_New
	public	__sidesign_minib3d_TMatrix_Overwrite
	public	__sidesign_minib3d_TMatrix_Rotate
	public	__sidesign_minib3d_TMatrix_RotatePitch
	public	__sidesign_minib3d_TMatrix_RotateRoll
	public	__sidesign_minib3d_TMatrix_RotateYaw
	public	__sidesign_minib3d_TMatrix_Scale
	public	__sidesign_minib3d_TMatrix_SetTranslate
	public	__sidesign_minib3d_TMatrix_ToQuat
	public	__sidesign_minib3d_TMatrix_TransformVec
	public	__sidesign_minib3d_TMatrix_Translate
	public	__sidesign_minib3d_TMatrix_Transpose
	public	__sidesign_minib3d_TMesh_AddMesh
	public	__sidesign_minib3d_TMesh_Alpha
	public	__sidesign_minib3d_TMesh_CollapseAnimMesh
	public	__sidesign_minib3d_TMesh_CollapseChildren
	public	__sidesign_minib3d_TMesh_CopyBonesList
	public	__sidesign_minib3d_TMesh_CopyEntity
	public	__sidesign_minib3d_TMesh_CopyMesh
	public	__sidesign_minib3d_TMesh_CountSurfaces
	public	__sidesign_minib3d_TMesh_CountTriangles
	public	__sidesign_minib3d_TMesh_CountVertices
	public	__sidesign_minib3d_TMesh_CreateCone
	public	__sidesign_minib3d_TMesh_CreateCube
	public	__sidesign_minib3d_TMesh_CreateCylinder
	public	__sidesign_minib3d_TMesh_CreateMesh
	public	__sidesign_minib3d_TMesh_CreateSphere
	public	__sidesign_minib3d_TMesh_CreateSurface
	public	__sidesign_minib3d_TMesh_Delete
	public	__sidesign_minib3d_TMesh_FindSurface
	public	__sidesign_minib3d_TMesh_FitMesh
	public	__sidesign_minib3d_TMesh_FlipMesh
	public	__sidesign_minib3d_TMesh_FreeEntity
	public	__sidesign_minib3d_TMesh_GetBounds
	public	__sidesign_minib3d_TMesh_GetSurface
	public	__sidesign_minib3d_TMesh_LoadAnimMesh
	public	__sidesign_minib3d_TMesh_LoadMesh
	public	__sidesign_minib3d_TMesh_MeshDepth
	public	__sidesign_minib3d_TMesh_MeshHeight
	public	__sidesign_minib3d_TMesh_MeshWidth
	public	__sidesign_minib3d_TMesh_New
	public	__sidesign_minib3d_TMesh_PaintMesh
	public	__sidesign_minib3d_TMesh_PositionMesh
	public	__sidesign_minib3d_TMesh_RotateMesh
	public	__sidesign_minib3d_TMesh_ScaleMesh
	public	__sidesign_minib3d_TMesh_TransformMesh
	public	__sidesign_minib3d_TMesh_Update
	public	__sidesign_minib3d_TMesh_UpdateNormals
	public	__sidesign_minib3d_TModel_Delete
	public	__sidesign_minib3d_TModel_LoadAnimB3D
	public	__sidesign_minib3d_TModel_LoadAnimB3DFromStream
	public	__sidesign_minib3d_TModel_New
	public	__sidesign_minib3d_TModel_NewTag
	public	__sidesign_minib3d_TModel_ReadTag
	public	__sidesign_minib3d_TModel_TrimVerts
	public	__sidesign_minib3d_TModel_b3dReadString
	public	__sidesign_minib3d_TPick_CameraPick
	public	__sidesign_minib3d_TPick_Delete
	public	__sidesign_minib3d_TPick_EntityPick
	public	__sidesign_minib3d_TPick_EntityVisible
	public	__sidesign_minib3d_TPick_LinePick
	public	__sidesign_minib3d_TPick_New
	public	__sidesign_minib3d_TPick_Pick
	public	__sidesign_minib3d_TPick_PickedEntity
	public	__sidesign_minib3d_TPick_PickedNX
	public	__sidesign_minib3d_TPick_PickedNY
	public	__sidesign_minib3d_TPick_PickedNZ
	public	__sidesign_minib3d_TPick_PickedSurface
	public	__sidesign_minib3d_TPick_PickedTime
	public	__sidesign_minib3d_TPick_PickedTriangle
	public	__sidesign_minib3d_TPick_PickedX
	public	__sidesign_minib3d_TPick_PickedY
	public	__sidesign_minib3d_TPick_PickedZ
	public	__sidesign_minib3d_TPick_ent_list
	public	__sidesign_minib3d_TPick_picked_ent
	public	__sidesign_minib3d_TPick_picked_nx
	public	__sidesign_minib3d_TPick_picked_ny
	public	__sidesign_minib3d_TPick_picked_nz
	public	__sidesign_minib3d_TPick_picked_surface
	public	__sidesign_minib3d_TPick_picked_time
	public	__sidesign_minib3d_TPick_picked_triangle
	public	__sidesign_minib3d_TPick_picked_x
	public	__sidesign_minib3d_TPick_picked_y
	public	__sidesign_minib3d_TPick_picked_z
	public	__sidesign_minib3d_TPivot_CopyEntity
	public	__sidesign_minib3d_TPivot_CreatePivot
	public	__sidesign_minib3d_TPivot_Delete
	public	__sidesign_minib3d_TPivot_FreeEntity
	public	__sidesign_minib3d_TPivot_New
	public	__sidesign_minib3d_TPivot_Update
	public	__sidesign_minib3d_TQuaternion_Delete
	public	__sidesign_minib3d_TQuaternion_New
	public	__sidesign_minib3d_TQuaternion_QuatToEuler
	public	__sidesign_minib3d_TQuaternion_QuatToMat
	public	__sidesign_minib3d_TQuaternion_Slerp
	public	__sidesign_minib3d_TSceneGraph_AddEntity
	public	__sidesign_minib3d_TSceneGraph_AddToSceneGraph
	public	__sidesign_minib3d_TSceneGraph_Create
	public	__sidesign_minib3d_TSceneGraph_Delete
	public	__sidesign_minib3d_TSceneGraph_Free
	public	__sidesign_minib3d_TSceneGraph_New
	public	__sidesign_minib3d_TSceneGraph_Render
	public	__sidesign_minib3d_TSceneGraph_scenegraph_list
	public	__sidesign_minib3d_TSprite_CopyEntity
	public	__sidesign_minib3d_TSprite_CreateSprite
	public	__sidesign_minib3d_TSprite_Delete
	public	__sidesign_minib3d_TSprite_HandleSprite
	public	__sidesign_minib3d_TSprite_LoadSprite
	public	__sidesign_minib3d_TSprite_New
	public	__sidesign_minib3d_TSprite_RotateSprite
	public	__sidesign_minib3d_TSprite_ScaleSprite
	public	__sidesign_minib3d_TSprite_SpriteViewMode
	public	__sidesign_minib3d_TSurface_AddTriangle
	public	__sidesign_minib3d_TSurface_AddVertex
	public	__sidesign_minib3d_TSurface_ClearSurface
	public	__sidesign_minib3d_TSurface_Compare
	public	__sidesign_minib3d_TSurface_Copy
	public	__sidesign_minib3d_TSurface_CountTriangles
	public	__sidesign_minib3d_TSurface_CountVertices
	public	__sidesign_minib3d_TSurface_Delete
	public	__sidesign_minib3d_TSurface_FreeVBO
	public	__sidesign_minib3d_TSurface_New
	public	__sidesign_minib3d_TSurface_PaintSurface
	public	__sidesign_minib3d_TSurface_RemoveTri
	public	__sidesign_minib3d_TSurface_RemoveVerts
	public	__sidesign_minib3d_TSurface_TriangleNX
	public	__sidesign_minib3d_TSurface_TriangleNY
	public	__sidesign_minib3d_TSurface_TriangleNZ
	public	__sidesign_minib3d_TSurface_TriangleVertex
	public	__sidesign_minib3d_TSurface_UpdateNormals
	public	__sidesign_minib3d_TSurface_UpdateVBO
	public	__sidesign_minib3d_TSurface_VertexAlpha
	public	__sidesign_minib3d_TSurface_VertexBlue
	public	__sidesign_minib3d_TSurface_VertexColor
	public	__sidesign_minib3d_TSurface_VertexCoords
	public	__sidesign_minib3d_TSurface_VertexGreen
	public	__sidesign_minib3d_TSurface_VertexNX
	public	__sidesign_minib3d_TSurface_VertexNY
	public	__sidesign_minib3d_TSurface_VertexNZ
	public	__sidesign_minib3d_TSurface_VertexNormal
	public	__sidesign_minib3d_TSurface_VertexRed
	public	__sidesign_minib3d_TSurface_VertexTexCoords
	public	__sidesign_minib3d_TSurface_VertexU
	public	__sidesign_minib3d_TSurface_VertexV
	public	__sidesign_minib3d_TSurface_VertexW
	public	__sidesign_minib3d_TSurface_VertexX
	public	__sidesign_minib3d_TSurface_VertexY
	public	__sidesign_minib3d_TSurface_VertexZ
	public	__sidesign_minib3d_TTerrain_CopyEntity
	public	__sidesign_minib3d_TTerrain_Create
	public	__sidesign_minib3d_TTerrain_Delete
	public	__sidesign_minib3d_TTerrain_Free
	public	__sidesign_minib3d_TTerrain_FromPixmap
	public	__sidesign_minib3d_TTerrain_GetHeight
	public	__sidesign_minib3d_TTerrain_GetY
	public	__sidesign_minib3d_TTerrain_Load
	public	__sidesign_minib3d_TTerrain_New
	public	__sidesign_minib3d_TTerrain_ReadHeight
	public	__sidesign_minib3d_TTerrain_RecreateROAM
	public	__sidesign_minib3d_TTerrain_SetVSize
	public	__sidesign_minib3d_TTerrain_Update
	public	__sidesign_minib3d_TTerrain_drawsub
	public	__sidesign_minib3d_TTerrain_getsub
	public	__sidesign_minib3d_TTerrain_mesh_info
	public	__sidesign_minib3d_TTerrain_rethigh
	public	__sidesign_minib3d_TTerrain_terrain_list
	public	__sidesign_minib3d_TTerrain_triangleindex
	public	__sidesign_minib3d_TTextureFilter_Delete
	public	__sidesign_minib3d_TTextureFilter_New
	public	__sidesign_minib3d_TTextureFilter_filter_list
	public	__sidesign_minib3d_TTexture_AdjustPixmap
	public	__sidesign_minib3d_TTexture_ApplyAlpha
	public	__sidesign_minib3d_TTexture_BackBufferToTex
	public	__sidesign_minib3d_TTexture_ClearTextureFilters
	public	__sidesign_minib3d_TTexture_Copy
	public	__sidesign_minib3d_TTexture_CountMipmaps
	public	__sidesign_minib3d_TTexture_CreateCubeMapTexture
	public	__sidesign_minib3d_TTexture_CreateTexture
	public	__sidesign_minib3d_TTexture_Delete
	public	__sidesign_minib3d_TTexture_FileAbs
	public	__sidesign_minib3d_TTexture_FileFind
	public	__sidesign_minib3d_TTexture_FilterFlags
	public	__sidesign_minib3d_TTexture_FreeTexture
	public	__sidesign_minib3d_TTexture_GetBrushTexture
	public	__sidesign_minib3d_TTexture_LoadAnimTexture
	public	__sidesign_minib3d_TTexture_LoadAnimTextureFromPixmap
	public	__sidesign_minib3d_TTexture_LoadCubeMapTexture
	public	__sidesign_minib3d_TTexture_LoadTexture
	public	__sidesign_minib3d_TTexture_LoadTextureFromPixmap
	public	__sidesign_minib3d_TTexture_MipmapHeight
	public	__sidesign_minib3d_TTexture_MipmapWidth
	public	__sidesign_minib3d_TTexture_New
	public	__sidesign_minib3d_TTexture_PositionTexture
	public	__sidesign_minib3d_TTexture_Pow2Size
	public	__sidesign_minib3d_TTexture_RotateTexture
	public	__sidesign_minib3d_TTexture_ScaleTexture
	public	__sidesign_minib3d_TTexture_SetCubeFace
	public	__sidesign_minib3d_TTexture_SetCubeMode
	public	__sidesign_minib3d_TTexture_TexInList
	public	__sidesign_minib3d_TTexture_TextureBlend
	public	__sidesign_minib3d_TTexture_TextureCoords
	public	__sidesign_minib3d_TTexture_TextureFilter
	public	__sidesign_minib3d_TTexture_TextureHeight
	public	__sidesign_minib3d_TTexture_TextureName
	public	__sidesign_minib3d_TTexture_TextureWidth
	public	__sidesign_minib3d_TTexture_tex_list
	public	__sidesign_minib3d_TUtility_Delete
	public	__sidesign_minib3d_TUtility_New
	public	__sidesign_minib3d_TUtility_UpdateValue
	public	__sidesign_minib3d_TVector_Add
	public	__sidesign_minib3d_TVector_Compare
	public	__sidesign_minib3d_TVector_Copy
	public	__sidesign_minib3d_TVector_Create
	public	__sidesign_minib3d_TVector_Cross
	public	__sidesign_minib3d_TVector_Delete
	public	__sidesign_minib3d_TVector_Divide
	public	__sidesign_minib3d_TVector_Dot
	public	__sidesign_minib3d_TVector_Length
	public	__sidesign_minib3d_TVector_Multiply
	public	__sidesign_minib3d_TVector_New
	public	__sidesign_minib3d_TVector_Normalize
	public	__sidesign_minib3d_TVector_SetLength
	public	__sidesign_minib3d_TVector_SquaredLength
	public	__sidesign_minib3d_TVector_Subtract
	public	__sidesign_minib3d_TVector_VectorPitch
	public	__sidesign_minib3d_TVector_VectorYaw
	public	_sidesign_minib3d_AddAnimSeq
	public	_sidesign_minib3d_AddMesh
	public	_sidesign_minib3d_AddTriangle
	public	_sidesign_minib3d_AddVertex
	public	_sidesign_minib3d_AlignToVector
	public	_sidesign_minib3d_AlignToVector2
	public	_sidesign_minib3d_AmbientLight
	public	_sidesign_minib3d_AnimLength
	public	_sidesign_minib3d_AnimSeq
	public	_sidesign_minib3d_AnimTime
	public	_sidesign_minib3d_Animate
	public	_sidesign_minib3d_Animating
	public	_sidesign_minib3d_AntiAlias
	public	_sidesign_minib3d_BackBufferToTex
	public	_sidesign_minib3d_BeginMax2D
	public	_sidesign_minib3d_BoxBoxIntersection
	public	_sidesign_minib3d_BoxFromPoints
	public	_sidesign_minib3d_BoxFromTri
	public	_sidesign_minib3d_BoxSphereIntersection
	public	_sidesign_minib3d_BrushAlpha
	public	_sidesign_minib3d_BrushBlend
	public	_sidesign_minib3d_BrushColor
	public	_sidesign_minib3d_BrushFX
	public	_sidesign_minib3d_BrushShininess
	public	_sidesign_minib3d_BrushTexture
	public	_sidesign_minib3d_CameraClsColor
	public	_sidesign_minib3d_CameraClsMode
	public	_sidesign_minib3d_CameraFogColor
	public	_sidesign_minib3d_CameraFogMode
	public	_sidesign_minib3d_CameraFogRange
	public	_sidesign_minib3d_CameraPick
	public	_sidesign_minib3d_CameraProjMode
	public	_sidesign_minib3d_CameraProject
	public	_sidesign_minib3d_CameraRange
	public	_sidesign_minib3d_CameraViewport
	public	_sidesign_minib3d_CameraZoom
	public	_sidesign_minib3d_ClearCollisions
	public	_sidesign_minib3d_ClearSurface
	public	_sidesign_minib3d_ClearTextureFilters
	public	_sidesign_minib3d_ClearWorld
	public	_sidesign_minib3d_CollisionEntity
	public	_sidesign_minib3d_CollisionNX
	public	_sidesign_minib3d_CollisionNY
	public	_sidesign_minib3d_CollisionNZ
	public	_sidesign_minib3d_CollisionSurface
	public	_sidesign_minib3d_CollisionTime
	public	_sidesign_minib3d_CollisionTriangle
	public	_sidesign_minib3d_CollisionX
	public	_sidesign_minib3d_CollisionY
	public	_sidesign_minib3d_CollisionZ
	public	_sidesign_minib3d_Collisions
	public	_sidesign_minib3d_CopyEntity
	public	_sidesign_minib3d_CopyMesh
	public	_sidesign_minib3d_CountChildren
	public	_sidesign_minib3d_CountCollisions
	public	_sidesign_minib3d_CountSurfaces
	public	_sidesign_minib3d_CountTriangles
	public	_sidesign_minib3d_CountVertices
	public	_sidesign_minib3d_CreateBrush
	public	_sidesign_minib3d_CreateCamera
	public	_sidesign_minib3d_CreateCone
	public	_sidesign_minib3d_CreateCube
	public	_sidesign_minib3d_CreateCylinder
	public	_sidesign_minib3d_CreateLight
	public	_sidesign_minib3d_CreateMesh
	public	_sidesign_minib3d_CreatePivot
	public	_sidesign_minib3d_CreatePlane
	public	_sidesign_minib3d_CreateSphere
	public	_sidesign_minib3d_CreateSprite
	public	_sidesign_minib3d_CreateSurface
	public	_sidesign_minib3d_CreateTexture
	public	_sidesign_minib3d_DeltaPitch
	public	_sidesign_minib3d_DeltaYaw
	public	_sidesign_minib3d_EndMax2D
	public	_sidesign_minib3d_EntityAlpha
	public	_sidesign_minib3d_EntityAutoFade
	public	_sidesign_minib3d_EntityBlend
	public	_sidesign_minib3d_EntityBox
	public	_sidesign_minib3d_EntityClass
	public	_sidesign_minib3d_EntityCollided
	public	_sidesign_minib3d_EntityColor
	public	_sidesign_minib3d_EntityDistance
	public	_sidesign_minib3d_EntityFX
	public	_sidesign_minib3d_EntityInView
	public	_sidesign_minib3d_EntityName
	public	_sidesign_minib3d_EntityOrder
	public	_sidesign_minib3d_EntityParent
	public	_sidesign_minib3d_EntityPick
	public	_sidesign_minib3d_EntityPickMode
	public	_sidesign_minib3d_EntityPitch
	public	_sidesign_minib3d_EntityRadius
	public	_sidesign_minib3d_EntityRoll
	public	_sidesign_minib3d_EntityScaleX
	public	_sidesign_minib3d_EntityScaleY
	public	_sidesign_minib3d_EntityScaleZ
	public	_sidesign_minib3d_EntityShininess
	public	_sidesign_minib3d_EntityTexture
	public	_sidesign_minib3d_EntityType
	public	_sidesign_minib3d_EntityVisible
	public	_sidesign_minib3d_EntityX
	public	_sidesign_minib3d_EntityY
	public	_sidesign_minib3d_EntityYaw
	public	_sidesign_minib3d_EntityZ
	public	_sidesign_minib3d_ExtractAnimSeq
	public	_sidesign_minib3d_FindChild
	public	_sidesign_minib3d_FindSurface
	public	_sidesign_minib3d_FitMesh
	public	_sidesign_minib3d_FlipMesh
	public	_sidesign_minib3d_FreeBrush
	public	_sidesign_minib3d_FreeEntity
	public	_sidesign_minib3d_FreeTexture
	public	_sidesign_minib3d_GetBrushTexture
	public	_sidesign_minib3d_GetChild
	public	_sidesign_minib3d_GetEntityBrush
	public	_sidesign_minib3d_GetEntityType
	public	_sidesign_minib3d_GetMatElement
	public	_sidesign_minib3d_GetParent
	public	_sidesign_minib3d_GetSurface
	public	_sidesign_minib3d_GetSurfaceBrush
	public	_sidesign_minib3d_Graphics3D
	public	_sidesign_minib3d_HandleSprite
	public	_sidesign_minib3d_HideEntity
	public	_sidesign_minib3d_InsertFrame
	public	_sidesign_minib3d_InterpolateMatrix
	public	_sidesign_minib3d_LightColor
	public	_sidesign_minib3d_LightConeAngles
	public	_sidesign_minib3d_LightMesh
	public	_sidesign_minib3d_LightRange
	public	_sidesign_minib3d_LinePick
	public	_sidesign_minib3d_LoadAnimMesh
	public	_sidesign_minib3d_LoadAnimSeq
	public	_sidesign_minib3d_LoadAnimTexture
	public	_sidesign_minib3d_LoadBrush
	public	_sidesign_minib3d_LoadMesh
	public	_sidesign_minib3d_LoadSprite
	public	_sidesign_minib3d_LoadTerrain
	public	_sidesign_minib3d_LoadTexture
	public	_sidesign_minib3d_Magnitude
	public	_sidesign_minib3d_MeshCullRadius
	public	_sidesign_minib3d_MeshDepth
	public	_sidesign_minib3d_MeshHeight
	public	_sidesign_minib3d_MeshWidth
	public	_sidesign_minib3d_MeshesIntersect
	public	_sidesign_minib3d_MoveEntity
	public	_sidesign_minib3d_NameEntity
	public	_sidesign_minib3d_PaintEntity
	public	_sidesign_minib3d_PaintMesh
	public	_sidesign_minib3d_PaintSurface
	public	_sidesign_minib3d_PickedEntity
	public	_sidesign_minib3d_PickedNX
	public	_sidesign_minib3d_PickedNY
	public	_sidesign_minib3d_PickedNZ
	public	_sidesign_minib3d_PickedSurface
	public	_sidesign_minib3d_PickedTime
	public	_sidesign_minib3d_PickedTriangle
	public	_sidesign_minib3d_PickedX
	public	_sidesign_minib3d_PickedY
	public	_sidesign_minib3d_PickedZ
	public	_sidesign_minib3d_PlayFrame
	public	_sidesign_minib3d_PointEntity
	public	_sidesign_minib3d_PointHeightOnTri
	public	_sidesign_minib3d_PointInTriangle
	public	_sidesign_minib3d_PositionEntity
	public	_sidesign_minib3d_PositionMesh
	public	_sidesign_minib3d_PositionTexture
	public	_sidesign_minib3d_ProjectedX
	public	_sidesign_minib3d_ProjectedY
	public	_sidesign_minib3d_ProjectedZ
	public	_sidesign_minib3d_Quaternion_FromAngleAxis
	public	_sidesign_minib3d_Quaternion_MultiplyQuat
	public	_sidesign_minib3d_QuickCheck
	public	_sidesign_minib3d_RecordFrame
	public	_sidesign_minib3d_RenderWorld
	public	_sidesign_minib3d_ResetEntity
	public	_sidesign_minib3d_RotateEntity
	public	_sidesign_minib3d_RotateMesh
	public	_sidesign_minib3d_RotateSprite
	public	_sidesign_minib3d_RotateTexture
	public	_sidesign_minib3d_ScaleEntity
	public	_sidesign_minib3d_ScaleMesh
	public	_sidesign_minib3d_ScaleSprite
	public	_sidesign_minib3d_ScaleTexture
	public	_sidesign_minib3d_SetAnimKey
	public	_sidesign_minib3d_SetAnimTime
	public	_sidesign_minib3d_SetAnimationFrame
	public	_sidesign_minib3d_SetCubeFace
	public	_sidesign_minib3d_SetCubeMode
	public	_sidesign_minib3d_ShowEntity
	public	_sidesign_minib3d_SphereInFrustum
	public	_sidesign_minib3d_SpriteViewMode
	public	_sidesign_minib3d_T3DSLoader
	public	_sidesign_minib3d_TAnimation
	public	_sidesign_minib3d_TAnimationFrame
	public	_sidesign_minib3d_TAnimationKeys
	public	_sidesign_minib3d_TBlitz2D
	public	_sidesign_minib3d_TBone
	public	_sidesign_minib3d_TBrush
	public	_sidesign_minib3d_TCamera
	public	_sidesign_minib3d_TColTree
	public	_sidesign_minib3d_TCollisionImpact
	public	_sidesign_minib3d_TCollisionPair
	public	_sidesign_minib3d_TDebug
	public	_sidesign_minib3d_TEntity
	public	_sidesign_minib3d_TFormNormal
	public	_sidesign_minib3d_TFormPoint
	public	_sidesign_minib3d_TFormVector
	public	_sidesign_minib3d_TFormedX
	public	_sidesign_minib3d_TFormedY
	public	_sidesign_minib3d_TFormedZ
	public	_sidesign_minib3d_TGlobal
	public	_sidesign_minib3d_THardwareInfo
	public	_sidesign_minib3d_TLight
	public	_sidesign_minib3d_TMatrix
	public	_sidesign_minib3d_TMesh
	public	_sidesign_minib3d_TModel
	public	_sidesign_minib3d_TPick
	public	_sidesign_minib3d_TPivot
	public	_sidesign_minib3d_TQuaternion
	public	_sidesign_minib3d_TSceneGraph
	public	_sidesign_minib3d_TSprite
	public	_sidesign_minib3d_TSurface
	public	_sidesign_minib3d_TTerrain
	public	_sidesign_minib3d_TTexture
	public	_sidesign_minib3d_TTextureFilter
	public	_sidesign_minib3d_TUtility
	public	_sidesign_minib3d_TVector
	public	_sidesign_minib3d_Text
	public	_sidesign_minib3d_TextureBlend
	public	_sidesign_minib3d_TextureCoords
	public	_sidesign_minib3d_TextureFilter
	public	_sidesign_minib3d_TextureHeight
	public	_sidesign_minib3d_TextureName
	public	_sidesign_minib3d_TextureWidth
	public	_sidesign_minib3d_TranslateEntity
	public	_sidesign_minib3d_TriangleVertex
	public	_sidesign_minib3d_TurnEntity
	public	_sidesign_minib3d_TweenFrame
	public	_sidesign_minib3d_UpdateCollisions
	public	_sidesign_minib3d_UpdateEntities
	public	_sidesign_minib3d_UpdateNormals
	public	_sidesign_minib3d_UpdateSprite
	public	_sidesign_minib3d_UpdateWorld
	public	_sidesign_minib3d_VectorPitch
	public	_sidesign_minib3d_VectorYaw
	public	_sidesign_minib3d_VertexAlpha
	public	_sidesign_minib3d_VertexBlue
	public	_sidesign_minib3d_VertexColor
	public	_sidesign_minib3d_VertexCoords
	public	_sidesign_minib3d_VertexGreen
	public	_sidesign_minib3d_VertexNX
	public	_sidesign_minib3d_VertexNY
	public	_sidesign_minib3d_VertexNZ
	public	_sidesign_minib3d_VertexNormal
	public	_sidesign_minib3d_VertexRed
	public	_sidesign_minib3d_VertexTexCoords
	public	_sidesign_minib3d_VertexU
	public	_sidesign_minib3d_VertexV
	public	_sidesign_minib3d_VertexW
	public	_sidesign_minib3d_VertexX
	public	_sidesign_minib3d_VertexY
	public	_sidesign_minib3d_VertexZ
	public	_sidesign_minib3d_Wireframe
	section	"code" code
___bb_minib3d_minib3d:
	push	ebp
	mov	ebp,esp
	cmp	dword [_4662],0
	je	_4663
	mov	eax,0
	mov	esp,ebp
	pop	ebp
	ret
_4663:
	mov	dword [_4662],1
	mov	dword [_4660],_4661
	call	___bb_blitz_blitz
	call	___bb_glmax2d_glmax2d
	call	___bb_glew_glew
	call	___bb_bmploader_bmploader
	call	___bb_pngloader_pngloader
	call	___bb_jpgloader_jpgloader
	call	___bb_retro_retro
	mov	eax,dword [_4634]
	and	eax,1
	cmp	eax,0
	jne	_4635
	push	2
	push	16
	push	2
	push	_4632
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TGlobal_j],eax
	or	dword [_4634],1
_4635:
	push	_sidesign_minib3d_TGlobal
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,2
	cmp	eax,0
	jne	_4637
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TSceneGraph_scenegraph_list],eax
	or	dword [_4634],2
_4637:
	push	_sidesign_minib3d_TSceneGraph
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TAnimationFrame
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,4
	cmp	eax,0
	jne	_4639
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TEntity_entity_list],eax
	or	dword [_4634],4
_4639:
	push	_sidesign_minib3d_TEntity
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,8
	cmp	eax,0
	jne	_4641
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TCamera_cam_list],eax
	or	dword [_4634],8
_4641:
	push	_sidesign_minib3d_TCamera
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,16
	cmp	eax,0
	jne	_4644
	push	8
	push	_852
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],16384
	mov	dword [eax+28],16385
	mov	dword [eax+32],16386
	mov	dword [eax+36],16387
	mov	dword [eax+40],16388
	mov	dword [eax+44],16389
	mov	dword [eax+48],16390
	mov	dword [eax+52],16391
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TLight_gl_light],eax
	or	dword [_4634],16
_4644:
	mov	eax,dword [_4634]
	and	eax,32
	cmp	eax,0
	jne	_4646
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TLight_light_list],eax
	or	dword [_4634],32
_4646:
	push	_sidesign_minib3d_TLight
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TPivot
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TMesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TSprite
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TBone
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,64
	cmp	eax,0
	jne	_4648
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TTerrain_terrain_list],eax
	or	dword [_4634],64
_4648:
	push	_sidesign_minib3d_TTerrain
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TSurface
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,128
	cmp	eax,0
	jne	_4650
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TTexture_tex_list],eax
	or	dword [_4634],128
_4650:
	push	_sidesign_minib3d_TTexture
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,256
	cmp	eax,0
	jne	_4652
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TTextureFilter_filter_list],eax
	or	dword [_4634],256
_4652:
	push	_sidesign_minib3d_TTextureFilter
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TBrush
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TAnimation
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TAnimationKeys
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TModel
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_T3DSLoader
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TColTree
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,512
	cmp	eax,0
	jne	_4654
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TPick_ent_list],eax
	or	dword [_4634],512
_4654:
	push	_sidesign_minib3d_TPick
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_4634]
	and	eax,1024
	cmp	eax,0
	jne	_4656
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TCollisionPair_list],eax
	or	dword [_4634],1024
_4656:
	mov	eax,dword [_4634]
	and	eax,2048
	cmp	eax,0
	jne	_4659
	push	100
	push	_4657
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [__sidesign_minib3d_TCollisionPair_ent_lists],eax
	or	dword [_4634],2048
_4659:
	push	_sidesign_minib3d_TCollisionPair
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TCollisionImpact
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TVector
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TQuaternion
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_THardwareInfo
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TBlitz2D
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TUtility
	call	_bbObjectRegisterType
	add	esp,4
	push	_sidesign_minib3d_TDebug
	call	_bbObjectRegisterType
	add	esp,4
_798:
_800:
_802:
_804:
_806:
_808:
_810:
_812:
_814:
	mov	eax,0
	jmp	_1640
_1640:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TGlobal
	mov	eax,0
	jmp	_1643
_1643:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1646:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_4664
_4664:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_Graphics3D:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	eax,dword [ebp+20]
	mov	edx,dword [ebp+24]
	cmp	eax,0
	je	_4667
	cmp	eax,1
	je	_4668
	cmp	eax,2
	je	_4669
	mov	ecx,0
	jmp	_4666
_4667:
	cmp	ecx,0
	jne	_4670
	mov	ecx,16
_4670:
	jmp	_4666
_4668:
	cmp	ecx,0
	jne	_4671
	mov	ecx,16
_4671:
	jmp	_4666
_4669:
	mov	ecx,0
	jmp	_4666
_4666:
	mov	dword [__sidesign_minib3d_TGlobal_width],esi
	mov	dword [__sidesign_minib3d_TGlobal_height],ebx
	mov	dword [__sidesign_minib3d_TGlobal_depth],ecx
	mov	dword [__sidesign_minib3d_TGlobal_mode],eax
	mov	dword [__sidesign_minib3d_TGlobal_rate],edx
	push	2
	call	_brl_glmax2d_GLMax2DDriver
	push	eax
	call	_brl_graphics_SetGraphicsDriver
	add	esp,8
	push	42
	push	dword [__sidesign_minib3d_TGlobal_rate]
	push	dword [__sidesign_minib3d_TGlobal_depth]
	push	dword [__sidesign_minib3d_TGlobal_height]
	push	dword [__sidesign_minib3d_TGlobal_width]
	call	_brl_graphics_Graphics
	add	esp,20
	call	dword [_sidesign_minib3d_TGlobal+96]
	mov	eax,0
	jmp	_1653
_1653:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_AntiAlias:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [__sidesign_minib3d_TGlobal_aa],1
	cmp	eax,0
	jne	_4672
	mov	dword [__sidesign_minib3d_TGlobal_aa],0
	mov	eax,0
	jmp	_1656
_4672:
	cmp	eax,1
	je	_4675
	cmp	eax,2
	je	_4676
	cmp	eax,3
	je	_4677
	cmp	eax,4
	je	_4678
	cmp	eax,5
	je	_4679
	cmp	eax,6
	je	_4680
	cmp	eax,8
	je	_4681
	cmp	eax,9
	je	_4682
	cmp	eax,12
	je	_4683
	cmp	eax,16
	je	_4684
	mov	dword [__sidesign_minib3d_TGlobal_aa],0
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],0
	mov	eax,0
	jmp	_1656
_4675:
	mov	dword [_4660],_799
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],2
	jmp	_4674
_4676:
	mov	dword [_4660],_799
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],2
	jmp	_4674
_4677:
	mov	dword [_4660],_801
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],3
	jmp	_4674
_4678:
	mov	dword [_4660],_803
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],4
	jmp	_4674
_4679:
	mov	dword [_4660],_805
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],5
	jmp	_4674
_4680:
	mov	dword [_4660],_807
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],6
	jmp	_4674
_4681:
	mov	dword [_4660],_809
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],8
	jmp	_4674
_4682:
	mov	dword [_4660],_811
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],9
	jmp	_4674
_4683:
	mov	dword [_4660],_813
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],12
	jmp	_4674
_4684:
	mov	dword [_4660],_815
	mov	dword [__sidesign_minib3d_TGlobal_ACSIZE],16
	jmp	_4674
_4674:
	mov	dword [ebp-12],0
	mov	dword [ebp-16],eax
	jmp	_4686
_5:
	mov	edi,dword [_4660]
	mov	ebx,dword [edi]
	mov	ebx,dword [ebx]
	add	edi,4
	mov	eax,dword [__sidesign_minib3d_TGlobal_j]
	mov	dword [ebp-4],eax
	mov	esi,dword [ebp-12]
	mov	eax,dword [__sidesign_minib3d_TGlobal_j]
	imul	esi,dword [eax+24]
	push	ebx
	push	edi
	call	_bbConvertToFloat
	add	esp,8
	mov	eax,dword [ebp-4]
	fstp	dword [eax+esi*4+28]
	add	edi,4
	movzx	eax,byte [ebx]
	cmp	eax,100
	jne	_4690
	add	edi,4
_4690:
	mov	ebx,dword [edi]
	mov	ebx,dword [ebx]
	add	edi,4
	mov	eax,dword [__sidesign_minib3d_TGlobal_j]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-12]
	mov	edx,dword [__sidesign_minib3d_TGlobal_j]
	imul	eax,dword [edx+24]
	mov	esi,eax
	add	esi,1
	push	ebx
	push	edi
	call	_bbConvertToFloat
	add	esp,8
	mov	eax,dword [ebp-8]
	fstp	dword [eax+esi*4+28]
	add	edi,4
	movzx	eax,byte [ebx]
	cmp	eax,100
	jne	_4691
	add	edi,4
_4691:
	mov	dword [_4660],edi
_3:
	add	dword [ebp-12],1
_4686:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-12],eax
	jl	_5
_4:
	mov	eax,0
	jmp	_1656
_1656:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_Wireframe:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	cmp	eax,0
	je	_4692
	push	6913
	push	1028
	call	_glPolygonMode@8
	jmp	_4693
_4692:
	push	6914
	push	1028
	call	_glPolygonMode@8
_4693:
	mov	eax,0
	jmp	_1659
_1659:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_AmbientLight:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st2
	fdiv	dword [_10499]
	fstp	dword [__sidesign_minib3d_TGlobal_ambient_red]
	fdiv	dword [_10500]
	fstp	dword [__sidesign_minib3d_TGlobal_ambient_green]
	fdiv	dword [_10501]
	fstp	dword [__sidesign_minib3d_TGlobal_ambient_blue]
	mov	eax,0
	jmp	_1664
_1664:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_ClearCollisions:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [__sidesign_minib3d_TCollisionPair_list]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_6
_8:
	push	_sidesign_minib3d_TCollisionPair
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_6
_6:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_8
_7:
	mov	eax,0
	jmp	_1666
_1666:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_Collisions:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_sidesign_minib3d_TCollisionPair
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	dword [esi+8],eax
	mov	dword [esi+12],ebx
	mov	dword [esi+16],edi
	mov	eax,dword [ebp+20]
	mov	dword [esi+20],eax
	mov	ebx,dword [__sidesign_minib3d_TCollisionPair_list]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_9
_11:
	mov	eax,edi
	push	_sidesign_minib3d_TCollisionPair
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_9
	mov	edx,dword [esi+8]
	cmp	dword [eax+8],edx
	jne	_4707
	mov	edx,dword [esi+12]
	cmp	dword [eax+12],edx
	jne	_4708
	mov	edx,dword [esi+16]
	mov	dword [eax+16],edx
	mov	edx,dword [esi+20]
	mov	dword [eax+20],edx
	mov	eax,0
	jmp	_1672
_4708:
_4707:
_9:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_11
_10:
	push	esi
	push	dword [__sidesign_minib3d_TCollisionPair_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
	jmp	_1672
_1672:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_ClearWorld:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,dword [ebp+16]
	cmp	eax,0
	je	_4709
	mov	esi,dword [__sidesign_minib3d_TEntity_entity_list]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_12
_14:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_12
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_12:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_14
_13:
	call	dword [_sidesign_minib3d_TGlobal+64]
	push	dword [__sidesign_minib3d_TPick_ent_list]
	call	_brl_linkedlist_ClearList
	add	esp,4
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_ent]
	dec	dword [eax+4]
	jnz	_4720
	push	eax
	call	_bbGCFree
	add	esp,4
_4720:
	mov	dword [__sidesign_minib3d_TPick_picked_ent],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_surface]
	dec	dword [eax+4]
	jnz	_4724
	push	eax
	call	_bbGCFree
	add	esp,4
_4724:
	mov	dword [__sidesign_minib3d_TPick_picked_surface],ebx
_4709:
	cmp	edi,0
	je	_4725
	mov	esi,dword [__sidesign_minib3d_TTexture_tex_list]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_15
_17:
	push	_sidesign_minib3d_TTexture
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_15
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_15:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_17
_16:
_4725:
	mov	eax,0
	jmp	_1677
_1677:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_UpdateWorld:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	call	_sidesign_minib3d_UpdateCollisions
	mov	eax,dword [__sidesign_minib3d_TEntity_entity_list]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-12],eax
	jmp	_18
_20:
	mov	eax,dword [ebp-12]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_18
	mov	eax,dword [esi+200]
	cmp	eax,0
	je	_4741
	mov	eax,dword [esi+244]
	cmp	eax,1
	sete	al
	movzx	eax,al
_4741:
	cmp	eax,0
	je	_4743
	mov	edx,dword [esi+232]
	mov	eax,dword [esi+220]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-4],eax
	mov	edx,dword [esi+236]
	mov	eax,dword [esi+220]
	mov	edi,dword [edx+eax*4+24]
	mov	ebx,0
	cmp	dword [esi+224],0
	jle	_4745
	sub	dword [esi+224],1
	cmp	dword [esi+224],1
	jne	_4746
	mov	ebx,1
_4746:
_4745:
	cmp	dword [esi+224],0
	jle	_4747
	fld	dword [_10518]
	fsub	dword [esi+212]
	mov	eax,dword [esi+224]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	fdivp	st1,st0
	fld	dword [esi+212]
	faddp	st1,st0
	fstp	dword [esi+212]
	push	edi
	push	dword [ebp-4]
	push	dword [esi+212]
	push	esi
	call	dword [_sidesign_minib3d_TAnimation+52]
	add	esp,16
	cmp	ebx,1
	jne	_4749
	mov	eax,dword [ebp-4]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	fstp	dword [esi+212]
_4749:
	jmp	_4750
_4747:
	push	edi
	push	dword [ebp-4]
	push	dword [esi+212]
	push	esi
	call	dword [_sidesign_minib3d_TAnimation+48]
	add	esp,16
	cmp	dword [esi+208],0
	jne	_4751
	mov	dword [esi+244],0
_4751:
	cmp	dword [esi+208],1
	jne	_4752
	fld	dword [esi+212]
	fld	dword [esi+216]
	fmul	dword [ebp+8]
	faddp	st1,st0
	fstp	dword [esi+212]
	fld	dword [esi+212]
	mov	dword [ebp+-16],edi
	fild	dword [ebp+-16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4753
	mov	eax,dword [ebp-4]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	fld	dword [esi+212]
	mov	dword [ebp+-16],edi
	fild	dword [ebp+-16]
	fsubp	st1,st0
	faddp	st1,st0
	fstp	dword [esi+212]
_4753:
_4752:
	cmp	dword [esi+208],2
	jne	_4754
	cmp	dword [esi+228],1
	jne	_4755
	fld	dword [esi+212]
	fld	dword [esi+216]
	fmul	dword [ebp+8]
	faddp	st1,st0
	fstp	dword [esi+212]
	fld	dword [esi+212]
	mov	dword [ebp+-16],edi
	fild	dword [ebp+-16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4756
	fld	dword [esi+212]
	fld	dword [esi+216]
	fmul	dword [ebp+8]
	fsubp	st1,st0
	fstp	dword [esi+212]
	mov	dword [esi+228],-1
_4756:
_4755:
	cmp	dword [esi+228],-1
	jne	_4757
	fld	dword [esi+212]
	fld	dword [esi+216]
	fmul	dword [ebp+8]
	fsubp	st1,st0
	fstp	dword [esi+212]
	fld	dword [esi+212]
	mov	eax,dword [ebp-4]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4758
	fld	dword [esi+212]
	fld	dword [esi+216]
	fmul	dword [ebp+8]
	faddp	st1,st0
	fstp	dword [esi+212]
	mov	dword [esi+228],1
_4758:
_4757:
_4754:
	cmp	dword [esi+208],3
	jne	_4759
	fld	dword [esi+212]
	fld	dword [esi+216]
	fmul	dword [ebp+8]
	faddp	st1,st0
	fstp	dword [esi+212]
	fld	dword [esi+212]
	mov	dword [ebp+-16],edi
	fild	dword [ebp+-16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4760
	mov	dword [ebp+-16],edi
	fild	dword [ebp+-16]
	fstp	dword [esi+212]
	mov	dword [esi+208],0
_4760:
_4759:
_4750:
_4743:
_18:
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_20
_19:
	mov	eax,0
	jmp	_1680
_1680:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_RenderWorld:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	call	_sidesign_minib3d_UpdateEntities
	cmp	dword [__sidesign_minib3d_TGlobal_aa],0
	je	_4761
	call	dword [_sidesign_minib3d_TGlobal+84]
	mov	eax,0
	jmp	_1682
_4761:
	mov	ebx,dword [__sidesign_minib3d_TCamera_cam_list]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_21
_23:
	mov	eax,edi
	push	_sidesign_minib3d_TCamera
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_21
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	eax,1
	jne	_4769
	jmp	_21
_4769:
	push	esi
	call	dword [_sidesign_minib3d_TGlobal+88]
	add	esp,4
_21:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_23
_22:
	mov	eax,0
	jmp	_1682
_1682:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_RenderWorldAA:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	push	512
	call	_glClear@4
	mov	dword [__sidesign_minib3d_TGlobal_jitter],0
	mov	eax,dword [__sidesign_minib3d_TGlobal_ACSIZE]
	mov	dword [ebp-4],eax
	jmp	_4770
_26:
	mov	ebx,dword [__sidesign_minib3d_TCamera_cam_list]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_27
_29:
	mov	eax,edi
	push	_sidesign_minib3d_TCamera
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_27
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	eax,1
	jne	_4779
	jmp	_27
_4779:
	push	esi
	call	dword [_sidesign_minib3d_TGlobal+88]
	add	esp,4
_27:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_29
_28:
	fld	dword [_10543]
	mov	eax,dword [__sidesign_minib3d_TGlobal_ACSIZE]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fdivp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	256
	call	_glAccum@8
_24:
	add	dword [__sidesign_minib3d_TGlobal_jitter],1
_4770:
	mov	eax,dword [ebp-4]
	cmp	dword [__sidesign_minib3d_TGlobal_jitter],eax
	jl	_26
_25:
	mov	dword [__sidesign_minib3d_TGlobal_jitter],0
	push	1065353216
	push	258
	call	_glAccum@8
	call	_glFlush@0
	mov	eax,0
	jmp	_1684
_1684:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_RenderCamera:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,dword [__sidesign_minib3d_TLight_light_list]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_30
_32:
	push	_sidesign_minib3d_TLight
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_30
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_30:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_32
_31:
	call	_brl_linkedlist_CreateList
	mov	dword [ebp-8],eax
	mov	edi,dword [__sidesign_minib3d_TTerrain_terrain_list]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_33
_35:
	mov	eax,dword [ebp-4]
	push	_sidesign_minib3d_TTerrain
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_33
	cmp	dword [esi+104],0
	je	_4795
	jmp	_33
_4795:
	mov	eax,dword [ebp+8]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+312]
	dec	dword [eax+4]
	jnz	_4799
	push	eax
	call	_bbGCFree
	add	esp,4
_4799:
	mov	dword [esi+312],ebx
	push	esi
	push	dword [ebp-8]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_33:
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_35
_34:
	mov	ebx,dword [__sidesign_minib3d_TEntity_entity_list]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_36
_38:
	mov	eax,edi
	push	_sidesign_minib3d_TMesh
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_36
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4807
	mov	eax,dword [esi+132]
	fld	dword [eax+28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_4807:
	cmp	eax,0
	je	_4809
	jmp	_36
_4809:
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+612]
	add	esp,4
	mov	eax,dword [ebp+8]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+564]
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cmp	eax,0
	je	_4813
	cmp	dword [esi+116],1
	jne	_4814
	push	esi
	push	dword [ebp+8]
	call	dword [_sidesign_minib3d_TGlobal+92]
	add	esp,8
_4814:
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+616]
	add	esp,4
	cmp	eax,0
	je	_4816
	mov	eax,dword [ebp+8]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+396]
	add	esp,8
	fstp	dword [esi+112]
	jmp	_4818
_4816:
	fldz
	fstp	dword [esi+112]
_4818:
	push	dword [ebp-8]
	push	esi
	call	dword [_sidesign_minib3d_TGlobal+104]
	add	esp,8
_4813:
_36:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_38
_37:
	push	dword [ebp-8]
	push	dword [ebp+8]
	call	dword [_sidesign_minib3d_TGlobal+108]
	add	esp,8
	mov	esi,dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_39
_41:
	push	_sidesign_minib3d_TEntity
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_39
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_39:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_41
_40:
	mov	esi,dword [__sidesign_minib3d_TSceneGraph_scenegraph_list]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_42
_44:
	push	_sidesign_minib3d_TSceneGraph
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_42
	push	-1
	push	dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
_42:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_44
_43:
	mov	eax,0
	jmp	_1687
_1687:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_AutoFade:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+236]
	add	esp,8
	fld	dword [ebx+120]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_4835
	fld	dword [ebx+124]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4835:
	cmp	eax,0
	je	_4837
	fsub	dword [ebx+120]
	fld	dword [ebx+124]
	fsub	dword [ebx+120]
	fdivp	st1,st0
	fstp	dword [ebx+128]
	jmp	_4838
_4837:
	fld	dword [ebx+120]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4839
	fldz
	fstp	dword [ebx+128]
	jmp	_4840
_4839:
	fld1
	fstp	dword [ebx+128]
_4840:
_4838:
	mov	eax,0
	jmp	_1691
_1691:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_GraphicsInit:
	push	ebp
	mov	ebp,esp
	push	9
	push	_1
	call	dword [_sidesign_minib3d_TTexture+124]
	add	esp,8
	call	_glewInit
	call	dword [_sidesign_minib3d_THardwareInfo+48]
	xor	eax,eax
	cmp	eax,0
	je	_4841
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_VBOSupport]
	mov	dword [__sidesign_minib3d_TGlobal_vbo_enabled],eax
_4841:
	mov	eax,1
	cmp	eax,0
	je	_4842
	push	1048575
	call	_glPushAttrib@4
	push	-1
	call	_glPushClientAttrib@4
	push	5888
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	push	5889
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	push	5890
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	push	6144
	call	_glMatrixMode@4
	call	_glPushMatrix@0
_4842:
	call	dword [_sidesign_minib3d_TGlobal+100]
	mov	eax,1
	cmp	eax,0
	je	_4843
	push	33273
	push	33272
	call	_glLightModeli@8
	jmp	_4844
_4843:
	push	33274
	push	33272
	call	_glLightModeli@8
_4844:
	push	1
	push	2897
	call	_glLightModeli@8
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_glClearDepth@8
	push	515
	call	_glDepthFunc@4
	push	4354
	push	3152
	call	_glHint@8
	push	1056964608
	push	518
	call	_glAlphaFunc@8
	mov	eax,0
	jmp	_1693
_1693:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_EnableStates:
	push	ebp
	mov	ebp,esp
	push	2896
	call	_glEnable@4
	push	2929
	call	_glEnable@4
	push	2912
	call	_glEnable@4
	push	2884
	call	_glEnable@4
	push	3089
	call	_glEnable@4
	push	2977
	call	_glEnable@4
	push	32884
	call	_glEnableClientState@4
	push	32886
	call	_glEnableClientState@4
	push	32885
	call	_glEnableClientState@4
	mov	eax,0
	jmp	_1695
_1695:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_RenderListAdd:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [esi+8]
	cmp	dword [edi+108],0
	jle	_4846
_47:
	mov	ebx,dword [ebx+12]
_45:
	cmp	ebx,dword [esi+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4848
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+108]
	cmp	eax,dword [edi+108]
	setle	al
	movzx	eax,al
_4848:
	cmp	eax,0
	je	_47
_46:
	mov	eax,esi
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,12
	mov	eax,0
	jmp	_1699
_4846:
	cmp	dword [edi+108],0
	jge	_4852
_50:
	mov	ebx,dword [ebx+16]
_48:
	cmp	ebx,dword [esi+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4854
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+108]
	cmp	eax,dword [edi+108]
	setge	al
	movzx	eax,al
_4854:
	cmp	eax,0
	je	_50
_49:
	mov	eax,esi
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,12
	mov	eax,0
	jmp	_1699
_4852:
_4851:
	fld	dword [edi+112]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4857
_53:
	mov	ebx,dword [ebx+16]
	cmp	ebx,dword [esi+8]
	jne	_4858
	jmp	_52
_4858:
_51:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+108]
	cmp	eax,0
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_4864
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+112]
	fld	dword [edi+112]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4862
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+112]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_4862:
_4864:
	cmp	eax,0
	je	_53
_52:
	mov	eax,esi
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,12
	mov	eax,0
	jmp	_1699
_4857:
_56:
	mov	ebx,dword [ebx+12]
_54:
	cmp	ebx,dword [esi+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4869
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+108]
	cmp	eax,0
	setle	al
	movzx	eax,al
_4869:
	cmp	eax,0
	je	_56
_55:
	mov	eax,esi
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,12
	mov	eax,0
	jmp	_1699
_1699:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TGlobal_UpdateSprites:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+12]
	mov	ebx,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_57
_59:
	mov	eax,edi
	push	_sidesign_minib3d_TSprite
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_57
	cmp	dword [esi+340],2
	je	_4878
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [esi+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fld	dword [eax+edx*4+28]
	fstp	dword [ebp-8]
	mov	eax,dword [esi+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+28]
	fstp	dword [ebp-4]
	mov	eax,dword [esi+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+28]
	fstp	dword [ebp-12]
	mov	edx,dword [esi+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [esi+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fld	dword [ebp-8]
	fstp	dword [eax+edx*4+28]
	mov	eax,dword [esi+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebp-4]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [esi+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebp-12]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [esi+308]
	push	dword [esi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	fld	dword [esi+320]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4884
	mov	eax,dword [esi+308]
	push	dword [esi+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
_4884:
	fld	dword [esi+324]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4886
	fld	dword [esi+328]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_4886:
	cmp	eax,0
	je	_4888
	mov	eax,dword [esi+308]
	push	1065353216
	push	dword [esi+328]
	push	dword [esi+324]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
_4888:
	fld	dword [esi+332]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4890
	fld	dword [esi+336]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_4890:
	cmp	eax,0
	je	_4892
	mov	eax,dword [esi+308]
	push	0
	fld	dword [esi+336]
	fchs
	sub	esp,4
	fstp	dword [esp]
	fld	dword [esi+332]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,16
_4892:
	jmp	_4894
_4878:
	mov	eax,dword [esi+308]
	push	dword [esi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	fld	dword [esi+324]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4896
	fld	dword [esi+328]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_4896:
	cmp	eax,0
	je	_4898
	mov	eax,dword [esi+308]
	push	1065353216
	push	dword [esi+328]
	push	dword [esi+324]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
_4898:
_4894:
_57:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_59
_58:
	mov	eax,0
	jmp	_1703
_1703:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSceneGraph_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TSceneGraph
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	dword [ebx+20],8
	mov	eax,0
	jmp	_1706
_1706:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSceneGraph_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1709:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4903
	push	eax
	call	_bbGCFree
	add	esp,4
_4903:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_4901
_4901:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSceneGraph_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cdq
	cdq
	idiv	dword [ebp+16]
	add	eax,1
	mov	dword [edi+16],eax
	push	dword [edi+16]
	push	dword [edi+16]
	push	2
	push	_4904
	call	_bbArrayNew
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+8]
	dec	dword [eax+4]
	jnz	_4908
	push	eax
	call	_bbGCFree
	add	esp,4
_4908:
	mov	dword [edi+8],ebx
	mov	dword [ebp-4],0
	mov	eax,dword [edi+16]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4910
_62:
	mov	esi,0
	mov	eax,dword [edi+16]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4913
_65:
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	ebx,eax
	mov	ecx,dword [edi+8]
	mov	edx,dword [ebp-4]
	mov	eax,dword [edi+8]
	imul	edx,dword [eax+24]
	mov	eax,edx
	add	eax,esi
	mov	eax,dword [ecx+eax*4+28]
	dec	dword [eax+4]
	jnz	_4918
	push	eax
	call	_bbGCFree
	add	esp,4
_4918:
	mov	ecx,dword [edi+8]
	mov	edx,dword [ebp-4]
	mov	eax,dword [edi+8]
	imul	edx,dword [eax+24]
	mov	eax,edx
	add	eax,esi
	mov	dword [ecx+eax*4+28],ebx
_63:
	add	esi,1
_4913:
	cmp	esi,dword [ebp-8]
	jle	_65
_64:
_60:
	add	dword [ebp-4],1
_4910:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_62
_61:
	mov	eax,dword [ebp+16]
	mov	dword [edi+12],eax
	push	edi
	push	dword [__sidesign_minib3d_TSceneGraph_scenegraph_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,edi
	jmp	_1714
_1714:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSceneGraph_Free:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	push	dword [__sidesign_minib3d_TSceneGraph_scenegraph_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	eax,0
	jmp	_1717
_1717:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSceneGraph_AddToSceneGraph:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+440]
	add	esp,4
	push	1
	push	edi
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fstp	dword [ebp-4]
	push	1
	push	edi
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fchs
	fstp	dword [ebp-8]
	fld	dword [ebp-4]
	mov	eax,dword [esi+12]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	fld	dword [ebp-8]
	mov	eax,dword [esi+12]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	ebx,0
	jge	_4925
	mov	eax,0
	jmp	_1721
_4925:
	cmp	dword [ebp-12],0
	jge	_4926
	mov	eax,0
	jmp	_1721
_4926:
	cmp	ebx,dword [esi+16]
	jl	_4927
	mov	eax,0
	jmp	_1721
_4927:
	mov	eax,dword [esi+16]
	cmp	dword [ebp-12],eax
	jl	_4928
	mov	eax,0
	jmp	_1721
_4928:
	mov	eax,esi
	push	dword [ebp-12]
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	mov	eax,ebx
	imul	eax,dword [esi+16]
	add	eax,dword [ebp-12]
	jmp	_1721
_1721:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSceneGraph_AddEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	dword [ebp+12]
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+12]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_4930
	push	dword [ebp+12]
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebp+16]
	mov	edx,dword [ebx+8]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp+20]
	push	dword [ecx+eax*4+28]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_4930:
	mov	esi,1
	push	dword [ebp+12]
	call	_sidesign_minib3d_CountChildren
	add	esp,4
	mov	edi,eax
	jmp	_4932
_68:
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	esi
	push	dword [ebp+12]
	call	_sidesign_minib3d_GetChild
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
_66:
	add	esi,1
_4932:
	cmp	esi,edi
	jle	_68
_67:
	mov	eax,0
	jmp	_1727
_1727:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSceneGraph_Render:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	cmp	dword [ebp+16],-1
	jne	_4935
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	dword [ebp+16],eax
_4935:
	push	0
	push	ebx
	call	_sidesign_minib3d_EntityX
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-16],eax
	push	0
	push	ebx
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fchs
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	neg	eax
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-20],eax
	jmp	_4939
_71:
	mov	eax,dword [ebp+16]
	neg	eax
	mov	edi,eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-4],eax
	jmp	_4942
_74:
	mov	ecx,dword [ebp-8]
	add	ecx,dword [ebp-16]
	mov	edx,edi
	add	edx,dword [ebp-12]
	cmp	ecx,0
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_4947
	cmp	edx,0
	setge	al
	movzx	eax,al
_4947:
	cmp	eax,0
	je	_4949
	mov	eax,dword [ebp+8]
	cmp	ecx,dword [eax+16]
	setl	al
	movzx	eax,al
_4949:
	cmp	eax,0
	je	_4951
	mov	eax,dword [ebp+8]
	cmp	edx,dword [eax+16]
	setl	al
	movzx	eax,al
_4951:
	cmp	eax,0
	je	_4953
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	ebx,dword [ebp+8]
	mov	ebx,dword [ebx+8]
	imul	ecx,dword [ebx+24]
	add	ecx,edx
	mov	esi,dword [eax+ecx*4+28]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_75
_77:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_75
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_75:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_77
_76:
_4953:
_72:
	add	edi,1
_4942:
	cmp	edi,dword [ebp-4]
	jle	_74
_73:
_69:
	add	dword [ebp-8],1
_4939:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-8],eax
	jle	_71
_70:
	mov	eax,0
	jmp	_1732
_1732:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_SphereInFrustum:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ecx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [_10623]
	mov	edx,0
	jmp	_4963
_80:
	mov	esi,dword [ecx+352]
	mov	ebx,edx
	mov	eax,dword [ecx+352]
	imul	ebx,dword [eax+24]
	fld	dword [esi+ebx*4+28]
	fmul	st0,st4
	mov	ebx,dword [ecx+352]
	mov	eax,edx
	mov	esi,dword [ecx+352]
	imul	eax,dword [esi+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ebx,dword [ecx+352]
	mov	eax,edx
	mov	esi,dword [ecx+352]
	imul	eax,dword [esi+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	fld	st3
	fchs
	fmulp	st1,st0
	faddp	st1,st0
	mov	ebx,dword [ecx+352]
	mov	eax,edx
	mov	esi,dword [ecx+352]
	imul	eax,dword [esi+24]
	add	eax,3
	fadd	dword [ebx+eax*4+28]
	fld	st1
	fchs
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_4964
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fld	dword [_10624]
	jmp	_1739
_4964:
_78:
	add	edx,1
_4963:
	cmp	edx,5
	jg	_10630
	fstp	st0
	jmp	_80
_10630:
	fxch	st2
	fstp	st0
	fxch	st2
	fstp	st0
	fxch	st2
	fstp	st0
_79:
	faddp	st1,st0
	jmp	_1739
_1739:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_UpdateSprite:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	edx,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	cmp	dword [ebx+340],2
	je	_4965
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	ecx,dword [ebx+28]
	mov	ecx,dword [ecx+8]
	mov	ecx,dword [ecx+24]
	imul	ecx,3
	fld	dword [eax+ecx*4+28]
	fstp	dword [ebp-8]
	mov	eax,dword [ebx+28]
	mov	ecx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ecx+eax*4+28]
	fstp	dword [ebp-4]
	mov	eax,dword [ebx+28]
	mov	ecx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ecx+eax*4+28]
	fstp	dword [ebp-12]
	mov	eax,dword [ebx+28]
	push	dword [edx+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebp-8]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebp-4]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebp-12]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+308]
	push	dword [ebx+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	fld	dword [ebx+320]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4971
	mov	eax,dword [ebx+308]
	push	dword [ebx+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
_4971:
	fld	dword [ebx+324]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4973
	fld	dword [ebx+328]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_4973:
	cmp	eax,0
	je	_4975
	mov	eax,dword [ebx+308]
	push	1065353216
	push	dword [ebx+328]
	push	dword [ebx+324]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
_4975:
	fld	dword [ebx+332]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4977
	fld	dword [ebx+336]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_4977:
	cmp	eax,0
	je	_4979
	mov	eax,dword [ebx+308]
	push	0
	fld	dword [ebx+336]
	fchs
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+332]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,16
_4979:
	jmp	_4981
_4965:
	mov	eax,dword [ebx+308]
	push	dword [ebx+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	fld	dword [ebx+324]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4983
	fld	dword [ebx+328]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_4983:
	cmp	eax,0
	je	_4985
	mov	eax,dword [ebx+308]
	push	1065353216
	push	dword [ebx+328]
	push	dword [ebx+324]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
_4985:
_4981:
	mov	eax,0
	jmp	_1743
_1743:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimationFrame_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TAnimationFrame
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	mov	eax,0
	jmp	_1746
_1746:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimationFrame_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1749:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_4987
_4987:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimationFrame_Copy:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_sidesign_minib3d_TAnimationFrame
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	fld	dword [ebx+32]
	fstp	dword [eax+32]
	fld	dword [ebx+36]
	fstp	dword [eax+36]
	fld	dword [ebx+40]
	fstp	dword [eax+40]
	fld	dword [ebx+20]
	fstp	dword [eax+20]
	fld	dword [ebx+24]
	fstp	dword [eax+24]
	fld	dword [ebx+28]
	fstp	dword [eax+28]
	jmp	_1752
_1752:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TEntity
	mov	dword [ebx+8],1
	mov	dword [ebx+12],0
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	call	dword [_sidesign_minib3d_TMatrix+48]
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	fld1
	fstp	dword [ebx+44]
	fld1
	fstp	dword [ebx+48]
	fld1
	fstp	dword [ebx+52]
	fldz
	fstp	dword [ebx+56]
	fldz
	fstp	dword [ebx+60]
	fldz
	fstp	dword [ebx+64]
	fldz
	fstp	dword [ebx+68]
	fldz
	fstp	dword [ebx+72]
	fldz
	fstp	dword [ebx+76]
	fldz
	fstp	dword [ebx+80]
	push	0
	push	_4993
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+84],eax
	mov	dword [ebx+88],0
	fldz
	fstp	dword [ebx+92]
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+96],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+100],eax
	mov	dword [ebx+104],0
	mov	dword [ebx+108],0
	fldz
	fstp	dword [ebx+112]
	mov	dword [ebx+116],0
	fldz
	fstp	dword [ebx+120]
	fldz
	fstp	dword [ebx+124]
	fldz
	fstp	dword [ebx+128]
	push	_sidesign_minib3d_TBrush
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [ebx+132],eax
	fldz
	fstp	dword [ebx+136]
	fld1
	fstp	dword [ebx+140]
	fld1
	fstp	dword [ebx+144]
	fld1
	fstp	dword [ebx+148]
	fld1
	fstp	dword [ebx+152]
	fld	dword [_10648]
	fstp	dword [ebx+156]
	fld	dword [_10649]
	fstp	dword [ebx+160]
	fld	dword [_10650]
	fstp	dword [ebx+164]
	fld	dword [_10651]
	fstp	dword [ebx+168]
	fld	dword [_10652]
	fstp	dword [ebx+172]
	fld	dword [_10653]
	fstp	dword [ebx+176]
	mov	dword [ebx+180],0
	mov	dword [ebx+184],0
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+188],eax
	mov	dword [ebx+192],0
	mov	dword [ebx+196],0
	mov	dword [ebx+200],0
	mov	dword [ebx+204],0
	mov	dword [ebx+208],0
	fldz
	fstp	dword [ebx+212]
	fldz
	fstp	dword [ebx+216]
	mov	dword [ebx+220],0
	mov	dword [ebx+224],0
	mov	dword [ebx+228],1
	push	1
	push	_4999
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+232],eax
	push	1
	push	_5001
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+236],eax
	mov	dword [ebx+240],0
	mov	dword [ebx+244],0
	fldz
	fstp	dword [ebx+248]
	fldz
	fstp	dword [ebx+252]
	fldz
	fstp	dword [ebx+256]
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+260],eax
	xor	eax,eax
	cmp	eax,0
	je	_5004
	push	_81
	call	_brl_blitz_DebugLog
	add	esp,4
_5004:
	mov	eax,0
	jmp	_1755
_1755:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_5005
	push	_82
	call	_brl_blitz_DebugLog
	add	esp,4
_5005:
_1758:
	mov	eax,dword [ebx+260]
	dec	dword [eax+4]
	jnz	_5008
	push	eax
	call	_bbGCFree
	add	esp,4
_5008:
	mov	eax,dword [ebx+236]
	dec	dword [eax+4]
	jnz	_5010
	push	eax
	call	_bbGCFree
	add	esp,4
_5010:
	mov	eax,dword [ebx+232]
	dec	dword [eax+4]
	jnz	_5012
	push	eax
	call	_bbGCFree
	add	esp,4
_5012:
	mov	eax,dword [ebx+188]
	dec	dword [eax+4]
	jnz	_5014
	push	eax
	call	_bbGCFree
	add	esp,4
_5014:
	mov	eax,dword [ebx+132]
	dec	dword [eax+4]
	jnz	_5016
	push	eax
	call	_bbGCFree
	add	esp,4
_5016:
	mov	eax,dword [ebx+100]
	dec	dword [eax+4]
	jnz	_5018
	push	eax
	call	_bbGCFree
	add	esp,4
_5018:
	mov	eax,dword [ebx+96]
	dec	dword [eax+4]
	jnz	_5020
	push	eax
	call	_bbGCFree
	add	esp,4
_5020:
	mov	eax,dword [ebx+84]
	dec	dword [eax+4]
	jnz	_5022
	push	eax
	call	_bbGCFree
	add	esp,4
_5022:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_5024
	push	eax
	call	_bbGCFree
	add	esp,4
_5024:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_5026
	push	eax
	call	_bbGCFree
	add	esp,4
_5026:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_5028
	push	eax
	call	_bbGCFree
	add	esp,4
_5028:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5030
	push	eax
	call	_bbGCFree
	add	esp,4
_5030:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_5006
_5006:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_FreeEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	edi
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	cmp	dword [edi+180],0
	je	_5031
	push	edi
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [edi+180]
	push	dword [edx+eax*4+24]
	call	_brl_linkedlist_ListRemove
	add	esp,8
_5031:
	cmp	dword [edi+192],0
	je	_5032
	push	edi
	push	dword [__sidesign_minib3d_TPick_ent_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
_5032:
	cmp	dword [edi+20],_bbNullObject
	je	_5034
	mov	eax,dword [edi+20]
	mov	esi,dword [eax+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_83
_85:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_83
	cmp	eax,edi
	jne	_5040
	push	edi
	mov	eax,dword [edi+20]
	push	dword [eax+16]
	call	_brl_linkedlist_ListRemove
	add	esp,8
_5040:
_83:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_85
_84:
_5034:
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [edi+20]
	dec	dword [eax+4]
	jnz	_5044
	push	eax
	call	_bbGCFree
	add	esp,4
_5044:
	mov	dword [edi+20],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_5048
	push	eax
	call	_bbGCFree
	add	esp,4
_5048:
	mov	dword [edi+28],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [edi+132]
	dec	dword [eax+4]
	jnz	_5052
	push	eax
	call	_bbGCFree
	add	esp,4
_5052:
	mov	dword [edi+132],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [edi+260]
	dec	dword [eax+4]
	jnz	_5056
	push	eax
	call	_bbGCFree
	add	esp,4
_5056:
	mov	dword [edi+260],ebx
	mov	esi,dword [edi+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_86
_88:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_86
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_86:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_88
_87:
	mov	eax,0
	jmp	_1761
_1761:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_PositionEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	eax,dword [ebp+24]
	push	eax
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+424]
	add	esp,20
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_1768
_1768:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MoveEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+428]
	add	esp,16
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_1774
_1774:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TranslateEntity:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [ebp-4]
	fld	dword [ebp+16]
	fstp	dword [ebp-8]
	fld	dword [ebp+20]
	fstp	dword [ebp-12]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+432]
	add	esp,8
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fldz
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,1
	fldz
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,2
	fldz
	fstp	dword [ecx+edx*4+28]
	push	1
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+428]
	add	esp,16
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_1781
_1781:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_ScaleEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+24]
	push	eax
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+444]
	add	esp,20
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+284]
	add	esp,16
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_1788
_1788:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_RotateEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	eax,dword [ebp+24]
	push	eax
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+408]
	add	esp,20
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_1795
_1795:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TurnEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	mov	esi,dword [ebp+24]
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_10683
	fstp	st0
	jmp	_5077
_10683:
	push	esi
	push	0
	push	0
	push	1065353216
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+412]
	add	esp,24
_5077:
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5079
	push	esi
	push	0
	push	1065353216
	push	0
	push	dword [ebp+16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+412]
	add	esp,24
_5079:
	fldz
	fld	dword [ebp+20]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5081
	push	esi
	push	1065353216
	push	0
	push	0
	push	dword [ebp+20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+412]
	add	esp,24
_5081:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_1802
_1802:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_PointEntity:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebp-12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [ebp-16]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [ebp-28]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+180]
	add	esp,8
	fsub	dword [ebp-12]
	fstp	dword [ebp-8]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+184]
	add	esp,8
	fsub	dword [ebp-16]
	fchs
	fstp	dword [ebp-24]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+188]
	add	esp,8
	fsub	dword [ebp-28]
	fchs
	fstp	dword [ebp-4]
	fld	dword [ebp-8]
	fmul	dword [ebp-8]
	fld	dword [ebp-4]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fstp	dword [ebp-20]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	push	1
	push	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,20
	mov	eax,0
	jmp	_1807
_1807:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_LoadAnimSeq:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	push	ebx
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_5100
	mov	eax,0
	jmp	_1811
_5100:
	push	_bbNullObject
	push	ebx
	call	dword [_sidesign_minib3d_TModel+48]
	add	esp,8
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+200],0
	jne	_5102
	mov	eax,0
	jmp	_1811
_5102:
	mov	eax,dword [ebp-12]
	cmp	dword [eax+200],0
	jne	_5103
	mov	eax,0
	jmp	_1811
_5103:
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+240]
	add	eax,1
	mov	dword [edx+240],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+240]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+232]
	push	_852
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+232]
	dec	dword [eax+4]
	jnz	_5107
	push	eax
	call	_bbGCFree
	add	esp,4
_5107:
	mov	eax,dword [ebp+8]
	mov	dword [eax+232],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+240]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+236]
	push	_852
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+236]
	dec	dword [eax+4]
	jnz	_5111
	push	eax
	call	_bbGCFree
	add	esp,4
_5111:
	mov	eax,dword [ebp+8]
	mov	dword [eax+236],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+232]
	mov	edx,dword [ebp+8]
	mov	ecx,dword [edx+240]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+236]
	mov	edx,dword [edx+24]
	mov	dword [eax+ecx*4+24],edx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+236]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+240]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+236]
	mov	ebx,dword [ecx+24]
	mov	ecx,dword [ebp-12]
	mov	ecx,dword [ecx+236]
	add	ebx,dword [ecx+24]
	mov	dword [eax+edx*4+24],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+236]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+236]
	mov	ecx,dword [edx+24]
	mov	edx,dword [ebp-12]
	mov	edx,dword [edx+236]
	add	ecx,dword [edx+24]
	mov	dword [eax+24],ecx
	cmp	dword [ebp-12],_bbNullObject
	je	_5112
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+304]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	add	eax,24
	mov	dword [ebp-4],eax
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	add	edx,dword [eax+16]
	mov	dword [ebp-16],edx
	jmp	_89
_91:
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax]
	add	dword [ebp-4],4
	cmp	ebx,_bbNullObject
	je	_89
	mov	eax,dword [ebp-12]
	push	_sidesign_minib3d_TBone
	push	dword [ebx+96]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+220]
	add	esp,8
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	cmp	edi,_bbNullObject
	je	_5120
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+12]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_5124
	push	eax
	call	_bbGCFree
	add	esp,4
_5124:
	mov	eax,dword [ebx+316]
	mov	dword [eax+12],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+16]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_5128
	push	eax
	call	_bbGCFree
	add	esp,4
_5128:
	mov	eax,dword [ebx+316]
	mov	dword [eax+16],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_5132
	push	eax
	call	_bbGCFree
	add	esp,4
_5132:
	mov	eax,dword [ebx+316]
	mov	dword [eax+20],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+24]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_5136
	push	eax
	call	_bbGCFree
	add	esp,4
_5136:
	mov	eax,dword [ebx+316]
	mov	dword [eax+24],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+28]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_5140
	push	eax
	call	_bbGCFree
	add	esp,4
_5140:
	mov	eax,dword [ebx+316]
	mov	dword [eax+28],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+32]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+32]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_5144
	push	eax
	call	_bbGCFree
	add	esp,4
_5144:
	mov	eax,dword [ebx+316]
	mov	dword [eax+32],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+36]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+36]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+36]
	dec	dword [eax+4]
	jnz	_5148
	push	eax
	call	_bbGCFree
	add	esp,4
_5148:
	mov	eax,dword [ebx+316]
	mov	dword [eax+36],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+40]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_5152
	push	eax
	call	_bbGCFree
	add	esp,4
_5152:
	mov	eax,dword [ebx+316]
	mov	dword [eax+40],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+44]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+44]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+44]
	dec	dword [eax+4]
	jnz	_5156
	push	eax
	call	_bbGCFree
	add	esp,4
_5156:
	mov	eax,dword [ebx+316]
	mov	dword [eax+44],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+48]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+48]
	dec	dword [eax+4]
	jnz	_5160
	push	eax
	call	_bbGCFree
	add	esp,4
_5160:
	mov	eax,dword [ebx+316]
	mov	dword [eax+48],esi
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	0
	mov	eax,dword [ebx+316]
	push	dword [eax+52]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+52]
	dec	dword [eax+4]
	jnz	_5164
	push	eax
	call	_bbGCFree
	add	esp,4
_5164:
	mov	eax,dword [ebx+316]
	mov	dword [eax+52],esi
	mov	eax,dword [ebx+316]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+236]
	mov	edx,dword [edx+24]
	mov	dword [eax+8],edx
	mov	eax,dword [edi+316]
	push	dword [eax+12]
	mov	eax,dword [ebx+316]
	push	dword [eax+12]
	push	_852
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_5168
	push	eax
	call	_bbGCFree
	add	esp,4
_5168:
	mov	eax,dword [ebx+316]
	mov	dword [eax+12],esi
	mov	eax,dword [edi+316]
	push	dword [eax+16]
	mov	eax,dword [ebx+316]
	push	dword [eax+16]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_5172
	push	eax
	call	_bbGCFree
	add	esp,4
_5172:
	mov	eax,dword [ebx+316]
	mov	dword [eax+16],esi
	mov	eax,dword [edi+316]
	push	dword [eax+20]
	mov	eax,dword [ebx+316]
	push	dword [eax+20]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_5176
	push	eax
	call	_bbGCFree
	add	esp,4
_5176:
	mov	eax,dword [ebx+316]
	mov	dword [eax+20],esi
	mov	eax,dword [edi+316]
	push	dword [eax+24]
	mov	eax,dword [ebx+316]
	push	dword [eax+24]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_5180
	push	eax
	call	_bbGCFree
	add	esp,4
_5180:
	mov	eax,dword [ebx+316]
	mov	dword [eax+24],esi
	mov	eax,dword [edi+316]
	push	dword [eax+28]
	mov	eax,dword [ebx+316]
	push	dword [eax+28]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_5184
	push	eax
	call	_bbGCFree
	add	esp,4
_5184:
	mov	eax,dword [ebx+316]
	mov	dword [eax+28],esi
	mov	eax,dword [edi+316]
	push	dword [eax+32]
	mov	eax,dword [ebx+316]
	push	dword [eax+32]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_5188
	push	eax
	call	_bbGCFree
	add	esp,4
_5188:
	mov	eax,dword [ebx+316]
	mov	dword [eax+32],esi
	mov	eax,dword [edi+316]
	push	dword [eax+36]
	mov	eax,dword [ebx+316]
	push	dword [eax+36]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+36]
	dec	dword [eax+4]
	jnz	_5192
	push	eax
	call	_bbGCFree
	add	esp,4
_5192:
	mov	eax,dword [ebx+316]
	mov	dword [eax+36],esi
	mov	eax,dword [edi+316]
	push	dword [eax+40]
	mov	eax,dword [ebx+316]
	push	dword [eax+40]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_5196
	push	eax
	call	_bbGCFree
	add	esp,4
_5196:
	mov	eax,dword [ebx+316]
	mov	dword [eax+40],esi
	mov	eax,dword [edi+316]
	push	dword [eax+44]
	mov	eax,dword [ebx+316]
	push	dword [eax+44]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+44]
	dec	dword [eax+4]
	jnz	_5200
	push	eax
	call	_bbGCFree
	add	esp,4
_5200:
	mov	eax,dword [ebx+316]
	mov	dword [eax+44],esi
	mov	eax,dword [edi+316]
	push	dword [eax+48]
	mov	eax,dword [ebx+316]
	push	dword [eax+48]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+48]
	dec	dword [eax+4]
	jnz	_5204
	push	eax
	call	_bbGCFree
	add	esp,4
_5204:
	mov	eax,dword [ebx+316]
	mov	dword [eax+48],esi
	mov	eax,dword [edi+316]
	push	dword [eax+52]
	mov	eax,dword [ebx+316]
	push	dword [eax+52]
	push	_867
	call	_bbArrayConcat
	add	esp,12
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+52]
	dec	dword [eax+4]
	jnz	_5208
	push	eax
	call	_bbGCFree
	add	esp,4
_5208:
	mov	eax,dword [ebx+316]
	mov	dword [eax+52],esi
_5120:
_89:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-4],eax
	jne	_91
_90:
_5112:
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+240]
	jmp	_1811
_1811:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_ExtractAnimSeq:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+20]
	add	dword [ebx+240],1
	mov	eax,dword [ebx+240]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+232]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+232]
	dec	dword [eax+4]
	jnz	_5213
	push	eax
	call	_bbGCFree
	add	esp,4
_5213:
	mov	dword [ebx+232],esi
	mov	eax,dword [ebx+240]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+236]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+236]
	dec	dword [eax+4]
	jnz	_5217
	push	eax
	call	_bbGCFree
	add	esp,4
_5217:
	mov	dword [ebx+236],esi
	mov	eax,0
	cmp	edi,0
	je	_5219
	mov	eax,dword [ebx+232]
	mov	eax,dword [eax+edi*4+24]
_5219:
	mov	esi,dword [ebx+232]
	mov	ecx,dword [ebx+240]
	mov	edx,dword [ebp+12]
	add	edx,eax
	mov	dword [esi+ecx*4+24],edx
	mov	esi,dword [ebx+236]
	mov	ecx,dword [ebx+240]
	mov	edx,dword [ebp+16]
	add	edx,eax
	mov	dword [esi+ecx*4+24],edx
	mov	eax,dword [ebx+240]
	jmp	_1817
_1817:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_Animate:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	edx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	fld	dword [ebp+16]
	mov	ebx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	mov	dword [edx+208],ecx
	fstp	dword [edx+216]
	mov	dword [edx+220],ebx
	mov	dword [edx+224],eax
	mov	ecx,dword [edx+232]
	mov	ecx,dword [ecx+ebx*4+24]
	mov	dword [ebp+-4],ecx
	fild	dword [ebp+-4]
	fstp	dword [edx+212]
	mov	dword [edx+244],1
	cmp	eax,0
	jle	_5220
	fldz
	fstp	dword [edx+212]
_5220:
	mov	eax,0
	jmp	_1824
_1824:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_SetAnimTime:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+16]
	mov	dword [ebx+208],-1
	fldz
	fstp	dword [ebx+216]
	mov	dword [ebx+220],eax
	mov	dword [ebx+224],0
	fld	dword [ebp+12]
	fstp	dword [ebx+212]
	mov	dword [ebx+244],0
	mov	edx,dword [ebx+232]
	mov	eax,dword [ebx+220]
	mov	edx,dword [edx+eax*4+24]
	mov	ecx,dword [ebx+236]
	mov	eax,dword [ebx+220]
	mov	edi,dword [ecx+eax*4+24]
	mov	ecx,dword [ebx+236]
	mov	eax,dword [ebx+220]
	mov	esi,dword [ecx+eax*4+24]
	mov	ecx,dword [ebx+232]
	mov	eax,dword [ebx+220]
	sub	esi,dword [ecx+eax*4+24]
	mov	ecx,esi
	mov	dword [ebp+-4],edx
	fild	dword [ebp+-4]
	fld	dword [ebp+12]
	faddp	st1,st0
	fstp	dword [ebp+12]
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_5224
	cmp	ecx,0
	setg	al
	movzx	eax,al
_5224:
	cmp	eax,0
	je	_5226
_94:
	mov	dword [ebp+-4],ecx
	fild	dword [ebp+-4]
	fld	dword [ebp+12]
	fsubrp	st1,st0
	fstp	dword [ebp+12]
_92:
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_94
_93:
_5226:
	mov	dword [ebp+-4],edx
	fild	dword [ebp+-4]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_5227
	cmp	ecx,0
	setg	al
	movzx	eax,al
_5227:
	cmp	eax,0
	je	_5229
_97:
	mov	dword [ebp+-4],ecx
	fild	dword [ebp+-4]
	fld	dword [ebp+12]
	faddp	st1,st0
	fstp	dword [ebp+12]
_95:
	mov	dword [ebp+-4],edx
	fild	dword [ebp+-4]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_97
_96:
_5229:
	push	edi
	push	edx
	push	dword [ebp+12]
	push	ebx
	call	dword [_sidesign_minib3d_TAnimation+48]
	add	esp,16
	fld	dword [ebp+12]
	fstp	dword [ebx+212]
	mov	eax,0
	jmp	_1829
_1829:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_AnimSeq:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+220]
	jmp	_1832
_1832:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_AnimLength:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebx+236]
	mov	eax,dword [ebx+220]
	mov	eax,dword [edx+eax*4+24]
	mov	ecx,dword [ebx+232]
	mov	edx,dword [ebx+220]
	sub	eax,dword [ecx+edx*4+24]
	jmp	_1835
_1835:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_AnimTime:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	cmp	dword [edx+224],0
	jle	_5230
	fld	dword [_10712]
	jmp	_1838
_5230:
	mov	eax,dword [edx+208]
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	jne	_5231
	mov	eax,dword [edx+208]
	cmp	eax,-1
	sete	al
	movzx	eax,al
_5231:
	cmp	eax,0
	je	_5233
	fld	dword [edx+212]
	mov	ecx,dword [edx+232]
	mov	eax,dword [edx+220]
	mov	eax,dword [ecx+eax*4+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	jmp	_1838
_5233:
	fld	dword [_10713]
	jmp	_1838
_1838:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_Animating:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	cmp	dword [eax+224],0
	jle	_5234
	mov	eax,1
	jmp	_1841
_5234:
	cmp	dword [eax+208],0
	jle	_5235
	mov	eax,1
	jmp	_1841
_5235:
	mov	eax,0
	jmp	_1841
_1841:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityColor:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	eax,dword [edx+132]
	fxch	st2
	fdiv	dword [_10726]
	fstp	dword [eax+16]
	mov	eax,dword [edx+132]
	fdiv	dword [_10727]
	fstp	dword [eax+20]
	mov	eax,dword [edx+132]
	fdiv	dword [_10728]
	fstp	dword [eax+24]
	mov	eax,0
	jmp	_1847
_1847:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityAlpha:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	mov	eax,dword [eax+132]
	fstp	dword [eax+28]
	mov	eax,0
	jmp	_1851
_1851:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityShininess:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	mov	eax,dword [eax+132]
	fstp	dword [eax+32]
	mov	eax,0
	jmp	_1855
_1855:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityTexture:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+16]
	mov	esi,dword [ebp+20]
	mov	eax,dword [ebp+12]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_5239
	push	eax
	call	_bbGCFree
	add	esp,4
_5239:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	dword [eax+esi*4+24],ebx
	cmp	dword [ebp+12],_bbNullObject
	je	_5240
	mov	edx,esi
	add	edx,1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	cmp	edx,dword [eax+8]
	jle	_5241
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+132]
	mov	eax,esi
	add	eax,1
	mov	dword [edx+8],eax
_5241:
	jmp	_5242
_5240:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	dword [eax+8],esi
	mov	eax,0
	jmp	_1861
_5242:
	cmp	edi,0
	jge	_5243
	mov	edi,0
_5243:
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+68]
	sub	eax,1
	cmp	edi,eax
	jle	_5244
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+68]
	sub	eax,1
	mov	edi,eax
_5244:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	dword [eax+44],edi
	mov	eax,0
	jmp	_1861
_1861:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityBlend:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [edi+132]
	mov	dword [eax+36],edx
	push	_sidesign_minib3d_TMesh
	push	edi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_5245
	push	_sidesign_minib3d_TMesh
	push	edi
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,dword [eax+292]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_98
_100:
	mov	eax,ebx
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_98
	cmp	dword [eax+72],_bbNullObject
	je	_5252
	mov	eax,dword [eax+72]
	mov	edx,dword [edi+132]
	mov	edx,dword [edx+36]
	mov	dword [eax+36],edx
_5252:
_98:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_100
_99:
_5245:
	mov	eax,0
	jmp	_1865
_1865:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityFX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+132]
	mov	dword [eax+40],edx
	mov	eax,0
	jmp	_1869
_1869:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityAutoFade:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	mov	dword [eax+116],1
	fxch	st1
	fstp	dword [eax+120]
	fstp	dword [eax+124]
	mov	eax,0
	jmp	_1874
_1874:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_PaintEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	edx,dword [edi+132]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+8]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp+12]
	mov	ebx,dword [eax+12]
	inc	dword [ebx+4]
	mov	eax,dword [edi+132]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_5256
	push	eax
	call	_bbGCFree
	add	esp,4
_5256:
	mov	eax,dword [edi+132]
	mov	dword [eax+12],ebx
	mov	edx,dword [edi+132]
	mov	eax,dword [ebp+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	mov	edx,dword [edi+132]
	mov	eax,dword [ebp+12]
	fld	dword [eax+20]
	fstp	dword [edx+20]
	mov	edx,dword [edi+132]
	mov	eax,dword [ebp+12]
	fld	dword [eax+24]
	fstp	dword [edx+24]
	mov	edx,dword [edi+132]
	mov	eax,dword [ebp+12]
	fld	dword [eax+28]
	fstp	dword [edx+28]
	mov	edx,dword [edi+132]
	mov	eax,dword [ebp+12]
	fld	dword [eax+32]
	fstp	dword [edx+32]
	mov	edx,dword [edi+132]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+36]
	mov	dword [edx+36],eax
	mov	edx,dword [edi+132]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+40]
	mov	dword [edx+40],eax
	mov	esi,0
	jmp	_5258
_103:
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+esi*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_5262
	push	eax
	call	_bbGCFree
	add	esp,4
_5262:
	mov	eax,dword [edi+132]
	mov	eax,dword [eax+48]
	mov	dword [eax+esi*4+24],ebx
_101:
	add	esi,1
_5258:
	cmp	esi,7
	jle	_103
_102:
	mov	eax,0
	jmp	_1878
_1878:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityOrder:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [ebx+108],eax
	push	_sidesign_minib3d_TCamera
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_5263
	push	ebx
	push	dword [__sidesign_minib3d_TCamera_cam_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	push	dword [__sidesign_minib3d_TCamera_cam_list]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+400]
	add	esp,8
_5263:
	mov	eax,0
	jmp	_1882
_1882:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_ShowEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	dword [eax+104],0
	mov	eax,0
	jmp	_1885
_1885:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_HideEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	dword [eax+104],1
	mov	eax,0
	jmp	_1888
_1888:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_Hidden:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	cmp	dword [eax+104],1
	jne	_5265
	mov	eax,1
	jmp	_1891
_5265:
	mov	eax,dword [eax+20]
	jmp	_104
_106:
	cmp	dword [eax+104],1
	jne	_5267
	mov	eax,1
	jmp	_1891
_5267:
	mov	eax,dword [eax+20]
_104:
	cmp	eax,_bbNullObject
	jne	_106
_105:
	mov	eax,0
	jmp	_1891
_1891:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_NameEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+96]
	dec	dword [eax+4]
	jnz	_5271
	push	eax
	call	_bbGCFree
	add	esp,4
_5271:
	mov	dword [esi+96],ebx
	mov	eax,0
	jmp	_1895
_1895:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityParent:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	edx
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+448]
	add	esp,12
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_1900
_1900:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_GetParent:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_1903
_1903:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityX:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	je	_5274
	cmp	dword [ebx+8],0
	je	_5275
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+440]
	add	esp,4
_5275:
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [edx+eax*4+28]
	jmp	_1907
_5274:
	fld	dword [ebx+32]
	jmp	_1907
_1907:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityY:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	je	_5278
	cmp	dword [ebx+8],0
	je	_5279
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+440]
	add	esp,4
_5279:
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+28]
	jmp	_1911
_5278:
	fld	dword [ebx+36]
	jmp	_1911
_1911:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityZ:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	je	_5282
	cmp	dword [ebx+8],0
	je	_5283
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+440]
	add	esp,4
_5283:
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+28]
	fchs
	jmp	_1915
_5282:
	fld	dword [ebx+40]
	jmp	_1915
_1915:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityPitch:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	je	_5287
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+436]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,4
	jmp	_1919
_5287:
	mov	eax,dword [eax+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,4
	jmp	_1919
_1919:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityYaw:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	je	_5292
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+436]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,4
	jmp	_1923
_5292:
	mov	eax,dword [eax+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,4
	jmp	_1923
_1923:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityRoll:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	je	_5297
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+436]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	jmp	_1927
_5297:
	mov	eax,dword [eax+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	jmp	_1927
_1927:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityClass:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+100]
	jmp	_1930
_1930:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+96]
	jmp	_1933
_1933:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CountChildren:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	esi,0
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_107
_109:
	mov	eax,edi
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_107
	add	esi,1
_107:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_109
_108:
	mov	eax,esi
	jmp	_1936
_1936:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_GetChild:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	esi,0
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_110
_112:
	mov	eax,edi
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_110
	add	esi,1
	cmp	esi,dword [ebp+12]
	jne	_5316
	jmp	_1940
_5316:
_110:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_112
_111:
	mov	eax,_bbNullObject
	jmp	_1940
_1940:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_FindChild:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_113
_115:
	mov	eax,edi
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_113
	mov	eax,esi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+208]
	add	esp,4
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_5325
	mov	eax,esi
	jmp	_1944
_5325:
	mov	eax,esi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+220]
	add	esp,8
	cmp	eax,_bbNullObject
	je	_5327
	jmp	_1944
_5327:
_113:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_115
_114:
	mov	eax,_bbNullObject
	jmp	_1944
_1944:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityPick:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	call	dword [_sidesign_minib3d_TPick+52]
	add	esp,8
	jmp	_1948
_1948:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_LinePick:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fld	dword [ebp+32]
	fld	dword [ebp+36]
	fldz
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp+12]
	call	dword [_sidesign_minib3d_TPick+56]
	add	esp,28
	jmp	_1958
_1958:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityVisible:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TPick+60]
	add	esp,8
	jmp	_1963
_1963:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityDistance:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+396]
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	jmp	_1967
_1967:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_DeltaYaw:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebp-8]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+180]
	add	esp,8
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [ebp-4]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+188]
	add	esp,8
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fchs
	jmp	_1971
_1971:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_DeltaPitch:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebp-8]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+180]
	add	esp,8
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-16]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [ebp-12]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+184]
	add	esp,8
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [ebp-20]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [ebp-4]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+188]
	add	esp,8
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fchs
	jmp	_1975
_1975:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TFormPoint:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+8]
	fstp	dword [ebp-4]
	fld	dword [ebp+12]
	fstp	dword [ebp-8]
	fld	dword [ebp+16]
	fstp	dword [ebp-12]
	mov	esi,dword [ebp+20]
	mov	edi,dword [ebp+24]
	mov	ebx,_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	cmp	esi,_bbNullObject
	je	_5346
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+436]
	add	esp,8
	mov	ebx,eax
_5346:
	cmp	edi,_bbNullObject
	je	_5348
	mov	eax,edi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+432]
	add	esp,8
	mov	dword [ebp-16],eax
_5348:
	cmp	esi,_bbNullObject
	je	_5350
	mov	eax,ebx
	push	1
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
_5350:
	cmp	edi,_bbNullObject
	je	_5352
	mov	edx,dword [ebp-16]
	push	1
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+96]
	add	esp,20
_5352:
	fld	dword [ebp-4]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_x]
	fld	dword [ebp-8]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_y]
	fld	dword [ebp-12]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_z]
	mov	eax,0
	jmp	_1982
_1982:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TFormVector:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+8]
	fstp	dword [ebp-4]
	fld	dword [ebp+12]
	fstp	dword [ebp-8]
	fld	dword [ebp+16]
	fstp	dword [ebp-12]
	mov	edi,dword [ebp+20]
	mov	esi,_bbNullObject
	mov	ebx,_bbNullObject
	cmp	edi,_bbNullObject
	je	_5356
	mov	eax,edi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+436]
	add	esp,8
	mov	esi,eax
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fldz
	fstp	dword [eax+edx*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fldz
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fldz
	fstp	dword [edx+eax*4+28]
_5356:
	cmp	dword [ebp+24],_bbNullObject
	je	_5358
	mov	eax,dword [ebp+24]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+432]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fldz
	fstp	dword [eax+edx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fldz
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fldz
	fstp	dword [edx+eax*4+28]
_5358:
	cmp	edi,_bbNullObject
	je	_5360
	mov	eax,esi
	push	1
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
_5360:
	cmp	dword [ebp+24],_bbNullObject
	je	_5362
	mov	eax,ebx
	push	1
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
_5362:
	fld	dword [ebp-4]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_x]
	fld	dword [ebp-8]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_y]
	fld	dword [ebp-12]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_z]
	mov	eax,0
	jmp	_1989
_1989:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TFormNormal:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	push	eax
	push	edx
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	dword [ebp+8]
	call	dword [_sidesign_minib3d_TEntity+252]
	add	esp,20
	fld	dword [__sidesign_minib3d_TEntity_tformed_x]
	fstp	dword [ebp+8]
	fld	dword [__sidesign_minib3d_TEntity_tformed_y]
	fstp	dword [ebp+12]
	fld	dword [__sidesign_minib3d_TEntity_tformed_z]
	fstp	dword [ebp+16]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	dword [ebp+8]
	call	_sidesign_minib3d_Magnitude
	add	esp,12
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_10861
	fstp	st0
	jmp	_5365
_10861:
	fld	dword [ebp+8]
	fdiv	st0,st1
	fstp	dword [ebp+8]
	fld	dword [ebp+12]
	fdiv	st0,st1
	fstp	dword [ebp+12]
	fld	dword [ebp+16]
	fdivrp	st1,st0
	fstp	dword [ebp+16]
_5365:
	fld	dword [ebp+8]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_x]
	fld	dword [ebp+12]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_y]
	fld	dword [ebp+16]
	fstp	dword [__sidesign_minib3d_TEntity_tformed_z]
	mov	eax,0
	jmp	_1996
_1996:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TFormedX:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TEntity_tformed_x]
	jmp	_1998
_1998:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TFormedY:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TEntity_tformed_y]
	jmp	_2000
_2000:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TFormedZ:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TEntity_tformed_z]
	jmp	_2002
_2002:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_GetMatElement:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	ebx,dword [ebx+28]
	mov	ebx,dword [ebx+8]
	imul	eax,dword [ebx+24]
	add	eax,ecx
	fld	dword [edx+eax*4+28]
	jmp	_2007
_2007:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_ResetEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	dword [ebx+184],0
	push	0
	push	0
	push	dword [ebx+188]
	push	_5366
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+188]
	dec	dword [eax+4]
	jnz	_5370
	push	eax
	call	_bbGCFree
	add	esp,4
_5370:
	mov	dword [ebx+188],esi
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebx+248]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [ebx+252]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [ebx+256]
	mov	eax,0
	jmp	_2010
_2010:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityRadius:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fst	dword [edx+148]
	fldz
	fxch	st2
	fucom	st2
	fxch	st2
	fstp	st0
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	je	_10883
	fstp	st0
	jmp	_5374
_10883:
	fxch	st1
	fstp	st0
	fstp	dword [edx+152]
	jmp	_5375
_5374:
	fstp	dword [edx+152]
_5375:
	mov	edi,edx
	mov	esi,edx
	mov	ebx,edx
	push	0
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+364]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+360]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+356]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+284]
	add	esp,16
	mov	eax,0
	jmp	_2015
_2015:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_UpdateRadius:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	fld	dword [ebp+20]
	sub	esp,8
	fstp	qword [esp]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	fld	dword [ebx+148]
	fmul	st0,st1
	fstp	dword [ebx+140]
	fld	dword [ebx+152]
	fmulp	st1,st0
	fstp	dword [ebx+144]
	mov	eax,0
	jmp	_2021
_2021:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityBox:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fld	dword [ebp+32]
	fxch	st5
	fstp	dword [eax+156]
	fxch	st3
	fstp	dword [eax+160]
	fxch	st1
	fstp	dword [eax+164]
	fstp	dword [eax+168]
	fstp	dword [eax+172]
	fstp	dword [eax+176]
	mov	eax,0
	jmp	_2030
_2030:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityType:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+180]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5380
	cmp	edi,0
	setne	al
	movzx	eax,al
_5380:
	cmp	eax,0
	je	_5382
	mov	eax,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	cmp	dword [eax+edi*4+24],_bbNullObject
	jne	_5383
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_5387
	push	eax
	call	_bbGCFree
	add	esp,4
_5387:
	mov	eax,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	dword [eax+edi*4+24],ebx
_5383:
	push	esi
	mov	eax,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	push	dword [eax+edi*4+24]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_5382:
	mov	eax,dword [esi+180]
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_5388
	cmp	edi,0
	sete	al
	movzx	eax,al
_5388:
	cmp	eax,0
	je	_5390
	push	esi
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [esi+180]
	push	dword [edx+eax*4+24]
	call	_brl_linkedlist_ListRemove
	add	esp,8
_5390:
	mov	dword [esi+180],edi
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [esi+248]
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [esi+252]
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [esi+256]
	cmp	dword [ebp+16],1
	jne	_5394
	mov	esi,dword [esi+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_116
_118:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_116
	push	1
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+292]
	add	esp,12
_116:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_118
_117:
_5394:
	mov	eax,0
	jmp	_2035
_2035:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityPickMode:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_5402
	push	_sidesign_minib3d_TTerrain
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_5402:
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5404
	cmp	ebx,2
	sete	al
	movzx	eax,al
_5404:
	cmp	eax,0
	je	_5406
	mov	eax,0
	jmp	_2040
_5406:
	mov	eax,dword [esi+192]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5407
	cmp	ebx,0
	setne	al
	movzx	eax,al
_5407:
	cmp	eax,0
	je	_5409
	push	esi
	push	dword [__sidesign_minib3d_TPick_ent_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_5409:
	mov	eax,dword [esi+192]
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_5410
	cmp	ebx,0
	sete	al
	movzx	eax,al
_5410:
	cmp	eax,0
	je	_5412
	push	esi
	push	dword [__sidesign_minib3d_TPick_ent_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
_5412:
	mov	dword [esi+192],ebx
	mov	dword [esi+196],edi
	mov	eax,0
	jmp	_2040
_2040:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityCollided:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,1
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+304]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_5415
_121:
	mov	eax,edi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+336]
	add	esp,8
	cmp	dword [eax+180],esi
	jne	_5418
	mov	eax,edi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+336]
	add	esp,8
	jmp	_2044
_5418:
_119:
	add	ebx,1
_5415:
	cmp	ebx,dword [ebp-8]
	jle	_121
_120:
	mov	eax,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-16],eax
	jmp	_122
_124:
	mov	eax,dword [ebp-16]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-4],eax
	cmp	dword [ebp-4],_bbNullObject
	je	_122
	mov	esi,1
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+304]
	add	esp,4
	mov	ebx,eax
	jmp	_5428
_127:
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+336]
	add	esp,8
	cmp	eax,edi
	jne	_5431
	mov	eax,dword [ebp-4]
	jmp	_2044
_5431:
_125:
	add	esi,1
_5428:
	cmp	esi,ebx
	jle	_127
_126:
_122:
	mov	eax,dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_124
_123:
	mov	eax,_bbNullObject
	jmp	_2044
_2044:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CountCollisions:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+184]
	jmp	_2047
_2047:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionX:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5432
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5432:
	cmp	eax,0
	je	_5434
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	jmp	_2051
_5434:
	fld	dword [_10915]
	jmp	_2051
_2051:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionY:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5435
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5435:
	cmp	eax,0
	je	_5437
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+12]
	jmp	_2055
_5437:
	fld	dword [_10920]
	jmp	_2055
_2055:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionZ:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5438
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5438:
	cmp	eax,0
	je	_5440
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+16]
	jmp	_2059
_5440:
	fld	dword [_10925]
	jmp	_2059
_2059:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionNX:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5441
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5441:
	cmp	eax,0
	je	_5443
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+20]
	jmp	_2063
_5443:
	fld	dword [_10930]
	jmp	_2063
_2063:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionNY:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5444
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5444:
	cmp	eax,0
	je	_5446
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+24]
	jmp	_2067
_5446:
	fld	dword [_10935]
	jmp	_2067
_2067:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionNZ:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5447
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5447:
	cmp	eax,0
	je	_5449
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+28]
	jmp	_2071
_5449:
	fld	dword [_10940]
	jmp	_2071
_2071:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionTime:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5450
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5450:
	cmp	eax,0
	je	_5452
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+32]
	jmp	_2075
_5452:
	fld	dword [_10945]
	jmp	_2075
_2075:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionEntity:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5453
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5453:
	cmp	eax,0
	je	_5455
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+36]
	jmp	_2079
_5455:
	mov	eax,_bbNullObject
	jmp	_2079
_2079:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionSurface:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5456
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5456:
	cmp	eax,0
	je	_5458
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+40]
	jmp	_2083
_5458:
	mov	eax,_bbNullObject
	jmp	_2083
_2083:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CollisionTriangle:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5459
	cmp	edx,dword [ecx+184]
	setle	al
	movzx	eax,al
_5459:
	cmp	eax,0
	je	_5461
	mov	eax,dword [ecx+188]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+44]
	jmp	_2087
_5461:
	mov	eax,0
	jmp	_2087
_2087:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_GetEntityType:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+180]
	jmp	_2090
_2090:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MeshCullRadius:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fchs
	fstp	dword [eax+136]
	mov	eax,0
	jmp	_2094
_2094:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityScaleX:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+452]
	add	esp,20
	fld	dword [ebp-4]
	jmp	_2098
_2098:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityScaleY:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+452]
	add	esp,20
	fld	dword [ebp-8]
	jmp	_2102
_2102:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityScaleZ:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+452]
	add	esp,20
	fld	dword [ebp-12]
	jmp	_2106
_2106:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_BoundingSphereNew:
	push	ebp
	mov	ebp,esp
	sub	esp,48
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebp-48]
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [ebp-44]
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [ebp-40]
	fld	dword [esi+136]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_5481
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+264]
	fstp	dword [ebp-48]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+268]
	fstp	dword [ebp-44]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+272]
	fstp	dword [ebp-40]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+276]
	fstp	dword [ebp-4]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-4]
	fsub	dword [eax+264]
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fdiv	dword [_10979]
	fld	dword [ebp-48]
	faddp	st1,st0
	fstp	dword [ebp-48]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+280]
	fstp	dword [ebp-8]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-8]
	fsub	dword [eax+268]
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fdiv	dword [_10980]
	fld	dword [ebp-44]
	faddp	st1,st0
	fstp	dword [ebp-44]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+284]
	fstp	dword [ebp-12]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-12]
	fsub	dword [eax+272]
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fdiv	dword [_10981]
	fld	dword [ebp-40]
	faddp	st1,st0
	fstp	dword [ebp-40]
	push	_bbNullObject
	push	esi
	push	dword [ebp-40]
	push	dword [ebp-44]
	push	dword [ebp-48]
	mov	eax,dword [esi]
	call	dword [eax+248]
	add	esp,20
	fld	dword [__sidesign_minib3d_TEntity_tformed_x]
	fstp	dword [ebp-48]
	fld	dword [__sidesign_minib3d_TEntity_tformed_y]
	fstp	dword [ebp-44]
	fld	dword [__sidesign_minib3d_TEntity_tformed_z]
	fstp	dword [ebp-40]
	mov	eax,esi
	fld	dword [ebp-28]
	fstp	dword [ebp-16]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+356]
	add	esp,8
	fld	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-16]
	fstp	dword [ebp-32]
	mov	eax,esi
	fld	dword [ebp-28]
	fstp	dword [ebp-20]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+360]
	add	esp,8
	fld	dword [ebp-20]
	fmulp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [ebp-20]
	fstp	dword [ebp-36]
	mov	eax,esi
	fld	dword [ebp-28]
	fstp	dword [ebp-24]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+364]
	add	esp,8
	fld	dword [ebp-24]
	fmulp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebp-24]
	fld	dword [ebp-32]
	fld	dword [ebp-36]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_5488
	fld	dword [ebp-32]
	fucomp	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_5488:
	cmp	eax,0
	je	_5490
	fstp	st0
	fld	dword [ebp-32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	jmp	_5491
_5490:
	fld	dword [ebp-32]
	fld	dword [ebp-36]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_5492
	fld	dword [ebp-36]
	fucomp	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_5492:
	cmp	eax,0
	je	_5494
	fstp	st0
	fld	dword [ebp-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	jmp	_5495
_5494:
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
_5495:
_5491:
_5481:
	fld	dword [ebp-48]
	fstp	dword [ebx]
	fld	dword [ebp-44]
	fstp	dword [edi]
	fld	dword [ebp-40]
	mov	eax,dword [ebp+20]
	fstp	dword [eax]
	fld	dword [ebp-28]
	mov	eax,dword [ebp+24]
	fstp	dword [eax]
	mov	eax,0
	jmp	_2113
_2113:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_CountAllChildren:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_128
_130:
	mov	eax,edi
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_128
	add	esi,1
	push	esi
	push	eax
	call	dword [_sidesign_minib3d_TEntity+372]
	add	esp,8
	mov	esi,eax
_128:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_130
_129:
	mov	eax,esi
	jmp	_2117
_2117:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_GetChildFromAll:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+16]
	mov	eax,dword [ebp+20]
	cmp	eax,_bbNullObject
	jne	_5502
	mov	eax,dword [ebp+8]
_5502:
	mov	ebx,_bbNullObject
	mov	edi,dword [eax+16]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_131
_133:
	mov	eax,dword [ebp-4]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_131
	add	dword [esi],1
	mov	edx,dword [ebp+12]
	cmp	dword [esi],edx
	jne	_5510
	jmp	_2123
_5510:
	cmp	ebx,_bbNullObject
	jne	_5511
	mov	edx,dword [ebp+8]
	push	eax
	lea	eax,dword [esi]
	push	eax
	push	dword [ebp+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+376]
	add	esp,16
	mov	ebx,eax
_5511:
_131:
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_133
_132:
	mov	eax,ebx
	jmp	_2123
_2123:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_UpdateMat:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_2127
_2127:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_AddParent:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_5517
	push	eax
	call	_bbGCFree
	add	esp,4
_5517:
	mov	dword [esi+20],ebx
	cmp	dword [esi+20],_bbNullObject
	je	_5518
	mov	edx,dword [esi+28]
	mov	eax,dword [esi+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	push	esi
	mov	eax,dword [esi+20]
	push	dword [eax+16]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_5518:
	mov	eax,0
	jmp	_2131
_2131:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_UpdateChildren:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_134
_136:
	mov	eax,edi
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_134
	mov	edx,dword [esi+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,esi
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
	push	esi
	call	dword [_sidesign_minib3d_TEntity+388]
	add	esp,4
_134:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_136
_135:
	mov	eax,0
	jmp	_2134
_2134:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityDistanceSquared0:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebp-8]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+180]
	add	esp,8
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-20]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [ebp-12]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+184]
	add	esp,8
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [ebp-16]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [ebp-4]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+188]
	add	esp,8
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fld	dword [ebp-20]
	fmul	dword [ebp-20]
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	faddp	st1,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	jmp	_2138
_2138:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityDistanceSquared:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	cmp	dword [ebx+8],0
	je	_5537
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+440]
	add	esp,4
_5537:
	cmp	dword [esi+8],0
	je	_5539
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+440]
	add	esp,4
_5539:
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [esi+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fld	dword [eax+edx*4+28]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fsub	dword [eax+edx*4+28]
	mov	eax,dword [esi+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fsub	dword [edx+eax*4+28]
	mov	eax,dword [esi+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+28]
	fchs
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fadd	dword [edx+eax*4+28]
	fxch	st2
	fmul	st0,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	jmp	_2142
_2142:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_EntityListAdd:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [edi+8]
	cmp	dword [esi+108],0
	jle	_5545
_139:
	mov	ebx,dword [ebx+12]
_137:
	cmp	ebx,dword [edi+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_5547
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+108]
	cmp	eax,dword [esi+108]
	setle	al
	movzx	eax,al
_5547:
	cmp	eax,0
	jne	_5550
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+108]
	cmp	eax,0
	setle	al
	movzx	eax,al
_5550:
	cmp	eax,0
	je	_139
_138:
	mov	eax,edi
	push	ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+260]
	dec	dword [eax+4]
	jnz	_5556
	push	eax
	call	_bbGCFree
	add	esp,4
_5556:
	mov	dword [esi+260],ebx
	mov	eax,0
	jmp	_2146
_5545:
_142:
	mov	ebx,dword [ebx+16]
_140:
	cmp	ebx,dword [edi+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_5559
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+108]
	cmp	eax,dword [esi+108]
	setge	al
	movzx	eax,al
_5559:
	cmp	eax,0
	jne	_5562
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+108]
	cmp	eax,0
	setge	al
	movzx	eax,al
_5562:
	cmp	eax,0
	je	_142
_141:
	mov	eax,edi
	push	ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+260]
	dec	dword [eax+4]
	jnz	_5568
	push	eax
	call	_bbGCFree
	add	esp,4
_5568:
	mov	dword [esi+260],ebx
	mov	eax,0
	jmp	_2146
_2146:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_CopyMat:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	dword [ebp-8],eax
	mov	dword [ebp-4],0
	jmp	_5572
_145:
	mov	edi,0
	jmp	_5573
_148:
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+8]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	mov	edx,dword [edx+8]
	imul	eax,dword [edx+24]
	mov	ecx,eax
	add	ecx,edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-4]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+24]
	mov	esi,dword [esi+8]
	imul	eax,dword [esi+24]
	add	eax,edi
	fld	dword [edx+eax*4+28]
	fstp	dword [ebx+ecx*4+28]
_146:
	add	edi,1
_5573:
	cmp	edi,3
	jle	_148
_147:
_143:
	add	dword [ebp-4],1
_5572:
	cmp	dword [ebp-4],3
	jle	_145
_144:
	mov	eax,dword [ebp-8]
	jmp	_2149
_2149:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_Rotate:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+24]
	mov	eax,dword [ebx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,dword [ebx+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	cmp	esi,0
	je	_5576
	cmp	dword [ebx+20],_bbNullObject
	je	_5577
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	eax,dword [ebx+20]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+432]
	add	esp,8
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fldz
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,1
	fldz
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,2
	fldz
	fstp	dword [ecx+edx*4+28]
	mov	edx,dword [ebx+24]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+112]
	add	esp,8
_5577:
_5576:
	mov	eax,0
	jmp	_2156
_2156:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_Turn:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	mov	edi,dword [ebp+28]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	_sidesign_minib3d_Quaternion_FromAngleAxis
	add	esp,32
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	ebx,eax
	mov	eax,ebx
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,20
	cmp	edi,0
	je	_5587
	mov	eax,dword [esi+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	jmp	_5589
_5587:
	mov	eax,ebx
	push	dword [esi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	eax,dword [esi+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_5589:
	mov	eax,0
	jmp	_2164
_2164:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_Turn2:
	push	ebp
	mov	ebp,esp
	sub	esp,64
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	fld	dword [ebp+12]
	mov	edi,dword [ebp+24]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	fldz
	fstp	dword [ebp-20]
	fldz
	fstp	dword [ebp-24]
	fldz
	fstp	dword [ebp-28]
	fldz
	fstp	dword [ebp-32]
	fldz
	fstp	dword [ebp-36]
	fldz
	fstp	dword [ebp-40]
	fldz
	fstp	dword [ebp-44]
	fldz
	fstp	dword [ebp-48]
	fldz
	fstp	dword [ebp-52]
	fldz
	fstp	dword [ebp-56]
	fldz
	fstp	dword [ebp-60]
	fldz
	fstp	dword [ebp-64]
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	0
	push	0
	push	1065353216
	sub	esp,4
	fstp	dword [esp]
	call	_sidesign_minib3d_Quaternion_FromAngleAxis
	add	esp,32
	lea	eax,dword [ebp-32]
	push	eax
	lea	eax,dword [ebp-28]
	push	eax
	lea	eax,dword [ebp-24]
	push	eax
	lea	eax,dword [ebp-20]
	push	eax
	push	0
	push	1065353216
	push	0
	push	dword [ebp+16]
	call	_sidesign_minib3d_Quaternion_FromAngleAxis
	add	esp,32
	lea	eax,dword [ebp-48]
	push	eax
	lea	eax,dword [ebp-44]
	push	eax
	lea	eax,dword [ebp-40]
	push	eax
	lea	eax,dword [ebp-36]
	push	eax
	push	1065353216
	push	0
	push	0
	push	dword [ebp+20]
	call	_sidesign_minib3d_Quaternion_FromAngleAxis
	add	esp,32
	lea	eax,dword [ebp-64]
	push	eax
	lea	eax,dword [ebp-60]
	push	eax
	lea	eax,dword [ebp-56]
	push	eax
	lea	eax,dword [ebp-52]
	push	eax
	push	dword [ebp-32]
	push	dword [ebp-28]
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	_sidesign_minib3d_Quaternion_MultiplyQuat
	add	esp,48
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	dword [ebp-48]
	push	dword [ebp-44]
	push	dword [ebp-40]
	push	dword [ebp-36]
	push	dword [ebp-64]
	push	dword [ebp-60]
	push	dword [ebp-56]
	push	dword [ebp-52]
	call	_sidesign_minib3d_Quaternion_MultiplyQuat
	add	esp,48
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	ebx,eax
	mov	eax,ebx
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,20
	cmp	edi,0
	je	_5610
	mov	eax,dword [esi+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	jmp	_5612
_5610:
	mov	eax,ebx
	push	dword [esi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	eax,dword [esi+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_5612:
	mov	eax,0
	jmp	_2171
_2171:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_TransformPoint:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	ebx,dword [ebp+20]
	mov	eax,dword [eax+24]
	push	0
	lea	ebx,dword [ebx]
	push	ebx
	lea	ecx,dword [ecx]
	push	ecx
	lea	edx,dword [edx]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
	mov	eax,0
	jmp	_2177
_2177:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_Position:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	eax,dword [ebp+24]
	cmp	eax,0
	je	_5616
	cmp	dword [ebx+20],_bbNullObject
	je	_5617
	push	dword [ebx+20]
	push	_bbNullObject
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx]
	call	dword [eax+248]
	add	esp,20
	fld	dword [__sidesign_minib3d_TEntity_tformed_x]
	fld	dword [__sidesign_minib3d_TEntity_tformed_y]
	fld	dword [__sidesign_minib3d_TEntity_tformed_z]
_5617:
_5616:
	fxch	st2
	fstp	dword [ebx+32]
	fstp	dword [ebx+36]
	fstp	dword [ebx+40]
	mov	eax,0
	jmp	_2184
_2184:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_Move:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [ebp-4]
	fld	dword [ebp+16]
	fstp	dword [ebp-8]
	fld	dword [ebp+20]
	fstp	dword [ebp-12]
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+420]
	add	esp,16
	fld	dword [ebx+32]
	fadd	dword [ebp-4]
	fstp	dword [ebx+32]
	fld	dword [ebx+36]
	fadd	dword [ebp-8]
	fstp	dword [ebx+36]
	fld	dword [ebx+40]
	fadd	dword [ebp-12]
	fstp	dword [ebx+40]
	mov	eax,0
	jmp	_2190
_2190:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_GetInvMatrix:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	cmp	dword [ebx+20],_bbNullObject
	je	_5623
	mov	eax,dword [ebx+20]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+432]
	add	esp,8
	mov	dword [ebp-4],eax
	jmp	_5625
_5623:
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	dword [ebp-4],eax
_5625:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+404]
	add	esp,4
	mov	edi,eax
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	dword [ebp-8],eax
	cmp	esi,0
	je	_5628
	fld	dword [ebx+44]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	je	_5629
	fld	dword [ebx+48]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_5629:
	cmp	eax,0
	je	_5631
	fld	dword [ebx+52]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_5631:
	cmp	eax,0
	je	_5633
	mov	eax,dword [ebp-8]
	fld	dword [_11046]
	fdiv	dword [ebx+52]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [_11047]
	fdiv	dword [ebx+48]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [_11048]
	fdiv	dword [ebx+44]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
_5633:
_5628:
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	esi,eax
	mov	eax,esi
	push	dword [ebx+40]
	fld	dword [ebx+36]
	fchs
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+32]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,16
	mov	eax,edi
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	eax,esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	eax,dword [ebp-4]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	eax,dword [ebp-4]
	jmp	_2194
_2194:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_GetMatrix:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	edi,eax
	cmp	dword [ebp+12],0
	je	_5643
	mov	eax,edi
	push	dword [esi+52]
	push	dword [esi+48]
	push	dword [esi+44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
_5643:
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	ebx,eax
	mov	eax,ebx
	fld	dword [esi+40]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+36]
	push	dword [esi+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,16
	mov	eax,dword [esi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	edx,edi
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+112]
	add	esp,8
	mov	eax,edi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	cmp	dword [esi+20],_bbNullObject
	je	_5649
	mov	ebx,edi
	mov	eax,dword [esi+20]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+436]
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+112]
	add	esp,8
_5649:
	mov	eax,edi
	jmp	_2198
_2198:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_Update:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [esi+28]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+436]
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	mov	dword [esi+8],0
	mov	ebx,dword [esi+16]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_149
_151:
	mov	eax,edi
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_149
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+440]
	add	esp,4
	mov	dword [esi+12],0
_149:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_151
_150:
	mov	eax,0
	jmp	_2201
_2201:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_Scale:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+24]
	cmp	eax,0
	je	_5661
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	fldz
	fstp	dword [ebp-20]
	fldz
	fstp	dword [ebp-24]
	fldz
	fstp	dword [ebp-28]
	fldz
	fstp	dword [ebp-32]
	fldz
	fstp	dword [ebp-36]
	cmp	dword [esi+20],_bbNullObject
	je	_5672
	mov	eax,dword [esi+20]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+432]
	add	esp,8
	mov	ebx,eax
	fld1
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	fld1
	fstp	dword [ebp-20]
	fldz
	fstp	dword [ebp-24]
	fldz
	fstp	dword [ebp-28]
	fldz
	fstp	dword [ebp-32]
	fld1
	fstp	dword [ebp-36]
	push	0
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,20
	push	0
	lea	eax,dword [ebp-24]
	push	eax
	lea	eax,dword [ebp-20]
	push	eax
	lea	eax,dword [ebp-16]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,20
	push	0
	lea	eax,dword [ebp-36]
	push	eax
	lea	eax,dword [ebp-32]
	push	eax
	lea	eax,dword [ebp-28]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,20
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	_sidesign_minib3d_Magnitude
	add	esp,12
	fld	dword [ebp+12]
	fmulp	st1,st0
	fstp	dword [ebp+12]
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	call	_sidesign_minib3d_Magnitude
	add	esp,12
	fld	dword [ebp+16]
	fmulp	st1,st0
	fstp	dword [ebp+16]
	push	dword [ebp-36]
	push	dword [ebp-32]
	push	dword [ebp-28]
	call	_sidesign_minib3d_Magnitude
	add	esp,12
	fld	dword [ebp+20]
	fmulp	st1,st0
	fstp	dword [ebp+20]
_5672:
_5661:
	fld	dword [ebp+12]
	fstp	dword [esi+44]
	fld	dword [ebp+16]
	fstp	dword [esi+48]
	fld	dword [ebp+20]
	fstp	dword [esi+52]
	mov	eax,0
	jmp	_2208
_2208:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_SetParent:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	fld	dword [_11070]
	fstp	dword [ebp-28]
	fld	dword [_11071]
	fstp	dword [ebp-32]
	fld	dword [_11072]
	fstp	dword [ebp-36]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	fldz
	fstp	dword [ebp-20]
	fldz
	fstp	dword [ebp-24]
	mov	edi,_bbNullObject
	cmp	dword [ebp+16],0
	je	_5688
	push	_bbNullObject
	push	esi
	push	0
	push	0
	push	0
	mov	eax,dword [esi]
	call	dword [eax+248]
	add	esp,20
	fld	dword [__sidesign_minib3d_TEntity_tformed_x]
	fstp	dword [ebp-28]
	fld	dword [__sidesign_minib3d_TEntity_tformed_y]
	fstp	dword [ebp-32]
	fld	dword [__sidesign_minib3d_TEntity_tformed_z]
	fstp	dword [ebp-36]
	mov	eax,esi
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+436]
	add	esp,8
	mov	edi,eax
	mov	edx,dword [edi+8]
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fldz
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [edi+8]
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fldz
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [edi+8]
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fldz
	fstp	dword [edx+eax*4+28]
	mov	eax,esi
	push	1
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+452]
	add	esp,20
_5688:
	cmp	dword [esi+20],_bbNullObject
	je	_5691
	push	esi
	mov	eax,dword [esi+20]
	push	dword [eax+16]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_5695
	push	eax
	call	_bbGCFree
	add	esp,4
_5695:
	mov	dword [esi+20],ebx
_5691:
	cmp	dword [ebp+16],0
	je	_5696
	cmp	dword [ebp+12],_bbNullObject
	je	_5697
	push	dword [ebp+12]
	push	_bbNullObject
	push	dword [ebp-36]
	push	dword [ebp-32]
	push	dword [ebp-28]
	mov	eax,dword [esi]
	call	dword [eax+248]
	add	esp,20
	fld	dword [__sidesign_minib3d_TEntity_tformed_x]
	fstp	dword [ebp-28]
	fld	dword [__sidesign_minib3d_TEntity_tformed_y]
	fstp	dword [ebp-32]
	fld	dword [__sidesign_minib3d_TEntity_tformed_z]
	fstp	dword [ebp-36]
_5697:
	fld	dword [ebp-28]
	fstp	dword [esi+32]
	fld	dword [ebp-32]
	fstp	dword [esi+36]
	fld	dword [ebp-36]
	fstp	dword [esi+40]
	cmp	dword [ebp+12],_bbNullObject
	jne	_5698
	call	dword [_sidesign_minib3d_TMatrix+48]
	jmp	_5699
_5698:
	mov	eax,dword [ebp+12]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+432]
	add	esp,8
	mov	edx,dword [eax+8]
	mov	ecx,dword [eax+8]
	mov	ecx,dword [ecx+24]
	imul	ecx,3
	fldz
	fstp	dword [edx+ecx*4+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,1
	fldz
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,2
	fldz
	fstp	dword [ecx+edx*4+28]
_5699:
	mov	edx,edi
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+112]
	add	esp,8
	mov	eax,dword [esi+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_5696:
	cmp	dword [ebp+12],_bbNullObject
	jne	_5703
	mov	eax,0
	jmp	_2213
_5703:
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_5707
	push	eax
	call	_bbGCFree
	add	esp,4
_5707:
	mov	dword [esi+20],ebx
	push	esi
	mov	eax,dword [esi+20]
	push	dword [eax+16]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,esi
	push	1
	lea	edx,dword [ebp-24]
	push	edx
	lea	edx,dword [ebp-20]
	push	edx
	lea	edx,dword [ebp-16]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+452]
	add	esp,20
	fld	dword [ebp-16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5709
	fld	dword [esi+44]
	fmul	dword [ebp-4]
	fdiv	dword [ebp-16]
	fstp	dword [esi+44]
_5709:
	fld	dword [ebp-20]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5710
	fld	dword [esi+48]
	fmul	dword [ebp-8]
	fdiv	dword [ebp-20]
	fstp	dword [esi+48]
_5710:
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5711
	fld	dword [esi+52]
	fmul	dword [ebp-12]
	fdiv	dword [ebp-24]
	fstp	dword [esi+52]
_5711:
	mov	eax,0
	jmp	_2213
_2213:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_MQ_GetScaleXYZ:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+24]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	fldz
	fstp	dword [ebp-20]
	fldz
	fstp	dword [ebp-24]
	fldz
	fstp	dword [ebp-28]
	fldz
	fstp	dword [ebp-32]
	fldz
	fstp	dword [ebp-36]
	cmp	eax,0
	je	_5722
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+436]
	add	esp,8
	mov	ebx,eax
	jmp	_5724
_5722:
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	ebx,eax
	mov	eax,ebx
	push	dword [esi+52]
	push	dword [esi+48]
	push	dword [esi+44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
_5724:
	fld1
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	fld1
	fstp	dword [ebp-20]
	fldz
	fstp	dword [ebp-24]
	fldz
	fstp	dword [ebp-28]
	fldz
	fstp	dword [ebp-32]
	fld1
	fstp	dword [ebp-36]
	mov	eax,ebx
	push	0
	lea	edx,dword [ebp-12]
	push	edx
	lea	edx,dword [ebp-8]
	push	edx
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
	mov	eax,ebx
	push	0
	lea	edx,dword [ebp-24]
	push	edx
	lea	edx,dword [ebp-20]
	push	edx
	lea	edx,dword [ebp-16]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
	mov	eax,ebx
	push	0
	lea	edx,dword [ebp-36]
	push	edx
	lea	edx,dword [ebp-32]
	push	edx
	lea	edx,dword [ebp-28]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	_sidesign_minib3d_Magnitude
	add	esp,12
	fstp	dword [edi]
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	call	_sidesign_minib3d_Magnitude
	add	esp,12
	mov	eax,dword [ebp+16]
	fstp	dword [eax]
	push	dword [ebp-36]
	push	dword [ebp-32]
	push	dword [ebp-28]
	call	_sidesign_minib3d_Magnitude
	add	esp,12
	mov	eax,dword [ebp+20]
	fstp	dword [eax]
	mov	eax,0
	jmp	_2220
_2220:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_SetUpdateFlag:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [eax+8],1
	mov	esi,dword [eax+16]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_152
_154:
	push	_sidesign_minib3d_TEntity
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_152
	mov	dword [eax+8],1
	mov	dword [eax+12],1
_152:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_154
_153:
	mov	eax,0
	jmp	_2223
_2223:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_GetFrame:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+12]
	cmp	edi,0
	jge	_5735
	mov	eax,_bbNullObject
	jmp	_2227
_5735:
	cmp	edi,dword [ebx+88]
	jl	_5736
	mov	eax,edi
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+84]
	push	_5737
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+84]
	dec	dword [eax+4]
	jnz	_5741
	push	eax
	call	_bbGCFree
	add	esp,4
_5741:
	mov	dword [ebx+84],esi
	mov	dword [ebx+88],edi
_5736:
	mov	eax,dword [ebx+84]
	cmp	dword [eax+edi*4+24],_bbNullObject
	jne	_5742
	push	_sidesign_minib3d_TAnimationFrame
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+84]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_5746
	push	eax
	call	_bbGCFree
	add	esp,4
_5746:
	mov	eax,dword [ebx+84]
	mov	dword [eax+edi*4+24],esi
_5742:
	mov	eax,dword [ebx+84]
	mov	eax,dword [eax+edi*4+24]
	jmp	_2227
_2227:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_DeleteFrame:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	jge	_5747
	mov	eax,0
	jmp	_2231
_5747:
	cmp	eax,dword [edi+88]
	jle	_5748
	mov	eax,0
	jmp	_2231
_5748:
	mov	esi,eax
	mov	eax,dword [edi+88]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5750
_157:
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+460]
	add	esp,8
	mov	ebx,eax
	mov	eax,edi
	mov	edx,esi
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+460]
	add	esp,8
	fld	dword [eax+8]
	fstp	dword [ebx+8]
	fld	dword [eax+12]
	fstp	dword [ebx+12]
	fld	dword [eax+16]
	fstp	dword [ebx+16]
	fld	dword [eax+20]
	fstp	dword [ebx+20]
	fld	dword [eax+24]
	fstp	dword [ebx+24]
	fld	dword [eax+28]
	fstp	dword [ebx+28]
	fld	dword [eax+32]
	fstp	dword [ebx+32]
	fld	dword [eax+36]
	fstp	dword [ebx+36]
	fld	dword [eax+40]
	fstp	dword [ebx+40]
_155:
	add	esi,1
_5750:
	cmp	esi,dword [ebp-4]
	jle	_157
_156:
	sub	dword [edi+88],1
	mov	eax,0
	jmp	_2231
_2231:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_InsertFrame:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,edi
	push	dword [edi+88]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+460]
	add	esp,8
	mov	esi,dword [edi+88]
	mov	dword [ebp-4],ebx
	jmp	_5758
_160:
	mov	eax,edi
	mov	edx,esi
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+460]
	add	esp,8
	mov	ebx,eax
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+460]
	add	esp,8
	fld	dword [eax+8]
	fstp	dword [ebx+8]
	fld	dword [eax+12]
	fstp	dword [ebx+12]
	fld	dword [eax+16]
	fstp	dword [ebx+16]
	fld	dword [eax+20]
	fstp	dword [ebx+20]
	fld	dword [eax+24]
	fstp	dword [ebx+24]
	fld	dword [eax+28]
	fstp	dword [ebx+28]
	fld	dword [eax+32]
	fstp	dword [ebx+32]
	fld	dword [eax+36]
	fstp	dword [ebx+36]
	fld	dword [eax+40]
	fstp	dword [ebx+40]
_158:
	add	esi,-1
_5758:
	cmp	esi,dword [ebp-4]
	jge	_160
_159:
	mov	eax,0
	jmp	_2235
_2235:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_SetAnimationFrame:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+460]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_5766
	mov	eax,0
	jmp	_2248
_5766:
	fld	dword [ebp+16]
	fstp	dword [eax+8]
	fld	dword [ebp+20]
	fstp	dword [eax+12]
	fld	dword [ebp+24]
	fstp	dword [eax+16]
	fld	dword [ebp+28]
	fstp	dword [eax+20]
	fld	dword [ebp+32]
	fstp	dword [eax+24]
	fld	dword [ebp+36]
	fstp	dword [eax+28]
	fld	dword [ebp+40]
	fstp	dword [eax+32]
	fld	dword [ebp+44]
	fstp	dword [eax+36]
	fld	dword [ebp+48]
	fstp	dword [eax+40]
	mov	eax,0
	jmp	_2248
_2248:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_RecordFrame:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+460]
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_5769
	mov	eax,0
	jmp	_2252
_5769:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+440]
	add	esp,4
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [esi+8]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [esi+12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [esi+16]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+192]
	add	esp,8
	fstp	dword [esi+20]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+196]
	add	esp,8
	fstp	dword [esi+24]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+200]
	add	esp,8
	fstp	dword [esi+28]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+356]
	add	esp,8
	fstp	dword [esi+32]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+360]
	add	esp,8
	fstp	dword [esi+36]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+364]
	add	esp,8
	fstp	dword [esi+40]
	mov	eax,0
	jmp	_2252
_2252:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_PlayFrame:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	ebx,dword [esi+88]
	add	ebx,1
	mov	eax,ecx
	cdq
	idiv	ebx
	mov	dword [ebp+-4],edx
	fild	dword [ebp+-4]
	fstp	dword [esi+92]
	push	ecx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+460]
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_5782
	mov	eax,0
	jmp	_2256
_5782:
	push	1
	push	dword [ebx+16]
	push	dword [ebx+12]
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,20
	push	1
	push	dword [ebx+40]
	push	dword [ebx+36]
	push	dword [ebx+32]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,20
	push	1
	push	dword [ebx+28]
	push	dword [ebx+24]
	push	dword [ebx+20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,20
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_2256
_2256:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_TweenFrame:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [esi+92]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-36],eax
	mov	ecx,esi
	mov	ebx,dword [esi+88]
	add	ebx,1
	mov	eax,dword [ebp-36]
	cdq
	idiv	ebx
	mov	eax,edx
	push	eax
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+460]
	add	esp,8
	mov	ebx,eax
	mov	ecx,dword [esi+88]
	add	ecx,1
	mov	eax,dword [ebp-36]
	add	eax,1
	cdq
	idiv	ecx
	mov	eax,edx
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+460]
	add	esp,8
	mov	edi,eax
	cmp	ebx,_bbNullObject
	jne	_5792
	mov	eax,0
	jmp	_2260
_5792:
	cmp	edi,_bbNullObject
	jne	_5793
	mov	eax,0
	jmp	_2260
_5793:
	fld	dword [ebp+12]
	mov	eax,dword [ebp-36]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fsubp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [_11111]
	fsub	dword [ebp-4]
	fstp	dword [ebp-8]
	mov	eax,esi
	push	0
	fld	dword [ebx+16]
	fmul	dword [ebp-8]
	fld	dword [edi+16]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+12]
	fmul	dword [ebp-8]
	fld	dword [edi+12]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+8]
	fmul	dword [ebp-8]
	fld	dword [edi+8]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,20
	mov	eax,esi
	push	0
	fld	dword [ebx+40]
	fmul	dword [ebp-8]
	fld	dword [edi+40]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+36]
	fmul	dword [ebp-8]
	fld	dword [edi+36]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+32]
	fmul	dword [ebp-8]
	fld	dword [edi+32]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	push	0
	fld	dword [ebx+28]
	fstp	dword [ebp-20]
	fld	dword [ebp-4]
	fstp	dword [ebp-24]
	push	dword [edi+28]
	push	dword [ebx+28]
	mov	eax,dword [esi]
	call	dword [eax+492]
	add	esp,8
	fld	dword [ebp-24]
	fmulp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebp-20]
	fadd	dword [ebp-24]
	fstp	dword [ebp-20]
	push	dword [ebp-20]
	fld	dword [ebx+24]
	fstp	dword [ebp-16]
	fld	dword [ebp-4]
	fstp	dword [ebp-28]
	push	dword [edi+24]
	push	dword [ebx+24]
	mov	eax,dword [esi]
	call	dword [eax+492]
	add	esp,8
	fld	dword [ebp-28]
	fmulp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [ebp-16]
	fadd	dword [ebp-28]
	fstp	dword [ebp-16]
	push	dword [ebp-16]
	fld	dword [ebx+20]
	fstp	dword [ebp-32]
	fld	dword [ebp-4]
	fstp	dword [ebp-12]
	push	dword [edi+20]
	push	dword [ebx+20]
	mov	eax,dword [esi]
	call	dword [eax+492]
	add	esp,8
	fld	dword [ebp-12]
	fmulp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-32]
	fadd	dword [ebp-12]
	fstp	dword [ebp-32]
	push	dword [ebp-32]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,20
	mov	eax,0
	jmp	_2260
_2260:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_ApplyAnimationTo:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	cmp	edi,_bbNullObject
	jne	_5799
	mov	eax,0
	jmp	_2264
_5799:
	fldz
	fstp	dword [edi+92]
	mov	dword [edi+88],0
	mov	ebx,_bbEmptyArray
	inc	dword [ebx+4]
	mov	eax,dword [edi+84]
	dec	dword [eax+4]
	jnz	_5803
	push	eax
	call	_bbGCFree
	add	esp,4
_5803:
	mov	dword [edi+84],ebx
	mov	esi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+88]
	mov	dword [ebp-4],eax
	jmp	_5805
_163:
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+460]
	add	esp,8
	mov	eax,dword [ebp+8]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+460]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+84]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_5813
	push	eax
	call	_bbGCFree
	add	esp,4
_5813:
	mov	eax,dword [edi+84]
	mov	dword [eax+esi*4+24],ebx
_161:
	add	esi,1
_5805:
	cmp	esi,dword [ebp-4]
	jle	_163
_162:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+88]
	mov	dword [edi+88],eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+92]
	fstp	dword [edi+92]
	mov	eax,0
	jmp	_2264
_2264:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TEntity_AngDiff2:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	jmp	_164
_166:
	fld	dword [ebp+8]
	fadd	dword [_11123]
	fstp	dword [ebp+8]
_164:
	fldz
	fld	dword [ebp+8]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_166
_165:
	jmp	_167
_169:
	fld	dword [ebp+12]
	fadd	dword [_11124]
	fstp	dword [ebp+12]
_167:
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_169
_168:
	fld	dword [_11125]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMod
	add	esp,16
	fstp	dword [ebp+8]
	fld	dword [_11126]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMod
	add	esp,16
	fstp	dword [ebp+12]
	fld	dword [ebp+12]
	fsub	dword [ebp+8]
	fstp	dword [ebp-8]
	fld	dword [ebp+12]
	fadd	dword [_11127]
	fsub	dword [ebp+8]
	fstp	dword [ebp-12]
	fld	dword [ebp+12]
	fsub	dword [_11128]
	fsub	dword [ebp+8]
	fstp	dword [ebp-24]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-20]
	fld	dword [ebp-12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-20]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5818
	fld	dword [ebp-8]
	fstp	dword [ebp-4]
	jmp	_5819
_5818:
	fld	dword [ebp-12]
	fstp	dword [ebp-4]
_5819:
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-16]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-16]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5820
	fld	dword [ebp-24]
	fstp	dword [ebp-4]
_5820:
	fld	dword [ebp-4]
	jmp	_2268
_2268:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AlignToVector2:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+24]
	cmp	esi,1
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5821
	cmp	esi,3
	setg	al
	movzx	eax,al
_5821:
	cmp	eax,0
	je	_5823
	mov	eax,0
	jmp	_2276
_5823:
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	ebx,eax
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_sidesign_minib3d_Magnitude
	add	esp,12
	fld	dword [_11139]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5829
	fstp	st0
	mov	eax,0
	jmp	_2276
_5829:
	fld	dword [ebp+12]
	fdiv	st0,st1
	fstp	dword [ebp+12]
	fld	dword [ebp+16]
	fdiv	st0,st1
	fstp	dword [ebp+16]
	fld	dword [ebp+20]
	fdivrp	st1,st0
	fstp	dword [ebp+20]
	cmp	esi,1
	sete	al
	movzx	eax,al
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	fstp	dword [ebp-8]
	cmp	esi,2
	sete	al
	movzx	eax,al
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	fstp	dword [ebp-4]
	cmp	esi,3
	sete	al
	movzx	eax,al
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	push	_bbNullObject
	push	edi
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	dword [ebp-8]
	call	_sidesign_minib3d_TFormNormal
	add	esp,20
	call	_sidesign_minib3d_TFormedX
	fstp	dword [ebp-8]
	call	_sidesign_minib3d_TFormedY
	fstp	dword [ebp-4]
	call	_sidesign_minib3d_TFormedZ
	mov	eax,ebx
	fld	dword [ebp+20]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp+16]
	push	dword [ebp+12]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,28
	fld1
	fld	dword [ebp+28]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5831
	push	dword [ebp+28]
	push	ebx
	call	_sidesign_minib3d_InterpolateMatrix
	add	esp,8
	mov	ebx,eax
_5831:
	mov	eax,dword [edi+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+456]
	add	esp,4
	mov	eax,0
	jmp	_2276
_2276:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_UpdateEntities:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [__sidesign_minib3d_TEntity_entity_list]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_170
_172:
	push	_sidesign_minib3d_TEntity
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_170
	cmp	dword [eax+12],0
	jne	_5840
	cmp	dword [eax+8],0
	je	_5841
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+440]
	add	esp,4
_5841:
_5840:
_170:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_172
_171:
	mov	eax,0
	jmp	_2278
_2278:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_New
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TCamera
	mov	dword [ebx+264],0
	mov	dword [ebx+268],0
	mov	dword [ebx+272],0
	mov	dword [ebx+276],0
	fldz
	fstp	dword [ebx+280]
	fldz
	fstp	dword [ebx+284]
	fldz
	fstp	dword [ebx+288]
	mov	dword [ebx+292],1
	mov	dword [ebx+296],1
	fld1
	fstp	dword [ebx+300]
	fld	dword [_11151]
	fstp	dword [ebx+304]
	fld1
	fstp	dword [ebx+308]
	mov	dword [ebx+312],1
	mov	dword [ebx+316],0
	fldz
	fstp	dword [ebx+320]
	fldz
	fstp	dword [ebx+324]
	fldz
	fstp	dword [ebx+328]
	fld1
	fstp	dword [ebx+332]
	fld	dword [_11152]
	fstp	dword [ebx+336]
	push	16
	push	_5843
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+340],eax
	push	16
	push	_5845
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+344],eax
	push	4
	push	_5847
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+348],eax
	push	4
	push	6
	push	2
	push	_5849
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebx+352],eax
	xor	eax,eax
	cmp	eax,0
	je	_5851
	push	_173
	call	_brl_blitz_DebugLog
	add	esp,4
_5851:
	mov	eax,0
	jmp	_2281
_2281:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_5852
	push	_174
	call	_brl_blitz_DebugLog
	add	esp,4
_5852:
_2284:
	mov	eax,dword [ebx+352]
	dec	dword [eax+4]
	jnz	_5855
	push	eax
	call	_bbGCFree
	add	esp,4
_5855:
	mov	eax,dword [ebx+348]
	dec	dword [eax+4]
	jnz	_5857
	push	eax
	call	_bbGCFree
	add	esp,4
_5857:
	mov	eax,dword [ebx+344]
	dec	dword [eax+4]
	jnz	_5859
	push	eax
	call	_bbGCFree
	add	esp,4
_5859:
	mov	eax,dword [ebx+340]
	dec	dword [eax+4]
	jnz	_5861
	push	eax
	call	_bbGCFree
	add	esp,4
_5861:
	mov	dword [ebx],_sidesign_minib3d_TEntity
	push	ebx
	call	__sidesign_minib3d_TEntity_Delete
	add	esp,4
	mov	eax,0
	jmp	_5853
_5853:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CopyEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	push	_sidesign_minib3d_TCamera
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_175
_177:
	mov	eax,edi
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_175
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
_175:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_177
_176:
	mov	eax,esi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,esi
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,dword [ebp+8]
	cmp	dword [eax+180],0
	je	_5872
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+180]
	mov	eax,dword [edx+eax*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_5872:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+192],0
	je	_5874
	mov	eax,dword [__sidesign_minib3d_TPick_ent_list]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_5874:
	cmp	dword [esi+20],_bbNullObject
	je	_5876
	mov	edx,dword [esi+28]
	mov	eax,dword [esi+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	jmp	_5878
_5876:
	mov	eax,dword [esi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_5878:
	mov	edx,dword [esi+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fstp	dword [esi+32]
	mov	eax,dword [ebp+8]
	fld	dword [eax+36]
	fstp	dword [esi+36]
	mov	eax,dword [ebp+8]
	fld	dword [eax+40]
	fstp	dword [esi+40]
	mov	eax,dword [ebp+8]
	fld	dword [eax+44]
	fstp	dword [esi+44]
	mov	eax,dword [ebp+8]
	fld	dword [eax+48]
	fstp	dword [esi+48]
	mov	eax,dword [ebp+8]
	fld	dword [eax+52]
	fstp	dword [esi+52]
	mov	eax,dword [ebp+8]
	fld	dword [eax+56]
	fstp	dword [esi+56]
	mov	eax,dword [ebp+8]
	fld	dword [eax+60]
	fstp	dword [esi+60]
	mov	eax,dword [ebp+8]
	fld	dword [eax+64]
	fstp	dword [esi+64]
	mov	eax,dword [ebp+8]
	fld	dword [eax+68]
	fstp	dword [esi+68]
	mov	eax,dword [ebp+8]
	fld	dword [eax+72]
	fstp	dword [esi+72]
	mov	eax,dword [ebp+8]
	fld	dword [eax+76]
	fstp	dword [esi+76]
	mov	eax,dword [ebp+8]
	fld	dword [eax+80]
	fstp	dword [esi+80]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+96]
	inc	dword [ebx+4]
	mov	eax,dword [esi+96]
	dec	dword [eax+4]
	jnz	_5884
	push	eax
	call	_bbGCFree
	add	esp,4
_5884:
	mov	dword [esi+96],ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+100]
	inc	dword [ebx+4]
	mov	eax,dword [esi+100]
	dec	dword [eax+4]
	jnz	_5888
	push	eax
	call	_bbGCFree
	add	esp,4
_5888:
	mov	dword [esi+100],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+108]
	mov	dword [esi+108],eax
	mov	dword [esi+104],0
	mov	eax,dword [ebp+8]
	fld	dword [eax+136]
	fstp	dword [esi+136]
	mov	eax,dword [ebp+8]
	fld	dword [eax+140]
	fstp	dword [esi+140]
	mov	eax,dword [ebp+8]
	fld	dword [eax+144]
	fstp	dword [esi+144]
	mov	eax,dword [ebp+8]
	fld	dword [eax+156]
	fstp	dword [esi+156]
	mov	eax,dword [ebp+8]
	fld	dword [eax+160]
	fstp	dword [esi+160]
	mov	eax,dword [ebp+8]
	fld	dword [eax+164]
	fstp	dword [esi+164]
	mov	eax,dword [ebp+8]
	fld	dword [eax+168]
	fstp	dword [esi+168]
	mov	eax,dword [ebp+8]
	fld	dword [eax+172]
	fstp	dword [esi+172]
	mov	eax,dword [ebp+8]
	fld	dword [eax+176]
	fstp	dword [esi+176]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+192]
	mov	dword [esi+192],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+196]
	mov	dword [esi+196],eax
	mov	eax,esi
	push	dword [__sidesign_minib3d_TCamera_cam_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+264]
	mov	dword [esi+264],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+268]
	mov	dword [esi+268],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+272]
	mov	dword [esi+272],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+276]
	mov	dword [esi+276],eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+280]
	fstp	dword [esi+280]
	mov	eax,dword [ebp+8]
	fld	dword [eax+284]
	fstp	dword [esi+284]
	mov	eax,dword [ebp+8]
	fld	dword [eax+288]
	fstp	dword [esi+288]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+292]
	mov	dword [esi+292],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+296]
	mov	dword [esi+296],eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+300]
	fstp	dword [esi+300]
	mov	eax,dword [ebp+8]
	fld	dword [eax+304]
	fstp	dword [esi+304]
	mov	eax,dword [ebp+8]
	fld	dword [eax+308]
	fstp	dword [esi+308]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	mov	dword [esi+312],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+316]
	mov	dword [esi+316],eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+320]
	fstp	dword [esi+320]
	mov	eax,dword [ebp+8]
	fld	dword [eax+324]
	fstp	dword [esi+324]
	mov	eax,dword [ebp+8]
	fld	dword [eax+328]
	fstp	dword [esi+328]
	mov	eax,dword [ebp+8]
	fld	dword [eax+332]
	fstp	dword [esi+332]
	mov	eax,dword [ebp+8]
	fld	dword [eax+336]
	fstp	dword [esi+336]
	mov	eax,_bbNullObject
	jmp	_2288
_2288:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_FreeEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_FreeEntity
	add	esp,4
	push	ebx
	push	dword [__sidesign_minib3d_TCamera_cam_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	eax,0
	jmp	_2291
_2291:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CreateCamera:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_sidesign_minib3d_TCamera
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,ebx
	push	dword [__sidesign_minib3d_TGlobal_height]
	push	dword [__sidesign_minib3d_TGlobal_width]
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+500]
	add	esp,20
	mov	eax,_178
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebx+100]
	dec	dword [eax+4]
	jnz	_5895
	push	eax
	call	_bbGCFree
	add	esp,4
_5895:
	mov	dword [ebx+100],edi
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,ebx
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,ebx
	push	dword [__sidesign_minib3d_TCamera_cam_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	cmp	dword [ebx+20],_bbNullObject
	je	_5899
	mov	edx,dword [ebx+28]
	mov	eax,dword [ebx+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
	jmp	_5902
_5899:
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
_5902:
	mov	eax,ebx
	jmp	_2294
_2294:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraViewport:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	ecx,dword [ebp+20]
	mov	edx,dword [ebp+24]
	mov	dword [esi+264],eax
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	sub	eax,edx
	sub	eax,ebx
	mov	dword [esi+268],eax
	mov	dword [esi+272],ecx
	mov	dword [esi+276],edx
	mov	eax,0
	jmp	_2301
_2301:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraClsColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fxch	st2
	fdiv	dword [_11173]
	fstp	dword [eax+280]
	fdiv	dword [_11174]
	fstp	dword [eax+284]
	fdiv	dword [_11175]
	fstp	dword [eax+288]
	mov	eax,0
	jmp	_2307
_2307:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraClsMode:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	mov	dword [ecx+292],edx
	mov	dword [ecx+296],eax
	mov	eax,0
	jmp	_2312
_2312:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraRange:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fstp	dword [eax+300]
	fstp	dword [eax+304]
	mov	eax,0
	jmp	_2317
_2317:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraZoom:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+308]
	mov	eax,0
	jmp	_2321
_2321:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraProjMode:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+312],eax
	mov	eax,0
	jmp	_2325
_2325:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraPick:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	call	dword [_sidesign_minib3d_TPick+48]
	add	esp,12
	jmp	_2330
_2330:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraFogMode:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+316],eax
	mov	eax,0
	jmp	_2334
_2334:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraFogColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fxch	st2
	fdiv	dword [_11191]
	fstp	dword [eax+320]
	fdiv	dword [_11192]
	fstp	dword [eax+324]
	fdiv	dword [_11193]
	fstp	dword [eax+328]
	mov	eax,0
	jmp	_2340
_2340:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraFogRange:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fstp	dword [eax+332]
	fstp	dword [eax+336]
	mov	eax,0
	jmp	_2345
_2345:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_CameraProject:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fldz
	fstp	qword [ebp-8]
	fldz
	fstp	qword [ebp-16]
	fldz
	fstp	qword [ebp-24]
	lea	eax,qword [ebp-24]
	push	eax
	lea	eax,qword [ebp-16]
	push	eax
	lea	eax,qword [ebp-8]
	push	eax
	mov	eax,dword [ebx+348]
	lea	eax,dword [eax+24]
	push	eax
	mov	eax,dword [ebx+344]
	lea	eax,qword [eax+24]
	push	eax
	mov	eax,dword [ebx+340]
	lea	eax,qword [eax+24]
	push	eax
	fchs
	sub	esp,8
	fstp	qword [esp]
	sub	esp,8
	fstp	qword [esp]
	sub	esp,8
	fstp	qword [esp]
	call	_gluProject@48
	mov	eax,dword [ebx+264]
	neg	eax
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fld	qword [ebp-8]
	faddp	st1,st0
	fstp	dword [__sidesign_minib3d_TCamera_projected_x]
	mov	eax,dword [ebx+268]
	add	eax,dword [ebx+276]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fld	qword [ebp-16]
	fsubp	st1,st0
	fstp	dword [__sidesign_minib3d_TCamera_projected_y]
	fld	qword [ebp-24]
	fstp	dword [__sidesign_minib3d_TCamera_projected_z]
	mov	eax,0
	jmp	_2351
_2351:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_ProjectedX:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TCamera_projected_x]
	jmp	_2354
_2354:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_ProjectedY:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TCamera_projected_y]
	jmp	_2357
_2357:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_ProjectedZ:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TCamera_projected_z]
	jmp	_2360
_2360:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_EntityInView:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_5907
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+612]
	add	esp,4
_5907:
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+564]
	add	esp,8
	jmp	_2364
_2364:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_ExtractFrustum:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	16
	push	_5910
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	push	16
	push	_5912
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	16
	push	_5914
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+24]
	push	eax
	push	2983
	call	_glGetFloatv@8
	mov	eax,dword [ebp-8]
	lea	eax,dword [eax+24]
	push	eax
	push	2982
	call	_glGetFloatv@8
	mov	eax,dword [ebp-8]
	fld	dword [eax+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+16+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+32+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+12+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+48+24]
	faddp	st1,st0
	fstp	dword [ebx+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+4+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+20+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+36+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+12+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+52+24]
	faddp	st1,st0
	fstp	dword [ebx+4+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+8+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+40+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+12+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+56+24]
	faddp	st1,st0
	fstp	dword [ebx+8+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+12+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+28+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+44+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+12+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+60+24]
	faddp	st1,st0
	fstp	dword [ebx+12+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+16+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+20+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+16+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+24+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+32+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+28+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+48+24]
	faddp	st1,st0
	fstp	dword [ebx+16+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+16+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+4+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+20+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+20+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+24+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+36+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+28+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+52+24]
	faddp	st1,st0
	fstp	dword [ebx+20+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+16+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+8+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+20+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+24+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+40+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+28+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+56+24]
	faddp	st1,st0
	fstp	dword [ebx+24+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+16+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+12+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+20+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+28+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+24+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+44+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+28+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+60+24]
	faddp	st1,st0
	fstp	dword [ebx+28+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+32+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+36+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+16+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+40+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+32+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+44+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+48+24]
	faddp	st1,st0
	fstp	dword [ebx+32+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+32+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+4+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+36+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+20+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+40+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+36+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+44+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+52+24]
	faddp	st1,st0
	fstp	dword [ebx+36+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+32+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+8+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+36+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+40+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+40+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+44+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+56+24]
	faddp	st1,st0
	fstp	dword [ebx+40+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+32+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+12+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+36+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+28+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+40+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+44+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+44+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+60+24]
	faddp	st1,st0
	fstp	dword [ebx+44+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+48+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+52+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+16+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+56+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+32+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+60+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+48+24]
	faddp	st1,st0
	fstp	dword [ebx+48+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+48+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+4+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+52+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+20+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+56+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+36+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+60+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+52+24]
	faddp	st1,st0
	fstp	dword [ebx+52+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+48+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+8+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+52+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+56+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+40+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+60+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+56+24]
	faddp	st1,st0
	fstp	dword [ebx+56+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+48+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+12+24]
	mov	eax,dword [ebp-8]
	fld	dword [eax+52+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+28+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+56+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+44+24]
	faddp	st1,st0
	mov	eax,dword [ebp-8]
	fld	dword [eax+60+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+60+24]
	faddp	st1,st0
	fstp	dword [ebx+60+24]
	mov	eax,dword [esi+352]
	fld	dword [ebx+12+24]
	fsub	dword [ebx+24]
	fstp	dword [eax+28]
	mov	eax,dword [esi+352]
	fld	dword [ebx+28+24]
	fsub	dword [ebx+16+24]
	fstp	dword [eax+4+28]
	mov	eax,dword [esi+352]
	fld	dword [ebx+44+24]
	fsub	dword [ebx+32+24]
	fstp	dword [eax+8+28]
	mov	eax,dword [esi+352]
	fld	dword [ebx+60+24]
	fsub	dword [ebx+48+24]
	fstp	dword [eax+12+28]
	mov	eax,dword [esi+352]
	fld	dword [eax+28]
	mov	eax,dword [esi+352]
	fmul	dword [eax+28]
	mov	eax,dword [esi+352]
	fld	dword [eax+4+28]
	mov	eax,dword [esi+352]
	fmul	dword [eax+4+28]
	faddp	st1,st0
	mov	eax,dword [esi+352]
	fld	dword [eax+8+28]
	mov	eax,dword [esi+352]
	fmul	dword [eax+8+28]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	fld	dword [eax+28]
	fdiv	st0,st1
	fstp	dword [edx+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	fld	dword [eax+4+28]
	fdiv	st0,st1
	fstp	dword [edx+4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	fld	dword [eax+8+28]
	fdiv	st0,st1
	fstp	dword [edx+8+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	fld	dword [eax+12+28]
	fdivrp	st1,st0
	fstp	dword [edx+12+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	fld	dword [ebx+12+24]
	fadd	dword [ebx+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+28+24]
	fadd	dword [ebx+16+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+44+24]
	fadd	dword [ebx+32+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+60+24]
	fadd	dword [ebx+48+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	fmul	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	mov	edi,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	fld	dword [edi+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,1
	mov	edi,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	add	ecx,1
	fld	dword [edi+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,2
	mov	edi,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	add	ecx,2
	fld	dword [edi+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	add	eax,3
	mov	edi,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	add	ecx,3
	fld	dword [edi+ecx*4+28]
	fdivrp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+12+24]
	fadd	dword [ebx+4+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+28+24]
	fadd	dword [ebx+20+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+44+24]
	fadd	dword [ebx+36+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+60+24]
	fadd	dword [ebx+52+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edi,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	shl	ecx,1
	fld	dword [edi+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,1
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	shl	ecx,1
	add	ecx,1
	fld	dword [eax+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,2
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	shl	ecx,1
	add	ecx,2
	fld	dword [eax+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,3
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	shl	ecx,1
	add	ecx,3
	fld	dword [eax+ecx*4+28]
	fdivrp	st1,st0
	fstp	dword [edi+edx*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+12+24]
	fsub	dword [ebx+4+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+28+24]
	fsub	dword [ebx+20+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+44+24]
	fsub	dword [ebx+36+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+60+24]
	fsub	dword [ebx+52+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edi,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	imul	ecx,3
	fld	dword [edi+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edx,eax
	add	edx,1
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	imul	ecx,3
	add	ecx,1
	fld	dword [eax+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edx,eax
	add	edx,2
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	imul	ecx,3
	add	ecx,2
	fld	dword [eax+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edx,eax
	add	edx,3
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	imul	ecx,3
	add	ecx,3
	fld	dword [eax+ecx*4+28]
	fdivrp	st1,st0
	fstp	dword [edi+edx*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	fld	dword [ebx+12+24]
	fsub	dword [ebx+8+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,1
	fld	dword [ebx+28+24]
	fsub	dword [ebx+24+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,2
	fld	dword [ebx+44+24]
	fsub	dword [ebx+40+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,3
	fld	dword [ebx+60+24]
	fsub	dword [ebx+56+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	fmul	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,1
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,2
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	edi,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	shl	ecx,2
	fld	dword [edi+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	edx,eax
	add	edx,1
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	shl	ecx,2
	add	ecx,1
	fld	dword [eax+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	edx,eax
	add	edx,2
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	shl	ecx,2
	add	ecx,2
	fld	dword [eax+ecx*4+28]
	fdiv	st0,st1
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	edx,eax
	add	edx,3
	mov	eax,dword [esi+352]
	mov	ecx,dword [esi+352]
	mov	ecx,dword [ecx+24]
	shl	ecx,2
	add	ecx,3
	fld	dword [eax+ecx*4+28]
	fdivrp	st1,st0
	fstp	dword [edi+edx*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	fld	dword [ebx+12+24]
	fadd	dword [ebx+8+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,1
	fld	dword [ebx+28+24]
	fadd	dword [ebx+24+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,2
	fld	dword [ebx+44+24]
	fadd	dword [ebx+40+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,3
	fld	dword [ebx+60+24]
	fadd	dword [ebx+56+24]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	fmul	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,1
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,2
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	mov	ecx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	edx,dword [eax+24]
	imul	edx,5
	mov	eax,dword [esi+352]
	mov	ebx,dword [esi+352]
	mov	ebx,dword [ebx+24]
	imul	ebx,5
	fld	dword [eax+ebx*4+28]
	fdiv	st0,st1
	fstp	dword [ecx+edx*4+28]
	mov	ebx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	ecx,dword [eax+24]
	imul	ecx,5
	add	ecx,1
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,1
	fld	dword [edx+eax*4+28]
	fdiv	st0,st1
	fstp	dword [ebx+ecx*4+28]
	mov	ebx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	ecx,dword [eax+24]
	imul	ecx,5
	add	ecx,2
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,2
	fld	dword [edx+eax*4+28]
	fdiv	st0,st1
	fstp	dword [ebx+ecx*4+28]
	mov	ebx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	ecx,dword [eax+24]
	imul	ecx,5
	add	ecx,3
	mov	edx,dword [esi+352]
	mov	eax,dword [esi+352]
	mov	eax,dword [eax+24]
	imul	eax,5
	add	eax,3
	fld	dword [edx+eax*4+28]
	fdivrp	st1,st0
	fstp	dword [ebx+ecx*4+28]
	mov	eax,0
	jmp	_2367
_2367:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_EntityInFrustum:
	push	ebp
	mov	ebp,esp
	sub	esp,48
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebp-40]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [ebp-44]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [ebp-48]
	fld	dword [ebx+136]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_5924
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+264]
	fstp	dword [ebp-40]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+268]
	fstp	dword [ebp-44]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+272]
	fstp	dword [ebp-48]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+276]
	fstp	dword [ebp-4]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-4]
	fsub	dword [eax+264]
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fdiv	dword [_11220]
	fld	dword [ebp-40]
	faddp	st1,st0
	fstp	dword [ebp-40]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+280]
	fstp	dword [ebp-8]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-8]
	fsub	dword [eax+268]
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fdiv	dword [_11221]
	fld	dword [ebp-44]
	faddp	st1,st0
	fstp	dword [ebp-44]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+284]
	fstp	dword [ebp-12]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-12]
	fsub	dword [eax+272]
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fdiv	dword [_11222]
	fld	dword [ebp-48]
	faddp	st1,st0
	fstp	dword [ebp-48]
	push	_bbNullObject
	push	ebx
	push	dword [ebp-48]
	push	dword [ebp-44]
	push	dword [ebp-40]
	call	dword [_sidesign_minib3d_TEntity+248]
	add	esp,20
	fld	dword [__sidesign_minib3d_TEntity_tformed_x]
	fstp	dword [ebp-40]
	fld	dword [__sidesign_minib3d_TEntity_tformed_y]
	fstp	dword [ebp-44]
	fld	dword [__sidesign_minib3d_TEntity_tformed_z]
	fstp	dword [ebp-48]
	fld	dword [ebp-28]
	fstp	dword [ebp-16]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+356]
	add	esp,8
	fld	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-16]
	fstp	dword [ebp-32]
	fld	dword [ebp-28]
	fstp	dword [ebp-20]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+360]
	add	esp,8
	fld	dword [ebp-20]
	fmulp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [ebp-20]
	fstp	dword [ebp-36]
	fld	dword [ebp-28]
	fstp	dword [ebp-24]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+364]
	add	esp,8
	fld	dword [ebp-24]
	fmulp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebp-24]
	fld	dword [ebp-32]
	fld	dword [ebp-36]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_5931
	fld	dword [ebp-32]
	fucomp	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_5931:
	cmp	eax,0
	je	_5933
	fstp	st0
	fld	dword [ebp-32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	jmp	_5934
_5933:
	fld	dword [ebp-32]
	fld	dword [ebp-36]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_5935
	fld	dword [ebp-36]
	fucomp	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_5935:
	cmp	eax,0
	je	_5937
	fstp	st0
	fld	dword [ebp-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	jmp	_5938
_5937:
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
_5938:
_5934:
_5924:
	fld	dword [_11223]
	mov	edx,0
	jmp	_5941
_181:
	mov	ebx,dword [esi+352]
	mov	ecx,edx
	mov	eax,dword [esi+352]
	imul	ecx,dword [eax+24]
	fld	dword [ebx+ecx*4+28]
	fmul	dword [ebp-40]
	mov	ecx,dword [esi+352]
	mov	eax,edx
	mov	ebx,dword [esi+352]
	imul	eax,dword [ebx+24]
	add	eax,1
	fld	dword [ecx+eax*4+28]
	fmul	dword [ebp-44]
	faddp	st1,st0
	mov	ecx,dword [esi+352]
	mov	eax,edx
	mov	ebx,dword [esi+352]
	imul	eax,dword [ebx+24]
	add	eax,2
	fld	dword [ecx+eax*4+28]
	fld	dword [ebp-48]
	fchs
	fmulp	st1,st0
	faddp	st1,st0
	mov	ecx,dword [esi+352]
	mov	eax,edx
	mov	ebx,dword [esi+352]
	imul	eax,dword [ebx+24]
	add	eax,3
	fadd	dword [ecx+eax*4+28]
	fld	dword [ebp-28]
	fchs
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_5942
	fstp	st0
	fld	dword [_11224]
	jmp	_2371
_5942:
_179:
	add	edx,1
_5941:
	cmp	edx,5
	jg	_11235
	fstp	st0
	jmp	_181
_11235:
_180:
	fadd	dword [ebp-28]
	jmp	_2371
_2371:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	ebx,dword [ebp+8]
	push	dword [ebx+276]
	push	dword [ebx+272]
	push	dword [ebx+268]
	push	dword [ebx+264]
	call	_glViewport@16
	push	dword [ebx+276]
	push	dword [ebx+272]
	push	dword [ebx+268]
	push	dword [ebx+264]
	call	_glScissor@16
	push	1065353216
	push	dword [ebx+288]
	push	dword [ebx+284]
	push	dword [ebx+280]
	call	_glClearColor@16
	mov	eax,dword [ebx+292]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5943
	mov	eax,dword [ebx+296]
	cmp	eax,1
	sete	al
	movzx	eax,al
_5943:
	cmp	eax,0
	je	_5945
	push	1
	call	_glDepthMask@4
	push	16640
	call	_glClear@4
	jmp	_5946
_5945:
	cmp	dword [ebx+292],1
	jne	_5947
	push	16384
	call	_glClear@4
	jmp	_5948
_5947:
	cmp	dword [ebx+296],1
	jne	_5949
	push	1
	call	_glDepthMask@4
	push	256
	call	_glClear@4
_5949:
_5948:
_5946:
	cmp	dword [ebx+316],0
	jle	_5950
	push	2912
	call	_glEnable@4
	push	9729
	push	2917
	call	_glFogi@8
	push	dword [ebx+332]
	push	2915
	call	_glFogf@8
	push	dword [ebx+336]
	push	2916
	call	_glFogf@8
	push	3
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebx+320]
	fstp	dword [eax+24]
	fld	dword [ebx+324]
	fstp	dword [eax+28]
	fld	dword [ebx+328]
	fstp	dword [eax+32]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+24]
	push	eax
	push	2918
	call	_glFogfv@8
	jmp	_5953
_5950:
	push	2912
	call	_glDisable@4
_5953:
	mov	eax,dword [ebx+272]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	mov	eax,dword [ebx+276]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fdivp	st1,st0
	mov	ecx,dword [__sidesign_minib3d_TGlobal_j]
	mov	edx,dword [__sidesign_minib3d_TGlobal_jitter]
	mov	eax,dword [__sidesign_minib3d_TGlobal_j]
	imul	edx,dword [eax+24]
	fld	dword [ecx+edx*4+28]
	mov	ecx,dword [__sidesign_minib3d_TGlobal_j]
	mov	eax,dword [__sidesign_minib3d_TGlobal_jitter]
	mov	edx,dword [__sidesign_minib3d_TGlobal_j]
	imul	eax,dword [edx+24]
	add	eax,1
	fld	dword [ecx+eax*4+28]
	cmp	dword [__sidesign_minib3d_TGlobal_aa],0
	jne	_5957
	fstp	st0
	fstp	st0
	fld	dword [_11236]
	fld	dword [_11237]
_5957:
	push	1065353216
	push	0
	push	0
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+304]
	push	dword [ebx+300]
	sub	esp,4
	fst	dword [esp]
	fld	dword [_11238]
	fld	dword [ebx+308]
	fmulp	st2,st0
	fdivrp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan
	add	esp,8
	fld	qword [_11239]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+568]
	add	esp,40
	mov	eax,dword [ebx+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	eax,dword [eax+8]
	lea	eax,dword [eax+28]
	push	eax
	call	_glLoadMatrixf@4
	mov	eax,dword [ebx+340]
	lea	eax,qword [eax+24]
	push	eax
	push	2982
	call	_glGetDoublev@8
	mov	eax,dword [ebx+344]
	lea	eax,qword [eax+24]
	push	eax
	push	2983
	call	_glGetDoublev@8
	mov	eax,dword [ebx+348]
	lea	eax,dword [eax+24]
	push	eax
	push	2978
	call	_glGetIntegerv@8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+560]
	add	esp,4
	mov	eax,0
	jmp	_2374
_2374:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_accPerspective:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fdiv	dword [_11253]
	fstp	dword [ebp-20]
	fld	dword [ebp+20]
	fstp	qword [ebp-16]
	fld	dword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	qword [ebp-8]
	fld	dword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fdivrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-16]
	fdiv	qword [ebp-8]
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	fld	st0
	fchs
	fld	st1
	fmul	dword [ebp+16]
	fld	st0
	fchs
	push	dword [ebp+44]
	push	dword [ebp+40]
	push	dword [ebp+36]
	push	dword [ebp+32]
	push	dword [ebp+28]
	push	dword [ebp+24]
	push	dword [ebp+20]
	sub	esp,4
	fxch	st3
	fstp	dword [esp]
	sub	esp,4
	fxch	st1
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+572]
	add	esp,48
	mov	eax,0
	jmp	_2386
_2386:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCamera_accFrustum:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+36]
	fld	dword [ebp+40]
	fld	dword [ebp+52]
	fld	dword [ebp+16]
	fsub	dword [ebp+12]
	fld	dword [ebp+24]
	fsub	dword [ebp+20]
	fxch	st1
	fmulp	st4,st0
	mov	eax,dword [ebx+348]
	mov	eax,dword [eax+8+24]
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	fdivp	st4,st0
	fld	dword [ebp+44]
	fmul	dword [ebp+28]
	fdiv	st0,st2
	faddp	st4,st0
	fxch	st3
	fchs
	fstp	dword [ebp-8]
	fxch	st2
	fmulp	st1,st0
	mov	eax,dword [ebx+348]
	mov	eax,dword [eax+12+24]
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	fdivp	st1,st0
	fld	dword [ebp+48]
	fmul	dword [ebp+28]
	fdivrp	st2,st0
	faddp	st1,st0
	fchs
	fstp	dword [ebp-4]
	push	5889
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	cmp	dword [ebx+312],1
	jne	_5972
	fld	dword [ebp+32]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+28]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+24]
	fadd	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+20]
	fadd	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+16]
	fadd	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+12]
	fadd	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_glFrustum@48
	jmp	_5973
_5972:
	cmp	dword [ebx+312],2
	jne	_5974
	fld	dword [ebp+32]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+28]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+24]
	fadd	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+20]
	fadd	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+16]
	fadd	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+12]
	fadd	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_glOrtho@48
_5974:
_5973:
	push	5888
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	push	0
	fld	dword [ebp+48]
	fchs
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+44]
	fchs
	sub	esp,4
	fstp	dword [esp]
	call	_glTranslatef@12
	mov	eax,0
	jmp	_2400
_2400:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_New
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TLight
	mov	dword [ebx+264],0
	fld	dword [_11264]
	fstp	dword [ebx+268]
	fld1
	fstp	dword [ebx+272]
	fld1
	fstp	dword [ebx+276]
	fld1
	fstp	dword [ebx+280]
	fldz
	fstp	dword [ebx+284]
	fld	dword [_11265]
	fstp	dword [ebx+288]
	xor	eax,eax
	cmp	eax,0
	je	_5975
	push	_182
	call	_brl_blitz_DebugLog
	add	esp,4
_5975:
	mov	eax,0
	jmp	_2403
_2403:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_5976
	push	_183
	call	_brl_blitz_DebugLog
	add	esp,4
_5976:
_2406:
	mov	dword [ebx],_sidesign_minib3d_TEntity
	push	ebx
	call	__sidesign_minib3d_TEntity_Delete
	add	esp,4
	mov	eax,0
	jmp	_5977
_5977:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_CopyEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	push	_sidesign_minib3d_TLight
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_184
_186:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_184
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
_184:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_186
_185:
	mov	eax,edi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,edi
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,dword [ebp+8]
	cmp	dword [eax+180],0
	je	_5988
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+180]
	mov	eax,dword [edx+eax*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_5988:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+192],0
	je	_5990
	mov	eax,dword [__sidesign_minib3d_TPick_ent_list]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_5990:
	cmp	dword [edi+20],_bbNullObject
	je	_5992
	mov	edx,dword [edi+28]
	mov	eax,dword [edi+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	jmp	_5994
_5992:
	mov	eax,dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_5994:
	mov	edx,dword [edi+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fstp	dword [edi+32]
	mov	eax,dword [ebp+8]
	fld	dword [eax+36]
	fstp	dword [edi+36]
	mov	eax,dword [ebp+8]
	fld	dword [eax+40]
	fstp	dword [edi+40]
	mov	eax,dword [ebp+8]
	fld	dword [eax+44]
	fstp	dword [edi+44]
	mov	eax,dword [ebp+8]
	fld	dword [eax+48]
	fstp	dword [edi+48]
	mov	eax,dword [ebp+8]
	fld	dword [eax+52]
	fstp	dword [edi+52]
	mov	eax,dword [ebp+8]
	fld	dword [eax+56]
	fstp	dword [edi+56]
	mov	eax,dword [ebp+8]
	fld	dword [eax+60]
	fstp	dword [edi+60]
	mov	eax,dword [ebp+8]
	fld	dword [eax+64]
	fstp	dword [edi+64]
	mov	eax,dword [ebp+8]
	fld	dword [eax+68]
	fstp	dword [edi+68]
	mov	eax,dword [ebp+8]
	fld	dword [eax+72]
	fstp	dword [edi+72]
	mov	eax,dword [ebp+8]
	fld	dword [eax+76]
	fstp	dword [edi+76]
	mov	eax,dword [ebp+8]
	fld	dword [eax+80]
	fstp	dword [edi+80]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+96]
	inc	dword [ebx+4]
	mov	eax,dword [edi+96]
	dec	dword [eax+4]
	jnz	_6000
	push	eax
	call	_bbGCFree
	add	esp,4
_6000:
	mov	dword [edi+96],ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+100]
	inc	dword [ebx+4]
	mov	eax,dword [edi+100]
	dec	dword [eax+4]
	jnz	_6004
	push	eax
	call	_bbGCFree
	add	esp,4
_6004:
	mov	dword [edi+100],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+108]
	mov	dword [edi+108],eax
	mov	dword [edi+104],0
	mov	eax,dword [ebp+8]
	fld	dword [eax+136]
	fstp	dword [edi+136]
	mov	eax,dword [ebp+8]
	fld	dword [eax+140]
	fstp	dword [edi+140]
	mov	eax,dword [ebp+8]
	fld	dword [eax+144]
	fstp	dword [edi+144]
	mov	eax,dword [ebp+8]
	fld	dword [eax+156]
	fstp	dword [edi+156]
	mov	eax,dword [ebp+8]
	fld	dword [eax+160]
	fstp	dword [edi+160]
	mov	eax,dword [ebp+8]
	fld	dword [eax+164]
	fstp	dword [edi+164]
	mov	eax,dword [ebp+8]
	fld	dword [eax+168]
	fstp	dword [edi+168]
	mov	eax,dword [ebp+8]
	fld	dword [eax+172]
	fstp	dword [edi+172]
	mov	eax,dword [ebp+8]
	fld	dword [eax+176]
	fstp	dword [edi+176]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+192]
	mov	dword [edi+192],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+196]
	mov	dword [edi+196],eax
	push	edi
	push	dword [__sidesign_minib3d_TLight_light_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+264]
	mov	dword [edi+264],eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+268]
	fstp	dword [edi+268]
	mov	eax,dword [ebp+8]
	fld	dword [eax+272]
	fstp	dword [edi+272]
	mov	eax,dword [ebp+8]
	fld	dword [eax+276]
	fstp	dword [edi+276]
	mov	eax,dword [ebp+8]
	fld	dword [eax+280]
	fstp	dword [edi+280]
	mov	eax,dword [ebp+8]
	fld	dword [eax+284]
	fstp	dword [edi+284]
	mov	eax,dword [ebp+8]
	fld	dword [eax+288]
	fstp	dword [edi+288]
	mov	eax,edi
	jmp	_2410
_2410:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_FreeEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_FreeEntity
	add	esp,4
	push	ebx
	push	dword [__sidesign_minib3d_TLight_light_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	cmp	dword [__sidesign_minib3d_TLight_no_lights],0
	jle	_6005
	sub	dword [__sidesign_minib3d_TLight_no_lights],1
_6005:
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_no_lights]
	push	dword [edx+eax*4+24]
	call	_glDisable@4
	mov	eax,0
	jmp	_2413
_2413:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_CreateLight:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_sidesign_minib3d_TLight
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+264],esi
	mov	eax,_187
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+100]
	dec	dword [eax+4]
	jnz	_6010
	push	eax
	call	_bbGCFree
	add	esp,4
_6010:
	mov	dword [ebx+100],esi
	mov	eax,dword [__sidesign_minib3d_TLight_max_lights]
	cmp	dword [__sidesign_minib3d_TLight_no_lights],eax
	jl	_6011
	mov	eax,_bbNullObject
	jmp	_2417
_6011:
	add	dword [__sidesign_minib3d_TLight_no_lights],1
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_no_lights]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glEnable@4
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld1
	fstp	dword [eax+24]
	fld1
	fstp	dword [eax+28]
	fld1
	fstp	dword [eax+32]
	fld1
	fstp	dword [eax+36]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+24]
	push	eax
	push	4610
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_no_lights]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glLightfv@12
	cmp	dword [ebx+264],1
	jle	_6014
	push	1
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fldz
	fstp	dword [eax+24]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	lea	eax,dword [eax+24]
	push	eax
	push	4615
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_no_lights]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glLightfv@12
_6014:
	cmp	dword [ebx+264],3
	jne	_6017
	push	1
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [_11282]
	fstp	dword [eax+24]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	lea	eax,dword [eax+24]
	push	eax
	push	4613
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_no_lights]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glLightfv@12
_6017:
	push	ebx
	push	dword [__sidesign_minib3d_TLight_light_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,ebx
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	cmp	dword [ebx+20],_bbNullObject
	je	_6022
	mov	edx,dword [ebx+28]
	mov	eax,dword [ebx+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
	jmp	_6025
_6022:
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
_6025:
	mov	eax,ebx
	jmp	_2417
_2417:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_LightRange:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [_11290]
	fdivrp	st1,st0
	fstp	dword [eax+268]
	mov	eax,0
	jmp	_2421
_2421:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_LightColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fxch	st2
	fdiv	dword [_11293]
	fstp	dword [eax+272]
	fdiv	dword [_11294]
	fstp	dword [eax+276]
	fdiv	dword [_11295]
	fstp	dword [eax+280]
	mov	eax,0
	jmp	_2427
_2427:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_LightConeAngles:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fdiv	dword [_11298]
	fstp	dword [eax+284]
	fdiv	dword [_11299]
	fstp	dword [eax+288]
	mov	eax,0
	jmp	_2432
_2432:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TLight_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	mov	ebx,dword [ebp+8]
	add	dword [__sidesign_minib3d_TLight_light_no],1
	mov	eax,dword [__sidesign_minib3d_TLight_no_lights]
	cmp	dword [__sidesign_minib3d_TLight_light_no],eax
	jle	_6027
	mov	dword [__sidesign_minib3d_TLight_light_no],1
_6027:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+164]
	add	esp,4
	cmp	eax,1
	jne	_6029
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_light_no]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glDisable@4
	mov	eax,0
	jmp	_2435
_6029:
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_light_no]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glEnable@4
_6030:
	call	_glPushMatrix@0
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	lea	eax,dword [eax+28]
	push	eax
	call	_glMultMatrixf@4
	fld	dword [_11302]
	fstp	dword [ebp-28]
	fld	dword [_11303]
	fstp	dword [ebp-24]
	cmp	dword [ebx+264],1
	jle	_6033
	fld	dword [_11304]
	fstp	dword [ebp-28]
	fld	dword [_11305]
	fstp	dword [ebp-24]
_6033:
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebx+272]
	fstp	dword [eax+24]
	fld	dword [ebx+276]
	fstp	dword [eax+28]
	fld	dword [ebx+280]
	fstp	dword [eax+32]
	fld1
	fstp	dword [eax+36]
	mov	dword [ebp-8],eax
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fldz
	fstp	dword [eax+24]
	fldz
	fstp	dword [eax+28]
	fld	dword [ebp-28]
	fstp	dword [eax+32]
	fld	dword [ebp-24]
	fstp	dword [eax+36]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+24]
	push	eax
	push	4611
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_light_no]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glLightfv@12
	mov	eax,dword [ebp-8]
	lea	eax,dword [eax+24]
	push	eax
	push	4609
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_light_no]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glLightfv@12
	cmp	dword [ebx+264],1
	jle	_6038
	push	1
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebx+268]
	fstp	dword [eax+24]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	lea	eax,dword [eax+24]
	push	eax
	push	4616
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_light_no]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glLightfv@12
_6038:
	cmp	dword [ebx+264],3
	jne	_6041
	push	3
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fldz
	fstp	dword [eax+24]
	fldz
	fstp	dword [eax+28]
	fld	dword [_11306]
	fstp	dword [eax+32]
	mov	dword [ebp-16],eax
	push	1
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebx+288]
	fstp	dword [eax+24]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp-16]
	lea	eax,dword [eax+24]
	push	eax
	push	4612
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_light_no]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glLightfv@12
	mov	eax,dword [ebp-20]
	lea	eax,dword [eax+24]
	push	eax
	push	4614
	mov	edx,dword [__sidesign_minib3d_TLight_gl_light]
	mov	eax,dword [__sidesign_minib3d_TLight_light_no]
	sub	eax,1
	push	dword [edx+eax*4+24]
	call	_glLightfv@12
_6041:
	call	_glPopMatrix@0
	mov	eax,0
	jmp	_2435
_2435:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPivot_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_New
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TPivot
	xor	eax,eax
	cmp	eax,0
	je	_6046
	push	_188
	call	_brl_blitz_DebugLog
	add	esp,4
_6046:
	mov	eax,0
	jmp	_2438
_2438:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPivot_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_6047
	push	_189
	call	_brl_blitz_DebugLog
	add	esp,4
_6047:
_2441:
	mov	dword [ebx],_sidesign_minib3d_TEntity
	push	ebx
	call	__sidesign_minib3d_TEntity_Delete
	add	esp,4
	mov	eax,0
	jmp	_6048
_6048:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPivot_CopyEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	push	_sidesign_minib3d_TPivot
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_190
_192:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_190
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
_190:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_192
_191:
	mov	eax,edi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,edi
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,dword [ebp+8]
	cmp	dword [eax+180],0
	je	_6059
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+180]
	mov	eax,dword [edx+eax*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_6059:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+192],0
	je	_6061
	mov	eax,dword [__sidesign_minib3d_TPick_ent_list]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_6061:
	cmp	dword [edi+20],_bbNullObject
	je	_6063
	mov	edx,dword [edi+28]
	mov	eax,dword [edi+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	jmp	_6065
_6063:
	mov	eax,dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_6065:
	mov	edx,dword [edi+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fstp	dword [edi+32]
	mov	eax,dword [ebp+8]
	fld	dword [eax+36]
	fstp	dword [edi+36]
	mov	eax,dword [ebp+8]
	fld	dword [eax+40]
	fstp	dword [edi+40]
	mov	eax,dword [ebp+8]
	fld	dword [eax+44]
	fstp	dword [edi+44]
	mov	eax,dword [ebp+8]
	fld	dword [eax+48]
	fstp	dword [edi+48]
	mov	eax,dword [ebp+8]
	fld	dword [eax+52]
	fstp	dword [edi+52]
	mov	eax,dword [ebp+8]
	fld	dword [eax+56]
	fstp	dword [edi+56]
	mov	eax,dword [ebp+8]
	fld	dword [eax+60]
	fstp	dword [edi+60]
	mov	eax,dword [ebp+8]
	fld	dword [eax+64]
	fstp	dword [edi+64]
	mov	eax,dword [ebp+8]
	fld	dword [eax+68]
	fstp	dword [edi+68]
	mov	eax,dword [ebp+8]
	fld	dword [eax+72]
	fstp	dword [edi+72]
	mov	eax,dword [ebp+8]
	fld	dword [eax+76]
	fstp	dword [edi+76]
	mov	eax,dword [ebp+8]
	fld	dword [eax+80]
	fstp	dword [edi+80]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+96]
	inc	dword [ebx+4]
	mov	eax,dword [edi+96]
	dec	dword [eax+4]
	jnz	_6071
	push	eax
	call	_bbGCFree
	add	esp,4
_6071:
	mov	dword [edi+96],ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+100]
	inc	dword [ebx+4]
	mov	eax,dword [edi+100]
	dec	dword [eax+4]
	jnz	_6075
	push	eax
	call	_bbGCFree
	add	esp,4
_6075:
	mov	dword [edi+100],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+108]
	mov	dword [edi+108],eax
	mov	dword [edi+104],0
	mov	eax,dword [ebp+8]
	fld	dword [eax+136]
	fstp	dword [edi+136]
	mov	eax,dword [ebp+8]
	fld	dword [eax+140]
	fstp	dword [edi+140]
	mov	eax,dword [ebp+8]
	fld	dword [eax+144]
	fstp	dword [edi+144]
	mov	eax,dword [ebp+8]
	fld	dword [eax+156]
	fstp	dword [edi+156]
	mov	eax,dword [ebp+8]
	fld	dword [eax+160]
	fstp	dword [edi+160]
	mov	eax,dword [ebp+8]
	fld	dword [eax+164]
	fstp	dword [edi+164]
	mov	eax,dword [ebp+8]
	fld	dword [eax+168]
	fstp	dword [edi+168]
	mov	eax,dword [ebp+8]
	fld	dword [eax+172]
	fstp	dword [edi+172]
	mov	eax,dword [ebp+8]
	fld	dword [eax+176]
	fstp	dword [edi+176]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+192]
	mov	dword [edi+192],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+196]
	mov	dword [edi+196],eax
	mov	eax,edi
	jmp	_2445
_2445:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPivot_FreeEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	__sidesign_minib3d_TEntity_FreeEntity
	add	esp,4
	mov	eax,0
	jmp	_2448
_2448:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPivot_CreatePivot:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_sidesign_minib3d_TPivot
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,_193
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebx+100]
	dec	dword [eax+4]
	jnz	_6080
	push	eax
	call	_bbGCFree
	add	esp,4
_6080:
	mov	dword [ebx+100],edi
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,ebx
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	cmp	dword [ebx+20],_bbNullObject
	je	_6083
	mov	edx,dword [ebx+28]
	mov	eax,dword [ebx+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
	jmp	_6086
_6083:
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
_6086:
	mov	eax,ebx
	jmp	_2451
_2451:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPivot_Update:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2454
_2454:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_New
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TMesh
	fldz
	fstp	dword [ebx+264]
	fldz
	fstp	dword [ebx+268]
	fldz
	fstp	dword [ebx+272]
	fldz
	fstp	dword [ebx+276]
	fldz
	fstp	dword [ebx+280]
	fldz
	fstp	dword [ebx+284]
	mov	dword [ebx+288],0
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [ebx+292],eax
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [ebx+296],eax
	mov	dword [ebx+300],0
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+304],eax
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [ebx+308],eax
	push	_sidesign_minib3d_TColTree
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [ebx+312],eax
	mov	dword [ebx+316],1
	xor	eax,eax
	cmp	eax,0
	je	_6093
	push	_194
	call	_brl_blitz_DebugLog
	add	esp,4
_6093:
	mov	eax,0
	jmp	_2457
_2457:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_6094
	push	_195
	call	_brl_blitz_DebugLog
	add	esp,4
_6094:
_2460:
	mov	eax,dword [ebx+312]
	dec	dword [eax+4]
	jnz	_6097
	push	eax
	call	_bbGCFree
	add	esp,4
_6097:
	mov	eax,dword [ebx+308]
	dec	dword [eax+4]
	jnz	_6099
	push	eax
	call	_bbGCFree
	add	esp,4
_6099:
	mov	eax,dword [ebx+304]
	dec	dword [eax+4]
	jnz	_6101
	push	eax
	call	_bbGCFree
	add	esp,4
_6101:
	mov	eax,dword [ebx+296]
	dec	dword [eax+4]
	jnz	_6103
	push	eax
	call	_bbGCFree
	add	esp,4
_6103:
	mov	eax,dword [ebx+292]
	dec	dword [eax+4]
	jnz	_6105
	push	eax
	call	_bbGCFree
	add	esp,4
_6105:
	mov	dword [ebx],_sidesign_minib3d_TEntity
	push	ebx
	call	__sidesign_minib3d_TEntity_Delete
	add	esp,4
	mov	eax,0
	jmp	_6095
_6095:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CopyEntity:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	push	_sidesign_minib3d_TMesh
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_196
_198:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_196
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
_196:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_198
_197:
	mov	eax,dword [ebp-8]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,dword [ebp-8]
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,dword [ebp+8]
	cmp	dword [eax+180],0
	je	_6116
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+180]
	mov	eax,dword [edx+eax*4+24]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_6116:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+192],0
	je	_6118
	mov	eax,dword [__sidesign_minib3d_TPick_ent_list]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_6118:
	mov	eax,dword [ebp-8]
	cmp	dword [eax+20],_bbNullObject
	je	_6120
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	jmp	_6122
_6120:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_6122:
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_6129
	push	eax
	call	_bbGCFree
	add	esp,4
_6129:
	mov	eax,dword [ebp-8]
	mov	dword [eax+24],ebx
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+32]
	mov	eax,dword [ebp+8]
	fld	dword [eax+36]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+36]
	mov	eax,dword [ebp+8]
	fld	dword [eax+40]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+40]
	mov	eax,dword [ebp+8]
	fld	dword [eax+44]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+44]
	mov	eax,dword [ebp+8]
	fld	dword [eax+48]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+48]
	mov	eax,dword [ebp+8]
	fld	dword [eax+52]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+52]
	mov	eax,dword [ebp+8]
	fld	dword [eax+56]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+56]
	mov	eax,dword [ebp+8]
	fld	dword [eax+60]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+60]
	mov	eax,dword [ebp+8]
	fld	dword [eax+64]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+64]
	mov	eax,dword [ebp+8]
	fld	dword [eax+68]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+68]
	mov	eax,dword [ebp+8]
	fld	dword [eax+72]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+72]
	mov	eax,dword [ebp+8]
	fld	dword [eax+76]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+76]
	mov	eax,dword [ebp+8]
	fld	dword [eax+80]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+80]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+96]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+96]
	dec	dword [eax+4]
	jnz	_6133
	push	eax
	call	_bbGCFree
	add	esp,4
_6133:
	mov	eax,dword [ebp-8]
	mov	dword [eax+96],ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+100]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+100]
	dec	dword [eax+4]
	jnz	_6137
	push	eax
	call	_bbGCFree
	add	esp,4
_6137:
	mov	eax,dword [ebp-8]
	mov	dword [eax+100],ebx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+108]
	mov	eax,dword [ebp-8]
	mov	dword [eax+108],edx
	mov	eax,dword [ebp-8]
	mov	dword [eax+104],0
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+116]
	mov	eax,dword [ebp-8]
	mov	dword [eax+116],edx
	mov	eax,dword [ebp+8]
	fld	dword [eax+120]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+120]
	mov	eax,dword [ebp+8]
	fld	dword [eax+124]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+124]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+132]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+132]
	dec	dword [eax+4]
	jnz	_6141
	push	eax
	call	_bbGCFree
	add	esp,4
_6141:
	mov	eax,dword [ebp-8]
	mov	dword [eax+132],ebx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+200]
	mov	eax,dword [ebp-8]
	mov	dword [eax+200],edx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+204]
	mov	eax,dword [ebp-8]
	mov	dword [eax+204],edx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+208]
	mov	eax,dword [ebp-8]
	mov	dword [eax+208],edx
	mov	eax,dword [ebp+8]
	fld	dword [eax+212]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+212]
	mov	eax,dword [ebp+8]
	fld	dword [eax+216]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+216]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+220]
	mov	eax,dword [ebp-8]
	mov	dword [eax+220],edx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+224]
	mov	eax,dword [ebp-8]
	mov	dword [eax+224],edx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+228]
	mov	eax,dword [ebp-8]
	mov	dword [eax+228],edx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+232]
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+232]
	push	_852
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+232]
	dec	dword [eax+4]
	jnz	_6145
	push	eax
	call	_bbGCFree
	add	esp,4
_6145:
	mov	eax,dword [ebp-8]
	mov	dword [eax+232],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+236]
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+236]
	push	_852
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+236]
	dec	dword [eax+4]
	jnz	_6149
	push	eax
	call	_bbGCFree
	add	esp,4
_6149:
	mov	eax,dword [ebp-8]
	mov	dword [eax+236],ebx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+240]
	mov	eax,dword [ebp-8]
	mov	dword [eax+240],edx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+244]
	mov	eax,dword [ebp-8]
	mov	dword [eax+244],edx
	mov	eax,dword [ebp+8]
	fld	dword [eax+136]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+136]
	mov	eax,dword [ebp+8]
	fld	dword [eax+140]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+140]
	mov	eax,dword [ebp+8]
	fld	dword [eax+144]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+144]
	mov	eax,dword [ebp+8]
	fld	dword [eax+156]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+156]
	mov	eax,dword [ebp+8]
	fld	dword [eax+160]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+160]
	mov	eax,dword [ebp+8]
	fld	dword [eax+164]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+164]
	mov	eax,dword [ebp+8]
	fld	dword [eax+168]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+168]
	mov	eax,dword [ebp+8]
	fld	dword [eax+172]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+172]
	mov	eax,dword [ebp+8]
	fld	dword [eax+176]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+176]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+180]
	mov	eax,dword [ebp-8]
	mov	dword [eax+180],edx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+192]
	mov	eax,dword [ebp-8]
	mov	dword [eax+192],edx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+196]
	mov	eax,dword [ebp-8]
	mov	dword [eax+196],edx
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+264]
	mov	eax,dword [ebp+8]
	fld	dword [eax+268]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+268]
	mov	eax,dword [ebp+8]
	fld	dword [eax+272]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+272]
	mov	eax,dword [ebp+8]
	fld	dword [eax+276]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+276]
	mov	eax,dword [ebp+8]
	fld	dword [eax+280]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+280]
	mov	eax,dword [ebp+8]
	fld	dword [eax+284]
	mov	eax,dword [ebp-8]
	fstp	dword [eax+284]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+288]
	mov	eax,dword [ebp-8]
	mov	dword [eax+288],edx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+292]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+292]
	dec	dword [eax+4]
	jnz	_6153
	push	eax
	call	_bbGCFree
	add	esp,4
_6153:
	mov	eax,dword [ebp-8]
	mov	dword [eax+292],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+296]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-16],eax
	jmp	_199
_201:
	mov	eax,dword [ebp-16]
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	cmp	edi,_bbNullObject
	je	_199
	push	_sidesign_minib3d_TSurface
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebp-8]
	push	dword [eax+296]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,dword [edi+8]
	mov	dword [ebx+8],eax
	mov	eax,dword [edi+20]
	push	dword [eax+20]
	push	0
	push	dword [edi+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_6164
	push	eax
	call	_bbGCFree
	add	esp,4
_6164:
	mov	dword [ebx+20],esi
	mov	eax,dword [edi+40]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_6168
	push	eax
	call	_bbGCFree
	add	esp,4
_6168:
	mov	dword [ebx+40],esi
	mov	eax,dword [edi+44]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_6172
	push	eax
	call	_bbGCFree
	add	esp,4
_6172:
	mov	dword [ebx+44],esi
	mov	eax,dword [edi+48]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_6176
	push	eax
	call	_bbGCFree
	add	esp,4
_6176:
	mov	dword [ebx+48],esi
	mov	eax,dword [edi+52]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_6180
	push	eax
	call	_bbGCFree
	add	esp,4
_6180:
	mov	dword [ebx+52],esi
	mov	eax,dword [edi+56]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_6184
	push	eax
	call	_bbGCFree
	add	esp,4
_6184:
	mov	dword [ebx+56],esi
	mov	eax,dword [edi+60]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_6188
	push	eax
	call	_bbGCFree
	add	esp,4
_6188:
	mov	dword [ebx+60],esi
	mov	eax,dword [edi+64]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+64]
	dec	dword [eax+4]
	jnz	_6192
	push	eax
	call	_bbGCFree
	add	esp,4
_6192:
	mov	dword [ebx+64],esi
	mov	eax,dword [edi+68]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_6196
	push	eax
	call	_bbGCFree
	add	esp,4
_6196:
	mov	dword [ebx+68],esi
	mov	eax,dword [edi+80]
	mov	dword [ebx+80],eax
	mov	eax,dword [edi+84]
	mov	dword [ebx+84],eax
	mov	eax,dword [edi+88]
	mov	dword [ebx+88],eax
	mov	eax,dword [edi+92]
	mov	dword [ebx+92],eax
	mov	dword [ebx+96],-1
_199:
	mov	eax,dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_201
_200:
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+312]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+312]
	dec	dword [eax+4]
	jnz	_6200
	push	eax
	call	_bbGCFree
	add	esp,4
_6200:
	mov	eax,dword [ebp-8]
	mov	dword [eax+312],ebx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+316]
	mov	eax,dword [ebp-8]
	mov	dword [eax+316],edx
	mov	dword [ebp-4],0
	lea	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [ebp-8]
	lea	eax,dword [eax+304]
	push	eax
	push	dword [ebp-8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+596]
	add	esp,12
	mov	eax,dword [ebp-8]
	jmp	_2464
_2464:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_FreeEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_FreeEntity
	add	esp,4
	push	dword [ebx+296]
	call	_brl_linkedlist_ClearList
	add	esp,4
	push	0
	push	0
	push	dword [ebx+304]
	push	_6202
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+304]
	dec	dword [eax+4]
	jnz	_6206
	push	eax
	call	_bbGCFree
	add	esp,4
_6206:
	mov	dword [ebx+304],esi
	mov	eax,0
	jmp	_2467
_2467:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CreateMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_sidesign_minib3d_TMesh
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,_202
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebx+100]
	dec	dword [eax+4]
	jnz	_6211
	push	eax
	call	_bbGCFree
	add	esp,4
_6211:
	mov	dword [ebx+100],edi
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,ebx
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	cmp	dword [ebx+20],_bbNullObject
	je	_6214
	mov	edx,dword [ebx+28]
	mov	eax,dword [ebx+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
	jmp	_6217
_6214:
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
_6217:
	mov	eax,ebx
	jmp	_2470
_2470:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_LoadMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_bbNullObject
	push	eax
	call	dword [_sidesign_minib3d_TMesh+504]
	add	esp,8
	mov	esi,eax
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,4
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+600]
	add	esp,8
	mov	ebx,eax
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,_202
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+100]
	dec	dword [eax+4]
	jnz	_6227
	push	eax
	call	_bbGCFree
	add	esp,4
_6227:
	mov	dword [ebx+100],esi
	mov	eax,ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,ebx
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	cmp	dword [ebx+20],_bbNullObject
	je	_6230
	mov	edx,dword [ebx+28]
	mov	eax,dword [ebx+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
	jmp	_6233
_6230:
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
_6233:
	mov	eax,ebx
	jmp	_2474
_2474:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_LoadAnimMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	esi
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_6235
	push	_bbNullObject
	call	dword [_sidesign_minib3d_TMesh+508]
	add	esp,4
	jmp	_2478
_6235:
	push	_203
	push	4
	push	esi
	call	_brl_retro_Lower
	add	esp,4
	push	eax
	call	_brl_retro_Right
	add	esp,8
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_6236
	push	esi
	call	dword [_sidesign_minib3d_T3DSLoader+100]
	add	esp,4
	jmp	_2478
_6236:
	push	ebx
	push	esi
	call	dword [_sidesign_minib3d_TModel+48]
	add	esp,8
	jmp	_2478
_2478:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CreateCube:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TMesh+496]
	add	esp,4
	mov	esi,eax
	push	_bbNullObject
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+560]
	add	esp,8
	mov	ebx,eax
	push	0
	push	0
	push	0
	push	-1082130432
	push	-1082130432
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	1065353216
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	1065353216
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	-1082130432
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	-1082130432
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	-1082130432
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	-1082130432
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	-1082130432
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	-1082130432
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	1065353216
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	1065353216
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	-1082130432
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	-1082130432
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	1065353216
	push	-1082130432
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	-1082130432
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	1065353216
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	1065353216
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	-1082130432
	push	-1082130432
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,28
	push	-1082130432
	push	0
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	-1082130432
	push	0
	push	0
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	-1082130432
	push	0
	push	0
	push	2
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	-1082130432
	push	0
	push	0
	push	3
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	1065353216
	push	0
	push	0
	push	4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	1065353216
	push	0
	push	0
	push	5
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	1065353216
	push	0
	push	0
	push	6
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	1065353216
	push	0
	push	0
	push	7
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	-1082130432
	push	0
	push	8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	1065353216
	push	0
	push	9
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	1065353216
	push	0
	push	10
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	-1082130432
	push	0
	push	11
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	-1082130432
	push	0
	push	12
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	1065353216
	push	0
	push	13
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	1065353216
	push	0
	push	14
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	-1082130432
	push	0
	push	15
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	-1082130432
	push	16
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	-1082130432
	push	17
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	1065353216
	push	18
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	1065353216
	push	19
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	-1082130432
	push	20
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	-1082130432
	push	21
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	1065353216
	push	22
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	1065353216
	push	23
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,20
	push	0
	push	0
	push	1065353216
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	0
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	1065353216
	push	2
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	3
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	1065353216
	push	5
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	0
	push	6
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	0
	push	7
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	0
	push	8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	0
	push	9
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	1065353216
	push	10
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	11
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	0
	push	12
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	0
	push	13
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	14
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	1065353216
	push	15
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	0
	push	16
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	0
	push	17
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	1065353216
	push	18
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	19
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	20
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	1065353216
	push	21
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	0
	push	0
	push	22
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	0
	push	0
	push	1065353216
	push	0
	push	23
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	0
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	1065353216
	push	2
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	1065353216
	push	3
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	1065353216
	push	4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	1065353216
	push	5
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	0
	push	6
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	0
	push	7
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	0
	push	8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	0
	push	9
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	1065353216
	push	10
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	1065353216
	push	11
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	0
	push	12
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	0
	push	13
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	1065353216
	push	14
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	1065353216
	push	15
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	0
	push	16
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	0
	push	17
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	1065353216
	push	18
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	1065353216
	push	19
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	1065353216
	push	20
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	1065353216
	push	21
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	0
	push	0
	push	22
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	1
	push	0
	push	1065353216
	push	0
	push	23
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,24
	push	2
	push	1
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	3
	push	2
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	4
	push	5
	push	6
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	4
	push	6
	push	7
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	9
	push	13
	push	14
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	9
	push	14
	push	10
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	15
	push	12
	push	8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	11
	push	15
	push	8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	19
	push	18
	push	22
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	19
	push	22
	push	23
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	21
	push	17
	push	16
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	20
	push	21
	push	16
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	mov	eax,esi
	jmp	_2481
_2481:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CreateSphere:
	push	ebp
	mov	ebp,esp
	sub	esp,240
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+8]
	cmp	eax,2
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6348
	mov	eax,dword [ebp+8]
	cmp	eax,100
	setg	al
	movzx	eax,al
_6348:
	cmp	eax,0
	je	_6350
	mov	eax,_bbNullObject
	jmp	_2485
_6350:
	push	edx
	call	dword [_sidesign_minib3d_TMesh+496]
	add	esp,4
	mov	dword [ebp-236],eax
	mov	eax,dword [ebp-236]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	dword [ebp-152],eax
	fld	dword [_11368]
	mov	eax,dword [ebp+8]
	shl	eax,1
	mov	dword [ebp+-240],eax
	fild	dword [ebp+-240]
	fdivp	st1,st0
	fstp	dword [ebp-188]
	fld	dword [_11369]
	fstp	dword [ebp-220]
	fld	dword [_11370]
	fstp	dword [ebp-208]
	fld	dword [_11371]
	mov	eax,dword [ebp+8]
	shl	eax,1
	mov	dword [ebp+-240],eax
	fild	dword [ebp+-240]
	fdivp	st1,st0
	fstp	dword [ebp-228]
	fld	dword [_11372]
	mov	eax,dword [ebp+8]
	mov	dword [ebp+-240],eax
	fild	dword [ebp+-240]
	fdivp	st1,st0
	fstp	dword [ebp-192]
	fld	dword [_11373]
	fstp	dword [ebp-200]
	cmp	dword [ebp+8],2
	jne	_6360
	mov	dword [ebp-196],1
	mov	eax,dword [ebp+8]
	shl	eax,1
	mov	dword [ebp-224],eax
	jmp	_6362
_206:
	mov	eax,dword [ebp-152]
	push	0
	push	0
	fld	dword [ebp-208]
	fld	dword [ebp-228]
	fdiv	dword [_11374]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [ebp-220]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-180],eax
	mov	eax,dword [ebp-152]
	push	0
	push	1065353216
	fld	dword [ebp-208]
	fld	dword [ebp-228]
	fdiv	dword [_11375]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	0
	fld	dword [ebp-220]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edi,eax
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-116]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	mov	eax,dword [ebp-152]
	push	0
	push	1056964608
	push	dword [ebp-208]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [ebp-116]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	esi,eax
	fld	dword [ebp-200]
	fadd	dword [ebp-188]
	fstp	dword [ebp-200]
	fld	dword [_11376]
	fld	dword [ebp-200]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_6372
	fld	dword [ebp-200]
	fsub	dword [_11377]
	fstp	dword [ebp-200]
_6372:
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-116]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-208]
	fsub	dword [ebp-228]
	fstp	dword [ebp-208]
	mov	eax,dword [ebp-152]
	push	0
	push	1056964608
	push	dword [ebp-208]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [ebp-116]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	ebx,eax
	mov	eax,dword [ebp-152]
	push	ebx
	push	esi
	push	dword [ebp-180]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [ebp-152]
	push	edi
	push	esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
_204:
	add	dword [ebp-196],1
_6362:
	mov	eax,dword [ebp-224]
	cmp	dword [ebp-196],eax
	jle	_206
_205:
	jmp	_6377
_6360:
	mov	dword [ebp-204],1
	mov	eax,dword [ebp+8]
	shl	eax,1
	mov	dword [ebp-216],eax
	jmp	_6379
_209:
	mov	eax,dword [ebp-152]
	push	0
	push	0
	fld	dword [ebp-208]
	fld	dword [ebp-228]
	fdiv	dword [_11378]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [ebp-220]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-176],eax
	mov	eax,dword [ebp-152]
	push	0
	push	1065353216
	fld	dword [ebp-208]
	fld	dword [ebp-228]
	fdiv	dword [_11379]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	0
	fld	dword [ebp-220]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-168],eax
	fld	dword [ebp-188]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-156]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	qword [ebp-124]
	fld	dword [ebp-188]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-124]
	fmulp	st1,st0
	fstp	qword [ebp-124]
	fld	qword [ebp-124]
	fstp	dword [ebp-108]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	qword [ebp-148]
	fld	dword [ebp-188]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-148]
	fmulp	st1,st0
	fstp	qword [ebp-148]
	fld	qword [ebp-148]
	fstp	dword [ebp-104]
	mov	eax,dword [ebp-152]
	push	0
	push	dword [ebp-192]
	push	dword [ebp-208]
	push	dword [ebp-104]
	push	dword [ebp-156]
	push	dword [ebp-108]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-160],eax
	mov	eax,dword [ebp-152]
	push	0
	fld	dword [_11380]
	fsub	dword [ebp-192]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-208]
	push	dword [ebp-104]
	fld	dword [ebp-156]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-108]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edi,eax
	fld	dword [ebp-200]
	fadd	dword [ebp-188]
	fstp	dword [ebp-200]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	qword [ebp-132]
	fld	dword [ebp-188]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-132]
	fmulp	st1,st0
	fstp	qword [ebp-132]
	fld	qword [ebp-132]
	fstp	dword [ebp-108]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	qword [ebp-140]
	fld	dword [ebp-188]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-140]
	fmulp	st1,st0
	fstp	qword [ebp-140]
	fld	qword [ebp-140]
	fstp	dword [ebp-104]
	fld	dword [ebp-208]
	fsub	dword [ebp-228]
	fstp	dword [ebp-208]
	mov	eax,dword [ebp-152]
	push	0
	push	dword [ebp-192]
	push	dword [ebp-208]
	push	dword [ebp-104]
	push	dword [ebp-156]
	push	dword [ebp-108]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	esi,eax
	mov	eax,dword [ebp-152]
	push	0
	fld	dword [_11381]
	fsub	dword [ebp-192]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-208]
	push	dword [ebp-104]
	fld	dword [ebp-156]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-108]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	ebx,eax
	mov	eax,dword [ebp-152]
	push	esi
	push	dword [ebp-160]
	push	dword [ebp-176]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [ebp-152]
	push	dword [ebp-168]
	push	edi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
_207:
	add	dword [ebp-204],1
_6379:
	mov	eax,dword [ebp-216]
	cmp	dword [ebp-204],eax
	jle	_209
_208:
	fld	dword [_11382]
	fstp	dword [ebp-208]
	fld	dword [_11383]
	fstp	dword [ebp-200]
	mov	dword [ebp-212],1
	mov	eax,dword [ebp+8]
	shl	eax,1
	mov	dword [ebp-232],eax
	jmp	_6399
_212:
	fld	dword [_11384]
	fstp	dword [ebp-96]
	fld	dword [ebp-188]
	fmul	dword [ebp-96]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-164]
	fld	dword [ebp-188]
	fld	dword [ebp-96]
	fadd	dword [_11385]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-172]
	fld	dword [ebp-192]
	fstp	dword [ebp-100]
	mov	dword [ebp-112],1
	mov	eax,dword [ebp+8]
	sub	eax,2
	mov	dword [ebp-184],eax
	jmp	_6406
_215:
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	qword [ebp-68]
	fld	dword [ebp-188]
	fmul	dword [ebp-96]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-68]
	fmulp	st1,st0
	fstp	qword [ebp-68]
	fld	qword [ebp-68]
	fstp	dword [ebp-92]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	qword [ebp-60]
	fld	dword [ebp-188]
	fmul	dword [ebp-96]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-60]
	fmulp	st1,st0
	fstp	qword [ebp-60]
	fld	qword [ebp-60]
	fstp	dword [ebp-88]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	qword [ebp-44]
	fld	dword [ebp-188]
	fld	dword [ebp-96]
	fadd	dword [_11386]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-44]
	fmulp	st1,st0
	fstp	qword [ebp-44]
	fld	qword [ebp-44]
	fstp	dword [ebp-84]
	fld	dword [ebp-200]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	qword [ebp-28]
	fld	dword [ebp-188]
	fld	dword [ebp-96]
	fadd	dword [_11387]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-28]
	fmulp	st1,st0
	fstp	qword [ebp-28]
	fld	qword [ebp-28]
	fstp	dword [ebp-72]
	mov	eax,dword [ebp-152]
	push	0
	push	dword [ebp-100]
	push	dword [ebp-208]
	push	dword [ebp-88]
	push	dword [ebp-164]
	push	dword [ebp-92]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edi,eax
	mov	eax,dword [ebp-152]
	push	0
	fld	dword [ebp-100]
	fadd	dword [ebp-192]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-208]
	push	dword [ebp-72]
	push	dword [ebp-172]
	push	dword [ebp-84]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	esi,eax
	mov	eax,dword [ebp-152]
	push	1
	push	0
	push	dword [ebp-100]
	push	dword [ebp-208]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,dword [ebp-152]
	push	1
	push	0
	fld	dword [ebp-100]
	fadd	dword [ebp-192]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-208]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	fld	dword [ebp-200]
	fadd	dword [ebp-188]
	fstp	dword [ebp-76]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	qword [ebp-52]
	fld	dword [ebp-188]
	fmul	dword [ebp-96]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-52]
	fmulp	st1,st0
	fstp	qword [ebp-52]
	fld	qword [ebp-52]
	fstp	dword [ebp-92]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	qword [ebp-36]
	fld	dword [ebp-188]
	fmul	dword [ebp-96]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-36]
	fmulp	st1,st0
	fstp	qword [ebp-36]
	fld	qword [ebp-36]
	fstp	dword [ebp-88]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	qword [ebp-20]
	fld	dword [ebp-188]
	fld	dword [ebp-96]
	fadd	dword [_11388]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-20]
	fmulp	st1,st0
	fstp	qword [ebp-20]
	fld	qword [ebp-20]
	fstp	dword [ebp-84]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	qword [ebp-12]
	fld	dword [ebp-188]
	fld	dword [ebp-96]
	fadd	dword [_11389]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-12]
	fmulp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	fstp	dword [ebp-72]
	fld	dword [ebp-208]
	fsub	dword [ebp-228]
	fstp	dword [ebp-4]
	mov	eax,dword [ebp-152]
	push	0
	push	dword [ebp-100]
	push	dword [ebp-4]
	push	dword [ebp-88]
	push	dword [ebp-164]
	push	dword [ebp-92]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	ebx,eax
	mov	eax,dword [ebp-152]
	push	0
	fld	dword [ebp-100]
	fadd	dword [ebp-192]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	dword [ebp-72]
	push	dword [ebp-172]
	push	dword [ebp-84]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-80],eax
	mov	eax,dword [ebp-152]
	push	1
	push	0
	push	dword [ebp-100]
	push	dword [ebp-4]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,dword [ebp-152]
	push	1
	push	0
	fld	dword [ebp-100]
	fadd	dword [ebp-192]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	dword [ebp-80]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,dword [ebp-152]
	push	esi
	push	edi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [ebp-152]
	push	esi
	push	ebx
	push	dword [ebp-80]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	fld	dword [ebp-100]
	fadd	dword [ebp-192]
	fstp	dword [ebp-100]
	fld	dword [ebp-96]
	fadd	dword [_11390]
	fstp	dword [ebp-96]
	fld	dword [ebp-188]
	fmul	dword [ebp-96]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-164]
	fld	dword [ebp-188]
	fld	dword [ebp-96]
	fadd	dword [_11391]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-172]
_213:
	add	dword [ebp-112],1
_6406:
	mov	eax,dword [ebp-184]
	cmp	dword [ebp-112],eax
	jle	_215
_214:
	fld	dword [ebp-208]
	fsub	dword [ebp-228]
	fstp	dword [ebp-208]
	fld	dword [ebp-200]
	fadd	dword [ebp-188]
	fstp	dword [ebp-200]
_210:
	add	dword [ebp-212],1
_6399:
	mov	eax,dword [ebp-232]
	cmp	dword [ebp-212],eax
	jle	_212
_211:
_6377:
	mov	eax,dword [ebp-236]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+556]
	add	esp,4
	mov	eax,dword [ebp-236]
	jmp	_2485
_2485:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CreateCylinder:
	push	ebp
	mov	ebp,esp
	sub	esp,120
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	dword [ebp-104],0
	mov	eax,dword [ebp+8]
	cmp	eax,3
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6440
	mov	eax,dword [ebp+8]
	cmp	eax,100
	setg	al
	movzx	eax,al
_6440:
	cmp	eax,0
	je	_6442
	mov	eax,_bbNullObject
	jmp	_2490
_6442:
	mov	eax,dword [ebp-104]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6443
	mov	eax,dword [ebp-104]
	cmp	eax,100
	setg	al
	movzx	eax,al
_6443:
	cmp	eax,0
	je	_6445
	mov	eax,_bbNullObject
	jmp	_2490
_6445:
	push	edx
	call	dword [_sidesign_minib3d_TMesh+496]
	add	esp,4
	mov	dword [ebp-116],eax
	mov	eax,dword [ebp-116]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	dword [ebp-44],eax
	mov	edi,_bbNullObject
	cmp	ebx,1
	jne	_6450
	mov	eax,dword [ebp-116]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	edi,eax
_6450:
	fld	dword [_11399]
	mov	eax,dword [ebp+8]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fdivp	st1,st0
	fstp	dword [ebp-52]
	fld	dword [_11400]
	fstp	dword [ebp-56]
	fld	dword [ebp-56]
	fmul	dword [_11401]
	mov	eax,dword [ebp-104]
	add	eax,1
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fdivp	st1,st0
	fstp	dword [ebp-112]
	fld	dword [_11402]
	fstp	dword [ebp-100]
	fld	dword [_11403]
	mov	eax,dword [ebp+8]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fdivp	st1,st0
	fstp	dword [ebp-60]
	fld	dword [_11405]
	mov	eax,dword [ebp-104]
	add	eax,1
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fdivp	st1,st0
	fstp	dword [ebp-108]
	fld	dword [_11406]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp+8]
	add	eax,1
	push	eax
	push	_6460
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp+8]
	add	eax,1
	push	eax
	push	_6462
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-40],eax
	cmp	ebx,1
	jne	_6464
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-16]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-12]
	mov	eax,edi
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11407]
	fadd	dword [_11408]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11409]
	fadd	dword [_11410]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	dword [ebp-56]
	push	dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-92],eax
	mov	eax,edi
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11411]
	fadd	dword [_11412]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11413]
	fadd	dword [_11414]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	fld	dword [ebp-56]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-88],eax
	mov	eax,edi
	push	1
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11415]
	fadd	dword [_11416]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11417]
	fadd	dword [_11418]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-92]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,edi
	push	1
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11419]
	fadd	dword [_11420]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11421]
	fadd	dword [_11422]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-88]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	fld	dword [ebp-28]
	fadd	dword [ebp-52]
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-16]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-12]
	mov	eax,edi
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11423]
	fadd	dword [_11424]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11425]
	fadd	dword [_11426]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	dword [ebp-56]
	push	dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-72],eax
	mov	eax,edi
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11427]
	fadd	dword [_11428]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11429]
	fadd	dword [_11430]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	fld	dword [ebp-56]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-68],eax
	mov	eax,edi
	push	1
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11431]
	fadd	dword [_11432]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11433]
	fadd	dword [_11434]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-72]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,edi
	push	1
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11435]
	fadd	dword [_11436]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11437]
	fadd	dword [_11438]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-68]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	dword [ebp-48],1
	mov	eax,dword [ebp+8]
	sub	eax,2
	mov	dword [ebp-76],eax
	jmp	_6476
_218:
	fld	dword [ebp-28]
	fadd	dword [ebp-52]
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-16]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-12]
	mov	eax,edi
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11439]
	fadd	dword [_11440]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11441]
	fadd	dword [_11442]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	dword [ebp-56]
	push	dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	esi,eax
	mov	eax,edi
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11443]
	fadd	dword [_11444]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11445]
	fadd	dword [_11446]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	fld	dword [ebp-56]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	ebx,eax
	mov	eax,edi
	push	1
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11447]
	fadd	dword [_11448]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11449]
	fadd	dword [_11450]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,edi
	push	1
	push	0
	fld	dword [ebp-12]
	fdiv	dword [_11451]
	fadd	dword [_11452]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fdiv	dword [_11453]
	fadd	dword [_11454]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,edi
	push	esi
	push	dword [ebp-72]
	push	dword [ebp-92]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,edi
	push	dword [ebp-88]
	push	dword [ebp-68]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [ebp+8]
	sub	eax,2
	cmp	dword [ebp-48],eax
	jge	_6484
	mov	dword [ebp-72],esi
	mov	dword [ebp-68],ebx
_6484:
_216:
	add	dword [ebp-48],1
_6476:
	mov	eax,dword [ebp-76]
	cmp	dword [ebp-48],eax
	jle	_218
_217:
_6464:
	fld	dword [ebp-56]
	fstp	dword [ebp-84]
	fld	dword [_11455]
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-4]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-100]
	fstp	dword [ebp-20]
	fld	dword [_11456]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-44]
	push	0
	push	dword [ebp-36]
	push	dword [ebp-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-84]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edx,dword [ebp-64]
	mov	dword [edx+24],eax
	mov	edx,dword [ebp-44]
	push	1
	push	0
	push	dword [ebp-36]
	push	dword [ebp-20]
	mov	eax,dword [ebp-64]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+88]
	add	esp,24
	mov	esi,0
	mov	eax,dword [ebp+8]
	sub	eax,1
	mov	edi,eax
	jmp	_6493
_221:
	fld	dword [ebp-28]
	fadd	dword [ebp-52]
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-4]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-20]
	fsub	dword [ebp-60]
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-44]
	mov	ebx,esi
	add	ebx,1
	push	0
	push	dword [ebp-36]
	push	dword [ebp-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-84]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edx,dword [ebp-64]
	mov	dword [edx+ebx*4+24],eax
	mov	ecx,dword [ebp-44]
	push	1
	push	0
	push	dword [ebp-36]
	push	dword [ebp-20]
	mov	edx,esi
	add	edx,1
	mov	eax,dword [ebp-64]
	push	dword [eax+edx*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+88]
	add	esp,24
_219:
	add	esi,1
_6493:
	cmp	esi,edi
	jle	_221
_220:
	mov	dword [ebp-80],0
	mov	eax,dword [ebp-104]
	mov	dword [ebp-96],eax
	jmp	_6498
_224:
	fld	dword [ebp-84]
	fsub	dword [ebp-112]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
	fld	dword [_11457]
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-4]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-100]
	fstp	dword [ebp-20]
	fld	dword [ebp-36]
	fadd	dword [ebp-108]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-44]
	push	0
	push	dword [ebp-36]
	push	dword [ebp-20]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-120],edi
	fild	dword [ebp+-120]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edx,dword [ebp-40]
	mov	dword [edx+24],eax
	mov	edx,dword [ebp-44]
	push	1
	push	0
	push	dword [ebp-36]
	push	dword [ebp-20]
	mov	eax,dword [ebp-40]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+88]
	add	esp,24
	mov	esi,0
	mov	eax,dword [ebp+8]
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_6504
_227:
	fld	dword [ebp-28]
	fadd	dword [ebp-52]
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-4]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-20]
	fsub	dword [ebp-60]
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-44]
	mov	ebx,esi
	add	ebx,1
	push	0
	push	dword [ebp-36]
	push	dword [ebp-20]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-120],edi
	fild	dword [ebp+-120]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edx,dword [ebp-40]
	mov	dword [edx+ebx*4+24],eax
	mov	ecx,dword [ebp-44]
	push	1
	push	0
	push	dword [ebp-36]
	push	dword [ebp-20]
	mov	edx,esi
	add	edx,1
	mov	eax,dword [ebp-40]
	push	dword [eax+edx*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+88]
	add	esp,24
_225:
	add	esi,1
_6504:
	cmp	esi,dword [ebp-24]
	jle	_227
_226:
	mov	dword [ebp-8],1
	mov	eax,dword [ebp+8]
	mov	dword [ebp-32],eax
	jmp	_6509
_230:
	mov	edx,dword [ebp-8]
	mov	eax,dword [ebp-64]
	mov	esi,dword [eax+edx*4+24]
	mov	edx,dword [ebp-8]
	sub	edx,1
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+edx*4+24]
	mov	ecx,dword [ebp-8]
	mov	edx,dword [ebp-40]
	mov	edi,dword [edx+ecx*4+24]
	mov	ecx,dword [ebp-8]
	sub	ecx,1
	mov	edx,dword [ebp-40]
	mov	ebx,dword [edx+ecx*4+24]
	mov	edx,dword [ebp-44]
	push	ebx
	push	eax
	push	esi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [ebp-44]
	push	ebx
	push	esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
_228:
	add	dword [ebp-8],1
_6509:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-8],eax
	jle	_230
_229:
	mov	ebx,0
	mov	ecx,dword [ebp+8]
	jmp	_6514
_233:
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-64]
	mov	dword [eax+ebx*4+24],edx
_231:
	add	ebx,1
_6514:
	cmp	ebx,ecx
	jle	_233
_232:
_222:
	add	dword [ebp-80],1
_6498:
	mov	eax,dword [ebp-96]
	cmp	dword [ebp-80],eax
	jle	_224
_223:
	mov	eax,dword [ebp-116]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+556]
	add	esp,4
	mov	eax,dword [ebp-116]
	jmp	_2490
_2490:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CreateCone:
	push	ebp
	mov	ebp,esp
	sub	esp,64
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+16]
	mov	dword [ebp-56],0
	mov	dword [ebp-48],0
	mov	dword [ebp-40],0
	mov	eax,dword [ebp+8]
	cmp	eax,3
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6523
	mov	eax,dword [ebp+8]
	cmp	eax,100
	setg	al
	movzx	eax,al
_6523:
	cmp	eax,0
	je	_6525
	mov	eax,_bbNullObject
	jmp	_2495
_6525:
	push	edx
	call	dword [_sidesign_minib3d_TMesh+496]
	add	esp,4
	mov	dword [ebp-60],eax
	mov	eax,dword [ebp-60]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	dword [ebp-12],eax
	mov	dword [ebp-36],_bbNullObject
	cmp	dword [ebp+12],1
	jne	_6530
	mov	eax,dword [ebp-60]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	dword [ebp-36],eax
_6530:
	fld	dword [_11468]
	mov	eax,dword [ebp+8]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fdivp	st1,st0
	fstp	dword [ebp-52]
	fld	dword [_11469]
	fstp	dword [ebp-32]
	fld	dword [_11470]
	fstp	dword [ebp-16]
	fld	dword [_11471]
	mov	eax,dword [ebp+8]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fdivp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [_11472]
	fstp	dword [ebp-24]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-8]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-4]
	mov	eax,dword [ebp-12]
	push	0
	push	0
	fld	dword [ebp-16]
	fld	dword [ebp-20]
	fdiv	dword [_11473]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [ebp-32]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	esi,eax
	mov	eax,dword [ebp-12]
	push	0
	push	1065353216
	push	dword [ebp-16]
	push	dword [ebp-4]
	fld	dword [ebp-32]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp-12]
	push	1
	push	0
	push	0
	fld	dword [ebp-16]
	fld	dword [ebp-20]
	fdiv	dword [_11474]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,dword [ebp-12]
	push	1
	push	0
	push	1065353216
	push	dword [ebp-16]
	push	dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	cmp	dword [ebp+12],1
	jne	_6543
	mov	eax,dword [ebp-36]
	push	0
	fld	dword [ebp-4]
	fdiv	dword [_11475]
	fadd	dword [_11476]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fdiv	dword [_11477]
	fadd	dword [_11478]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	fld	dword [ebp-32]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-56],eax
_6543:
	cmp	dword [ebp+12],1
	jne	_6545
	mov	eax,dword [ebp-36]
	push	1
	push	0
	fld	dword [ebp-4]
	fdiv	dword [_11479]
	fadd	dword [_11480]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fdiv	dword [_11481]
	fadd	dword [_11482]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-56]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
_6545:
	fld	dword [ebp-24]
	fadd	dword [ebp-52]
	fstp	dword [ebp-24]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-8]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-4]
	mov	eax,dword [ebp-12]
	push	0
	push	1065353216
	fld	dword [ebp-16]
	fsub	dword [ebp-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	fld	dword [ebp-32]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edi,eax
	mov	eax,dword [ebp-12]
	push	1
	push	0
	push	1065353216
	fld	dword [ebp-16]
	fsub	dword [ebp-20]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	cmp	dword [ebp+12],1
	jne	_6549
	mov	eax,dword [ebp-36]
	push	0
	fld	dword [ebp-4]
	fdiv	dword [_11483]
	fadd	dword [_11484]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fdiv	dword [_11485]
	fadd	dword [_11486]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	fld	dword [ebp-32]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-48],eax
_6549:
	cmp	dword [ebp+12],1
	jne	_6551
	mov	eax,dword [ebp-36]
	push	1
	push	0
	fld	dword [ebp-4]
	fdiv	dword [_11487]
	fadd	dword [_11488]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fdiv	dword [_11489]
	fadd	dword [_11490]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
_6551:
	mov	eax,dword [ebp-12]
	push	dword [ebp-28]
	push	esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	ebx,1
	mov	eax,dword [ebp+8]
	sub	eax,1
	mov	dword [ebp-44],eax
	jmp	_6555
_236:
	mov	dword [ebp-28],edi
	fld	dword [ebp-16]
	fsub	dword [ebp-20]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-12]
	push	0
	push	0
	fld	dword [ebp-16]
	fld	dword [ebp-20]
	fdiv	dword [_11491]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [ebp-32]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	esi,eax
	mov	eax,dword [ebp-12]
	push	1
	push	0
	push	0
	fld	dword [ebp-16]
	fld	dword [ebp-20]
	fdiv	dword [_11492]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	fld	dword [ebp-24]
	fadd	dword [ebp-52]
	fstp	dword [ebp-24]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fchs
	fstp	dword [ebp-8]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-4]
	mov	eax,dword [ebp-12]
	push	0
	push	1065353216
	fld	dword [ebp-16]
	fsub	dword [ebp-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	fld	dword [ebp-32]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	edi,eax
	mov	eax,dword [ebp-12]
	push	1
	push	0
	push	1065353216
	fld	dword [ebp-16]
	fsub	dword [ebp-20]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	cmp	dword [ebp+12],1
	jne	_6561
	mov	eax,dword [ebp-36]
	push	0
	fld	dword [ebp-4]
	fdiv	dword [_11493]
	fadd	dword [_11494]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fdiv	dword [_11495]
	fadd	dword [_11496]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	fld	dword [ebp-32]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-40],eax
_6561:
	cmp	dword [ebp+12],1
	jne	_6563
	mov	eax,dword [ebp-36]
	push	1
	push	0
	fld	dword [ebp-4]
	fdiv	dword [_11497]
	fadd	dword [_11498]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fdiv	dword [_11499]
	fadd	dword [_11500]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-40]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
_6563:
	mov	eax,dword [ebp-12]
	push	dword [ebp-28]
	push	esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	cmp	dword [ebp+12],1
	jne	_6566
	mov	eax,dword [ebp-36]
	push	dword [ebp-56]
	push	dword [ebp-48]
	push	dword [ebp-40]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [ebp+8]
	sub	eax,1
	cmp	ebx,eax
	jge	_6568
	mov	eax,dword [ebp-40]
	mov	dword [ebp-48],eax
_6568:
_6566:
_234:
	add	ebx,1
_6555:
	cmp	ebx,dword [ebp-44]
	jle	_236
_235:
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+556]
	add	esp,4
	mov	eax,dword [ebp-60]
	jmp	_2495
_2495:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CopyMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_sidesign_minib3d_TMesh+496]
	add	esp,4
	mov	esi,eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+528]
	add	esp,8
	mov	eax,esi
	jmp	_2499
_2499:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_AddMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,168
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [ebp-164],eax
	mov	dword [ebp-160],1
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [ebp-168],eax
	jmp	_6576
_239:
	mov	eax,dword [ebp+8]
	push	dword [ebp-160]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	dword [ebp-128],eax
	mov	eax,dword [ebp-128]
	mov	eax,dword [eax+72]
	mov	dword [ebp-156],eax
	cmp	dword [ebp-156],_bbNullObject
	jne	_6581
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	dword [ebp-156],eax
_6581:
	mov	edi,1
	mov	esi,1
	mov	ebx,dword [ebp-164]
	jmp	_6584
_242:
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp-76]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-148],eax
	mov	eax,dword [ebp-76]
	push	dword [eax+72]
	push	dword [ebp-156]
	call	dword [_sidesign_minib3d_TBrush+100]
	add	esp,8
	cmp	eax,1
	jne	_6590
	mov	esi,0
	mov	eax,dword [ebp-128]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	eax,1
	mov	edi,eax
	jmp	_6593
_245:
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-124]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-116]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	fstp	dword [ebp-108]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	fstp	dword [ebp-100]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,8
	fstp	dword [ebp-92]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	fstp	dword [ebp-84]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,8
	fstp	dword [ebp-132]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	fstp	dword [ebp-72]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	fstp	dword [ebp-64]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
	fstp	dword [ebp-56]
	mov	eax,dword [ebp-128]
	push	0
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,12
	fstp	dword [ebp-48]
	mov	eax,dword [ebp-128]
	push	0
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	fstp	dword [ebp-40]
	mov	eax,dword [ebp-128]
	push	0
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,12
	fstp	dword [ebp-32]
	mov	eax,dword [ebp-128]
	push	1
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,12
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-128]
	push	1
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-128]
	push	1
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,12
	fstp	dword [ebp-8]
	mov	eax,dword [ebp-76]
	push	0
	push	0
	push	0
	push	dword [ebp-108]
	push	dword [ebp-116]
	push	dword [ebp-124]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	ebx,eax
	mov	eax,dword [ebp-76]
	push	dword [ebp-132]
	push	dword [ebp-84]
	push	dword [ebp-92]
	push	dword [ebp-100]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,24
	mov	eax,dword [ebp-76]
	push	dword [ebp-56]
	push	dword [ebp-64]
	push	dword [ebp-72]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,20
	mov	eax,dword [ebp-76]
	push	0
	push	dword [ebp-32]
	push	dword [ebp-40]
	push	dword [ebp-48]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,dword [ebp-76]
	push	1
	push	dword [ebp-8]
	push	dword [ebp-16]
	push	dword [ebp-24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
_243:
	add	esi,1
_6593:
	cmp	esi,edi
	jle	_245
_244:
	mov	edi,0
	mov	eax,dword [ebp-128]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	sub	eax,1
	mov	dword [ebp-152],eax
	jmp	_6635
_248:
	mov	eax,dword [ebp-128]
	push	0
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	add	eax,dword [ebp-148]
	mov	esi,eax
	mov	eax,dword [ebp-128]
	push	1
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	add	eax,dword [ebp-148]
	mov	ebx,eax
	mov	eax,dword [ebp-128]
	push	2
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	add	eax,dword [ebp-148]
	mov	edx,dword [ebp-76]
	push	eax
	push	ebx
	push	esi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,16
_246:
	add	edi,1
_6635:
	cmp	edi,dword [ebp-152]
	jle	_248
_247:
	mov	eax,dword [ebp-76]
	mov	dword [eax+96],-1
	mov	edi,0
	jmp	_241
_6590:
_240:
	add	esi,1
_6584:
	cmp	esi,ebx
	jle	_242
_241:
	cmp	edi,1
	jne	_6644
	mov	eax,dword [ebp+12]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	dword [ebp-140],eax
	mov	esi,0
	mov	eax,dword [ebp-128]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	eax,1
	mov	edi,eax
	jmp	_6649
_251:
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-120]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-112]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	fstp	dword [ebp-104]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	fstp	dword [ebp-96]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,8
	fstp	dword [ebp-88]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	fstp	dword [ebp-80]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,8
	fstp	dword [ebp-136]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	fstp	dword [ebp-68]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	fstp	dword [ebp-60]
	mov	eax,dword [ebp-128]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
	fstp	dword [ebp-52]
	mov	eax,dword [ebp-128]
	push	0
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,12
	fstp	dword [ebp-44]
	mov	eax,dword [ebp-128]
	push	0
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-128]
	push	0
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,12
	fstp	dword [ebp-28]
	mov	eax,dword [ebp-128]
	push	1
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,12
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-128]
	push	1
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	fstp	dword [ebp-12]
	mov	eax,dword [ebp-128]
	push	1
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,12
	fstp	dword [ebp-4]
	mov	eax,dword [ebp-140]
	push	0
	push	0
	push	0
	push	dword [ebp-104]
	push	dword [ebp-112]
	push	dword [ebp-120]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	ebx,eax
	mov	eax,dword [ebp-140]
	push	dword [ebp-136]
	push	dword [ebp-80]
	push	dword [ebp-88]
	push	dword [ebp-96]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,24
	mov	eax,dword [ebp-140]
	push	dword [ebp-52]
	push	dword [ebp-60]
	push	dword [ebp-68]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,20
	mov	eax,dword [ebp-140]
	push	0
	push	dword [ebp-28]
	push	dword [ebp-36]
	push	dword [ebp-44]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,dword [ebp-140]
	push	1
	push	dword [ebp-4]
	push	dword [ebp-12]
	push	dword [ebp-20]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
_249:
	add	esi,1
_6649:
	cmp	esi,edi
	jle	_251
_250:
	mov	edi,0
	mov	eax,dword [ebp-128]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	sub	eax,1
	mov	dword [ebp-144],eax
	jmp	_6691
_254:
	mov	eax,dword [ebp-128]
	push	0
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	esi,eax
	mov	eax,dword [ebp-128]
	push	1
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	ebx,eax
	mov	eax,dword [ebp-128]
	push	2
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	edx,dword [ebp-140]
	push	eax
	push	ebx
	push	esi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,16
_252:
	add	edi,1
_6691:
	cmp	edi,dword [ebp-144]
	jle	_254
_253:
	cmp	dword [ebp-156],_bbNullObject
	je	_6700
	mov	eax,dword [ebp-156]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-140]
	mov	eax,dword [eax+72]
	dec	dword [eax+4]
	jnz	_6705
	push	eax
	call	_bbGCFree
	add	esp,4
_6705:
	mov	eax,dword [ebp-140]
	mov	dword [eax+72],ebx
_6700:
	mov	eax,dword [ebp-140]
	mov	dword [eax+96],-1
_6644:
_237:
	add	dword [ebp-160],1
_6576:
	mov	eax,dword [ebp-168]
	cmp	dword [ebp-160],eax
	jle	_239
_238:
	mov	eax,dword [ebp+12]
	mov	dword [eax+316],1
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+312]
	mov	dword [eax+12],1
	mov	eax,0
	jmp	_2503
_2503:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_FlipMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+292]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-16],eax
	jmp	_255
_257:
	mov	eax,dword [ebp-16]
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-4],eax
	cmp	dword [ebp-4],_bbNullObject
	je	_255
	mov	edi,1
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+12]
	mov	dword [ebp-8],eax
	jmp	_6713
_260:
	mov	eax,edi
	imul	eax,3
	sub	eax,3
	mov	esi,eax
	mov	eax,edi
	imul	eax,3
	sub	eax,1
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	movzx	eax,word [eax+esi*2+24]
	mov	eax,eax
	mov	ecx,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	movzx	eax,word [eax+ebx*2+24]
	mov	eax,eax
	mov	edx,dword [ebp-4]
	mov	edx,dword [edx+16]
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [edx+esi*2+24],ax
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+16]
	mov	eax,ecx
	and	eax,0xffff
	mov	eax,eax
	mov	word [edx+ebx*2+24],ax
_258:
	add	edi,1
_6713:
	cmp	edi,dword [ebp-8]
	jle	_260
_259:
	mov	eax,0
	mov	edx,dword [ebp-4]
	mov	edx,dword [edx+8]
	sub	edx,1
	mov	edi,edx
	jmp	_6722
_263:
	mov	edx,dword [ebp-4]
	mov	esi,dword [edx+32]
	mov	ebx,eax
	imul	ebx,3
	mov	edx,dword [ebp-4]
	mov	ecx,dword [edx+32]
	mov	edx,eax
	imul	edx,3
	fld	dword [ecx+edx*4+24]
	fmul	dword [_11524]
	fstp	dword [esi+ebx*4+24]
	mov	edx,dword [ebp-4]
	mov	ebx,dword [edx+32]
	mov	edx,eax
	imul	edx,3
	mov	ecx,edx
	add	ecx,1
	mov	edx,dword [ebp-4]
	mov	edx,dword [edx+32]
	mov	esi,eax
	imul	esi,3
	add	esi,1
	fld	dword [edx+esi*4+24]
	fmul	dword [_11525]
	fstp	dword [ebx+ecx*4+24]
	mov	edx,dword [ebp-4]
	mov	ebx,dword [edx+32]
	mov	edx,eax
	imul	edx,3
	mov	ecx,edx
	add	ecx,2
	mov	edx,dword [ebp-4]
	mov	edx,dword [edx+32]
	mov	esi,eax
	imul	esi,3
	add	esi,2
	fld	dword [edx+esi*4+24]
	fmul	dword [_11526]
	fstp	dword [ebx+ecx*4+24]
_261:
	add	eax,1
_6722:
	cmp	eax,edi
	jle	_263
_262:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+96]
	or	eax,20
	mov	dword [edx+96],eax
_255:
	mov	eax,dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_257
_256:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	mov	dword [eax+12],1
	mov	eax,0
	jmp	_2506
_2506:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_PaintMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+292]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_264
_266:
	mov	eax,dword [ebp-8]
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	cmp	edi,_bbNullObject
	je	_264
	cmp	dword [edi+72],_bbNullObject
	jne	_6730
	push	_sidesign_minib3d_TBrush
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+72]
	dec	dword [eax+4]
	jnz	_6734
	push	eax
	call	_bbGCFree
	add	esp,4
_6734:
	mov	dword [edi+72],ebx
_6730:
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+8]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp+12]
	mov	ebx,dword [eax+12]
	inc	dword [ebx+4]
	mov	eax,dword [edi+72]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_6738
	push	eax
	call	_bbGCFree
	add	esp,4
_6738:
	mov	eax,dword [edi+72]
	mov	dword [eax+12],ebx
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+20]
	fstp	dword [edx+20]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+24]
	fstp	dword [edx+24]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+28]
	fstp	dword [edx+28]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+32]
	fstp	dword [edx+32]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+36]
	mov	dword [edx+36],eax
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+40]
	mov	dword [edx+40],eax
	mov	esi,0
	jmp	_6740
_269:
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+esi*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_6744
	push	eax
	call	_bbGCFree
	add	esp,4
_6744:
	mov	eax,dword [edi+72]
	mov	eax,dword [eax+48]
	mov	dword [eax+esi*4+24],ebx
_267:
	add	esi,1
_6740:
	cmp	esi,7
	jle	_269
_268:
_264:
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_266
_265:
	mov	eax,0
	jmp	_2510
_2510:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_FitMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,112
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+36]
	cmp	eax,1
	jne	_6745
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+564]
	add	esp,4
	fdiv	dword [ebp+24]
	fstp	dword [ebp-68]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+568]
	add	esp,4
	fdiv	dword [ebp+28]
	fstp	dword [ebp-84]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+572]
	add	esp,4
	fdiv	dword [ebp+32]
	fstp	dword [ebp-76]
	fld	dword [ebp-68]
	fld	dword [ebp-84]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_6752
	fld	dword [ebp-68]
	fld	dword [ebp-76]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_6752:
	cmp	eax,0
	je	_6754
	mov	eax,dword [ebp+8]
	fld	dword [ebp+28]
	fstp	dword [ebp-40]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+568]
	add	esp,4
	fdiv	dword [ebp-68]
	fld	dword [ebp-40]
	fsubrp	st1,st0
	fstp	dword [ebp-40]
	fld	dword [ebp-40]
	fdiv	dword [_11534]
	fld	dword [ebp+16]
	faddp	st1,st0
	fstp	dword [ebp+16]
	mov	eax,dword [ebp+8]
	fld	dword [ebp+32]
	fstp	dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+572]
	add	esp,4
	fdiv	dword [ebp-68]
	fld	dword [ebp-28]
	fsubrp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	fdiv	dword [_11535]
	fld	dword [ebp+20]
	faddp	st1,st0
	fstp	dword [ebp+20]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+568]
	add	esp,4
	fdiv	dword [ebp-68]
	fstp	dword [ebp+28]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+572]
	add	esp,4
	fdiv	dword [ebp-68]
	fstp	dword [ebp+32]
	jmp	_6759
_6754:
	fld	dword [ebp-76]
	fld	dword [ebp-84]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_6760
	mov	eax,dword [ebp+8]
	fld	dword [ebp+24]
	fstp	dword [ebp-44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+564]
	add	esp,4
	fdiv	dword [ebp-84]
	fld	dword [ebp-44]
	fsubrp	st1,st0
	fstp	dword [ebp-44]
	fld	dword [ebp-44]
	fdiv	dword [_11536]
	fld	dword [ebp+12]
	faddp	st1,st0
	fstp	dword [ebp+12]
	mov	eax,dword [ebp+8]
	fld	dword [ebp+32]
	fstp	dword [ebp-32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+572]
	add	esp,4
	fdiv	dword [ebp-84]
	fld	dword [ebp-32]
	fsubrp	st1,st0
	fstp	dword [ebp-32]
	fld	dword [ebp-32]
	fdiv	dword [_11537]
	fld	dword [ebp+20]
	faddp	st1,st0
	fstp	dword [ebp+20]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+564]
	add	esp,4
	fdiv	dword [ebp-84]
	fstp	dword [ebp+24]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+572]
	add	esp,4
	fdiv	dword [ebp-84]
	fstp	dword [ebp+32]
	jmp	_6765
_6760:
	mov	eax,dword [ebp+8]
	fld	dword [ebp+24]
	fstp	dword [ebp-48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+564]
	add	esp,4
	fdiv	dword [ebp-76]
	fld	dword [ebp-48]
	fsubrp	st1,st0
	fstp	dword [ebp-48]
	fld	dword [ebp-48]
	fdiv	dword [_11538]
	fld	dword [ebp+12]
	faddp	st1,st0
	fstp	dword [ebp+12]
	mov	eax,dword [ebp+8]
	fld	dword [ebp+28]
	fstp	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+568]
	add	esp,4
	fdiv	dword [ebp-76]
	fld	dword [ebp-36]
	fsubrp	st1,st0
	fstp	dword [ebp-36]
	fld	dword [ebp-36]
	fdiv	dword [_11539]
	fld	dword [ebp+16]
	faddp	st1,st0
	fstp	dword [ebp+16]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+564]
	add	esp,4
	fdiv	dword [ebp-76]
	fstp	dword [ebp+24]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+568]
	add	esp,4
	fdiv	dword [ebp-76]
	fstp	dword [ebp+28]
_6765:
_6759:
_6745:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+564]
	add	esp,4
	fdiv	dword [ebp+24]
	fstp	dword [ebp-104]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+568]
	add	esp,4
	fdiv	dword [ebp+28]
	fstp	dword [ebp-100]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+572]
	add	esp,4
	fdiv	dword [ebp+32]
	fstp	dword [ebp-108]
	fld	dword [_11540]
	fstp	dword [ebp-64]
	fld	dword [_11541]
	fstp	dword [ebp-56]
	fld	dword [_11542]
	fstp	dword [ebp-52]
	fld	dword [_11543]
	fstp	dword [ebp-92]
	fld	dword [_11544]
	fstp	dword [ebp-88]
	fld	dword [_11545]
	fstp	dword [ebp-80]
	mov	dword [ebp-60],1
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [ebp-96],eax
	jmp	_6784
_272:
	mov	eax,dword [ebp+8]
	push	dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	esi,eax
	mov	ebx,0
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	eax,1
	mov	edi,eax
	jmp	_6790
_275:
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-16]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-20]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebp-16]
	fld	dword [ebp-64]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6798
	fld	dword [ebp-16]
	fstp	dword [ebp-64]
_6798:
	fld	dword [ebp-20]
	fld	dword [ebp-56]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6799
	fld	dword [ebp-20]
	fstp	dword [ebp-56]
_6799:
	fld	dword [ebp-52]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6800
	fst	dword [ebp-52]
_6800:
	fld	dword [ebp-16]
	fld	dword [ebp-92]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_6801
	fld	dword [ebp-16]
	fstp	dword [ebp-92]
_6801:
	fld	dword [ebp-20]
	fld	dword [ebp-88]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_6802
	fld	dword [ebp-20]
	fstp	dword [ebp-88]
_6802:
	fld	dword [ebp-80]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_11576
	fstp	st0
	jmp	_6803
_11576:
	fstp	dword [ebp-80]
_6803:
_273:
	add	ebx,1
_6790:
	cmp	ebx,edi
	jle	_275
_274:
_270:
	add	dword [ebp-60],1
_6784:
	mov	eax,dword [ebp-96]
	cmp	dword [ebp-60],eax
	jle	_272
_271:
	mov	dword [ebp-72],1
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [ebp-112],eax
	jmp	_6806
_278:
	mov	eax,dword [ebp+8]
	push	dword [ebp-72]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	esi,eax
	mov	ebx,0
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	eax,1
	mov	edi,eax
	jmp	_6812
_281:
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-12]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-24]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebp-92]
	fsub	dword [ebp-64]
	fld	dword [ebp-88]
	fsub	dword [ebp-56]
	fld	dword [ebp-80]
	fsub	dword [ebp-52]
	fld	dword [_11549]
	fxch	st3
	fucom	st3
	fxch	st3
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_6826
	fld	dword [_11550]
	fxch	st3
	fucom	st3
	fxch	st3
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_6826:
	cmp	eax,0
	je	_6828
	fxch	st2
	fstp	st0
	fld	dword [_11551]
	jmp	_6829
_6828:
	fld	dword [ebp-12]
	fsub	dword [ebp-64]
	fdivrp	st3,st0
	fxch	st2
_6829:
	fld	dword [_11552]
	fxch	st2
	fucom	st2
	fxch	st2
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_6830
	fld	dword [_11553]
	fxch	st2
	fucom	st2
	fxch	st2
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_6830:
	cmp	eax,0
	je	_6832
	fxch	st1
	fstp	st0
	fld	dword [_11554]
	jmp	_6833
_6832:
	fld	dword [ebp-24]
	fsub	dword [ebp-56]
	fdivrp	st2,st0
	fxch	st1
_6833:
	fld	dword [_11555]
	fxch	st3
	fucom	st3
	fxch	st3
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_6834
	fld	dword [_11556]
	fxch	st3
	fucom	st3
	fxch	st3
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_6834:
	cmp	eax,0
	je	_6836
	fxch	st2
	fstp	st0
	fxch	st2
	fstp	st0
	fld	dword [_11557]
	jmp	_6837
_6836:
	fxch	st3
	fsub	dword [ebp-52]
	fdivrp	st2,st0
	fxch	st2
	fxch	st1
_6837:
	fld	dword [ebp+12]
	fxch	st3
	fmul	dword [ebp+24]
	faddp	st3,st0
	fxch	st2
	fstp	dword [ebp-12]
	fld	dword [ebp+16]
	fxch	st1
	fmul	dword [ebp+28]
	faddp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebp+20]
	fxch	st1
	fmul	dword [ebp+32]
	faddp	st1,st0
	mov	eax,esi
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-24]
	push	dword [ebp-12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,20
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	fstp	dword [ebp-8]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	fstp	dword [ebp-4]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
	fld	dword [ebp-8]
	fmul	dword [ebp-104]
	fstp	dword [ebp-8]
	fld	dword [ebp-4]
	fmul	dword [ebp-100]
	fstp	dword [ebp-4]
	fmul	dword [ebp-108]
	mov	eax,esi
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,20
_279:
	add	ebx,1
_6812:
	cmp	ebx,edi
	jle	_281
_280:
	or	dword [esi+96],5
_276:
	add	dword [ebp-72],1
_6806:
	mov	eax,dword [ebp-112]
	cmp	dword [ebp-72],eax
	jle	_278
_277:
	mov	eax,dword [ebp+8]
	mov	dword [eax+316],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	mov	dword [eax+12],1
	mov	eax,0
	jmp	_2520
_2520:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_ScaleMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-8],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+288]
	mov	dword [ebp-12],eax
	jmp	_6847
_284:
	mov	eax,dword [ebp+8]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	edi,eax
	mov	eax,0
	mov	edx,dword [edi+8]
	sub	edx,1
	mov	dword [ebp-4],edx
	jmp	_6852
_287:
	mov	esi,dword [edi+20]
	mov	ebx,eax
	imul	ebx,3
	mov	ecx,dword [edi+20]
	mov	edx,eax
	imul	edx,3
	fld	dword [ecx+edx*4+24]
	fmul	dword [ebp+12]
	fstp	dword [esi+ebx*4+24]
	mov	ebx,dword [edi+20]
	mov	edx,eax
	imul	edx,3
	mov	ecx,edx
	add	ecx,1
	mov	edx,dword [edi+20]
	mov	esi,eax
	imul	esi,3
	add	esi,1
	fld	dword [edx+esi*4+24]
	fmul	dword [ebp+16]
	fstp	dword [ebx+ecx*4+24]
	mov	ebx,dword [edi+20]
	mov	edx,eax
	imul	edx,3
	mov	ecx,edx
	add	ecx,2
	mov	edx,dword [edi+20]
	mov	esi,eax
	imul	esi,3
	add	esi,2
	fld	dword [edx+esi*4+24]
	fmul	dword [ebp+20]
	fstp	dword [ebx+ecx*4+24]
_285:
	add	eax,1
_6852:
	cmp	eax,dword [ebp-4]
	jle	_287
_286:
	or	dword [edi+96],1
_282:
	add	dword [ebp-8],1
_6847:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-8],eax
	jle	_284
_283:
	mov	eax,dword [ebp+8]
	mov	dword [eax+316],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	mov	dword [eax+12],1
	mov	eax,0
	jmp	_2526
_2526:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_RotateMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+12]
	fchs
	fstp	dword [ebp+12]
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,ebx
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	mov	dword [ebp-12],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+288]
	mov	dword [ebp-16],eax
	jmp	_6858
_290:
	mov	eax,dword [ebp+8]
	push	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_6863
_293:
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+28]
	fmul	st0,st3
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	add	eax,1
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+4+28]
	fmul	st0,st3
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	add	eax,2
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+8+28]
	fmulp	st3,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st2,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st1,st0
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,2
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+28]
	fmul	st0,st3
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	add	eax,1
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+4+28]
	fmul	st0,st3
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	add	eax,2
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+8+28]
	fmulp	st3,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st2,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st1,st0
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,2
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
_291:
	add	edi,1
_6863:
	cmp	edi,dword [ebp-8]
	jle	_293
_292:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+96]
	or	eax,5
	mov	dword [edx+96],eax
_288:
	add	dword [ebp-12],1
_6858:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-12],eax
	jle	_290
_289:
	mov	eax,dword [ebp+8]
	mov	dword [eax+316],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	mov	dword [eax+12],1
	mov	eax,0
	jmp	_2532
_2532:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_PositionMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+20]
	fchs
	fstp	dword [ebp+20]
	mov	dword [ebp-8],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+288]
	mov	dword [ebp-12],eax
	jmp	_6872
_296:
	mov	eax,dword [ebp+8]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	edi,eax
	mov	eax,0
	mov	edx,dword [edi+8]
	sub	edx,1
	mov	dword [ebp-4],edx
	jmp	_6877
_299:
	mov	esi,dword [edi+20]
	mov	ebx,eax
	imul	ebx,3
	mov	ecx,dword [edi+20]
	mov	edx,eax
	imul	edx,3
	fld	dword [ecx+edx*4+24]
	fadd	dword [ebp+12]
	fstp	dword [esi+ebx*4+24]
	mov	ebx,dword [edi+20]
	mov	edx,eax
	imul	edx,3
	mov	ecx,edx
	add	ecx,1
	mov	edx,dword [edi+20]
	mov	esi,eax
	imul	esi,3
	add	esi,1
	fld	dword [edx+esi*4+24]
	fadd	dword [ebp+16]
	fstp	dword [ebx+ecx*4+24]
	mov	ebx,dword [edi+20]
	mov	edx,eax
	imul	edx,3
	mov	ecx,edx
	add	ecx,2
	mov	edx,dword [edi+20]
	mov	esi,eax
	imul	esi,3
	add	esi,2
	fld	dword [edx+esi*4+24]
	fadd	dword [ebp+20]
	fstp	dword [ebx+ecx*4+24]
_297:
	add	eax,1
_6877:
	cmp	eax,dword [ebp-4]
	jle	_299
_298:
	or	dword [edi+96],1
_294:
	add	dword [ebp-8],1
_6872:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-8],eax
	jle	_296
_295:
	mov	eax,dword [ebp+8]
	mov	dword [eax+316],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	mov	dword [eax+12],1
	mov	eax,0
	jmp	_2538
_2538:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_UpdateNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,1
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_6881
_302:
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebx+32]
	lea	eax,dword [eax+24]
	push	eax
	mov	eax,dword [ebx+20]
	lea	eax,dword [eax+24]
	push	eax
	mov	eax,dword [ebx+16]
	lea	eax,word [eax+24]
	push	eax
	push	dword [ebx+8]
	push	dword [ebx+12]
	call	_C_UpdateNormals
	add	esp,20
	or	dword [ebx+96],4
_300:
	add	esi,1
_6881:
	cmp	esi,dword [ebp-4]
	jle	_302
_301:
	mov	eax,0
	jmp	_2541
_2541:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CreateSurface:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	_sidesign_minib3d_TSurface
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	push	edi
	push	dword [ebx+292]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	add	dword [ebx+288],1
	cmp	esi,_bbNullObject
	je	_6886
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+72]
	dec	dword [eax+4]
	jnz	_6891
	push	eax
	call	_bbGCFree
	add	esp,4
_6891:
	mov	dword [edi+72],esi
_6886:
	mov	dword [ebx+316],1
	mov	eax,dword [ebx+312]
	mov	dword [eax+12],1
	mov	eax,edi
	jmp	_2545
_2545:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_MeshWidth:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+612]
	add	esp,4
	fld	dword [ebx+276]
	fsub	dword [ebx+264]
	jmp	_2548
_2548:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_MeshHeight:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+612]
	add	esp,4
	fld	dword [ebx+280]
	fsub	dword [ebx+268]
	jmp	_2551
_2551:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_MeshDepth:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+612]
	add	esp,4
	fld	dword [ebx+284]
	fsub	dword [ebx+272]
	jmp	_2554
_2554:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CountSurfaces:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+288]
	jmp	_2557
_2557:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_GetSurface:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	esi,0
	mov	ebx,dword [eax+292]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_303
_305:
	mov	eax,edi
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_303
	add	esi,1
	cmp	dword [ebp+12],esi
	jne	_6902
	jmp	_2561
_6902:
_303:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_305
_304:
	mov	eax,_bbNullObject
	jmp	_2561
_2561:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_FindSurface:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+292]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_306
_308:
	mov	eax,edi
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_306
	push	dword [esi+72]
	push	dword [ebp+12]
	call	dword [_sidesign_minib3d_TBrush+100]
	add	esp,8
	cmp	eax,1
	jne	_6909
	mov	eax,esi
	jmp	_2565
_6909:
_306:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_308
_307:
	mov	eax,_bbNullObject
	jmp	_2565
_2565:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CountVertices:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	ebx,1
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_6913
_311:
	mov	eax,edi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	add	esi,eax
_309:
	add	ebx,1
_6913:
	cmp	ebx,dword [ebp-4]
	jle	_311
_310:
	mov	eax,esi
	jmp	_2568
_2568:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CountTriangles:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	ebx,1
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_6921
_314:
	mov	eax,edi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	add	esi,eax
_312:
	add	ebx,1
_6921:
	cmp	ebx,dword [ebp-4]
	jle	_314
_313:
	mov	eax,esi
	jmp	_2571
_2571:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CopyBonesList:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_315
_317:
	mov	eax,dword [ebp-8]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_315
	push	_sidesign_minib3d_TBone
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_6932
	mov	edx,dword [ebp+16]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax]
	add	eax,1
	mov	dword [edx],eax
	mov	eax,dword [ebp+16]
	push	dword [eax]
	push	0
	push	dword [edi]
	push	_6202
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi]
	dec	dword [eax+4]
	jnz	_6936
	push	eax
	call	_bbGCFree
	add	esp,4
_6936:
	mov	dword [edi],esi
	push	_sidesign_minib3d_TBone
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi]
	mov	edx,dword [ebp+16]
	mov	edx,dword [edx]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_6940
	push	eax
	call	_bbGCFree
	add	esp,4
_6940:
	mov	eax,dword [edi]
	mov	edx,dword [ebp+16]
	mov	edx,dword [edx]
	sub	edx,1
	mov	dword [eax+edx*4+24],esi
_6932:
	mov	eax,dword [ebp+16]
	lea	eax,dword [eax]
	push	eax
	lea	eax,dword [edi]
	push	eax
	push	ebx
	call	dword [_sidesign_minib3d_TMesh+596]
	add	esp,12
_315:
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_317
_316:
	mov	eax,0
	jmp	_2576
_2576:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CollapseAnimMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	cmp	esi,_bbNullObject
	jne	_6941
	push	_sidesign_minib3d_TMesh
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
_6941:
	cmp	ebx,_bbNullObject
	je	_6942
	push	dword [ebx+28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+608]
	add	esp,8
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+528]
	add	esp,8
_6942:
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+604]
	add	esp,8
	mov	esi,eax
	mov	eax,esi
	jmp	_2580
_2580:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_CollapseChildren:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edi,dword [eax+16]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_318
_320:
	mov	eax,dword [ebp-4]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_318
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_6951
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	push	dword [ebx+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+608]
	add	esp,8
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+528]
	add	esp,8
_6951:
	push	esi
	push	ebx
	call	dword [_sidesign_minib3d_TMesh+604]
	add	esp,8
	mov	esi,eax
_318:
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_320
_319:
	mov	eax,esi
	jmp	_2584
_2584:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_TransformMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	mov	dword [ebp-12],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+288]
	mov	dword [ebp-16],eax
	jmp	_6955
_323:
	mov	eax,dword [ebp+8]
	push	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_6960
_326:
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+28]
	fmul	st0,st3
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	add	eax,1
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+4+28]
	fmul	st0,st3
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+20]
	mov	eax,edi
	imul	eax,3
	add	eax,2
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+8+28]
	fmulp	st3,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st2,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st1,st0
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,2
	fadd	dword [ecx+esi*4+28]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+28]
	fmul	st0,st3
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	add	eax,1
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+4+28]
	fmul	st0,st3
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+32]
	mov	eax,edi
	imul	eax,3
	add	eax,2
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+8+28]
	fmulp	st3,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st2,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st1,st0
	faddp	st1,st0
	fstp	dword [edx+eax*4+24]
_324:
	add	edi,1
_6960:
	cmp	edi,dword [ebp-8]
	jle	_326
_325:
_321:
	add	dword [ebp-12],1
_6955:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-12],eax
	jle	_323
_322:
	mov	eax,0
	jmp	_2588
_2588:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_GetBounds:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	cmp	dword [ebx+316],1
	jne	_6968
	mov	dword [ebx+316],0
	fld	dword [_11636]
	fstp	dword [ebx+264]
	fld	dword [_11637]
	fstp	dword [ebx+276]
	fld	dword [_11638]
	fstp	dword [ebx+268]
	fld	dword [_11639]
	fstp	dword [ebx+280]
	fld	dword [_11640]
	fstp	dword [ebx+272]
	fld	dword [_11641]
	fstp	dword [ebx+284]
	mov	eax,dword [ebx+292]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_327
_329:
	mov	eax,dword [ebp-8]
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ecx,eax
	cmp	ecx,_bbNullObject
	je	_327
	mov	edx,0
	mov	edi,dword [ecx+8]
	jmp	_6976
_332:
	mov	esi,dword [ecx+20]
	mov	eax,edx
	imul	eax,3
	fld	dword [esi+eax*4+24]
	fld	dword [ebx+264]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6979
	fst	dword [ebx+264]
_6979:
	fld	dword [ebx+276]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_11658
	fstp	st0
	jmp	_6980
_11658:
	fstp	dword [ebx+276]
_6980:
	mov	eax,dword [ecx+20]
	mov	esi,edx
	imul	esi,3
	add	esi,1
	fld	dword [eax+esi*4+24]
	fld	dword [ebx+268]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6982
	fst	dword [ebx+268]
_6982:
	fld	dword [ebx+280]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_11659
	fstp	st0
	jmp	_6983
_11659:
	fstp	dword [ebx+280]
_6983:
	mov	eax,dword [ecx+20]
	mov	esi,edx
	imul	esi,3
	add	esi,2
	fld	dword [eax+esi*4+24]
	fchs
	fld	dword [ebx+272]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6985
	fst	dword [ebx+272]
_6985:
	fld	dword [ebx+284]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_11660
	fstp	st0
	jmp	_6986
_11660:
	fstp	dword [ebx+284]
_6986:
_330:
	add	edx,1
_6976:
	cmp	edx,edi
	jl	_332
_331:
_327:
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_329
_328:
	fld	dword [ebx+276]
	fsub	dword [ebx+264]
	fld	dword [ebx+280]
	fsub	dword [ebx+268]
	fld	dword [ebx+284]
	fsub	dword [ebx+272]
	fld	dword [ebx+136]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_11661
	fstp	st0
	fstp	st0
	fstp	st0
	jmp	_6990
_11661:
	fxch	st2
	fucom	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_6991
	fucom	st2
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_6991:
	cmp	eax,0
	je	_6993
	fxch	st1
	fstp	st0
	fxch	st1
	fstp	st0
	fstp	dword [ebx+136]
	jmp	_6994
_6993:
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_6995
	fucom	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_6995:
	cmp	eax,0
	jne	_11662
	fstp	st0
	jmp	_6997
_11662:
	fxch	st1
	fstp	st0
	fstp	dword [ebx+136]
	jmp	_6998
_6997:
	fstp	dword [ebx+136]
_6998:
_6994:
	fld	dword [ebx+136]
	fdiv	dword [_11642]
	fstp	dword [ebx+136]
	fld	dword [ebx+136]
	fmul	dword [ebx+136]
	fld	st0
	fadd	st0,st1
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fstp	dword [ebx+136]
_6990:
_6968:
	mov	eax,0
	jmp	_2591
_2591:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_Alpha:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	fld	dword [eax+28]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_7001
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+36]
	cmp	eax,2
	sete	al
	movzx	eax,al
_7001:
	cmp	eax,0
	jne	_7003
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+36]
	cmp	eax,3
	sete	al
	movzx	eax,al
_7003:
	cmp	eax,0
	jne	_7005
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+40]
	and	eax,32
_7005:
	cmp	eax,0
	je	_7007
	mov	esi,1
	jmp	_7008
_7007:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	cmp	dword [eax+24],_bbNullObject
	je	_7009
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+12]
	and	eax,2
	cmp	eax,0
	je	_7010
	mov	esi,1
_7010:
_7009:
_7008:
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+292]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_333
_335:
	mov	eax,edi
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edx,eax
	cmp	edx,_bbNullObject
	je	_333
	mov	dword [edx+100],0
	cmp	dword [edx+72],_bbNullObject
	je	_7017
	mov	eax,dword [edx+72]
	fld	dword [eax+28]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_7018
	mov	eax,dword [edx+72]
	mov	eax,dword [eax+36]
	cmp	eax,2
	sete	al
	movzx	eax,al
_7018:
	cmp	eax,0
	jne	_7020
	mov	eax,dword [edx+72]
	mov	eax,dword [eax+36]
	cmp	eax,3
	sete	al
	movzx	eax,al
_7020:
	cmp	eax,0
	jne	_7022
	mov	eax,dword [edx+72]
	mov	eax,dword [eax+40]
	and	eax,32
_7022:
	cmp	eax,0
	je	_7024
	mov	esi,1
	jmp	_7025
_7024:
	mov	eax,dword [edx+72]
	mov	eax,dword [eax+48]
	cmp	dword [eax+24],_bbNullObject
	je	_7026
	mov	eax,dword [edx+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+12]
	and	eax,2
	cmp	eax,0
	je	_7027
	mov	esi,1
_7027:
_7026:
_7025:
_7017:
	mov	eax,dword [ebp+8]
	fld	dword [eax+128]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7028
	mov	esi,1
_7028:
	cmp	esi,1
	jne	_7029
	mov	dword [edx+100],1
_7029:
_333:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_335
_334:
	mov	eax,esi
	jmp	_2594
_2594:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMesh_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,132
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+208]
	add	esp,4
	mov	dword [ebp-128],0
	push	2912
	call	_glIsEnabled@4
	mov	eax,eax
	cmp	eax,1
	jne	_7033
	mov	dword [ebp-128],1
_7033:
	push	3008
	call	_glDisable@4
	mov	eax,dword [ebp+8]
	cmp	dword [eax+108],0
	je	_7034
	push	2929
	call	_glDisable@4
	push	0
	call	_glDepthMask@4
	jmp	_7035
_7034:
	push	2929
	call	_glEnable@4
	push	1
	call	_glDepthMask@4
_7035:
	push	_1496
	mov	eax,dword [ebp+8]
	push	dword [eax+292]
	call	_brl_linkedlist_ListToArray
	add	esp,4
	push	eax
	call	_bbArrayCastFromObject
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7037
	mov	ebx,_bbEmptyArray
_7037:
	push	1
	push	ebx
	call	_bbArraySort
	add	esp,8
	push	_1496
	mov	eax,dword [ebp+8]
	push	dword [eax+296]
	call	_brl_linkedlist_ListToArray
	add	esp,4
	push	eax
	call	_bbArrayCastFromObject
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_7040
	mov	eax,_bbEmptyArray
_7040:
	mov	dword [ebp-124],eax
	push	1
	push	dword [ebp-124]
	call	_bbArraySort
	add	esp,8
	mov	dword [ebp-108],_bbNullObject
	mov	dword [ebp-120],-1
	mov	dword [ebp-116],ebx
	mov	eax,dword [ebp-116]
	add	eax,24
	mov	dword [ebp-112],eax
	mov	edx,dword [ebp-112]
	mov	eax,dword [ebp-116]
	add	edx,dword [eax+16]
	mov	dword [ebp-132],edx
	jmp	_336
_338:
	mov	eax,dword [ebp-112]
	mov	eax,dword [eax]
	mov	dword [ebp-72],eax
	add	dword [ebp-112],4
	cmp	dword [ebp-72],_bbNullObject
	je	_336
	add	dword [ebp-120],1
	mov	dword [ebp-100],0
	mov	eax,dword [ebp-72]
	cmp	dword [eax+12],250
	jl	_7050
	cmp	dword [__sidesign_minib3d_TGlobal_vbo_enabled],0
	je	_7051
	mov	dword [ebp-100],1
_7051:
	jmp	_7052
_7050:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	cmp	dword [eax+24],0
	je	_7053
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	lea	eax,dword [eax+24]
	push	eax
	push	6
	call	dword [___glewDeleteBuffersARB]
_7053:
_7052:
	cmp	dword [ebp-100],0
	je	_7054
	mov	eax,dword [ebp-72]
	cmp	dword [eax+96],0
	je	_7055
	mov	eax,dword [ebp-72]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	jmp	_7057
_7055:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	cmp	dword [eax+24],0
	jne	_7058
	mov	eax,dword [ebp-72]
	mov	dword [eax+96],-1
	mov	eax,dword [ebp-72]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
_7058:
_7057:
_7054:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+200],0
	je	_7060
	mov	edx,dword [ebp-120]
	mov	eax,dword [ebp-124]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-108],eax
	cmp	dword [ebp-100],0
	je	_7061
	mov	eax,dword [ebp-108]
	cmp	dword [eax+96],0
	je	_7062
	mov	eax,dword [ebp-108]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	jmp	_7064
_7062:
	mov	eax,dword [ebp-108]
	mov	eax,dword [eax+76]
	cmp	dword [eax+24],0
	jne	_7065
	mov	eax,dword [ebp-108]
	mov	dword [eax+96],-1
	mov	eax,dword [ebp-108]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
_7065:
_7064:
_7061:
_7060:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	fld	dword [eax+16]
	fstp	dword [ebp-84]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	fld	dword [eax+20]
	fstp	dword [ebp-88]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	fld	dword [eax+24]
	fstp	dword [ebp-92]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	fld	dword [eax+28]
	fstp	dword [ebp-60]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	fld	dword [eax+32]
	fstp	dword [ebp-56]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	esi,dword [eax+36]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	ebx,dword [eax+40]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	fld	dword [ebp-84]
	fmul	dword [eax+16]
	fstp	dword [ebp-84]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	fld	dword [ebp-88]
	fmul	dword [eax+20]
	fstp	dword [ebp-88]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	fld	dword [ebp-92]
	fmul	dword [eax+24]
	fstp	dword [ebp-92]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	fld	dword [ebp-60]
	fmul	dword [eax+28]
	fstp	dword [ebp-60]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	fld	dword [eax+32]
	fldz
	fld	dword [ebp-56]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7078
	fst	dword [ebp-56]
_7078:
	fldz
	fld	dword [ebp-56]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	je	_7079
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_7079:
	cmp	eax,0
	jne	_11767
	fstp	st0
	jmp	_7081
_11767:
	fld	dword [ebp-56]
	fmulp	st1,st0
	fstp	dword [ebp-56]
_7081:
	cmp	esi,0
	jne	_7082
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	esi,dword [eax+36]
_7082:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	or	ebx,dword [eax+40]
	fld	dword [ebp-60]
	mov	eax,dword [ebp+8]
	fsub	dword [eax+128]
	fstp	dword [ebp-60]
	mov	eax,dword [ebp-72]
	cmp	dword [eax+100],1
	jne	_7083
	push	3042
	call	_glEnable@4
	push	0
	call	_glDepthMask@4
	jmp	_7084
_7083:
	push	3042
	call	_glDisable@4
	push	1
	call	_glDepthMask@4
_7084:
	cmp	esi,0
	je	_7087
	cmp	esi,1
	je	_7088
	cmp	esi,2
	je	_7089
	cmp	esi,3
	je	_7090
	jmp	_7086
_7087:
	push	771
	push	770
	call	_glBlendFunc@8
	jmp	_7086
_7088:
	push	771
	push	770
	call	_glBlendFunc@8
	jmp	_7086
_7089:
	push	0
	push	774
	call	_glBlendFunc@8
	jmp	_7086
_7090:
	push	1
	push	770
	call	_glBlendFunc@8
	jmp	_7086
_7086:
	mov	eax,ebx
	and	eax,1
	cmp	eax,0
	je	_7091
	fld	dword [_11691]
	fstp	dword [ebp-76]
	fld	dword [_11692]
	fstp	dword [ebp-68]
	fld	dword [_11693]
	fstp	dword [ebp-80]
	jmp	_7092
_7091:
	fld	dword [__sidesign_minib3d_TGlobal_ambient_red]
	fstp	dword [ebp-76]
	fld	dword [__sidesign_minib3d_TGlobal_ambient_green]
	fstp	dword [ebp-68]
	fld	dword [__sidesign_minib3d_TGlobal_ambient_blue]
	fstp	dword [ebp-80]
_7092:
	mov	eax,ebx
	and	eax,2
	cmp	eax,0
	je	_7093
	push	2903
	call	_glEnable@4
	jmp	_7094
_7093:
	push	2903
	call	_glDisable@4
_7094:
	mov	eax,ebx
	and	eax,4
	cmp	eax,0
	je	_7095
	push	7424
	call	_glShadeModel@4
	jmp	_7096
_7095:
	push	7425
	call	_glShadeModel@4
_7096:
	mov	eax,ebx
	and	eax,8
	cmp	eax,0
	je	_7097
	push	2912
	call	_glDisable@4
_7097:
	and	ebx,16
	cmp	ebx,0
	je	_7098
	push	2884
	call	_glDisable@4
	jmp	_7099
_7098:
	push	2884
	call	_glEnable@4
_7099:
	cmp	dword [ebp-100],0
	je	_7100
	mov	eax,dword [ebp+8]
	cmp	dword [eax+204],0
	je	_7101
	mov	eax,dword [ebp-108]
	mov	eax,dword [eax+76]
	push	dword [eax+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	0
	push	0
	push	5126
	push	3
	call	_glVertexPointer@16
	jmp	_7102
_7101:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	push	dword [eax+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	0
	push	0
	push	5126
	push	3
	call	_glVertexPointer@16
_7102:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	push	dword [eax+20+24]
	push	34963
	call	dword [___glewBindBufferARB]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	push	dword [eax+12+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	0
	push	0
	push	5126
	call	_glNormalPointer@12
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	push	dword [eax+16+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	0
	push	0
	push	5126
	push	4
	call	_glColorPointer@16
	jmp	_7103
_7100:
	xor	eax,eax
	cmp	eax,0
	je	_7104
	push	0
	push	34962
	call	dword [___glewBindBufferARB]
	push	0
	push	34963
	call	dword [___glewBindBufferARB]
_7104:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+204],0
	je	_7105
	mov	eax,dword [ebp-108]
	mov	eax,dword [eax+20]
	lea	eax,byte [eax+24]
	push	eax
	push	0
	push	5126
	push	3
	call	_glVertexPointer@16
	jmp	_7106
_7105:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+20]
	lea	eax,byte [eax+24]
	push	eax
	push	0
	push	5126
	push	3
	call	_glVertexPointer@16
_7106:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+36]
	lea	eax,byte [eax+24]
	push	eax
	push	0
	push	5126
	push	4
	call	_glColorPointer@16
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+32]
	lea	eax,byte [eax+24]
	push	eax
	push	0
	push	5126
	call	_glNormalPointer@12
_7103:
	push	3
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebp-76]
	fstp	dword [eax+24]
	fld	dword [ebp-68]
	fstp	dword [eax+28]
	fld	dword [ebp-80]
	fstp	dword [eax+32]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+24]
	push	eax
	push	2899
	call	_glLightModelfv@8
	push	2
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fldz
	fstp	dword [eax+24]
	fldz
	fstp	dword [eax+28]
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebp-84]
	fstp	dword [eax+24]
	fld	dword [ebp-88]
	fstp	dword [eax+28]
	fld	dword [ebp-92]
	fstp	dword [eax+32]
	fld	dword [ebp-60]
	fstp	dword [eax+36]
	mov	dword [ebp-8],eax
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebp-84]
	fstp	dword [eax+24]
	fld	dword [ebp-88]
	fstp	dword [eax+28]
	fld	dword [ebp-92]
	fstp	dword [eax+32]
	fld	dword [ebp-60]
	fstp	dword [eax+36]
	mov	dword [ebp-12],eax
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebp-56]
	fstp	dword [eax+24]
	fld	dword [ebp-56]
	fstp	dword [eax+28]
	fld	dword [ebp-56]
	fstp	dword [eax+32]
	fld	dword [ebp-56]
	fstp	dword [eax+36]
	mov	dword [ebp-16],eax
	push	1
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [_11694]
	fstp	dword [eax+24]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp-8]
	lea	eax,dword [eax+24]
	push	eax
	push	4608
	push	1028
	call	_glMaterialfv@12
	mov	eax,dword [ebp-12]
	lea	eax,dword [eax+24]
	push	eax
	push	4609
	push	1028
	call	_glMaterialfv@12
	mov	eax,dword [ebp-16]
	lea	eax,dword [eax+24]
	push	eax
	push	4610
	push	1028
	call	_glMaterialfv@12
	mov	eax,dword [ebp-20]
	lea	eax,dword [eax+24]
	push	eax
	push	5633
	push	1028
	call	_glMaterialfv@12
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+8]
	mov	dword [ebp-104],eax
	mov	eax,dword [ebp-72]
	mov	edx,dword [eax+72]
	mov	eax,dword [ebp-104]
	cmp	dword [edx+8],eax
	jle	_7120
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+8]
	mov	dword [ebp-104],eax
_7120:
	mov	edi,0
	mov	eax,dword [ebp-104]
	sub	eax,1
	mov	dword [ebp-96],eax
	jmp	_7122
_341:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_7124
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_7124:
	cmp	eax,0
	je	_7126
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	cmp	dword [eax+edi*4+24],_bbNullObject
	je	_7138
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	ebx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+16]
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+20]
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+24]
	fstp	dword [ebp-48]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+28]
	fstp	dword [ebp-44]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+32]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+36]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+40]
	fstp	dword [ebp-40]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+80]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	esi,dword [eax+44]
	jmp	_7139
_7138:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	ebx,dword [eax+edi*4+24]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+16]
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+20]
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+24]
	fstp	dword [ebp-48]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+28]
	fstp	dword [ebp-44]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+32]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+36]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+40]
	fstp	dword [ebp-40]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+80]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+72]
	mov	esi,dword [eax+44]
_7139:
	mov	eax,edi
	add	eax,33984
	push	eax
	call	dword [___glewActiveTextureARB]
	mov	eax,edi
	add	eax,33984
	push	eax
	call	dword [___glewClientActiveTextureARB]
	push	3553
	call	_glEnable@4
	mov	eax,dword [ebx+60]
	push	dword [eax+esi*4+24]
	push	3553
	call	_glBindTexture@8
	mov	eax,dword [ebp-32]
	and	eax,4
	cmp	eax,0
	je	_7140
	push	3008
	call	_glEnable@4
	jmp	_7141
_7140:
	push	3008
	call	_glDisable@4
_7141:
	mov	eax,dword [ebp-32]
	and	eax,8
	cmp	eax,0
	je	_7142
	push	9729
	push	10240
	push	3553
	call	_glTexParameteri@12
	push	9987
	push	10241
	push	3553
	call	_glTexParameteri@12
	jmp	_7143
_7142:
	push	9729
	push	10240
	push	3553
	call	_glTexParameteri@12
	push	9729
	push	10241
	push	3553
	call	_glTexParameteri@12
_7143:
	mov	eax,dword [ebp-32]
	and	eax,16
	cmp	eax,0
	je	_7144
	push	33071
	push	10242
	push	3553
	call	_glTexParameteri@12
	jmp	_7145
_7144:
	push	10497
	push	10242
	push	3553
	call	_glTexParameteri@12
_7145:
	mov	eax,dword [ebp-32]
	and	eax,32
	cmp	eax,0
	je	_7146
	push	33071
	push	10243
	push	3553
	call	_glTexParameteri@12
	jmp	_7147
_7146:
	push	10497
	push	10243
	push	3553
	call	_glTexParameteri@12
_7147:
	mov	eax,dword [ebp-32]
	and	eax,64
	cmp	eax,0
	je	_7148
	push	9218
	push	9472
	push	8192
	call	_glTexGeni@12
	push	9218
	push	9472
	push	8193
	call	_glTexGeni@12
	push	3168
	call	_glEnable@4
	push	3169
	call	_glEnable@4
	jmp	_7149
_7148:
	push	3168
	call	_glDisable@4
	push	3169
	call	_glDisable@4
_7149:
	mov	eax,dword [ebp-32]
	and	eax,128
	cmp	eax,0
	je	_7150
	push	34067
	call	_glEnable@4
	mov	eax,dword [ebx+60]
	push	dword [eax+esi*4+24]
	push	34067
	call	_glBindTexture@8
	push	33071
	push	10242
	push	34067
	call	_glTexParameteri@12
	push	33071
	push	10243
	push	34067
	call	_glTexParameteri@12
	push	33071
	push	32882
	push	34067
	call	_glTexParameteri@12
	push	9728
	push	10241
	push	34067
	call	_glTexParameteri@12
	push	9728
	push	10240
	push	34067
	call	_glTexParameteri@12
	push	3168
	call	_glEnable@4
	push	3169
	call	_glEnable@4
	push	3170
	call	_glEnable@4
	cmp	dword [ebp-24],1
	jne	_7151
	push	34066
	push	9472
	push	8192
	call	_glTexGeni@12
	push	34066
	push	9472
	push	8193
	call	_glTexGeni@12
	push	34066
	push	9472
	push	8194
	call	_glTexGeni@12
_7151:
	cmp	dword [ebp-24],2
	jne	_7152
	push	34065
	push	9472
	push	8192
	call	_glTexGeni@12
	push	34065
	push	9472
	push	8193
	call	_glTexGeni@12
	push	34065
	push	9472
	push	8194
	call	_glTexGeni@12
_7152:
	jmp	_7153
_7150:
	push	34067
	call	_glDisable@4
	mov	eax,dword [ebp-32]
	and	eax,64
	cmp	eax,0
	jne	_7154
	push	3168
	call	_glDisable@4
	push	3169
	call	_glDisable@4
_7154:
	push	3170
	call	_glDisable@4
_7153:
	mov	eax,dword [ebp-52]
	cmp	eax,0
	je	_7157
	cmp	eax,1
	je	_7158
	cmp	eax,2
	je	_7159
	cmp	eax,3
	je	_7160
	cmp	eax,4
	je	_7161
	cmp	eax,5
	je	_7162
	push	1174667264
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7156
_7157:
	push	1173358592
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7156
_7158:
	push	1173358592
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7156
_7159:
	push	1174667264
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7156
_7160:
	push	1132593152
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7156
_7161:
	push	1191538688
	push	8704
	push	8960
	call	_glTexEnvf@12
	push	1191657472
	push	34161
	push	8960
	call	_glTexEnvf@12
	jmp	_7156
_7162:
	push	34160
	push	8704
	push	8960
	call	_glTexEnvi@12
	push	8448
	push	34161
	push	8960
	call	_glTexEnvi@12
	push	2
	push	34163
	push	8960
	call	_glTexEnvi@12
	jmp	_7156
_7156:
	push	32888
	call	_glEnableClientState@4
	cmp	dword [ebp-100],0
	je	_7163
	cmp	dword [ebp-64],0
	jne	_7164
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	push	dword [eax+4+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	0
	push	0
	push	5126
	push	2
	call	_glTexCoordPointer@16
	jmp	_7165
_7164:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+76]
	push	dword [eax+8+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	0
	push	0
	push	5126
	push	2
	call	_glTexCoordPointer@16
_7165:
	jmp	_7166
_7163:
	cmp	dword [ebp-64],0
	jne	_7167
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+24]
	lea	eax,byte [eax+24]
	push	eax
	push	0
	push	5126
	push	2
	call	_glTexCoordPointer@16
	jmp	_7168
_7167:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+28]
	lea	eax,byte [eax+24]
	push	eax
	push	0
	push	5126
	push	2
	call	_glTexCoordPointer@16
_7168:
_7166:
	push	5890
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	fldz
	fld	dword [ebp-36]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7169
	fldz
	fld	dword [ebp-28]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_7169:
	cmp	eax,0
	je	_7171
	push	0
	push	dword [ebp-28]
	push	dword [ebp-36]
	call	_glTranslatef@12
_7171:
	fldz
	fld	dword [ebp-40]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7172
	push	1065353216
	push	0
	push	0
	push	dword [ebp-40]
	call	_glRotatef@16
_7172:
	fldz
	fld	dword [ebp-48]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7173
	fldz
	fld	dword [ebp-44]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_7173:
	cmp	eax,0
	je	_7175
	push	1065353216
	push	dword [ebp-44]
	push	dword [ebp-48]
	call	_glScalef@12
_7175:
	mov	eax,dword [ebp-32]
	and	eax,64
	cmp	eax,0
	je	_7176
	push	-1082130432
	push	-1082130432
	push	1065353216
	call	_glScalef@12
_7176:
	mov	eax,dword [ebp-32]
	and	eax,128
	cmp	eax,0
	je	_7177
	push	-1082130432
	push	-1082130432
	push	1065353216
	call	_glScalef@12
	push	16
	push	_7178
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	lea	eax,qword [esi+24]
	push	eax
	push	2982
	call	_glGetDoublev@8
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,dword [ebx+8]
	fld	qword [esi+24]
	fstp	dword [eax+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	fld	qword [esi+8+24]
	fstp	dword [eax+edx*4+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	fld	qword [esi+16+24]
	fstp	dword [eax+edx*4+28]
	mov	eax,dword [ebx+8]
	fld	qword [esi+32+24]
	fstp	dword [eax+4+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fld	qword [esi+40+24]
	fstp	dword [eax+edx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	qword [esi+48+24]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+8]
	fld	qword [esi+64+24]
	fstp	dword [eax+8+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	add	edx,2
	fld	qword [esi+72+24]
	fstp	dword [eax+edx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	qword [esi+80+24]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+8]
	lea	eax,dword [eax+28]
	push	eax
	call	_glMultMatrixf@4
_7177:
_7126:
_339:
	add	edi,1
_7122:
	cmp	edi,dword [ebp-96]
	jle	_341
_340:
	push	5888
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	push	_sidesign_minib3d_TSprite
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_7182
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+8]
	lea	eax,dword [eax+28]
	push	eax
	call	_glMultMatrixf@4
	jmp	_7183
_7182:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+308]
	mov	eax,dword [eax+8]
	lea	eax,dword [eax+28]
	push	eax
	call	_glMultMatrixf@4
_7183:
	cmp	dword [ebp-100],0
	je	_7184
	push	0
	push	5123
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+12]
	imul	eax,3
	push	eax
	push	4
	call	_glDrawElements@16
	jmp	_7185
_7184:
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+16]
	lea	eax,byte [eax+24]
	push	eax
	push	5123
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+12]
	imul	eax,3
	push	eax
	push	4
	call	_glDrawElements@16
_7185:
	call	_glPopMatrix@0
	mov	esi,0
	mov	ebx,dword [ebp-104]
	sub	ebx,1
	jmp	_7187
_344:
	mov	eax,esi
	add	eax,33984
	push	eax
	call	dword [___glewActiveTextureARB]
	mov	eax,esi
	add	eax,33984
	push	eax
	call	dword [___glewClientActiveTextureARB]
	push	5890
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	push	3553
	call	_glDisable@4
	push	34067
	call	_glDisable@4
	push	3168
	call	_glDisable@4
	push	3169
	call	_glDisable@4
	push	3170
	call	_glDisable@4
_342:
	add	esi,1
_7187:
	cmp	esi,ebx
	jle	_344
_343:
	push	32888
	call	_glDisableClientState@4
	cmp	dword [ebp-128],1
	jne	_7189
	push	2912
	call	_glEnable@4
_7189:
_336:
	mov	eax,dword [ebp-132]
	cmp	dword [ebp-112],eax
	jne	_338
_337:
	mov	eax,0
	jmp	_2597
_2597:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TMesh_New
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TSprite
	fldz
	fstp	dword [ebx+320]
	fld1
	fstp	dword [ebx+324]
	fld1
	fstp	dword [ebx+328]
	fldz
	fstp	dword [ebx+332]
	fldz
	fstp	dword [ebx+336]
	mov	dword [ebx+340],1
	xor	eax,eax
	cmp	eax,0
	je	_7190
	push	_345
	call	_brl_blitz_DebugLog
	add	esp,4
_7190:
	mov	eax,0
	jmp	_2600
_2600:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_7191
	push	_346
	call	_brl_blitz_DebugLog
	add	esp,4
_7191:
_2603:
	mov	dword [ebx],_sidesign_minib3d_TMesh
	push	ebx
	call	__sidesign_minib3d_TMesh_Delete
	add	esp,4
	mov	eax,0
	jmp	_7192
_7192:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_CopyEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	push	_sidesign_minib3d_TSprite
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_347
_349:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_347
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
_347:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_349
_348:
	mov	eax,edi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,edi
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,dword [ebp+8]
	cmp	dword [eax+180],0
	je	_7203
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+180]
	mov	eax,dword [edx+eax*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_7203:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+192],0
	je	_7205
	push	edi
	push	dword [__sidesign_minib3d_TPick_ent_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_7205:
	cmp	dword [edi+20],_bbNullObject
	je	_7206
	mov	edx,dword [edi+28]
	mov	eax,dword [edi+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	jmp	_7208
_7206:
	mov	eax,dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_7208:
	mov	edx,dword [edi+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fstp	dword [edi+32]
	mov	eax,dword [ebp+8]
	fld	dword [eax+36]
	fstp	dword [edi+36]
	mov	eax,dword [ebp+8]
	fld	dword [eax+40]
	fstp	dword [edi+40]
	mov	eax,dword [ebp+8]
	fld	dword [eax+44]
	fstp	dword [edi+44]
	mov	eax,dword [ebp+8]
	fld	dword [eax+48]
	fstp	dword [edi+48]
	mov	eax,dword [ebp+8]
	fld	dword [eax+52]
	fstp	dword [edi+52]
	mov	eax,dword [ebp+8]
	fld	dword [eax+56]
	fstp	dword [edi+56]
	mov	eax,dword [ebp+8]
	fld	dword [eax+60]
	fstp	dword [edi+60]
	mov	eax,dword [ebp+8]
	fld	dword [eax+64]
	fstp	dword [edi+64]
	mov	eax,dword [ebp+8]
	fld	dword [eax+68]
	fstp	dword [edi+68]
	mov	eax,dword [ebp+8]
	fld	dword [eax+72]
	fstp	dword [edi+72]
	mov	eax,dword [ebp+8]
	fld	dword [eax+76]
	fstp	dword [edi+76]
	mov	eax,dword [ebp+8]
	fld	dword [eax+80]
	fstp	dword [edi+80]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+96]
	inc	dword [ebx+4]
	mov	eax,dword [edi+96]
	dec	dword [eax+4]
	jnz	_7214
	push	eax
	call	_bbGCFree
	add	esp,4
_7214:
	mov	dword [edi+96],ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+100]
	inc	dword [ebx+4]
	mov	eax,dword [edi+100]
	dec	dword [eax+4]
	jnz	_7218
	push	eax
	call	_bbGCFree
	add	esp,4
_7218:
	mov	dword [edi+100],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+108]
	mov	dword [edi+108],eax
	mov	dword [edi+104],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+116]
	mov	dword [edi+116],eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+120]
	fstp	dword [edi+120]
	mov	eax,dword [ebp+8]
	fld	dword [eax+124]
	fstp	dword [edi+124]
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [edi+132]
	dec	dword [eax+4]
	jnz	_7222
	push	eax
	call	_bbGCFree
	add	esp,4
_7222:
	mov	dword [edi+132],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+132]
	dec	dword [eax+4]
	jnz	_7227
	push	eax
	call	_bbGCFree
	add	esp,4
_7227:
	mov	dword [edi+132],ebx
	mov	eax,dword [ebp+8]
	fld	dword [eax+136]
	fstp	dword [edi+136]
	mov	eax,dword [ebp+8]
	fld	dword [eax+140]
	fstp	dword [edi+140]
	mov	eax,dword [ebp+8]
	fld	dword [eax+144]
	fstp	dword [edi+144]
	mov	eax,dword [ebp+8]
	fld	dword [eax+156]
	fstp	dword [edi+156]
	mov	eax,dword [ebp+8]
	fld	dword [eax+160]
	fstp	dword [edi+160]
	mov	eax,dword [ebp+8]
	fld	dword [eax+164]
	fstp	dword [edi+164]
	mov	eax,dword [ebp+8]
	fld	dword [eax+168]
	fstp	dword [edi+168]
	mov	eax,dword [ebp+8]
	fld	dword [eax+172]
	fstp	dword [edi+172]
	mov	eax,dword [ebp+8]
	fld	dword [eax+176]
	fstp	dword [edi+176]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+180]
	mov	dword [edi+180],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+192]
	mov	dword [edi+192],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+196]
	mov	dword [edi+196],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+288]
	mov	dword [edi+288],eax
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+292]
	inc	dword [ebx+4]
	mov	eax,dword [edi+292]
	dec	dword [eax+4]
	jnz	_7231
	push	eax
	call	_bbGCFree
	add	esp,4
_7231:
	mov	dword [edi+292],ebx
	mov	edx,dword [edi+308]
	mov	eax,dword [ebp+8]
	push	dword [eax+308]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [ebp+8]
	fld	dword [eax+320]
	fstp	dword [edi+320]
	mov	eax,dword [ebp+8]
	fld	dword [eax+324]
	fstp	dword [edi+324]
	mov	eax,dword [ebp+8]
	fld	dword [eax+328]
	fstp	dword [edi+328]
	mov	eax,dword [ebp+8]
	fld	dword [eax+332]
	fstp	dword [edi+332]
	mov	eax,dword [ebp+8]
	fld	dword [eax+336]
	fstp	dword [edi+336]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+340]
	mov	dword [edi+340],eax
	mov	eax,edi
	jmp	_2607
_2607:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_CreateSprite:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_sidesign_minib3d_TSprite
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,_350
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebx+100]
	dec	dword [eax+4]
	jnz	_7237
	push	eax
	call	_bbGCFree
	add	esp,4
_7237:
	mov	dword [ebx+100],edi
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,ebx
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	cmp	dword [ebx+20],_bbNullObject
	je	_7240
	mov	edx,dword [ebx+28]
	mov	eax,dword [ebx+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
	jmp	_7243
_7240:
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
_7243:
	mov	eax,ebx
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	esi,eax
	push	0
	push	1065353216
	push	0
	push	0
	push	-1082130432
	push	-1082130432
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	0
	push	0
	push	1065353216
	push	-1082130432
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	0
	push	1065353216
	push	0
	push	1065353216
	push	1065353216
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,28
	push	0
	push	1065353216
	push	1065353216
	push	0
	push	-1082130432
	push	1065353216
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,28
	push	2
	push	1
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,16
	push	3
	push	2
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,16
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,8
	mov	eax,ebx
	jmp	_2610
_2610:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_LoadSprite:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	call	dword [_sidesign_minib3d_TSprite+620]
	add	esp,4
	mov	edi,eax
	push	_bbNullObject
	push	ebx
	push	esi
	call	dword [_sidesign_minib3d_TTexture+60]
	add	esp,12
	mov	edx,edi
	push	0
	push	0
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+132]
	add	esp,16
	mov	eax,ebx
	and	eax,2
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_7257
	mov	eax,ebx
	and	eax,4
	cmp	eax,0
	sete	al
	movzx	eax,al
_7257:
	cmp	eax,0
	je	_7259
	mov	eax,edi
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,8
_7259:
	mov	eax,edi
	jmp	_2615
_2615:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_RotateSprite:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+320]
	mov	eax,0
	jmp	_2619
_2619:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_ScaleSprite:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fstp	dword [eax+324]
	fstp	dword [eax+328]
	mov	eax,0
	jmp	_2624
_2624:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_HandleSprite:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fstp	dword [eax+332]
	fstp	dword [eax+336]
	mov	eax,0
	jmp	_2629
_2629:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSprite_SpriteViewMode:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+340],eax
	mov	eax,0
	jmp	_2633
_2633:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBone_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_New
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TBone
	fldz
	fstp	dword [ebx+264]
	fldz
	fstp	dword [ebx+268]
	fldz
	fstp	dword [ebx+272]
	fldz
	fstp	dword [ebx+276]
	fldz
	fstp	dword [ebx+280]
	fldz
	fstp	dword [ebx+284]
	fldz
	fstp	dword [ebx+288]
	fldz
	fstp	dword [ebx+292]
	fldz
	fstp	dword [ebx+296]
	fldz
	fstp	dword [ebx+300]
	fldz
	fstp	dword [ebx+304]
	fldz
	fstp	dword [ebx+308]
	fldz
	fstp	dword [ebx+312]
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+316],eax
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [ebx+320],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+324],eax
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [ebx+328],eax
	fldz
	fstp	dword [ebx+332]
	fldz
	fstp	dword [ebx+336]
	fldz
	fstp	dword [ebx+340]
	fldz
	fstp	dword [ebx+344]
	fldz
	fstp	dword [ebx+348]
	fldz
	fstp	dword [ebx+352]
	fldz
	fstp	dword [ebx+356]
	xor	eax,eax
	cmp	eax,0
	je	_7265
	push	_351
	call	_brl_blitz_DebugLog
	add	esp,4
_7265:
	mov	eax,0
	jmp	_2636
_2636:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBone_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_7266
	push	_352
	call	_brl_blitz_DebugLog
	add	esp,4
_7266:
_2639:
	mov	eax,dword [ebx+328]
	dec	dword [eax+4]
	jnz	_7269
	push	eax
	call	_bbGCFree
	add	esp,4
_7269:
	mov	eax,dword [ebx+324]
	dec	dword [eax+4]
	jnz	_7271
	push	eax
	call	_bbGCFree
	add	esp,4
_7271:
	mov	eax,dword [ebx+320]
	dec	dword [eax+4]
	jnz	_7273
	push	eax
	call	_bbGCFree
	add	esp,4
_7273:
	mov	eax,dword [ebx+316]
	dec	dword [eax+4]
	jnz	_7275
	push	eax
	call	_bbGCFree
	add	esp,4
_7275:
	mov	dword [ebx],_sidesign_minib3d_TEntity
	push	ebx
	call	__sidesign_minib3d_TEntity_Delete
	add	esp,4
	mov	eax,0
	jmp	_7267
_7267:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBone_CopyEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	push	_sidesign_minib3d_TBone
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_353
_355:
	mov	eax,ebx
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_353
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
_353:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_355
_354:
	mov	eax,edi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
	mov	eax,edi
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	cmp	dword [edi+20],_bbNullObject
	je	_7286
	mov	edx,dword [edi+28]
	mov	eax,dword [edi+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	jmp	_7288
_7286:
	mov	eax,dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_7288:
	mov	edx,dword [edi+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fstp	dword [edi+32]
	mov	eax,dword [ebp+8]
	fld	dword [eax+36]
	fstp	dword [edi+36]
	mov	eax,dword [ebp+8]
	fld	dword [eax+40]
	fstp	dword [edi+40]
	mov	eax,dword [ebp+8]
	fld	dword [eax+44]
	fstp	dword [edi+44]
	mov	eax,dword [ebp+8]
	fld	dword [eax+48]
	fstp	dword [edi+48]
	mov	eax,dword [ebp+8]
	fld	dword [eax+52]
	fstp	dword [edi+52]
	mov	eax,dword [ebp+8]
	fld	dword [eax+56]
	fstp	dword [edi+56]
	mov	eax,dword [ebp+8]
	fld	dword [eax+60]
	fstp	dword [edi+60]
	mov	eax,dword [ebp+8]
	fld	dword [eax+64]
	fstp	dword [edi+64]
	mov	eax,dword [ebp+8]
	fld	dword [eax+68]
	fstp	dword [edi+68]
	mov	eax,dword [ebp+8]
	fld	dword [eax+72]
	fstp	dword [edi+72]
	mov	eax,dword [ebp+8]
	fld	dword [eax+76]
	fstp	dword [edi+76]
	mov	eax,dword [ebp+8]
	fld	dword [eax+80]
	fstp	dword [edi+80]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+96]
	inc	dword [ebx+4]
	mov	eax,dword [edi+96]
	dec	dword [eax+4]
	jnz	_7294
	push	eax
	call	_bbGCFree
	add	esp,4
_7294:
	mov	dword [edi+96],ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+100]
	inc	dword [ebx+4]
	mov	eax,dword [edi+100]
	dec	dword [eax+4]
	jnz	_7298
	push	eax
	call	_bbGCFree
	add	esp,4
_7298:
	mov	dword [edi+100],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+108]
	mov	dword [edi+108],eax
	mov	dword [edi+104],0
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edi+264]
	mov	eax,dword [ebp+8]
	fld	dword [eax+268]
	fstp	dword [edi+268]
	mov	eax,dword [ebp+8]
	fld	dword [eax+272]
	fstp	dword [edi+272]
	mov	eax,dword [ebp+8]
	fld	dword [eax+276]
	fstp	dword [edi+276]
	mov	eax,dword [ebp+8]
	fld	dword [eax+280]
	fstp	dword [edi+280]
	mov	eax,dword [ebp+8]
	fld	dword [eax+284]
	fstp	dword [edi+284]
	mov	eax,dword [ebp+8]
	fld	dword [eax+288]
	fstp	dword [edi+288]
	mov	eax,dword [ebp+8]
	fld	dword [eax+292]
	fstp	dword [edi+292]
	mov	eax,dword [ebp+8]
	fld	dword [eax+296]
	fstp	dword [edi+296]
	mov	eax,dword [ebp+8]
	fld	dword [eax+300]
	fstp	dword [edi+300]
	mov	eax,dword [ebp+8]
	fld	dword [eax+304]
	fstp	dword [edi+304]
	mov	eax,dword [ebp+8]
	fld	dword [eax+308]
	fstp	dword [edi+308]
	mov	eax,dword [ebp+8]
	fld	dword [eax+312]
	fstp	dword [edi+312]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+316]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+316]
	dec	dword [eax+4]
	jnz	_7303
	push	eax
	call	_bbGCFree
	add	esp,4
_7303:
	mov	dword [edi+316],ebx
	mov	eax,dword [ebp+8]
	fld	dword [eax+332]
	fstp	dword [edi+332]
	mov	eax,dword [ebp+8]
	fld	dword [eax+336]
	fstp	dword [edi+336]
	mov	eax,dword [ebp+8]
	fld	dword [eax+340]
	fstp	dword [edi+340]
	mov	eax,dword [ebp+8]
	fld	dword [eax+344]
	fstp	dword [edi+344]
	mov	eax,dword [ebp+8]
	fld	dword [eax+348]
	fstp	dword [edi+348]
	mov	eax,dword [ebp+8]
	fld	dword [eax+352]
	fstp	dword [edi+352]
	mov	eax,dword [ebp+8]
	fld	dword [eax+356]
	fstp	dword [edi+356]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+320]
	dec	dword [eax+4]
	jnz	_7308
	push	eax
	call	_bbGCFree
	add	esp,4
_7308:
	mov	dword [edi+320],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+324]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+324]
	dec	dword [eax+4]
	jnz	_7313
	push	eax
	call	_bbGCFree
	add	esp,4
_7313:
	mov	dword [edi+324],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+328]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+328]
	dec	dword [eax+4]
	jnz	_7318
	push	eax
	call	_bbGCFree
	add	esp,4
_7318:
	mov	dword [edi+328],ebx
	mov	eax,edi
	jmp	_2643
_2643:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBone_FreeEntity:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	__sidesign_minib3d_TEntity_FreeEntity
	add	esp,4
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+316]
	dec	dword [eax+4]
	jnz	_7322
	push	eax
	call	_bbGCFree
	add	esp,4
_7322:
	mov	dword [esi+316],ebx
	mov	eax,0
	jmp	_2646
_2646:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBone_UpdateBoneChildren:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2649
_2649:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBone_Update:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2652
_2652:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TEntity_New
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TTerrain
	fldz
	fstp	dword [ebx+264]
	fldz
	fstp	dword [ebx+268]
	fldz
	fstp	dword [ebx+272]
	mov	dword [ebx+276],0
	push	11
	push	_7335
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+280],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+284],eax
	fldz
	fstp	dword [ebx+288]
	fldz
	fstp	dword [ebx+292]
	fldz
	fstp	dword [ebx+296]
	fldz
	fstp	dword [ebx+300]
	fldz
	fstp	dword [ebx+304]
	fldz
	fstp	dword [ebx+308]
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+312],eax
	push	_sidesign_minib3d_TColTree
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [ebx+316],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+320],eax
	mov	eax,0
	jmp	_2655
_2655:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2658:
	mov	eax,dword [ebx+320]
	dec	dword [eax+4]
	jnz	_7343
	push	eax
	call	_bbGCFree
	add	esp,4
_7343:
	mov	eax,dword [ebx+316]
	dec	dword [eax+4]
	jnz	_7345
	push	eax
	call	_bbGCFree
	add	esp,4
_7345:
	mov	eax,dword [ebx+312]
	dec	dword [eax+4]
	jnz	_7347
	push	eax
	call	_bbGCFree
	add	esp,4
_7347:
	mov	eax,dword [ebx+284]
	dec	dword [eax+4]
	jnz	_7349
	push	eax
	call	_bbGCFree
	add	esp,4
_7349:
	mov	eax,dword [ebx+280]
	dec	dword [eax+4]
	jnz	_7351
	push	eax
	call	_bbGCFree
	add	esp,4
_7351:
	mov	dword [ebx],_sidesign_minib3d_TEntity
	push	ebx
	call	__sidesign_minib3d_TEntity_Delete
	add	esp,4
	mov	eax,0
	jmp	_7341
_7341:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_SetVSize:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+268]
	mov	eax,0
	jmp	_2662
_2662:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_CopyEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,_bbNullObject
	jmp	_2666
_2666:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	jmp	_7353
_361:
	mov	ebx,dword [edi+280]
	fld	qword [_11827]
	fstp	qword [ebp-8]
	mov	eax,3
	mov	ecx,esi
	shl	eax,cl
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-8]
	fdivrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fstp	dword [ebx+esi*4+24]
_359:
	add	esi,1
_7353:
	cmp	esi,10
	jle	_361
_360:
	push	1132396544
	push	1132396544
	push	1132396544
	call	_sidesign_minib3d_CreateBrush
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+132]
	dec	dword [eax+4]
	jnz	_7357
	push	eax
	call	_bbGCFree
	add	esp,4
_7357:
	mov	dword [edi+132],ebx
	call	_C_NewMeshInfo
	mov	dword [__sidesign_minib3d_TTerrain_mesh_info],eax
	mov	ebx,dword [edi+316]
	push	dword [__sidesign_minib3d_TTerrain_mesh_info]
	call	_C_CreateColTree
	add	esp,4
	mov	dword [ebx+8],eax
	push	dword [__sidesign_minib3d_TTerrain_mesh_info]
	call	_C_DeleteMeshInfo
	add	esp,4
	push	edi
	push	dword [__sidesign_minib3d_TTerrain_terrain_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,edi
	jmp	_2669
_2669:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_Free:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	push	dword [__sidesign_minib3d_TTerrain_terrain_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	eax,0
	jmp	_2672
_2672:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,76
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-76],0
	push	2912
	call	_glIsEnabled@4
	mov	eax,eax
	cmp	eax,1
	jne	_7359
	mov	dword [ebp-76],1
_7359:
	push	3008
	call	_glDisable@4
	mov	eax,dword [ebp+8]
	cmp	dword [eax+108],0
	je	_7360
	push	2929
	call	_glDisable@4
	push	0
	call	_glDepthMask@4
	jmp	_7361
_7360:
	push	2929
	call	_glEnable@4
	push	1
	call	_glDepthMask@4
_7361:
	push	3042
	call	_glDisable@4
	push	1
	call	_glDepthMask@4
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+36]
	cmp	eax,0
	je	_7364
	cmp	eax,1
	je	_7365
	cmp	eax,2
	je	_7366
	cmp	eax,3
	je	_7367
	jmp	_7363
_7364:
	push	771
	push	770
	call	_glBlendFunc@8
	jmp	_7363
_7365:
	push	771
	push	770
	call	_glBlendFunc@8
	jmp	_7363
_7366:
	push	0
	push	774
	call	_glBlendFunc@8
	jmp	_7363
_7367:
	push	1
	push	770
	call	_glBlendFunc@8
	jmp	_7363
_7363:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+40]
	and	eax,1
	cmp	eax,0
	je	_7371
	fld	dword [_11836]
	fstp	dword [ebp-56]
	fld	dword [_11837]
	fstp	dword [ebp-52]
	fld	dword [_11838]
	fstp	dword [ebp-60]
	jmp	_7372
_7371:
	fld	dword [__sidesign_minib3d_TGlobal_ambient_red]
	fstp	dword [ebp-56]
	fld	dword [__sidesign_minib3d_TGlobal_ambient_green]
	fstp	dword [ebp-52]
	fld	dword [__sidesign_minib3d_TGlobal_ambient_blue]
	fstp	dword [ebp-60]
_7372:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+40]
	and	eax,2
	cmp	eax,0
	je	_7373
	push	2903
	call	_glEnable@4
	jmp	_7374
_7373:
	push	2903
	call	_glDisable@4
_7374:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+40]
	and	eax,4
	cmp	eax,0
	je	_7375
	push	7424
	call	_glShadeModel@4
	jmp	_7376
_7375:
	push	7425
	call	_glShadeModel@4
_7376:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+40]
	and	eax,8
	cmp	eax,0
	je	_7377
	push	2912
	call	_glDisable@4
_7377:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+40]
	and	eax,16
	cmp	eax,0
	je	_7378
	push	2884
	call	_glDisable@4
	jmp	_7379
_7378:
	push	2884
	call	_glEnable@4
_7379:
	push	3
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebp-56]
	fstp	dword [eax+24]
	fld	dword [ebp-52]
	fstp	dword [eax+28]
	fld	dword [ebp-60]
	fstp	dword [eax+32]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+24]
	push	eax
	push	2899
	call	_glLightModelfv@8
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+16]
	fstp	dword [eax+24]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+20]
	fstp	dword [eax+28]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+24]
	fstp	dword [eax+32]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+28]
	fstp	dword [eax+36]
	mov	dword [ebp-8],eax
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+16]
	fstp	dword [eax+24]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+20]
	fstp	dword [eax+28]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+24]
	fstp	dword [eax+32]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+28]
	fstp	dword [eax+36]
	mov	dword [ebp-12],eax
	push	4
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+32]
	fstp	dword [eax+24]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+32]
	fstp	dword [eax+28]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+32]
	fstp	dword [eax+32]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+132]
	fld	dword [edx+32]
	fstp	dword [eax+36]
	mov	dword [ebp-16],eax
	push	1
	push	_867
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [_11839]
	fstp	dword [eax+24]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp-8]
	lea	eax,dword [eax+24]
	push	eax
	push	4608
	push	1028
	call	_glMaterialfv@12
	mov	eax,dword [ebp-12]
	lea	eax,dword [eax+24]
	push	eax
	push	4609
	push	1028
	call	_glMaterialfv@12
	mov	eax,dword [ebp-16]
	lea	eax,dword [eax+24]
	push	eax
	push	4610
	push	1028
	call	_glMaterialfv@12
	mov	eax,dword [ebp-20]
	lea	eax,dword [eax+24]
	push	eax
	push	5633
	push	1028
	call	_glMaterialfv@12
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+8]
	mov	dword [ebp-72],eax
	mov	edi,0
	mov	eax,dword [ebp-72]
	sub	eax,1
	mov	dword [ebp-68],eax
	jmp	_7392
_364:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	cmp	dword [eax+edi*4+24],_bbNullObject
	je	_7394
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	ebx,dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+16]
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+24]
	fstp	dword [ebp-44]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+28]
	fstp	dword [ebp-48]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+32]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+36]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+40]
	fstp	dword [ebp-40]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+80]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	mov	esi,dword [eax+44]
	mov	eax,edi
	add	eax,33984
	push	eax
	call	dword [___glewActiveTextureARB]
	mov	eax,edi
	add	eax,33984
	push	eax
	call	dword [___glewClientActiveTextureARB]
	push	3553
	call	_glEnable@4
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+60]
	push	dword [eax+esi*4+24]
	push	3553
	call	_glBindTexture@8
	mov	eax,ebx
	and	eax,4
	cmp	eax,0
	je	_7406
	push	3008
	call	_glEnable@4
	jmp	_7407
_7406:
	push	3008
	call	_glDisable@4
_7407:
	mov	eax,ebx
	and	eax,8
	cmp	eax,0
	je	_7408
	push	9729
	push	10240
	push	3553
	call	_glTexParameteri@12
	push	9987
	push	10241
	push	3553
	call	_glTexParameteri@12
	jmp	_7409
_7408:
	push	9729
	push	10240
	push	3553
	call	_glTexParameteri@12
	push	9729
	push	10241
	push	3553
	call	_glTexParameteri@12
_7409:
	mov	eax,ebx
	and	eax,16
	cmp	eax,0
	je	_7410
	push	33071
	push	10242
	push	3553
	call	_glTexParameteri@12
	jmp	_7411
_7410:
	push	10497
	push	10242
	push	3553
	call	_glTexParameteri@12
_7411:
	mov	eax,ebx
	and	eax,32
	cmp	eax,0
	je	_7412
	push	33071
	push	10243
	push	3553
	call	_glTexParameteri@12
	jmp	_7413
_7412:
	push	10497
	push	10243
	push	3553
	call	_glTexParameteri@12
_7413:
	mov	eax,ebx
	and	eax,64
	cmp	eax,0
	je	_7414
	push	9218
	push	9472
	push	8192
	call	_glTexGeni@12
	push	9218
	push	9472
	push	8193
	call	_glTexGeni@12
	push	3168
	call	_glEnable@4
	push	3169
	call	_glEnable@4
	jmp	_7415
_7414:
	push	3168
	call	_glDisable@4
	push	3169
	call	_glDisable@4
_7415:
	mov	eax,ebx
	and	eax,128
	cmp	eax,0
	je	_7416
	push	34067
	call	_glEnable@4
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+60]
	push	dword [eax+esi*4+24]
	push	34067
	call	_glBindTexture@8
	push	33071
	push	10242
	push	34067
	call	_glTexParameteri@12
	push	33071
	push	10243
	push	34067
	call	_glTexParameteri@12
	push	33071
	push	32882
	push	34067
	call	_glTexParameteri@12
	push	9728
	push	10241
	push	34067
	call	_glTexParameteri@12
	push	9728
	push	10240
	push	34067
	call	_glTexParameteri@12
	push	3168
	call	_glEnable@4
	push	3169
	call	_glEnable@4
	push	3170
	call	_glEnable@4
	cmp	dword [ebp-32],1
	jne	_7417
	push	34066
	push	9472
	push	8192
	call	_glTexGeni@12
	push	34066
	push	9472
	push	8193
	call	_glTexGeni@12
	push	34066
	push	9472
	push	8194
	call	_glTexGeni@12
_7417:
	cmp	dword [ebp-32],2
	jne	_7418
	push	34065
	push	9472
	push	8192
	call	_glTexGeni@12
	push	34065
	push	9472
	push	8193
	call	_glTexGeni@12
	push	34065
	push	9472
	push	8194
	call	_glTexGeni@12
_7418:
	jmp	_7419
_7416:
	push	34067
	call	_glDisable@4
	mov	eax,ebx
	and	eax,64
	cmp	eax,0
	jne	_7420
	push	3168
	call	_glDisable@4
	push	3169
	call	_glDisable@4
_7420:
	push	3170
	call	_glDisable@4
_7419:
	mov	eax,dword [ebp-64]
	cmp	eax,0
	je	_7423
	cmp	eax,1
	je	_7424
	cmp	eax,2
	je	_7425
	cmp	eax,3
	je	_7426
	cmp	eax,4
	je	_7427
	cmp	eax,5
	je	_7428
	push	1174667264
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7422
_7423:
	push	1173358592
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7422
_7424:
	push	1173358592
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7422
_7425:
	push	1174667264
	push	34161
	push	8960
	call	_glTexEnvf@12
	jmp	_7422
_7426:
	push	1132593152
	push	8704
	push	8960
	call	_glTexEnvf@12
	jmp	_7422
_7427:
	push	1191538688
	push	8704
	push	8960
	call	_glTexEnvf@12
	push	1191657472
	push	34161
	push	8960
	call	_glTexEnvf@12
	jmp	_7422
_7428:
	push	34160
	push	8704
	push	8960
	call	_glTexEnvi@12
	push	8448
	push	34161
	push	8960
	call	_glTexEnvi@12
	push	2
	push	34163
	push	8960
	call	_glTexEnvi@12
	jmp	_7422
_7422:
	push	5890
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	fldz
	fld	dword [ebp-36]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7429
	fldz
	fld	dword [ebp-28]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_7429:
	cmp	eax,0
	je	_7431
	push	0
	push	dword [ebp-28]
	push	dword [ebp-36]
	call	_glTranslatef@12
_7431:
	fldz
	fld	dword [ebp-40]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7432
	push	1065353216
	push	0
	push	0
	push	dword [ebp-40]
	call	_glRotatef@16
_7432:
	fldz
	fld	dword [ebp-44]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7433
	fldz
	fld	dword [ebp-48]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_7433:
	cmp	eax,0
	je	_7435
	push	1065353216
	push	dword [ebp-48]
	push	dword [ebp-44]
	call	_glScalef@12
_7435:
	mov	eax,ebx
	and	eax,64
	cmp	eax,0
	je	_7436
	push	-1082130432
	push	-1082130432
	push	1065353216
	call	_glScalef@12
_7436:
	mov	eax,ebx
	and	eax,128
	cmp	eax,0
	je	_7437
	push	-1082130432
	push	-1082130432
	push	1065353216
	call	_glScalef@12
	push	16
	push	_7438
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	lea	eax,qword [esi+24]
	push	eax
	push	2982
	call	_glGetDoublev@8
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,dword [ebx+8]
	fld	qword [esi+24]
	fstp	dword [eax+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	fld	qword [esi+8+24]
	fstp	dword [eax+edx*4+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	fld	qword [esi+16+24]
	fstp	dword [eax+edx*4+28]
	mov	eax,dword [ebx+8]
	fld	qword [esi+32+24]
	fstp	dword [eax+4+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fld	qword [esi+40+24]
	fstp	dword [eax+edx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	qword [esi+48+24]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+8]
	fld	qword [esi+64+24]
	fstp	dword [eax+8+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	add	edx,2
	fld	qword [esi+72+24]
	fstp	dword [eax+edx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	qword [esi+80+24]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+8]
	lea	eax,dword [eax+28]
	push	eax
	call	_glMultMatrixf@4
_7437:
_7394:
_362:
	add	edi,1
_7392:
	cmp	edi,dword [ebp-68]
	jle	_364
_363:
	push	5888
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+8]
	lea	eax,dword [eax+28]
	push	eax
	call	_glMultMatrixf@4
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+508]
	add	esp,4
	call	_glPopMatrix@0
	mov	esi,0
	mov	ebx,dword [ebp-72]
	sub	ebx,1
	jmp	_7444
_367:
	mov	eax,esi
	add	eax,33984
	push	eax
	call	dword [___glewActiveTextureARB]
	mov	eax,esi
	add	eax,33984
	push	eax
	call	dword [___glewClientActiveTextureARB]
	push	5890
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	push	3553
	call	_glDisable@4
	push	34067
	call	_glDisable@4
	push	3168
	call	_glDisable@4
	push	3169
	call	_glDisable@4
	push	3170
	call	_glDisable@4
_365:
	add	esi,1
_7444:
	cmp	esi,ebx
	jle	_367
_366:
	cmp	dword [ebp-76],1
	jne	_7446
	push	2912
	call	_glEnable@4
_7446:
	mov	eax,0
	jmp	_2675
_2675:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_RecreateROAM:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	cmp	dword [eax+312],_bbNullObject
	jne	_7447
	mov	eax,0
	jmp	_2678
_7447:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	mov	eax,dword [ebp+8]
	fstp	dword [eax+288]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	mov	eax,dword [ebp+8]
	fstp	dword [eax+292]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+312]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	fchs
	mov	eax,dword [ebp+8]
	fstp	dword [eax+296]
	push	4
	push	_7452
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	dword [ebp-4],0
	jmp	_7454
_370:
	push	3
	push	_7455
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_7459
	push	eax
	call	_bbGCFree
	add	esp,4
_7459:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	dword [eax+edx*4+24],ebx
_368:
	add	dword [ebp-4],1
_7454:
	cmp	dword [ebp-4],3
	jle	_370
_369:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+24]
	fldz
	fstp	dword [eax+24]
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edx+8+24]
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edx+24]
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edx+8+24]
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+8+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edx+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8+24]
	fldz
	fstp	dword [eax+8+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12+24]
	fldz
	fstp	dword [eax+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12+24]
	fldz
	fstp	dword [eax+8+24]
	mov	dword [ebp-4],0
	jmp	_7460
_373:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+284]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+284]
	imul	eax,dword [edx+24]
	mov	ebx,eax
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	add	ebx,eax
	fld	dword [esi+ebx*4+28]
	mov	eax,dword [ebp+8]
	fadd	dword [eax+272]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+268]
	fstp	dword [edi+4+24]
_371:
	add	dword [ebp-4],1
_7460:
	cmp	dword [ebp-4],3
	jle	_373
_372:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+316]
	cmp	dword [eax+8],0
	je	_7461
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+316]
	push	dword [eax+8]
	call	_C_DeleteColTree
	add	esp,4
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+316]
	mov	dword [eax+8],0
_7461:
	call	_C_NewMeshInfo
	mov	dword [__sidesign_minib3d_TTerrain_mesh_info],eax
	mov	dword [__sidesign_minib3d_TTerrain_triangleindex],0
	push	4
	call	_glBegin@4
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+276]
	imul	ebx,10
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp-8]
	push	dword [eax+8+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+4+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+24]
	push	ebx
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+512]
	add	esp,20
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp-8]
	push	dword [eax+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+12+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+8+24]
	push	ebx
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+512]
	add	esp,20
	call	_glEnd@0
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+316]
	push	dword [__sidesign_minib3d_TTerrain_mesh_info]
	call	_C_CreateColTree
	add	esp,4
	mov	dword [ebx+8],eax
	push	dword [__sidesign_minib3d_TTerrain_mesh_info]
	call	_C_DeleteMeshInfo
	add	esp,4
	mov	eax,0
	jmp	_2678
_2678:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_drawsub:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	3
	push	_7465
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	cmp	dword [ebp+12],10
	jge	_7473
	mov	eax,dword [ebp+16]
	fld	dword [eax+24]
	mov	eax,dword [ebp+24]
	fadd	dword [eax+24]
	fdiv	dword [_11892]
	fstp	dword [ebx+24]
	mov	eax,dword [ebp+16]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp+24]
	fadd	dword [eax+8+24]
	fdiv	dword [_11893]
	fstp	dword [ebx+8+24]
	mov	eax,dword [esi+284]
	mov	dword [ebp-20],eax
	fld	dword [ebx+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [esi+284]
	imul	eax,dword [edx+24]
	mov	edi,eax
	fld	dword [ebx+8+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	add	edi,eax
	mov	eax,dword [ebp-20]
	fld	dword [eax+edi*4+28]
	fadd	dword [esi+272]
	fmul	dword [esi+268]
	fstp	dword [ebx+4+24]
	mov	edx,dword [esi+280]
	mov	eax,dword [ebp+12]
	fld	dword [edx+eax*4+24]
	fld	dword [ebx+24]
	fsub	dword [esi+288]
	fld	dword [ebx+4+24]
	fsub	dword [esi+292]
	fld	dword [ebx+8+24]
	fsub	dword [esi+296]
	fxch	st2
	fmul	st0,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	fxch	st1
	fmul	st0,st0
	fxch	st1
	fmul	dword [_11894]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_7474
	mov	eax,esi
	push	dword [ebp+16]
	push	ebx
	push	dword [ebp+20]
	mov	edx,dword [ebp+12]
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+512]
	add	esp,20
	mov	eax,esi
	push	dword [ebp+20]
	push	ebx
	push	dword [ebp+24]
	mov	edx,dword [ebp+12]
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+512]
	add	esp,20
	mov	eax,0
	jmp	_2685
_7474:
_7473:
	push	3
	push	_7477
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebp+20]
	fld	dword [eax+24]
	mov	eax,dword [ebp+16]
	fsub	dword [eax+24]
	mov	eax,dword [ebp+20]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp+16]
	fsub	dword [eax+4+24]
	mov	eax,dword [ebp+20]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp+16]
	fsub	dword [eax+8+24]
	fstp	dword [ebp-8]
	mov	eax,dword [ebp+24]
	fld	dword [eax+24]
	mov	eax,dword [ebp+20]
	fsub	dword [eax+24]
	mov	eax,dword [ebp+24]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp+20]
	fsub	dword [eax+4+24]
	mov	eax,dword [ebp+24]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp+20]
	fsub	dword [eax+8+24]
	fld	st3
	fmul	st0,st1
	fld	dword [ebp-8]
	fmul	st0,st3
	fsubp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-8]
	fmul	st0,st3
	fld	st5
	fmulp	st2,st0
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fmulp	st3,st0
	fmulp	st1,st0
	fsubp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	fld	dword [ebp-12]
	fmul	dword [ebp-12]
	faddp	st1,st0
	fld	dword [ebp-4]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7489
	fstp	st0
	fld	dword [_11905]
_7489:
	fld	dword [ebp-16]
	fdiv	st0,st1
	fstp	dword [ebp-16]
	fld	dword [ebp-12]
	fdiv	st0,st1
	fstp	dword [ebp-12]
	fld	dword [ebp-4]
	fdivrp	st1,st0
	fstp	dword [ebp-4]
	mov	eax,dword [ebp+16]
	fld	dword [eax+24]
	fstp	dword [ebx+24]
	mov	eax,dword [ebp+16]
	fld	dword [eax+8+24]
	fstp	dword [ebx+4+24]
	fldz
	fstp	dword [ebx+8+24]
	push	dword [ebx+4+24]
	push	dword [ebx+24]
	push	33984
	call	dword [___glewMultiTexCoord2fARB]
	push	dword [ebx+4+24]
	push	dword [ebx+24]
	push	33985
	call	dword [___glewMultiTexCoord2fARB]
	push	dword [ebp-4]
	push	dword [ebp-12]
	push	dword [ebp-16]
	call	_glNormal3f@12
	mov	eax,dword [ebp+16]
	push	dword [eax+8+24]
	mov	eax,dword [ebp+16]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+16]
	push	dword [eax+24]
	call	_glVertex3f@12
	mov	eax,dword [ebp+20]
	fld	dword [eax+24]
	fstp	dword [ebx+24]
	mov	eax,dword [ebp+20]
	fld	dword [eax+8+24]
	fstp	dword [ebx+4+24]
	fldz
	fstp	dword [ebx+8+24]
	push	dword [ebx+4+24]
	push	dword [ebx+24]
	push	33984
	call	dword [___glewMultiTexCoord2fARB]
	push	dword [ebx+4+24]
	push	dword [ebx+24]
	push	33985
	call	dword [___glewMultiTexCoord2fARB]
	push	dword [ebp-4]
	push	dword [ebp-12]
	push	dword [ebp-16]
	call	_glNormal3f@12
	mov	eax,dword [ebp+20]
	push	dword [eax+8+24]
	mov	eax,dword [ebp+20]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+20]
	push	dword [eax+24]
	call	_glVertex3f@12
	mov	eax,dword [ebp+24]
	fld	dword [eax+24]
	fstp	dword [ebx+24]
	mov	eax,dword [ebp+24]
	fld	dword [eax+8+24]
	fstp	dword [ebx+4+24]
	fldz
	fstp	dword [ebx+8+24]
	push	dword [ebx+4+24]
	push	dword [ebx+24]
	push	33984
	call	dword [___glewMultiTexCoord2fARB]
	push	dword [ebx+4+24]
	push	dword [ebx+24]
	push	33985
	call	dword [___glewMultiTexCoord2fARB]
	push	dword [ebp-4]
	push	dword [ebp-12]
	push	dword [ebp-16]
	call	_glNormal3f@12
	mov	eax,dword [ebp+24]
	push	dword [eax+8+24]
	mov	eax,dword [ebp+24]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+24]
	push	dword [eax+24]
	call	_glVertex3f@12
	push	0
	mov	eax,dword [ebp+16]
	fld	dword [eax+8+24]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+16]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+16]
	push	dword [eax+24]
	push	dword [__sidesign_minib3d_TTerrain_mesh_info]
	call	_C_AddVertex
	add	esp,20
	push	0
	mov	eax,dword [ebp+20]
	fld	dword [eax+8+24]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+20]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+20]
	push	dword [eax+24]
	push	dword [__sidesign_minib3d_TTerrain_mesh_info]
	call	_C_AddVertex
	add	esp,20
	push	0
	mov	eax,dword [ebp+24]
	fld	dword [eax+8+24]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+24]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+24]
	push	dword [eax+24]
	push	dword [__sidesign_minib3d_TTerrain_mesh_info]
	call	_C_AddVertex
	add	esp,20
	push	0
	mov	eax,dword [__sidesign_minib3d_TTerrain_triangleindex]
	imul	eax,3
	mov	eax,eax
	and	eax,0xffff
	push	eax
	mov	eax,dword [__sidesign_minib3d_TTerrain_triangleindex]
	imul	eax,3
	add	eax,1
	mov	eax,eax
	and	eax,0xffff
	push	eax
	mov	eax,dword [__sidesign_minib3d_TTerrain_triangleindex]
	imul	eax,3
	add	eax,2
	mov	eax,eax
	and	eax,0xffff
	push	eax
	push	dword [__sidesign_minib3d_TTerrain_triangleindex]
	push	dword [__sidesign_minib3d_TTerrain_mesh_info]
	call	_C_AddTriangle
	add	esp,24
	add	dword [__sidesign_minib3d_TTerrain_triangleindex],1
	mov	eax,0
	jmp	_2685
_2685:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_FromPixmap:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+12]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
	mov	edx,dword [ebp+8]
	mov	dword [edx+276],eax
	fld	dword [_11911]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+268]
	fld	dword [_11912]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+264]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fadd	dword [_11913]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fadd	dword [_11914]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	2
	push	_7490
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+284]
	dec	dword [eax+4]
	jnz	_7494
	push	eax
	call	_bbGCFree
	add	esp,4
_7494:
	mov	eax,dword [ebp+8]
	mov	dword [eax+284],ebx
	mov	eax,dword [ebp+8]
	cmp	dword [eax+276],0
	je	_7495
	mov	eax,0
	jmp	_2689
_7495:
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp+12]
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	dword [ebp+12],eax
	mov	edi,0
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fsub	dword [_11915]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-8],eax
	jmp	_7498
_376:
	mov	ebx,0
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fsub	dword [_11916]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-4],eax
	jmp	_7501
_379:
	push	ebx
	push	edi
	push	dword [ebp+12]
	call	_brl_pixmap_ReadPixel
	add	esp,12
	and	eax,255
	mov	ecx,eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+284]
	mov	eax,edi
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+284]
	imul	eax,dword [esi+24]
	add	eax,ebx
	mov	dword [ebp+-12],ecx
	fild	dword [ebp+-12]
	fdiv	dword [_11917]
	fstp	dword [edx+eax*4+28]
_377:
	add	ebx,1
_7501:
	cmp	ebx,dword [ebp-4]
	jle	_379
_378:
_374:
	add	edi,1
_7498:
	cmp	edi,dword [ebp-8]
	jle	_376
_375:
	mov	eax,0
	jmp	_2689
_2689:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_Load:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+12]
	push	eax
	call	_brl_pixmap_LoadPixmap
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
	mov	edx,dword [ebp+8]
	mov	dword [edx+276],eax
	fld	dword [_11921]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+268]
	fld	dword [_11922]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+264]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fadd	dword [_11923]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fadd	dword [_11924]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	2
	push	_7504
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+284]
	dec	dword [eax+4]
	jnz	_7508
	push	eax
	call	_bbGCFree
	add	esp,4
_7508:
	mov	eax,dword [ebp+8]
	mov	dword [eax+284],ebx
	mov	eax,dword [ebp+8]
	cmp	dword [eax+276],0
	je	_7509
	mov	eax,0
	jmp	_2693
_7509:
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp-8]
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	dword [ebp-8],eax
	mov	edi,0
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fsub	dword [_11925]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-12],eax
	jmp	_7512
_382:
	mov	ebx,0
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fsub	dword [_11926]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-4],eax
	jmp	_7515
_385:
	push	ebx
	push	edi
	push	dword [ebp-8]
	call	_brl_pixmap_ReadPixel
	add	esp,12
	and	eax,255
	mov	ecx,eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+284]
	mov	eax,edi
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+284]
	imul	eax,dword [esi+24]
	add	eax,ebx
	mov	dword [ebp+-16],ecx
	fild	dword [ebp+-16]
	fdiv	dword [_11927]
	fstp	dword [edx+eax*4+28]
_383:
	add	ebx,1
_7515:
	cmp	ebx,dword [ebp-4]
	jle	_385
_384:
_380:
	add	edi,1
_7512:
	cmp	edi,dword [ebp-12]
	jle	_382
_381:
	mov	eax,0
	jmp	_2693
_2693:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_ReadHeight:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	cmp	edx,0
	jge	_7517
	fld	dword [ebx+272]
	fmul	dword [ebx+268]
	jmp	_2698
_7517:
	cmp	ecx,0
	jge	_7518
	fld	dword [ebx+272]
	fmul	dword [ebx+268]
	jmp	_2698
_7518:
	mov	dword [ebp+-4],edx
	fild	dword [ebp+-4]
	fld	dword [ebx+264]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_7519
	fld	dword [ebx+272]
	fmul	dword [ebx+268]
	jmp	_2698
_7519:
	mov	dword [ebp+-4],ecx
	fild	dword [ebp+-4]
	fld	dword [ebx+264]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_7520
	fld	dword [ebx+272]
	fmul	dword [ebx+268]
	jmp	_2698
_7520:
	mov	eax,dword [ebx+284]
	mov	esi,dword [ebx+284]
	imul	edx,dword [esi+24]
	add	edx,ecx
	fld	dword [eax+edx*4+28]
	fadd	dword [ebx+272]
	fmul	dword [ebx+268]
	jmp	_2698
_2698:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_GetHeight:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	esi,eax
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	fld	dword [ebp+12]
	mov	dword [ebp+-32],esi
	fild	dword [ebp+-32]
	fsubp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp+16]
	mov	dword [ebp+-32],ebx
	fild	dword [ebp+-32]
	fsubp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [_11939]
	fsub	dword [ebp-4]
	fstp	dword [ebp-12]
	fld	dword [_11940]
	fsub	dword [ebp-8]
	fstp	dword [ebp-24]
	mov	eax,edi
	push	ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+524]
	add	esp,12
	fstp	dword [ebp-16]
	mov	eax,edi
	push	ebx
	mov	edx,esi
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+524]
	add	esp,12
	fstp	dword [ebp-20]
	mov	eax,edi
	mov	edx,ebx
	add	edx,1
	push	edx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+524]
	add	esp,12
	fstp	dword [ebp-28]
	mov	eax,edi
	mov	edx,ebx
	add	edx,1
	push	edx
	mov	edx,esi
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+524]
	add	esp,12
	fld	dword [ebp-12]
	fmul	dword [ebp-16]
	fld	dword [ebp-4]
	fmul	dword [ebp-20]
	faddp	st1,st0
	fld	dword [ebp-12]
	fmul	dword [ebp-28]
	fld	dword [ebp-4]
	fmulp	st3,st0
	faddp	st2,st0
	fld	dword [ebp-24]
	fmulp	st1,st0
	fld	dword [ebp-8]
	fmulp	st2,st0
	faddp	st1,st0
	jmp	_2703
_2703:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_GetY:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+12]
	mov	eax,dword [ebp+8]
	cmp	dword [eax+312],_bbNullObject
	jne	_7538
	fstp	st0
	fld	dword [_11945]
	jmp	_2708
_7538:
	mov	eax,dword [ebp+8]
	fst	dword [eax+300]
	mov	eax,dword [ebp+8]
	fld	dword [ebp+16]
	fchs
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+528]
	add	esp,12
	mov	eax,dword [ebp+8]
	fstp	dword [eax+304]
	fld	dword [ebp+16]
	fchs
	mov	eax,dword [ebp+8]
	fstp	dword [eax+308]
	push	4
	push	_7541
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	dword [ebp-4],0
	jmp	_7543
_388:
	push	3
	push	_7544
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_7548
	push	eax
	call	_bbGCFree
	add	esp,4
_7548:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	dword [eax+edx*4+24],ebx
_386:
	add	dword [ebp-4],1
_7543:
	cmp	dword [ebp-4],3
	jle	_388
_387:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+24]
	fldz
	fstp	dword [eax+24]
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edx+8+24]
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edx+24]
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edx+8+24]
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+8+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+264]
	fstp	dword [edx+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8+24]
	fldz
	fstp	dword [eax+8+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12+24]
	fldz
	fstp	dword [eax+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12+24]
	fldz
	fstp	dword [eax+8+24]
	mov	dword [ebp-4],0
	jmp	_7549
_391:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+284]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+284]
	imul	eax,dword [edx+24]
	mov	ebx,eax
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	add	ebx,eax
	fld	dword [esi+ebx*4+28]
	fstp	dword [edi+4+24]
_389:
	add	dword [ebp-4],1
_7549:
	cmp	dword [ebp-4],3
	jle	_391
_390:
	fldz
	fstp	dword [__sidesign_minib3d_TTerrain_rethigh]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+276]
	imul	ebx,10
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp-8]
	push	dword [eax+8+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+4+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+24]
	push	ebx
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+536]
	add	esp,20
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp-8]
	push	dword [eax+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+12+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+8+24]
	push	ebx
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+536]
	add	esp,20
	fld	dword [__sidesign_minib3d_TTerrain_rethigh]
	mov	eax,dword [ebp+8]
	fadd	dword [eax+272]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+268]
	jmp	_2708
_2708:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTerrain_getsub:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+24]
	push	dword [edi+8+24]
	push	dword [edi+24]
	mov	eax,dword [ebp+20]
	push	dword [eax+8+24]
	mov	eax,dword [ebp+20]
	push	dword [eax+24]
	mov	eax,dword [ebp+16]
	push	dword [eax+8+24]
	mov	eax,dword [ebp+16]
	push	dword [eax+24]
	push	dword [esi+308]
	push	dword [esi+300]
	call	_sidesign_minib3d_PointInTriangle
	add	esp,32
	cmp	eax,0
	jne	_7553
	mov	eax,0
	jmp	_2715
_7553:
	push	3
	push	_7554
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	cmp	dword [ebp+12],10
	jge	_7556
	mov	eax,dword [ebp+16]
	fld	dword [eax+24]
	fadd	dword [edi+24]
	fdiv	dword [_11951]
	fstp	dword [ebx+24]
	mov	eax,dword [ebp+16]
	fld	dword [eax+8+24]
	fadd	dword [edi+8+24]
	fdiv	dword [_11952]
	fstp	dword [ebx+8+24]
	mov	eax,dword [esi+284]
	mov	dword [ebp-8],eax
	fld	dword [ebx+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [esi+284]
	imul	eax,dword [edx+24]
	mov	dword [ebp-4],eax
	fld	dword [ebx+8+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	add	dword [ebp-4],eax
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	fld	dword [eax+edx*4+28]
	fstp	dword [ebx+4+24]
	mov	eax,esi
	push	dword [ebp+16]
	push	ebx
	push	dword [ebp+20]
	mov	edx,dword [ebp+12]
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+536]
	add	esp,20
	mov	eax,esi
	push	dword [ebp+20]
	push	ebx
	push	edi
	mov	edx,dword [ebp+12]
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+536]
	add	esp,20
	mov	eax,0
	jmp	_2715
_7556:
	push	dword [edi+8+24]
	push	dword [edi+4+24]
	push	dword [edi+24]
	mov	eax,dword [ebp+20]
	push	dword [eax+8+24]
	mov	eax,dword [ebp+20]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+20]
	push	dword [eax+24]
	mov	eax,dword [ebp+16]
	push	dword [eax+8+24]
	mov	eax,dword [ebp+16]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+16]
	push	dword [eax+24]
	push	dword [esi+308]
	push	dword [esi+300]
	call	_sidesign_minib3d_PointHeightOnTri
	add	esp,44
	fstp	dword [__sidesign_minib3d_TTerrain_rethigh]
	mov	eax,0
	jmp	_2715
_2715:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LoadTerrain:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [_4634]
	and	eax,4096
	cmp	eax,0
	jne	_7562
	push	_sidesign_minib3d_TTerrain
	call	_bbObjectNew
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+500]
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_7560],eax
	or	dword [_4634],4096
_7562:
	mov	eax,dword [_7560]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+520]
	add	esp,8
	mov	ebx,_392
	inc	dword [ebx+4]
	mov	eax,dword [_7560]
	mov	eax,dword [eax+100]
	dec	dword [eax+4]
	jnz	_7567
	push	eax
	call	_bbGCFree
	add	esp,4
_7567:
	mov	eax,dword [_7560]
	mov	dword [eax+100],ebx
	mov	eax,dword [_7560]
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,dword [_7560]
	cmp	dword [eax+20],_bbNullObject
	je	_7569
	mov	eax,dword [_7560]
	mov	edx,dword [eax+28]
	mov	eax,dword [_7560]
	mov	eax,dword [eax+20]
	push	dword [eax+28]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [_7560]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
	jmp	_7572
_7569:
	mov	eax,dword [_7560]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+380]
	add	esp,8
_7572:
	mov	eax,dword [_7560]
	jmp	_2718
_2718:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PointHeightOnTri:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+28]
	fsub	dword [ebp+16]
	fld	dword [ebp+48]
	fsub	dword [ebp+24]
	fmulp	st1,st0
	fld	dword [ebp+40]
	fsub	dword [ebp+16]
	fld	dword [ebp+36]
	fsub	dword [ebp+24]
	fmulp	st1,st0
	fsubp	st1,st0
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_7578
	fld	dword [_11966]
	fdivrp	st1,st0
_7578:
	fld	st0
	fld	dword [ebp+28]
	fsub	st0,st4
	fld	dword [ebp+48]
	fsub	st0,st4
	fmulp	st1,st0
	fld	dword [ebp+40]
	fsub	st0,st5
	fld	dword [ebp+36]
	fsub	st0,st5
	fmulp	st1,st0
	fsubp	st1,st0
	fmulp	st1,st0
	fstp	dword [ebp-4]
	fld	st0
	fld	dword [ebp+40]
	fsub	st0,st4
	fld	dword [ebp+24]
	fsub	st0,st4
	fmulp	st1,st0
	fld	dword [ebp+16]
	fsub	st0,st5
	fld	dword [ebp+48]
	fsub	st0,st5
	fmulp	st1,st0
	fsubp	st1,st0
	fmulp	st1,st0
	fld	dword [ebp+16]
	fsub	st0,st4
	fld	dword [ebp+36]
	fsub	st0,st4
	fmulp	st1,st0
	fld	dword [ebp+28]
	fsubrp	st5,st0
	fld	dword [ebp+24]
	fsubrp	st4,st0
	fxch	st3
	fmulp	st4,st0
	fxch	st3
	fsubp	st2,st0
	fmulp	st1,st0
	fld	dword [ebp-4]
	fmul	dword [ebp+20]
	fxch	st2
	fmul	dword [ebp+32]
	faddp	st2,st0
	fmul	dword [ebp+44]
	faddp	st1,st0
	jmp	_2731
_2731:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PointInTriangle:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+24]
	fld	dword [ebp+32]
	fld	dword [ebp+36]
	fld	st2
	fmul	st0,st1
	fld	dword [ebp+28]
	fmul	st0,st3
	fsubp	st1,st0
	fstp	dword [ebp-12]
	fld	st1
	fmul	dword [ebp+20]
	fld	st1
	fmul	dword [ebp+16]
	fsubp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp+16]
	fmul	dword [ebp+28]
	fld	dword [ebp+20]
	fmul	st0,st4
	fsubp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebp+16]
	fmul	st0,st4
	fld	dword [ebp+20]
	fmul	st0,st6
	fsubp	st1,st0
	fstp	dword [ebp-20]
	fxch	st2
	fmul	st0,st3
	fld	dword [ebp+28]
	fmul	st0,st5
	fsubp	st1,st0
	fstp	dword [ebp-16]
	fmulp	st2,st0
	fmulp	st2,st0
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-12]
	fadd	dword [ebp-8]
	fadd	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fld	st0
	fld	dword [ebp-12]
	fsub	dword [ebp-16]
	fadd	dword [ebp-4]
	fmulp	st1,st0
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_7586
	fld	st0
	fld	dword [ebp-8]
	fsub	dword [ebp-4]
	fadd	dword [ebp-20]
	fmulp	st1,st0
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_7586:
	cmp	eax,0
	jne	_11984
	fstp	st0
	jmp	_7588
_11984:
	fld	dword [ebp-24]
	fsub	dword [ebp-20]
	fadd	dword [ebp-16]
	fmulp	st1,st0
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_7588:
	cmp	eax,0
	je	_7590
	mov	eax,1
	jmp	_2741
_7590:
	mov	eax,0
	jmp	_2741
_2741:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TSurface
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	push	0
	push	_7591
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	push	0
	push	_7593
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	push	0
	push	_7595
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	push	0
	push	_7597
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	push	0
	push	_7599
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	push	0
	push	_7601
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	push	0
	push	_7603
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	push	0
	push	_7605
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+44],eax
	push	0
	push	_7607
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+48],eax
	push	0
	push	_7609
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+52],eax
	push	0
	push	_7611
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+56],eax
	push	0
	push	_7613
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+60],eax
	push	0
	push	_7615
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+64],eax
	push	0
	push	_7617
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+68],eax
	push	_sidesign_minib3d_TBrush
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [ebx+72],eax
	push	7
	push	_7620
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+76],eax
	mov	dword [ebx+80],1
	mov	dword [ebx+84],1
	mov	dword [ebx+88],1000000
	mov	dword [ebx+92],0
	mov	dword [ebx+96],-1
	mov	dword [ebx+100],0
	xor	eax,eax
	cmp	eax,0
	je	_7622
	push	_393
	call	_brl_blitz_DebugLog
	add	esp,4
_7622:
	mov	eax,0
	jmp	_2744
_2744:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+168]
	add	esp,4
	xor	eax,eax
	cmp	eax,0
	je	_7624
	push	_394
	call	_brl_blitz_DebugLog
	add	esp,4
_7624:
_2747:
	mov	eax,dword [ebx+76]
	dec	dword [eax+4]
	jnz	_7627
	push	eax
	call	_bbGCFree
	add	esp,4
_7627:
	mov	eax,dword [ebx+72]
	dec	dword [eax+4]
	jnz	_7629
	push	eax
	call	_bbGCFree
	add	esp,4
_7629:
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_7631
	push	eax
	call	_bbGCFree
	add	esp,4
_7631:
	mov	eax,dword [ebx+64]
	dec	dword [eax+4]
	jnz	_7633
	push	eax
	call	_bbGCFree
	add	esp,4
_7633:
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_7635
	push	eax
	call	_bbGCFree
	add	esp,4
_7635:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_7637
	push	eax
	call	_bbGCFree
	add	esp,4
_7637:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_7639
	push	eax
	call	_bbGCFree
	add	esp,4
_7639:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_7641
	push	eax
	call	_bbGCFree
	add	esp,4
_7641:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_7643
	push	eax
	call	_bbGCFree
	add	esp,4
_7643:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_7645
	push	eax
	call	_bbGCFree
	add	esp,4
_7645:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_7647
	push	eax
	call	_bbGCFree
	add	esp,4
_7647:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_7649
	push	eax
	call	_bbGCFree
	add	esp,4
_7649:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_7651
	push	eax
	call	_bbGCFree
	add	esp,4
_7651:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_7653
	push	eax
	call	_bbGCFree
	add	esp,4
_7653:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_7655
	push	eax
	call	_bbGCFree
	add	esp,4
_7655:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_7657
	push	eax
	call	_bbGCFree
	add	esp,4
_7657:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_7625
_7625:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_Compare:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	_sidesign_minib3d_TSurface
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_7658
	push	_sidesign_minib3d_TSurface
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+100]
	cmp	dword [ebx+100],eax
	jle	_7659
	mov	eax,1
	jmp	_2751
_7659:
	push	_sidesign_minib3d_TSurface
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+100]
	cmp	dword [ebx+100],eax
	jge	_7660
	mov	eax,-1
	jmp	_2751
_7660:
_7658:
	mov	eax,0
	jmp	_2751
_2751:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_Copy:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	_sidesign_minib3d_TSurface
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+8]
	mov	dword [ebx+8],eax
	mov	eax,dword [edi+12]
	mov	dword [ebx+12],eax
	mov	eax,dword [edi+16]
	push	dword [eax+20]
	push	0
	push	dword [edi+16]
	push	_1493
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_7665
	push	eax
	call	_bbGCFree
	add	esp,4
_7665:
	mov	dword [ebx+16],esi
	mov	eax,dword [edi+20]
	push	dword [eax+20]
	push	0
	push	dword [edi+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_7669
	push	eax
	call	_bbGCFree
	add	esp,4
_7669:
	mov	dword [ebx+20],esi
	mov	eax,dword [edi+24]
	push	dword [eax+20]
	push	0
	push	dword [edi+24]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_7673
	push	eax
	call	_bbGCFree
	add	esp,4
_7673:
	mov	dword [ebx+24],esi
	mov	eax,dword [edi+28]
	push	dword [eax+20]
	push	0
	push	dword [edi+28]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_7677
	push	eax
	call	_bbGCFree
	add	esp,4
_7677:
	mov	dword [ebx+28],esi
	mov	eax,dword [edi+32]
	push	dword [eax+20]
	push	0
	push	dword [edi+32]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_7681
	push	eax
	call	_bbGCFree
	add	esp,4
_7681:
	mov	dword [ebx+32],esi
	mov	eax,dword [edi+36]
	push	dword [eax+20]
	push	0
	push	dword [edi+36]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_7685
	push	eax
	call	_bbGCFree
	add	esp,4
_7685:
	mov	dword [ebx+36],esi
	mov	eax,dword [edi+40]
	push	dword [eax+20]
	push	0
	push	dword [edi+40]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_7689
	push	eax
	call	_bbGCFree
	add	esp,4
_7689:
	mov	dword [ebx+40],esi
	mov	eax,dword [edi+44]
	push	dword [eax+20]
	push	0
	push	dword [edi+44]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_7693
	push	eax
	call	_bbGCFree
	add	esp,4
_7693:
	mov	dword [ebx+44],esi
	mov	eax,dword [edi+48]
	push	dword [eax+20]
	push	0
	push	dword [edi+48]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_7697
	push	eax
	call	_bbGCFree
	add	esp,4
_7697:
	mov	dword [ebx+48],esi
	mov	eax,dword [edi+52]
	push	dword [eax+20]
	push	0
	push	dword [edi+52]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_7701
	push	eax
	call	_bbGCFree
	add	esp,4
_7701:
	mov	dword [ebx+52],esi
	mov	eax,dword [edi+56]
	push	dword [eax+20]
	push	0
	push	dword [edi+56]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_7705
	push	eax
	call	_bbGCFree
	add	esp,4
_7705:
	mov	dword [ebx+56],esi
	mov	eax,dword [edi+60]
	push	dword [eax+20]
	push	0
	push	dword [edi+60]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_7709
	push	eax
	call	_bbGCFree
	add	esp,4
_7709:
	mov	dword [ebx+60],esi
	mov	eax,dword [edi+64]
	push	dword [eax+20]
	push	0
	push	dword [edi+64]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+64]
	dec	dword [eax+4]
	jnz	_7713
	push	eax
	call	_bbGCFree
	add	esp,4
_7713:
	mov	dword [ebx+64],esi
	mov	eax,dword [edi+68]
	push	dword [eax+20]
	push	0
	push	dword [edi+68]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_7717
	push	eax
	call	_bbGCFree
	add	esp,4
_7717:
	mov	dword [ebx+68],esi
	cmp	dword [edi+72],_bbNullObject
	je	_7718
	mov	eax,dword [edi+72]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+72]
	dec	dword [eax+4]
	jnz	_7723
	push	eax
	call	_bbGCFree
	add	esp,4
_7723:
	mov	dword [ebx+72],esi
_7718:
	mov	eax,dword [edi+80]
	mov	dword [ebx+80],eax
	mov	eax,dword [edi+84]
	mov	dword [ebx+84],eax
	mov	eax,dword [edi+88]
	mov	dword [ebx+88],eax
	mov	eax,dword [edi+92]
	mov	dword [ebx+92],eax
	mov	dword [ebx+96],-1
	mov	eax,ebx
	jmp	_2754
_2754:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_PaintSurface:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	cmp	dword [edi+72],_bbNullObject
	jne	_7724
	push	_sidesign_minib3d_TBrush
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+72]
	dec	dword [eax+4]
	jnz	_7728
	push	eax
	call	_bbGCFree
	add	esp,4
_7728:
	mov	dword [edi+72],ebx
_7724:
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+8]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp+12]
	mov	ebx,dword [eax+12]
	inc	dword [ebx+4]
	mov	eax,dword [edi+72]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_7732
	push	eax
	call	_bbGCFree
	add	esp,4
_7732:
	mov	eax,dword [edi+72]
	mov	dword [eax+12],ebx
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+20]
	fstp	dword [edx+20]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+24]
	fstp	dword [edx+24]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+28]
	fstp	dword [edx+28]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	fld	dword [eax+32]
	fstp	dword [edx+32]
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+36]
	mov	dword [edx+36],eax
	mov	edx,dword [edi+72]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+40]
	mov	dword [edx+40],eax
	mov	esi,0
	jmp	_7734
_397:
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+esi*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_7738
	push	eax
	call	_bbGCFree
	add	esp,4
_7738:
	mov	eax,dword [edi+72]
	mov	eax,dword [eax+48]
	mov	dword [eax+esi*4+24],ebx
_395:
	add	esi,1
_7734:
	cmp	esi,7
	jle	_397
_396:
	mov	eax,0
	jmp	_2758
_2758:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_ClearSurface:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edi,dword [ebp+16]
	cmp	eax,0
	je	_7739
	mov	dword [ebx+8],0
	push	0
	push	0
	push	dword [ebx+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_7743
	push	eax
	call	_bbGCFree
	add	esp,4
_7743:
	mov	dword [ebx+20],esi
	push	0
	push	0
	push	dword [ebx+24]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_7747
	push	eax
	call	_bbGCFree
	add	esp,4
_7747:
	mov	dword [ebx+24],esi
	push	0
	push	0
	push	dword [ebx+28]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_7751
	push	eax
	call	_bbGCFree
	add	esp,4
_7751:
	mov	dword [ebx+28],esi
	push	0
	push	0
	push	dword [ebx+32]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_7755
	push	eax
	call	_bbGCFree
	add	esp,4
_7755:
	mov	dword [ebx+32],esi
	push	0
	push	0
	push	dword [ebx+36]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_7759
	push	eax
	call	_bbGCFree
	add	esp,4
_7759:
	mov	dword [ebx+36],esi
	mov	dword [ebx+80],1
_7739:
	cmp	edi,0
	je	_7760
	mov	dword [ebx+12],0
	push	0
	push	0
	push	dword [ebx+16]
	push	_1493
	call	_bbArraySlice
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_7764
	push	eax
	call	_bbGCFree
	add	esp,4
_7764:
	mov	dword [ebx+16],esi
	mov	dword [ebx+84],1
_7760:
	mov	dword [ebx+96],-1
	mov	eax,0
	jmp	_2763
_2763:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_AddVertex:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	add	dword [ebx+8],1
	mov	eax,dword [ebx+80]
	cmp	dword [ebx+8],eax
	jl	_7765
_400:
	mov	eax,dword [ebx+80]
	shl	eax,1
	mov	dword [ebx+80],eax
_398:
	mov	eax,dword [ebx+8]
	cmp	dword [ebx+80],eax
	jle	_400
_399:
	mov	edi,dword [ebx+80]
	mov	eax,edi
	imul	eax,3
	push	eax
	push	0
	push	dword [ebx+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_7770
	push	eax
	call	_bbGCFree
	add	esp,4
_7770:
	mov	dword [ebx+20],esi
	mov	eax,edi
	shl	eax,1
	push	eax
	push	0
	push	dword [ebx+24]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_7774
	push	eax
	call	_bbGCFree
	add	esp,4
_7774:
	mov	dword [ebx+24],esi
	mov	eax,edi
	shl	eax,1
	push	eax
	push	0
	push	dword [ebx+28]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_7778
	push	eax
	call	_bbGCFree
	add	esp,4
_7778:
	mov	dword [ebx+28],esi
	mov	eax,edi
	imul	eax,3
	push	eax
	push	0
	push	dword [ebx+32]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_7782
	push	eax
	call	_bbGCFree
	add	esp,4
_7782:
	mov	dword [ebx+32],esi
	mov	eax,edi
	shl	eax,2
	push	eax
	push	0
	push	dword [ebx+36]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_7786
	push	eax
	call	_bbGCFree
	add	esp,4
_7786:
	mov	dword [ebx+36],esi
_7765:
	mov	eax,dword [ebx+8]
	imul	eax,3
	sub	eax,3
	mov	esi,eax
	mov	eax,dword [ebx+8]
	imul	eax,3
	sub	eax,2
	mov	ecx,eax
	mov	eax,dword [ebx+8]
	imul	eax,3
	sub	eax,1
	mov	edx,eax
	mov	eax,dword [ebx+8]
	shl	eax,1
	sub	eax,2
	mov	dword [ebp-20],eax
	mov	eax,dword [ebx+8]
	shl	eax,1
	sub	eax,1
	mov	dword [ebp-16],eax
	mov	eax,dword [ebx+8]
	shl	eax,2
	sub	eax,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebx+8]
	shl	eax,2
	sub	eax,3
	mov	dword [ebp-8],eax
	mov	eax,dword [ebx+8]
	shl	eax,2
	sub	eax,2
	mov	dword [ebp-4],eax
	mov	eax,dword [ebx+8]
	shl	eax,2
	sub	eax,1
	mov	edi,eax
	mov	eax,dword [ebx+20]
	fld	dword [ebp+12]
	fstp	dword [eax+esi*4+24]
	mov	eax,dword [ebx+20]
	fld	dword [ebp+16]
	fstp	dword [eax+ecx*4+24]
	mov	eax,dword [ebx+20]
	fld	dword [ebp+20]
	fchs
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebx+24]
	mov	eax,dword [ebp-20]
	fld	dword [ebp+24]
	fstp	dword [edx+eax*4+24]
	mov	edx,dword [ebx+24]
	mov	eax,dword [ebp-16]
	fld	dword [ebp+28]
	fstp	dword [edx+eax*4+24]
	mov	edx,dword [ebx+36]
	fld1
	mov	eax,dword [ebp-12]
	fstp	dword [edx+eax*4+24]
	mov	edx,dword [ebx+36]
	fld1
	mov	eax,dword [ebp-8]
	fstp	dword [edx+eax*4+24]
	mov	edx,dword [ebx+36]
	fld1
	mov	eax,dword [ebp-4]
	fstp	dword [edx+eax*4+24]
	mov	eax,dword [ebx+36]
	fld1
	fstp	dword [eax+edi*4+24]
	mov	eax,dword [ebx+8]
	sub	eax,1
	jmp	_2772
_2772:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_AddTriangle:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	add	dword [ebx+12],1
	mov	eax,dword [ebx+84]
	cmp	dword [ebx+12],eax
	jl	_7796
_403:
	mov	eax,dword [ebx+84]
	shl	eax,1
	mov	dword [ebx+84],eax
_401:
	mov	eax,dword [ebx+12]
	cmp	dword [ebx+84],eax
	jle	_403
_402:
	mov	eax,dword [ebx+84]
	imul	eax,3
	push	eax
	push	0
	push	dword [ebx+16]
	push	_1493
	call	_bbArraySlice
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_7801
	push	eax
	call	_bbGCFree
	add	esp,4
_7801:
	mov	dword [ebx+16],esi
_7796:
	mov	eax,dword [ebx+12]
	imul	eax,3
	sub	eax,3
	mov	esi,eax
	mov	eax,dword [ebx+12]
	imul	eax,3
	sub	eax,2
	mov	ecx,eax
	mov	eax,dword [ebx+12]
	imul	eax,3
	sub	eax,1
	mov	edi,eax
	mov	edx,dword [ebx+16]
	mov	eax,dword [ebp+20]
	and	eax,0xffff
	mov	eax,eax
	mov	word [edx+esi*2+24],ax
	mov	edx,dword [ebx+16]
	mov	eax,dword [ebp+16]
	and	eax,0xffff
	mov	eax,eax
	mov	word [edx+ecx*2+24],ax
	mov	edx,dword [ebx+16]
	mov	eax,dword [ebp+12]
	and	eax,0xffff
	mov	eax,eax
	mov	word [edx+edi*2+24],ax
	or	dword [ebx+96],19
	mov	eax,dword [ebx+12]
	jmp	_2778
_2778:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_CountVertices:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2781
_2781:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_CountTriangles:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2784
_2784:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	imul	eax,3
	mov	ecx,dword [edx+20]
	fxch	st2
	fstp	dword [ecx+eax*4+24]
	mov	ebx,dword [edx+20]
	mov	ecx,eax
	add	ecx,1
	fstp	dword [ebx+ecx*4+24]
	mov	ecx,dword [edx+20]
	add	eax,2
	fmul	dword [_12020]
	fstp	dword [ecx+eax*4+24]
	or	dword [edx+96],1
	mov	eax,0
	jmp	_2791
_2791:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	shl	eax,2
	mov	ecx,dword [edx+36]
	fxch	st3
	fdiv	dword [_12023]
	fstp	dword [ecx+eax*4+24]
	mov	ebx,dword [edx+36]
	mov	ecx,eax
	add	ecx,1
	fxch	st1
	fdiv	dword [_12024]
	fstp	dword [ebx+ecx*4+24]
	mov	ebx,dword [edx+36]
	mov	ecx,eax
	add	ecx,2
	fdiv	dword [_12025]
	fstp	dword [ebx+ecx*4+24]
	mov	ecx,dword [edx+36]
	add	eax,3
	fstp	dword [ecx+eax*4+24]
	or	dword [edx+96],8
	mov	eax,0
	jmp	_2799
_2799:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexNormal:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	imul	eax,3
	mov	ecx,dword [edx+32]
	fxch	st2
	fstp	dword [ecx+eax*4+24]
	mov	ebx,dword [edx+32]
	mov	ecx,eax
	add	ecx,1
	fstp	dword [ebx+ecx*4+24]
	mov	ecx,dword [edx+32]
	add	eax,2
	fmul	dword [_12028]
	fstp	dword [ecx+eax*4+24]
	or	dword [edx+96],4
	mov	eax,0
	jmp	_2806
_2806:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexTexCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	ecx,dword [ebp+28]
	shl	eax,1
	cmp	ecx,0
	jne	_7805
	mov	ebx,dword [edx+24]
	fxch	st1
	fst	dword [ebx+eax*4+24]
	mov	esi,dword [edx+24]
	mov	ebx,eax
	add	ebx,1
	fxch	st1
	fst	dword [esi+ebx*4+24]
_7805:
	cmp	ecx,1
	je	_12035
	fstp	st0
	fstp	st0
	jmp	_7806
_12035:
	mov	ecx,dword [edx+28]
	fxch	st1
	fstp	dword [ecx+eax*4+24]
	mov	ecx,dword [edx+28]
	add	eax,1
	fstp	dword [ecx+eax*4+24]
_7806:
	or	dword [edx+96],2
	mov	eax,0
	jmp	_2814
_2814:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexX:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+20]
	imul	eax,3
	fld	dword [edx+eax*4+24]
	jmp	_2818
_2818:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexY:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+20]
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+24]
	jmp	_2822
_2822:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexZ:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+20]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+24]
	fchs
	jmp	_2826
_2826:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexRed:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+36]
	shl	eax,2
	fld	dword [edx+eax*4+24]
	fmul	dword [_12048]
	jmp	_2830
_2830:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexGreen:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+36]
	shl	eax,2
	add	eax,1
	fld	dword [edx+eax*4+24]
	fmul	dword [_12053]
	jmp	_2834
_2834:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexBlue:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+36]
	shl	eax,2
	add	eax,2
	fld	dword [edx+eax*4+24]
	fmul	dword [_12058]
	jmp	_2838
_2838:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexAlpha:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+36]
	shl	eax,2
	add	eax,3
	fld	dword [edx+eax*4+24]
	jmp	_2842
_2842:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexNX:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+32]
	imul	eax,3
	fld	dword [edx+eax*4+24]
	jmp	_2846
_2846:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexNY:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+32]
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+24]
	jmp	_2850
_2850:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexNZ:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [edx+32]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+24]
	fchs
	jmp	_2854
_2854:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexU:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	edx,0
	jne	_7807
	mov	edx,dword [ecx+24]
	shl	eax,1
	fld	dword [edx+eax*4+24]
	jmp	_2859
_7807:
	cmp	edx,1
	jne	_7808
	mov	edx,dword [ecx+28]
	shl	eax,1
	fld	dword [edx+eax*4+24]
	jmp	_2859
_7808:
	fld	dword [_12079]
	jmp	_2859
_2859:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexV:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	edx,0
	jne	_7809
	mov	edx,dword [ecx+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+24]
	jmp	_2864
_7809:
	cmp	edx,1
	jne	_7810
	mov	edx,dword [ecx+28]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+24]
	jmp	_2864
_7810:
	fld	dword [_12084]
	jmp	_2864
_2864:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_VertexW:
	push	ebp
	mov	ebp,esp
	fld	dword [_12089]
	jmp	_2869
_2869:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_TriangleVertex:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	3
	push	_7811
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,ebx
	add	edx,1
	imul	edx,3
	mov	ebx,edx
	mov	ecx,dword [esi+16]
	mov	edx,ebx
	sub	edx,1
	movzx	edx,word [ecx+edx*2+24]
	mov	edx,edx
	mov	dword [eax+24],edx
	mov	ecx,dword [esi+16]
	mov	edx,ebx
	sub	edx,2
	movzx	edx,word [ecx+edx*2+24]
	mov	edx,edx
	mov	dword [eax+4+24],edx
	mov	ecx,dword [esi+16]
	mov	edx,ebx
	sub	edx,3
	movzx	edx,word [ecx+edx*2+24]
	mov	edx,edx
	mov	dword [eax+8+24],edx
	mov	eax,dword [eax+edi*4+24]
	jmp	_2874
_2874:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_UpdateNormals:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2877
_2877:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_TriangleNX:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,esi
	push	0
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	dword [ebp-20],eax
	mov	eax,esi
	push	1
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	ebx,eax
	mov	eax,esi
	push	2
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	edi,eax
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-8]
	push	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+96]
	add	esp,8
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-32]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	fstp	dword [ebp-12]
	push	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [ebp-28]
	mov	eax,esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-16]
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+96]
	add	esp,8
	fld	dword [ebp-16]
	fsubrp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-16]
	fstp	dword [ebp-24]
	mov	eax,esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	fstp	dword [ebp-4]
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fld	dword [ebp-32]
	fmulp	st1,st0
	fld	dword [ebp-28]
	fmul	dword [ebp-24]
	fsubp	st1,st0
	jmp	_2881
_2881:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_TriangleNY:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,esi
	push	0
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	dword [ebp-20],eax
	mov	eax,esi
	push	1
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	ebx,eax
	mov	eax,esi
	push	2
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	edi,eax
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-8]
	push	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+92]
	add	esp,8
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-32]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	fstp	dword [ebp-12]
	push	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [ebp-28]
	mov	eax,esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-16]
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+92]
	add	esp,8
	fld	dword [ebp-16]
	fsubrp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-16]
	fstp	dword [ebp-24]
	mov	eax,esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	fstp	dword [ebp-4]
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fld	dword [ebp-28]
	fmul	dword [ebp-24]
	fld	dword [ebp-32]
	fmulp	st2,st0
	fsubrp	st1,st0
	jmp	_2885
_2885:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_TriangleNZ:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,esi
	push	0
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	dword [ebp-20],eax
	mov	eax,esi
	push	1
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	ebx,eax
	mov	eax,esi
	push	2
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	edi,eax
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-8]
	push	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+92]
	add	esp,8
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-32]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-12]
	push	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+96]
	add	esp,8
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [ebp-28]
	mov	eax,esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-16]
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+92]
	add	esp,8
	fld	dword [ebp-16]
	fsubrp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-16]
	fstp	dword [ebp-24]
	mov	eax,esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-4]
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+96]
	add	esp,8
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fld	dword [ebp-32]
	fmulp	st1,st0
	fld	dword [ebp-28]
	fmul	dword [ebp-24]
	fsubp	st1,st0
	jmp	_2889
_2889:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_UpdateVBO:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+76]
	cmp	dword [eax+24],0
	jne	_7867
	mov	eax,dword [ebx+76]
	lea	eax,dword [eax+24]
	push	eax
	push	6
	call	dword [___glewGenBuffersARB]
_7867:
	cmp	dword [ebx+96],-1
	jne	_7868
	mov	dword [ebx+96],31
_7868:
	mov	eax,dword [ebx+96]
	and	eax,1
	cmp	eax,0
	je	_7869
	mov	eax,dword [ebx+76]
	push	dword [eax+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	35044
	mov	eax,dword [ebx+20]
	lea	eax,byte [eax+24]
	push	eax
	mov	eax,dword [ebx+8]
	imul	eax,3
	shl	eax,2
	push	eax
	push	34962
	call	dword [___glewBufferDataARB]
_7869:
	mov	eax,dword [ebx+96]
	and	eax,2
	cmp	eax,0
	je	_7870
	mov	eax,dword [ebx+76]
	push	dword [eax+4+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	35044
	mov	eax,dword [ebx+24]
	lea	eax,byte [eax+24]
	push	eax
	mov	eax,dword [ebx+8]
	shl	eax,1
	shl	eax,2
	push	eax
	push	34962
	call	dword [___glewBufferDataARB]
	mov	eax,dword [ebx+76]
	push	dword [eax+8+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	35044
	mov	eax,dword [ebx+28]
	lea	eax,byte [eax+24]
	push	eax
	mov	eax,dword [ebx+8]
	shl	eax,1
	shl	eax,2
	push	eax
	push	34962
	call	dword [___glewBufferDataARB]
_7870:
	mov	eax,dword [ebx+96]
	and	eax,4
	cmp	eax,0
	je	_7871
	mov	eax,dword [ebx+76]
	push	dword [eax+12+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	35044
	mov	eax,dword [ebx+32]
	lea	eax,byte [eax+24]
	push	eax
	mov	eax,dword [ebx+8]
	imul	eax,3
	shl	eax,2
	push	eax
	push	34962
	call	dword [___glewBufferDataARB]
_7871:
	mov	eax,dword [ebx+96]
	and	eax,8
	cmp	eax,0
	je	_7872
	mov	eax,dword [ebx+76]
	push	dword [eax+16+24]
	push	34962
	call	dword [___glewBindBufferARB]
	push	35044
	mov	eax,dword [ebx+36]
	lea	eax,byte [eax+24]
	push	eax
	mov	eax,dword [ebx+8]
	shl	eax,2
	shl	eax,2
	push	eax
	push	34962
	call	dword [___glewBufferDataARB]
_7872:
	mov	eax,dword [ebx+96]
	and	eax,16
	cmp	eax,0
	je	_7873
	mov	eax,dword [ebx+76]
	push	dword [eax+20+24]
	push	34963
	call	dword [___glewBindBufferARB]
	push	35044
	mov	eax,dword [ebx+16]
	lea	eax,byte [eax+24]
	push	eax
	mov	eax,dword [ebx+12]
	imul	eax,3
	shl	eax,1
	push	eax
	push	34963
	call	dword [___glewBufferDataARB]
_7873:
	mov	dword [ebx+96],0
	mov	eax,0
	jmp	_2892
_2892:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_FreeVBO:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [edx+76]
	cmp	dword [eax+24],0
	je	_7874
	mov	eax,dword [edx+76]
	lea	eax,dword [eax+24]
	push	eax
	push	6
	call	dword [___glewDeleteBuffersARB]
_7874:
	mov	eax,0
	jmp	_2895
_2895:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_RemoveTri:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	push	dword [ebp+8]
	call	_sidesign_minib3d_CountTriangles
	add	esp,4
	mov	dword [ebp-8],eax
	push	3
	push	dword [ebp-8]
	push	2
	push	_7876
	call	_bbArrayNew
	add	esp,16
	mov	edi,eax
	mov	ebx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_7879
_406:
	mov	esi,ebx
	imul	esi,dword [edi+24]
	push	0
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_TriangleVertex
	add	esp,12
	mov	dword [edi+esi*4+28],eax
	mov	eax,ebx
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,1
	push	1
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_TriangleVertex
	add	esp,12
	mov	dword [edi+esi*4+28],eax
	mov	eax,ebx
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,2
	push	2
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_TriangleVertex
	add	esp,12
	mov	dword [edi+esi*4+28],eax
_404:
	add	ebx,1
_7879:
	cmp	ebx,dword [ebp-4]
	jle	_406
_405:
	push	1
	push	0
	push	dword [ebp+8]
	call	_sidesign_minib3d_ClearSurface
	add	esp,12
	mov	ebx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	esi,eax
	jmp	_7882
_409:
	mov	eax,ebx
	imul	eax,dword [edi+24]
	mov	edx,dword [edi+eax*4+28]
	mov	eax,ebx
	imul	eax,dword [edi+24]
	add	eax,1
	mov	eax,dword [edi+eax*4+28]
	mov	ecx,ebx
	imul	ecx,dword [edi+24]
	add	ecx,2
	mov	ecx,dword [edi+ecx*4+28]
	cmp	ebx,dword [ebp+12]
	je	_7887
	push	ecx
	push	eax
	push	edx
	push	dword [ebp+8]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
_7887:
_407:
	add	ebx,1
_7882:
	cmp	ebx,esi
	jle	_409
_408:
	mov	eax,0
	jmp	_2899
_2899:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TSurface_RemoveVerts:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	push	dword [ebp+8]
	call	_sidesign_minib3d_CountTriangles
	add	esp,4
	mov	dword [ebp-32],eax
	push	3
	push	dword [ebp-32]
	push	2
	push	_7889
	call	_bbArrayNew
	add	esp,16
	mov	dword [ebp-8],eax
	push	dword [ebp+8]
	call	_sidesign_minib3d_CountVertices
	add	esp,4
	mov	dword [ebp-28],eax
	push	dword [ebp-28]
	push	_7892
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	push	15
	push	dword [ebp-28]
	push	2
	push	_7894
	call	_bbArrayNew
	add	esp,16
	mov	edi,eax
	push	dword [ebp-28]
	push	_7896
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-20],eax
	mov	dword [ebp-4],0
	mov	eax,dword [ebp-32]
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_7899
_412:
	mov	ebx,0
	jmp	_7902
_415:
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	mov	esi,eax
	add	esi,ebx
	push	ebx
	push	dword [ebp-4]
	push	dword [ebp+8]
	call	_sidesign_minib3d_TriangleVertex
	add	esp,12
	mov	edx,dword [ebp-8]
	mov	dword [edx+esi*4+28],eax
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp-12]
	mov	dword [eax+edx*4+24],1
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	esi,dword [edx+eax*4+28]
	imul	esi,dword [edi+24]
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexX
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,1
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexY
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,2
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexZ
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,3
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexNX
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,4
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexNY
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,5
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexNZ
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,6
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexRed
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,7
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexGreen
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,8
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexBlue
	add	esp,8
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,9
	push	0
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexU
	add	esp,12
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,10
	push	0
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexV
	add	esp,12
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,11
	push	0
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexW
	add	esp,12
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,12
	push	1
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexU
	add	esp,12
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,13
	push	1
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexV
	add	esp,12
	fstp	dword [edi+esi*4+28]
	mov	eax,dword [ebp-4]
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	add	eax,ebx
	mov	edx,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	imul	eax,dword [edi+24]
	mov	esi,eax
	add	esi,14
	push	1
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexW
	add	esp,12
	fstp	dword [edi+esi*4+28]
_413:
	add	ebx,1
_7902:
	cmp	ebx,2
	jle	_415
_414:
_410:
	add	dword [ebp-4],1
_7899:
	mov	eax,dword [ebp-24]
	cmp	dword [ebp-4],eax
	jle	_412
_411:
	push	1
	push	1
	push	dword [ebp+8]
	call	_sidesign_minib3d_ClearSurface
	add	esp,12
	mov	esi,0
	mov	eax,dword [ebp-28]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_7904
_418:
	mov	eax,dword [ebp-12]
	cmp	dword [eax+esi*4+24],1
	jne	_7906
	push	0
	push	0
	push	0
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,2
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,1
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	push	dword [edi+eax*4+28]
	push	dword [ebp+8]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	ebx,eax
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,5
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,4
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,3
	push	dword [edi+eax*4+28]
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	push	1065353216
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,8
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,7
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,6
	push	dword [edi+eax*4+28]
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	0
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,11
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,10
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,9
	push	dword [edi+eax*4+28]
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexTexCoords
	add	esp,24
	push	1
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,14
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,13
	push	dword [edi+eax*4+28]
	mov	eax,esi
	imul	eax,dword [edi+24]
	add	eax,12
	push	dword [edi+eax*4+28]
	push	ebx
	push	dword [ebp+8]
	call	_sidesign_minib3d_VertexTexCoords
	add	esp,24
	mov	eax,dword [ebp-20]
	mov	dword [eax+esi*4+24],ebx
_7906:
_416:
	add	esi,1
_7904:
	cmp	esi,dword [ebp-16]
	jle	_418
_417:
	mov	ebx,0
	mov	eax,dword [ebp-32]
	sub	eax,1
	mov	edi,eax
	jmp	_7909
_421:
	mov	eax,ebx
	mov	edx,dword [ebp-8]
	imul	eax,dword [edx+24]
	mov	edx,dword [ebp-8]
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp-20]
	mov	edx,dword [eax+edx*4+24]
	mov	eax,ebx
	mov	ecx,dword [ebp-8]
	imul	eax,dword [ecx+24]
	add	eax,1
	mov	ecx,dword [ebp-8]
	mov	ecx,dword [ecx+eax*4+28]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+ecx*4+24]
	mov	ecx,ebx
	mov	esi,ecx
	mov	ecx,dword [ebp-8]
	imul	esi,dword [ecx+24]
	mov	ecx,esi
	mov	esi,ecx
	add	esi,2
	mov	ecx,dword [ebp-8]
	mov	esi,dword [ecx+esi*4+28]
	mov	ecx,dword [ebp-20]
	mov	ecx,dword [ecx+esi*4+24]
	push	ecx
	push	eax
	push	edx
	push	dword [ebp+8]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
_419:
	add	ebx,1
_7909:
	cmp	ebx,edi
	jle	_421
_420:
	mov	eax,0
	jmp	_2902
_2902:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TTexture
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],0
	mov	dword [ebx+16],2
	mov	dword [ebx+20],0
	fld1
	fstp	dword [ebx+24]
	fld1
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+44],eax
	mov	dword [ebx+48],0
	mov	dword [ebx+52],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+56],eax
	push	1
	push	_7917
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+60],eax
	push	7
	push	_7919
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+64],eax
	mov	dword [ebx+68],1
	mov	dword [ebx+72],0
	mov	dword [ebx+76],0
	mov	dword [ebx+80],1
	mov	dword [ebx+84],0
	xor	eax,eax
	cmp	eax,0
	je	_7921
	push	_422
	call	_brl_blitz_DebugLog
	add	esp,4
_7921:
	mov	eax,0
	jmp	_2905
_2905:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_7922
	push	_423
	call	_brl_blitz_DebugLog
	add	esp,4
_7922:
_2908:
	mov	eax,dword [ebx+64]
	dec	dword [eax+4]
	jnz	_7925
	push	eax
	call	_bbGCFree
	add	esp,4
_7925:
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_7927
	push	eax
	call	_bbGCFree
	add	esp,4
_7927:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_7929
	push	eax
	call	_bbGCFree
	add	esp,4
_7929:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_7931
	push	eax
	call	_bbGCFree
	add	esp,4
_7931:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_7933
	push	eax
	call	_bbGCFree
	add	esp,4
_7933:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_7923
_7923:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_Copy:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	cmp	dword [ebx+56],_bbNullObject
	jne	_7934
	push	_bbNullObject
	push	1
	push	1
	push	8
	push	8
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,20
	jmp	_2911
_7934:
	push	_bbNullObject
	push	1
	push	dword [ebx+56]
	call	dword [_sidesign_minib3d_TTexture+68]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_7936
	mov	eax,dword [ebx+12]
	mov	dword [esi+12],eax
	mov	eax,dword [ebx+16]
	mov	dword [esi+16],eax
	mov	eax,dword [ebx+20]
	mov	dword [esi+20],eax
	fld	dword [ebx+24]
	fstp	dword [esi+24]
	fld	dword [ebx+28]
	fstp	dword [esi+28]
	fld	dword [ebx+32]
	fstp	dword [esi+32]
	fld	dword [ebx+36]
	fstp	dword [esi+36]
	fld	dword [ebx+40]
	fstp	dword [esi+40]
	mov	ebx,dword [ebx+44]
	inc	dword [ebx+4]
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_7940
	push	eax
	call	_bbGCFree
	add	esp,4
_7940:
	mov	dword [esi+44],ebx
_7936:
	mov	eax,esi
	jmp	_2911
_2911:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_FreeTexture:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	push	dword [__sidesign_minib3d_TTexture_tex_list]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_7944
	push	eax
	call	_bbGCFree
	add	esp,4
_7944:
	mov	dword [esi+56],ebx
	mov	ebx,_bbEmptyArray
	inc	dword [ebx+4]
	mov	eax,dword [esi+64]
	dec	dword [eax+4]
	jnz	_7948
	push	eax
	call	_bbGCFree
	add	esp,4
_7948:
	mov	dword [esi+64],ebx
	mov	ebx,_bbEmptyArray
	inc	dword [ebx+4]
	mov	eax,dword [esi+60]
	dec	dword [eax+4]
	jnz	_7952
	push	eax
	call	_bbGCFree
	add	esp,4
_7952:
	mov	dword [esi+60],ebx
	mov	eax,0
	jmp	_2914
_2914:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_CreateTexture:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+16]
	mov	edi,dword [ebp+20]
	mov	eax,esi
	and	eax,128
	cmp	eax,0
	je	_7953
	push	dword [ebp+24]
	push	esi
	push	dword [ebp+12]
	push	dword [ebp+8]
	call	dword [_sidesign_minib3d_TTexture+76]
	add	esp,16
	jmp	_2921
_7953:
	cmp	dword [ebp+24],_bbNullObject
	jne	_7954
	push	_sidesign_minib3d_TTexture
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp+24],eax
	push	dword [ebp+24]
	push	dword [__sidesign_minib3d_TTexture_tex_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_7954:
	push	4
	push	6
	push	dword [ebp+12]
	mov	eax,dword [ebp+8]
	imul	eax,edi
	push	eax
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+24]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_7958
	push	eax
	call	_bbGCFree
	add	esp,4
_7958:
	mov	eax,dword [ebp+24]
	mov	dword [eax+56],ebx
	mov	eax,dword [ebp+24]
	mov	dword [eax+12],esi
	mov	eax,dword [ebp+24]
	mov	dword [eax+68],edi
	mov	eax,dword [ebp+24]
	push	dword [eax+68]
	push	0
	mov	eax,dword [ebp+24]
	push	dword [eax+60]
	push	_852
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+24]
	mov	eax,dword [eax+60]
	dec	dword [eax+4]
	jnz	_7962
	push	eax
	call	_bbGCFree
	add	esp,4
_7962:
	mov	eax,dword [ebp+24]
	mov	dword [eax+60],ebx
	mov	dword [ebp-24],0
	mov	dword [ebp-20],0
	mov	eax,dword [ebp+24]
	mov	eax,dword [eax+68]
	sub	eax,1
	mov	dword [ebp-28],eax
	jmp	_7966
_426:
	mov	eax,dword [ebp+24]
	mov	edx,dword [eax+56]
	push	dword [ebp+12]
	push	dword [ebp+8]
	push	0
	mov	eax,dword [ebp-24]
	imul	eax,dword [ebp+8]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,20
	mov	dword [ebp-8],eax
	add	dword [ebp-24],1
	push	dword [ebp-8]
	call	dword [_sidesign_minib3d_TTexture+168]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+24]
	mov	dword [eax+48],edx
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+24]
	mov	dword [eax+52],edx
	mov	eax,dword [ebp-8]
	mov	edi,dword [eax+12]
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+16]
	mov	dword [ebp-4],0
	lea	eax,dword [ebp-4]
	push	eax
	push	1
	call	_glGenTextures@8
	push	dword [ebp-4]
	push	3553
	call	_glBindTexture@8
	mov	dword [ebp-16],0
	mov	eax,dword [ebp+24]
	mov	eax,dword [eax+12]
	and	eax,8
	cmp	eax,0
	je	_7973
	mov	dword [ebp-16],1
_7973:
	mov	dword [ebp-12],0
_429:
_427:
	mov	esi,dword [_brl_pixmap_BytesPerPixel]
	mov	eax,dword [ebp-8]
	mov	ecx,dword [eax+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	cdq
	idiv	dword [esi+ecx*4+24]
	push	eax
	push	3314
	call	_glPixelStorei@8
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	ebx
	push	edi
	push	32856
	push	dword [ebp-12]
	push	3553
	call	_glTexImage2D@36
	cmp	dword [ebp-16],0
	jne	_7975
	jmp	_428
_7975:
	cmp	edi,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_7976
	cmp	ebx,1
	sete	al
	movzx	eax,al
_7976:
	cmp	eax,0
	je	_7978
	jmp	_428
_7978:
	cmp	edi,1
	jle	_7979
	mov	eax,edi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	edi,eax
_7979:
	cmp	ebx,1
	jle	_7980
	mov	eax,ebx
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
_7980:
	push	ebx
	push	edi
	push	dword [ebp-8]
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	dword [ebp-8],eax
	add	dword [ebp-12],1
	jmp	_429
_428:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+24]
	mov	dword [eax+72],edx
	mov	eax,dword [ebp+24]
	mov	ecx,dword [eax+60]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-20]
	mov	dword [ecx+eax*4+24],edx
_424:
	add	dword [ebp-20],1
_7966:
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-20],eax
	jle	_426
_425:
	mov	eax,dword [ebp+24]
	jmp	_2921
_2921:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_LoadTexture:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	1
	push	_430
	push	ebx
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	jle	_7981
	push	-1
	push	1
	push	_430
	push	ebx
	call	_brl_retro_Instr
	add	esp,12
	add	eax,1
	push	eax
	push	ebx
	call	_brl_retro_Mid
	add	esp,12
	mov	esi,eax
	push	1
	push	_431
	push	esi
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	jle	_7983
	push	1
	push	_431
	push	esi
	call	_brl_retro_Instr
	add	esp,12
	sub	eax,1
	push	eax
	push	esi
	call	_brl_retro_Left
	add	esp,8
	mov	esi,eax
	push	_432
	push	esi
	call	_bbStringSplit
	add	esp,8
	mov	esi,eax
	push	esi
	call	_bbArrayDimensions
	add	esp,4
	cmp	dword [eax+24],4
	jne	_7986
	push	dword [ebp+16]
	push	dword [esi+12+24]
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	dword [esi+8+24]
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	dword [esi+4+24]
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	dword [esi+24]
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	edi
	push	ebx
	call	dword [_sidesign_minib3d_TTexture+64]
	add	esp,28
	jmp	_2926
_7986:
_7983:
_7981:
	push	dword [ebp+16]
	push	1
	push	0
	push	0
	push	0
	push	edi
	push	ebx
	call	dword [_sidesign_minib3d_TTexture+64]
	add	esp,28
	jmp	_2926
_2926:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_LoadAnimTexture:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+24]
	mov	eax,ebx
	and	eax,128
	cmp	eax,0
	je	_7987
	push	dword [ebp+32]
	push	ebx
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TTexture+80]
	add	esp,12
	jmp	_2935
_7987:
	cmp	dword [ebp+32],_bbNullObject
	jne	_7988
	push	_sidesign_minib3d_TTexture
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp+32],eax
_7988:
	mov	eax,dword [ebp-4]
	inc	dword [eax+4]
	lea	eax,dword [ebp-4]
	push	eax
	call	dword [_sidesign_minib3d_TTexture+152]
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp-4]
	dec	dword [eax+4]
	jnz	_7989
	push	dword [ebp-4]
	call	_bbGCFree
	add	esp,4
_7989:
	cmp	esi,0
	jne	_7991
	mov	eax,_bbNullObject
	jmp	_2935
_7991:
	mov	eax,dword [ebp-4]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_7995
	push	eax
	call	_bbGCFree
	add	esp,4
_7995:
	mov	eax,dword [ebp+32]
	mov	dword [eax+8],esi
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TTexture+156]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+44]
	dec	dword [eax+4]
	jnz	_7999
	push	eax
	call	_bbGCFree
	add	esp,4
_7999:
	mov	eax,dword [ebp+32]
	mov	dword [eax+44],esi
	mov	eax,dword [ebp+32]
	mov	dword [eax+12],ebx
	mov	eax,dword [ebp+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	push	dword [ebp-4]
	call	_brl_pixmap_LoadPixmap
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8004
	push	eax
	call	_bbGCFree
	add	esp,4
_8004:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
	mov	esi,0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,6
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8006
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,5
	sete	al
	movzx	eax,al
_8006:
	cmp	eax,0
	jne	_8008
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,2
	sete	al
	movzx	eax,al
_8008:
	cmp	eax,0
	je	_8010
	mov	esi,1
_8010:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	cmp	dword [eax+24],6
	je	_8011
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8016
	push	eax
	call	_bbGCFree
	add	esp,4
_8016:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
_8011:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,2
	cmp	eax,0
	je	_8017
	cmp	esi,0
	sete	al
	movzx	eax,al
_8017:
	cmp	eax,0
	je	_8019
	mov	eax,dword [ebp+32]
	push	dword [eax+56]
	call	dword [_sidesign_minib3d_TTexture+176]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8023
	push	eax
	call	_bbGCFree
	add	esp,4
_8023:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
_8019:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,4
	cmp	eax,0
	je	_8024
	push	0
	push	0
	push	0
	mov	eax,dword [ebp+32]
	push	dword [eax+56]
	call	_brl_pixmap_MaskPixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8028
	push	eax
	call	_bbGCFree
	add	esp,4
_8028:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
_8024:
	mov	eax,dword [ebp+16]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8029
	mov	eax,dword [ebp+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
_8029:
	cmp	eax,0
	je	_8031
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+12]
	mov	dword [ebp+16],eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+16]
	mov	dword [ebp+20],eax
_8031:
	mov	edx,dword [ebp+32]
	mov	eax,dword [ebp+28]
	mov	dword [edx+68],eax
	mov	eax,dword [ebp+32]
	push	dword [eax+68]
	push	0
	mov	eax,dword [ebp+32]
	push	dword [eax+60]
	push	_852
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+60]
	dec	dword [eax+4]
	jnz	_8035
	push	eax
	call	_bbGCFree
	add	esp,4
_8035:
	mov	eax,dword [ebp+32]
	mov	dword [eax+60],ebx
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+12]
	cdq
	cdq
	idiv	dword [ebp+16]
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+16]
	cdq
	cdq
	idiv	dword [ebp+20]
	mov	ecx,eax
	mov	eax,edi
	cdq
	cdq
	idiv	dword [ebp-36]
	mov	eax,edx
	mov	edx,eax
	mov	ebx,edx
	mov	eax,edi
	cdq
	idiv	ecx
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [ebp-24],ebx
	mov	dword [ebp-32],eax
	mov	dword [ebp-28],0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+68]
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_8044
_435:
	mov	eax,dword [ebp+32]
	mov	edx,dword [eax+56]
	push	dword [ebp+20]
	push	dword [ebp+16]
	mov	eax,dword [ebp-32]
	imul	eax,dword [ebp+20]
	push	eax
	mov	eax,dword [ebp-24]
	imul	eax,dword [ebp+16]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,20
	mov	dword [ebp-12],eax
	add	dword [ebp-24],1
	mov	eax,dword [ebp-36]
	cmp	dword [ebp-24],eax
	jl	_8047
	mov	dword [ebp-24],0
	add	dword [ebp-32],1
_8047:
	push	dword [ebp-12]
	call	dword [_sidesign_minib3d_TTexture+168]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+32]
	mov	dword [eax+48],edx
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+32]
	mov	dword [eax+52],edx
	mov	eax,dword [ebp-12]
	mov	edi,dword [eax+12]
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+16]
	mov	dword [ebp-8],0
	lea	eax,dword [ebp-8]
	push	eax
	push	1
	call	_glGenTextures@8
	push	dword [ebp-8]
	push	3553
	call	_glBindTexture@8
	mov	dword [ebp-20],0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,8
	cmp	eax,0
	je	_8052
	mov	dword [ebp-20],1
_8052:
	mov	dword [ebp-16],0
_438:
_436:
	mov	esi,dword [_brl_pixmap_BytesPerPixel]
	mov	eax,dword [ebp-12]
	mov	ecx,dword [eax+24]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+20]
	cdq
	idiv	dword [esi+ecx*4+24]
	push	eax
	push	3314
	call	_glPixelStorei@8
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	ebx
	push	edi
	push	32856
	push	dword [ebp-16]
	push	3553
	call	_glTexImage2D@36
	cmp	dword [ebp-20],0
	jne	_8054
	jmp	_437
_8054:
	cmp	edi,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8055
	cmp	ebx,1
	sete	al
	movzx	eax,al
_8055:
	cmp	eax,0
	je	_8057
	jmp	_437
_8057:
	cmp	edi,1
	jle	_8058
	mov	eax,edi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	edi,eax
_8058:
	cmp	ebx,1
	jle	_8059
	mov	eax,ebx
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
_8059:
	push	ebx
	push	edi
	push	dword [ebp-12]
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	dword [ebp-12],eax
	add	dword [ebp-16],1
	jmp	_438
_437:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp+32]
	mov	dword [eax+72],edx
	mov	eax,dword [ebp+32]
	mov	ecx,dword [eax+60]
	mov	edx,dword [ebp-8]
	mov	eax,dword [ebp-28]
	mov	dword [ecx+eax*4+24],edx
_433:
	add	dword [ebp-28],1
_8044:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-28],eax
	jle	_435
_434:
	mov	eax,dword [ebp+32]
	jmp	_2935
_2935:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_LoadTextureFromPixmap:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	1
	push	0
	push	0
	push	0
	push	edx
	push	ecx
	call	dword [_sidesign_minib3d_TTexture+72]
	add	esp,28
	jmp	_2940
_2940:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_LoadAnimTextureFromPixmap:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+12]
	cmp	dword [ebp+32],_bbNullObject
	jne	_8060
	push	_sidesign_minib3d_TTexture
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp+32],eax
_8060:
	cmp	ebx,_bbNullObject
	jne	_8061
	mov	eax,_bbNullObject
	jmp	_2949
_8061:
	mov	eax,_1
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_8065
	push	eax
	call	_bbGCFree
	add	esp,4
_8065:
	mov	eax,dword [ebp+32]
	mov	dword [eax+8],esi
	mov	eax,_1
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+44]
	dec	dword [eax+4]
	jnz	_8069
	push	eax
	call	_bbGCFree
	add	esp,4
_8069:
	mov	eax,dword [ebp+32]
	mov	dword [eax+44],esi
	mov	eax,dword [ebp+32]
	mov	dword [eax+12],edi
	mov	eax,dword [ebp+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8074
	push	eax
	call	_bbGCFree
	add	esp,4
_8074:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
	mov	ebx,0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,6
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8076
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,5
	sete	al
	movzx	eax,al
_8076:
	cmp	eax,0
	jne	_8078
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,2
	sete	al
	movzx	eax,al
_8078:
	cmp	eax,0
	je	_8080
	mov	ebx,1
_8080:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	cmp	dword [eax+24],6
	je	_8081
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8086
	push	eax
	call	_bbGCFree
	add	esp,4
_8086:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],esi
_8081:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,2
	cmp	eax,0
	je	_8087
	cmp	ebx,0
	sete	al
	movzx	eax,al
_8087:
	cmp	eax,0
	je	_8089
	mov	eax,dword [ebp+32]
	push	dword [eax+56]
	call	dword [_sidesign_minib3d_TTexture+176]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8093
	push	eax
	call	_bbGCFree
	add	esp,4
_8093:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
_8089:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,4
	cmp	eax,0
	je	_8094
	push	0
	push	0
	push	0
	mov	eax,dword [ebp+32]
	push	dword [eax+56]
	call	_brl_pixmap_MaskPixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8098
	push	eax
	call	_bbGCFree
	add	esp,4
_8098:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
_8094:
	mov	eax,dword [ebp+16]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8099
	mov	eax,dword [ebp+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
_8099:
	cmp	eax,0
	je	_8101
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+12]
	mov	dword [ebp+16],eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+16]
	mov	dword [ebp+20],eax
_8101:
	mov	edx,dword [ebp+32]
	mov	eax,dword [ebp+28]
	mov	dword [edx+68],eax
	mov	eax,dword [ebp+32]
	push	dword [eax+68]
	push	0
	mov	eax,dword [ebp+32]
	push	dword [eax+60]
	push	_852
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+60]
	dec	dword [eax+4]
	jnz	_8105
	push	eax
	call	_bbGCFree
	add	esp,4
_8105:
	mov	eax,dword [ebp+32]
	mov	dword [eax+60],ebx
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+12]
	cdq
	cdq
	idiv	dword [ebp+16]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+16]
	cdq
	cdq
	idiv	dword [ebp+20]
	mov	ecx,eax
	mov	eax,dword [ebp+24]
	cdq
	cdq
	idiv	dword [ebp-32]
	mov	eax,edx
	mov	edx,eax
	mov	ebx,edx
	mov	eax,dword [ebp+24]
	cdq
	idiv	ecx
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [ebp-20],ebx
	mov	dword [ebp-28],eax
	mov	dword [ebp-24],0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+68]
	sub	eax,1
	mov	dword [ebp-36],eax
	jmp	_8114
_441:
	mov	eax,dword [ebp+32]
	mov	edx,dword [eax+56]
	push	dword [ebp+20]
	push	dword [ebp+16]
	mov	eax,dword [ebp-28]
	imul	eax,dword [ebp+20]
	push	eax
	mov	eax,dword [ebp-20]
	imul	eax,dword [ebp+16]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,20
	mov	dword [ebp-8],eax
	add	dword [ebp-20],1
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-20],eax
	jl	_8117
	mov	dword [ebp-20],0
	add	dword [ebp-28],1
_8117:
	push	dword [ebp-8]
	call	dword [_sidesign_minib3d_TTexture+168]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+32]
	mov	dword [eax+48],edx
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+32]
	mov	dword [eax+52],edx
	mov	eax,dword [ebp-8]
	mov	edi,dword [eax+12]
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+16]
	mov	dword [ebp-4],0
	lea	eax,dword [ebp-4]
	push	eax
	push	1
	call	_glGenTextures@8
	push	dword [ebp-4]
	push	3553
	call	_glBindTexture@8
	mov	dword [ebp-16],0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,8
	cmp	eax,0
	je	_8122
	mov	dword [ebp-16],1
_8122:
	mov	dword [ebp-12],0
_444:
_442:
	mov	esi,dword [_brl_pixmap_BytesPerPixel]
	mov	eax,dword [ebp-8]
	mov	ecx,dword [eax+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	cdq
	idiv	dword [esi+ecx*4+24]
	push	eax
	push	3314
	call	_glPixelStorei@8
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	ebx
	push	edi
	push	32856
	push	dword [ebp-12]
	push	3553
	call	_glTexImage2D@36
	cmp	dword [ebp-16],0
	jne	_8124
	jmp	_443
_8124:
	cmp	edi,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8125
	cmp	ebx,1
	sete	al
	movzx	eax,al
_8125:
	cmp	eax,0
	je	_8127
	jmp	_443
_8127:
	cmp	edi,1
	jle	_8128
	mov	eax,edi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	edi,eax
_8128:
	cmp	ebx,1
	jle	_8129
	mov	eax,ebx
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
_8129:
	push	ebx
	push	edi
	push	dword [ebp-8]
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	dword [ebp-8],eax
	add	dword [ebp-12],1
	jmp	_444
_443:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+32]
	mov	dword [eax+72],edx
	mov	eax,dword [ebp+32]
	mov	ecx,dword [eax+60]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-24]
	mov	dword [ecx+eax*4+24],edx
_439:
	add	dword [ebp-24],1
_8114:
	mov	eax,dword [ebp-36]
	cmp	dword [ebp-24],eax
	jle	_441
_440:
	mov	eax,dword [ebp+32]
	jmp	_2949
_2949:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_CreateCubeMapTexture:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+16]
	cmp	dword [ebp+20],_bbNullObject
	jne	_8130
	push	_sidesign_minib3d_TTexture
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp+20],eax
	push	dword [ebp+20]
	push	dword [__sidesign_minib3d_TTexture_tex_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_8130:
	push	4
	push	6
	push	dword [ebp+12]
	mov	eax,dword [ebp+8]
	imul	eax,6
	push	eax
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8134
	push	eax
	call	_bbGCFree
	add	esp,4
_8134:
	mov	eax,dword [ebp+20]
	mov	dword [eax+56],esi
	mov	eax,dword [ebp+20]
	mov	dword [eax+12],ebx
	mov	eax,dword [ebp+20]
	mov	dword [eax+68],1
	mov	dword [ebp-4],0
	lea	eax,dword [ebp-4]
	push	eax
	push	1
	call	_glGenTextures@8
	push	dword [ebp-4]
	push	34067
	call	_glBindTexture@8
	mov	dword [ebp-16],0
	jmp	_8138
_447:
	mov	eax,dword [ebp+20]
	mov	edx,dword [eax+56]
	push	dword [ebp+12]
	push	dword [ebp+8]
	push	0
	mov	eax,dword [ebp+8]
	imul	eax,dword [ebp-16]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,20
	mov	dword [ebp-8],eax
	push	dword [ebp-8]
	call	dword [_sidesign_minib3d_TTexture+168]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+20]
	mov	dword [eax+48],edx
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+20]
	mov	dword [eax+52],edx
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+12]
	mov	eax,dword [ebp-8]
	mov	edi,dword [eax+16]
	mov	dword [ebp-20],0
	mov	dword [ebp-12],0
_450:
_448:
	mov	esi,dword [_brl_pixmap_BytesPerPixel]
	mov	eax,dword [ebp-8]
	mov	ecx,dword [eax+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	cdq
	idiv	dword [esi+ecx*4+24]
	push	eax
	push	3314
	call	_glPixelStorei@8
	mov	eax,dword [ebp-16]
	cmp	eax,0
	je	_8146
	cmp	eax,1
	je	_8147
	cmp	eax,2
	je	_8148
	cmp	eax,3
	je	_8149
	cmp	eax,4
	je	_8150
	cmp	eax,5
	je	_8151
	jmp	_8145
_8146:
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-12]
	push	34070
	call	_glTexImage2D@36
	jmp	_8145
_8147:
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-12]
	push	34073
	call	_glTexImage2D@36
	jmp	_8145
_8148:
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-12]
	push	34069
	call	_glTexImage2D@36
	jmp	_8145
_8149:
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-12]
	push	34074
	call	_glTexImage2D@36
	jmp	_8145
_8150:
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-12]
	push	34071
	call	_glTexImage2D@36
	jmp	_8145
_8151:
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-12]
	push	34072
	call	_glTexImage2D@36
	jmp	_8145
_8145:
	cmp	dword [ebp-20],0
	jne	_8152
	jmp	_449
_8152:
	cmp	ebx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8153
	cmp	edi,1
	sete	al
	movzx	eax,al
_8153:
	cmp	eax,0
	je	_8155
	jmp	_449
_8155:
	cmp	ebx,1
	jle	_8156
	mov	eax,ebx
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
_8156:
	cmp	edi,1
	jle	_8157
	mov	eax,edi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	edi,eax
_8157:
	push	edi
	push	ebx
	push	dword [ebp-8]
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	dword [ebp-8],eax
	add	dword [ebp-12],1
	jmp	_450
_449:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+20]
	mov	dword [eax+72],edx
_445:
	add	dword [ebp-16],1
_8138:
	cmp	dword [ebp-16],5
	jle	_447
_446:
	mov	eax,dword [ebp+20]
	mov	edx,dword [eax+60]
	mov	eax,dword [ebp-4]
	mov	dword [edx+24],eax
	mov	eax,dword [ebp+20]
	jmp	_2955
_2955:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_LoadCubeMapTexture:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	ebx,dword [ebp+12]
	cmp	dword [ebp+16],_bbNullObject
	jne	_8158
	push	_sidesign_minib3d_TTexture
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp+16],eax
_8158:
	mov	eax,dword [ebp-4]
	inc	dword [eax+4]
	lea	eax,dword [ebp-4]
	push	eax
	call	dword [_sidesign_minib3d_TTexture+152]
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp-4]
	dec	dword [eax+4]
	jnz	_8159
	push	dword [ebp-4]
	call	_bbGCFree
	add	esp,4
_8159:
	cmp	esi,0
	jne	_8161
	mov	edx,_bbNullObject
	jmp	_2960
_8161:
	mov	esi,dword [ebp-4]
	inc	dword [esi+4]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_8165
	push	eax
	call	_bbGCFree
	add	esp,4
_8165:
	mov	eax,dword [ebp+16]
	mov	dword [eax+8],esi
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TTexture+156]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+44]
	dec	dword [eax+4]
	jnz	_8169
	push	eax
	call	_bbGCFree
	add	esp,4
_8169:
	mov	eax,dword [ebp+16]
	mov	dword [eax+44],esi
	mov	eax,dword [ebp+16]
	mov	dword [eax+12],ebx
	mov	eax,dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	mov	eax,dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,4
	mov	edx,eax
	cmp	edx,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_8173
	cmp	edx,dword [ebp+16]
	setne	al
	movzx	eax,al
_8173:
	cmp	eax,0
	je	_8175
	jmp	_2960
_8175:
	cmp	edx,dword [ebp+16]
	je	_8177
	push	dword [ebp+16]
	push	dword [__sidesign_minib3d_TTexture_tex_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_8177:
_8176:
	push	dword [ebp-4]
	call	_brl_pixmap_LoadPixmap
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8181
	push	eax
	call	_bbGCFree
	add	esp,4
_8181:
	mov	eax,dword [ebp+16]
	mov	dword [eax+56],ebx
	mov	ebx,0
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,6
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8183
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,5
	sete	al
	movzx	eax,al
_8183:
	cmp	eax,0
	jne	_8185
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,2
	sete	al
	movzx	eax,al
_8185:
	cmp	eax,0
	je	_8187
	mov	ebx,1
_8187:
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	cmp	dword [eax+24],6
	je	_8188
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8193
	push	eax
	call	_bbGCFree
	add	esp,4
_8193:
	mov	eax,dword [ebp+16]
	mov	dword [eax+56],esi
_8188:
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+12]
	and	eax,2
	cmp	eax,0
	je	_8194
	cmp	ebx,0
	sete	al
	movzx	eax,al
_8194:
	cmp	eax,0
	je	_8196
	mov	eax,dword [ebp+16]
	push	dword [eax+56]
	call	dword [_sidesign_minib3d_TTexture+176]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8200
	push	eax
	call	_bbGCFree
	add	esp,4
_8200:
	mov	eax,dword [ebp+16]
	mov	dword [eax+56],ebx
_8196:
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+12]
	and	eax,4
	cmp	eax,0
	je	_8201
	push	0
	push	0
	push	0
	mov	eax,dword [ebp+16]
	push	dword [eax+56]
	call	_brl_pixmap_MaskPixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_8205
	push	eax
	call	_bbGCFree
	add	esp,4
_8205:
	mov	eax,dword [ebp+16]
	mov	dword [eax+56],ebx
_8201:
	mov	eax,dword [ebp+16]
	mov	dword [eax+68],1
	mov	dword [ebp-8],0
	lea	eax,dword [ebp-8]
	push	eax
	push	1
	call	_glGenTextures@8
	push	dword [ebp-8]
	push	34067
	call	_glBindTexture@8
	mov	dword [ebp-20],0
	jmp	_8209
_453:
	mov	eax,dword [ebp+16]
	mov	ecx,dword [eax+56]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	push	dword [eax+16]
	mov	ebx,6
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+12]
	cdq
	idiv	ebx
	push	eax
	push	0
	mov	ebx,6
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+12]
	cdq
	idiv	ebx
	imul	eax,dword [ebp-20]
	push	eax
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+56]
	add	esp,20
	mov	dword [ebp-12],eax
	push	dword [ebp-12]
	call	dword [_sidesign_minib3d_TTexture+168]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+16]
	mov	dword [eax+48],edx
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	dword [eax+52],edx
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+12]
	mov	eax,dword [ebp-12]
	mov	edi,dword [eax+16]
	mov	dword [ebp-24],0
	mov	dword [ebp-16],0
_456:
_454:
	mov	esi,dword [_brl_pixmap_BytesPerPixel]
	mov	eax,dword [ebp-12]
	mov	ecx,dword [eax+24]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+20]
	cdq
	idiv	dword [esi+ecx*4+24]
	push	eax
	push	3314
	call	_glPixelStorei@8
	mov	eax,dword [ebp-20]
	cmp	eax,0
	je	_8217
	cmp	eax,1
	je	_8218
	cmp	eax,2
	je	_8219
	cmp	eax,3
	je	_8220
	cmp	eax,4
	je	_8221
	cmp	eax,5
	je	_8222
	jmp	_8216
_8217:
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-16]
	push	34070
	call	_glTexImage2D@36
	jmp	_8216
_8218:
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-16]
	push	34073
	call	_glTexImage2D@36
	jmp	_8216
_8219:
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-16]
	push	34069
	call	_glTexImage2D@36
	jmp	_8216
_8220:
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-16]
	push	34074
	call	_glTexImage2D@36
	jmp	_8216
_8221:
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-16]
	push	34071
	call	_glTexImage2D@36
	jmp	_8216
_8222:
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	edi
	push	ebx
	push	32856
	push	dword [ebp-16]
	push	34072
	call	_glTexImage2D@36
	jmp	_8216
_8216:
	cmp	dword [ebp-24],0
	jne	_8223
	jmp	_455
_8223:
	cmp	ebx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8224
	cmp	edi,1
	sete	al
	movzx	eax,al
_8224:
	cmp	eax,0
	je	_8226
	jmp	_455
_8226:
	cmp	ebx,1
	jle	_8227
	mov	eax,ebx
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
_8227:
	cmp	edi,1
	jle	_8228
	mov	eax,edi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	edi,eax
_8228:
	push	edi
	push	ebx
	push	dword [ebp-12]
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	dword [ebp-12],eax
	add	dword [ebp-16],1
	jmp	_456
_455:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp+16]
	mov	dword [eax+72],edx
_451:
	add	dword [ebp-20],1
_8209:
	cmp	dword [ebp-20],5
	jle	_453
_452:
	mov	eax,dword [ebp+16]
	mov	edx,dword [eax+60]
	mov	eax,dword [ebp-8]
	mov	dword [edx+24],eax
	mov	edx,dword [ebp+16]
	jmp	_2960
_2960:
	mov	eax,edx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_TextureBlend:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+16],eax
	mov	eax,0
	jmp	_2964
_2964:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_TextureCoords:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+20],eax
	mov	eax,0
	jmp	_2968
_2968:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_ScaleTexture:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [_12251]
	fdivrp	st2,st0
	fxch	st1
	fstp	dword [eax+24]
	fld	dword [_12252]
	fdivrp	st1,st0
	fstp	dword [eax+28]
	mov	eax,0
	jmp	_2973
_2973:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_PositionTexture:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fchs
	fstp	dword [eax+32]
	fchs
	fstp	dword [eax+36]
	mov	eax,0
	jmp	_2978
_2978:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_RotateTexture:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+40]
	mov	eax,0
	jmp	_2982
_2982:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_TextureWidth:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	jmp	_2985
_2985:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_TextureHeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	jmp	_2988
_2988:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_TextureName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_2991
_2991:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_GetBrushTexture:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2995
_2995:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_ClearTextureFilters:
	push	ebp
	mov	ebp,esp
	push	dword [__sidesign_minib3d_TTextureFilter_filter_list]
	call	_brl_linkedlist_ClearList
	add	esp,4
	mov	eax,0
	jmp	_2997
_2997:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_TextureFilter:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_sidesign_minib3d_TTextureFilter
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_8233
	push	eax
	call	_bbGCFree
	add	esp,4
_8233:
	mov	dword [ebx+8],esi
	mov	dword [ebx+12],edi
	push	ebx
	push	dword [__sidesign_minib3d_TTextureFilter_filter_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
	jmp	_3001
_3001:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_SetCubeFace:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+76],eax
	mov	eax,0
	jmp	_3005
_3005:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_SetCubeMode:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+80],eax
	mov	eax,0
	jmp	_3009
_3009:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_BackBufferToTex:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+16]
	mov	edx,dword [esi+12]
	and	edx,128
	cmp	edx,0
	jne	_8234
	mov	ebx,0
	mov	edi,0
	mov	edx,dword [esi+60]
	push	dword [edx+eax*4+24]
	push	3553
	call	_glBindTexture@8
	push	0
	push	dword [esi+52]
	push	dword [esi+48]
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	sub	eax,edi
	sub	eax,dword [esi+52]
	push	eax
	push	ebx
	push	32856
	push	dword [ebp+12]
	push	3553
	call	_glCopyTexImage2D@32
	jmp	_8237
_8234:
	mov	ebx,0
	mov	edi,0
	mov	eax,dword [esi+60]
	push	dword [eax+24]
	push	34067
	call	_glBindTexture@8
	mov	eax,dword [esi+76]
	cmp	eax,0
	je	_8242
	cmp	eax,1
	je	_8243
	cmp	eax,2
	je	_8244
	cmp	eax,3
	je	_8245
	cmp	eax,4
	je	_8246
	cmp	eax,5
	je	_8247
	jmp	_8241
_8242:
	push	0
	push	dword [esi+52]
	push	dword [esi+48]
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	sub	eax,edi
	sub	eax,dword [esi+52]
	push	eax
	push	ebx
	push	32856
	push	dword [ebp+12]
	push	34070
	call	_glCopyTexImage2D@32
	jmp	_8241
_8243:
	push	0
	push	dword [esi+52]
	push	dword [esi+48]
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	sub	eax,edi
	sub	eax,dword [esi+52]
	push	eax
	push	ebx
	push	32856
	push	dword [ebp+12]
	push	34073
	call	_glCopyTexImage2D@32
	jmp	_8241
_8244:
	push	0
	push	dword [esi+52]
	push	dword [esi+48]
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	sub	eax,edi
	sub	eax,dword [esi+52]
	push	eax
	push	ebx
	push	32856
	push	dword [ebp+12]
	push	34069
	call	_glCopyTexImage2D@32
	jmp	_8241
_8245:
	push	0
	push	dword [esi+52]
	push	dword [esi+48]
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	sub	eax,edi
	sub	eax,dword [esi+52]
	push	eax
	push	ebx
	push	32856
	push	dword [ebp+12]
	push	34074
	call	_glCopyTexImage2D@32
	jmp	_8241
_8246:
	push	0
	push	dword [esi+52]
	push	dword [esi+48]
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	sub	eax,edi
	sub	eax,dword [esi+52]
	push	eax
	push	ebx
	push	32856
	push	dword [ebp+12]
	push	34072
	call	_glCopyTexImage2D@32
	jmp	_8241
_8247:
	push	0
	push	dword [esi+52]
	push	dword [esi+48]
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	sub	eax,edi
	sub	eax,dword [esi+52]
	push	eax
	push	ebx
	push	32856
	push	dword [ebp+12]
	push	34071
	call	_glCopyTexImage2D@32
	jmp	_8241
_8241:
_8237:
	mov	eax,0
	jmp	_3014
_3014:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_CountMipmaps:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+72]
	jmp	_3017
_3017:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_MipmapWidth:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	cmp	ecx,0
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_8248
	cmp	ecx,dword [edx+72]
	setle	al
	movzx	eax,al
_8248:
	cmp	eax,0
	je	_8250
	add	ecx,1
	mov	eax,dword [edx+48]
	cdq
	idiv	ecx
	jmp	_3021
_8250:
	mov	eax,0
	jmp	_3021
_3021:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_MipmapHeight:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	cmp	ecx,0
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_8252
	cmp	ecx,dword [edx+72]
	setle	al
	movzx	eax,al
_8252:
	cmp	eax,0
	je	_8254
	add	ecx,1
	mov	eax,dword [edx+52]
	cdq
	idiv	ecx
	jmp	_3025
_8254:
	mov	eax,0
	jmp	_3025
_3025:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_FileFind:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	dword [esi]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_8256
_459:
	mov	eax,dword [esi]
	mov	ebx,dword [eax+8]
	push	1
	push	_460
	push	dword [esi]
	call	_brl_retro_Instr
	add	esp,12
	sub	ebx,eax
	push	ebx
	push	dword [esi]
	call	_brl_retro_Right
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi]
	dec	dword [eax+4]
	jnz	_8260
	push	eax
	call	_bbGCFree
	add	esp,4
_8260:
	mov	dword [esi],ebx
_457:
	push	1
	push	_460
	push	dword [esi]
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	jne	_459
_458:
_463:
	mov	eax,dword [esi]
	mov	ebx,dword [eax+8]
	push	1
	push	_464
	push	dword [esi]
	call	_brl_retro_Instr
	add	esp,12
	sub	ebx,eax
	push	ebx
	push	dword [esi]
	call	_brl_retro_Right
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi]
	dec	dword [eax+4]
	jnz	_8264
	push	eax
	call	_bbGCFree
	add	esp,4
_8264:
	mov	dword [esi],ebx
_461:
	push	1
	push	_464
	push	dword [esi]
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	jne	_463
_462:
	push	dword [esi]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_8265
	push	dword [esi]
	push	_465
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3028
_8265:
_8256:
	mov	eax,1
	jmp	_3028
_3028:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_FileAbs:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	1
	push	_466
	push	ebx
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	jne	_8267
	push	ebx
	push	_464
	call	_brl_filesystem_CurrentDir
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	jmp	_8268
_8267:
	mov	eax,ebx
_8268:
	push	_464
	push	_460
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	jmp	_3031
_3031:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_TexInList:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [__sidesign_minib3d_TTexture_tex_list]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_467
_469:
	mov	eax,dword [ebp-4]
	push	_sidesign_minib3d_TTexture
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_467
	push	dword [ebx+8]
	push	dword [esi+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8275
	mov	eax,dword [esi+12]
	cmp	eax,dword [ebx+12]
	sete	al
	movzx	eax,al
_8275:
	cmp	eax,0
	je	_8277
	mov	eax,dword [esi+16]
	cmp	eax,dword [ebx+16]
	sete	al
	movzx	eax,al
_8277:
	cmp	eax,0
	je	_8279
	fld	dword [esi+24]
	fld	dword [ebx+24]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_8280
	fld	dword [esi+28]
	fld	dword [ebx+28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_8280:
	cmp	eax,0
	je	_8282
	fld	dword [esi+32]
	fld	dword [ebx+32]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_8282:
	cmp	eax,0
	je	_8284
	fld	dword [esi+36]
	fld	dword [ebx+36]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_8284:
	cmp	eax,0
	je	_8286
	fld	dword [esi+40]
	fld	dword [ebx+40]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_8286:
	cmp	eax,0
	je	_8288
	mov	eax,ebx
	jmp	_3034
_8288:
_8279:
_467:
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_469
_468:
	mov	eax,_bbNullObject
	jmp	_3034
_3034:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_FilterFlags:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [__sidesign_minib3d_TTextureFilter_filter_list]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_470
_472:
	mov	eax,edi
	push	_sidesign_minib3d_TTextureFilter
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_470
	push	1
	push	dword [esi+8]
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	je	_8295
	mov	edx,dword [esi+12]
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+12]
	or	ecx,edx
	mov	dword [eax+12],ecx
_8295:
_470:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_472
_471:
	mov	eax,0
	jmp	_3037
_3037:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_AdjustPixmap:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	dword [edi+12]
	call	dword [_sidesign_minib3d_TTexture+172]
	add	esp,4
	mov	esi,eax
	push	dword [edi+16]
	call	dword [_sidesign_minib3d_TTexture+172]
	add	esp,4
	mov	ebx,eax
	push	ebx
	push	esi
	call	_bbIntMax
	add	esp,8
	mov	ecx,eax
	cmp	ecx,512
	jle	_8299
	mov	eax,esi
	shl	eax,9
	cdq
	idiv	ecx
	mov	esi,eax
	mov	eax,ebx
	shl	eax,9
	cdq
	idiv	ecx
	mov	ebx,eax
_8299:
	cmp	esi,1
	jge	_8300
	mov	esi,1
_8300:
	cmp	ebx,1
	jge	_8301
	mov	ebx,1
_8301:
	cmp	esi,dword [edi+12]
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_8302
	cmp	ebx,dword [edi+16]
	setne	al
	movzx	eax,al
_8302:
	cmp	eax,0
	je	_8304
	push	ebx
	push	esi
	push	edi
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	edi,eax
_8304:
	mov	eax,edi
	jmp	_3040
_3040:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_Pow2Size:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,1
	jmp	_473
_475:
	shl	eax,1
_473:
	cmp	eax,edx
	jl	_475
_474:
	jmp	_3043
_3043:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTexture_ApplyAlpha:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	cmp	dword [eax+24],6
	je	_8307
	mov	eax,dword [ebp-12]
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	dword [ebp-12],eax
_8307:
	push	4
	push	6
	mov	eax,dword [ebp-12]
	push	dword [eax+16]
	mov	eax,dword [ebp-12]
	push	dword [eax+12]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	dword [ebp-16],eax
	mov	dword [ebp-8],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	dword [ebp-20],eax
	jmp	_8311
_478:
	mov	eax,dword [ebp-12]
	push	dword [ebp-8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,12
	mov	esi,eax
	mov	eax,dword [ebp-16]
	push	dword [ebp-8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,12
	mov	ebx,eax
	mov	edi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp-4],eax
	jmp	_8318
_481:
	movzx	eax,byte [esi]
	mov	eax,eax
	mov	byte [ebx],al
	movzx	eax,byte [esi+1]
	mov	eax,eax
	mov	byte [ebx+1],al
	movzx	eax,byte [esi+2]
	mov	eax,eax
	mov	byte [ebx+2],al
	movzx	eax,byte [ebx]
	mov	eax,eax
	movzx	edx,byte [ebx+1]
	mov	edx,edx
	add	eax,edx
	movzx	edx,byte [ebx+2]
	mov	edx,edx
	add	eax,edx
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fdiv	dword [_12336]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebx+3],al
	add	esi,4
	add	ebx,4
_479:
	add	edi,1
_8318:
	cmp	edi,dword [ebp-4]
	jl	_481
_480:
_476:
	add	dword [ebp-8],1
_8311:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-8],eax
	jl	_478
_477:
	mov	eax,dword [ebp-16]
	jmp	_3046
_3046:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTextureFilter_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TTextureFilter
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],0
	mov	eax,0
	jmp	_3049
_3049:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TTextureFilter_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_3052:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_8323
	push	eax
	call	_bbGCFree
	add	esp,4
_8323:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_8321
_8321:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TBrush
	mov	dword [ebx+8],0
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	fld1
	fstp	dword [ebx+16]
	fld1
	fstp	dword [ebx+20]
	fld1
	fstp	dword [ebx+24]
	fld1
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	dword [ebx+36],0
	mov	dword [ebx+40],0
	mov	dword [ebx+44],0
	push	8
	push	_8325
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+48],eax
	mov	dword [ebx+52],0
	xor	eax,eax
	cmp	eax,0
	je	_8327
	push	_482
	call	_brl_blitz_DebugLog
	add	esp,4
_8327:
	mov	eax,0
	jmp	_3055
_3055:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_8328
	push	_483
	call	_brl_blitz_DebugLog
	add	esp,4
_8328:
_3058:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_8331
	push	eax
	call	_bbGCFree
	add	esp,4
_8331:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_8333
	push	eax
	call	_bbGCFree
	add	esp,4
_8333:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_8329
_8329:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_GetTex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	jge	_8334
	mov	eax,_bbNullObject
	jmp	_3062
_8334:
	cmp	edx,7
	jle	_8335
	mov	eax,_bbNullObject
	jmp	_3062
_8335:
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+edx*4+24]
	jmp	_3062
_3062:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_Copy:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	_sidesign_minib3d_TBrush
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+8]
	mov	dword [ebx+8],eax
	mov	eax,dword [edi+12]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_8340
	push	eax
	call	_bbGCFree
	add	esp,4
_8340:
	mov	dword [ebx+12],esi
	fld	dword [edi+16]
	fstp	dword [ebx+16]
	fld	dword [edi+20]
	fstp	dword [ebx+20]
	fld	dword [edi+24]
	fstp	dword [ebx+24]
	fld	dword [edi+28]
	fstp	dword [ebx+28]
	fld	dword [edi+32]
	fstp	dword [ebx+32]
	mov	eax,dword [edi+36]
	mov	dword [ebx+36],eax
	mov	eax,dword [edi+40]
	mov	dword [ebx+40],eax
	mov	eax,dword [edi+44]
	mov	dword [ebx+44],eax
	mov	eax,dword [edi+48]
	mov	eax,dword [eax+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_8344
	push	eax
	call	_bbGCFree
	add	esp,4
_8344:
	mov	eax,dword [ebx+48]
	mov	dword [eax+24],esi
	mov	eax,dword [edi+48]
	mov	eax,dword [eax+4+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+4+24]
	dec	dword [eax+4]
	jnz	_8348
	push	eax
	call	_bbGCFree
	add	esp,4
_8348:
	mov	eax,dword [ebx+48]
	mov	dword [eax+4+24],esi
	mov	eax,dword [edi+48]
	mov	eax,dword [eax+8+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+8+24]
	dec	dword [eax+4]
	jnz	_8352
	push	eax
	call	_bbGCFree
	add	esp,4
_8352:
	mov	eax,dword [ebx+48]
	mov	dword [eax+8+24],esi
	mov	eax,dword [edi+48]
	mov	eax,dword [eax+12+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+12+24]
	dec	dword [eax+4]
	jnz	_8356
	push	eax
	call	_bbGCFree
	add	esp,4
_8356:
	mov	eax,dword [ebx+48]
	mov	dword [eax+12+24],esi
	mov	eax,dword [edi+48]
	mov	eax,dword [eax+16+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+16+24]
	dec	dword [eax+4]
	jnz	_8360
	push	eax
	call	_bbGCFree
	add	esp,4
_8360:
	mov	eax,dword [ebx+48]
	mov	dword [eax+16+24],esi
	mov	eax,dword [edi+48]
	mov	eax,dword [eax+20+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+20+24]
	dec	dword [eax+4]
	jnz	_8364
	push	eax
	call	_bbGCFree
	add	esp,4
_8364:
	mov	eax,dword [ebx+48]
	mov	dword [eax+20+24],esi
	mov	eax,dword [edi+48]
	mov	eax,dword [eax+24+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+24+24]
	dec	dword [eax+4]
	jnz	_8368
	push	eax
	call	_bbGCFree
	add	esp,4
_8368:
	mov	eax,dword [ebx+48]
	mov	dword [eax+24+24],esi
	mov	eax,dword [edi+48]
	mov	esi,dword [eax+28+24]
	inc	dword [esi+4]
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+28+24]
	dec	dword [eax+4]
	jnz	_8372
	push	eax
	call	_bbGCFree
	add	esp,4
_8372:
	mov	eax,dword [ebx+48]
	mov	dword [eax+28+24],esi
	mov	eax,ebx
	jmp	_3065
_3065:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_FreeBrush:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_3068
_3068:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_CreateBrush:
	push	ebp
	mov	ebp,esp
	push	_sidesign_minib3d_TBrush
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fdiv	dword [_12361]
	fstp	dword [eax+16]
	fld	dword [ebp+12]
	fdiv	dword [_12362]
	fstp	dword [eax+20]
	fld	dword [ebp+16]
	fdiv	dword [_12363]
	fstp	dword [eax+24]
	jmp	_3073
_3073:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_LoadBrush:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_sidesign_minib3d_TBrush
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	_bbNullObject
	push	edi
	push	esi
	call	dword [_sidesign_minib3d_TTexture+60]
	add	esp,12
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_8378
	push	eax
	call	_bbGCFree
	add	esp,4
_8378:
	mov	eax,dword [ebx+48]
	mov	dword [eax+24],esi
	mov	dword [ebx+8],1
	mov	eax,ebx
	jmp	_3079
_3079:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_BrushColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fxch	st2
	fdiv	dword [_12370]
	fstp	dword [eax+16]
	fdiv	dword [_12371]
	fstp	dword [eax+20]
	fdiv	dword [_12372]
	fstp	dword [eax+24]
	mov	eax,0
	jmp	_3085
_3085:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_BrushAlpha:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+28]
	mov	eax,0
	jmp	_3089
_3089:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_BrushShininess:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+32]
	mov	eax,0
	jmp	_3093
_3093:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_BrushTexture:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+16]
	mov	esi,dword [ebp+20]
	mov	eax,dword [ebp+12]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_8382
	push	eax
	call	_bbGCFree
	add	esp,4
_8382:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	mov	dword [eax+esi*4+24],ebx
	mov	edx,esi
	add	edx,1
	mov	eax,dword [ebp+8]
	cmp	edx,dword [eax+8]
	jle	_8383
	mov	eax,esi
	add	eax,1
	mov	edx,dword [ebp+8]
	mov	dword [edx+8],eax
_8383:
	cmp	edi,0
	jge	_8384
	mov	edi,0
_8384:
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+68]
	sub	eax,1
	cmp	edi,eax
	jle	_8385
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+68]
	sub	eax,1
	mov	edi,eax
_8385:
	mov	eax,dword [ebp+8]
	mov	dword [eax+44],edi
	mov	eax,0
	jmp	_3099
_3099:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_BrushBlend:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+36],eax
	mov	eax,0
	jmp	_3103
_3103:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_BrushFX:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+40],eax
	mov	eax,0
	jmp	_3107
_3107:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_GetEntityBrush:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+132]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	jmp	_3110
_3110:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_GetSurfaceBrush:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+72]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	jmp	_3113
_3113:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBrush_CompareBrushes:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	cmp	ebx,_bbNullObject
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8388
	cmp	ecx,_bbNullObject
	setne	al
	movzx	eax,al
_8388:
	cmp	eax,0
	je	_8390
	mov	eax,0
	jmp	_3117
_8390:
	cmp	ebx,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_8391
	cmp	ecx,_bbNullObject
	sete	al
	movzx	eax,al
_8391:
	cmp	eax,0
	je	_8393
	mov	eax,0
	jmp	_3117
_8393:
	cmp	ebx,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_8394
	cmp	ecx,_bbNullObject
	setne	al
	movzx	eax,al
_8394:
	cmp	eax,0
	je	_8396
	mov	eax,dword [ecx+8]
	cmp	dword [ebx+8],eax
	je	_8397
	mov	eax,0
	jmp	_3117
_8397:
	fld	dword [ebx+16]
	fld	dword [ecx+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8398
	mov	eax,0
	jmp	_3117
_8398:
	fld	dword [ebx+20]
	fld	dword [ecx+20]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8399
	mov	eax,0
	jmp	_3117
_8399:
	fld	dword [ebx+24]
	fld	dword [ecx+24]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8400
	mov	eax,0
	jmp	_3117
_8400:
	fld	dword [ebx+28]
	fld	dword [ecx+28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8401
	mov	eax,0
	jmp	_3117
_8401:
	fld	dword [ebx+32]
	fld	dword [ecx+32]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8402
	mov	eax,0
	jmp	_3117
_8402:
	mov	eax,dword [ecx+36]
	cmp	dword [ebx+36],eax
	je	_8403
	mov	eax,0
	jmp	_3117
_8403:
	mov	eax,dword [ecx+40]
	cmp	dword [ebx+40],eax
	je	_8404
	mov	eax,0
	jmp	_3117
_8404:
	mov	edx,0
	jmp	_8406
_486:
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8407
	mov	eax,dword [ecx+48]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_8407:
	cmp	eax,0
	je	_8409
	mov	eax,0
	jmp	_3117
_8409:
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_8410
	mov	eax,dword [ecx+48]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
_8410:
	cmp	eax,0
	je	_8412
	mov	eax,0
	jmp	_3117
_8412:
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_8413
	mov	eax,dword [ecx+48]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_8413:
	cmp	eax,0
	je	_8415
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+edx*4+24]
	mov	esi,dword [ecx+48]
	mov	esi,dword [esi+edx*4+24]
	mov	esi,dword [esi+60]
	cmp	dword [eax+60],esi
	je	_8416
	mov	eax,0
	jmp	_3117
_8416:
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+edx*4+24]
	mov	esi,dword [ecx+48]
	mov	esi,dword [esi+edx*4+24]
	mov	esi,dword [esi+16]
	cmp	dword [eax+16],esi
	je	_8417
	mov	eax,0
	jmp	_3117
_8417:
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+edx*4+24]
	mov	esi,dword [ecx+48]
	mov	esi,dword [esi+edx*4+24]
	mov	esi,dword [esi+20]
	cmp	dword [eax+20],esi
	je	_8418
	mov	eax,0
	jmp	_3117
_8418:
_8415:
_484:
	add	edx,1
_8406:
	cmp	edx,7
	jle	_486
_485:
_8396:
	mov	eax,1
	jmp	_3117
_3117:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimation_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TAnimation
	mov	eax,0
	jmp	_3120
_3120:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimation_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_3123:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_8419
_8419:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimation_AnimateMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,72
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+20]
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_8420
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	dword [eax+200],0
	jne	_8421
	mov	eax,0
	jmp	_3129
_8421:
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [eax+204],1
	mov	dword [ebp+-72],edi
	fild	dword [ebp+-72]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_8423
	mov	dword [ebp+-72],edi
	fild	dword [ebp+-72]
	fstp	dword [ebp+12]
_8423:
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-72],eax
	fild	dword [ebp+-72]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_8424
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-72],eax
	fild	dword [ebp+-72]
	fstp	dword [ebp+12]
_8424:
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-60],eax
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+304]
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp-64]
	add	eax,24
	mov	dword [ebp-56],eax
	mov	edx,dword [ebp-56]
	mov	eax,dword [ebp-64]
	add	edx,dword [eax+16]
	mov	dword [ebp-68],edx
	jmp	_487
_489:
	mov	eax,dword [ebp-56]
	mov	ebx,dword [eax]
	add	dword [ebp-56],4
	cmp	ebx,_bbNullObject
	je	_487
	mov	ecx,0
	fld	dword [_12424]
	fld	dword [_12425]
	mov	edx,0
	mov	dword [ebp-52],0
	fld	dword [_12426]
	fstp	dword [ebp-36]
	fld	dword [_12427]
	fld	dword [_12428]
	fld	dword [_12429]
	fld	dword [_12430]
	fstp	dword [ebp-44]
	fld	dword [_12431]
	fstp	dword [ebp-24]
	fld	dword [_12432]
	fstp	dword [ebp-20]
	fld	dword [_12433]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp-60]
	add	eax,1
	mov	esi,eax
_492:
	sub	esi,1
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	and	eax,1
	cmp	eax,0
	je	_8446
	fstp	st0
	fstp	st0
	fstp	st0
	fxch	st1
	fstp	st0
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+16]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+20]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+24]
	fld	dword [eax+esi*4+24]
	fld	dword [ebp+12]
	mov	dword [ebp+-72],esi
	fild	dword [ebp+-72]
	fsubp	st1,st0
	mov	edx,1
	fxch	st4
	fxch	st3
	fxch	st2
	fxch	st1
_8446:
	cmp	esi,dword [ebp+16]
	jg	_8447
	mov	eax,edi
	add	eax,1
	mov	esi,eax
	add	ecx,1
_8447:
_490:
	cmp	edx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8448
	cmp	ecx,2
	setge	al
	movzx	eax,al
_8448:
	cmp	eax,0
	je	_492
_491:
	cmp	edx,0
	jne	_8450
	mov	dword [ebp-52],1
_8450:
	mov	edx,0
	mov	ecx,0
	mov	esi,dword [ebp-60]
_495:
	add	esi,1
	cmp	esi,edi
	jle	_8451
	mov	esi,dword [ebp+16]
	add	ecx,1
_8451:
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	and	eax,1
	cmp	eax,0
	je	_8452
	fxch	st3
	fstp	st0
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+16]
	fld	dword [eax+esi*4+24]
	fstp	dword [ebp-24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+20]
	fld	dword [eax+esi*4+24]
	fstp	dword [ebp-20]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+24]
	fld	dword [eax+esi*4+24]
	fstp	dword [ebp-28]
	mov	dword [ebp+-72],esi
	fild	dword [ebp+-72]
	fsub	dword [ebp+12]
	mov	edx,1
	fxch	st3
_8452:
_493:
	cmp	edx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8453
	cmp	ecx,2
	setge	al
	movzx	eax,al
_8453:
	cmp	eax,0
	je	_495
_494:
	cmp	edx,0
	jne	_8455
	mov	dword [ebp-52],1
_8455:
	mov	edx,0
	mov	ecx,0
	cmp	dword [ebp-52],1
	jne	_8459
	fld	dword [ebx+264]
	fstp	dword [ebp-48]
	fld	dword [ebx+268]
	fstp	dword [ebp-40]
	fld	dword [ebx+272]
	fstp	dword [ebp-32]
	jmp	_8460
_8459:
	fld	st4
	fadd	st0,st4
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8461
	fxch	st2
	fst	dword [ebp-48]
	fxch	st1
	fst	dword [ebp-40]
	fxch	st2
	fst	dword [ebp-32]
	jmp	_8462
_8461:
	fld	dword [ebp-24]
	fsub	st0,st3
	fld	st5
	fadd	st0,st5
	fdivp	st1,st0
	fmul	st0,st5
	fadd	st0,st3
	fstp	dword [ebp-48]
	fld	dword [ebp-20]
	fsub	st0,st2
	fld	st5
	fadd	st0,st5
	fdivp	st1,st0
	fmul	st0,st5
	fadd	st0,st2
	fstp	dword [ebp-40]
	fld	dword [ebp-28]
	fsub	st0,st1
	fld	st5
	fadd	st0,st5
	fdivp	st1,st0
	fmul	st0,st5
	fadd	st0,st1
	fstp	dword [ebp-32]
	fxch	st1
	fxch	st2
	fxch	st1
_8462:
	fxch	st1
	fxch	st2
	fxch	st1
_8460:
	mov	dword [ebp-52],0
	fld	dword [ebp-48]
	fstp	dword [ebx+332]
	fld	dword [ebp-40]
	fstp	dword [ebx+336]
	fld	dword [ebp-32]
	fstp	dword [ebx+340]
	mov	eax,dword [ebp-60]
	add	eax,1
	mov	esi,eax
_498:
	sub	esi,1
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	and	eax,4
	cmp	eax,0
	je	_8463
	fstp	st0
	fstp	st0
	fstp	st0
	fxch	st1
	fstp	st0
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+40]
	fld	dword [eax+esi*4+24]
	fstp	dword [ebp-36]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+44]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+48]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+52]
	fld	dword [eax+esi*4+24]
	fld	dword [ebp+12]
	mov	dword [ebp+-72],esi
	fild	dword [ebp+-72]
	fsubp	st1,st0
	mov	edx,1
	fxch	st4
	fxch	st3
	fxch	st2
	fxch	st1
_8463:
	cmp	esi,dword [ebp+16]
	jg	_8464
	mov	eax,edi
	add	eax,1
	mov	esi,eax
	add	ecx,1
_8464:
_496:
	cmp	edx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8465
	cmp	ecx,2
	setge	al
	movzx	eax,al
_8465:
	cmp	eax,0
	je	_498
_497:
	cmp	edx,0
	jne	_8467
	mov	dword [ebp-52],1
_8467:
	mov	edx,0
	mov	ecx,0
	mov	esi,dword [ebp-60]
_501:
	add	esi,1
	cmp	esi,edi
	jle	_8468
	mov	esi,dword [ebp+16]
	add	ecx,1
_8468:
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	and	eax,4
	cmp	eax,0
	je	_8469
	fxch	st3
	fstp	st0
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+40]
	fld	dword [eax+esi*4+24]
	fstp	dword [ebp-44]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+44]
	fld	dword [eax+esi*4+24]
	fstp	dword [ebp-24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+48]
	fld	dword [eax+esi*4+24]
	fstp	dword [ebp-20]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+52]
	fld	dword [eax+esi*4+24]
	fstp	dword [ebp-28]
	mov	dword [ebp+-72],esi
	fild	dword [ebp+-72]
	fsub	dword [ebp+12]
	mov	edx,1
	fxch	st3
_8469:
_499:
	cmp	edx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8470
	cmp	ecx,2
	setge	al
	movzx	eax,al
_8470:
	cmp	eax,0
	je	_501
_500:
	cmp	edx,0
	jne	_8472
	mov	dword [ebp-52],1
_8472:
	fldz
	fstp	dword [ebp-16]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	cmp	dword [ebp-52],1
	jne	_8477
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fld	dword [ebx+300]
	fstp	dword [ebp-16]
	fld	dword [ebx+304]
	fstp	dword [ebp-4]
	fld	dword [ebx+308]
	fstp	dword [ebp-8]
	fld	dword [ebx+312]
	fstp	dword [ebp-12]
	jmp	_8478
_8477:
	fld	st4
	fadd	st0,st4
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8479
	fxch	st3
	fstp	st0
	fxch	st3
	fstp	st0
	fld	dword [ebp-36]
	fstp	dword [ebp-16]
	fstp	dword [ebp-4]
	fxch	st1
	fstp	dword [ebp-8]
	fstp	dword [ebp-12]
	jmp	_8480
_8479:
	fld	dword [_12437]
	fld	st5
	faddp	st5,st0
	fdivrp	st4,st0
	fxch	st4
	fmulp	st3,st0
	sub	esp,4
	fxch	st2
	fstp	dword [esp]
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	dword [ebp-44]
	push	dword [ebp-28]
	push	dword [ebp-20]
	push	dword [ebp-24]
	push	dword [ebp-36]
	sub	esp,4
	fxch	st2
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TQuaternion+56]
	add	esp,52
_8480:
_8478:
	fld	dword [ebp-16]
	fstp	dword [ebx+344]
	fld	dword [ebp-4]
	fstp	dword [ebx+348]
	fld	dword [ebp-8]
	fstp	dword [ebx+352]
	fld	dword [ebp-12]
	fstp	dword [ebx+356]
	lea	eax,dword [ebx+24]
	push	eax
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	dword [ebp-16]
	call	dword [_sidesign_minib3d_TQuaternion+48]
	add	esp,20
	fld	dword [ebp-48]
	fstp	dword [ebx+32]
	fld	dword [ebp-40]
	fstp	dword [ebx+36]
	fld	dword [ebp-32]
	fchs
	fstp	dword [ebx+40]
	mov	eax,dword [ebx+320]
	push	dword [ebx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [ebx+320]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+320]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fld	dword [ebp-48]
	fstp	dword [eax+edx*4+28]
	mov	eax,dword [ebx+320]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+320]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebp-40]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+320]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+320]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebp-32]
	fstp	dword [edx+eax*4+28]
	push	_sidesign_minib3d_TBone
	push	dword [ebx+20]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_8483
	push	_sidesign_minib3d_TBone
	push	dword [ebx+20]
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	mov	eax,esi
	push	dword [ebx+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebx+320]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_8483:
	mov	eax,dword [ebx+328]
	push	dword [ebx+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [ebx+328]
	push	dword [ebx+324]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	mov	dword [ebx+8],1
_487:
	mov	eax,dword [ebp-68]
	cmp	dword [ebp-56],eax
	jne	_489
_488:
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	dword [_sidesign_minib3d_TAnimation+56]
	add	esp,4
_8420:
	mov	eax,0
	jmp	_3129
_3129:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimation_AnimateMesh2:
	push	ebp
	mov	ebp,esp
	sub	esp,76
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+16]
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_8490
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	dword [eax+200],0
	jne	_8491
	mov	eax,0
	jmp	_3135
_8491:
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [eax+204],1
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+304]
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp-72]
	add	eax,24
	mov	dword [ebp-68],eax
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-72]
	add	edx,dword [eax+16]
	mov	dword [ebp-76],edx
	jmp	_502
_504:
	mov	eax,dword [ebp-68]
	mov	ebx,dword [eax]
	add	dword [ebp-68],4
	cmp	ebx,_bbNullObject
	je	_502
	mov	ecx,0
	fld	dword [ebp+12]
	fld	dword [_12466]
	fsub	st0,st1
	fstp	dword [ebp-64]
	mov	edx,0
	mov	dword [ebp-52],0
	fld	dword [ebx+332]
	fstp	dword [ebp-36]
	fld	dword [ebx+336]
	fstp	dword [ebp-44]
	fld	dword [ebx+340]
	fstp	dword [ebp-56]
	fld	dword [_12468]
	fld	dword [_12469]
	fld	dword [_12470]
	fld	dword [_12471]
	mov	eax,edi
	sub	eax,1
	mov	esi,eax
_507:
	add	esi,1
	cmp	esi,dword [ebp+20]
	jle	_8513
	mov	esi,edi
	add	ecx,1
_8513:
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	and	eax,1
	cmp	eax,0
	je	_8514
	fstp	st0
	fstp	st0
	fstp	st0
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+16]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+20]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+24]
	fld	dword [eax+esi*4+24]
	mov	edx,1
_8514:
_505:
	cmp	edx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8515
	cmp	ecx,2
	setge	al
	movzx	eax,al
_8515:
	cmp	eax,0
	je	_507
_506:
	cmp	edx,0
	jne	_8517
	mov	dword [ebp-52],1
_8517:
	mov	edx,0
	mov	ecx,0
	cmp	dword [ebp-52],1
	jne	_8521
	fld	dword [ebx+264]
	fstp	dword [ebp-60]
	fld	dword [ebx+268]
	fstp	dword [ebp-48]
	fld	dword [ebx+272]
	fstp	dword [ebp-40]
	jmp	_8522
_8521:
	fld	st4
	fadd	dword [ebp-64]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8523
	fld	dword [ebp-36]
	fstp	dword [ebp-60]
	fld	dword [ebp-44]
	fstp	dword [ebp-48]
	fld	dword [ebp-56]
	fstp	dword [ebp-40]
	jmp	_8524
_8523:
	fld	st2
	fsub	dword [ebp-36]
	fld	st5
	fadd	dword [ebp-64]
	fdivp	st1,st0
	fmul	st0,st5
	fadd	dword [ebp-36]
	fstp	dword [ebp-60]
	fld	st1
	fsub	dword [ebp-44]
	fld	st5
	fadd	dword [ebp-64]
	fdivp	st1,st0
	fmul	st0,st5
	fadd	dword [ebp-44]
	fstp	dword [ebp-48]
	fld	st0
	fsub	dword [ebp-56]
	fld	st5
	fadd	dword [ebp-64]
	fdivp	st1,st0
	fmul	st0,st5
	fadd	dword [ebp-56]
	fstp	dword [ebp-40]
_8524:
_8522:
	mov	dword [ebp-52],0
	fld	dword [ebx+344]
	fstp	dword [ebp-32]
	fld	dword [ebx+348]
	fstp	dword [ebp-36]
	fld	dword [ebx+352]
	fstp	dword [ebp-44]
	fld	dword [ebx+356]
	fstp	dword [ebp-56]
	mov	eax,edi
	sub	eax,1
	mov	esi,eax
_510:
	add	esi,1
	cmp	esi,dword [ebp+20]
	jle	_8525
	mov	esi,edi
	add	ecx,1
_8525:
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	and	eax,4
	cmp	eax,0
	je	_8526
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+40]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+44]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+48]
	fld	dword [eax+esi*4+24]
	mov	eax,dword [ebx+316]
	mov	eax,dword [eax+52]
	fld	dword [eax+esi*4+24]
	mov	edx,1
_8526:
_508:
	cmp	edx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8527
	cmp	ecx,2
	setge	al
	movzx	eax,al
_8527:
	cmp	eax,0
	je	_510
_509:
	cmp	edx,0
	jne	_8529
	mov	dword [ebp-52],1
_8529:
	fldz
	fstp	dword [ebp-16]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	cmp	dword [ebp-52],1
	jne	_8534
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fld	dword [ebx+300]
	fstp	dword [ebp-16]
	fld	dword [ebx+304]
	fstp	dword [ebp-4]
	fld	dword [ebx+308]
	fstp	dword [ebp-8]
	fld	dword [ebx+312]
	fstp	dword [ebp-12]
	jmp	_8535
_8534:
	fld	st4
	fadd	dword [ebp-64]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_8536
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fld	dword [ebp-32]
	fstp	dword [ebp-16]
	fld	dword [ebp-36]
	fstp	dword [ebp-4]
	fld	dword [ebp-44]
	fstp	dword [ebp-8]
	fld	dword [ebp-56]
	fstp	dword [ebp-12]
	jmp	_8537
_8536:
	fld	dword [_12475]
	fld	st5
	fadd	dword [ebp-64]
	fdivp	st1,st0
	fmulp	st5,st0
	sub	esp,4
	fxch	st4
	fstp	dword [esp]
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	sub	esp,4
	fxch	st2
	fstp	dword [esp]
	sub	esp,4
	fxch	st2
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-32]
	push	dword [ebp-56]
	push	dword [ebp-44]
	push	dword [ebp-36]
	call	dword [_sidesign_minib3d_TQuaternion+56]
	add	esp,52
_8537:
_8535:
	lea	eax,dword [ebx+28]
	push	eax
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	dword [ebp-16]
	call	dword [_sidesign_minib3d_TQuaternion+48]
	add	esp,20
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	fld	dword [ebp-60]
	fstp	dword [eax+edx*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebp-48]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebp-40]
	fstp	dword [edx+eax*4+28]
	fldz
	fstp	dword [ebp-20]
	fldz
	fstp	dword [ebp-24]
	fldz
	fstp	dword [ebp-28]
	lea	eax,dword [ebp-28]
	push	eax
	lea	eax,dword [ebp-24]
	push	eax
	lea	eax,dword [ebp-20]
	push	eax
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	dword [ebp-16]
	call	dword [_sidesign_minib3d_TQuaternion+52]
	add	esp,28
	fld	dword [ebp-20]
	fchs
	fstp	dword [ebx+56]
	fld	dword [ebp-24]
	fstp	dword [ebx+60]
	fld	dword [ebp-28]
	fstp	dword [ebx+64]
	fld	dword [ebp-60]
	fstp	dword [ebx+32]
	fld	dword [ebp-48]
	fstp	dword [ebx+36]
	fld	dword [ebp-40]
	fstp	dword [ebx+40]
	mov	eax,dword [ebx+320]
	push	dword [ebx+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	cmp	dword [ebx+20],_bbNullObject
	je	_8543
	mov	eax,dword [ebx+20]
	mov	eax,dword [eax+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	mov	eax,esi
	push	dword [ebx+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebx+28]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_8543:
	push	_sidesign_minib3d_TBone
	push	dword [ebx+20]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_8548
	push	_sidesign_minib3d_TBone
	push	dword [ebx+20]
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	mov	eax,esi
	push	dword [ebx+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebx+320]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_8548:
	mov	eax,dword [ebx+328]
	push	dword [ebx+320]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [ebx+328]
	push	dword [ebx+324]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebx+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,1
	je	_8556
	push	ebx
	call	dword [_sidesign_minib3d_TEntity+388]
	add	esp,4
_8556:
_502:
	mov	eax,dword [ebp-76]
	cmp	dword [ebp-68],eax
	jne	_504
_503:
	push	_sidesign_minib3d_TMesh
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	dword [_sidesign_minib3d_TAnimation+56]
	add	esp,4
_8490:
	mov	eax,0
	jmp	_3135
_3135:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimation_VertexDeform:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+292]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+296]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp-24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-28],eax
	jmp	_511
_513:
	mov	eax,dword [ebp-28]
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_511
	mov	eax,dword [ebp-20]
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	or	dword [ebx+96],1
	mov	eax,0
	mov	edx,dword [ebx+8]
	mov	dword [ebp-16],edx
	jmp	_8577
_516:
	mov	edx,eax
	imul	edx,3
	mov	edi,edx
	mov	edx,dword [ebx+40]
	cmp	dword [edx+eax*4+24],0
	je	_8579
	mov	edx,dword [ebp-12]
	mov	edx,dword [edx+20]
	fld	dword [edx+edi*4+24]
	mov	edx,dword [ebp-12]
	mov	ecx,dword [edx+20]
	mov	edx,edi
	add	edx,1
	fld	dword [ecx+edx*4+24]
	mov	edx,dword [ebp-12]
	mov	ecx,dword [edx+20]
	mov	edx,edi
	add	edx,2
	fld	dword [ecx+edx*4+24]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+304]
	mov	ecx,dword [ebx+40]
	mov	ecx,dword [ecx+eax*4+24]
	sub	ecx,1
	mov	edx,dword [edx+ecx*4+24]
	mov	ecx,dword [ebx+56]
	fld	dword [ecx+eax*4+24]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+28]
	fmul	st0,st4
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fadd	dword [ecx+esi*4+28]
	fmul	st0,st1
	fstp	dword [ebp-4]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+4+28]
	fmul	st0,st4
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fadd	dword [ecx+esi*4+28]
	fmul	st0,st1
	fstp	dword [ebp-8]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+8+28]
	fmul	st0,st4
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	edx,dword [edx+328]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,2
	fadd	dword [ecx+edx*4+28]
	fmulp	st1,st0
	mov	edx,dword [ebx+44]
	cmp	dword [edx+eax*4+24],0
	jne	_12510
	fxch	st1
	fstp	st0
	fxch	st1
	fstp	st0
	fxch	st1
	fstp	st0
	jmp	_8580
_12510:
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+304]
	mov	ecx,dword [ebx+44]
	mov	ecx,dword [ecx+eax*4+24]
	sub	ecx,1
	mov	edx,dword [edx+ecx*4+24]
	mov	ecx,dword [ebx+60]
	fld	dword [ecx+eax*4+24]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+28]
	fmul	st0,st5
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fmul	st0,st5
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fadd	dword [ecx+esi*4+28]
	fmul	st0,st1
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+4+28]
	fmul	st0,st5
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st5
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fadd	dword [ecx+esi*4+28]
	fmul	st0,st1
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+8+28]
	fmul	st0,st5
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmul	st0,st5
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	edx,dword [edx+328]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,2
	fadd	dword [ecx+edx*4+28]
	fmulp	st1,st0
	faddp	st1,st0
	mov	edx,dword [ebx+48]
	cmp	dword [edx+eax*4+24],0
	jne	_12511
	fxch	st1
	fstp	st0
	fxch	st1
	fstp	st0
	fxch	st1
	fstp	st0
	jmp	_8581
_12511:
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+304]
	mov	ecx,dword [ebx+48]
	mov	ecx,dword [ecx+eax*4+24]
	sub	ecx,1
	mov	edx,dword [edx+ecx*4+24]
	mov	ecx,dword [ebx+64]
	fld	dword [ecx+eax*4+24]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+28]
	fmul	st0,st5
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fmul	st0,st5
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fadd	dword [ecx+esi*4+28]
	fmul	st0,st1
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+4+28]
	fmul	st0,st5
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st5
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fadd	dword [ecx+esi*4+28]
	fmul	st0,st1
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+8+28]
	fmul	st0,st5
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmul	st0,st5
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	edx,dword [edx+328]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,2
	fadd	dword [ecx+edx*4+28]
	fmulp	st1,st0
	faddp	st1,st0
	mov	edx,dword [ebx+52]
	cmp	dword [edx+eax*4+24],0
	jne	_12512
	fxch	st1
	fstp	st0
	fxch	st1
	fstp	st0
	fxch	st1
	fstp	st0
	jmp	_8582
_12512:
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+304]
	mov	ecx,dword [ebx+52]
	mov	ecx,dword [ecx+eax*4+24]
	sub	ecx,1
	mov	edx,dword [edx+ecx*4+24]
	mov	ecx,dword [ebx+68]
	fld	dword [ecx+eax*4+24]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+28]
	fmul	st0,st5
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fmul	st0,st5
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fadd	dword [ecx+esi*4+28]
	fmul	st0,st1
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+4+28]
	fmul	st0,st5
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st5
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fadd	dword [ecx+esi*4+28]
	fmul	st0,st1
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	fld	dword [ecx+8+28]
	fmulp	st5,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st4,st0
	fxch	st3
	faddp	st4,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	esi,dword [edx+328]
	mov	esi,dword [esi+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [ecx+esi*4+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st3,st0
	mov	ecx,dword [edx+328]
	mov	ecx,dword [ecx+8]
	mov	edx,dword [edx+328]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,2
	fxch	st2
	fadd	dword [ecx+edx*4+28]
	fmulp	st1,st0
	faddp	st1,st0
_8582:
_8581:
_8580:
	mov	edx,dword [ebx+20]
	fld	dword [ebp-4]
	fstp	dword [edx+edi*4+24]
	mov	ecx,dword [ebx+20]
	mov	edx,edi
	add	edx,1
	fld	dword [ebp-8]
	fstp	dword [ecx+edx*4+24]
	mov	ecx,dword [ebx+20]
	mov	edx,edi
	add	edx,2
	fstp	dword [ecx+edx*4+24]
_8579:
_514:
	add	eax,1
_8577:
	cmp	eax,dword [ebp-16]
	jl	_516
_515:
	mov	eax,dword [ebp-20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-20],eax
_511:
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_513
_512:
	mov	eax,0
	jmp	_3138
_3138:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimation_NormaliseWeights:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+296]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_517
_519:
	mov	eax,edi
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_517
	mov	ecx,0
	mov	edx,dword [esi+8]
	jmp	_8591
_522:
	mov	eax,dword [esi+56]
	fld	dword [eax+ecx*4+24]
	mov	eax,dword [esi+60]
	fld	dword [eax+ecx*4+24]
	mov	eax,dword [esi+64]
	fld	dword [eax+ecx*4+24]
	mov	eax,dword [esi+68]
	fld	dword [eax+ecx*4+24]
	fld	st3
	fadd	st0,st3
	fadd	st0,st2
	fadd	st0,st1
	fld	dword [_12513]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_8598
	fld	dword [_12514]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_8598:
	cmp	eax,0
	jne	_12524
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	jmp	_8600
_12524:
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_12525
	fstp	st0
	jmp	_8602
_12525:
	fld	dword [_12516]
	fdivrp	st1,st0
	jmp	_8603
_8602:
	fld	dword [_12517]
_8603:
	fmul	st4,st0
	fmul	st3,st0
	fmul	st2,st0
	fmulp	st1,st0
	mov	eax,dword [esi+56]
	fxch	st3
	fstp	dword [eax+ecx*4+24]
	mov	eax,dword [esi+60]
	fxch	st1
	fstp	dword [eax+ecx*4+24]
	mov	eax,dword [esi+64]
	fstp	dword [eax+ecx*4+24]
	mov	eax,dword [esi+68]
	fstp	dword [eax+ecx*4+24]
_8600:
_520:
	add	ecx,1
_8591:
	cmp	ecx,edx
	jl	_522
_521:
_517:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_519
_518:
	mov	eax,0
	jmp	_3141
_3141:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimationKeys_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TAnimationKeys
	mov	dword [ebx+8],0
	push	1
	push	_8604
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	push	1
	push	_8606
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	push	1
	push	_8608
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	push	1
	push	_8610
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	push	1
	push	_8612
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	push	1
	push	_8614
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	push	1
	push	_8616
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	push	1
	push	_8618
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	push	1
	push	_8620
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+44],eax
	push	1
	push	_8622
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+48],eax
	push	1
	push	_8624
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+52],eax
	xor	eax,eax
	cmp	eax,0
	je	_8626
	push	_523
	call	_brl_blitz_DebugLog
	add	esp,4
_8626:
	mov	eax,0
	jmp	_3144
_3144:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimationKeys_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_8627
	push	_524
	call	_brl_blitz_DebugLog
	add	esp,4
_8627:
_3147:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_8630
	push	eax
	call	_bbGCFree
	add	esp,4
_8630:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_8632
	push	eax
	call	_bbGCFree
	add	esp,4
_8632:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_8634
	push	eax
	call	_bbGCFree
	add	esp,4
_8634:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_8636
	push	eax
	call	_bbGCFree
	add	esp,4
_8636:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_8638
	push	eax
	call	_bbGCFree
	add	esp,4
_8638:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_8640
	push	eax
	call	_bbGCFree
	add	esp,4
_8640:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_8642
	push	eax
	call	_bbGCFree
	add	esp,4
_8642:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_8644
	push	eax
	call	_bbGCFree
	add	esp,4
_8644:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_8646
	push	eax
	call	_bbGCFree
	add	esp,4
_8646:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_8648
	push	eax
	call	_bbGCFree
	add	esp,4
_8648:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_8650
	push	eax
	call	_bbGCFree
	add	esp,4
_8650:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_8628
_8628:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TAnimationKeys_Copy:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	_sidesign_minib3d_TAnimationKeys
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	mov	eax,dword [ebx+8]
	mov	dword [edi+8],eax
	mov	eax,dword [ebx+12]
	push	dword [eax+20]
	push	0
	push	dword [ebx+12]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8655
	push	eax
	call	_bbGCFree
	add	esp,4
_8655:
	mov	dword [edi+12],esi
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	push	0
	push	dword [ebx+16]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+16]
	dec	dword [eax+4]
	jnz	_8659
	push	eax
	call	_bbGCFree
	add	esp,4
_8659:
	mov	dword [edi+16],esi
	mov	eax,dword [ebx+20]
	push	dword [eax+20]
	push	0
	push	dword [ebx+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+20]
	dec	dword [eax+4]
	jnz	_8663
	push	eax
	call	_bbGCFree
	add	esp,4
_8663:
	mov	dword [edi+20],esi
	mov	eax,dword [ebx+24]
	push	dword [eax+20]
	push	0
	push	dword [ebx+24]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_8667
	push	eax
	call	_bbGCFree
	add	esp,4
_8667:
	mov	dword [edi+24],esi
	mov	eax,dword [ebx+28]
	push	dword [eax+20]
	push	0
	push	dword [ebx+28]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_8671
	push	eax
	call	_bbGCFree
	add	esp,4
_8671:
	mov	dword [edi+28],esi
	mov	eax,dword [ebx+32]
	push	dword [eax+20]
	push	0
	push	dword [ebx+32]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+32]
	dec	dword [eax+4]
	jnz	_8675
	push	eax
	call	_bbGCFree
	add	esp,4
_8675:
	mov	dword [edi+32],esi
	mov	eax,dword [ebx+36]
	push	dword [eax+20]
	push	0
	push	dword [ebx+36]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+36]
	dec	dword [eax+4]
	jnz	_8679
	push	eax
	call	_bbGCFree
	add	esp,4
_8679:
	mov	dword [edi+36],esi
	mov	eax,dword [ebx+40]
	push	dword [eax+20]
	push	0
	push	dword [ebx+40]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+40]
	dec	dword [eax+4]
	jnz	_8683
	push	eax
	call	_bbGCFree
	add	esp,4
_8683:
	mov	dword [edi+40],esi
	mov	eax,dword [ebx+44]
	push	dword [eax+20]
	push	0
	push	dword [ebx+44]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+44]
	dec	dword [eax+4]
	jnz	_8687
	push	eax
	call	_bbGCFree
	add	esp,4
_8687:
	mov	dword [edi+44],esi
	mov	eax,dword [ebx+48]
	push	dword [eax+20]
	push	0
	push	dword [ebx+48]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+48]
	dec	dword [eax+4]
	jnz	_8691
	push	eax
	call	_bbGCFree
	add	esp,4
_8691:
	mov	dword [edi+48],esi
	mov	eax,dword [ebx+52]
	push	dword [eax+20]
	push	0
	push	dword [ebx+52]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+52]
	dec	dword [eax+4]
	jnz	_8695
	push	eax
	call	_bbGCFree
	add	esp,4
_8695:
	mov	dword [edi+52],ebx
	mov	eax,edi
	jmp	_3150
_3150:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TModel_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TModel
	mov	eax,0
	jmp	_3153
_3153:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TModel_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_3156:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_8696
_8696:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TModel_LoadAnimB3D:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	1
	push	1
	push	esi
	push	_525
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_stream_OpenStream
	add	esp,12
	cmp	eax,_bbNullObject
	jne	_8698
	mov	eax,_bbNullObject
	jmp	_3160
_8698:
	push	ebx
	push	esi
	push	eax
	call	dword [_sidesign_minib3d_TModel+52]
	add	esp,12
	jmp	_3160
_3160:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TModel_LoadAnimB3DFromStream:
	push	ebp
	mov	ebp,esp
	sub	esp,344
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	esi,dword [ebp+12]
	call	_brl_filesystem_CurrentDir
	mov	dword [ebp-344],eax
	mov	ebx,0
	jmp	_526
_528:
	add	ebx,1
	push	ebx
	push	_460
	push	esi
	call	_brl_retro_Instr
	add	esp,12
	mov	ebx,eax
_526:
	mov	eax,ebx
	add	eax,1
	push	eax
	push	_460
	push	esi
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	jne	_528
_527:
	jmp	_529
_531:
	add	ebx,1
	push	ebx
	push	_464
	push	esi
	call	_brl_retro_Instr
	add	esp,12
	mov	ebx,eax
_529:
	mov	eax,ebx
	add	eax,1
	push	eax
	push	_464
	push	esi
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	jne	_531
_530:
	cmp	ebx,0
	je	_8702
	sub	ebx,1
	push	ebx
	push	esi
	call	_brl_retro_Left
	add	esp,8
	mov	esi,eax
_8702:
	push	_1
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8703
	push	esi
	call	_brl_filesystem_ChangeDir
	add	esp,4
_8703:
	mov	dword [ebp-340],_bbEmptyString
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	dword [ebp-316],eax
	push	dword [ebp-4]
	lea	eax,dword [ebp-28]
	push	eax
	call	_brl_stream_ReadLong
	add	esp,8
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	ebx,eax
	push	_532
	push	dword [ebp-316]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8708
	push	_533
	call	_brl_blitz_RuntimeError
	add	esp,4
_8708:
	mov	ecx,100
	mov	eax,ebx
	cdq
	idiv	ecx
	cmp	eax,0
	jle	_8709
	push	_534
	call	_brl_blitz_RuntimeError
	add	esp,4
_8709:
	mov	dword [ebp-256],-1
	push	100
	push	_8713
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-304],eax
	mov	dword [ebp-176],0
	push	1
	push	_8716
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-160],eax
	mov	dword [ebp-140],0
	push	1
	push	_8728
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-144],eax
	mov	dword [ebp-328],_1
	fld	dword [_12553]
	fstp	dword [ebp-280]
	fld	dword [_12554]
	fstp	dword [ebp-276]
	fld	dword [_12555]
	fstp	dword [ebp-272]
	fld	dword [_12556]
	fstp	dword [ebp-268]
	fld	dword [_12557]
	fstp	dword [ebp-264]
	fld	dword [_12558]
	fstp	dword [ebp-260]
	fld	dword [_12559]
	fstp	dword [ebp-288]
	fld	dword [_12560]
	fstp	dword [ebp-292]
	fld	dword [_12561]
	fstp	dword [ebp-284]
	fld	dword [_12562]
	fstp	dword [ebp-252]
	fld	dword [_12563]
	fstp	dword [ebp-248]
	fld	dword [_12564]
	fstp	dword [ebp-244]
	fld	dword [_12565]
	fstp	dword [ebp-240]
	mov	dword [ebp-236],_bbNullObject
	mov	dword [ebp-336],0
	mov	dword [ebp-332],_bbNullObject
	mov	dword [ebp-180],_bbNullObject
	mov	dword [ebp-296],0
	fld	dword [_12569]
	fstp	dword [ebp-232]
	fld	dword [_12570]
	fstp	dword [ebp-216]
	fld	dword [_12571]
	fstp	dword [ebp-196]
	fld	dword [_12572]
	fstp	dword [ebp-212]
	fld	dword [_12573]
	fstp	dword [ebp-184]
	fld	dword [_12574]
	fstp	dword [ebp-156]
	fld	dword [_12575]
	fstp	dword [ebp-120]
	fld	dword [_12576]
	fstp	dword [ebp-116]
	fld	dword [_12577]
	fstp	dword [ebp-112]
	fld	dword [_12578]
	fstp	dword [ebp-152]
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-324],0
	mov	dword [ebp-300],0
	mov	dword [ebp-168],_bbNullObject
	mov	dword [ebp-148],0
	fld	dword [_12593]
	fstp	dword [ebp-228]
	fld	dword [_12594]
	fstp	dword [ebp-204]
	fld	dword [_12595]
	fstp	dword [ebp-172]
	fld	dword [_12596]
	fstp	dword [ebp-224]
	fld	dword [_12597]
	fstp	dword [ebp-208]
	fld	dword [_12598]
	fstp	dword [ebp-192]
	fld	dword [_12599]
	fstp	dword [ebp-220]
	fld	dword [_12600]
	fstp	dword [ebp-200]
	fld	dword [_12601]
	fstp	dword [ebp-188]
	fld	dword [_12602]
	fstp	dword [ebp-164]
	mov	dword [ebp-308],_bbNullObject
	mov	dword [ebp-312],_bbNullObject
	mov	dword [ebp-320],_bbNullObject
_537:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
	push	esi
	call	dword [_sidesign_minib3d_TModel+68]
	add	esp,4
	cmp	eax,1
	jne	_8819
	mov	eax,dword [ebp-316]
	mov	dword [ebp-340],eax
	mov	dword [ebp-316],esi
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	esi,eax
	mov	ebx,dword [ebp-256]
	push	_538
	push	dword [ebp-316]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_8820
	add	dword [ebp-256],1
	cmp	dword [ebp-256],0
	jle	_8821
_541:
	push	dword [ebp-4]
	call	_brl_stream_StreamPos
	add	esp,4
	mov	ecx,dword [ebp-256]
	sub	ecx,1
	mov	edx,dword [ebp-304]
	sub	eax,dword [edx+ecx*4+24]
	cmp	eax,8
	jl	_8823
	sub	dword [ebp-256],1
_8823:
_539:
	cmp	eax,8
	jge	_541
_540:
_8821:
	push	dword [ebp-4]
	call	_brl_stream_StreamPos
	add	esp,4
	add	eax,esi
	mov	ecx,dword [ebp-256]
	mov	edx,dword [ebp-304]
	mov	dword [edx+ecx*4+24],eax
_8820:
	cmp	dword [ebp-256],ebx
	jle	_8824
	cmp	dword [ebp-256],0
	jle	_8825
	mov	eax,dword [ebp-320]
	mov	dword [ebp-308],eax
	jmp	_8826
_8825:
	mov	dword [ebp-308],_bbNullObject
_8826:
_8824:
	cmp	dword [ebp-256],ebx
	jge	_8827
	mov	esi,dword [ebp-312]
	cmp	dword [ebp-256],1
	jle	_8829
	mov	ebx,1
	mov	eax,dword [ebp-256]
	sub	eax,2
	mov	edi,eax
	jmp	_8832
_544:
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+212]
	add	esp,4
	mov	edx,esi
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+216]
	add	esp,8
	mov	esi,eax
_542:
	add	ebx,1
_8832:
	cmp	ebx,edi
	jle	_544
_543:
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+212]
	add	esp,4
	mov	edx,esi
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+216]
	add	esp,8
	mov	esi,eax
	mov	dword [ebp-308],esi
_8829:
	cmp	dword [ebp-256],1
	jne	_8838
	mov	eax,dword [ebp-312]
	mov	dword [ebp-308],eax
_8838:
	cmp	dword [ebp-256],0
	jne	_8839
	mov	dword [ebp-308],_bbNullObject
_8839:
_8827:
	mov	edi,_1
	push	_538
	push	dword [ebp-316]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_8842
	mov	eax,dword [ebp-308]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_8842:
	cmp	eax,0
	je	_8844
	push	_546
	mov	eax,dword [ebp-308]
	push	dword [eax+96]
	push	_545
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
_8844:
	mov	esi,1
	mov	ebx,dword [ebp-256]
	jmp	_8846
_549:
	push	_550
	push	edi
	call	_bbStringConcat
	add	esp,8
	mov	edi,eax
_547:
	add	esi,1
_8846:
	cmp	esi,ebx
	jle	_549
_548:
	jmp	_8848
_8819:
	mov	dword [ebp-316],_1
_8848:
	mov	ebx,dword [ebp-316]
	push	_551
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8851
	push	_555
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8852
	push	_538
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8853
	push	_563
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8854
	push	_564
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8855
	push	_574
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8856
	push	_562
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8857
	push	_581
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8858
	push	_589
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_8859
	push	dword [ebp-4]
	call	_brl_stream_ReadByte
	add	esp,4
	jmp	_8850
_8851:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
	jmp	_552
_554:
	mov	eax,dword [ebp-4]
	inc	dword [eax+4]
	lea	eax,dword [ebp-4]
	push	eax
	call	dword [_sidesign_minib3d_TModel+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	dec	dword [eax+4]
	jnz	_8862
	push	dword [ebp-4]
	call	_bbGCFree
	add	esp,4
_8862:
	mov	dword [ebp-76],ebx
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	edi,eax
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebp-96],eax
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-104]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-100]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-88]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-80]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-40]
	mov	eax,edi
	and	eax,65536
	cmp	eax,0
	je	_8864
	sub	edi,65536
	mov	esi,1
	jmp	_8865
_8864:
	mov	esi,0
_8865:
	fld	dword [ebp-40]
	fld	qword [_12603]
	fmulp	st1,st0
	fstp	dword [ebp-40]
	push	_sidesign_minib3d_TTexture
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_8869
	push	eax
	call	_bbGCFree
	add	esp,4
_8869:
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	dword [edx+eax*4+24],ebx
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-96]
	mov	dword [edx+16],eax
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [eax+20],esi
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [ebp-104]
	fstp	dword [eax+32]
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [ebp-100]
	fstp	dword [eax+36]
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [ebp-88]
	fstp	dword [eax+24]
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [ebp-80]
	fstp	dword [eax+28]
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [ebp-40]
	fstp	dword [eax+40]
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	push	dword [edx+eax*4+24]
	push	edi
	push	dword [ebp-76]
	call	dword [_sidesign_minib3d_TTexture+60]
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_8873
	push	eax
	call	_bbGCFree
	add	esp,4
_8873:
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-176]
	mov	dword [edx+eax*4+24],ebx
	add	dword [ebp-176],1
	mov	eax,dword [ebp-176]
	add	eax,1
	push	eax
	push	0
	push	dword [ebp-160]
	push	_1505
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebp-160],eax
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
_552:
	push	esi
	call	dword [_sidesign_minib3d_TModel+68]
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_8860
	push	dword [ebp-4]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
_8860:
	cmp	eax,0
	jne	_554
_553:
	jmp	_8850
_8852:
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebp-128],eax
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
	jmp	_556
_558:
	mov	eax,dword [ebp-4]
	inc	dword [eax+4]
	lea	eax,dword [ebp-4]
	push	eax
	call	dword [_sidesign_minib3d_TModel+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	dec	dword [eax+4]
	jnz	_8876
	push	dword [ebp-4]
	call	_bbGCFree
	add	esp,4
_8876:
	mov	esi,ebx
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-64]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-60]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-52]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-44]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-36]
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebp-48],eax
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	edi,eax
	push	1132396544
	push	1132396544
	push	1132396544
	call	dword [_sidesign_minib3d_TBrush+60]
	add	esp,12
	inc	dword [eax+4]
	mov	ebx,eax
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_8881
	push	eax
	call	_bbGCFree
	add	esp,4
_8881:
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	dword [eax+edx*4+24],ebx
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	edx,dword [eax+edx*4+24]
	mov	eax,dword [ebp-128]
	mov	dword [edx+8],eax
	mov	ebx,esi
	inc	dword [ebx+4]
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8885
	push	eax
	call	_bbGCFree
	add	esp,4
_8885:
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [eax+12],ebx
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [ebp-64]
	fstp	dword [eax+16]
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [ebp-60]
	fstp	dword [eax+20]
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [ebp-52]
	fstp	dword [eax+24]
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [ebp-44]
	fstp	dword [eax+28]
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [ebp-36]
	fstp	dword [eax+32]
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	edx,dword [eax+edx*4+24]
	mov	eax,dword [ebp-48]
	mov	dword [edx+36],eax
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [eax+40],edi
	mov	ebx,0
	mov	eax,dword [ebp-128]
	sub	eax,1
	mov	edi,eax
	jmp	_8887
_561:
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	cmp	eax,0
	jl	_8889
	mov	edx,dword [ebp-160]
	mov	eax,dword [edx+eax*4+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_8893
	push	eax
	call	_bbGCFree
	add	esp,4
_8893:
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+48]
	mov	dword [eax+ebx*4+24],esi
	jmp	_8894
_8889:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	esi,eax
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_8898
	push	eax
	call	_bbGCFree
	add	esp,4
_8898:
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+48]
	mov	dword [eax+ebx*4+24],esi
_8894:
_559:
	add	ebx,1
_8887:
	cmp	ebx,edi
	jle	_561
_560:
	add	dword [ebp-140],1
	mov	eax,dword [ebp-140]
	add	eax,1
	push	eax
	push	0
	push	dword [ebp-144]
	push	_911
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebp-144],eax
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
_556:
	push	esi
	call	dword [_sidesign_minib3d_TModel+68]
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_8874
	push	dword [ebp-4]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
_8874:
	cmp	eax,0
	jne	_558
_557:
	jmp	_8850
_8853:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	eax,dword [ebp-4]
	inc	dword [eax+4]
	lea	eax,dword [ebp-4]
	push	eax
	call	dword [_sidesign_minib3d_TModel+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	dec	dword [eax+4]
	jnz	_8899
	push	dword [ebp-4]
	call	_bbGCFree
	add	esp,4
_8899:
	mov	dword [ebp-328],ebx
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-280]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-276]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fmul	dword [_12604]
	fstp	dword [ebp-272]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-268]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-264]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-260]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-252]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-248]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-244]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-240]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	fld	dword [ebp-240]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-244]
	push	dword [ebp-248]
	push	dword [ebp-252]
	call	dword [_sidesign_minib3d_TQuaternion+52]
	add	esp,28
	fld	dword [ebp-8]
	fchs
	fstp	dword [ebp-288]
	fld	dword [ebp-12]
	fstp	dword [ebp-292]
	fld	dword [ebp-16]
	fstp	dword [ebp-284]
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
	push	_538
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8904
	push	_562
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
_8904:
	cmp	eax,0
	je	_8906
	push	_sidesign_minib3d_TMesh
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	esi,_202
	inc	dword [esi+4]
	mov	eax,dword [ebx+100]
	dec	dword [eax+4]
	jnz	_8911
	push	eax
	call	_bbGCFree
	add	esp,4
_8911:
	mov	dword [ebx+100],esi
	mov	esi,dword [ebp-328]
	inc	dword [esi+4]
	mov	eax,dword [ebx+96]
	dec	dword [eax+4]
	jnz	_8915
	push	eax
	call	_bbGCFree
	add	esp,4
_8915:
	mov	dword [ebx+96],esi
	fld	dword [ebp-280]
	fstp	dword [ebx+32]
	fld	dword [ebp-276]
	fstp	dword [ebx+36]
	fld	dword [ebp-272]
	fstp	dword [ebx+40]
	fld	dword [ebp-268]
	fstp	dword [ebx+44]
	fld	dword [ebp-264]
	fstp	dword [ebx+48]
	fld	dword [ebp-260]
	fstp	dword [ebx+52]
	fld	dword [ebp-288]
	fstp	dword [ebx+56]
	fld	dword [ebp-292]
	fstp	dword [ebx+60]
	fld	dword [ebp-284]
	fstp	dword [ebx+64]
	fld	dword [ebp-252]
	fstp	dword [ebx+68]
	fld	dword [ebp-248]
	fstp	dword [ebx+72]
	fld	dword [ebp-244]
	fstp	dword [ebx+76]
	fld	dword [ebp-240]
	fstp	dword [ebx+80]
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+400]
	add	esp,8
	mov	dword [ebp-320],ebx
	cmp	dword [ebp-312],_bbNullObject
	jne	_8917
	mov	dword [ebp-312],ebx
_8917:
	cmp	dword [ebp-312],ebx
	jne	_8918
	push	dword [ebp+16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+384]
	add	esp,8
_8918:
	cmp	dword [ebp-256],0
	jle	_8920
	push	dword [ebp-308]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+384]
	add	esp,8
_8920:
	lea	eax,dword [ebx+28]
	push	eax
	fld	dword [ebp-240]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-244]
	push	dword [ebp-248]
	fld	dword [ebp-252]
	fchs
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TQuaternion+48]
	add	esp,20
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebp-280]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebp-276]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebp-272]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	push	dword [ebp-260]
	push	dword [ebp-264]
	push	dword [ebp-268]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
	cmp	dword [ebx+20],_bbNullObject
	je	_8923
	mov	eax,dword [ebx+20]
	mov	eax,dword [eax+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	push	dword [ebx+28]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebx+28]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_8923:
_8906:
	jmp	_8850
_8854:
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebp-336],eax
	push	_sidesign_minib3d_TMesh
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-236],eax
	mov	ebx,_202
	inc	dword [ebx+4]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+100]
	dec	dword [eax+4]
	jnz	_8931
	push	eax
	call	_bbGCFree
	add	esp,4
_8931:
	mov	eax,dword [ebp-236]
	mov	dword [eax+100],ebx
	mov	ebx,dword [ebp-328]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+96]
	dec	dword [eax+4]
	jnz	_8935
	push	eax
	call	_bbGCFree
	add	esp,4
_8935:
	mov	eax,dword [ebp-236]
	mov	dword [eax+96],ebx
	mov	eax,dword [ebp-236]
	fld	dword [ebp-280]
	fstp	dword [eax+32]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-276]
	fstp	dword [eax+36]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-272]
	fstp	dword [eax+40]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-268]
	fstp	dword [eax+44]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-264]
	fstp	dword [eax+48]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-260]
	fstp	dword [eax+52]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-288]
	fstp	dword [eax+56]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-292]
	fstp	dword [eax+60]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-284]
	fstp	dword [eax+64]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-252]
	fstp	dword [eax+68]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-248]
	fstp	dword [eax+72]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-244]
	fstp	dword [eax+76]
	mov	eax,dword [ebp-236]
	fld	dword [ebp-240]
	fstp	dword [eax+80]
	mov	eax,dword [ebp-236]
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	mov	eax,dword [ebp-236]
	mov	dword [ebp-320],eax
	cmp	dword [ebp-312],_bbNullObject
	jne	_8937
	mov	eax,dword [ebp-236]
	mov	dword [ebp-312],eax
_8937:
	mov	eax,dword [ebp-236]
	cmp	dword [ebp-312],eax
	jne	_8938
	mov	eax,dword [ebp-236]
	push	dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
_8938:
	cmp	dword [ebp-256],0
	jle	_8940
	mov	eax,dword [ebp-236]
	push	dword [ebp-308]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
_8940:
	mov	eax,dword [ebp-236]
	lea	eax,dword [eax+28]
	push	eax
	fld	dword [ebp-240]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-244]
	push	dword [ebp-248]
	fld	dword [ebp-252]
	fchs
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TQuaternion+48]
	add	esp,20
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebp-280]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebp-276]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebp-272]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+28]
	push	dword [ebp-260]
	push	dword [ebp-264]
	push	dword [ebp-268]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,16
	mov	eax,dword [ebp-236]
	cmp	dword [eax+20],_bbNullObject
	je	_8943
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-236]
	push	dword [eax+28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+28]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_8943:
	jmp	_8850
_8855:
	cmp	dword [ebp-332],_bbNullObject
	je	_8948
_8948:
	cmp	dword [ebp-180],_bbNullObject
	je	_8949
_8949:
	push	_sidesign_minib3d_TMesh
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-332],eax
	mov	eax,dword [ebp-332]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	dword [ebp-180],eax
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebp-296],eax
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebp-136],eax
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-296]
	and	eax,1
	cmp	eax,0
	je	_8951
_8951:
	mov	eax,dword [ebp-296]
	and	eax,2
	cmp	eax,0
	je	_8952
_8952:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
	jmp	_565
_567:
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-92]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-84]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-72]
	mov	eax,dword [ebp-296]
	and	eax,1
	cmp	eax,0
	je	_8955
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-232]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-216]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-196]
_8955:
	mov	eax,dword [ebp-296]
	and	eax,2
	cmp	eax,0
	je	_8956
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fmul	dword [_12605]
	fstp	dword [ebp-212]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fmul	dword [_12606]
	fstp	dword [ebp-184]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fmul	dword [_12607]
	fstp	dword [ebp-156]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-152]
_8956:
	mov	eax,dword [ebp-180]
	push	0
	push	0
	push	0
	push	dword [ebp-72]
	push	dword [ebp-84]
	push	dword [ebp-92]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [ebp-56],eax
	mov	eax,dword [ebp-180]
	push	dword [ebp-152]
	push	dword [ebp-156]
	push	dword [ebp-184]
	push	dword [ebp-212]
	push	dword [ebp-56]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,24
	mov	eax,dword [ebp-180]
	push	dword [ebp-196]
	push	dword [ebp-216]
	push	dword [ebp-232]
	push	dword [ebp-56]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,20
	mov	edi,0
	mov	eax,dword [ebp-136]
	sub	eax,1
	mov	dword [ebp-68],eax
	jmp	_8961
_570:
	mov	esi,1
	jmp	_8964
_573:
	cmp	esi,1
	jne	_8966
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-120]
_8966:
	cmp	esi,2
	jne	_8967
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-116]
_8967:
	cmp	esi,3
	jne	_8968
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-112]
_8968:
_571:
	add	esi,1
_8964:
	cmp	esi,ebx
	jle	_573
_572:
	cmp	edi,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_8969
	cmp	edi,1
	sete	al
	movzx	eax,al
_8969:
	cmp	eax,0
	je	_8971
	mov	eax,dword [ebp-180]
	push	edi
	push	dword [ebp-112]
	push	dword [ebp-116]
	push	dword [ebp-120]
	push	dword [ebp-56]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
_8971:
_568:
	add	edi,1
_8961:
	cmp	edi,dword [ebp-68]
	jle	_570
_569:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
_565:
	push	esi
	call	dword [_sidesign_minib3d_TModel+68]
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_8953
	push	dword [ebp-4]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
_8953:
	cmp	eax,0
	jne	_567
_566:
	jmp	_8850
_8856:
	mov	ebx,dword [ebp-324]
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebp-324],eax
	push	_574
	push	dword [ebp-340]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_8974
	mov	eax,dword [ebp-324]
	cmp	eax,ebx
	setne	al
	movzx	eax,al
_8974:
	cmp	eax,0
	je	_8976
	push	_574
	push	dword [ebp-340]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_8977
	mov	eax,dword [ebp-20]
	inc	dword [eax+4]
	lea	eax,dword [ebp-20]
	push	eax
	call	dword [_sidesign_minib3d_TModel+56]
	add	esp,4
	mov	eax,dword [ebp-20]
	dec	dword [eax+4]
	jnz	_8978
	push	dword [ebp-20]
	call	_bbGCFree
	add	esp,4
_8978:
_8977:
	mov	eax,dword [ebp-236]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp-180]
	mov	eax,dword [eax+20]
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp-180]
	push	dword [eax+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_8984
	push	eax
	call	_bbGCFree
	add	esp,4
_8984:
	mov	eax,dword [ebp-20]
	mov	dword [eax+20],ebx
	mov	eax,dword [ebp-180]
	mov	eax,dword [eax+36]
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp-180]
	push	dword [eax+36]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+36]
	dec	dword [eax+4]
	jnz	_8988
	push	eax
	call	_bbGCFree
	add	esp,4
_8988:
	mov	eax,dword [ebp-20]
	mov	dword [eax+36],ebx
	mov	eax,dword [ebp-180]
	mov	eax,dword [eax+32]
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp-180]
	push	dword [eax+32]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_8992
	push	eax
	call	_bbGCFree
	add	esp,4
_8992:
	mov	eax,dword [ebp-20]
	mov	dword [eax+32],ebx
	mov	eax,dword [ebp-180]
	mov	eax,dword [eax+24]
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp-180]
	push	dword [eax+24]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_8996
	push	eax
	call	_bbGCFree
	add	esp,4
_8996:
	mov	eax,dword [ebp-20]
	mov	dword [eax+24],ebx
	mov	eax,dword [ebp-180]
	mov	eax,dword [eax+28]
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp-180]
	push	dword [eax+28]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_9000
	push	eax
	call	_bbGCFree
	add	esp,4
_9000:
	mov	eax,dword [ebp-20]
	mov	dword [eax+28],ebx
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp-180]
	mov	eax,dword [eax+8]
	mov	dword [edx+8],eax
_8976:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
	jmp	_575
_577:
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	esi,eax
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	ebx,eax
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	edx,dword [ebp-20]
	cmp	esi,dword [edx+88]
	jge	_9003
	mov	edx,dword [ebp-20]
	mov	dword [edx+88],esi
_9003:
	mov	edx,dword [ebp-20]
	cmp	ebx,dword [edx+88]
	jge	_9004
	mov	edx,dword [ebp-20]
	mov	dword [edx+88],ebx
_9004:
	mov	edx,dword [ebp-20]
	cmp	eax,dword [edx+88]
	jge	_9005
	mov	edx,dword [ebp-20]
	mov	dword [edx+88],eax
_9005:
	mov	edx,dword [ebp-20]
	cmp	esi,dword [edx+92]
	jle	_9006
	mov	edx,dword [ebp-20]
	mov	dword [edx+92],esi
_9006:
	mov	edx,dword [ebp-20]
	cmp	ebx,dword [edx+92]
	jle	_9007
	mov	edx,dword [ebp-20]
	mov	dword [edx+92],ebx
_9007:
	mov	edx,dword [ebp-20]
	cmp	eax,dword [edx+92]
	jle	_9008
	mov	edx,dword [ebp-20]
	mov	dword [edx+92],eax
_9008:
	mov	edx,dword [ebp-20]
	push	eax
	push	ebx
	push	esi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,16
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
_575:
	push	esi
	call	dword [_sidesign_minib3d_TModel+68]
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_9001
	push	dword [ebp-4]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
_9001:
	cmp	eax,0
	jne	_577
_576:
	cmp	dword [ebp-336],-1
	je	_9010
	mov	ecx,dword [ebp-236]
	mov	edx,dword [ebp-144]
	mov	eax,dword [ebp-336]
	push	dword [edx+eax*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+148]
	add	esp,8
_9010:
	cmp	dword [ebp-324],-1
	je	_9012
	mov	ecx,dword [ebp-20]
	mov	edx,dword [ebp-144]
	mov	eax,dword [ebp-324]
	push	dword [edx+eax*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+52]
	add	esp,8
_9012:
	mov	eax,dword [ebp-296]
	and	eax,1
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_9014
	push	_574
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	setne	al
	movzx	eax,al
_9014:
	cmp	eax,0
	je	_9016
	mov	eax,dword [ebp-236]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+556]
	add	esp,4
_9016:
	push	_574
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9018
	mov	eax,dword [ebp-20]
	inc	dword [eax+4]
	lea	eax,dword [ebp-20]
	push	eax
	call	dword [_sidesign_minib3d_TModel+56]
	add	esp,4
	mov	eax,dword [ebp-20]
	dec	dword [eax+4]
	jnz	_9019
	push	dword [ebp-20]
	call	_bbGCFree
	add	esp,4
_9019:
_9018:
	jmp	_8850
_8857:
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebp-300],eax
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cmp	dword [ebp-236],_bbNullObject
	je	_9021
	mov	eax,dword [ebp-236]
	mov	dword [eax+200],1
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+232]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-236]
	mov	edx,dword [eax+236]
	mov	eax,dword [ebp-300]
	mov	dword [edx+24],eax
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+292]
	mov	dword [ebp-124],eax
	mov	eax,dword [ebp-124]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-132],eax
	jmp	_578
_580:
	mov	eax,dword [ebp-132]
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	cmp	edi,_bbNullObject
	je	_578
	push	_sidesign_minib3d_TSurface
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebp-236]
	push	dword [eax+296]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,dword [edi+8]
	mov	dword [ebx+8],eax
	mov	eax,dword [edi+20]
	push	dword [eax+20]
	push	0
	push	dword [edi+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_9032
	push	eax
	call	_bbGCFree
	add	esp,4
_9032:
	mov	dword [ebx+20],esi
	mov	eax,dword [edi+8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+40]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_9036
	push	eax
	call	_bbGCFree
	add	esp,4
_9036:
	mov	dword [ebx+40],esi
	mov	eax,dword [edi+8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+44]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_9040
	push	eax
	call	_bbGCFree
	add	esp,4
_9040:
	mov	dword [ebx+44],esi
	mov	eax,dword [edi+8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+48]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_9044
	push	eax
	call	_bbGCFree
	add	esp,4
_9044:
	mov	dword [ebx+48],esi
	mov	eax,dword [edi+8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+52]
	push	_852
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_9048
	push	eax
	call	_bbGCFree
	add	esp,4
_9048:
	mov	dword [ebx+52],esi
	mov	eax,dword [edi+8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+56]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_9052
	push	eax
	call	_bbGCFree
	add	esp,4
_9052:
	mov	dword [ebx+56],esi
	mov	eax,dword [edi+8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+60]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_9056
	push	eax
	call	_bbGCFree
	add	esp,4
_9056:
	mov	dword [ebx+60],esi
	mov	eax,dword [edi+8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+64]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+64]
	dec	dword [eax+4]
	jnz	_9060
	push	eax
	call	_bbGCFree
	add	esp,4
_9060:
	mov	dword [ebx+64],esi
	mov	eax,dword [edi+8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+68]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_9064
	push	eax
	call	_bbGCFree
	add	esp,4
_9064:
	mov	dword [ebx+68],esi
	mov	eax,dword [edi+88]
	mov	dword [ebx+88],eax
	mov	eax,dword [edi+92]
	mov	dword [ebx+92],eax
_578:
	mov	eax,dword [ebp-132]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_580
_579:
_9021:
	jmp	_8850
_8858:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
	push	_sidesign_minib3d_TBone
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-168],eax
	add	dword [ebp-148],1
	jmp	_582
_584:
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	ebx,eax
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-32]
	mov	eax,dword [ebp-236]
	mov	edi,dword [eax+296]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-108],eax
	jmp	_585
_587:
	mov	eax,dword [ebp-108]
	push	_sidesign_minib3d_TSurface
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ecx,eax
	cmp	ecx,_bbNullObject
	je	_585
	cmp	ebx,dword [ecx+88]
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_9074
	cmp	ebx,dword [ecx+92]
	setle	al
	movzx	eax,al
_9074:
	cmp	eax,0
	je	_9076
	cmp	ecx,_bbNullObject
	je	_9077
	mov	eax,ebx
	sub	eax,dword [ecx+88]
	mov	edx,eax
	mov	eax,dword [ecx+56]
	fld	dword [eax+edx*4+24]
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9079
	mov	eax,dword [ecx+52]
	mov	esi,dword [ecx+48]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [eax+edx*4+24],esi
	mov	esi,dword [ecx+68]
	mov	eax,dword [ecx+64]
	fld	dword [eax+edx*4+24]
	fstp	dword [esi+edx*4+24]
	mov	eax,dword [ecx+48]
	mov	esi,dword [ecx+44]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [eax+edx*4+24],esi
	mov	esi,dword [ecx+64]
	mov	eax,dword [ecx+60]
	fld	dword [eax+edx*4+24]
	fstp	dword [esi+edx*4+24]
	mov	eax,dword [ecx+44]
	mov	esi,dword [ecx+40]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [eax+edx*4+24],esi
	mov	esi,dword [ecx+60]
	mov	eax,dword [ecx+56]
	fld	dword [eax+edx*4+24]
	fstp	dword [esi+edx*4+24]
	mov	esi,dword [ecx+40]
	mov	eax,dword [ebp-148]
	mov	dword [esi+edx*4+24],eax
	mov	eax,dword [ecx+56]
	fld	dword [ebp-32]
	fstp	dword [eax+edx*4+24]
	jmp	_9080
_9079:
	mov	eax,dword [ecx+60]
	fld	dword [eax+edx*4+24]
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9081
	mov	eax,dword [ecx+52]
	mov	esi,dword [ecx+48]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [eax+edx*4+24],esi
	mov	esi,dword [ecx+68]
	mov	eax,dword [ecx+64]
	fld	dword [eax+edx*4+24]
	fstp	dword [esi+edx*4+24]
	mov	eax,dword [ecx+48]
	mov	esi,dword [ecx+44]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [eax+edx*4+24],esi
	mov	esi,dword [ecx+64]
	mov	eax,dword [ecx+60]
	fld	dword [eax+edx*4+24]
	fstp	dword [esi+edx*4+24]
	mov	esi,dword [ecx+44]
	mov	eax,dword [ebp-148]
	mov	dword [esi+edx*4+24],eax
	mov	eax,dword [ecx+60]
	fld	dword [ebp-32]
	fstp	dword [eax+edx*4+24]
	jmp	_9082
_9081:
	mov	eax,dword [ecx+64]
	fld	dword [eax+edx*4+24]
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9083
	mov	eax,dword [ecx+52]
	mov	esi,dword [ecx+48]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [eax+edx*4+24],esi
	mov	esi,dword [ecx+68]
	mov	eax,dword [ecx+64]
	fld	dword [eax+edx*4+24]
	fstp	dword [esi+edx*4+24]
	mov	esi,dword [ecx+48]
	mov	eax,dword [ebp-148]
	mov	dword [esi+edx*4+24],eax
	mov	eax,dword [ecx+64]
	fld	dword [ebp-32]
	fstp	dword [eax+edx*4+24]
	jmp	_9084
_9083:
	mov	eax,dword [ecx+68]
	fld	dword [eax+edx*4+24]
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9085
	mov	esi,dword [ecx+52]
	mov	eax,dword [ebp-148]
	mov	dword [esi+edx*4+24],eax
	mov	eax,dword [ecx+68]
	fld	dword [ebp-32]
	fstp	dword [eax+edx*4+24]
_9085:
_9084:
_9082:
_9080:
_9077:
_9076:
_585:
	mov	eax,dword [ebp-108]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_587
_586:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
_582:
	push	esi
	call	dword [_sidesign_minib3d_TModel+68]
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_9066
	push	dword [ebp-4]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
_9066:
	cmp	eax,0
	jne	_584
_583:
	mov	ebx,_588
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+100]
	dec	dword [eax+4]
	jnz	_9089
	push	eax
	call	_bbGCFree
	add	esp,4
_9089:
	mov	eax,dword [ebp-168]
	mov	dword [eax+100],ebx
	mov	ebx,dword [ebp-328]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+96]
	dec	dword [eax+4]
	jnz	_9093
	push	eax
	call	_bbGCFree
	add	esp,4
_9093:
	mov	eax,dword [ebp-168]
	mov	dword [eax+96],ebx
	mov	eax,dword [ebp-168]
	fld	dword [ebp-280]
	fstp	dword [eax+32]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-276]
	fstp	dword [eax+36]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-272]
	fstp	dword [eax+40]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-268]
	fstp	dword [eax+44]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-264]
	fstp	dword [eax+48]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-260]
	fstp	dword [eax+52]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-288]
	fstp	dword [eax+56]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-292]
	fstp	dword [eax+60]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-284]
	fstp	dword [eax+64]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-252]
	fstp	dword [eax+68]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-248]
	fstp	dword [eax+72]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-244]
	fstp	dword [eax+76]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-240]
	fstp	dword [eax+80]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-280]
	fstp	dword [eax+264]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-276]
	fstp	dword [eax+268]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-272]
	fstp	dword [eax+272]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-268]
	fstp	dword [eax+276]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-264]
	fstp	dword [eax+280]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-260]
	fstp	dword [eax+284]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-288]
	fstp	dword [eax+288]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-292]
	fstp	dword [eax+292]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-284]
	fstp	dword [eax+296]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-252]
	fstp	dword [eax+300]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-248]
	fstp	dword [eax+304]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-244]
	fstp	dword [eax+308]
	mov	eax,dword [ebp-168]
	fld	dword [ebp-240]
	fstp	dword [eax+312]
	push	_sidesign_minib3d_TAnimationKeys
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	dec	dword [eax+4]
	jnz	_9097
	push	eax
	call	_bbGCFree
	add	esp,4
_9097:
	mov	eax,dword [ebp-168]
	mov	dword [eax+316],ebx
	mov	eax,dword [ebp-168]
	mov	edx,dword [eax+316]
	mov	eax,dword [ebp-300]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+12]
	push	_852
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_9101
	push	eax
	call	_bbGCFree
	add	esp,4
_9101:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+12],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+16]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_9105
	push	eax
	call	_bbGCFree
	add	esp,4
_9105:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+16],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_9109
	push	eax
	call	_bbGCFree
	add	esp,4
_9109:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+20],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+24]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_9113
	push	eax
	call	_bbGCFree
	add	esp,4
_9113:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+24],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+28]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_9117
	push	eax
	call	_bbGCFree
	add	esp,4
_9117:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+28],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+32]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_9121
	push	eax
	call	_bbGCFree
	add	esp,4
_9121:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+32],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+36]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+36]
	dec	dword [eax+4]
	jnz	_9125
	push	eax
	call	_bbGCFree
	add	esp,4
_9125:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+36],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+40]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_9129
	push	eax
	call	_bbGCFree
	add	esp,4
_9129:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+40],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+44]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+44]
	dec	dword [eax+4]
	jnz	_9133
	push	eax
	call	_bbGCFree
	add	esp,4
_9133:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+44],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+48]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+48]
	dec	dword [eax+4]
	jnz	_9137
	push	eax
	call	_bbGCFree
	add	esp,4
_9137:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+48],ebx
	mov	eax,dword [ebp-300]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	push	dword [eax+52]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+52]
	dec	dword [eax+4]
	jnz	_9141
	push	eax
	call	_bbGCFree
	add	esp,4
_9141:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	dword [eax+52],ebx
	cmp	dword [ebp-312],_bbNullObject
	jne	_9142
	mov	eax,dword [ebp-168]
	mov	dword [ebp-312],eax
_9142:
	cmp	dword [ebp-256],0
	jle	_9143
	mov	eax,dword [ebp-168]
	push	dword [ebp-308]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+384]
	add	esp,8
_9143:
	mov	eax,dword [ebp-168]
	lea	eax,dword [eax+28]
	push	eax
	mov	eax,dword [ebp-168]
	fld	dword [eax+312]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-168]
	push	dword [eax+308]
	mov	eax,dword [ebp-168]
	push	dword [eax+304]
	mov	eax,dword [ebp-168]
	fld	dword [eax+300]
	fchs
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TQuaternion+48]
	add	esp,20
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebp-168]
	mov	edx,dword [edx+28]
	mov	edx,dword [edx+8]
	mov	ecx,dword [edx+24]
	imul	ecx,3
	mov	edx,dword [ebp-168]
	fld	dword [edx+264]
	fstp	dword [eax+ecx*4+28]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	mov	ecx,dword [ebp-168]
	fld	dword [ecx+268]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	mov	ecx,dword [ebp-168]
	fld	dword [ecx+272]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+20]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_9145
	push	_sidesign_minib3d_TBone
	mov	eax,dword [ebp-168]
	push	dword [eax+20]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_9145:
	cmp	eax,0
	je	_9147
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-168]
	push	dword [eax+28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+28]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_9147:
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+324]
	dec	dword [eax+4]
	jnz	_9156
	push	eax
	call	_bbGCFree
	add	esp,4
_9156:
	mov	eax,dword [ebp-168]
	mov	dword [eax+324],ebx
	push	_589
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9157
	mov	eax,dword [ebp-168]
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	push	dword [ebp-148]
	push	0
	mov	eax,dword [ebp-236]
	push	dword [eax+304]
	push	_6202
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+304]
	dec	dword [eax+4]
	jnz	_9162
	push	eax
	call	_bbGCFree
	add	esp,4
_9162:
	mov	eax,dword [ebp-236]
	mov	dword [eax+304],ebx
	mov	ebx,dword [ebp-168]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-236]
	mov	edx,dword [eax+304]
	mov	eax,dword [ebp-148]
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_9166
	push	eax
	call	_bbGCFree
	add	esp,4
_9166:
	mov	eax,dword [ebp-236]
	mov	edx,dword [eax+304]
	mov	eax,dword [ebp-148]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [ebp-168]
	mov	dword [ebp-320],eax
_9157:
	jmp	_8850
_8859:
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	ebx,eax
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
	jmp	_590
_592:
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	esi,eax
	mov	eax,ebx
	and	eax,1
	cmp	eax,0
	je	_9169
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-228]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-204]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fchs
	fstp	dword [ebp-172]
_9169:
	mov	eax,ebx
	and	eax,2
	cmp	eax,0
	je	_9170
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-224]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-208]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-192]
_9170:
	mov	eax,ebx
	and	eax,4
	cmp	eax,0
	je	_9171
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fchs
	fstp	dword [ebp-220]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-200]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fstp	dword [ebp-188]
	push	dword [ebp-4]
	call	_brl_stream_ReadFloat
	add	esp,4
	fchs
	fstp	dword [ebp-164]
_9171:
	cmp	dword [ebp-168],_bbNullObject
	je	_9172
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+12]
	mov	edx,dword [ebp-168]
	mov	edx,dword [edx+316]
	mov	edx,dword [edx+12]
	mov	edx,dword [edx+esi*4+24]
	add	edx,ebx
	mov	dword [eax+esi*4+24],edx
	mov	eax,ebx
	and	eax,1
	cmp	eax,0
	je	_9173
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+16]
	fld	dword [ebp-228]
	fstp	dword [eax+esi*4+24]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+20]
	fld	dword [ebp-204]
	fstp	dword [eax+esi*4+24]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+24]
	fld	dword [ebp-172]
	fstp	dword [eax+esi*4+24]
_9173:
	mov	eax,ebx
	and	eax,2
	cmp	eax,0
	je	_9174
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+28]
	fld	dword [ebp-224]
	fstp	dword [eax+esi*4+24]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+32]
	fld	dword [ebp-208]
	fstp	dword [eax+esi*4+24]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+36]
	fld	dword [ebp-192]
	fstp	dword [eax+esi*4+24]
_9174:
	mov	eax,ebx
	and	eax,4
	cmp	eax,0
	je	_9175
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+40]
	fld	dword [ebp-220]
	fstp	dword [eax+esi*4+24]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+44]
	fld	dword [ebp-200]
	fstp	dword [eax+esi*4+24]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+48]
	fld	dword [ebp-188]
	fstp	dword [eax+esi*4+24]
	mov	eax,dword [ebp-168]
	mov	eax,dword [eax+316]
	mov	eax,dword [eax+52]
	fld	dword [ebp-164]
	fstp	dword [eax+esi*4+24]
_9175:
_9172:
	push	dword [ebp-4]
	call	dword [_sidesign_minib3d_TModel+64]
	add	esp,4
	mov	esi,eax
_590:
	push	esi
	call	dword [_sidesign_minib3d_TModel+68]
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_9167
	push	dword [ebp-4]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,1
	setne	al
	movzx	eax,al
_9167:
	cmp	eax,0
	jne	_592
_591:
	push	_589
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9176
	cmp	dword [ebp-168],_bbNullObject
	je	_9177
	mov	eax,dword [ebp-168]
	push	dword [__sidesign_minib3d_TEntity_entity_list]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+400]
	add	esp,8
	push	dword [ebp-148]
	push	0
	mov	eax,dword [ebp-236]
	push	dword [eax+304]
	push	_6202
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-236]
	mov	eax,dword [eax+304]
	dec	dword [eax+4]
	jnz	_9182
	push	eax
	call	_bbGCFree
	add	esp,4
_9182:
	mov	eax,dword [ebp-236]
	mov	dword [eax+304],ebx
	mov	ebx,dword [ebp-168]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-236]
	mov	edx,dword [eax+304]
	mov	eax,dword [ebp-148]
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_9186
	push	eax
	call	_bbGCFree
	add	esp,4
_9186:
	mov	eax,dword [ebp-236]
	mov	edx,dword [eax+304]
	mov	eax,dword [ebp-148]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [ebp-168]
	mov	dword [ebp-320],eax
_9177:
_9176:
	jmp	_8850
_8850:
_535:
	push	dword [ebp-4]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	je	_537
_536:
	push	dword [ebp-4]
	call	_brl_stream_CloseStream
	add	esp,4
	push	dword [ebp-344]
	call	_brl_filesystem_ChangeDir
	add	esp,4
	push	_sidesign_minib3d_TMesh
	push	dword [ebp-312]
	call	_bbObjectDowncast
	add	esp,8
	jmp	_3165
_3165:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TModel_TrimVerts:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx]
	cmp	dword [eax+12],0
	jne	_9187
	mov	eax,0
	jmp	_3168
_9187:
	mov	eax,dword [ebx]
	mov	edi,dword [eax+88]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+92]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	imul	eax,3
	add	eax,3
	push	eax
	mov	eax,edi
	imul	eax,3
	push	eax
	mov	eax,dword [ebx]
	push	dword [eax+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_9193
	push	eax
	call	_bbGCFree
	add	esp,4
_9193:
	mov	eax,dword [ebx]
	mov	dword [eax+20],esi
	mov	eax,dword [ebp-4]
	shl	eax,2
	add	eax,4
	push	eax
	mov	eax,edi
	shl	eax,2
	push	eax
	mov	eax,dword [ebx]
	push	dword [eax+36]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx]
	mov	eax,dword [eax+36]
	dec	dword [eax+4]
	jnz	_9197
	push	eax
	call	_bbGCFree
	add	esp,4
_9197:
	mov	eax,dword [ebx]
	mov	dword [eax+36],esi
	mov	eax,dword [ebp-4]
	imul	eax,3
	add	eax,3
	push	eax
	mov	eax,edi
	imul	eax,3
	push	eax
	mov	eax,dword [ebx]
	push	dword [eax+32]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx]
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_9201
	push	eax
	call	_bbGCFree
	add	esp,4
_9201:
	mov	eax,dword [ebx]
	mov	dword [eax+32],esi
	mov	eax,dword [ebp-4]
	shl	eax,1
	add	eax,2
	push	eax
	mov	eax,edi
	shl	eax,1
	push	eax
	mov	eax,dword [ebx]
	push	dword [eax+24]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_9205
	push	eax
	call	_bbGCFree
	add	esp,4
_9205:
	mov	eax,dword [ebx]
	mov	dword [eax+24],esi
	mov	eax,dword [ebp-4]
	shl	eax,1
	add	eax,2
	push	eax
	mov	eax,edi
	shl	eax,1
	push	eax
	mov	eax,dword [ebx]
	push	dword [eax+28]
	push	_867
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_9209
	push	eax
	call	_bbGCFree
	add	esp,4
_9209:
	mov	eax,dword [ebx]
	mov	dword [eax+28],esi
	mov	esi,0
	mov	eax,dword [ebx]
	mov	eax,dword [eax+12]
	imul	eax,3
	add	eax,3
	mov	ecx,eax
	jmp	_9211
_595:
	mov	eax,dword [ebx]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+16]
	movzx	eax,word [eax+esi*2+24]
	mov	eax,eax
	sub	eax,edi
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [edx+esi*2+24],ax
_593:
	add	esi,1
_9211:
	cmp	esi,ecx
	jl	_595
_594:
	mov	edx,dword [ebx]
	mov	eax,dword [ebp-4]
	sub	eax,edi
	add	eax,1
	mov	dword [edx+8],eax
	mov	eax,0
	jmp	_3168
_3168:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TModel_b3dReadString:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,_1
_598:
_596:
	push	dword [ebx]
	call	_brl_stream_ReadByte
	add	esp,4
	cmp	eax,0
	jne	_9215
	mov	eax,esi
	jmp	_3171
_9215:
	push	eax
	call	_bbStringFromChar
	add	esp,4
	push	eax
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	jmp	_598
_3171:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TModel_ReadTag:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	esi
	call	_brl_stream_StreamPos
	add	esp,4
	mov	dword [ebp-8],eax
	mov	dword [ebp-4],_1
	mov	edi,1
	jmp	_9219
_601:
	push	esi
	call	_brl_stream_StreamPos
	add	esp,4
	mov	ebx,eax
	push	esi
	call	_brl_stream_StreamSize
	add	esp,4
	cmp	ebx,eax
	jge	_9220
	push	esi
	call	_brl_stream_ReadByte
	add	esp,4
	push	eax
	call	_bbStringFromChar
	add	esp,4
	push	eax
	push	dword [ebp-4]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-4],eax
_9220:
_599:
	add	edi,1
_9219:
	cmp	edi,4
	jle	_601
_600:
	push	dword [ebp-8]
	push	esi
	call	_brl_stream_SeekStream
	add	esp,8
	mov	eax,dword [ebp-4]
	jmp	_3174
_3174:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TModel_NewTag:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_551
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9224
	push	_555
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9225
	push	_538
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9226
	push	_562
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9227
	push	_563
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9228
	push	_564
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9229
	push	_574
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9230
	push	_581
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9231
	push	_589
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9232
	mov	eax,0
	jmp	_3177
_9224:
	mov	eax,1
	jmp	_3177
_9225:
	mov	eax,1
	jmp	_3177
_9226:
	mov	eax,1
	jmp	_3177
_9227:
	mov	eax,1
	jmp	_3177
_9228:
	mov	eax,1
	jmp	_3177
_9229:
	mov	eax,1
	jmp	_3177
_9230:
	mov	eax,1
	jmp	_3177
_9231:
	mov	eax,1
	jmp	_3177
_9232:
	mov	eax,1
	jmp	_3177
_3177:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_sidesign_minib3d_T3DSLoader
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	word [esi+12],0
	mov	dword [esi+16],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+20],eax
	mov	dword [esi+24],0
	mov	dword [esi+28],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+32],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+36],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+40],eax
	mov	dword [esi+44],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+48],eax
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_9242
	push	eax
	call	_bbGCFree
	add	esp,4
_9242:
	mov	dword [esi+8],ebx
	mov	word [esi+12],0
	mov	dword [esi+16],0
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_9246
	push	eax
	call	_bbGCFree
	add	esp,4
_9246:
	mov	dword [esi+20],ebx
	mov	dword [esi+24],0
	mov	dword [esi+28],0
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_9250
	push	eax
	call	_bbGCFree
	add	esp,4
_9250:
	mov	dword [esi+32],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_9254
	push	eax
	call	_bbGCFree
	add	esp,4
_9254:
	mov	dword [esi+36],ebx
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_9258
	push	eax
	call	_bbGCFree
	add	esp,4
_9258:
	mov	dword [esi+40],ebx
	mov	dword [esi+44],0
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_9262
	push	eax
	call	_bbGCFree
	add	esp,4
_9262:
	mov	dword [esi+48],ebx
	mov	eax,0
	jmp	_3180
_3180:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_3183:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_9265
	push	eax
	call	_bbGCFree
	add	esp,4
_9265:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_9267
	push	eax
	call	_bbGCFree
	add	esp,4
_9267:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_9269
	push	eax
	call	_bbGCFree
	add	esp,4
_9269:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_9271
	push	eax
	call	_bbGCFree
	add	esp,4
_9271:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_9273
	push	eax
	call	_bbGCFree
	add	esp,4
_9273:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_9275
	push	eax
	call	_bbGCFree
	add	esp,4
_9275:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_9263
_9263:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadChunk:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebx+12],ax
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	dword [ebx+16],eax
	mov	eax,0
	jmp	_3186
_3186:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ScipChunk:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [esi+8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	add	eax,dword [esi+16]
	sub	eax,6
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,0
	jmp	_3189
_3189:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadCString:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	byte [ebp-4],0
	mov	ebx,_bbEmptyString
	jmp	_602
_604:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_9284
	jmp	_603
_9284:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	call	_bbStringFromChar
	add	esp,4
	push	eax
	push	ebx
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
_602:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	je	_604
_603:
	mov	eax,ebx
	jmp	_3192
_3192:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadRGB:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	ebx,dword [ebp+20]
	cmp	eax,16
	je	_9287
	cmp	eax,17
	je	_9288
	cmp	eax,19
	je	_9289
	cmp	eax,18
	je	_9290
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	jmp	_9286
_9287:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [edi]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebx]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	mov	eax,dword [ebp+24]
	fstp	dword [eax]
	jmp	_9286
_9288:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_12746]
	fstp	dword [edi]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_12747]
	fstp	dword [ebx]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_12748]
	mov	eax,dword [ebp+24]
	fstp	dword [eax]
	jmp	_9286
_9289:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [edi]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebx]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	mov	eax,dword [ebp+24]
	fstp	dword [eax]
	jmp	_9286
_9290:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_12749]
	fstp	dword [edi]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_12750]
	fstp	dword [ebx]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_12751]
	mov	eax,dword [ebp+24]
	fstp	dword [eax]
	jmp	_9286
_9286:
	mov	eax,0
	jmp	_3199
_3199:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadPercent:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,48
	je	_9306
	cmp	eax,49
	je	_9307
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,4
	fld	dword [_12758]
	jmp	_3203
_9306:
	mov	eax,dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_12759]
	jmp	_3203
_9307:
	mov	eax,dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fdiv	dword [_12760]
	jmp	_3203
_3203:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadVertexList:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	3
	push	_9312
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	dword [esi+24],eax
	mov	edi,0
	mov	eax,dword [esi+24]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_9315
_607:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebx+24]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebx+4+24]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebx+8+24]
	mov	eax,dword [esi+20]
	push	0
	push	0
	push	0
	push	dword [ebx+8+24]
	push	dword [ebx+4+24]
	push	dword [ebx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
_605:
	add	edi,1
_9315:
	cmp	edi,dword [ebp-4]
	jle	_607
_606:
	mov	eax,0
	jmp	_3206
_3206:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadFaceList:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	3
	push	_9322
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	dword [esi+28],eax
	mov	edi,0
	mov	eax,dword [esi+28]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_9325
_610:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebx+24],eax
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebx+4+24],eax
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebx+8+24],eax
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	eax,dword [esi+20]
	push	dword [ebx+8+24]
	push	dword [ebx+4+24]
	push	dword [ebx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
_608:
	add	edi,1
_9325:
	cmp	edi,dword [ebp-4]
	jle	_610
_609:
	mov	eax,0
	jmp	_3209
_3209:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadFaceMatList:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,_bbNullObject
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	dword [ebp-4],eax
	push	dword [ebp-4]
	call	_brl_standardio_Print
	add	esp,4
	mov	dword [ebp-8],0
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_611
_613:
	mov	eax,edi
	push	_sidesign_minib3d_TBrush
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_611
	push	dword [ebp-4]
	push	dword [esi+12]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_9342
	mov	dword [ebp-8],1
	jmp	_612
_9342:
_611:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_613
_612:
	cmp	dword [ebp-8],0
	je	_9343
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+536]
	add	esp,8
_9343:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	shl	esi,1
	add	eax,esi
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	mov	eax,0
	jmp	_3212
_3212:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadTexCoords:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	ebx,0
	sub	eax,1
	mov	edi,eax
	jmp	_9353
_616:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebp-8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fchs
	fstp	dword [ebp-4]
	mov	eax,dword [esi+20]
	push	0
	push	0
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	mov	eax,dword [esi+20]
	push	1
	push	0
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
_614:
	add	ebx,1
_9353:
	cmp	ebx,edi
	jle	_616
_615:
	mov	eax,0
	jmp	_3215
_3215:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_LoadMap:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	ebx,eax
	push	ebx
	call	_brl_filesystem_FileType
	add	esp,4
	mov	edi,eax
	push	ebx
	call	_brl_standardio_Print
	add	esp,4
	cmp	edi,0
	je	_9362
	push	4
	push	ebx
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_9366
	push	eax
	call	_bbGCFree
	add	esp,4
_9366:
	mov	dword [esi+48],ebx
	cmp	dword [esi+44],41472
	jne	_9367
	mov	eax,dword [esi+36]
	push	0
	push	0
	push	dword [esi+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,16
	jmp	_9369
_9367:
	mov	eax,dword [esi+36]
	push	0
	push	1
	push	dword [esi+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,16
_9369:
_9362:
	mov	eax,0
	jmp	_3218
_3218:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadMap:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_sidesign_minib3d_TTexture
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_9374
	push	eax
	call	_bbGCFree
	add	esp,4
_9374:
	mov	dword [esi+48],edi
	mov	dword [esi+44],ebx
	mov	eax,0
	jmp	_3222
_3222:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadTriMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+32]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_9379
	push	eax
	call	_bbGCFree
	add	esp,4
_9379:
	mov	dword [ebx+20],esi
	mov	eax,0
	jmp	_3225
_3225:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_ReadBrushBlock:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	1132396544
	push	1132396544
	push	1132396544
	call	_sidesign_minib3d_CreateBrush
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_9383
	push	eax
	call	_bbGCFree
	add	esp,4
_9383:
	mov	dword [ebx+36],esi
	mov	eax,dword [ebx+40]
	push	dword [ebx+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	eax,0
	jmp	_3228
_3228:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_T3DSLoader_Load:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	_sidesign_minib3d_T3DSLoader
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	edi
	call	_brl_filesystem_ReadFile
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_9396
	push	eax
	call	_bbGCFree
	add	esp,4
_9396:
	mov	dword [ebx+8],esi
	cmp	dword [ebx+8],_bbNullObject
	jne	_9397
	mov	eax,_bbNullObject
	jmp	_3231
_9397:
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	movzx	eax,word [ebx+12]
	mov	eax,eax
	cmp	eax,19789
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_9400
	mov	eax,dword [ebx+16]
	cmp	eax,esi
	setne	al
	movzx	eax,al
_9400:
	cmp	eax,0
	je	_9402
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	push	_617
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_3231
_9402:
	jmp	_618
_620:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	movzx	eax,word [ebx+12]
	mov	eax,eax
	cmp	eax,15677
	jne	_9406
	jmp	_619
_9406:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_9407:
_618:
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	je	_620
_619:
	call	_brl_filesystem_CurrentDir
	mov	dword [ebp-8],eax
	push	_bbStringClass
	push	edi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_9410
	mov	eax,_bbEmptyString
_9410:
	push	_1
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_9411
	push	_bbStringClass
	push	edi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_9413
	mov	eax,_bbEmptyString
_9413:
	push	eax
	call	_brl_filesystem_ExtractDir
	add	esp,4
	push	eax
	call	_brl_filesystem_ChangeDir
	add	esp,4
_9411:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_9417
	push	eax
	call	_bbGCFree
	add	esp,4
_9417:
	mov	dword [ebx+32],esi
	jmp	_621
_623:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	movzx	eax,word [ebx+12]
	mov	eax,eax
	mov	word [ebp-4],ax
	movzx	eax,word [ebp-4]
	cmp	eax,16384
	je	_9422
	movzx	eax,word [ebp-4]
	cmp	eax,45055
	je	_9423
	movzx	eax,word [ebp-4]
	cmp	eax,16640
	je	_9424
	movzx	eax,word [ebp-4]
	cmp	eax,16656
	je	_9425
	movzx	eax,word [ebp-4]
	cmp	eax,16672
	je	_9426
	movzx	eax,word [ebp-4]
	cmp	eax,16688
	je	_9427
	movzx	eax,word [ebp-4]
	cmp	eax,16704
	je	_9428
	movzx	eax,word [ebp-4]
	cmp	eax,40960
	je	_9429
	movzx	eax,word [ebp-4]
	cmp	eax,40976
	je	_9430
	movzx	eax,word [ebp-4]
	cmp	eax,40992
	je	_9431
	movzx	eax,word [ebp-4]
	cmp	eax,41008
	je	_9432
	movzx	eax,word [ebp-4]
	cmp	eax,41024
	je	_9433
	movzx	eax,word [ebp-4]
	cmp	eax,41728
	je	_9434
	movzx	eax,word [ebp-4]
	cmp	eax,41812
	je	_9435
	movzx	eax,word [ebp-4]
	cmp	eax,41814
	je	_9436
	movzx	eax,word [ebp-4]
	cmp	eax,41816
	je	_9437
	movzx	eax,word [ebp-4]
	cmp	eax,41818
	je	_9438
	movzx	eax,word [ebp-4]
	cmp	eax,41820
	je	_9439
	movzx	eax,word [ebx+12]
	mov	eax,eax
	cmp	eax,41472
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_9440
	movzx	eax,word [ebx+12]
	mov	eax,eax
	cmp	eax,41786
	sete	al
	movzx	eax,al
_9440:
	cmp	eax,0
	je	_9442
	mov	eax,ebx
	movzx	edx,word [ebx+12]
	mov	edx,edx
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,8
	jmp	_9444
_9442:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_9444:
	jmp	_9421
_9422:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	jmp	_9421
_9423:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,4
	jmp	_9421
_9424:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	jmp	_9421
_9425:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	jmp	_9421
_9426:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	jmp	_9421
_9427:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	jmp	_9421
_9428:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	jmp	_9421
_9429:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+36]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_9457
	push	eax
	call	_bbGCFree
	add	esp,4
_9457:
	mov	eax,dword [ebx+36]
	mov	dword [eax+12],esi
	jmp	_9421
_9430:
	jmp	_9421
_9431:
	jmp	_9421
_9432:
	jmp	_9421
_9433:
	jmp	_9421
_9434:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	jmp	_9421
_9435:
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [esi+28]
	jmp	_9421
_9436:
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [esi+24]
	jmp	_9421
_9437:
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [esi+32]
	jmp	_9421
_9438:
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [esi+36]
	jmp	_9421
_9439:
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [esi+40]
	jmp	_9421
_9421:
_621:
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	je	_623
_622:
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_ChangeDir
	add	esp,4
	mov	eax,dword [ebx+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+556]
	add	esp,4
	mov	eax,dword [ebx+20]
	mov	eax,dword [eax+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,dword [ebx+20]
	push	dword [eax+8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,dword [ebx+32]
	jmp	_3231
_3231:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TColTree_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TColTree
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	xor	eax,eax
	cmp	eax,0
	je	_9466
	push	_624
	call	_brl_blitz_DebugLog
	add	esp,4
_9466:
	mov	eax,0
	jmp	_3234
_3234:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TColTree_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	cmp	dword [ebx+8],0
	je	_9467
	push	dword [ebx+8]
	call	_C_DeleteColTree
	add	esp,4
	mov	dword [ebx+8],0
_9467:
	xor	eax,eax
	cmp	eax,0
	je	_9468
	push	_625
	call	_brl_blitz_DebugLog
	add	esp,4
_9468:
_3237:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_9469
_9469:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TColTree_TreeCheck:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	cmp	dword [eax+12],1
	jne	_9470
	mov	eax,dword [ebp+8]
	cmp	dword [eax+8],0
	je	_9471
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	call	_C_DeleteColTree
	add	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [eax+8],0
_9471:
	mov	eax,dword [ebp+8]
	mov	dword [eax+12],0
_9470:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+8],0
	jne	_9472
	mov	dword [ebp-12],0
	call	_C_NewMeshInfo
	mov	dword [ebp-28],eax
	mov	dword [ebp-24],1
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [ebp-32],eax
	jmp	_9477
_628:
	mov	eax,dword [ebp+12]
	push	dword [ebp-24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebx+12]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebx+8]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	push	0
	push	dword [ebx+16]
	push	_1493
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebp-4],eax
	mov	eax,dword [ebx+20]
	push	dword [eax+20]
	push	0
	push	dword [ebx+20]
	push	_867
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-16]
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_9485
	mov	eax,dword [ebp-20]
	cmp	eax,0
	setne	al
	movzx	eax,al
_9485:
	cmp	eax,0
	je	_9487
	mov	edx,0
	mov	eax,dword [ebp-16]
	sub	eax,1
	mov	edi,eax
	jmp	_9489
_631:
	mov	ebx,dword [ebp-4]
	mov	ecx,edx
	imul	ecx,3
	mov	esi,dword [ebp-4]
	mov	eax,edx
	imul	eax,3
	movzx	eax,word [esi+eax*2+24]
	mov	eax,eax
	add	eax,dword [ebp-12]
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebx+ecx*2+24],ax
	mov	ebx,dword [ebp-4]
	mov	eax,edx
	imul	eax,3
	mov	ecx,eax
	add	ecx,1
	mov	eax,dword [ebp-4]
	mov	esi,edx
	imul	esi,3
	add	esi,1
	movzx	eax,word [eax+esi*2+24]
	mov	eax,eax
	add	eax,dword [ebp-12]
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebx+ecx*2+24],ax
	mov	ebx,dword [ebp-4]
	mov	eax,edx
	imul	eax,3
	mov	ecx,eax
	add	ecx,2
	mov	eax,dword [ebp-4]
	mov	esi,edx
	imul	esi,3
	add	esi,2
	movzx	eax,word [eax+esi*2+24]
	mov	eax,eax
	add	eax,dword [ebp-12]
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebx+ecx*2+24],ax
_629:
	add	edx,1
_9489:
	cmp	edx,edi
	jle	_631
_630:
	mov	ecx,0
	mov	eax,dword [ebp-16]
	sub	eax,1
	mov	edi,eax
	jmp	_9492
_634:
	mov	edx,dword [ebp-4]
	mov	eax,ecx
	imul	eax,3
	movzx	eax,word [edx+eax*2+24]
	mov	eax,eax
	mov	edx,eax
	mov	ebx,dword [ebp-4]
	mov	eax,ecx
	imul	eax,3
	add	eax,2
	movzx	eax,word [ebx+eax*2+24]
	mov	eax,eax
	mov	esi,dword [ebp-4]
	mov	ebx,ecx
	imul	ebx,3
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [esi+ebx*2+24],ax
	mov	esi,dword [ebp-4]
	mov	eax,ecx
	imul	eax,3
	mov	ebx,eax
	add	ebx,2
	mov	eax,edx
	and	eax,0xffff
	mov	eax,eax
	mov	word [esi+ebx*2+24],ax
_632:
	add	ecx,1
_9492:
	cmp	ecx,edi
	jle	_634
_633:
	mov	ebx,0
	mov	eax,dword [ebp-20]
	sub	eax,1
	mov	edi,eax
	jmp	_9497
_637:
	mov	ecx,dword [ebp-8]
	mov	eax,ebx
	imul	eax,3
	mov	edx,eax
	add	edx,2
	mov	eax,dword [ebp-8]
	mov	esi,ebx
	imul	esi,3
	add	esi,2
	fld	dword [eax+esi*4+24]
	fchs
	fstp	dword [ecx+edx*4+24]
_635:
	add	ebx,1
_9497:
	cmp	ebx,edi
	jle	_637
_636:
	push	dword [ebp-24]
	mov	eax,dword [ebp-8]
	lea	eax,dword [eax+24]
	push	eax
	mov	eax,dword [ebp-4]
	lea	eax,word [eax+24]
	push	eax
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-28]
	call	_C_AddSurface
	add	esp,24
	mov	eax,dword [ebp-20]
	add	dword [ebp-12],eax
_9487:
_626:
	add	dword [ebp-24],1
_9477:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-24],eax
	jle	_628
_627:
	push	dword [ebp-28]
	call	_C_CreateColTree
	add	esp,4
	mov	edx,dword [ebp+8]
	mov	dword [edx+8],eax
	push	dword [ebp-28]
	call	_C_DeleteMeshInfo
	add	esp,4
_9472:
	mov	eax,0
	jmp	_3241
_3241:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TPick
	mov	eax,0
	jmp	_3244
_3244:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_3247:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_9499
_9499:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_CameraPick:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [__sidesign_minib3d_TGlobal_height]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fsub	dword [ebp+16]
	fstp	dword [ebp+16]
	fldz
	fstp	qword [ebp-8]
	fldz
	fstp	qword [ebp-16]
	fldz
	fstp	qword [ebp-24]
	lea	eax,qword [ebp-24]
	push	eax
	lea	eax,qword [ebp-16]
	push	eax
	lea	eax,qword [ebp-8]
	push	eax
	mov	eax,dword [ebx+348]
	lea	eax,dword [eax+24]
	push	eax
	mov	eax,dword [ebx+344]
	lea	eax,qword [eax+24]
	push	eax
	mov	eax,dword [ebx+340]
	lea	eax,qword [eax+24]
	push	eax
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_gluUnProject@48
	fld	qword [ebp-8]
	fstp	dword [ebp-28]
	fld	qword [ebp-16]
	fstp	dword [ebp-32]
	fld	qword [ebp-24]
	fchs
	fstp	dword [ebp-36]
	lea	eax,qword [ebp-24]
	push	eax
	lea	eax,qword [ebp-16]
	push	eax
	lea	eax,qword [ebp-8]
	push	eax
	mov	eax,dword [ebx+348]
	lea	eax,dword [eax+24]
	push	eax
	mov	eax,dword [ebx+344]
	lea	eax,qword [eax+24]
	push	eax
	mov	eax,dword [ebx+340]
	lea	eax,qword [eax+24]
	push	eax
	fld1
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_gluUnProject@48
	fld	qword [ebp-8]
	fld	qword [ebp-16]
	fld	qword [ebp-24]
	fchs
	push	0
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-36]
	push	dword [ebp-32]
	push	dword [ebp-28]
	call	dword [_sidesign_minib3d_TPick+104]
	add	esp,28
	jmp	_3252
_3252:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_EntityPick:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_bbNullObject
	push	ebx
	push	0
	push	0
	push	0
	call	dword [_sidesign_minib3d_TEntity+248]
	add	esp,20
	call	dword [_sidesign_minib3d_TEntity+260]
	fstp	dword [ebp-12]
	call	dword [_sidesign_minib3d_TEntity+264]
	fstp	dword [ebp-16]
	call	dword [_sidesign_minib3d_TEntity+268]
	fstp	dword [ebp-20]
	push	_bbNullObject
	push	ebx
	push	dword [ebp+12]
	push	0
	push	0
	call	dword [_sidesign_minib3d_TEntity+248]
	add	esp,20
	call	dword [_sidesign_minib3d_TEntity+260]
	fstp	dword [ebp-8]
	call	dword [_sidesign_minib3d_TEntity+264]
	fstp	dword [ebp-4]
	call	dword [_sidesign_minib3d_TEntity+268]
	push	0
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	call	dword [_sidesign_minib3d_TPick+104]
	add	esp,28
	jmp	_3256
_3256:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_LinePick:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fld	dword [ebp+32]
	sub	esp,4
	fstp	dword [esp]
	fld	st3
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	st3
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	st3
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TPick+104]
	add	esp,28
	jmp	_3265
_3265:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_EntityVisible:
	push	ebp
	mov	ebp,esp
	sub	esp,60
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	fld	dword [__sidesign_minib3d_TPick_picked_x]
	fstp	dword [ebp-56]
	fld	dword [__sidesign_minib3d_TPick_picked_y]
	fstp	dword [ebp-24]
	fld	dword [__sidesign_minib3d_TPick_picked_z]
	fstp	dword [ebp-32]
	fld	dword [__sidesign_minib3d_TPick_picked_nx]
	fstp	dword [ebp-36]
	fld	dword [__sidesign_minib3d_TPick_picked_ny]
	fstp	dword [ebp-40]
	fld	dword [__sidesign_minib3d_TPick_picked_nz]
	fstp	dword [ebp-48]
	fld	dword [__sidesign_minib3d_TPick_picked_time]
	fstp	dword [ebp-52]
	mov	edi,dword [__sidesign_minib3d_TPick_picked_ent]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_surface]
	mov	dword [ebp-28],eax
	mov	eax,dword [__sidesign_minib3d_TPick_picked_triangle]
	mov	dword [ebp-60],eax
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebp-8]
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [ebp-4]
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	fstp	dword [ebp-12]
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	fstp	dword [ebp-16]
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	fstp	dword [ebp-20]
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	push	0
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-4]
	push	dword [ebp-8]
	call	dword [_sidesign_minib3d_TPick+104]
	add	esp,28
	mov	dword [ebp-44],eax
	mov	esi,0
	cmp	dword [__sidesign_minib3d_TPick_picked_ent],ebx
	jne	_9539
	mov	esi,1
_9539:
	fld	dword [ebp-56]
	fstp	dword [__sidesign_minib3d_TPick_picked_x]
	fld	dword [ebp-24]
	fstp	dword [__sidesign_minib3d_TPick_picked_y]
	fld	dword [ebp-32]
	fstp	dword [__sidesign_minib3d_TPick_picked_z]
	fld	dword [ebp-36]
	fstp	dword [__sidesign_minib3d_TPick_picked_nx]
	fld	dword [ebp-40]
	fstp	dword [__sidesign_minib3d_TPick_picked_ny]
	fld	dword [ebp-48]
	fstp	dword [__sidesign_minib3d_TPick_picked_nz]
	fld	dword [ebp-52]
	fstp	dword [__sidesign_minib3d_TPick_picked_time]
	mov	ebx,edi
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_ent]
	dec	dword [eax+4]
	jnz	_9543
	push	eax
	call	_bbGCFree
	add	esp,4
_9543:
	mov	dword [__sidesign_minib3d_TPick_picked_ent],ebx
	mov	ebx,dword [ebp-28]
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_surface]
	dec	dword [eax+4]
	jnz	_9547
	push	eax
	call	_bbGCFree
	add	esp,4
_9547:
	mov	dword [__sidesign_minib3d_TPick_picked_surface],ebx
	mov	eax,dword [ebp-60]
	mov	dword [__sidesign_minib3d_TPick_picked_triangle],eax
	mov	eax,dword [ebp-44]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_9548
	cmp	esi,1
	setne	al
	movzx	eax,al
_9548:
	cmp	eax,0
	je	_9550
	mov	eax,0
	jmp	_3269
_9550:
	mov	eax,1
	jmp	_3269
_3269:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedX:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TPick_picked_x]
	jmp	_3271
_3271:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedY:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TPick_picked_y]
	jmp	_3273
_3273:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedZ:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TPick_picked_z]
	jmp	_3275
_3275:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedNX:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TPick_picked_nx]
	jmp	_3277
_3277:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedNY:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TPick_picked_ny]
	jmp	_3279
_3279:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedNZ:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TPick_picked_nz]
	jmp	_3281
_3281:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedTime:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TPick_picked_time]
	jmp	_3283
_3283:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [__sidesign_minib3d_TPick_picked_ent]
	jmp	_3285
_3285:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedSurface:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [__sidesign_minib3d_TPick_picked_surface]
	jmp	_3287
_3287:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_PickedTriangle:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [__sidesign_minib3d_TPick_picked_triangle]
	jmp	_3289
_3289:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TPick_Pick:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [_4634]
	and	eax,8192
	cmp	eax,0
	jne	_9552
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9551],eax
	or	dword [_4634],8192
_9552:
	mov	eax,dword [_4634]
	and	eax,16384
	cmp	eax,0
	jne	_9554
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9553],eax
	or	dword [_4634],16384
_9554:
	mov	eax,dword [_4634]
	and	eax,32768
	cmp	eax,0
	jne	_9556
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9555],eax
	or	dword [_4634],32768
_9556:
	mov	eax,dword [_4634]
	and	eax,65536
	cmp	eax,0
	jne	_9558
	push	dword [_9555]
	push	dword [_9553]
	push	dword [_9551]
	call	_C_CreateCollisionInfoObject
	add	esp,12
	mov	dword [_9557],eax
	or	dword [_4634],65536
_9558:
	mov	eax,dword [_4634]
	and	eax,131072
	cmp	eax,0
	jne	_9560
	push	0
	push	0
	push	0
	push	0
	push	0
	push	0
	call	_C_CreateLineObject
	add	esp,24
	mov	dword [_9559],eax
	or	dword [_4634],131072
_9560:
	mov	eax,dword [_4634]
	and	eax,262144
	cmp	eax,0
	jne	_9562
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9561],eax
	or	dword [_4634],262144
_9562:
	mov	eax,dword [_4634]
	and	eax,524288
	cmp	eax,0
	jne	_9564
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9563],eax
	or	dword [_4634],524288
_9564:
	mov	eax,dword [_4634]
	and	eax,1048576
	cmp	eax,0
	jne	_9566
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9565],eax
	or	dword [_4634],1048576
_9566:
	mov	eax,dword [_4634]
	and	eax,2097152
	cmp	eax,0
	jne	_9568
	push	dword [_9565]
	push	dword [_9563]
	push	dword [_9561]
	call	_C_CreateMatrixObject
	add	esp,12
	mov	dword [_9567],eax
	or	dword [_4634],2097152
_9568:
	mov	eax,dword [_4634]
	and	eax,4194304
	cmp	eax,0
	jne	_9570
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9569],eax
	or	dword [_4634],4194304
_9570:
	mov	eax,dword [_4634]
	and	eax,8388608
	cmp	eax,0
	jne	_9572
	push	dword [_9569]
	push	dword [_9567]
	call	_C_CreateTFormObject
	add	esp,8
	mov	dword [_9571],eax
	or	dword [_4634],8388608
_9572:
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_ent]
	dec	dword [eax+4]
	jnz	_9576
	push	eax
	call	_bbGCFree
	add	esp,4
_9576:
	mov	dword [__sidesign_minib3d_TPick_picked_ent],ebx
	fld1
	fstp	dword [__sidesign_minib3d_TPick_picked_time]
	fld	dword [ebp+28]
	fsub	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+24]
	fsub	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+20]
	fsub	dword [ebp+8]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	dword [ebp+8]
	push	dword [_9559]
	call	_C_UpdateLineObject
	add	esp,28
	call	_C_CreateCollisionObject
	mov	dword [ebp-8],eax
	mov	edi,dword [__sidesign_minib3d_TPick_ent_list]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_638
_640:
	mov	eax,dword [ebp-4]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_638
	mov	eax,dword [ebx+192]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_9586
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	eax,1
	sete	al
	movzx	eax,al
_9586:
	cmp	eax,0
	je	_9588
	jmp	_638
_9588:
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	fld	dword [eax+8+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	push	dword [eax+4+28]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	push	dword [eax+28]
	push	dword [_9561]
	call	_C_UpdateVecObject
	add	esp,16
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	add	edx,2
	fld	dword [eax+edx*4+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	add	edx,1
	push	dword [eax+edx*4+28]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	push	dword [eax+edx*4+28]
	push	dword [_9563]
	call	_C_UpdateVecObject
	add	esp,16
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	push	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	fld	dword [eax+edx*4+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [_9565]
	call	_C_UpdateVecObject
	add	esp,16
	push	dword [_9565]
	push	dword [_9563]
	push	dword [_9561]
	push	dword [_9567]
	call	_C_UpdateMatrixObject
	add	esp,16
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	push	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	push	dword [eax+edx*4+28]
	push	dword [_9569]
	call	_C_UpdateVecObject
	add	esp,16
	push	dword [_9569]
	push	dword [_9567]
	push	dword [_9571]
	call	_C_UpdateTFormObject
	add	esp,12
	cmp	dword [ebx+192],2
	je	_9589
	fld	dword [ebx+164]
	fadd	dword [ebx+176]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+160]
	fadd	dword [ebx+172]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+156]
	fadd	dword [ebx+168]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+164]
	push	dword [ebx+160]
	push	dword [ebx+156]
	push	dword [ebx+140]
	push	dword [_9557]
	call	_C_UpdateCollisionInfoObject
	add	esp,32
_9589:
	mov	esi,0
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_9591
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,dword [eax+312]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,8
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+312]
	mov	esi,dword [eax+8]
_9591:
	push	_sidesign_minib3d_TTerrain
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_9593
	push	_sidesign_minib3d_TTerrain
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+316]
	mov	esi,dword [eax+8]
_9593:
	push	dword [ebx+192]
	push	esi
	push	dword [_9571]
	push	dword [ebp-8]
	push	dword [ebp+32]
	push	dword [_9559]
	push	dword [_9557]
	call	_C_Pick
	add	esp,28
	cmp	eax,0
	je	_9594
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_ent]
	dec	dword [eax+4]
	jnz	_9598
	push	eax
	call	_bbGCFree
	add	esp,4
_9598:
	mov	dword [__sidesign_minib3d_TPick_picked_ent],ebx
_9594:
_638:
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_640
_639:
	push	dword [ebp-8]
	call	_C_DeleteCollisionObject
	add	esp,4
	cmp	dword [__sidesign_minib3d_TPick_picked_ent],_bbNullObject
	je	_9599
	call	_C_CollisionX
	fstp	dword [__sidesign_minib3d_TPick_picked_x]
	call	_C_CollisionY
	fstp	dword [__sidesign_minib3d_TPick_picked_y]
	call	_C_CollisionZ
	fstp	dword [__sidesign_minib3d_TPick_picked_z]
	call	_C_CollisionNX
	fstp	dword [__sidesign_minib3d_TPick_picked_nx]
	call	_C_CollisionNY
	fstp	dword [__sidesign_minib3d_TPick_picked_ny]
	call	_C_CollisionNZ
	fstp	dword [__sidesign_minib3d_TPick_picked_nz]
	call	_C_CollisionTime
	fstp	dword [__sidesign_minib3d_TPick_picked_time]
	push	_sidesign_minib3d_TMesh
	push	dword [__sidesign_minib3d_TPick_picked_ent]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_9600
	push	_sidesign_minib3d_TMesh
	push	dword [__sidesign_minib3d_TPick_picked_ent]
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	call	_C_CollisionSurface
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+580]
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_surface]
	dec	dword [eax+4]
	jnz	_9605
	push	eax
	call	_bbGCFree
	add	esp,4
_9605:
	mov	dword [__sidesign_minib3d_TPick_picked_surface],ebx
	jmp	_9606
_9600:
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TPick_picked_surface]
	dec	dword [eax+4]
	jnz	_9610
	push	eax
	call	_bbGCFree
	add	esp,4
_9610:
	mov	dword [__sidesign_minib3d_TPick_picked_surface],ebx
_9606:
	call	_C_CollisionTriangle
	mov	dword [__sidesign_minib3d_TPick_picked_triangle],eax
_9599:
	mov	eax,dword [__sidesign_minib3d_TPick_picked_ent]
	jmp	_3298
_3298:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCollisionPair_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TCollisionPair
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	xor	eax,eax
	cmp	eax,0
	je	_9611
	push	_641
	call	_brl_blitz_DebugLog
	add	esp,4
_9611:
	mov	eax,0
	jmp	_3301
_3301:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCollisionPair_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_9612
	push	_642
	call	_brl_blitz_DebugLog
	add	esp,4
_9612:
_3304:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_9613
_9613:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCollisionImpact_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TCollisionImpact
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	mov	dword [ebx+44],0
	xor	eax,eax
	cmp	eax,0
	je	_9616
	push	_643
	call	_brl_blitz_DebugLog
	add	esp,4
_9616:
	mov	eax,0
	jmp	_3307
_3307:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TCollisionImpact_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_9617
	push	_644
	call	_brl_blitz_DebugLog
	add	esp,4
_9617:
_3310:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_9620
	push	eax
	call	_bbGCFree
	add	esp,4
_9620:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_9622
	push	eax
	call	_bbGCFree
	add	esp,4
_9622:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_9618
_9618:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_UpdateCollisions:
	push	ebp
	mov	ebp,esp
	sub	esp,56
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [_4634]
	and	eax,16777216
	cmp	eax,0
	jne	_9624
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9623],eax
	or	dword [_4634],16777216
_9624:
	mov	eax,dword [_4634]
	and	eax,33554432
	cmp	eax,0
	jne	_9626
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9625],eax
	or	dword [_4634],33554432
_9626:
	mov	eax,dword [_4634]
	and	eax,67108864
	cmp	eax,0
	jne	_9628
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9627],eax
	or	dword [_4634],67108864
_9628:
	mov	eax,dword [_4634]
	and	eax,134217728
	cmp	eax,0
	jne	_9630
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9629],eax
	or	dword [_4634],134217728
_9630:
	mov	eax,dword [_4634]
	and	eax,268435456
	cmp	eax,0
	jne	_9632
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9631],eax
	or	dword [_4634],268435456
_9632:
	mov	eax,dword [_4634]
	and	eax,536870912
	cmp	eax,0
	jne	_9634
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9633],eax
	or	dword [_4634],536870912
_9634:
	mov	eax,dword [_4634]
	and	eax,1073741824
	cmp	eax,0
	jne	_9636
	push	dword [_9633]
	push	dword [_9631]
	push	dword [_9629]
	call	_C_CreateMatrixObject
	add	esp,12
	mov	dword [_9635],eax
	or	dword [_4634],1073741824
_9636:
	mov	eax,dword [_4634]
	and	eax,-2147483648
	cmp	eax,0
	jne	_9638
	push	0
	push	0
	push	0
	call	_C_CreateVecObject
	add	esp,12
	mov	dword [_9637],eax
	or	dword [_4634],-2147483648
_9638:
	mov	eax,dword [_9640]
	and	eax,1
	cmp	eax,0
	jne	_9641
	push	dword [_9637]
	push	dword [_9635]
	call	_C_CreateTFormObject
	add	esp,8
	mov	dword [_9639],eax
	or	dword [_9640],1
_9641:
	mov	dword [ebp-48],0
	jmp	_9643
_647:
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [ebp-48]
	cmp	dword [edx+eax*4+24],_bbNullObject
	jne	_9644
	jmp	_645
_9644:
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [ebp-48]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp-52]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-56],eax
	jmp	_648
_650:
	mov	eax,dword [ebp-56]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_648
	mov	eax,dword [ebp-12]
	mov	dword [eax+184],0
	push	0
	push	0
	mov	eax,dword [ebp-12]
	push	dword [eax+188]
	push	_5366
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	dec	dword [eax+4]
	jnz	_9654
	push	eax
	call	_bbGCFree
	add	esp,4
_9654:
	mov	eax,dword [ebp-12]
	mov	dword [eax+188],ebx
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	eax,1
	jne	_9656
	jmp	_648
_9656:
	mov	ebx,dword [ebp-12]
	mov	esi,dword [ebp-12]
	mov	eax,dword [ebp-12]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+184]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	dword [_9623]
	call	_C_UpdateVecObject
	add	esp,16
	mov	eax,dword [ebp-12]
	push	dword [eax+256]
	mov	eax,dword [ebp-12]
	push	dword [eax+252]
	mov	eax,dword [ebp-12]
	push	dword [eax+248]
	push	dword [_9625]
	call	_C_UpdateVecObject
	add	esp,16
	mov	eax,dword [ebp-12]
	push	dword [eax+140]
	mov	eax,dword [ebp-12]
	push	dword [eax+144]
	mov	eax,dword [ebp-12]
	push	dword [eax+140]
	push	dword [_9627]
	call	_C_UpdateVecObject
	add	esp,16
	push	dword [_9627]
	push	dword [_9625]
	push	dword [_9623]
	call	_C_CreateCollisionInfoObject
	add	esp,12
	mov	dword [ebp-16],eax
	mov	dword [ebp-36],0
_653:
_651:
	call	_C_CreateCollisionObject
	mov	dword [ebp-32],eax
	mov	dword [ebp-20],_bbNullObject
	mov	eax,dword [__sidesign_minib3d_TCollisionPair_list]
	mov	dword [ebp-40],eax
	mov	eax,dword [ebp-40]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-44],eax
	jmp	_654
_656:
	mov	eax,dword [ebp-44]
	push	_sidesign_minib3d_TCollisionPair
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	cmp	edi,_bbNullObject
	je	_654
	mov	eax,dword [ebp-48]
	cmp	dword [edi+8],eax
	jne	_9671
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [edi+12]
	cmp	dword [edx+eax*4+24],_bbNullObject
	jne	_9672
	jmp	_654
_9672:
	mov	edx,dword [__sidesign_minib3d_TCollisionPair_ent_lists]
	mov	eax,dword [edi+12]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_657
_659:
	mov	eax,dword [ebp-8]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_657
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	eax,1
	jne	_9680
	jmp	_657
_9680:
	cmp	dword [ebp-12],ebx
	jne	_9681
	jmp	_657
_9681:
	push	ebx
	push	dword [ebp-12]
	call	_sidesign_minib3d_QuickCheck
	add	esp,8
	cmp	eax,0
	jne	_9682
	jmp	_657
_9682:
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	fld	dword [eax+8+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	push	dword [eax+4+28]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	push	dword [eax+28]
	push	dword [_9629]
	call	_C_UpdateVecObject
	add	esp,16
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	add	edx,2
	fld	dword [eax+edx*4+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	add	edx,1
	push	dword [eax+edx*4+28]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	push	dword [eax+edx*4+28]
	push	dword [_9631]
	call	_C_UpdateVecObject
	add	esp,16
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	push	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	fld	dword [eax+edx*4+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [_9633]
	call	_C_UpdateVecObject
	add	esp,16
	push	dword [_9633]
	push	dword [_9631]
	push	dword [_9629]
	push	dword [_9635]
	call	_C_UpdateMatrixObject
	add	esp,16
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+28]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+28]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	push	dword [edx+eax*4+28]
	mov	eax,dword [ebx+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebx+28]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	push	dword [eax+edx*4+28]
	push	dword [_9637]
	call	_C_UpdateVecObject
	add	esp,16
	push	dword [_9637]
	push	dword [_9635]
	push	dword [_9639]
	call	_C_UpdateTFormObject
	add	esp,12
	cmp	dword [edi+16],2
	je	_9683
	fld	dword [ebx+164]
	fadd	dword [ebx+176]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+160]
	fadd	dword [ebx+172]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+156]
	fadd	dword [ebx+168]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+164]
	push	dword [ebx+160]
	push	dword [ebx+156]
	push	dword [ebx+140]
	push	dword [ebp-16]
	call	_C_UpdateCollisionInfoObject
	add	esp,32
_9683:
	mov	esi,0
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_9685
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,dword [eax+312]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,8
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+312]
	mov	esi,dword [eax+8]
_9685:
	push	_sidesign_minib3d_TTerrain
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_9687
	push	_sidesign_minib3d_TTerrain
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+316]
	mov	esi,dword [eax+8]
_9687:
	push	dword [edi+16]
	push	esi
	push	dword [_9639]
	push	dword [ebp-32]
	push	dword [ebp-16]
	call	_C_CollisionDetect
	add	esp,20
	cmp	eax,0
	je	_9688
	mov	dword [ebp-20],ebx
	mov	eax,dword [edi+20]
	mov	dword [ebp-36],eax
_9688:
_657:
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_659
_658:
_9671:
_654:
	mov	eax,dword [ebp-44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_656
_655:
	cmp	dword [ebp-20],_bbNullObject
	je	_9689
	push	dword [ebp-36]
	push	dword [ebp-32]
	push	dword [ebp-16]
	call	_C_CollisionResponse
	add	esp,12
	mov	edi,eax
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+184]
	add	eax,1
	mov	dword [edx+184],eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+184]
	sub	eax,1
	mov	ebx,eax
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp-12]
	push	dword [eax+188]
	push	_5366
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	dec	dword [eax+4]
	jnz	_9695
	push	eax
	call	_bbGCFree
	add	esp,4
_9695:
	mov	eax,dword [ebp-12]
	mov	dword [eax+188],esi
	push	_sidesign_minib3d_TCollisionImpact
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_9699
	push	eax
	call	_bbGCFree
	add	esp,4
_9699:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	esi,dword [eax+ebx*4+24]
	call	_C_CollisionX
	fstp	dword [esi+8]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	esi,dword [eax+ebx*4+24]
	call	_C_CollisionY
	fstp	dword [esi+12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	esi,dword [eax+ebx*4+24]
	call	_C_CollisionZ
	fstp	dword [esi+16]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	esi,dword [eax+ebx*4+24]
	call	_C_CollisionNX
	fstp	dword [esi+20]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	esi,dword [eax+ebx*4+24]
	call	_C_CollisionNY
	fstp	dword [esi+24]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	esi,dword [eax+ebx*4+24]
	call	_C_CollisionNZ
	fstp	dword [esi+28]
	mov	eax,dword [ebp-20]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+36]
	dec	dword [eax+4]
	jnz	_9703
	push	eax
	call	_bbGCFree
	add	esp,4
_9703:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+36],esi
	push	_sidesign_minib3d_TMesh
	push	dword [ebp-20]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_9704
	push	_sidesign_minib3d_TMesh
	push	dword [ebp-20]
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	call	_C_CollisionSurface
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+580]
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_9709
	push	eax
	call	_bbGCFree
	add	esp,4
_9709:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+40],esi
	jmp	_9710
_9704:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_9714
	push	eax
	call	_bbGCFree
	add	esp,4
_9714:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+40],esi
_9710:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+188]
	mov	ebx,dword [eax+ebx*4+24]
	call	_C_CollisionTriangle
	mov	dword [ebx+44],eax
	cmp	edi,0
	jne	_9715
	jmp	_652
_9715:
	jmp	_9716
_9689:
	jmp	_652
_9716:
	push	dword [ebp-32]
	call	_C_DeleteCollisionObject
	add	esp,4
	jmp	_653
_652:
	push	dword [ebp-32]
	call	_C_DeleteCollisionObject
	add	esp,4
	push	dword [ebp-16]
	call	_C_CollisionFinal
	add	esp,4
	cmp	eax,0
	je	_9718
	call	_C_CollisionPosX
	fstp	dword [ebp-28]
	call	_C_CollisionPosY
	fstp	dword [ebp-24]
	call	_C_CollisionPosZ
	mov	eax,dword [ebp-12]
	push	1
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-24]
	push	dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,20
_9718:
	push	dword [ebp-16]
	call	_C_DeleteCollisionInfoObject
	add	esp,4
	mov	eax,dword [ebp-12]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	mov	eax,dword [ebp-12]
	fstp	dword [eax+248]
	mov	eax,dword [ebp-12]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	mov	eax,dword [ebp-12]
	fstp	dword [eax+252]
	mov	eax,dword [ebp-12]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	mov	eax,dword [ebp-12]
	fstp	dword [eax+256]
_648:
	mov	eax,dword [ebp-56]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_650
_649:
_645:
	add	dword [ebp-48],1
_9643:
	cmp	dword [ebp-48],100
	jl	_647
_646:
	mov	eax,0
	jmp	_3312
_3312:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_QuickCheck:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+248]
	fstp	dword [ebp-4]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+180]
	add	esp,8
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_9728
	fld	dword [ebx+252]
	fstp	dword [ebp-8]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+184]
	add	esp,8
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_9728:
	cmp	eax,0
	je	_9731
	fld	dword [ebx+256]
	fstp	dword [ebp-12]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+188]
	add	esp,8
	fld	dword [ebp-12]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_9731:
	cmp	eax,0
	je	_9733
	mov	eax,0
	jmp	_3316
_9733:
	mov	eax,1
	jmp	_3316
_3316:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TVector
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	xor	eax,eax
	cmp	eax,0
	je	_9734
	push	_660
	call	_brl_blitz_DebugLog
	add	esp,4
_9734:
	mov	eax,0
	jmp	_3319
_3319:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_9735
	push	_661
	call	_brl_blitz_DebugLog
	add	esp,4
_9735:
_3322:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_9736
_9736:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Create:
	push	ebp
	mov	ebp,esp
	push	_sidesign_minib3d_TVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	jmp	_3327
_3327:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Copy:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_sidesign_minib3d_TVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	jmp	_3330
_3330:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Add:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_sidesign_minib3d_TVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [esi+8]
	fadd	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [esi+12]
	fadd	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [esi+16]
	fadd	dword [ebx+16]
	fstp	dword [eax+16]
	jmp	_3334
_3334:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Subtract:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_sidesign_minib3d_TVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [esi+8]
	fsub	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [esi+12]
	fsub	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [esi+16]
	fsub	dword [ebx+16]
	fstp	dword [eax+16]
	jmp	_3338
_3338:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Multiply:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_sidesign_minib3d_TVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fmul	dword [ebp+12]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fmul	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fmul	dword [ebp+12]
	fstp	dword [eax+16]
	jmp	_3342
_3342:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Divide:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_sidesign_minib3d_TVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fdiv	dword [ebp+12]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fdiv	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fdiv	dword [ebp+12]
	fstp	dword [eax+16]
	jmp	_3346
_3346:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Dot:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+8]
	fmul	dword [eax+8]
	fld	dword [edx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [eax+16]
	faddp	st1,st0
	jmp	_3350
_3350:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Cross:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_sidesign_minib3d_TVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [esi+12]
	fmul	dword [ebx+16]
	fld	dword [esi+16]
	fmul	dword [ebx+12]
	fsubp	st1,st0
	fstp	dword [eax+8]
	fld	dword [esi+16]
	fmul	dword [ebx+8]
	fld	dword [esi+8]
	fmul	dword [ebx+16]
	fsubp	st1,st0
	fstp	dword [eax+12]
	fld	dword [esi+8]
	fmul	dword [ebx+12]
	fld	dword [esi+12]
	fmul	dword [ebx+8]
	fsubp	st1,st0
	fstp	dword [eax+16]
	jmp	_3354
_3354:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Normalize:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	ebx,dword [ebp+8]
	fld1
	fstp	qword [ebp-8]
	fld	dword [ebx+8]
	fmul	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [ebx+16]
	fmul	dword [ebx+16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-8]
	fdivrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fld	dword [ebx+8]
	fmul	st0,st1
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	st0,st1
	fstp	dword [ebx+12]
	fld	dword [ebx+16]
	fmulp	st1,st0
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_3357
_3357:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Length:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	fmul	dword [eax+8]
	fld	dword [eax+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [eax+16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	jmp	_3360
_3360:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_SquaredLength:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	fmul	dword [eax+8]
	fld	dword [eax+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [eax+16]
	faddp	st1,st0
	jmp	_3363
_3363:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_SetLength:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebx+8]
	fmul	dword [ebp+12]
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	dword [ebp+12]
	fstp	dword [ebx+12]
	fld	dword [ebx+16]
	fmul	dword [ebp+12]
	fstp	dword [ebx+16]
	fld	dword [_13008]
	jmp	_3367
_3367:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_Compare:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	_sidesign_minib3d_TVector
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edx,eax
	fld	dword [ebx+8]
	fsub	dword [edx+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9747
	mov	eax,1
	jmp	_3371
_9747:
	fld	dword [edx+8]
	fsub	dword [ebx+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9748
	mov	eax,-1
	jmp	_3371
_9748:
	fld	dword [ebx+12]
	fsub	dword [edx+12]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9749
	mov	eax,1
	jmp	_3371
_9749:
	fld	dword [edx+12]
	fsub	dword [ebx+12]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9750
	mov	eax,-1
	jmp	_3371
_9750:
	fld	dword [ebx+16]
	fsub	dword [edx+16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9751
	mov	eax,1
	jmp	_3371
_9751:
	fld	dword [edx+16]
	fsub	dword [ebx+16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9752
	mov	eax,-1
	jmp	_3371
_9752:
	mov	eax,0
	jmp	_3371
_3371:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_VectorYaw:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	fchs
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	jmp	_3376
_3376:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TVector_VectorPitch:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,8
	fxch	st1
	fstp	qword [esp]
	fxch	st1
	fmul	st0,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fld	qword [_13024]
	fsubp	st1,st0
	fld	dword [_13025]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_9754
	fld	dword [_13026]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_9754:
	cmp	eax,0
	je	_9756
	fstp	st0
	fld	dword [_13027]
_9756:
	jmp	_3381
_3381:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TMatrix
	push	4
	push	4
	push	2
	push	_9757
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	xor	eax,eax
	cmp	eax,0
	je	_9759
	push	_662
	call	_brl_blitz_DebugLog
	add	esp,4
_9759:
	mov	eax,0
	jmp	_3384
_3384:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_9760
	push	_663
	call	_brl_blitz_DebugLog
	add	esp,4
_9760:
_3387:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_9763
	push	eax
	call	_bbGCFree
	add	esp,4
_9763:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_9761
_9761:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Create:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	eax,ebx
	jmp	_3389
_3389:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_LoadIdentity:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [edx+8]
	fld1
	fstp	dword [eax+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	eax,dword [edx+8]
	fldz
	fstp	dword [eax+4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld1
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	eax,dword [edx+8]
	fldz
	fstp	dword [eax+8+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld1
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	eax,dword [edx+8]
	fldz
	fstp	dword [eax+12+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld1
	fstp	dword [ecx+eax*4+28]
	mov	eax,0
	jmp	_3392
_3392:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Copy:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ecx,eax
	mov	edx,dword [ecx+8]
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fstp	dword [edx+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	mov	edi,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edi,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edi,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fstp	dword [edx+4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	mov	edi,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,1
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edx,eax
	add	edx,1
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fstp	dword [edx+8+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	mov	edi,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,2
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edx,eax
	add	edx,2
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,2
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ebx+8]
	fld	dword [eax+12+28]
	fstp	dword [edx+12+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	mov	edi,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,3
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,3
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,3
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	esi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	edx,dword [eax+24]
	imul	edx,3
	add	edx,3
	mov	eax,dword [ebx+8]
	mov	ebx,dword [ebx+8]
	mov	ebx,dword [ebx+24]
	imul	ebx,3
	add	ebx,3
	fld	dword [eax+ebx*4+28]
	fstp	dword [esi+edx*4+28]
	mov	eax,ecx
	jmp	_3395
_3395:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Overwrite:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ecx+8]
	fld	dword [eax+28]
	fstp	dword [edx+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	mov	edi,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edi,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edi,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ecx+8]
	fld	dword [eax+4+28]
	fstp	dword [edx+4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	mov	edi,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,1
	mov	eax,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edx,eax
	add	edx,1
	mov	eax,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,1
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ecx+8]
	fld	dword [eax+8+28]
	fstp	dword [edx+8+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	mov	edi,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,2
	mov	eax,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	edx,eax
	add	edx,2
	mov	eax,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	add	esi,2
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ecx+8]
	fld	dword [eax+12+28]
	fstp	dword [edx+12+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	mov	edi,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	add	esi,3
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,3
	mov	eax,dword [ecx+8]
	mov	esi,dword [ecx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,3
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	esi,dword [edx+24]
	imul	esi,3
	add	esi,3
	mov	ebx,dword [ecx+8]
	mov	edx,dword [ecx+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,3
	fld	dword [ebx+edx*4+28]
	fstp	dword [eax+esi*4+28]
	mov	eax,0
	jmp	_3399
_3399:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Inverse:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ecx,eax
	mov	edx,dword [ecx+8]
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fstp	dword [edx+28]
	mov	eax,dword [ecx+8]
	mov	edx,dword [ecx+8]
	mov	esi,dword [edx+24]
	mov	edx,dword [ebx+8]
	fld	dword [edx+4+28]
	fstp	dword [eax+esi*4+28]
	mov	eax,dword [ecx+8]
	mov	edx,dword [ecx+8]
	mov	esi,dword [edx+24]
	shl	esi,1
	mov	edx,dword [ebx+8]
	fld	dword [edx+8+28]
	fstp	dword [eax+esi*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [eax+esi*4+28]
	fstp	dword [edx+4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	mov	edi,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	mov	edi,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [edi+esi*4+28]
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [eax+esi*4+28]
	fstp	dword [edx+8+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	edx,dword [eax+24]
	add	edx,2
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	edx,eax
	add	edx,2
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,2
	fld	dword [eax+esi*4+28]
	fstp	dword [edi+edx*4+28]
	mov	eax,dword [ecx+8]
	fldz
	fstp	dword [eax+12+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fldz
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fldz
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld1
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	esi,dword [ebx+8]
	fld	dword [esi+28]
	fmul	st0,st3
	mov	esi,dword [ebx+8]
	fld	dword [esi+4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	esi,dword [ebx+8]
	fld	dword [esi+8+28]
	fmul	st0,st2
	faddp	st1,st0
	fchs
	fstp	dword [edx+eax*4+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [edx+esi*4+28]
	fmul	st0,st3
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [edx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [edx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	fchs
	fstp	dword [edi+eax*4+28]
	mov	edi,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [edx+esi*4+28]
	fmulp	st3,st0
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	add	esi,1
	fld	dword [edx+esi*4+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st2,st0
	mov	edx,dword [ebx+8]
	mov	ebx,dword [ebx+8]
	mov	ebx,dword [ebx+24]
	shl	ebx,1
	add	ebx,2
	fld	dword [edx+ebx*4+28]
	fmulp	st1,st0
	faddp	st1,st0
	fchs
	fstp	dword [edi+eax*4+28]
	mov	eax,ecx
	jmp	_3402
_3402:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Translate:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	mov	ebx,dword [eax+8]
	fld	dword [ebx+28]
	fmul	st0,st3
	mov	ebx,dword [eax+8]
	mov	esi,dword [eax+8]
	mov	esi,dword [esi+24]
	fld	dword [ebx+esi*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ebx,dword [eax+8]
	mov	esi,dword [eax+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ebx+esi*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	ebx,dword [eax+8]
	mov	esi,dword [eax+8]
	mov	esi,dword [esi+24]
	imul	esi,3
	fadd	dword [ebx+esi*4+28]
	fstp	dword [ecx+edx*4+28]
	mov	esi,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	ebx,dword [edx+24]
	imul	ebx,3
	add	ebx,1
	mov	edx,dword [eax+8]
	fld	dword [edx+4+28]
	fmul	st0,st3
	mov	edx,dword [eax+8]
	mov	ecx,dword [eax+8]
	mov	ecx,dword [ecx+24]
	add	ecx,1
	fld	dword [edx+ecx*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	add	edx,1
	fld	dword [ecx+edx*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,1
	fadd	dword [ecx+edx*4+28]
	fstp	dword [esi+ebx*4+28]
	mov	ebx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	ecx,dword [edx+24]
	imul	ecx,3
	add	ecx,2
	mov	edx,dword [eax+8]
	fld	dword [edx+8+28]
	fmulp	st3,st0
	mov	edx,dword [eax+8]
	mov	esi,dword [eax+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [edx+esi*4+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st2,st0
	mov	esi,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	add	edx,2
	fld	dword [esi+edx*4+28]
	fmulp	st1,st0
	faddp	st1,st0
	mov	edx,dword [eax+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fadd	dword [edx+eax*4+28]
	fstp	dword [ebx+ecx*4+28]
	mov	eax,0
	jmp	_3408
_3408:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Rotate:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	fld	st2
	fchs
	fmulp	st1,st0
	faddp	st1,st0
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fld	st3
	fchs
	fmulp	st1,st0
	faddp	st1,st0
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fld	st4
	fchs
	fmulp	st1,st0
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+24]
	shl	edx,1
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fmul	st0,st4
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [eax+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ecx+edx*4+28]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	ecx,dword [eax+24]
	shl	ecx,1
	add	ecx,1
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fmul	st0,st4
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [esi+ecx*4+28]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	ecx,dword [eax+24]
	shl	ecx,1
	add	ecx,2
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fmulp	st4,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	faddp	st4,st0
	fxch	st3
	fstp	dword [esi+ecx*4+28]
	mov	eax,dword [ebx+8]
	fxch	st1
	fstp	dword [eax+28]
	mov	eax,dword [ebx+8]
	fstp	dword [eax+4+28]
	mov	eax,dword [ebx+8]
	fstp	dword [eax+8+28]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fld	st4
	fchs
	fmulp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	ecx,dword [eax+24]
	shl	ecx,1
	add	ecx,1
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fld	dword [eax+edx*4+28]
	fld	st4
	fchs
	fmulp	st1,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [esi+ecx*4+28]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	ecx,dword [eax+24]
	shl	ecx,1
	add	ecx,2
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	add	edx,2
	fld	dword [eax+edx*4+28]
	fxch	st4
	fchs
	fmulp	st4,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	faddp	st4,st0
	fxch	st3
	fstp	dword [esi+ecx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	fxch	st1
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fstp	dword [edx+eax*4+28]
	fld	dword [ebp+20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp+20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	fld	dword [edx+eax*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fld	st4
	fchs
	fmulp	st1,st0
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [eax+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+24]
	add	edx,1
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fld	st4
	fchs
	fmulp	st1,st0
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [eax+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+24]
	add	edx,2
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fxch	st4
	fchs
	fmulp	st4,st0
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [eax+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st4,st0
	fxch	st3
	fstp	dword [ecx+edx*4+28]
	mov	eax,dword [ebx+8]
	fxch	st1
	fstp	dword [eax+28]
	mov	eax,dword [ebx+8]
	fstp	dword [eax+4+28]
	mov	eax,dword [ebx+8]
	fstp	dword [eax+8+28]
	mov	eax,0
	jmp	_3414
_3414:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_RotatePitch:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [ecx+esi*4+28]
	fld	st4
	fchs
	fmulp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [ecx+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	ecx,dword [eax+24]
	shl	ecx,1
	add	ecx,1
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fld	dword [eax+edx*4+28]
	fld	st4
	fchs
	fmulp	st1,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [esi+ecx*4+28]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	ecx,dword [eax+24]
	shl	ecx,1
	add	ecx,2
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	add	edx,2
	fld	dword [eax+edx*4+28]
	fxch	st4
	fchs
	fmulp	st4,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	faddp	st4,st0
	fxch	st3
	fstp	dword [esi+ecx*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	fxch	st1
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fstp	dword [edx+eax*4+28]
	mov	eax,0
	jmp	_3418
_3418:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_RotateYaw:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	fld	st2
	fchs
	fmulp	st1,st0
	faddp	st1,st0
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fld	st3
	fchs
	fmulp	st1,st0
	faddp	st1,st0
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fld	st4
	fchs
	fmulp	st1,st0
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+24]
	shl	edx,1
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fmul	st0,st4
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [eax+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ecx+edx*4+28]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	ecx,dword [eax+24]
	shl	ecx,1
	add	ecx,1
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fmul	st0,st4
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [esi+ecx*4+28]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	ecx,dword [eax+24]
	shl	ecx,1
	add	ecx,2
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fmulp	st4,st0
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	dword [ebp-4]
	faddp	st4,st0
	fxch	st3
	fstp	dword [esi+ecx*4+28]
	mov	eax,dword [ebx+8]
	fxch	st1
	fstp	dword [eax+28]
	mov	eax,dword [ebx+8]
	fstp	dword [eax+4+28]
	mov	eax,dword [ebx+8]
	fstp	dword [eax+8+28]
	mov	eax,0
	jmp	_3422
_3422:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_RotateRoll:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	fld	dword [edx+eax*4+28]
	fmul	st0,st2
	faddp	st1,st0
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [edx+eax*4+28]
	fmul	st0,st3
	faddp	st1,st0
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fmul	dword [ebp-4]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [edx+eax*4+28]
	fmul	st0,st4
	faddp	st1,st0
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebx+8]
	fld	dword [eax+28]
	fld	st4
	fchs
	fmulp	st1,st0
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	fld	dword [eax+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+24]
	add	edx,1
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	fld	st4
	fchs
	fmulp	st1,st0
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [eax+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ecx+edx*4+28]
	mov	ecx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+24]
	add	edx,2
	mov	eax,dword [ebx+8]
	fld	dword [eax+8+28]
	fxch	st4
	fchs
	fmulp	st4,st0
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [eax+esi*4+28]
	fmul	dword [ebp-4]
	faddp	st4,st0
	fxch	st3
	fstp	dword [ecx+edx*4+28]
	mov	eax,dword [ebx+8]
	fxch	st1
	fstp	dword [eax+28]
	mov	eax,dword [ebx+8]
	fstp	dword [eax+4+28]
	mov	eax,dword [ebx+8]
	fstp	dword [eax+8+28]
	mov	eax,0
	jmp	_3426
_3426:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_FromQuaternion:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	mov	edx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+24]
	fld	dword [_13068]
	fmul	st0,st3
	fld	dword [_13069]
	fmul	st0,st3
	fld	dword [_13070]
	fmul	dword [ebp+20]
	fld	st2
	fmul	st0,st4
	fstp	dword [ebp-16]
	fld	st1
	fmul	st0,st4
	fstp	dword [ebp-12]
	fld	st0
	fmulp	st4,st0
	fxch	st3
	fstp	dword [ebp-8]
	fxch	st1
	fmul	st0,st4
	fld	st1
	fmul	st0,st5
	fld	st3
	fmulp	st6,st0
	fxch	st2
	fmul	st0,st4
	fld	st3
	fmulp	st5,st0
	fxch	st4
	fstp	dword [ebp-4]
	fxch	st2
	fmul	dword [ebp+20]
	mov	eax,dword [edx+8]
	fld	dword [_13071]
	fld	st4
	fadd	st0,st2
	fsubp	st1,st0
	fstp	dword [eax+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	st1
	fsub	dword [ebp-8]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	st4
	fadd	dword [ebp-12]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	eax,dword [edx+8]
	fxch	st1
	fadd	dword [ebp-8]
	fstp	dword [eax+4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [_13072]
	fld	st2
	faddp	st2,st0
	fsubrp	st1,st0
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebp-4]
	fsub	dword [ebp-16]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	eax,dword [edx+8]
	fxch	st2
	fsub	dword [ebp-12]
	fstp	dword [eax+8+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebp-4]
	fadd	dword [ebp-16]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [_13073]
	fxch	st1
	faddp	st2,st0
	fsubrp	st1,st0
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	eax,dword [edx+8]
	fldz
	fstp	dword [eax+12+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fldz
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld1
	fstp	dword [ecx+eax*4+28]
	mov	eax,0
	jmp	_3433
_3433:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Multiply:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	mov	edx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	eax,dword [edx+8]
	fld	dword [eax+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+8+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+12+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+8+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+12+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+8+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+8+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+12+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+12+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+8+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+12+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-40]
	mov	eax,dword [edx+8]
	fld	dword [eax+8+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-36]
	mov	eax,dword [edx+8]
	fld	dword [eax+12+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-32]
	mov	eax,dword [edx+8]
	fld	dword [eax+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-28]
	mov	eax,dword [edx+8]
	fld	dword [eax+4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-24]
	mov	eax,dword [edx+8]
	fld	dword [eax+8+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-20]
	mov	eax,dword [edx+8]
	fld	dword [eax+12+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-16]
	mov	eax,dword [edx+8]
	fld	dword [eax+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-12]
	mov	eax,dword [edx+8]
	fld	dword [eax+4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-8]
	mov	eax,dword [edx+8]
	fld	dword [eax+8+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-4]
	mov	eax,dword [edx+8]
	fld	dword [eax+12+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [ebx+eax*4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fxch	st5
	fstp	dword [eax+28]
	mov	eax,dword [edx+8]
	fxch	st3
	fstp	dword [eax+4+28]
	mov	eax,dword [edx+8]
	fxch	st1
	fstp	dword [eax+8+28]
	mov	eax,dword [edx+8]
	fstp	dword [eax+12+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebp-40]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebp-36]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebp-32]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebp-28]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebp-24]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebp-20]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebp-16]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebp-12]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebp-8]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebp-4]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fstp	dword [ecx+eax*4+28]
	mov	eax,0
	jmp	_3437
_3437:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_TransformVec:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+20]
	mov	eax,dword [ebp+24]
	fld	dword [_13078]
	mov	edx,dword [esi+8]
	fld	dword [edx+12+28]
	mov	edx,dword [esi+8]
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+24]
	add	ecx,3
	fadd	dword [edx+ecx*4+28]
	mov	edx,dword [esi+8]
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+24]
	shl	ecx,1
	add	ecx,3
	fadd	dword [edx+ecx*4+28]
	mov	edx,dword [esi+8]
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+24]
	imul	ecx,3
	add	ecx,3
	fadd	dword [edx+ecx*4+28]
	fdivp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebx]
	fstp	dword [ebp-8]
	mov	edx,dword [ebp+16]
	fld	dword [edx]
	fstp	dword [ebp-4]
	fld	dword [edi]
	fchs
	fstp	dword [ebp-16]
	push	1
	push	0
	push	eax
	call	_bbIntMax
	add	esp,8
	push	eax
	call	_bbIntMin
	add	esp,8
	mov	edx,dword [esi+8]
	fld	dword [edx+28]
	fmul	dword [ebp-8]
	mov	edx,dword [esi+8]
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+24]
	fld	dword [edx+ecx*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	mov	edx,dword [esi+8]
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+24]
	shl	ecx,1
	fld	dword [edx+ecx*4+28]
	fmul	dword [ebp-16]
	faddp	st1,st0
	mov	edx,dword [esi+8]
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+24]
	imul	ecx,3
	fld	dword [edx+ecx*4+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmulp	st1,st0
	faddp	st1,st0
	fmul	dword [ebp-12]
	fstp	dword [ebx]
	mov	edx,dword [esi+8]
	fld	dword [edx+4+28]
	fmul	dword [ebp-8]
	mov	edx,dword [esi+8]
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+24]
	add	ecx,1
	fld	dword [edx+ecx*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	mov	ecx,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	add	edx,1
	fld	dword [ecx+edx*4+28]
	fmul	dword [ebp-16]
	faddp	st1,st0
	mov	ecx,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,1
	fld	dword [ecx+edx*4+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmulp	st1,st0
	faddp	st1,st0
	fmul	dword [ebp-12]
	mov	edx,dword [ebp+16]
	fstp	dword [edx]
	mov	edx,dword [esi+8]
	fld	dword [edx+8+28]
	fmul	dword [ebp-8]
	mov	edx,dword [esi+8]
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+24]
	add	ecx,2
	fld	dword [edx+ecx*4+28]
	fmul	dword [ebp-4]
	faddp	st1,st0
	mov	ecx,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	add	edx,2
	fld	dword [ecx+edx*4+28]
	fmul	dword [ebp-16]
	faddp	st1,st0
	mov	ecx,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	imul	edx,3
	add	edx,2
	fld	dword [ecx+edx*4+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmulp	st1,st0
	faddp	st1,st0
	fchs
	fmul	dword [ebp-12]
	fstp	dword [edi]
	mov	eax,0
	jmp	_3444
_3444:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Transpose:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	push	4
	push	4
	push	2
	push	_9828
	call	_bbArrayNew
	add	esp,16
	mov	dword [ebp-4],eax
	mov	edi,0
	jmp	_9830
_666:
	mov	eax,0
	jmp	_9831
_669:
	mov	edx,eax
	mov	ecx,dword [ebp-4]
	imul	edx,dword [ecx+24]
	mov	ebx,edx
	add	ebx,edi
	mov	edx,dword [ebp+8]
	mov	ecx,dword [edx+8]
	mov	edx,edi
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+8]
	imul	edx,dword [esi+24]
	add	edx,eax
	fld	dword [ecx+edx*4+28]
	mov	edx,dword [ebp-4]
	fstp	qword [edx+ebx*8+28]
_667:
	add	eax,1
_9831:
	cmp	eax,3
	jle	_669
_668:
_664:
	add	edi,1
_9830:
	cmp	edi,3
	jle	_666
_665:
	mov	edi,0
	jmp	_9832
_672:
	mov	eax,0
	jmp	_9833
_675:
	mov	edx,dword [ebp+8]
	mov	ecx,dword [edx+8]
	mov	edx,edi
	mov	ebx,dword [ebp+8]
	mov	ebx,dword [ebx+8]
	imul	edx,dword [ebx+24]
	add	edx,eax
	mov	ebx,edi
	mov	esi,ebx
	mov	ebx,dword [ebp-4]
	imul	esi,dword [ebx+24]
	mov	ebx,esi
	mov	esi,ebx
	add	esi,eax
	mov	ebx,dword [ebp-4]
	fld	qword [ebx+esi*8+28]
	fstp	dword [ecx+edx*4+28]
_673:
	add	eax,1
_9833:
	cmp	eax,3
	jle	_675
_674:
_670:
	add	edi,1
_9832:
	cmp	edi,3
	jle	_672
_671:
	mov	eax,0
	jmp	_3447
_3447:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_SetTranslate:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fxch	st2
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fstp	dword [ecx+eax*4+28]
	mov	eax,0
	jmp	_3453
_3453:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	fld	dword [edx+28]
	fmul	st0,st3
	fstp	dword [ecx+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	fld	dword [edx+4+28]
	fmul	st0,st3
	fstp	dword [ecx+4+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	fld	dword [edx+8+28]
	fmulp	st3,st0
	fxch	st2
	fstp	dword [ecx+8+28]
	mov	ebx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	ecx,dword [edx+24]
	mov	edx,dword [eax+8]
	mov	esi,dword [eax+8]
	mov	esi,dword [esi+24]
	fld	dword [edx+esi*4+28]
	fmul	st0,st1
	fstp	dword [ebx+ecx*4+28]
	mov	ebx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	ecx,dword [edx+24]
	add	ecx,1
	mov	edx,dword [eax+8]
	mov	esi,dword [eax+8]
	mov	esi,dword [esi+24]
	add	esi,1
	fld	dword [edx+esi*4+28]
	fmul	st0,st1
	fstp	dword [ebx+ecx*4+28]
	mov	ebx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	ecx,dword [edx+24]
	add	ecx,2
	mov	edx,dword [eax+8]
	mov	esi,dword [eax+8]
	mov	esi,dword [esi+24]
	add	esi,2
	fld	dword [edx+esi*4+28]
	fmulp	st1,st0
	fstp	dword [ebx+ecx*4+28]
	mov	ebx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	ecx,dword [edx+24]
	shl	ecx,1
	mov	edx,dword [eax+8]
	mov	esi,dword [eax+8]
	mov	esi,dword [esi+24]
	shl	esi,1
	fld	dword [edx+esi*4+28]
	fmul	st0,st1
	fstp	dword [ebx+ecx*4+28]
	mov	esi,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	ebx,dword [edx+24]
	shl	ebx,1
	add	ebx,1
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	add	edx,1
	fld	dword [ecx+edx*4+28]
	fmul	st0,st1
	fstp	dword [esi+ebx*4+28]
	mov	ecx,dword [eax+8]
	mov	edx,dword [eax+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	add	edx,2
	mov	ebx,dword [eax+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	fmulp	st1,st0
	fstp	dword [ecx+edx*4+28]
	mov	eax,0
	jmp	_3459
_3459:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_Multiply2:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	mov	edx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	eax,dword [edx+8]
	fld	dword [eax+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+28]
	mov	eax,dword [edx+8]
	fld	dword [eax+4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+8+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+12+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+4+28]
	mov	eax,dword [edx+8]
	fld	dword [eax+4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+8+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+12+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+8+28]
	mov	eax,dword [edx+8]
	fld	dword [eax+4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+8+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+12+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+12+28]
	mov	eax,dword [edx+8]
	fld	dword [eax+4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+8+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fld	dword [eax+12+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-40]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+8+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-36]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+12+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-32]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-24]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+8+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-20]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+12+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-16]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-12]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+4+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-8]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+8+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	fstp	dword [ebp-4]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ecx+8]
	fmul	dword [eax+12+28]
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	ebx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld	dword [ebx+eax*4+28]
	mov	ebx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fmul	dword [ebx+eax*4+28]
	faddp	st1,st0
	mov	eax,dword [edx+8]
	fxch	st5
	fstp	dword [eax+28]
	mov	eax,dword [edx+8]
	fxch	st3
	fstp	dword [eax+4+28]
	mov	eax,dword [edx+8]
	fxch	st1
	fstp	dword [eax+8+28]
	mov	eax,dword [edx+8]
	fstp	dword [eax+12+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [ebp-40]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [ebp-36]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fld	dword [ebp-32]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ebp-28]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ebp-24]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebp-20]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fld	dword [ebp-16]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fld	dword [ebp-12]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fld	dword [ebp-8]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fld	dword [ebp-4]
	fstp	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fstp	dword [ecx+eax*4+28]
	mov	eax,0
	jmp	_3463
_3463:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_GetPitch:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [ecx+eax*4+28]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [ecx+eax*4+28]
	fstp	dword [ebp-4]
	mov	ecx,dword [edx+8]
	mov	eax,dword [edx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ecx+eax*4+28]
	fxch	st1
	fmul	st0,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fchs
	jmp	_3466
_3466:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_GetYaw:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	sub	esp,8
	fstp	qword [esp]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	jmp	_3469
_3469:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_GetRoll:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	eax,dword [ecx+8]
	fld	dword [eax+4+28]
	mov	edx,dword [ecx+8]
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [edx+eax*4+28]
	sub	esp,8
	fstp	qword [esp]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	jmp	_3472
_3472:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_FromToRotation:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	push	3
	push	_9865
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	push	3
	push	_9867
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	fld	dword [ebp+16]
	fmul	dword [ebp+32]
	fld	dword [ebp+20]
	fmul	dword [ebp+28]
	fsubp	st1,st0
	mov	eax,dword [ebp-4]
	fstp	dword [eax+24]
	fld	dword [ebp+20]
	fmul	dword [ebp+24]
	fld	dword [ebp+12]
	fmul	dword [ebp+32]
	fsubp	st1,st0
	mov	eax,dword [ebp-4]
	fstp	dword [eax+4+24]
	fld	dword [ebp+12]
	fmul	dword [ebp+28]
	fld	dword [ebp+16]
	fmul	dword [ebp+24]
	fsubp	st1,st0
	mov	eax,dword [ebp-4]
	fstp	dword [eax+8+24]
	fld	dword [ebp+12]
	fmul	dword [ebp+24]
	fld	dword [ebp+16]
	fmul	dword [ebp+28]
	faddp	st1,st0
	fld	dword [ebp+20]
	fmul	dword [ebp+32]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_13117]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9879
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-20]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-16]
	fld	dword [ebp+20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-16]
	fld	dword [ebp-20]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9880
	fld	dword [ebp-20]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9881
	fld	dword [_13118]
	fstp	dword [ebp-20]
	fld	dword [_13119]
	fstp	dword [ebp-16]
	fld	dword [_13120]
	jmp	_9882
_9881:
	fld	dword [_13121]
	fld	dword [_13122]
	fstp	dword [ebp-20]
	fld	dword [_13123]
	fstp	dword [ebp-16]
_9882:
	jmp	_9883
_9880:
	fld	dword [ebp-16]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9884
	fld	dword [_13124]
	fstp	dword [ebp-16]
	fld	dword [_13125]
	fstp	dword [ebp-20]
	fld	dword [_13126]
	jmp	_9885
_9884:
	fld	dword [_13127]
	fld	dword [_13128]
	fstp	dword [ebp-20]
	fld	dword [_13129]
	fstp	dword [ebp-16]
_9885:
_9883:
	fld	dword [ebp-20]
	fsub	dword [ebp+12]
	mov	eax,dword [ebp-12]
	fstp	dword [eax+24]
	fld	dword [ebp-16]
	fsub	dword [ebp+16]
	mov	eax,dword [ebp-12]
	fstp	dword [eax+4+24]
	fld	st0
	fsub	dword [ebp+20]
	mov	eax,dword [ebp-12]
	fstp	dword [eax+8+24]
	fld	dword [ebp-20]
	fsub	dword [ebp+24]
	mov	eax,dword [ebp-4]
	fstp	dword [eax+24]
	fld	dword [ebp-16]
	fsub	dword [ebp+28]
	mov	eax,dword [ebp-4]
	fstp	dword [eax+4+24]
	fsub	dword [ebp+32]
	mov	eax,dword [ebp-4]
	fstp	dword [eax+8+24]
	mov	eax,dword [ebp-12]
	fld	dword [eax+24]
	mov	eax,dword [ebp-12]
	fmul	dword [eax+24]
	mov	eax,dword [ebp-12]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp-12]
	fmul	dword [eax+4+24]
	faddp	st1,st0
	mov	eax,dword [ebp-12]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp-12]
	fmul	dword [eax+8+24]
	faddp	st1,st0
	mov	eax,dword [ebp-4]
	fld	dword [eax+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24]
	mov	eax,dword [ebp-4]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+4+24]
	faddp	st1,st0
	mov	eax,dword [ebp-4]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+8+24]
	faddp	st1,st0
	mov	eax,dword [ebp-12]
	fld	dword [eax+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24]
	mov	eax,dword [ebp-12]
	fld	dword [eax+4+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+4+24]
	faddp	st1,st0
	mov	eax,dword [ebp-12]
	fld	dword [eax+8+24]
	mov	eax,dword [ebp-4]
	fmul	dword [eax+8+24]
	faddp	st1,st0
	fldz
	fxch	st3
	fucom	st3
	fxch	st3
	fstp	st0
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_13145
	fxch	st2
	fstp	st0
	jmp	_9886
_13145:
	fld	dword [_13130]
	fdivrp	st3,st0
	jmp	_9887
_9886:
	fld	dword [_13131]
	fxch	st2
_9887:
	fldz
	fxch	st2
	fucom	st2
	fxch	st2
	fstp	st0
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_13146
	fxch	st1
	fstp	st0
	jmp	_9888
_13146:
	fld	dword [_13132]
	fdivrp	st2,st0
	fxch	st1
	jmp	_9889
_9888:
	fld	dword [_13133]
_9889:
	fld	st2
	fmul	st0,st1
	fmulp	st2,st0
	mov	ebx,0
	jmp	_9890
_678:
	mov	ecx,0
	jmp	_9891
_681:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,ecx
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+8]
	imul	eax,dword [esi+24]
	add	eax,ebx
	fld	st2
	fchs
	mov	esi,dword [ebp-12]
	fmul	dword [esi+ebx*4+24]
	mov	esi,dword [ebp-12]
	fmul	dword [esi+ecx*4+24]
	fld	st1
	mov	esi,dword [ebp-4]
	fmul	dword [esi+ebx*4+24]
	mov	esi,dword [ebp-4]
	fmul	dword [esi+ecx*4+24]
	fsubp	st1,st0
	fld	st2
	mov	esi,dword [ebp-4]
	fmul	dword [esi+ebx*4+24]
	mov	esi,dword [ebp-12]
	fmul	dword [esi+ecx*4+24]
	faddp	st1,st0
	fstp	dword [edx+eax*4+28]
_679:
	add	ecx,1
_9891:
	cmp	ecx,2
	jle	_681
_680:
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+8]
	mov	eax,ebx
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+8]
	imul	eax,dword [edx+24]
	mov	edx,eax
	add	edx,ebx
	mov	eax,dword [ebp+8]
	mov	edi,dword [eax+8]
	mov	eax,ebx
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+8]
	imul	eax,dword [esi+24]
	add	eax,ebx
	fld	dword [edi+eax*4+28]
	fadd	dword [_13134]
	fstp	dword [ecx+edx*4+28]
_676:
	add	ebx,1
_9890:
	cmp	ebx,2
	jle	_678
	fstp	st0
	fstp	st0
	fstp	st0
_677:
	jmp	_9892
_9879:
	fld	dword [_13135]
	fld	dword [_13136]
	fadd	dword [ebp-8]
	fdivp	st1,st0
	fld	st0
	mov	eax,dword [ebp-4]
	fmul	dword [eax+24]
	fld	st1
	mov	eax,dword [ebp-4]
	fmul	dword [eax+8+24]
	fld	st1
	mov	eax,dword [ebp-4]
	fmul	dword [eax+4+24]
	fld	st2
	mov	eax,dword [ebp-4]
	fmul	dword [eax+8+24]
	fld	st2
	mov	eax,dword [ebp-4]
	fmul	dword [eax+4+24]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	fld	dword [ebp-8]
	mov	eax,dword [ebp-4]
	fxch	st5
	fmul	dword [eax+24]
	faddp	st5,st0
	fxch	st4
	fstp	dword [edx+28]
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+24]
	fld	st1
	mov	eax,dword [ebp-4]
	fsub	dword [eax+8+24]
	fstp	dword [ecx+edx*4+28]
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+24]
	shl	edx,1
	fld	st0
	mov	eax,dword [ebp-4]
	fadd	dword [eax+4+24]
	fstp	dword [ecx+edx*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-4]
	fxch	st1
	fadd	dword [eax+8+24]
	fstp	dword [edx+4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+8]
	mov	ecx,dword [edx+24]
	add	ecx,1
	fld	dword [ebp-8]
	mov	edx,dword [ebp-4]
	fxch	st4
	fmul	dword [edx+4+24]
	mov	edx,dword [ebp-4]
	fmul	dword [edx+4+24]
	faddp	st4,st0
	fxch	st3
	fstp	dword [eax+ecx*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	st1
	mov	ecx,dword [ebp-4]
	fsub	dword [ecx+24]
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-4]
	fxch	st2
	fsub	dword [eax+4+24]
	fstp	dword [edx+8+28]
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+24]
	add	edx,2
	mov	eax,dword [ebp-4]
	fadd	dword [eax+24]
	fstp	dword [ecx+edx*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [ebp-8]
	mov	ecx,dword [ebp-4]
	fxch	st1
	fmul	dword [ecx+8+24]
	faddp	st1,st0
	fstp	dword [edx+eax*4+28]
_9892:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	fldz
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,1
	fldz
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,2
	fldz
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	fldz
	fstp	dword [eax+12+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	add	eax,3
	fldz
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,3
	fldz
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld1
	fstp	dword [edx+eax*4+28]
	mov	eax,_bbNullObject
	jmp	_3481
_3481:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TMatrix_ToQuat:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+20]
	mov	edi,dword [ebp+24]
	mov	eax,dword [esi+8]
	fld	dword [eax+28]
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fadd	dword [eax+edx*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fadd	dword [edx+eax*4+28]
	fadd	dword [_13147]
	fld	dword [_13149]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13167
	fstp	st0
	jmp	_9895
_13167:
	fld	qword [_13150]
	fstp	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-8]
	fdivrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fld	dword [_13151]
	fdiv	st0,st1
	fstp	dword [edi]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fsub	dword [edx+eax*4+28]
	fmul	st0,st1
	mov	eax,dword [ebp+12]
	fstp	dword [eax]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	mov	eax,dword [esi+8]
	fsub	dword [eax+8+28]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax]
	mov	eax,dword [esi+8]
	fld	dword [eax+4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	fsub	dword [edx+eax*4+28]
	fmulp	st1,st0
	fstp	dword [ebx]
	jmp	_9896
_9895:
	mov	eax,dword [esi+8]
	fld	dword [eax+28]
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fld	dword [eax+edx*4+28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_9897
	mov	eax,dword [esi+8]
	fld	dword [eax+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_9897:
	cmp	eax,0
	je	_9899
	fld	qword [_13152]
	fstp	qword [ebp-16]
	fld	dword [_13153]
	mov	eax,dword [esi+8]
	fadd	dword [eax+28]
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fsub	dword [eax+edx*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fsub	dword [edx+eax*4+28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	add	edx,2
	fld	dword [eax+edx*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fsub	dword [edx+eax*4+28]
	fdiv	st0,st1
	fstp	dword [edi]
	fld	dword [_13154]
	fmul	st0,st1
	mov	eax,dword [ebp+12]
	fstp	dword [eax]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	fld	dword [edx+eax*4+28]
	mov	eax,dword [esi+8]
	fadd	dword [eax+4+28]
	fdiv	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	mov	eax,dword [esi+8]
	fadd	dword [eax+8+28]
	fdivrp	st1,st0
	fstp	dword [ebx]
	jmp	_9900
_9899:
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fld	dword [eax+edx*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9901
	fld	qword [_13155]
	fstp	qword [ebp-24]
	fld	dword [_13156]
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fadd	dword [eax+edx*4+28]
	mov	eax,dword [esi+8]
	fsub	dword [eax+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fsub	dword [edx+eax*4+28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	shl	edx,1
	fld	dword [eax+edx*4+28]
	mov	eax,dword [esi+8]
	fsub	dword [eax+8+28]
	fdiv	st0,st1
	fstp	dword [edi]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	fld	dword [edx+eax*4+28]
	mov	eax,dword [esi+8]
	fadd	dword [eax+4+28]
	fdiv	st0,st1
	mov	eax,dword [ebp+12]
	fstp	dword [eax]
	fld	dword [_13157]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fadd	dword [edx+eax*4+28]
	fdivrp	st1,st0
	fstp	dword [ebx]
	jmp	_9902
_9901:
	fld	qword [_13158]
	fstp	qword [ebp-32]
	fld	dword [_13159]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fadd	dword [edx+eax*4+28]
	mov	eax,dword [esi+8]
	fsub	dword [eax+28]
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	add	edx,1
	fsub	dword [eax+edx*4+28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-32]
	fmulp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	mov	eax,dword [esi+8]
	fld	dword [eax+4+28]
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+24]
	fsub	dword [eax+edx*4+28]
	fdiv	st0,st1
	fstp	dword [edi]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	mov	eax,dword [esi+8]
	fadd	dword [eax+8+28]
	fdiv	st0,st1
	mov	eax,dword [ebp+12]
	fstp	dword [eax]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fadd	dword [edx+eax*4+28]
	fdiv	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax]
	fld	dword [_13160]
	fmulp	st1,st0
	fstp	dword [ebx]
_9902:
_9900:
_9896:
	mov	eax,0
	jmp	_3488
_3488:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Magnitude:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st2
	fmul	st0,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	jmp	_3493
_3493:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Quaternion_FromAngleAxis:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+8]
	mov	esi,dword [ebp+24]
	mov	ebx,dword [ebp+28]
	mov	edi,dword [ebp+32]
	fld	dword [_13172]
	fmulp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	mov	eax,dword [ebp+36]
	fstp	dword [eax]
	fld	dword [ebp-4]
	fmul	dword [ebp+12]
	fstp	dword [esi]
	fld	dword [ebp-4]
	fmul	dword [ebp+16]
	fstp	dword [ebx]
	fld	dword [ebp-4]
	fmul	dword [ebp+20]
	fstp	dword [edi]
	mov	eax,0
	jmp	_3503
_3503:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Quaternion_MultiplyQuat:
	push	ebp
	mov	ebp,esp
	push	ebx
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+20]
	fld	dword [ebp+32]
	fld	dword [ebp+36]
	mov	ebx,dword [ebp+40]
	mov	ecx,dword [ebp+44]
	mov	edx,dword [ebp+48]
	mov	eax,dword [ebp+52]
	fld	st2
	fmul	st0,st1
	fld	st5
	fmul	dword [ebp+24]
	fsubp	st1,st0
	fld	st4
	fmul	dword [ebp+28]
	fsubp	st1,st0
	fld	dword [ebp+16]
	fmul	st0,st3
	fsubp	st1,st0
	fstp	dword [eax]
	fld	st2
	fmul	dword [ebp+24]
	fld	st5
	fmul	st0,st2
	fsubp	st1,st0
	fld	st4
	fmul	st0,st3
	fsubp	st1,st0
	fld	dword [ebp+16]
	fmul	dword [ebp+28]
	fsubp	st1,st0
	fstp	dword [ebx]
	fld	st2
	fmul	dword [ebp+28]
	fld	st4
	fmul	st0,st2
	fsubp	st1,st0
	fld	dword [ebp+16]
	fmul	dword [ebp+24]
	fsubp	st1,st0
	fld	st5
	fmul	st0,st3
	fsubp	st1,st0
	fstp	dword [ecx]
	fxch	st1
	fmulp	st2,st0
	fld	dword [ebp+16]
	fmulp	st1,st0
	fsubp	st1,st0
	fxch	st2
	fmul	dword [ebp+28]
	fsubp	st2,st0
	fmul	dword [ebp+24]
	fsubp	st1,st0
	fstp	dword [edx]
	mov	eax,0
	jmp	_3517
_3517:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_InterpolateMatrix:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	call	dword [_sidesign_minib3d_TMatrix+48]
	mov	ebx,eax
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+132]
	add	esp,20
	fld	dword [ebp-16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_9912
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	jmp	_3521
_9912:
	fld	dword [ebp-16]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_9914
	fld	dword [ebp-4]
	fmul	dword [ebp-4]
	fld	dword [ebp-8]
	fmul	dword [ebp-8]
	faddp	st1,st0
	fld	dword [ebp-12]
	fmul	dword [ebp-12]
	faddp	st1,st0
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	faddp	st1,st0
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_13193
	fstp	st0
	jmp	_9915
_13193:
	fld	dword [ebp-4]
	fdiv	st0,st1
	fstp	dword [ebp-4]
	fld	dword [ebp-8]
	fdiv	st0,st1
	fstp	dword [ebp-8]
	fld	dword [ebp-12]
	fdiv	st0,st1
	fstp	dword [ebp-12]
	fld	dword [ebp-16]
	fdivrp	st1,st0
	fstp	dword [ebp-16]
_9915:
_9914:
	fld	qword [_13183]
	fstp	qword [ebp-24]
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbACos
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	fstp	dword [ebp-28]
	fld	dword [_13184]
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	dword [_13185]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9921
	fstp	st0
	fld	dword [ebp-4]
	fld	dword [ebp-8]
	fld	dword [ebp-12]
	fxch	st2
	fxch	st1
	jmp	_9922
_9921:
	fld	dword [ebp-4]
	fdiv	st0,st1
	fld	dword [ebp-8]
	fdiv	st0,st2
	fld	dword [ebp-12]
	fdivrp	st3,st0
_9922:
	fld	dword [ebp-28]
	fmul	dword [ebp+12]
	fstp	dword [ebp-28]
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	sub	esp,4
	fxch	st2
	fstp	dword [esp]
	sub	esp,4
	fxch	st1
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-28]
	call	_sidesign_minib3d_Quaternion_FromAngleAxis
	add	esp,32
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,20
	mov	eax,ebx
	jmp	_3521
_3521:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TQuaternion_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TQuaternion
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	xor	eax,eax
	cmp	eax,0
	je	_9924
	push	_682
	call	_brl_blitz_DebugLog
	add	esp,4
_9924:
	mov	eax,0
	jmp	_3524
_3524:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TQuaternion_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	xor	eax,eax
	cmp	eax,0
	je	_9925
	push	_683
	call	_brl_blitz_DebugLog
	add	esp,4
_9925:
_3527:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_9926
_9926:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TQuaternion_QuatToMat:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+24]
	push	4
	push	_9927
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebp+8]
	fstp	dword [eax+24]
	fld	dword [ebp+12]
	fstp	dword [eax+4+24]
	fld	dword [ebp+16]
	fstp	dword [eax+8+24]
	fld	dword [ebp+20]
	fstp	dword [eax+12+24]
	fld	dword [eax+4+24]
	fmul	dword [eax+4+24]
	fld	dword [eax+8+24]
	fmul	dword [eax+8+24]
	fstp	dword [ebp-20]
	fld	dword [eax+12+24]
	fmul	dword [eax+12+24]
	fstp	dword [ebp-8]
	fld	dword [eax+4+24]
	fmul	dword [eax+8+24]
	fstp	dword [ebp-4]
	fld	dword [eax+4+24]
	fmul	dword [eax+12+24]
	fstp	dword [ebp-12]
	fld	dword [eax+8+24]
	fmul	dword [eax+12+24]
	fld	dword [eax+24]
	fmul	dword [eax+4+24]
	fld	dword [eax+24]
	fmul	dword [eax+8+24]
	fstp	dword [ebp-16]
	fld	dword [eax+24]
	fmul	dword [eax+12+24]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	fld	dword [_13200]
	fld	dword [_13201]
	fld	dword [ebp-20]
	fadd	dword [ebp-8]
	fmulp	st1,st0
	fsubp	st1,st0
	fstp	dword [eax+28]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	fld	dword [_13202]
	fld	dword [ebp-4]
	fsub	st0,st2
	fmulp	st1,st0
	fstp	dword [eax+4+28]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	fld	dword [_13203]
	fld	dword [ebp-12]
	fadd	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [eax+8+28]
	mov	eax,dword [ebx]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	fld	dword [_13204]
	fld	dword [ebp-4]
	faddp	st2,st0
	fmulp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [_13205]
	fld	dword [_13206]
	fld	st4
	fadd	dword [ebp-8]
	fmulp	st1,st0
	fsubp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [_13207]
	fld	st2
	fsub	st0,st2
	fmulp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [_13208]
	fld	dword [ebp-12]
	fsub	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [_13209]
	fxch	st1
	faddp	st2,st0
	fmulp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [_13210]
	fld	dword [_13211]
	fxch	st2
	fadd	dword [ebp-20]
	fmulp	st2,st0
	fsubrp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	eax,dword [ebx]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebx]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld1
	fstp	dword [edx+eax*4+28]
	mov	edi,0
	jmp	_9939
_686:
	mov	edx,0
	jmp	_9941
_689:
	mov	eax,dword [ebx]
	mov	ecx,dword [eax+8]
	mov	eax,edx
	mov	esi,dword [ebx]
	mov	esi,dword [esi+8]
	imul	eax,dword [esi+24]
	add	eax,edi
	fld	dword [ecx+eax*4+28]
	fld	dword [_13212]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_9942
	fld	dword [_13213]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_9942:
	cmp	eax,0
	je	_9944
	fstp	st0
	fld	dword [_13214]
_9944:
	mov	eax,dword [ebx]
	mov	ecx,dword [eax+8]
	mov	eax,edx
	mov	esi,dword [ebx]
	mov	esi,dword [esi+8]
	imul	eax,dword [esi+24]
	add	eax,edi
	fstp	dword [ecx+eax*4+28]
_687:
	add	edx,1
_9941:
	cmp	edx,3
	jle	_689
_688:
_684:
	add	edi,1
_9939:
	cmp	edi,3
	jle	_686
_685:
	mov	eax,0
	jmp	_3534
_3534:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TQuaternion_QuatToEuler:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	push	4
	push	_9945
	call	_bbArrayNew1D
	add	esp,8
	fld	dword [ebp+8]
	fstp	dword [eax+24]
	fld	dword [ebp+12]
	fstp	dword [eax+4+24]
	fld	dword [ebp+16]
	fstp	dword [eax+8+24]
	fld	dword [ebp+20]
	fstp	dword [eax+12+24]
	fld	dword [eax+4+24]
	fmul	dword [eax+4+24]
	fstp	dword [ebp-4]
	fld	dword [eax+8+24]
	fmul	dword [eax+8+24]
	fstp	dword [ebp-36]
	fld	dword [eax+12+24]
	fmul	dword [eax+12+24]
	fstp	dword [ebp-28]
	fld	dword [eax+4+24]
	fmul	dword [eax+8+24]
	fstp	dword [ebp-20]
	fld	dword [eax+4+24]
	fmul	dword [eax+12+24]
	fstp	dword [ebp-12]
	fld	dword [eax+8+24]
	fmul	dword [eax+12+24]
	fstp	dword [ebp-24]
	fld	dword [eax+24]
	fmul	dword [eax+4+24]
	fstp	dword [ebp-8]
	fld	dword [eax+24]
	fmul	dword [eax+8+24]
	fstp	dword [ebp-32]
	fld	dword [eax+24]
	fmul	dword [eax+12+24]
	fstp	dword [ebp-16]
	push	_sidesign_minib3d_TMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebx+8]
	fld	dword [_13219]
	fld	dword [_13220]
	fld	dword [ebp-36]
	fadd	dword [ebp-28]
	fmulp	st1,st0
	fsubp	st1,st0
	fstp	dword [eax+28]
	mov	eax,dword [ebx+8]
	fld	dword [_13221]
	fld	dword [ebp-20]
	fsub	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [eax+4+28]
	mov	eax,dword [ebx+8]
	fld	dword [_13222]
	fld	dword [ebp-12]
	fadd	dword [ebp-32]
	fmulp	st1,st0
	fstp	dword [eax+8+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	fld	dword [_13223]
	fld	dword [ebp-20]
	fadd	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [_13224]
	fld	dword [_13225]
	fld	dword [ebp-4]
	fadd	dword [ebp-28]
	fmulp	st1,st0
	fsubp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,2
	fld	dword [_13226]
	fld	dword [ebp-24]
	fsub	dword [ebp-8]
	fmulp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [_13227]
	fld	dword [ebp-12]
	fsub	dword [ebp-32]
	fmulp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [_13228]
	fld	dword [ebp-24]
	fadd	dword [ebp-8]
	fmulp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [_13229]
	fld	dword [_13230]
	fld	dword [ebp-4]
	fadd	dword [ebp-36]
	fmulp	st1,st0
	fsubp	st1,st0
	fstp	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	imul	eax,3
	add	eax,3
	fld1
	fstp	dword [edx+eax*4+28]
	mov	edi,0
	jmp	_9958
_692:
	mov	edx,0
	jmp	_9960
_695:
	mov	esi,dword [ebx+8]
	mov	ecx,edx
	mov	eax,dword [ebx+8]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,edi
	fld	dword [esi+eax*4+28]
	fstp	dword [ebp-4]
	fld	dword [_13231]
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_9961
	fld	dword [_13232]
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_9961:
	cmp	eax,0
	je	_9963
	fld	dword [_13233]
	fstp	dword [ebp-4]
_9963:
	mov	esi,dword [ebx+8]
	mov	ecx,edx
	mov	eax,dword [ebx+8]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,edi
	fld	dword [ebp-4]
	fstp	dword [esi+eax*4+28]
_693:
	add	edx,1
_9960:
	cmp	edx,3
	jle	_695
_694:
_690:
	add	edi,1
_9958:
	cmp	edi,3
	jle	_692
_691:
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fmul	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fmul	dword [edx+eax*4+28]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,1
	fld	dword [edx+eax*4+28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	mov	eax,dword [ebp+24]
	fstp	dword [eax]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	add	eax,2
	fld	dword [edx+eax*4+28]
	sub	esp,8
	fstp	qword [esp]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	shl	eax,1
	fld	dword [edx+eax*4+28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	mov	eax,dword [ebp+28]
	fstp	dword [eax]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+24]
	add	eax,1
	fld	dword [edx+eax*4+28]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [ebx+8]
	fld	dword [eax+4+28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	mov	eax,dword [ebp+32]
	fstp	dword [eax]
	mov	eax,0
	jmp	_3543
_3543:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TQuaternion_Slerp:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+40]
	mov	ebx,dword [ebp+44]
	mov	edi,dword [ebp+48]
	fld	dword [ebp+8]
	fsub	dword [ebp+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_13238]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_9964
	fld	dword [ebp+12]
	fsub	dword [ebp+28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_13239]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_9964:
	cmp	eax,0
	je	_9966
	fld	dword [ebp+16]
	fsub	dword [ebp+32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_13240]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_9966:
	cmp	eax,0
	je	_9968
	fld	dword [ebp+20]
	fsub	dword [ebp+36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_13241]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_9968:
	cmp	eax,0
	je	_9970
	fld	dword [ebp+8]
	fstp	dword [esi]
	fld	dword [ebp+12]
	fstp	dword [ebx]
	fld	dword [ebp+16]
	fstp	dword [edi]
	mov	eax,dword [ebp+52]
	fld	dword [ebp+20]
	fstp	dword [eax]
	mov	eax,1
	jmp	_3558
_9970:
	fld	dword [ebp+8]
	fmul	dword [ebp+24]
	fld	dword [ebp+12]
	fmul	dword [ebp+28]
	faddp	st1,st0
	fld	dword [ebp+16]
	fmul	dword [ebp+32]
	faddp	st1,st0
	fld	dword [ebp+20]
	fmul	dword [ebp+36]
	faddp	st1,st0
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_9976
	fchs
	fld	dword [ebp+36]
	fchs
	fstp	dword [ebp-28]
	fld	dword [ebp+24]
	fchs
	fstp	dword [ebp-24]
	fld	dword [ebp+28]
	fchs
	fstp	dword [ebp-20]
	fld	dword [ebp+32]
	fchs
	fstp	dword [ebp-16]
	jmp	_9977
_9976:
	fld	dword [ebp+36]
	fstp	dword [ebp-28]
	fld	dword [ebp+24]
	fstp	dword [ebp-24]
	fld	dword [ebp+28]
	fstp	dword [ebp-20]
	fld	dword [ebp+32]
	fstp	dword [ebp-16]
_9977:
	fld	dword [_13248]
	fsub	st0,st1
	fld	dword [_13249]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13260
	fstp	st0
	jmp	_9980
_13260:
	sub	esp,8
	fstp	qword [esp]
	call	_bbACos
	add	esp,8
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-12]
	fld	dword [_13250]
	fsub	dword [ebp+56]
	fmul	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-12]
	fdivp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp+56]
	fmul	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-12]
	fdivp	st1,st0
	jmp	_9983
_9980:
	fld	dword [_13251]
	fsub	dword [ebp+56]
	fstp	dword [ebp-4]
	fld	dword [ebp+56]
_9983:
	fld	dword [ebp-4]
	fmul	dword [ebp+20]
	fld	st1
	fmul	dword [ebp-28]
	faddp	st1,st0
	mov	eax,dword [ebp+52]
	fstp	dword [eax]
	fld	dword [ebp-4]
	fmul	dword [ebp+8]
	fld	st1
	fmul	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [esi]
	fld	dword [ebp-4]
	fmul	dword [ebp+12]
	fld	st1
	fmul	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebx]
	fld	dword [ebp-4]
	fmul	dword [ebp+16]
	fxch	st1
	fmul	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [edi]
	mov	eax,0
	jmp	_3558
_3558:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BoxFromPoints:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	mov	esi,dword [ebp+32]
	mov	ebx,dword [ebp+36]
	mov	edi,dword [ebp+40]
	mov	ecx,dword [ebp+44]
	mov	edx,dword [ebp+48]
	fxch	st5
	fucom	st2
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9984
	fstp	dword [esi]
	fxch	st1
	fstp	dword [ecx]
	jmp	_9985
_9984:
	fxch	st2
	fstp	dword [esi]
	fxch	st1
	fstp	dword [ecx]
_9985:
	fxch	st2
	fucom	st2
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9986
	fstp	dword [ebx]
	fxch	st1
	fstp	dword [edx]
	jmp	_9987
_9986:
	fxch	st2
	fstp	dword [ebx]
	fxch	st1
	fstp	dword [edx]
_9987:
	fucom	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9988
	fstp	dword [edi]
	mov	eax,dword [ebp+52]
	fstp	dword [eax]
	jmp	_9989
_9988:
	fxch	st1
	fstp	dword [edi]
	mov	eax,dword [ebp+52]
	fstp	dword [eax]
_9989:
	mov	eax,0
	jmp	_3572
_3572:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BoxFromTri:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	mov	esi,dword [ebp+44]
	mov	ebx,dword [ebp+48]
	mov	ecx,dword [ebp+52]
	mov	edx,dword [ebp+56]
	mov	edi,dword [ebp+60]
	fld	dword [_13266]
	fstp	dword [esi]
	fld	dword [_13267]
	fstp	dword [ebx]
	fld	dword [_13268]
	fstp	dword [ecx]
	fld	dword [_13269]
	fstp	dword [edx]
	fld	dword [_13270]
	fstp	dword [edi]
	fld	dword [_13271]
	mov	eax,dword [ebp+64]
	fstp	dword [eax]
	fld	dword [esi]
	fxch	st5
	fucom	st5
	fxch	st5
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9990
	fxch	st4
	fst	dword [esi]
	fxch	st4
_9990:
	fld	dword [ebx]
	fxch	st4
	fucom	st4
	fxch	st4
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9991
	fxch	st3
	fst	dword [ebx]
	fxch	st3
_9991:
	fld	dword [ecx]
	fxch	st3
	fucom	st3
	fxch	st3
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9992
	fxch	st2
	fst	dword [ecx]
	fxch	st2
_9992:
	fld	dword [esi]
	fxch	st2
	fucom	st2
	fxch	st2
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9993
	fxch	st1
	fst	dword [esi]
	fxch	st1
_9993:
	fld	dword [ebx]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9994
	fst	dword [ebx]
_9994:
	fld	dword [ecx]
	fld	dword [ebp+28]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9995
	fld	dword [ebp+28]
	fstp	dword [ecx]
_9995:
	fld	dword [esi]
	fld	dword [ebp+32]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9996
	fld	dword [ebp+32]
	fstp	dword [esi]
_9996:
	fld	dword [ebx]
	fld	dword [ebp+36]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9997
	fld	dword [ebp+36]
	fstp	dword [ebx]
_9997:
	fld	dword [ecx]
	fld	dword [ebp+40]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_9998
	fld	dword [ebp+40]
	fstp	dword [ecx]
_9998:
	fld	dword [edx]
	fxch	st5
	fucom	st5
	fxch	st5
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13292
	fxch	st4
	fstp	st0
	jmp	_9999
_13292:
	fxch	st4
	fstp	dword [edx]
_9999:
	fld	dword [edi]
	fxch	st3
	fucom	st3
	fxch	st3
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13293
	fxch	st2
	fstp	st0
	jmp	_10000
_13293:
	fxch	st2
	fstp	dword [edi]
_10000:
	mov	eax,dword [ebp+64]
	fld	dword [eax]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13294
	fstp	st0
	jmp	_10001
_13294:
	mov	eax,dword [ebp+64]
	fstp	dword [eax]
_10001:
	fld	dword [edx]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13295
	fstp	st0
	jmp	_10002
_13295:
	fstp	dword [edx]
_10002:
	fld	dword [edi]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13296
	fstp	st0
	jmp	_10003
_13296:
	fstp	dword [edi]
_10003:
	mov	eax,dword [ebp+64]
	fld	dword [eax]
	fld	dword [ebp+28]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_10004
	mov	eax,dword [ebp+64]
	fld	dword [ebp+28]
	fstp	dword [eax]
_10004:
	fld	dword [edx]
	fld	dword [ebp+32]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_10005
	fld	dword [ebp+32]
	fstp	dword [edx]
_10005:
	fld	dword [edi]
	fld	dword [ebp+36]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_10006
	fld	dword [ebp+36]
	fstp	dword [edi]
_10006:
	mov	eax,dword [ebp+64]
	fld	dword [eax]
	fld	dword [ebp+40]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_10007
	mov	eax,dword [ebp+64]
	fld	dword [ebp+40]
	fstp	dword [eax]
_10007:
	mov	eax,0
	jmp	_3589
_3589:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BoxBoxIntersection:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+32]
	fld	dword [ebp+36]
	fld	dword [ebp+44]
	fxch	st4
	fucomp	st2
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_13306
	fxch	st2
	fstp	st0
	fxch	st3
	fstp	st0
	jmp	_10008
_13306:
	fxch	st4
	fucomp	st2
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	fxch	st2
_10008:
	cmp	eax,0
	je	_10010
	fstp	st0
	fstp	st0
	fstp	st0
	mov	eax,0
	jmp	_3603
_10010:
	fxch	st2
	fucomp	st2
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_13307
	fstp	st0
	jmp	_10011
_13307:
	fld	dword [ebp+48]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10011:
	cmp	eax,0
	je	_10013
	mov	eax,0
	jmp	_3603
_10013:
	fld	dword [ebp+28]
	fld	dword [ebp+40]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_10014
	fld	dword [ebp+52]
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10014:
	cmp	eax,0
	je	_10016
	mov	eax,0
	jmp	_3603
_10016:
	mov	eax,1
	jmp	_3603
_3603:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BoxSphereIntersection:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+32]
	fld	dword [ebp+36]
	fld	dword [ebp+40]
	fld	dword [ebp+44]
	fld	dword [_13308]
	fxch	st1
	fmul	st0,st0
	fstp	dword [ebp-4]
	fxch	st3
	fucom	st5
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_13319
	fxch	st5
	fstp	st0
	jmp	_10019
_13319:
	fld	st0
	fsub	st0,st6
	fxch	st6
	fsubp	st1,st0
	fmulp	st5,st0
	fxch	st4
	faddp	st2,st0
	jmp	_10020
_10019:
	fld	dword [ebp+20]
	fxch	st5
	fucom	st5
	fxch	st5
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13320
	fxch	st4
	fstp	st0
	jmp	_10021
_13320:
	fld	st4
	fsub	dword [ebp+20]
	fxch	st5
	fsub	dword [ebp+20]
	fmulp	st5,st0
	fxch	st4
	faddp	st2,st0
_10021:
_10020:
	fucom	st2
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_13321
	fxch	st2
	fstp	st0
	jmp	_10022
_13321:
	fld	st0
	fsub	st0,st3
	fxch	st3
	fsubp	st1,st0
	fmulp	st2,st0
	faddp	st1,st0
	jmp	_10023
_10022:
	fld	dword [ebp+24]
	fxch	st2
	fucom	st2
	fxch	st2
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13322
	fxch	st1
	fstp	st0
	jmp	_10024
_13322:
	fld	st1
	fsub	dword [ebp+24]
	fxch	st2
	fsub	dword [ebp+24]
	fmulp	st2,st0
	faddp	st1,st0
_10024:
_10023:
	fld	dword [ebp+16]
	fxch	st2
	fucom	st2
	fxch	st2
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_10025
	fld	st1
	fsub	dword [ebp+16]
	fxch	st2
	fsub	dword [ebp+28]
	fmulp	st2,st0
	faddp	st1,st0
	jmp	_10026
_10025:
	fld	dword [ebp+20]
	fxch	st2
	fucom	st2
	fxch	st2
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_13323
	fxch	st1
	fstp	st0
	jmp	_10027
_13323:
	fld	st1
	fsub	dword [ebp+28]
	fxch	st2
	fsub	dword [ebp+28]
	fmulp	st2,st0
	faddp	st1,st0
_10027:
_10026:
	fld	dword [ebp-4]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_10028
	mov	eax,1
	jmp	_3615
_10028:
	mov	eax,0
	jmp	_3615
_3615:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_THardwareInfo_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_THardwareInfo
	mov	eax,0
	jmp	_3618
_3618:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_THardwareInfo_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_3621:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_10030
_10030:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_THardwareInfo_GetInfo:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	7936
	call	_glGetString@4
	push	eax
	call	_bbStringFromCString
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_Vendor]
	dec	dword [eax+4]
	jnz	_10035
	push	eax
	call	_bbGCFree
	add	esp,4
_10035:
	mov	dword [__sidesign_minib3d_THardwareInfo_Vendor],ebx
	push	7937
	call	_glGetString@4
	push	eax
	call	_bbStringFromCString
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_Renderer]
	dec	dword [eax+4]
	jnz	_10039
	push	eax
	call	_bbGCFree
	add	esp,4
_10039:
	mov	dword [__sidesign_minib3d_THardwareInfo_Renderer],ebx
	push	7938
	call	_glGetString@4
	push	eax
	call	_bbStringFromCString
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_OGLVersion]
	dec	dword [eax+4]
	jnz	_10043
	push	eax
	call	_bbGCFree
	add	esp,4
_10043:
	mov	dword [__sidesign_minib3d_THardwareInfo_OGLVersion],ebx
	push	7939
	call	_glGetString@4
	push	eax
	call	_bbStringFromCString
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	esi,ebx
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_Extensions]
	dec	dword [eax+4]
	jnz	_10047
	push	eax
	call	_bbGCFree
	add	esp,4
_10047:
	mov	dword [__sidesign_minib3d_THardwareInfo_Extensions],esi
	push	0
	push	_696
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_VBOSupport],eax
	push	0
	push	_697
	push	ebx
	call	_bbStringFind
	add	esp,12
	mov	dword [__sidesign_minib3d_THardwareInfo_GLTCSupport],eax
	push	0
	push	_698
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_S3TCSupport],eax
	push	0
	push	_699
	push	ebx
	call	_bbStringFind
	add	esp,12
	mov	dword [__sidesign_minib3d_THardwareInfo_AnIsoSupport],eax
	push	0
	push	_700
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_MultiTexSupport],eax
	push	0
	push	_701
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_TexBlendSupport],eax
	push	0
	push	_702
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_CubemapSupport],eax
	push	0
	push	_703
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_DepthmapSupport],eax
	push	0
	push	_704
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_VPSupport],eax
	push	0
	push	_705
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_FPSupport],eax
	push	0
	push	_706
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_ShaderSupport],eax
	push	0
	push	_707
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_VSSupport],eax
	push	0
	push	_708
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_FSSupport],eax
	push	0
	push	_709
	push	ebx
	call	_bbStringFind
	add	esp,12
	cmp	eax,-1
	setg	al
	movzx	eax,al
	mov	dword [__sidesign_minib3d_THardwareInfo_SLSupport],eax
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_VSSupport]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_10048
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_FSSupport]
	cmp	eax,0
	sete	al
	movzx	eax,al
_10048:
	cmp	eax,0
	je	_10050
	mov	dword [__sidesign_minib3d_THardwareInfo_ShaderSupport],0
_10050:
	lea	eax,dword [__sidesign_minib3d_THardwareInfo_MaxTextures]
	push	eax
	push	34018
	call	_glGetIntegerv@8
	lea	eax,dword [__sidesign_minib3d_THardwareInfo_MaxTexSize]
	push	eax
	push	3379
	call	_glGetIntegerv@8
	lea	eax,dword [__sidesign_minib3d_THardwareInfo_MaxLights]
	push	eax
	push	3377
	call	_glGetIntegerv@8
	mov	eax,0
	jmp	_3623
_3623:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_THardwareInfo_DisplayInfo:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,0
	cmp	eax,0
	je	_10054
	push	_710
	call	_brl_stream_WriteStream
	add	esp,4
	mov	ebx,eax
	mov	eax,ebx
	push	_711
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	mov	eax,ebx
	push	_1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	push	dword [__sidesign_minib3d_THardwareInfo_Vendor]
	push	_712
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+144]
	add	esp,8
	push	dword [__sidesign_minib3d_THardwareInfo_Renderer]
	push	_713
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+144]
	add	esp,8
	push	dword [__sidesign_minib3d_THardwareInfo_OGLVersion]
	push	_714
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+144]
	add	esp,8
	mov	eax,ebx
	push	_1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	push	dword [__sidesign_minib3d_THardwareInfo_MaxTextures]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_715
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+144]
	add	esp,8
	push	dword [__sidesign_minib3d_THardwareInfo_MaxTexSize]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_716
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+144]
	add	esp,8
	push	dword [__sidesign_minib3d_THardwareInfo_MaxLights]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_717
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+144]
	add	esp,8
	mov	eax,ebx
	push	_1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	mov	eax,ebx
	push	_718
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	jmp	_719
_721:
	push	edi
	push	_722
	push	dword [__sidesign_minib3d_THardwareInfo_Extensions]
	call	_bbStringFind
	add	esp,12
	mov	esi,eax
	cmp	esi,-1
	jne	_10066
	jmp	_720
_10066:
	push	esi
	push	edi
	push	dword [__sidesign_minib3d_THardwareInfo_Extensions]
	call	_bbStringSlice
	add	esp,12
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+144]
	add	esp,8
	mov	eax,esi
	add	eax,1
	mov	edi,eax
_719:
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_Extensions]
	cmp	edi,dword [eax+8]
	jl	_721
_720:
	mov	eax,ebx
	push	_1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	mov	eax,ebx
	push	_723
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	jmp	_10071
_10054:
	push	_711
	call	_brl_standardio_Print
	add	esp,4
	push	_1
	call	_brl_standardio_Print
	add	esp,4
	push	dword [__sidesign_minib3d_THardwareInfo_Vendor]
	push	_712
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	push	dword [__sidesign_minib3d_THardwareInfo_Renderer]
	push	_713
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	push	dword [__sidesign_minib3d_THardwareInfo_OGLVersion]
	push	_714
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	push	_1
	call	_brl_standardio_Print
	add	esp,4
	push	dword [__sidesign_minib3d_THardwareInfo_MaxTextures]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_715
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	push	dword [__sidesign_minib3d_THardwareInfo_MaxTexSize]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_716
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	push	dword [__sidesign_minib3d_THardwareInfo_MaxLights]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_717
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	push	_1
	call	_brl_standardio_Print
	add	esp,4
	push	_718
	call	_brl_standardio_Print
	add	esp,4
	jmp	_724
_726:
	push	edi
	push	_722
	push	dword [__sidesign_minib3d_THardwareInfo_Extensions]
	call	_bbStringFind
	add	esp,12
	mov	esi,eax
	cmp	esi,-1
	jne	_10072
	jmp	_725
_10072:
	push	esi
	push	edi
	push	dword [__sidesign_minib3d_THardwareInfo_Extensions]
	call	_bbStringSlice
	add	esp,12
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,esi
	add	eax,1
	mov	edi,eax
_724:
	mov	eax,dword [__sidesign_minib3d_THardwareInfo_Extensions]
	cmp	edi,dword [eax+8]
	jl	_726
_725:
	push	_1
	call	_brl_standardio_Print
	add	esp,4
	push	_723
	call	_brl_standardio_Print
	add	esp,4
_10071:
	mov	eax,0
	jmp	_3626
_3626:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBlitz2D_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TBlitz2D
	mov	eax,0
	jmp	_3629
_3629:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBlitz2D_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_3632:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_10073
_10073:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBlitz2D_Text:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	33984
	call	dword [___glewActiveTextureARB]
	push	33984
	call	dword [___glewClientActiveTextureARB]
	push	2896
	call	_glDisable@4
	push	1065353216
	push	1065353216
	push	1065353216
	call	_glColor3f@12
	push	3042
	call	_glEnable@4
	push	ebx
	push	esi
	push	edi
	call	_brl_glgraphics_GLDrawText
	add	esp,12
	push	3042
	call	_glDisable@4
	push	2896
	call	_glEnable@4
	push	3553
	call	_glDisable@4
	mov	eax,0
	jmp	_3637
_3637:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBlitz2D_BeginMax2D:
	push	ebp
	mov	ebp,esp
	call	_glPopClientAttrib@0
	call	_glPopAttrib@0
	push	5888
	call	_glMatrixMode@4
	call	_glPopMatrix@0
	push	5889
	call	_glMatrixMode@4
	call	_glPopMatrix@0
	push	5890
	call	_glMatrixMode@4
	call	_glPopMatrix@0
	push	6144
	call	_glMatrixMode@4
	call	_glPopMatrix@0
	mov	eax,0
	jmp	_3639
_3639:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TBlitz2D_EndMax2D:
	push	ebp
	mov	ebp,esp
	push	1048575
	call	_glPushAttrib@4
	push	-1
	call	_glPushClientAttrib@4
	push	5888
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	push	5889
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	push	5890
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	push	6144
	call	_glMatrixMode@4
	call	_glPushMatrix@0
	call	dword [_sidesign_minib3d_TGlobal+100]
	push	3553
	call	_glDisable@4
	mov	eax,1
	cmp	eax,0
	je	_10074
	push	33273
	push	33272
	call	_glLightModeli@8
	jmp	_10075
_10074:
	push	33274
	push	33272
	call	_glLightModeli@8
_10075:
	push	1
	push	2897
	call	_glLightModeli@8
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_glClearDepth@8
	push	515
	call	_glDepthFunc@4
	push	4354
	push	3152
	call	_glHint@8
	push	1056964608
	push	518
	call	_glAlphaFunc@8
	mov	eax,0
	jmp	_3641
_3641:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TUtility_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TUtility
	mov	eax,0
	jmp	_3644
_3644:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TUtility_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_3647:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_10076
_10076:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TUtility_UpdateValue:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fsub	st0,st2
	fmulp	st1,st0
	faddp	st1,st0
	jmp	_3652
_3652:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_sidesign_minib3d_TDebug
	mov	eax,0
	jmp	_3655
_3655:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_3658:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_10077
_10077:
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_DebugWorld:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-20],0
	mov	dword [ebp-16],0
	mov	dword [ebp-4],0
	mov	esi,0
	mov	edi,0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	eax,dword [__sidesign_minib3d_TEntity_entity_list]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-12],eax
	jmp	_727
_729:
	mov	eax,dword [ebp-12]
	push	_sidesign_minib3d_TEntity
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_727
	add	dword [ebp-20],1
	push	_sidesign_minib3d_TCamera
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_10091
	add	dword [ebp-16],1
_10091:
	push	_sidesign_minib3d_TLight
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_10092
	add	dword [ebp-4],1
_10092:
	push	_sidesign_minib3d_TPivot
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_10093
	add	esi,1
_10093:
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_10094
	add	edi,1
_10094:
	push	_sidesign_minib3d_TSprite
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_10095
	add	dword [ebp-24],1
_10095:
	push	_sidesign_minib3d_TBone
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_10096
	add	dword [ebp-28],1
_10096:
_727:
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_729
_728:
	push	dword [ebp-20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_730
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	120
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	dword [ebp-16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_731
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	140
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	dword [ebp-4]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_732
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	160
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	esi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_733
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	180
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	edi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_734
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	200
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_735
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	220
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	dword [ebp-28]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_736
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	240
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,0
	jmp	_3660
_3660:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_DebugEntity:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	cmp	esi,_bbNullObject
	jne	_10097
	mov	eax,_bbNullObject
	jmp	_3664
_10097:
	mov	dword [ebp-4],0
	mov	eax,esi
	push	_bbNullObject
	lea	edx,dword [ebp-4]
	push	edx
	push	dword [__sidesign_minib3d_TDebug_cno]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+376]
	add	esp,16
	cmp	eax,_bbNullObject
	je	_10101
	push	1132396544
	push	1132396544
	push	1132396544
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,16
_10101:
	push	107
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10103
	add	dword [__sidesign_minib3d_TDebug_cno],1
_10103:
	push	109
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10104
	sub	dword [__sidesign_minib3d_TDebug_cno],1
_10104:
	push	0
	push	esi
	call	dword [_sidesign_minib3d_TEntity+372]
	add	esp,8
	mov	edi,eax
	cmp	dword [__sidesign_minib3d_TDebug_cno],0
	jge	_10106
	mov	dword [__sidesign_minib3d_TDebug_cno],0
_10106:
	cmp	dword [__sidesign_minib3d_TDebug_cno],edi
	jle	_10107
	mov	dword [__sidesign_minib3d_TDebug_cno],edi
_10107:
	mov	dword [ebp-4],0
	mov	eax,esi
	push	_bbNullObject
	lea	edx,dword [ebp-4]
	push	edx
	push	dword [__sidesign_minib3d_TDebug_cno]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+376]
	add	esp,16
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10110
	mov	ebx,esi
_10110:
	cmp	ebx,_bbNullObject
	je	_10111
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_10113
	push	111
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10114
	sub	dword [__sidesign_minib3d_TDebug_surf_no],1
_10114:
	push	106
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10115
	add	dword [__sidesign_minib3d_TDebug_surf_no],1
_10115:
	cmp	dword [__sidesign_minib3d_TDebug_surf_no],1
	jge	_10116
	mov	dword [__sidesign_minib3d_TDebug_surf_no],1
_10116:
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	cmp	dword [__sidesign_minib3d_TDebug_surf_no],eax
	jle	_10118
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	mov	dword [__sidesign_minib3d_TDebug_surf_no],eax
_10118:
	push	dword [__sidesign_minib3d_TDebug_surf_no]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_GetSurface
	add	esp,8
	mov	esi,eax
	jmp	_10120
_10113:
	mov	dword [__sidesign_minib3d_TDebug_surf_no],0
	mov	esi,_bbNullObject
_10120:
	push	96
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10121
	mov	eax,1
	sub	eax,dword [__sidesign_minib3d_TDebug_show_ents]
	mov	dword [__sidesign_minib3d_TDebug_show_ents],eax
_10121:
	push	ebx
	call	dword [_sidesign_minib3d_TDebug+56]
	add	esp,4
	push	esi
	push	ebx
	call	dword [_sidesign_minib3d_TDebug+60]
	add	esp,8
	push	dword [ebp+12]
	push	ebx
	call	dword [_sidesign_minib3d_TDebug+64]
	add	esp,8
	push	97
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10122
	mov	dword [__sidesign_minib3d_TDebug_info],1
_10122:
	push	98
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10123
	mov	dword [__sidesign_minib3d_TDebug_info],2
_10123:
	push	99
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10124
	mov	dword [__sidesign_minib3d_TDebug_info],3
_10124:
	push	100
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10125
	mov	dword [__sidesign_minib3d_TDebug_info],4
_10125:
	push	101
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_10126
	mov	dword [__sidesign_minib3d_TDebug_info],5
_10126:
	push	dword [ebx+100]
	push	_739
	push	dword [ebx+96]
	push	_738
	push	edi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_464
	push	dword [__sidesign_minib3d_TDebug_cno]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_737
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	0
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	cmp	dword [__sidesign_minib3d_TDebug_info],1
	jne	_10127
	push	ebx
	call	dword [_sidesign_minib3d_TDebug+68]
	add	esp,4
_10127:
	cmp	dword [__sidesign_minib3d_TDebug_info],2
	jne	_10128
	push	esi
	push	ebx
	call	dword [_sidesign_minib3d_TDebug+72]
	add	esp,8
_10128:
	cmp	dword [__sidesign_minib3d_TDebug_info],3
	jne	_10129
	push	esi
	push	ebx
	call	dword [_sidesign_minib3d_TDebug+76]
	add	esp,8
_10129:
	cmp	dword [__sidesign_minib3d_TDebug_info],4
	jne	_10130
	push	dword [ebp+12]
	push	ebx
	call	dword [_sidesign_minib3d_TDebug+80]
	add	esp,8
_10130:
	cmp	dword [__sidesign_minib3d_TDebug_info],5
	jne	_10131
	push	dword [ebp+12]
	push	ebx
	call	dword [_sidesign_minib3d_TDebug+80]
	add	esp,8
_10131:
_10111:
	mov	eax,ebx
	jmp	_3664
_3664:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_UpdateBoundingSphere:
	push	ebp
	mov	ebp,esp
	sub	esp,48
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	cmp	dword [__sidesign_minib3d_TDebug_bounding_sphere],_bbNullObject
	jne	_10132
	push	_bbNullObject
	push	16
	call	dword [_sidesign_minib3d_TMesh+512]
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [__sidesign_minib3d_TDebug_bounding_sphere]
	dec	dword [eax+4]
	jnz	_10136
	push	eax
	call	_bbGCFree
	add	esp,4
_10136:
	mov	dword [__sidesign_minib3d_TDebug_bounding_sphere],esi
	mov	eax,dword [__sidesign_minib3d_TDebug_bounding_sphere]
	push	1048576000
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	eax,dword [__sidesign_minib3d_TDebug_bounding_sphere]
	push	0
	push	0
	push	1132396544
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,16
_10132:
	mov	eax,dword [__sidesign_minib3d_TDebug_show_ents]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_10139
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
_10139:
	cmp	eax,0
	je	_10141
	mov	eax,dword [__sidesign_minib3d_TDebug_bounding_sphere]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,4
	mov	eax,0
	jmp	_3667
_10141:
	mov	eax,dword [__sidesign_minib3d_TDebug_bounding_sphere]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,4
	fld	dword [ebx+136]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+264]
	fstp	dword [ebp-40]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+268]
	fstp	dword [ebp-44]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+272]
	fstp	dword [ebp-48]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+276]
	fstp	dword [ebp-4]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-4]
	fsub	dword [eax+264]
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fdiv	dword [_13396]
	fld	dword [ebp-40]
	faddp	st1,st0
	fstp	dword [ebp-40]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+280]
	fstp	dword [ebp-8]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-8]
	fsub	dword [eax+268]
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fdiv	dword [_13397]
	fld	dword [ebp-44]
	faddp	st1,st0
	fstp	dword [ebp-44]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+284]
	fstp	dword [ebp-12]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-12]
	fsub	dword [eax+272]
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fdiv	dword [_13398]
	fld	dword [ebp-48]
	faddp	st1,st0
	fstp	dword [ebp-48]
	push	_bbNullObject
	push	ebx
	push	dword [ebp-48]
	push	dword [ebp-44]
	push	dword [ebp-40]
	call	dword [_sidesign_minib3d_TEntity+248]
	add	esp,20
	call	dword [_sidesign_minib3d_TEntity+260]
	fstp	dword [ebp-40]
	call	dword [_sidesign_minib3d_TEntity+264]
	fstp	dword [ebp-44]
	call	dword [_sidesign_minib3d_TEntity+268]
	fstp	dword [ebp-48]
	fld	dword [ebp-28]
	fstp	dword [ebp-16]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+356]
	add	esp,8
	fld	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-16]
	fstp	dword [ebp-32]
	fld	dword [ebp-28]
	fstp	dword [ebp-20]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+360]
	add	esp,8
	fld	dword [ebp-20]
	fmulp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [ebp-20]
	fstp	dword [ebp-36]
	fld	dword [ebp-28]
	fstp	dword [ebp-24]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+364]
	add	esp,8
	fld	dword [ebp-24]
	fmulp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebp-24]
	fld	dword [ebp-32]
	fld	dword [ebp-36]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_10154
	fld	dword [ebp-32]
	fucomp	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_10154:
	cmp	eax,0
	je	_10156
	fstp	st0
	fld	dword [ebp-32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	jmp	_10157
_10156:
	fld	dword [ebp-32]
	fld	dword [ebp-36]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_10158
	fld	dword [ebp-36]
	fucomp	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_10158:
	cmp	eax,0
	je	_10160
	fstp	st0
	fld	dword [ebp-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
	jmp	_10161
_10160:
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-28]
_10161:
_10157:
	mov	eax,dword [__sidesign_minib3d_TDebug_bounding_sphere]
	push	1
	push	dword [ebp-48]
	push	dword [ebp-44]
	push	dword [ebp-40]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,20
	mov	eax,dword [__sidesign_minib3d_TDebug_bounding_sphere]
	push	0
	push	dword [ebp-28]
	push	dword [ebp-28]
	push	dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,0
	jmp	_3667
_3667:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_UpdateSurface:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	cmp	dword [__sidesign_minib3d_TDebug_debug_mesh],_bbNullObject
	jne	_10164
	push	_bbNullObject
	call	dword [_sidesign_minib3d_TMesh+496]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_mesh]
	dec	dword [eax+4]
	jnz	_10168
	push	eax
	call	_bbGCFree
	add	esp,4
_10168:
	mov	dword [__sidesign_minib3d_TDebug_debug_mesh],ebx
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_mesh]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_surf]
	dec	dword [eax+4]
	jnz	_10173
	push	eax
	call	_bbGCFree
	add	esp,4
_10173:
	mov	dword [__sidesign_minib3d_TDebug_debug_surf],ebx
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_mesh]
	push	0
	push	0
	push	1132396544
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,16
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_mesh]
	push	1056964608
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_mesh]
	push	-99
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	jmp	_10177
_10164:
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_surf]
	push	1
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,12
_10177:
	mov	eax,dword [__sidesign_minib3d_TDebug_show_ents]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_10179
	mov	eax,dword [ebp+12]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
_10179:
	cmp	eax,0
	je	_10181
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_mesh]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,4
	mov	eax,0
	jmp	_3671
_10181:
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_mesh]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,4
	mov	dword [ebp-12],0
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-16],eax
	jmp	_10186
_742:
	push	3
	push	_10188
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	eax,dword [ebp+12]
	push	0
	push	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	dword [esi+24],eax
	mov	eax,dword [ebp+12]
	push	1
	push	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	dword [esi+4+24],eax
	mov	eax,dword [ebp+12]
	push	2
	push	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	dword [esi+8+24],eax
	push	3
	push	_10193
	call	_bbArrayNew1D
	add	esp,8
	mov	edi,eax
	mov	ebx,0
	jmp	_10196
_745:
	mov	eax,dword [ebp+12]
	push	dword [esi+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fstp	dword [ebp-8]
	mov	eax,dword [ebp+12]
	push	dword [esi+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	fstp	dword [ebp-4]
	mov	eax,dword [ebp+12]
	push	dword [esi+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	push	_bbNullObject
	push	dword [ebp+8]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	dword [ebp-8]
	call	dword [_sidesign_minib3d_TEntity+248]
	add	esp,20
	call	dword [_sidesign_minib3d_TEntity+260]
	fstp	dword [ebp-8]
	call	dword [_sidesign_minib3d_TEntity+264]
	fstp	dword [ebp-4]
	call	dword [_sidesign_minib3d_TEntity+268]
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_surf]
	push	0
	push	0
	push	0
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	mov	dword [edi+ebx*4+24],eax
_743:
	add	ebx,1
_10196:
	cmp	ebx,2
	jle	_745
_744:
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_surf]
	push	dword [edi+8+24]
	push	dword [edi+4+24]
	push	dword [edi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
_740:
	add	dword [ebp-12],1
_10186:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-12],eax
	jl	_742
_741:
	mov	eax,dword [__sidesign_minib3d_TDebug_debug_mesh]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+552]
	add	esp,16
	mov	eax,0
	jmp	_3671
_3671:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_UpdateMarker:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	cmp	esi,_bbNullObject
	jne	_10206
	mov	eax,0
	jmp	_3675
_10206:
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+264]
	fstp	dword [ebp-8]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+268]
	fstp	dword [ebp-4]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+272]
	fstp	dword [ebp-12]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+276]
	fstp	dword [ebp-16]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-16]
	fsub	dword [eax+264]
	fstp	dword [ebp-16]
	fld	dword [ebp-16]
	fdiv	dword [_13413]
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+280]
	fstp	dword [ebp-20]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-20]
	fsub	dword [eax+268]
	fstp	dword [ebp-20]
	fld	dword [ebp-20]
	fdiv	dword [_13414]
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+284]
	fstp	dword [ebp-24]
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [ebp-24]
	fsub	dword [eax+272]
	fstp	dword [ebp-24]
	fld	dword [ebp-24]
	fdiv	dword [_13415]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	push	_bbNullObject
	push	ebx
	push	dword [ebp-12]
	push	dword [ebp-4]
	push	dword [ebp-8]
	call	dword [_sidesign_minib3d_TEntity+248]
	add	esp,20
	call	dword [_sidesign_minib3d_TEntity+260]
	fstp	dword [ebp-8]
	call	dword [_sidesign_minib3d_TEntity+264]
	fstp	dword [ebp-4]
	call	dword [_sidesign_minib3d_TEntity+268]
	fstp	dword [ebp-12]
	mov	eax,esi
	push	dword [ebp-12]
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+540]
	add	esp,16
	push	_746
	call	_sidesign_minib3d_ProjectedY
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_sidesign_minib3d_ProjectedX
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	edi,ebx
	mov	eax,ebx
	push	_bbNullObject
	push	ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+184]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+180]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TEntity+248]
	add	esp,20
	call	dword [_sidesign_minib3d_TEntity+260]
	fstp	dword [ebp-8]
	call	dword [_sidesign_minib3d_TEntity+264]
	fstp	dword [ebp-4]
	call	dword [_sidesign_minib3d_TEntity+268]
	fstp	dword [ebp-12]
	mov	eax,esi
	push	dword [ebp-12]
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+540]
	add	esp,16
	push	_747
	call	_sidesign_minib3d_ProjectedY
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_sidesign_minib3d_ProjectedX
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,0
	jmp	_3675
_3675:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_EntityInfo1:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	push	_748
	push	40
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	_749
	push	80
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	fld	dword [_13420]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10217
	fld	dword [_13421]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10217:
	cmp	eax,0
	je	_10219
	fstp	st0
	fld	dword [_13422]
_10219:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_750
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	100
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	fld	dword [_13423]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10221
	fld	dword [_13424]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10221:
	cmp	eax,0
	je	_10223
	fstp	st0
	fld	dword [_13425]
_10223:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_751
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	120
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	fld	dword [_13426]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10225
	fld	dword [_13427]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10225:
	cmp	eax,0
	je	_10227
	fstp	st0
	fld	dword [_13428]
_10227:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_752
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	140
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+192]
	add	esp,8
	fld	dword [_13429]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10229
	fld	dword [_13430]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10229:
	cmp	eax,0
	je	_10231
	fstp	st0
	fld	dword [_13431]
_10231:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_753
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	160
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+196]
	add	esp,8
	fld	dword [_13432]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10233
	fld	dword [_13433]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10233:
	cmp	eax,0
	je	_10235
	fstp	st0
	fld	dword [_13434]
_10235:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_754
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	180
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+200]
	add	esp,8
	fld	dword [_13435]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10237
	fld	dword [_13436]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10237:
	cmp	eax,0
	je	_10239
	fstp	st0
	fld	dword [_13437]
_10239:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_755
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	200
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	_756
	push	240
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	fld	dword [_13438]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10241
	fld	dword [_13439]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10241:
	cmp	eax,0
	je	_10243
	fstp	st0
	fld	dword [_13440]
_10243:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_750
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	260
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	fld	dword [_13441]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10245
	fld	dword [_13442]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10245:
	cmp	eax,0
	je	_10247
	fstp	st0
	fld	dword [_13443]
_10247:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_751
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	280
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	fld	dword [_13444]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10249
	fld	dword [_13445]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10249:
	cmp	eax,0
	je	_10251
	fstp	st0
	fld	dword [_13446]
_10251:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_752
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	300
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+192]
	add	esp,8
	fld	dword [_13447]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10253
	fld	dword [_13448]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10253:
	cmp	eax,0
	je	_10255
	fstp	st0
	fld	dword [_13449]
_10255:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_753
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	320
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+196]
	add	esp,8
	fld	dword [_13450]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10257
	fld	dword [_13451]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10257:
	cmp	eax,0
	je	_10259
	fstp	st0
	fld	dword [_13452]
_10259:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_754
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	340
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,dword [ebp+8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+200]
	add	esp,8
	fld	dword [_13453]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10261
	fld	dword [_13454]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10261:
	cmp	eax,0
	je	_10263
	fstp	st0
	fld	dword [_13455]
_10263:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_755
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	360
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	dword [ebp-4],380
	mov	edi,0
	jmp	_10267
_759:
	mov	esi,0
	add	dword [ebp-4],20
	mov	ebx,0
	jmp	_10269
_762:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	mov	edx,dword [eax+8]
	mov	eax,ebx
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+28]
	mov	ecx,dword [ecx+8]
	imul	eax,dword [ecx+24]
	add	eax,edi
	fld	dword [edx+eax*4+28]
	fld	dword [_13456]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_10270
	fld	dword [_13457]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_10270:
	cmp	eax,0
	je	_10272
	fstp	st0
	fld	dword [_13458]
_10272:
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	dword [ebp-4]
	push	esi
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	add	esi,100
_760:
	add	ebx,1
_10269:
	cmp	ebx,3
	jle	_762
_761:
_757:
	add	edi,1
_10267:
	cmp	edi,3
	jle	_759
_758:
	mov	eax,0
	jmp	_3678
_3678:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_EntityInfo2:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_10273
	push	_763
	push	40
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	cmp	ebx,_bbNullObject
	je	_10274
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_464
	push	dword [__sidesign_minib3d_TDebug_surf_no]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_764
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	80
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+588]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_464
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_765
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	100
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	_sidesign_minib3d_TMesh
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+592]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_464
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_766
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	120
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	dword [ebx+100]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_767
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	160
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	dword [ebx+88]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_768
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	200
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	push	dword [ebx+92]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_769
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	220
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	jmp	_10280
_10274:
	push	_770
	push	80
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
_10280:
	jmp	_10281
_10273:
	push	_771
	push	80
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
_10281:
	mov	eax,0
	jmp	_3682
_3682:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_EntityInfo3:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	_772
	push	40
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	cmp	esi,_bbNullObject
	je	_10282
	push	_sidesign_minib3d_TMesh
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	push	_773
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_464
	push	dword [__sidesign_minib3d_TDebug_surf_no]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_764
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	80
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	cmp	dword [esi+72],_bbNullObject
	je	_10284
	mov	eax,dword [esi+72]
	push	dword [eax+12]
	push	_774
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	100
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	push	dword [eax+16]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_775
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	120
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	push	dword [eax+20]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_776
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	140
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	push	dword [eax+24]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_777
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	160
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	push	dword [eax+28]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_778
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	180
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	push	dword [eax+36]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_779
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	200
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	push	dword [eax+40]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_780
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	220
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	cmp	dword [eax+24],_bbNullObject
	je	_10285
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+24]
	push	dword [eax+8]
	push	_781
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	240
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+24]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_782
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	260
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+24]
	push	dword [eax+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_783
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	280
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
_10285:
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	cmp	dword [eax+4+24],_bbNullObject
	je	_10286
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+4+24]
	push	dword [eax+8]
	push	_784
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	300
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+4+24]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_785
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	320
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+4+24]
	push	dword [eax+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_786
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	340
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
_10286:
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	cmp	dword [eax+8+24],_bbNullObject
	je	_10287
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+8+24]
	push	dword [eax+8]
	push	_787
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	360
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+8+24]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_788
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	380
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+8+24]
	push	dword [eax+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_789
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	400
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
_10287:
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	cmp	dword [eax+12+24],_bbNullObject
	je	_10288
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+12+24]
	push	dword [eax+8]
	push	_790
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	420
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+12+24]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_791
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	440
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [esi+72]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+12+24]
	push	dword [eax+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_792
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	460
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
_10288:
	jmp	_10289
_10284:
	push	_793
	push	100
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
_10289:
	jmp	_10290
_10282:
	push	_770
	push	100
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
_10290:
	push	_794
	push	80
	push	200
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	cmp	dword [ebx+132],_bbNullObject
	je	_10291
	mov	eax,dword [ebx+132]
	push	dword [eax+12]
	push	_774
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	100
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	push	dword [eax+16]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_775
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	120
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	push	dword [eax+20]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_776
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	140
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	push	dword [eax+24]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_777
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	160
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	push	dword [eax+28]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_778
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	180
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	push	dword [eax+36]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_779
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	200
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	push	dword [eax+40]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_780
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	220
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	cmp	dword [eax+24],_bbNullObject
	je	_10292
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+24]
	push	dword [eax+8]
	push	_781
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	240
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+24]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_782
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	160
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+24]
	push	dword [eax+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_783
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	280
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
_10292:
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	cmp	dword [eax+4+24],_bbNullObject
	je	_10293
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+4+24]
	push	dword [eax+8]
	push	_784
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	300
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+4+24]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_785
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	320
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+4+24]
	push	dword [eax+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_786
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	340
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
_10293:
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	cmp	dword [eax+8+24],_bbNullObject
	je	_10294
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+8+24]
	push	dword [eax+8]
	push	_787
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	360
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+8+24]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_788
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	380
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+8+24]
	push	dword [eax+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_789
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	400
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
_10294:
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	cmp	dword [eax+12+24],_bbNullObject
	je	_10295
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+12+24]
	push	dword [eax+8]
	push	_790
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	420
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+12+24]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_791
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	440
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
	mov	eax,dword [ebx+132]
	mov	eax,dword [eax+48]
	mov	eax,dword [eax+12+24]
	push	dword [eax+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_792
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	460
	push	200
	call	_sidesign_minib3d_Text
	add	esp,12
_10295:
	jmp	_10296
_10291:
	push	_793
	push	100
	push	0
	call	_sidesign_minib3d_Text
	add	esp,12
_10296:
	mov	eax,0
	jmp	_3686
_3686:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__sidesign_minib3d_TDebug_EntityInfo4:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_795
	push	40
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	cmp	ebx,_bbNullObject
	je	_10297
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+556]
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_796
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	80
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	jmp	_10299
_10297:
	push	_797
	push	80
	push	0
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
_10299:
	mov	eax,0
	jmp	_3690
_3690:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BackBufferToTex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	mov	eax,0
	jmp	_3695
_3695:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_MeshCullRadius:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+352]
	add	esp,8
	mov	eax,0
	jmp	_3699
_3699:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AddMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+528]
	add	esp,8
	mov	eax,_bbNullObject
	jmp	_3703
_3703:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AddTriangle:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	edx,dword [ebp+20]
	push	edx
	push	ecx
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	jmp	_3709
_3709:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AddVertex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fld	dword [ebp+32]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,28
	jmp	_3718
_3718:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AmbientLight:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TGlobal+60]
	add	esp,12
	mov	eax,0
	jmp	_3723
_3723:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AntiAlias:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TGlobal+52]
	add	esp,4
	mov	eax,0
	jmp	_3726
_3726:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Animate:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	fld	dword [ebp+16]
	mov	ecx,dword [ebp+20]
	mov	edx,dword [ebp+24]
	push	edx
	push	ecx
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,20
	mov	eax,0
	jmp	_3733
_3733:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Animating:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,4
	jmp	_3736
_3736:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AnimLength:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	jmp	_3739
_3739:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AnimSeq:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	jmp	_3742
_3742:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AnimTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
	jmp	_3745
_3745:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BrushAlpha:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	eax,0
	jmp	_3749
_3749:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BrushBlend:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
	mov	eax,0
	jmp	_3753
_3753:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BrushColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,16
	mov	eax,0
	jmp	_3759
_3759:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BrushFX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,8
	mov	eax,0
	jmp	_3763
_3763:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BrushShininess:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	eax,0
	jmp	_3767
_3767:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BrushTexture:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	edx,dword [ebp+20]
	push	edx
	push	ecx
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,16
	mov	eax,0
	jmp	_3773
_3773:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraClsColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+504]
	add	esp,16
	mov	eax,0
	jmp	_3779
_3779:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraClsMode:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+508]
	add	esp,12
	mov	eax,0
	jmp	_3784
_3784:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraFogColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+532]
	add	esp,16
	mov	eax,0
	jmp	_3790
_3790:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraFogMode:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+528]
	add	esp,8
	mov	eax,0
	jmp	_3794
_3794:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraFogRange:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+536]
	add	esp,12
	mov	eax,0
	jmp	_3799
_3799:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraPick:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	call	dword [_sidesign_minib3d_TPick+48]
	add	esp,12
	jmp	_3804
_3804:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraProject:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+540]
	add	esp,16
	mov	eax,0
	jmp	_3810
_3810:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraProjMode:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+520]
	add	esp,8
	mov	eax,0
	jmp	_3814
_3814:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraRange:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+512]
	add	esp,12
	mov	eax,0
	jmp	_3819
_3819:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraViewport:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	ecx,dword [ebp+20]
	mov	edx,dword [ebp+24]
	push	edx
	push	ecx
	push	ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+500]
	add	esp,20
	mov	eax,0
	jmp	_3826
_3826:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CameraZoom:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+516]
	add	esp,8
	mov	eax,0
	jmp	_3830
_3830:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ClearCollisions:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TGlobal+64]
	mov	eax,0
	jmp	_3832
_3832:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ClearSurface:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,12
	mov	eax,0
	jmp	_3837
_3837:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ClearTextureFilters:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TTexture+120]
	mov	eax,0
	jmp	_3839
_3839:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ClearWorld:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	edx
	push	ecx
	call	dword [_sidesign_minib3d_TGlobal+72]
	add	esp,12
	mov	eax,0
	jmp	_3844
_3844:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+336]
	add	esp,8
	jmp	_3848
_3848:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Collisions:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	eax,dword [ebp+20]
	push	eax
	push	edx
	push	ecx
	push	ebx
	call	dword [_sidesign_minib3d_TGlobal+68]
	add	esp,16
	mov	eax,0
	jmp	_3854
_3854:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionNX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+320]
	add	esp,8
	jmp	_3858
_3858:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionNY:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+324]
	add	esp,8
	jmp	_3862
_3862:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionNZ:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+328]
	add	esp,8
	jmp	_3866
_3866:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionSurface:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+340]
	add	esp,8
	jmp	_3870
_3870:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+332]
	add	esp,8
	jmp	_3874
_3874:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionTriangle:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+344]
	add	esp,8
	jmp	_3878
_3878:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+308]
	add	esp,8
	jmp	_3882
_3882:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionY:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+312]
	add	esp,8
	jmp	_3886
_3886:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CollisionZ:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+316]
	add	esp,8
	jmp	_3890
_3890:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CountChildren:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+212]
	add	esp,4
	jmp	_3893
_3893:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CountCollisions:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+304]
	add	esp,4
	jmp	_3896
_3896:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CopyEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
	jmp	_3900
_3900:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CopyMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+524]
	add	esp,8
	jmp	_3904
_3904:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CountSurfaces:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+576]
	add	esp,4
	jmp	_3907
_3907:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CountTriangles:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	jmp	_3910
_3910:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CountVertices:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	jmp	_3913
_3913:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateBrush:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TBrush+60]
	add	esp,12
	jmp	_3918
_3918:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateCamera:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TCamera+496]
	add	esp,4
	jmp	_3921
_3921:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateCone:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	edx
	push	ecx
	call	dword [_sidesign_minib3d_TMesh+520]
	add	esp,12
	jmp	_3926
_3926:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateCylinder:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	edx
	push	ecx
	call	dword [_sidesign_minib3d_TMesh+516]
	add	esp,12
	jmp	_3931
_3931:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateCube:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TMesh+508]
	add	esp,4
	jmp	_3934
_3934:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TMesh+496]
	add	esp,4
	jmp	_3937
_3937:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateLight:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TLight+496]
	add	esp,8
	jmp	_3941
_3941:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreatePivot:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TPivot+496]
	add	esp,4
	jmp	_3944
_3944:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateSphere:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TMesh+512]
	add	esp,8
	jmp	_3948
_3948:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateSprite:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TSprite+620]
	add	esp,4
	jmp	_3951
_3951:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateSurface:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+560]
	add	esp,8
	jmp	_3955
_3955:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreateTexture:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	eax,dword [ebp+20]
	push	_bbNullObject
	push	eax
	push	edx
	push	ecx
	push	ebx
	call	dword [_sidesign_minib3d_TTexture+56]
	add	esp,20
	jmp	_3961
_3961:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_DeltaPitch:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+244]
	add	esp,8
	jmp	_3965
_3965:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_DeltaYaw:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+240]
	add	esp,8
	jmp	_3969
_3969:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityAlpha:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	eax,0
	jmp	_3973
_3973:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityAutoFade:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	mov	eax,0
	jmp	_3978
_3978:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityBlend:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,8
	mov	eax,0
	jmp	_3982
_3982:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityBox:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fld	dword [ebp+32]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+288]
	add	esp,28
	mov	eax,0
	jmp	_3991
_3991:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityClass:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+204]
	add	esp,4
	jmp	_3994
_3994:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityCollided:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+300]
	add	esp,8
	jmp	_3998
_3998:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,16
	mov	eax,0
	jmp	_4004
_4004:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityDistance:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+236]
	add	esp,8
	jmp	_4008
_4008:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityFX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,8
	mov	eax,0
	jmp	_4012
_4012:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityInView:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+556]
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	jmp	_4016
_4016:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+208]
	add	esp,4
	jmp	_4019
_4019:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityOrder:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	mov	eax,0
	jmp	_4023
_4023:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityParent:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+172]
	add	esp,12
	mov	eax,0
	jmp	_4028
_4028:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityPick:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	call	dword [_sidesign_minib3d_TPick+52]
	add	esp,8
	jmp	_4032
_4032:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityPickMode:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+296]
	add	esp,12
	mov	eax,0
	jmp	_4037
_4037:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityPitch:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+192]
	add	esp,8
	jmp	_4041
_4041:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityRadius:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+280]
	add	esp,12
	mov	eax,0
	jmp	_4046
_4046:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityRoll:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+200]
	add	esp,8
	jmp	_4050
_4050:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityShininess:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
	mov	eax,0
	jmp	_4054
_4054:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityTexture:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	edx,dword [ebp+20]
	push	edx
	push	ecx
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,16
	mov	eax,0
	jmp	_4060
_4060:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityType:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+292]
	add	esp,12
	mov	eax,0
	jmp	_4065
_4065:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityVisible:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TPick+60]
	add	esp,8
	jmp	_4069
_4069:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+180]
	add	esp,8
	jmp	_4073
_4073:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityY:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+184]
	add	esp,8
	jmp	_4077
_4077:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityYaw:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+196]
	add	esp,8
	jmp	_4081
_4081:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityZ:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	jmp	_4085
_4085:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ExtractAnimSeq:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	edx,dword [ebp+20]
	push	edx
	push	ecx
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,16
	jmp	_4091
_4091:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_FindChild:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+220]
	add	esp,8
	jmp	_4095
_4095:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_FindSurface:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+584]
	add	esp,8
	jmp	_4099
_4099:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_FitMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fld	dword [ebp+32]
	mov	edx,dword [ebp+36]
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+540]
	add	esp,32
	mov	eax,_bbNullObject
	jmp	_4109
_4109:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_FlipMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+532]
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_4112
_4112:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_FreeBrush:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
	jmp	_4115
_4115:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_FreeEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
	jmp	_4118
_4118:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_FreeTexture:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_4121
_4121:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_GetBrushTexture:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TTexture+116]
	add	esp,8
	jmp	_4125
_4125:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_GetChild:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+216]
	add	esp,8
	jmp	_4129
_4129:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_GetEntityBrush:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TBrush+92]
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_4132
_4132:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_GetEntityType:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+348]
	add	esp,4
	jmp	_4135
_4135:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_GetMatElement:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+272]
	fstp	st0
	add	esp,12
	fld	dword [_13787]
	jmp	_4140
_4140:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_GetParent:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+176]
	add	esp,4
	jmp	_4143
_4143:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_GetSurface:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+580]
	add	esp,8
	jmp	_4147
_4147:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_GetSurfaceBrush:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TBrush+96]
	add	esp,4
	jmp	_4150
_4150:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Graphics3D:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	push	eax
	push	edx
	push	ecx
	push	ebx
	push	esi
	call	dword [_sidesign_minib3d_TGlobal+48]
	add	esp,20
	mov	eax,0
	jmp	_4157
_4157:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_HandleSprite:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+636]
	add	esp,12
	mov	eax,0
	jmp	_4162
_4162:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_HideEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,4
	mov	eax,0
	jmp	_4165
_4165:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LightColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+504]
	add	esp,16
	mov	eax,0
	jmp	_4171
_4171:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LightConeAngles:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+508]
	add	esp,12
	mov	eax,0
	jmp	_4176
_4176:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LightRange:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+500]
	add	esp,8
	mov	eax,0
	jmp	_4180
_4180:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LinePick:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fld	dword [ebp+32]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TPick+56]
	add	esp,28
	jmp	_4189
_4189:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LoadAnimMesh:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TMesh+504]
	add	esp,8
	jmp	_4193
_4193:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LoadAnimTexture:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	mov	edi,dword [ebp+28]
	push	_bbNullObject
	push	edi
	push	eax
	push	edx
	push	ecx
	push	ebx
	push	esi
	call	dword [_sidesign_minib3d_TTexture+64]
	add	esp,28
	jmp	_4201
_4201:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LoadBrush:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TBrush+64]
	add	esp,16
	jmp	_4207
_4207:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LoadMesh:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TMesh+500]
	add	esp,8
	jmp	_4211
_4211:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LoadTexture:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	_bbNullObject
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TTexture+60]
	add	esp,12
	jmp	_4215
_4215:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LoadSprite:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	edx
	push	ecx
	call	dword [_sidesign_minib3d_TSprite+624]
	add	esp,12
	jmp	_4220
_4220:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_MeshDepth:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+572]
	add	esp,4
	jmp	_4223
_4223:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_MeshHeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+568]
	add	esp,4
	jmp	_4226
_4226:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_MeshWidth:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+564]
	add	esp,4
	jmp	_4229
_4229:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_MoveEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,0
	jmp	_4235
_4235:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_NameEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+168]
	add	esp,8
	mov	eax,0
	jmp	_4239
_4239:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PaintEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	mov	eax,0
	jmp	_4243
_4243:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PaintMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+536]
	add	esp,8
	mov	eax,_bbNullObject
	jmp	_4247
_4247:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PaintSurface:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	jmp	_4251
_4251:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedEntity:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+92]
	jmp	_4253
_4253:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedNX:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+76]
	jmp	_4255
_4255:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedNY:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+80]
	jmp	_4257
_4257:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedNZ:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+84]
	jmp	_4259
_4259:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedSurface:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+96]
	jmp	_4261
_4261:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedTime:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+88]
	jmp	_4263
_4263:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedTriangle:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+100]
	jmp	_4265
_4265:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedX:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+64]
	jmp	_4267
_4267:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedY:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+68]
	jmp	_4269
_4269:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PickedZ:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TPick+72]
	jmp	_4271
_4271:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PointEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	mov	eax,0
	jmp	_4276
_4276:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PositionEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	edx,dword [ebp+24]
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,20
	mov	eax,0
	jmp	_4283
_4283:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PositionMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+552]
	add	esp,16
	mov	eax,_bbNullObject
	jmp	_4289
_4289:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PositionTexture:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,12
	mov	eax,0
	jmp	_4294
_4294:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ProjectedX:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TCamera_projected_x]
	jmp	_4296
_4296:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ProjectedY:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TCamera_projected_y]
	jmp	_4298
_4298:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ProjectedZ:
	push	ebp
	mov	ebp,esp
	fld	dword [__sidesign_minib3d_TCamera_projected_z]
	jmp	_4300
_4300:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_RenderWorld:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TGlobal+80]
	mov	eax,0
	jmp	_4302
_4302:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ResetEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+276]
	add	esp,4
	mov	eax,0
	jmp	_4305
_4305:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_RotateEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	edx,dword [ebp+24]
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,20
	mov	eax,0
	jmp	_4312
_4312:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_RotateMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+548]
	add	esp,16
	mov	eax,_bbNullObject
	jmp	_4318
_4318:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_RotateSprite:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+628]
	add	esp,8
	mov	eax,0
	jmp	_4322
_4322:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_RotateTexture:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	mov	eax,0
	jmp	_4326
_4326:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ScaleEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	edx,dword [ebp+24]
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,0
	jmp	_4333
_4333:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ScaleMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+544]
	add	esp,16
	mov	eax,_bbNullObject
	jmp	_4339
_4339:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ScaleSprite:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+632]
	add	esp,12
	mov	eax,0
	jmp	_4344
_4344:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ScaleTexture:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,12
	mov	eax,0
	jmp	_4349
_4349:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_SetAnimTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,12
	mov	eax,0
	jmp	_4354
_4354:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_SetCubeFace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
	mov	eax,0
	jmp	_4358
_4358:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_SetCubeMode:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,8
	mov	eax,0
	jmp	_4362
_4362:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_ShowEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,4
	mov	eax,0
	jmp	_4365
_4365:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_SpriteViewMode:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+640]
	add	esp,8
	mov	eax,0
	jmp	_4369
_4369:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TextureBlend:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
	mov	eax,0
	jmp	_4373
_4373:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TextureCoords:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,8
	mov	eax,0
	jmp	_4377
_4377:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TextureHeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	jmp	_4380
_4380:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TextureFilter:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	dword [_sidesign_minib3d_TTexture+124]
	add	esp,8
	mov	eax,0
	jmp	_4384
_4384:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TextureName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
	jmp	_4387
_4387:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TextureWidth:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	jmp	_4390
_4390:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TFormedX:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TEntity+260]
	jmp	_4392
_4392:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TFormedY:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TEntity+264]
	jmp	_4394
_4394:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TFormedZ:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TEntity+268]
	jmp	_4396
_4396:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TFormNormal:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	push	eax
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TEntity+256]
	add	esp,20
	mov	eax,0
	jmp	_4403
_4403:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TFormPoint:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	push	eax
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TEntity+248]
	add	esp,20
	mov	eax,0
	jmp	_4410
_4410:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TFormVector:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	push	eax
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TEntity+252]
	add	esp,20
	mov	eax,0
	jmp	_4417
_4417:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TranslateEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	edx,dword [ebp+24]
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,0
	jmp	_4424
_4424:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TriangleVertex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,12
	jmp	_4429
_4429:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TurnEntity:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	mov	edx,dword [ebp+24]
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,20
	mov	eax,0
	jmp	_4436
_4436:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_UpdateNormals:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+556]
	add	esp,4
	mov	eax,0
	jmp	_4439
_4439:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_UpdateWorld:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TGlobal+76]
	add	esp,4
	mov	eax,0
	jmp	_4442
_4442:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VectorPitch:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TVector+100]
	add	esp,12
	jmp	_4447
_4447:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VectorYaw:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_sidesign_minib3d_TVector+96]
	add	esp,12
	jmp	_4452
_4452:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexAlpha:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,8
	jmp	_4456
_4456:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexBlue:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	jmp	_4460
_4460:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,24
	jmp	_4468
_4468:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexCoords:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,20
	jmp	_4475
_4475:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexGreen:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,8
	jmp	_4479
_4479:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexNormal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,20
	jmp	_4486
_4486:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexNX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	jmp	_4490
_4490:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexNY:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	jmp	_4494
_4494:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexNZ:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
	jmp	_4498
_4498:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexRed:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	jmp	_4502
_4502:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexTexCoords:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	mov	edx,dword [ebp+28]
	push	edx
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	jmp	_4510
_4510:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexU:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,12
	jmp	_4515
_4515:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexV:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	jmp	_4520
_4520:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexW:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,12
	jmp	_4525
_4525:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	jmp	_4529
_4529:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexY:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	jmp	_4533
_4533:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_VertexZ:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	jmp	_4537
_4537:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Wireframe:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_sidesign_minib3d_TGlobal+56]
	add	esp,4
	mov	eax,0
	jmp	_4540
_4540:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_Text:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	edx
	push	ecx
	call	dword [_sidesign_minib3d_TBlitz2D+48]
	add	esp,12
	mov	eax,0
	jmp	_4545
_4545:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_BeginMax2D:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TBlitz2D+52]
	mov	eax,0
	jmp	_4547
_4547:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EndMax2D:
	push	ebp
	mov	ebp,esp
	call	dword [_sidesign_minib3d_TBlitz2D+56]
	mov	eax,0
	jmp	_4549
_4549:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityScaleX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+356]
	add	esp,8
	jmp	_4553
_4553:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityScaleY:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+360]
	add	esp,8
	jmp	_4557
_4557:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_EntityScaleZ:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+364]
	add	esp,8
	jmp	_4561
_4561:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_TweenFrame:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	cmp	eax,_bbNullObject
	jne	_14081
	fstp	st0
	jmp	_10444
_14081:
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+484]
	add	esp,8
_10444:
	mov	eax,0
	jmp	_4565
_4565:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_RecordFrame:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	eax,_bbNullObject
	je	_10446
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+476]
	add	esp,8
_10446:
	mov	eax,0
	jmp	_4569
_4569:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_PlayFrame:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	eax,_bbNullObject
	je	_10448
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+480]
	add	esp,8
_10448:
	mov	eax,0
	jmp	_4573
_4573:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_InsertFrame:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	eax,_bbNullObject
	je	_10450
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+468]
	add	esp,8
_10450:
	mov	eax,0
	jmp	_4577
_4577:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_SetAnimationFrame:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fld	dword [ebp+32]
	fld	dword [ebp+36]
	fld	dword [ebp+40]
	fld	dword [ebp+44]
	cmp	eax,_bbNullObject
	jne	_14094
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	fstp	st0
	jmp	_10452
_14094:
	push	dword [ebp+48]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp+16]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+472]
	add	esp,44
_10452:
	mov	eax,0
	jmp	_4590
_4590:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LightMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_4600
_4600:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_MeshesIntersect:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_4604
_4604:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_CreatePlane:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_4608
_4608:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AlignToVector:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_4615
_4615:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_LoadAnimSeq:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_4619
_4619:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_SetAnimKey:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_4626
_4626:
	mov	esp,ebp
	pop	ebp
	ret
_sidesign_minib3d_AddAnimSeq:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_4630
_4630:
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_4662:
	dd	0
	align	4
_4661:
_799:
	dd	_bbFloatTypeTag
	dd	0x3e800000
	dd	_bbFloatTypeTag
	dd	0x3f400000
	dd	_bbFloatTypeTag
	dd	0x3f400000
	dd	_bbFloatTypeTag
	dd	0x3e800000
_801:
	dd	_bbFloatTypeTag
	dd	0x3f00de51
	dd	_bbFloatTypeTag
	dd	0x3f54f0a1
	dd	_bbFloatTypeTag
	dd	0x3f47d582
	dd	_bbFloatTypeTag
	dd	0x3e80396c
	dd	_bbFloatTypeTag
	dd	0x3e679c7d
	dd	_bbFloatTypeTag
	dd	0x3ed38919
_803:
	dd	_bbFloatTypeTag
	dd	0x3ec00000
	dd	_bbFloatTypeTag
	dd	0x3e800000
	dd	_bbFloatTypeTag
	dd	0x3e000000
	dd	_bbFloatTypeTag
	dd	0x3f400000
	dd	_bbFloatTypeTag
	dd	0x3f600000
	dd	_bbFloatTypeTag
	dd	0x3e800000
	dd	_bbFloatTypeTag
	dd	0x3f200000
	dd	_bbFloatTypeTag
	dd	0x3f400000
_805:
	dd	_bbFloatTypeTag
	dd	0x3f000000
	dd	_bbFloatTypeTag
	dd	0x3f000000
	dd	_bbFloatTypeTag
	dd	0x3e99999a
	dd	_bbFloatTypeTag
	dd	0x3dcccccd
	dd	_bbFloatTypeTag
	dd	0x3f333333
	dd	_bbFloatTypeTag
	dd	0x3f666666
	dd	_bbFloatTypeTag
	dd	0x3f666666
	dd	_bbFloatTypeTag
	dd	0x3e99999a
	dd	_bbFloatTypeTag
	dd	0x3dcccccd
	dd	_bbFloatTypeTag
	dd	0x3f333333
_807:
	dd	_bbFloatTypeTag
	dd	0x3eede624
	dd	_bbFloatTypeTag
	dd	0x3eede624
	dd	_bbFloatTypeTag
	dd	0x3e0676f3
	dd	_bbFloatTypeTag
	dd	0x3f4c4867
	dd	_bbFloatTypeTag
	dd	0x3f090cee
	dd	_bbFloatTypeTag
	dd	0x3f5e6243
	dd	_bbFloatTypeTag
	dd	0x3f5e6243
	dd	_bbFloatTypeTag
	dd	0x3f090cee
	dd	_bbFloatTypeTag
	dd	0x3f4c4867
	dd	_bbFloatTypeTag
	dd	0x3e0676f3
	dd	_bbFloatTypeTag
	dd	0x3e4ede62
	dd	_bbFloatTypeTag
	dd	0x3e4ede62
_809:
	dd	_bbFloatTypeTag
	dd	0x3f100000
	dd	_bbFloatTypeTag
	dd	0x3ee00000
	dd	_bbFloatTypeTag
	dd	0x3d800000
	dd	_bbFloatTypeTag
	dd	0x3f700000
	dd	_bbFloatTypeTag
	dd	0x3ea00000
	dd	_bbFloatTypeTag
	dd	0x3f300000
	dd	_bbFloatTypeTag
	dd	0x3f300000
	dd	_bbFloatTypeTag
	dd	0x3f500000
	dd	_bbFloatTypeTag
	dd	0x3f500000
	dd	_bbFloatTypeTag
	dd	0x3e400000
	dd	_bbFloatTypeTag
	dd	0x3f700000
	dd	_bbFloatTypeTag
	dd	0x3f100000
	dd	_bbFloatTypeTag
	dd	0x3ee00000
	dd	_bbFloatTypeTag
	dd	0x3d800000
	dd	_bbFloatTypeTag
	dd	0x3e400000
	dd	_bbFloatTypeTag
	dd	0x3ea00000
_811:
	dd	_bbFloatTypeTag
	dd	0x3f000000
	dd	_bbFloatTypeTag
	dd	0x3f000000
	dd	_bbFloatTypeTag
	dd	0x3e2aaaab
	dd	_bbFloatTypeTag
	dd	0x3f71c71c
	dd	_bbFloatTypeTag
	dd	0x3f000000
	dd	_bbFloatTypeTag
	dd	0x3e2aaaab
	dd	_bbFloatTypeTag
	dd	0x3f000000
	dd	_bbFloatTypeTag
	dd	0x3f555555
	dd	_bbFloatTypeTag
	dd	0x3e2aaaab
	dd	_bbFloatTypeTag
	dd	0x3e8e38e4
	dd	_bbFloatTypeTag
	dd	0x3f555555
	dd	_bbFloatTypeTag
	dd	0x3ec71c72
	dd	_bbFloatTypeTag
	dd	0x3e2aaaab
	dd	_bbFloatTypeTag
	dd	0x3f1c71c7
	dd	_bbFloatTypeTag
	dd	0x3f555555
	dd	_bbFloatTypeTag
	dd	0x3f38e38e
	dd	_bbFloatTypeTag
	dd	0x3f555555
	dd	_bbFloatTypeTag
	dd	0x3d638e39
_813:
	dd	_bbFloatTypeTag
	dd	0x3ed55555
	dd	_bbFloatTypeTag
	dd	0x3f200000
	dd	_bbFloatTypeTag
	dd	0x3f6aaaab
	dd	_bbFloatTypeTag
	dd	0x3f600000
	dd	_bbFloatTypeTag
	dd	0x3e800000
	dd	_bbFloatTypeTag
	dd	0x3ec00000
	dd	_bbFloatTypeTag
	dd	0x3ed55555
	dd	_bbFloatTypeTag
	dd	0x3e000000
	dd	_bbFloatTypeTag
	dd	0x3f400000
	dd	_bbFloatTypeTag
	dd	0x3e000000
	dd	_bbFloatTypeTag
	dd	0x3daaaaab
	dd	_bbFloatTypeTag
	dd	0x3e000000
	dd	_bbFloatTypeTag
	dd	0x3f400000
	dd	_bbFloatTypeTag
	dd	0x3f200000
	dd	_bbFloatTypeTag
	dd	0x3e800000
	dd	_bbFloatTypeTag
	dd	0x3f600000
	dd	_bbFloatTypeTag
	dd	0x3f155555
	dd	_bbFloatTypeTag
	dd	0x3ec00000
	dd	_bbFloatTypeTag
	dd	0x3f6aaaab
	dd	_bbFloatTypeTag
	dd	0x3ec00000
	dd	_bbFloatTypeTag
	dd	0x3daaaaab
	dd	_bbFloatTypeTag
	dd	0x3f200000
	dd	_bbFloatTypeTag
	dd	0x3f155555
	dd	_bbFloatTypeTag
	dd	0x3f600000
_815:
	dd	_bbFloatTypeTag
	dd	0x3ec00000
	dd	_bbFloatTypeTag
	dd	0x3ee00000
	dd	_bbFloatTypeTag
	dd	0x3f200000
	dd	_bbFloatTypeTag
	dd	0x3d800000
	dd	_bbFloatTypeTag
	dd	0x3f600000
	dd	_bbFloatTypeTag
	dd	0x3e400000
	dd	_bbFloatTypeTag
	dd	0x3e000000
	dd	_bbFloatTypeTag
	dd	0x3d800000
	dd	_bbFloatTypeTag
	dd	0x3ec00000
	dd	_bbFloatTypeTag
	dd	0x3f300000
	dd	_bbFloatTypeTag
	dd	0x3f600000
	dd	_bbFloatTypeTag
	dd	0x3ee00000
	dd	_bbFloatTypeTag
	dd	0x3f200000
	dd	_bbFloatTypeTag
	dd	0x3f100000
	dd	_bbFloatTypeTag
	dd	0x3ec00000
	dd	_bbFloatTypeTag
	dd	0x3f700000
	dd	_bbFloatTypeTag
	dd	0x3f200000
	dd	_bbFloatTypeTag
	dd	0x3ea00000
	dd	_bbFloatTypeTag
	dd	0x3e000000
	dd	_bbFloatTypeTag
	dd	0x3f100000
	dd	_bbFloatTypeTag
	dd	0x3e000000
	dd	_bbFloatTypeTag
	dd	0x3f500000
	dd	_bbFloatTypeTag
	dd	0x3ec00000
	dd	_bbFloatTypeTag
	dd	0x3e400000
	dd	_bbFloatTypeTag
	dd	0x3f600000
	dd	_bbFloatTypeTag
	dd	0x3f700000
	dd	_bbFloatTypeTag
	dd	0x3f600000
	dd	_bbFloatTypeTag
	dd	0x3f300000
	dd	_bbFloatTypeTag
	dd	0x3e000000
	dd	_bbFloatTypeTag
	dd	0x3ea00000
	dd	_bbFloatTypeTag
	dd	0x3f200000
	dd	_bbFloatTypeTag
	dd	0x3f500000
	dd	0
	align	4
_4660:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_width:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_height:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_mode:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_depth:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_rate:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_ambient_red:
	dd	0x3f000000
	align	4
__sidesign_minib3d_TGlobal_ambient_green:
	dd	0x3f000000
	align	4
__sidesign_minib3d_TGlobal_ambient_blue:
	dd	0x3f000000
	align	4
__sidesign_minib3d_TGlobal_vbo_enabled:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_aa:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_ACSIZE:
	dd	0
	align	4
__sidesign_minib3d_TGlobal_jitter:
	dd	0
	align	4
_4634:
	dd	0
_4632:
	db	"f",0
	align	4
__sidesign_minib3d_TGlobal_j:
	dd	_bbEmptyArray
_817:
	db	"TGlobal",0
_818:
	db	"New",0
_819:
	db	"()i",0
_820:
	db	"Delete",0
_821:
	db	"Graphics3D",0
_822:
	db	"(i,i,i,i,i)i",0
_823:
	db	"AntiAlias",0
_824:
	db	"(i)i",0
_825:
	db	"Wireframe",0
_826:
	db	"AmbientLight",0
_827:
	db	"(f,f,f)i",0
_828:
	db	"ClearCollisions",0
_829:
	db	"Collisions",0
_830:
	db	"(i,i,i,i)i",0
_831:
	db	"ClearWorld",0
_832:
	db	"(i,i,i)i",0
_833:
	db	"UpdateWorld",0
_834:
	db	"(f)i",0
_835:
	db	"RenderWorld",0
_836:
	db	"RenderWorldAA",0
_837:
	db	"RenderCamera",0
_838:
	db	"(:TCamera)i",0
_839:
	db	"AutoFade",0
_840:
	db	"(:TCamera,:TMesh)i",0
_841:
	db	"GraphicsInit",0
_842:
	db	"EnableStates",0
_843:
	db	"RenderListAdd",0
_844:
	db	"(:TMesh,:brl.linkedlist.TList)i",0
_845:
	db	"UpdateSprites",0
_846:
	db	"(:TCamera,:brl.linkedlist.TList)i",0
	align	4
_816:
	dd	2
	dd	_817
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_821
	dd	_822
	dd	48
	dd	7
	dd	_823
	dd	_824
	dd	52
	dd	7
	dd	_825
	dd	_824
	dd	56
	dd	7
	dd	_826
	dd	_827
	dd	60
	dd	7
	dd	_828
	dd	_819
	dd	64
	dd	7
	dd	_829
	dd	_830
	dd	68
	dd	7
	dd	_831
	dd	_832
	dd	72
	dd	7
	dd	_833
	dd	_834
	dd	76
	dd	7
	dd	_835
	dd	_819
	dd	80
	dd	7
	dd	_836
	dd	_819
	dd	84
	dd	7
	dd	_837
	dd	_838
	dd	88
	dd	7
	dd	_839
	dd	_840
	dd	92
	dd	7
	dd	_841
	dd	_819
	dd	96
	dd	7
	dd	_842
	dd	_819
	dd	100
	dd	7
	dd	_843
	dd	_844
	dd	104
	dd	7
	dd	_845
	dd	_846
	dd	108
	dd	0
	align	4
_sidesign_minib3d_TGlobal:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_816
	dd	8
	dd	__sidesign_minib3d_TGlobal_New
	dd	__sidesign_minib3d_TGlobal_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TGlobal_Graphics3D
	dd	__sidesign_minib3d_TGlobal_AntiAlias
	dd	__sidesign_minib3d_TGlobal_Wireframe
	dd	__sidesign_minib3d_TGlobal_AmbientLight
	dd	__sidesign_minib3d_TGlobal_ClearCollisions
	dd	__sidesign_minib3d_TGlobal_Collisions
	dd	__sidesign_minib3d_TGlobal_ClearWorld
	dd	__sidesign_minib3d_TGlobal_UpdateWorld
	dd	__sidesign_minib3d_TGlobal_RenderWorld
	dd	__sidesign_minib3d_TGlobal_RenderWorldAA
	dd	__sidesign_minib3d_TGlobal_RenderCamera
	dd	__sidesign_minib3d_TGlobal_AutoFade
	dd	__sidesign_minib3d_TGlobal_GraphicsInit
	dd	__sidesign_minib3d_TGlobal_EnableStates
	dd	__sidesign_minib3d_TGlobal_RenderListAdd
	dd	__sidesign_minib3d_TGlobal_UpdateSprites
	align	4
__sidesign_minib3d_TSceneGraph_scenegraph_list:
	dd	_bbNullObject
_848:
	db	"TSceneGraph",0
_849:
	db	"cluster",0
_850:
	db	"[,]:brl.linkedlist.TList",0
_851:
	db	"scale",0
_852:
	db	"i",0
_853:
	db	"clustermax",0
_854:
	db	"defaultsize",0
_855:
	db	"Create",0
_856:
	db	"(i,i):TSceneGraph",0
_857:
	db	"Free",0
_858:
	db	"AddToSceneGraph",0
_859:
	db	"(:TEntity)i",0
_860:
	db	"AddEntity",0
_861:
	db	"(:TEntity,i,i)i",0
_862:
	db	"Render",0
_863:
	db	"(:TCamera,i)i",0
	align	4
_847:
	dd	2
	dd	_848
	dd	3
	dd	_849
	dd	_850
	dd	8
	dd	3
	dd	_851
	dd	_852
	dd	12
	dd	3
	dd	_853
	dd	_852
	dd	16
	dd	3
	dd	_854
	dd	_852
	dd	20
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_855
	dd	_856
	dd	48
	dd	6
	dd	_857
	dd	_819
	dd	52
	dd	6
	dd	_858
	dd	_859
	dd	56
	dd	6
	dd	_860
	dd	_861
	dd	60
	dd	6
	dd	_862
	dd	_863
	dd	64
	dd	0
	align	4
_sidesign_minib3d_TSceneGraph:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_847
	dd	24
	dd	__sidesign_minib3d_TSceneGraph_New
	dd	__sidesign_minib3d_TSceneGraph_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TSceneGraph_Create
	dd	__sidesign_minib3d_TSceneGraph_Free
	dd	__sidesign_minib3d_TSceneGraph_AddToSceneGraph
	dd	__sidesign_minib3d_TSceneGraph_AddEntity
	dd	__sidesign_minib3d_TSceneGraph_Render
_865:
	db	"TAnimationFrame",0
_866:
	db	"x",0
_867:
	db	"f",0
_868:
	db	"y",0
_869:
	db	"z",0
_870:
	db	"rx",0
_871:
	db	"ry",0
_872:
	db	"rz",0
_873:
	db	"sx",0
_874:
	db	"sy",0
_875:
	db	"sz",0
_876:
	db	"Copy",0
_877:
	db	"():TAnimationFrame",0
	align	4
_864:
	dd	2
	dd	_865
	dd	3
	dd	_866
	dd	_867
	dd	8
	dd	3
	dd	_868
	dd	_867
	dd	12
	dd	3
	dd	_869
	dd	_867
	dd	16
	dd	3
	dd	_870
	dd	_867
	dd	20
	dd	3
	dd	_871
	dd	_867
	dd	24
	dd	3
	dd	_872
	dd	_867
	dd	28
	dd	3
	dd	_873
	dd	_867
	dd	32
	dd	3
	dd	_874
	dd	_867
	dd	36
	dd	3
	dd	_875
	dd	_867
	dd	40
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_876
	dd	_877
	dd	48
	dd	0
	align	4
_sidesign_minib3d_TAnimationFrame:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_864
	dd	44
	dd	__sidesign_minib3d_TAnimationFrame_New
	dd	__sidesign_minib3d_TAnimationFrame_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TAnimationFrame_Copy
	align	4
__sidesign_minib3d_TEntity_entity_list:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TEntity_tformed_x:
	dd	0x0
	align	4
__sidesign_minib3d_TEntity_tformed_y:
	dd	0x0
	align	4
__sidesign_minib3d_TEntity_tformed_z:
	dd	0x0
_879:
	db	"TEntity",0
_880:
	db	"need_update",0
_881:
	db	"update_along",0
_882:
	db	"child_list",0
_883:
	db	":brl.linkedlist.TList",0
_884:
	db	"parent",0
_885:
	db	":TEntity",0
_886:
	db	"rotmat",0
_887:
	db	":TMatrix",0
_888:
	db	"mat",0
_889:
	db	"px",0
_890:
	db	"py",0
_891:
	db	"pz",0
_892:
	db	"qw",0
_893:
	db	"qx",0
_894:
	db	"qy",0
_895:
	db	"qz",0
_896:
	db	"Animation",0
_897:
	db	"[]:TAnimationFrame",0
_898:
	db	"MaxFrames",0
_899:
	db	"CurrentFrame",0
_900:
	db	"name",0
_901:
	db	"$",0
_902:
	db	"class",0
_903:
	db	"hide",0
_904:
	db	"order",0
_905:
	db	"alpha_order",0
_906:
	db	"auto_fade",0
_907:
	db	"fade_near",0
_908:
	db	"fade_far",0
_909:
	db	"fade_alpha",0
_910:
	db	"brush",0
_911:
	db	":TBrush",0
_912:
	db	"cull_radius",0
_913:
	db	"radius_x",0
_914:
	db	"radius_y",0
_915:
	db	"radiusx",0
_916:
	db	"radiusy",0
_917:
	db	"box_x",0
_918:
	db	"box_y",0
_919:
	db	"box_z",0
_920:
	db	"box_w",0
_921:
	db	"box_h",0
_922:
	db	"box_d",0
_923:
	db	"collision_type",0
_924:
	db	"no_collisions",0
_925:
	db	"collision",0
_926:
	db	"[]:TCollisionImpact",0
_927:
	db	"pick_mode",0
_928:
	db	"obscurer",0
_929:
	db	"anim",0
_930:
	db	"anim_render",0
_931:
	db	"anim_mode",0
_932:
	db	"anim_time",0
_933:
	db	"anim_speed",0
_934:
	db	"anim_seq",0
_935:
	db	"anim_trans",0
_936:
	db	"anim_dir",0
_937:
	db	"anim_seqs_first",0
_938:
	db	"[]i",0
_939:
	db	"anim_seqs_last",0
_940:
	db	"no_seqs",0
_941:
	db	"anim_update",0
_942:
	db	"old_x",0
_943:
	db	"old_y",0
_944:
	db	"old_z",0
_945:
	db	"link",0
_946:
	db	":brl.linkedlist.TLink",0
_947:
	db	"CopyEntity",0
_948:
	db	"(:TEntity):TEntity",0
_949:
	db	"Update",0
_950:
	db	"FreeEntity",0
_951:
	db	"PositionEntity",0
_952:
	db	"(f,f,f,i)i",0
_953:
	db	"MoveEntity",0
_954:
	db	"TranslateEntity",0
_955:
	db	"ScaleEntity",0
_956:
	db	"RotateEntity",0
_957:
	db	"TurnEntity",0
_958:
	db	"PointEntity",0
_959:
	db	"(:TEntity,f)i",0
_960:
	db	"LoadAnimSeq",0
_961:
	db	"($)i",0
_962:
	db	"ExtractAnimSeq",0
_963:
	db	"Animate",0
_964:
	db	"(i,f,i,i)i",0
_965:
	db	"SetAnimTime",0
_966:
	db	"(f,i)i",0
_967:
	db	"AnimSeq",0
_968:
	db	"AnimLength",0
_969:
	db	"AnimTime",0
_970:
	db	"()f",0
_971:
	db	"Animating",0
_972:
	db	"EntityColor",0
_973:
	db	"EntityAlpha",0
_974:
	db	"EntityShininess",0
_975:
	db	"EntityTexture",0
_976:
	db	"(:TTexture,i,i)i",0
_977:
	db	"EntityBlend",0
_978:
	db	"EntityFX",0
_979:
	db	"EntityAutoFade",0
_980:
	db	"(f,f)i",0
_981:
	db	"PaintEntity",0
_982:
	db	"(:TBrush)i",0
_983:
	db	"EntityOrder",0
_984:
	db	"ShowEntity",0
_985:
	db	"HideEntity",0
_986:
	db	"Hidden",0
_987:
	db	"NameEntity",0
_988:
	db	"EntityParent",0
_989:
	db	"(:TEntity,i)i",0
_990:
	db	"GetParent",0
_991:
	db	"():TEntity",0
_992:
	db	"EntityX",0
_993:
	db	"(i)f",0
_994:
	db	"EntityY",0
_995:
	db	"EntityZ",0
_996:
	db	"EntityPitch",0
_997:
	db	"EntityYaw",0
_998:
	db	"EntityRoll",0
_999:
	db	"EntityClass",0
_1000:
	db	"()$",0
_1001:
	db	"EntityName",0
_1002:
	db	"CountChildren",0
_1003:
	db	"GetChild",0
_1004:
	db	"(i):TEntity",0
_1005:
	db	"FindChild",0
_1006:
	db	"($):TEntity",0
_1007:
	db	"EntityPick",0
_1008:
	db	"(f):TEntity",0
_1009:
	db	"LinePick",0
_1010:
	db	"(f,f,f,f,f,f,f):TEntity",0
_1011:
	db	"EntityVisible",0
_1012:
	db	"(:TEntity,:TEntity)i",0
_1013:
	db	"EntityDistance",0
_1014:
	db	"(:TEntity)f",0
_1015:
	db	"DeltaYaw",0
_1016:
	db	"DeltaPitch",0
_1017:
	db	"TFormPoint",0
_1018:
	db	"(f,f,f,:TEntity,:TEntity)i",0
_1019:
	db	"TFormVector",0
_1020:
	db	"TFormNormal",0
_1021:
	db	"TFormedX",0
_1022:
	db	"TFormedY",0
_1023:
	db	"TFormedZ",0
_1024:
	db	"GetMatElement",0
_1025:
	db	"(i,i)f",0
_1026:
	db	"ResetEntity",0
_1027:
	db	"EntityRadius",0
_1028:
	db	"UpdateRadius",0
_1029:
	db	"EntityBox",0
_1030:
	db	"(f,f,f,f,f,f)i",0
_1031:
	db	"EntityType",0
_1032:
	db	"(i,i)i",0
_1033:
	db	"EntityPickMode",0
_1034:
	db	"EntityCollided",0
_1035:
	db	"CountCollisions",0
_1036:
	db	"CollisionX",0
_1037:
	db	"CollisionY",0
_1038:
	db	"CollisionZ",0
_1039:
	db	"CollisionNX",0
_1040:
	db	"CollisionNY",0
_1041:
	db	"CollisionNZ",0
_1042:
	db	"CollisionTime",0
_1043:
	db	"CollisionEntity",0
_1044:
	db	"CollisionSurface",0
_1045:
	db	"(i):TSurface",0
_1046:
	db	"CollisionTriangle",0
_1047:
	db	"GetEntityType",0
_1048:
	db	"MeshCullRadius",0
_1049:
	db	"EntityScaleX",0
_1050:
	db	"EntityScaleY",0
_1051:
	db	"EntityScaleZ",0
_1052:
	db	"BoundingSphereNew",0
_1053:
	db	"(*f,*f,*f,*f)i",0
_1054:
	db	"CountAllChildren",0
_1055:
	db	"GetChildFromAll",0
_1056:
	db	"(i,*i,:TEntity):TEntity",0
_1057:
	db	"UpdateMat",0
_1058:
	db	"AddParent",0
_1059:
	db	"UpdateChildren",0
_1060:
	db	"EntityDistanceSquared0",0
_1061:
	db	"EntityDistanceSquared",0
_1062:
	db	"EntityListAdd",0
_1063:
	db	"(:brl.linkedlist.TList)i",0
_1064:
	db	"MQ_CopyMat",0
_1065:
	db	"():TMatrix",0
_1066:
	db	"MQ_Rotate",0
_1067:
	db	"MQ_Turn",0
_1068:
	db	"(f,f,f,f,i)i",0
_1069:
	db	"MQ_Turn2",0
_1070:
	db	"MQ_TransformPoint",0
_1071:
	db	"(*f,*f,*f)i",0
_1072:
	db	"MQ_Position",0
_1073:
	db	"MQ_Move",0
_1074:
	db	"MQ_GetInvMatrix",0
_1075:
	db	"(i):TMatrix",0
_1076:
	db	"MQ_GetMatrix",0
_1077:
	db	"MQ_Update",0
_1078:
	db	"MQ_Scale",0
_1079:
	db	"MQ_SetParent",0
_1080:
	db	"MQ_GetScaleXYZ",0
_1081:
	db	"(*f,*f,*f,i)i",0
_1082:
	db	"SetUpdateFlag",0
_1083:
	db	"GetFrame",0
_1084:
	db	"(i):TAnimationFrame",0
_1085:
	db	"DeleteFrame",0
_1086:
	db	"InsertFrame",0
_1087:
	db	"SetAnimationFrame",0
_1088:
	db	"(i,f,f,f,f,f,f,f,f,f)i",0
_1089:
	db	"RecordFrame",0
_1090:
	db	"PlayFrame",0
_1091:
	db	"TweenFrame",0
_1092:
	db	"ApplyAnimationTo",0
_1093:
	db	"AngDiff2",0
_1094:
	db	"(f,f)f",0
	align	4
_878:
	dd	2
	dd	_879
	dd	3
	dd	_880
	dd	_852
	dd	8
	dd	3
	dd	_881
	dd	_852
	dd	12
	dd	3
	dd	_882
	dd	_883
	dd	16
	dd	3
	dd	_884
	dd	_885
	dd	20
	dd	3
	dd	_886
	dd	_887
	dd	24
	dd	3
	dd	_888
	dd	_887
	dd	28
	dd	3
	dd	_889
	dd	_867
	dd	32
	dd	3
	dd	_890
	dd	_867
	dd	36
	dd	3
	dd	_891
	dd	_867
	dd	40
	dd	3
	dd	_873
	dd	_867
	dd	44
	dd	3
	dd	_874
	dd	_867
	dd	48
	dd	3
	dd	_875
	dd	_867
	dd	52
	dd	3
	dd	_870
	dd	_867
	dd	56
	dd	3
	dd	_871
	dd	_867
	dd	60
	dd	3
	dd	_872
	dd	_867
	dd	64
	dd	3
	dd	_892
	dd	_867
	dd	68
	dd	3
	dd	_893
	dd	_867
	dd	72
	dd	3
	dd	_894
	dd	_867
	dd	76
	dd	3
	dd	_895
	dd	_867
	dd	80
	dd	3
	dd	_896
	dd	_897
	dd	84
	dd	3
	dd	_898
	dd	_852
	dd	88
	dd	3
	dd	_899
	dd	_867
	dd	92
	dd	3
	dd	_900
	dd	_901
	dd	96
	dd	3
	dd	_902
	dd	_901
	dd	100
	dd	3
	dd	_903
	dd	_852
	dd	104
	dd	3
	dd	_904
	dd	_852
	dd	108
	dd	3
	dd	_905
	dd	_867
	dd	112
	dd	3
	dd	_906
	dd	_852
	dd	116
	dd	3
	dd	_907
	dd	_867
	dd	120
	dd	3
	dd	_908
	dd	_867
	dd	124
	dd	3
	dd	_909
	dd	_867
	dd	128
	dd	3
	dd	_910
	dd	_911
	dd	132
	dd	3
	dd	_912
	dd	_867
	dd	136
	dd	3
	dd	_913
	dd	_867
	dd	140
	dd	3
	dd	_914
	dd	_867
	dd	144
	dd	3
	dd	_915
	dd	_867
	dd	148
	dd	3
	dd	_916
	dd	_867
	dd	152
	dd	3
	dd	_917
	dd	_867
	dd	156
	dd	3
	dd	_918
	dd	_867
	dd	160
	dd	3
	dd	_919
	dd	_867
	dd	164
	dd	3
	dd	_920
	dd	_867
	dd	168
	dd	3
	dd	_921
	dd	_867
	dd	172
	dd	3
	dd	_922
	dd	_867
	dd	176
	dd	3
	dd	_923
	dd	_852
	dd	180
	dd	3
	dd	_924
	dd	_852
	dd	184
	dd	3
	dd	_925
	dd	_926
	dd	188
	dd	3
	dd	_927
	dd	_852
	dd	192
	dd	3
	dd	_928
	dd	_852
	dd	196
	dd	3
	dd	_929
	dd	_852
	dd	200
	dd	3
	dd	_930
	dd	_852
	dd	204
	dd	3
	dd	_931
	dd	_852
	dd	208
	dd	3
	dd	_932
	dd	_867
	dd	212
	dd	3
	dd	_933
	dd	_867
	dd	216
	dd	3
	dd	_934
	dd	_852
	dd	220
	dd	3
	dd	_935
	dd	_852
	dd	224
	dd	3
	dd	_936
	dd	_852
	dd	228
	dd	3
	dd	_937
	dd	_938
	dd	232
	dd	3
	dd	_939
	dd	_938
	dd	236
	dd	3
	dd	_940
	dd	_852
	dd	240
	dd	3
	dd	_941
	dd	_852
	dd	244
	dd	3
	dd	_942
	dd	_867
	dd	248
	dd	3
	dd	_943
	dd	_867
	dd	252
	dd	3
	dd	_944
	dd	_867
	dd	256
	dd	3
	dd	_945
	dd	_946
	dd	260
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_947
	dd	_948
	dd	48
	dd	6
	dd	_949
	dd	_819
	dd	52
	dd	6
	dd	_950
	dd	_819
	dd	56
	dd	6
	dd	_951
	dd	_952
	dd	60
	dd	6
	dd	_953
	dd	_827
	dd	64
	dd	6
	dd	_954
	dd	_952
	dd	68
	dd	6
	dd	_955
	dd	_952
	dd	72
	dd	6
	dd	_956
	dd	_952
	dd	76
	dd	6
	dd	_957
	dd	_952
	dd	80
	dd	6
	dd	_958
	dd	_959
	dd	84
	dd	6
	dd	_960
	dd	_961
	dd	88
	dd	6
	dd	_962
	dd	_832
	dd	92
	dd	6
	dd	_963
	dd	_964
	dd	96
	dd	6
	dd	_965
	dd	_966
	dd	100
	dd	6
	dd	_967
	dd	_819
	dd	104
	dd	6
	dd	_968
	dd	_819
	dd	108
	dd	6
	dd	_969
	dd	_970
	dd	112
	dd	6
	dd	_971
	dd	_819
	dd	116
	dd	6
	dd	_972
	dd	_827
	dd	120
	dd	6
	dd	_973
	dd	_834
	dd	124
	dd	6
	dd	_974
	dd	_834
	dd	128
	dd	6
	dd	_975
	dd	_976
	dd	132
	dd	6
	dd	_977
	dd	_824
	dd	136
	dd	6
	dd	_978
	dd	_824
	dd	140
	dd	6
	dd	_979
	dd	_980
	dd	144
	dd	6
	dd	_981
	dd	_982
	dd	148
	dd	6
	dd	_983
	dd	_824
	dd	152
	dd	6
	dd	_984
	dd	_819
	dd	156
	dd	6
	dd	_985
	dd	_819
	dd	160
	dd	6
	dd	_986
	dd	_819
	dd	164
	dd	6
	dd	_987
	dd	_961
	dd	168
	dd	6
	dd	_988
	dd	_989
	dd	172
	dd	6
	dd	_990
	dd	_991
	dd	176
	dd	6
	dd	_992
	dd	_993
	dd	180
	dd	6
	dd	_994
	dd	_993
	dd	184
	dd	6
	dd	_995
	dd	_993
	dd	188
	dd	6
	dd	_996
	dd	_993
	dd	192
	dd	6
	dd	_997
	dd	_993
	dd	196
	dd	6
	dd	_998
	dd	_993
	dd	200
	dd	6
	dd	_999
	dd	_1000
	dd	204
	dd	6
	dd	_1001
	dd	_1000
	dd	208
	dd	6
	dd	_1002
	dd	_819
	dd	212
	dd	6
	dd	_1003
	dd	_1004
	dd	216
	dd	6
	dd	_1005
	dd	_1006
	dd	220
	dd	6
	dd	_1007
	dd	_1008
	dd	224
	dd	6
	dd	_1009
	dd	_1010
	dd	228
	dd	6
	dd	_1011
	dd	_1012
	dd	232
	dd	6
	dd	_1013
	dd	_1014
	dd	236
	dd	6
	dd	_1015
	dd	_1014
	dd	240
	dd	6
	dd	_1016
	dd	_1014
	dd	244
	dd	7
	dd	_1017
	dd	_1018
	dd	248
	dd	7
	dd	_1019
	dd	_1018
	dd	252
	dd	7
	dd	_1020
	dd	_1018
	dd	256
	dd	7
	dd	_1021
	dd	_970
	dd	260
	dd	7
	dd	_1022
	dd	_970
	dd	264
	dd	7
	dd	_1023
	dd	_970
	dd	268
	dd	6
	dd	_1024
	dd	_1025
	dd	272
	dd	6
	dd	_1026
	dd	_819
	dd	276
	dd	6
	dd	_1027
	dd	_980
	dd	280
	dd	6
	dd	_1028
	dd	_827
	dd	284
	dd	6
	dd	_1029
	dd	_1030
	dd	288
	dd	6
	dd	_1031
	dd	_1032
	dd	292
	dd	6
	dd	_1033
	dd	_1032
	dd	296
	dd	6
	dd	_1034
	dd	_1004
	dd	300
	dd	6
	dd	_1035
	dd	_819
	dd	304
	dd	6
	dd	_1036
	dd	_993
	dd	308
	dd	6
	dd	_1037
	dd	_993
	dd	312
	dd	6
	dd	_1038
	dd	_993
	dd	316
	dd	6
	dd	_1039
	dd	_993
	dd	320
	dd	6
	dd	_1040
	dd	_993
	dd	324
	dd	6
	dd	_1041
	dd	_993
	dd	328
	dd	6
	dd	_1042
	dd	_993
	dd	332
	dd	6
	dd	_1043
	dd	_1004
	dd	336
	dd	6
	dd	_1044
	dd	_1045
	dd	340
	dd	6
	dd	_1046
	dd	_824
	dd	344
	dd	6
	dd	_1047
	dd	_819
	dd	348
	dd	6
	dd	_1048
	dd	_834
	dd	352
	dd	6
	dd	_1049
	dd	_993
	dd	356
	dd	6
	dd	_1050
	dd	_993
	dd	360
	dd	6
	dd	_1051
	dd	_993
	dd	364
	dd	6
	dd	_1052
	dd	_1053
	dd	368
	dd	7
	dd	_1054
	dd	_989
	dd	372
	dd	6
	dd	_1055
	dd	_1056
	dd	376
	dd	6
	dd	_1057
	dd	_824
	dd	380
	dd	6
	dd	_1058
	dd	_859
	dd	384
	dd	7
	dd	_1059
	dd	_859
	dd	388
	dd	6
	dd	_1060
	dd	_1014
	dd	392
	dd	6
	dd	_1061
	dd	_1014
	dd	396
	dd	6
	dd	_1062
	dd	_1063
	dd	400
	dd	6
	dd	_1064
	dd	_1065
	dd	404
	dd	6
	dd	_1066
	dd	_952
	dd	408
	dd	6
	dd	_1067
	dd	_1068
	dd	412
	dd	6
	dd	_1069
	dd	_952
	dd	416
	dd	6
	dd	_1070
	dd	_1071
	dd	420
	dd	6
	dd	_1072
	dd	_952
	dd	424
	dd	6
	dd	_1073
	dd	_827
	dd	428
	dd	6
	dd	_1074
	dd	_1075
	dd	432
	dd	6
	dd	_1076
	dd	_1075
	dd	436
	dd	6
	dd	_1077
	dd	_819
	dd	440
	dd	6
	dd	_1078
	dd	_952
	dd	444
	dd	6
	dd	_1079
	dd	_989
	dd	448
	dd	6
	dd	_1080
	dd	_1081
	dd	452
	dd	6
	dd	_1082
	dd	_819
	dd	456
	dd	6
	dd	_1083
	dd	_1084
	dd	460
	dd	6
	dd	_1085
	dd	_824
	dd	464
	dd	6
	dd	_1086
	dd	_824
	dd	468
	dd	6
	dd	_1087
	dd	_1088
	dd	472
	dd	6
	dd	_1089
	dd	_824
	dd	476
	dd	6
	dd	_1090
	dd	_824
	dd	480
	dd	6
	dd	_1091
	dd	_834
	dd	484
	dd	6
	dd	_1092
	dd	_859
	dd	488
	dd	7
	dd	_1093
	dd	_1094
	dd	492
	dd	0
	align	4
_sidesign_minib3d_TEntity:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_878
	dd	264
	dd	__sidesign_minib3d_TEntity_New
	dd	__sidesign_minib3d_TEntity_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_brl_blitz_NullMethodError
	dd	_brl_blitz_NullMethodError
	dd	__sidesign_minib3d_TEntity_FreeEntity
	dd	__sidesign_minib3d_TEntity_PositionEntity
	dd	__sidesign_minib3d_TEntity_MoveEntity
	dd	__sidesign_minib3d_TEntity_TranslateEntity
	dd	__sidesign_minib3d_TEntity_ScaleEntity
	dd	__sidesign_minib3d_TEntity_RotateEntity
	dd	__sidesign_minib3d_TEntity_TurnEntity
	dd	__sidesign_minib3d_TEntity_PointEntity
	dd	__sidesign_minib3d_TEntity_LoadAnimSeq
	dd	__sidesign_minib3d_TEntity_ExtractAnimSeq
	dd	__sidesign_minib3d_TEntity_Animate
	dd	__sidesign_minib3d_TEntity_SetAnimTime
	dd	__sidesign_minib3d_TEntity_AnimSeq
	dd	__sidesign_minib3d_TEntity_AnimLength
	dd	__sidesign_minib3d_TEntity_AnimTime
	dd	__sidesign_minib3d_TEntity_Animating
	dd	__sidesign_minib3d_TEntity_EntityColor
	dd	__sidesign_minib3d_TEntity_EntityAlpha
	dd	__sidesign_minib3d_TEntity_EntityShininess
	dd	__sidesign_minib3d_TEntity_EntityTexture
	dd	__sidesign_minib3d_TEntity_EntityBlend
	dd	__sidesign_minib3d_TEntity_EntityFX
	dd	__sidesign_minib3d_TEntity_EntityAutoFade
	dd	__sidesign_minib3d_TEntity_PaintEntity
	dd	__sidesign_minib3d_TEntity_EntityOrder
	dd	__sidesign_minib3d_TEntity_ShowEntity
	dd	__sidesign_minib3d_TEntity_HideEntity
	dd	__sidesign_minib3d_TEntity_Hidden
	dd	__sidesign_minib3d_TEntity_NameEntity
	dd	__sidesign_minib3d_TEntity_EntityParent
	dd	__sidesign_minib3d_TEntity_GetParent
	dd	__sidesign_minib3d_TEntity_EntityX
	dd	__sidesign_minib3d_TEntity_EntityY
	dd	__sidesign_minib3d_TEntity_EntityZ
	dd	__sidesign_minib3d_TEntity_EntityPitch
	dd	__sidesign_minib3d_TEntity_EntityYaw
	dd	__sidesign_minib3d_TEntity_EntityRoll
	dd	__sidesign_minib3d_TEntity_EntityClass
	dd	__sidesign_minib3d_TEntity_EntityName
	dd	__sidesign_minib3d_TEntity_CountChildren
	dd	__sidesign_minib3d_TEntity_GetChild
	dd	__sidesign_minib3d_TEntity_FindChild
	dd	__sidesign_minib3d_TEntity_EntityPick
	dd	__sidesign_minib3d_TEntity_LinePick
	dd	__sidesign_minib3d_TEntity_EntityVisible
	dd	__sidesign_minib3d_TEntity_EntityDistance
	dd	__sidesign_minib3d_TEntity_DeltaYaw
	dd	__sidesign_minib3d_TEntity_DeltaPitch
	dd	__sidesign_minib3d_TEntity_TFormPoint
	dd	__sidesign_minib3d_TEntity_TFormVector
	dd	__sidesign_minib3d_TEntity_TFormNormal
	dd	__sidesign_minib3d_TEntity_TFormedX
	dd	__sidesign_minib3d_TEntity_TFormedY
	dd	__sidesign_minib3d_TEntity_TFormedZ
	dd	__sidesign_minib3d_TEntity_GetMatElement
	dd	__sidesign_minib3d_TEntity_ResetEntity
	dd	__sidesign_minib3d_TEntity_EntityRadius
	dd	__sidesign_minib3d_TEntity_UpdateRadius
	dd	__sidesign_minib3d_TEntity_EntityBox
	dd	__sidesign_minib3d_TEntity_EntityType
	dd	__sidesign_minib3d_TEntity_EntityPickMode
	dd	__sidesign_minib3d_TEntity_EntityCollided
	dd	__sidesign_minib3d_TEntity_CountCollisions
	dd	__sidesign_minib3d_TEntity_CollisionX
	dd	__sidesign_minib3d_TEntity_CollisionY
	dd	__sidesign_minib3d_TEntity_CollisionZ
	dd	__sidesign_minib3d_TEntity_CollisionNX
	dd	__sidesign_minib3d_TEntity_CollisionNY
	dd	__sidesign_minib3d_TEntity_CollisionNZ
	dd	__sidesign_minib3d_TEntity_CollisionTime
	dd	__sidesign_minib3d_TEntity_CollisionEntity
	dd	__sidesign_minib3d_TEntity_CollisionSurface
	dd	__sidesign_minib3d_TEntity_CollisionTriangle
	dd	__sidesign_minib3d_TEntity_GetEntityType
	dd	__sidesign_minib3d_TEntity_MeshCullRadius
	dd	__sidesign_minib3d_TEntity_EntityScaleX
	dd	__sidesign_minib3d_TEntity_EntityScaleY
	dd	__sidesign_minib3d_TEntity_EntityScaleZ
	dd	__sidesign_minib3d_TEntity_BoundingSphereNew
	dd	__sidesign_minib3d_TEntity_CountAllChildren
	dd	__sidesign_minib3d_TEntity_GetChildFromAll
	dd	__sidesign_minib3d_TEntity_UpdateMat
	dd	__sidesign_minib3d_TEntity_AddParent
	dd	__sidesign_minib3d_TEntity_UpdateChildren
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared
	dd	__sidesign_minib3d_TEntity_EntityListAdd
	dd	__sidesign_minib3d_TEntity_MQ_CopyMat
	dd	__sidesign_minib3d_TEntity_MQ_Rotate
	dd	__sidesign_minib3d_TEntity_MQ_Turn
	dd	__sidesign_minib3d_TEntity_MQ_Turn2
	dd	__sidesign_minib3d_TEntity_MQ_TransformPoint
	dd	__sidesign_minib3d_TEntity_MQ_Position
	dd	__sidesign_minib3d_TEntity_MQ_Move
	dd	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	dd	__sidesign_minib3d_TEntity_MQ_GetMatrix
	dd	__sidesign_minib3d_TEntity_MQ_Update
	dd	__sidesign_minib3d_TEntity_MQ_Scale
	dd	__sidesign_minib3d_TEntity_MQ_SetParent
	dd	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	dd	__sidesign_minib3d_TEntity_SetUpdateFlag
	dd	__sidesign_minib3d_TEntity_GetFrame
	dd	__sidesign_minib3d_TEntity_DeleteFrame
	dd	__sidesign_minib3d_TEntity_InsertFrame
	dd	__sidesign_minib3d_TEntity_SetAnimationFrame
	dd	__sidesign_minib3d_TEntity_RecordFrame
	dd	__sidesign_minib3d_TEntity_PlayFrame
	dd	__sidesign_minib3d_TEntity_TweenFrame
	dd	__sidesign_minib3d_TEntity_ApplyAnimationTo
	dd	__sidesign_minib3d_TEntity_AngDiff2
	align	4
__sidesign_minib3d_TCamera_cam_list:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TCamera_projected_x:
	dd	0x0
	align	4
__sidesign_minib3d_TCamera_projected_y:
	dd	0x0
	align	4
__sidesign_minib3d_TCamera_projected_z:
	dd	0x0
_1096:
	db	"TCamera",0
_1097:
	db	"vx",0
_1098:
	db	"vy",0
_1099:
	db	"vwidth",0
_1100:
	db	"vheight",0
_1101:
	db	"cls_r",0
_1102:
	db	"cls_g",0
_1103:
	db	"cls_b",0
_1104:
	db	"cls_color",0
_1105:
	db	"cls_zbuffer",0
_1106:
	db	"range_near",0
_1107:
	db	"range_far",0
_1108:
	db	"zoom",0
_1109:
	db	"proj_mode",0
_1110:
	db	"fog_mode",0
_1111:
	db	"fog_r",0
_1112:
	db	"fog_g",0
_1113:
	db	"fog_b",0
_1114:
	db	"fog_range_near",0
_1115:
	db	"fog_range_far",0
_1116:
	db	"mod_mat",0
_1117:
	db	"[]d",0
_1118:
	db	"proj_mat",0
_1119:
	db	"viewport",0
_1120:
	db	"frustum",0
_1121:
	db	"[,]f",0
_1122:
	db	"(:TEntity):TCamera",0
_1123:
	db	"CreateCamera",0
_1124:
	db	"CameraViewport",0
_1125:
	db	"CameraClsColor",0
_1126:
	db	"CameraClsMode",0
_1127:
	db	"CameraRange",0
_1128:
	db	"CameraZoom",0
_1129:
	db	"CameraProjMode",0
_1130:
	db	"CameraPick",0
_1131:
	db	"(f,f):TEntity",0
_1132:
	db	"CameraFogMode",0
_1133:
	db	"CameraFogColor",0
_1134:
	db	"CameraFogRange",0
_1135:
	db	"CameraProject",0
_1136:
	db	"ProjectedX",0
_1137:
	db	"ProjectedY",0
_1138:
	db	"ProjectedZ",0
_1139:
	db	"EntityInView",0
_1140:
	db	"ExtractFrustum",0
_1141:
	db	"EntityInFrustum",0
_1142:
	db	"accPerspective",0
_1143:
	db	"(f,f,f,f,f,f,f,f,f)i",0
_1144:
	db	"accFrustum",0
_1145:
	db	"(f,f,f,f,f,f,f,f,f,f,f)i",0
	align	4
_1095:
	dd	2
	dd	_1096
	dd	3
	dd	_1097
	dd	_852
	dd	264
	dd	3
	dd	_1098
	dd	_852
	dd	268
	dd	3
	dd	_1099
	dd	_852
	dd	272
	dd	3
	dd	_1100
	dd	_852
	dd	276
	dd	3
	dd	_1101
	dd	_867
	dd	280
	dd	3
	dd	_1102
	dd	_867
	dd	284
	dd	3
	dd	_1103
	dd	_867
	dd	288
	dd	3
	dd	_1104
	dd	_852
	dd	292
	dd	3
	dd	_1105
	dd	_852
	dd	296
	dd	3
	dd	_1106
	dd	_867
	dd	300
	dd	3
	dd	_1107
	dd	_867
	dd	304
	dd	3
	dd	_1108
	dd	_867
	dd	308
	dd	3
	dd	_1109
	dd	_852
	dd	312
	dd	3
	dd	_1110
	dd	_852
	dd	316
	dd	3
	dd	_1111
	dd	_867
	dd	320
	dd	3
	dd	_1112
	dd	_867
	dd	324
	dd	3
	dd	_1113
	dd	_867
	dd	328
	dd	3
	dd	_1114
	dd	_867
	dd	332
	dd	3
	dd	_1115
	dd	_867
	dd	336
	dd	3
	dd	_1116
	dd	_1117
	dd	340
	dd	3
	dd	_1118
	dd	_1117
	dd	344
	dd	3
	dd	_1119
	dd	_938
	dd	348
	dd	3
	dd	_1120
	dd	_1121
	dd	352
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_947
	dd	_1122
	dd	48
	dd	6
	dd	_950
	dd	_819
	dd	56
	dd	7
	dd	_1123
	dd	_1122
	dd	496
	dd	6
	dd	_1124
	dd	_830
	dd	500
	dd	6
	dd	_1125
	dd	_827
	dd	504
	dd	6
	dd	_1126
	dd	_1032
	dd	508
	dd	6
	dd	_1127
	dd	_980
	dd	512
	dd	6
	dd	_1128
	dd	_834
	dd	516
	dd	6
	dd	_1129
	dd	_824
	dd	520
	dd	6
	dd	_1130
	dd	_1131
	dd	524
	dd	6
	dd	_1132
	dd	_824
	dd	528
	dd	6
	dd	_1133
	dd	_827
	dd	532
	dd	6
	dd	_1134
	dd	_980
	dd	536
	dd	6
	dd	_1135
	dd	_827
	dd	540
	dd	6
	dd	_1136
	dd	_970
	dd	544
	dd	6
	dd	_1137
	dd	_970
	dd	548
	dd	6
	dd	_1138
	dd	_970
	dd	552
	dd	6
	dd	_1139
	dd	_1014
	dd	556
	dd	6
	dd	_1140
	dd	_819
	dd	560
	dd	6
	dd	_1141
	dd	_1014
	dd	564
	dd	6
	dd	_949
	dd	_819
	dd	52
	dd	6
	dd	_1142
	dd	_1143
	dd	568
	dd	6
	dd	_1144
	dd	_1145
	dd	572
	dd	0
	align	4
_sidesign_minib3d_TCamera:
	dd	_sidesign_minib3d_TEntity
	dd	_bbObjectFree
	dd	_1095
	dd	356
	dd	__sidesign_minib3d_TCamera_New
	dd	__sidesign_minib3d_TCamera_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TCamera_CopyEntity
	dd	__sidesign_minib3d_TCamera_Update
	dd	__sidesign_minib3d_TCamera_FreeEntity
	dd	__sidesign_minib3d_TEntity_PositionEntity
	dd	__sidesign_minib3d_TEntity_MoveEntity
	dd	__sidesign_minib3d_TEntity_TranslateEntity
	dd	__sidesign_minib3d_TEntity_ScaleEntity
	dd	__sidesign_minib3d_TEntity_RotateEntity
	dd	__sidesign_minib3d_TEntity_TurnEntity
	dd	__sidesign_minib3d_TEntity_PointEntity
	dd	__sidesign_minib3d_TEntity_LoadAnimSeq
	dd	__sidesign_minib3d_TEntity_ExtractAnimSeq
	dd	__sidesign_minib3d_TEntity_Animate
	dd	__sidesign_minib3d_TEntity_SetAnimTime
	dd	__sidesign_minib3d_TEntity_AnimSeq
	dd	__sidesign_minib3d_TEntity_AnimLength
	dd	__sidesign_minib3d_TEntity_AnimTime
	dd	__sidesign_minib3d_TEntity_Animating
	dd	__sidesign_minib3d_TEntity_EntityColor
	dd	__sidesign_minib3d_TEntity_EntityAlpha
	dd	__sidesign_minib3d_TEntity_EntityShininess
	dd	__sidesign_minib3d_TEntity_EntityTexture
	dd	__sidesign_minib3d_TEntity_EntityBlend
	dd	__sidesign_minib3d_TEntity_EntityFX
	dd	__sidesign_minib3d_TEntity_EntityAutoFade
	dd	__sidesign_minib3d_TEntity_PaintEntity
	dd	__sidesign_minib3d_TEntity_EntityOrder
	dd	__sidesign_minib3d_TEntity_ShowEntity
	dd	__sidesign_minib3d_TEntity_HideEntity
	dd	__sidesign_minib3d_TEntity_Hidden
	dd	__sidesign_minib3d_TEntity_NameEntity
	dd	__sidesign_minib3d_TEntity_EntityParent
	dd	__sidesign_minib3d_TEntity_GetParent
	dd	__sidesign_minib3d_TEntity_EntityX
	dd	__sidesign_minib3d_TEntity_EntityY
	dd	__sidesign_minib3d_TEntity_EntityZ
	dd	__sidesign_minib3d_TEntity_EntityPitch
	dd	__sidesign_minib3d_TEntity_EntityYaw
	dd	__sidesign_minib3d_TEntity_EntityRoll
	dd	__sidesign_minib3d_TEntity_EntityClass
	dd	__sidesign_minib3d_TEntity_EntityName
	dd	__sidesign_minib3d_TEntity_CountChildren
	dd	__sidesign_minib3d_TEntity_GetChild
	dd	__sidesign_minib3d_TEntity_FindChild
	dd	__sidesign_minib3d_TEntity_EntityPick
	dd	__sidesign_minib3d_TEntity_LinePick
	dd	__sidesign_minib3d_TEntity_EntityVisible
	dd	__sidesign_minib3d_TEntity_EntityDistance
	dd	__sidesign_minib3d_TEntity_DeltaYaw
	dd	__sidesign_minib3d_TEntity_DeltaPitch
	dd	__sidesign_minib3d_TEntity_TFormPoint
	dd	__sidesign_minib3d_TEntity_TFormVector
	dd	__sidesign_minib3d_TEntity_TFormNormal
	dd	__sidesign_minib3d_TEntity_TFormedX
	dd	__sidesign_minib3d_TEntity_TFormedY
	dd	__sidesign_minib3d_TEntity_TFormedZ
	dd	__sidesign_minib3d_TEntity_GetMatElement
	dd	__sidesign_minib3d_TEntity_ResetEntity
	dd	__sidesign_minib3d_TEntity_EntityRadius
	dd	__sidesign_minib3d_TEntity_UpdateRadius
	dd	__sidesign_minib3d_TEntity_EntityBox
	dd	__sidesign_minib3d_TEntity_EntityType
	dd	__sidesign_minib3d_TEntity_EntityPickMode
	dd	__sidesign_minib3d_TEntity_EntityCollided
	dd	__sidesign_minib3d_TEntity_CountCollisions
	dd	__sidesign_minib3d_TEntity_CollisionX
	dd	__sidesign_minib3d_TEntity_CollisionY
	dd	__sidesign_minib3d_TEntity_CollisionZ
	dd	__sidesign_minib3d_TEntity_CollisionNX
	dd	__sidesign_minib3d_TEntity_CollisionNY
	dd	__sidesign_minib3d_TEntity_CollisionNZ
	dd	__sidesign_minib3d_TEntity_CollisionTime
	dd	__sidesign_minib3d_TEntity_CollisionEntity
	dd	__sidesign_minib3d_TEntity_CollisionSurface
	dd	__sidesign_minib3d_TEntity_CollisionTriangle
	dd	__sidesign_minib3d_TEntity_GetEntityType
	dd	__sidesign_minib3d_TEntity_MeshCullRadius
	dd	__sidesign_minib3d_TEntity_EntityScaleX
	dd	__sidesign_minib3d_TEntity_EntityScaleY
	dd	__sidesign_minib3d_TEntity_EntityScaleZ
	dd	__sidesign_minib3d_TEntity_BoundingSphereNew
	dd	__sidesign_minib3d_TEntity_CountAllChildren
	dd	__sidesign_minib3d_TEntity_GetChildFromAll
	dd	__sidesign_minib3d_TEntity_UpdateMat
	dd	__sidesign_minib3d_TEntity_AddParent
	dd	__sidesign_minib3d_TEntity_UpdateChildren
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared
	dd	__sidesign_minib3d_TEntity_EntityListAdd
	dd	__sidesign_minib3d_TEntity_MQ_CopyMat
	dd	__sidesign_minib3d_TEntity_MQ_Rotate
	dd	__sidesign_minib3d_TEntity_MQ_Turn
	dd	__sidesign_minib3d_TEntity_MQ_Turn2
	dd	__sidesign_minib3d_TEntity_MQ_TransformPoint
	dd	__sidesign_minib3d_TEntity_MQ_Position
	dd	__sidesign_minib3d_TEntity_MQ_Move
	dd	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	dd	__sidesign_minib3d_TEntity_MQ_GetMatrix
	dd	__sidesign_minib3d_TEntity_MQ_Update
	dd	__sidesign_minib3d_TEntity_MQ_Scale
	dd	__sidesign_minib3d_TEntity_MQ_SetParent
	dd	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	dd	__sidesign_minib3d_TEntity_SetUpdateFlag
	dd	__sidesign_minib3d_TEntity_GetFrame
	dd	__sidesign_minib3d_TEntity_DeleteFrame
	dd	__sidesign_minib3d_TEntity_InsertFrame
	dd	__sidesign_minib3d_TEntity_SetAnimationFrame
	dd	__sidesign_minib3d_TEntity_RecordFrame
	dd	__sidesign_minib3d_TEntity_PlayFrame
	dd	__sidesign_minib3d_TEntity_TweenFrame
	dd	__sidesign_minib3d_TEntity_ApplyAnimationTo
	dd	__sidesign_minib3d_TEntity_AngDiff2
	dd	__sidesign_minib3d_TCamera_CreateCamera
	dd	__sidesign_minib3d_TCamera_CameraViewport
	dd	__sidesign_minib3d_TCamera_CameraClsColor
	dd	__sidesign_minib3d_TCamera_CameraClsMode
	dd	__sidesign_minib3d_TCamera_CameraRange
	dd	__sidesign_minib3d_TCamera_CameraZoom
	dd	__sidesign_minib3d_TCamera_CameraProjMode
	dd	__sidesign_minib3d_TCamera_CameraPick
	dd	__sidesign_minib3d_TCamera_CameraFogMode
	dd	__sidesign_minib3d_TCamera_CameraFogColor
	dd	__sidesign_minib3d_TCamera_CameraFogRange
	dd	__sidesign_minib3d_TCamera_CameraProject
	dd	__sidesign_minib3d_TCamera_ProjectedX
	dd	__sidesign_minib3d_TCamera_ProjectedY
	dd	__sidesign_minib3d_TCamera_ProjectedZ
	dd	__sidesign_minib3d_TCamera_EntityInView
	dd	__sidesign_minib3d_TCamera_ExtractFrustum
	dd	__sidesign_minib3d_TCamera_EntityInFrustum
	dd	__sidesign_minib3d_TCamera_accPerspective
	dd	__sidesign_minib3d_TCamera_accFrustum
	align	4
__sidesign_minib3d_TLight_light_no:
	dd	0
	align	4
__sidesign_minib3d_TLight_no_lights:
	dd	0
	align	4
__sidesign_minib3d_TLight_max_lights:
	dd	8
	align	4
__sidesign_minib3d_TLight_gl_light:
	dd	_bbEmptyArray
	align	4
__sidesign_minib3d_TLight_light_list:
	dd	_bbNullObject
_1147:
	db	"TLight",0
_1148:
	db	"light_type",0
_1149:
	db	"range",0
_1150:
	db	"red",0
_1151:
	db	"green",0
_1152:
	db	"blue",0
_1153:
	db	"inner_ang",0
_1154:
	db	"outer_ang",0
_1155:
	db	"(:TEntity):TLight",0
_1156:
	db	"CreateLight",0
_1157:
	db	"(i,:TEntity):TLight",0
_1158:
	db	"LightRange",0
_1159:
	db	"LightColor",0
_1160:
	db	"LightConeAngles",0
	align	4
_1146:
	dd	2
	dd	_1147
	dd	3
	dd	_1148
	dd	_852
	dd	264
	dd	3
	dd	_1149
	dd	_867
	dd	268
	dd	3
	dd	_1150
	dd	_867
	dd	272
	dd	3
	dd	_1151
	dd	_867
	dd	276
	dd	3
	dd	_1152
	dd	_867
	dd	280
	dd	3
	dd	_1153
	dd	_867
	dd	284
	dd	3
	dd	_1154
	dd	_867
	dd	288
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_947
	dd	_1155
	dd	48
	dd	6
	dd	_950
	dd	_819
	dd	56
	dd	7
	dd	_1156
	dd	_1157
	dd	496
	dd	6
	dd	_1158
	dd	_834
	dd	500
	dd	6
	dd	_1159
	dd	_827
	dd	504
	dd	6
	dd	_1160
	dd	_980
	dd	508
	dd	6
	dd	_949
	dd	_819
	dd	52
	dd	0
	align	4
_sidesign_minib3d_TLight:
	dd	_sidesign_minib3d_TEntity
	dd	_bbObjectFree
	dd	_1146
	dd	292
	dd	__sidesign_minib3d_TLight_New
	dd	__sidesign_minib3d_TLight_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TLight_CopyEntity
	dd	__sidesign_minib3d_TLight_Update
	dd	__sidesign_minib3d_TLight_FreeEntity
	dd	__sidesign_minib3d_TEntity_PositionEntity
	dd	__sidesign_minib3d_TEntity_MoveEntity
	dd	__sidesign_minib3d_TEntity_TranslateEntity
	dd	__sidesign_minib3d_TEntity_ScaleEntity
	dd	__sidesign_minib3d_TEntity_RotateEntity
	dd	__sidesign_minib3d_TEntity_TurnEntity
	dd	__sidesign_minib3d_TEntity_PointEntity
	dd	__sidesign_minib3d_TEntity_LoadAnimSeq
	dd	__sidesign_minib3d_TEntity_ExtractAnimSeq
	dd	__sidesign_minib3d_TEntity_Animate
	dd	__sidesign_minib3d_TEntity_SetAnimTime
	dd	__sidesign_minib3d_TEntity_AnimSeq
	dd	__sidesign_minib3d_TEntity_AnimLength
	dd	__sidesign_minib3d_TEntity_AnimTime
	dd	__sidesign_minib3d_TEntity_Animating
	dd	__sidesign_minib3d_TEntity_EntityColor
	dd	__sidesign_minib3d_TEntity_EntityAlpha
	dd	__sidesign_minib3d_TEntity_EntityShininess
	dd	__sidesign_minib3d_TEntity_EntityTexture
	dd	__sidesign_minib3d_TEntity_EntityBlend
	dd	__sidesign_minib3d_TEntity_EntityFX
	dd	__sidesign_minib3d_TEntity_EntityAutoFade
	dd	__sidesign_minib3d_TEntity_PaintEntity
	dd	__sidesign_minib3d_TEntity_EntityOrder
	dd	__sidesign_minib3d_TEntity_ShowEntity
	dd	__sidesign_minib3d_TEntity_HideEntity
	dd	__sidesign_minib3d_TEntity_Hidden
	dd	__sidesign_minib3d_TEntity_NameEntity
	dd	__sidesign_minib3d_TEntity_EntityParent
	dd	__sidesign_minib3d_TEntity_GetParent
	dd	__sidesign_minib3d_TEntity_EntityX
	dd	__sidesign_minib3d_TEntity_EntityY
	dd	__sidesign_minib3d_TEntity_EntityZ
	dd	__sidesign_minib3d_TEntity_EntityPitch
	dd	__sidesign_minib3d_TEntity_EntityYaw
	dd	__sidesign_minib3d_TEntity_EntityRoll
	dd	__sidesign_minib3d_TEntity_EntityClass
	dd	__sidesign_minib3d_TEntity_EntityName
	dd	__sidesign_minib3d_TEntity_CountChildren
	dd	__sidesign_minib3d_TEntity_GetChild
	dd	__sidesign_minib3d_TEntity_FindChild
	dd	__sidesign_minib3d_TEntity_EntityPick
	dd	__sidesign_minib3d_TEntity_LinePick
	dd	__sidesign_minib3d_TEntity_EntityVisible
	dd	__sidesign_minib3d_TEntity_EntityDistance
	dd	__sidesign_minib3d_TEntity_DeltaYaw
	dd	__sidesign_minib3d_TEntity_DeltaPitch
	dd	__sidesign_minib3d_TEntity_TFormPoint
	dd	__sidesign_minib3d_TEntity_TFormVector
	dd	__sidesign_minib3d_TEntity_TFormNormal
	dd	__sidesign_minib3d_TEntity_TFormedX
	dd	__sidesign_minib3d_TEntity_TFormedY
	dd	__sidesign_minib3d_TEntity_TFormedZ
	dd	__sidesign_minib3d_TEntity_GetMatElement
	dd	__sidesign_minib3d_TEntity_ResetEntity
	dd	__sidesign_minib3d_TEntity_EntityRadius
	dd	__sidesign_minib3d_TEntity_UpdateRadius
	dd	__sidesign_minib3d_TEntity_EntityBox
	dd	__sidesign_minib3d_TEntity_EntityType
	dd	__sidesign_minib3d_TEntity_EntityPickMode
	dd	__sidesign_minib3d_TEntity_EntityCollided
	dd	__sidesign_minib3d_TEntity_CountCollisions
	dd	__sidesign_minib3d_TEntity_CollisionX
	dd	__sidesign_minib3d_TEntity_CollisionY
	dd	__sidesign_minib3d_TEntity_CollisionZ
	dd	__sidesign_minib3d_TEntity_CollisionNX
	dd	__sidesign_minib3d_TEntity_CollisionNY
	dd	__sidesign_minib3d_TEntity_CollisionNZ
	dd	__sidesign_minib3d_TEntity_CollisionTime
	dd	__sidesign_minib3d_TEntity_CollisionEntity
	dd	__sidesign_minib3d_TEntity_CollisionSurface
	dd	__sidesign_minib3d_TEntity_CollisionTriangle
	dd	__sidesign_minib3d_TEntity_GetEntityType
	dd	__sidesign_minib3d_TEntity_MeshCullRadius
	dd	__sidesign_minib3d_TEntity_EntityScaleX
	dd	__sidesign_minib3d_TEntity_EntityScaleY
	dd	__sidesign_minib3d_TEntity_EntityScaleZ
	dd	__sidesign_minib3d_TEntity_BoundingSphereNew
	dd	__sidesign_minib3d_TEntity_CountAllChildren
	dd	__sidesign_minib3d_TEntity_GetChildFromAll
	dd	__sidesign_minib3d_TEntity_UpdateMat
	dd	__sidesign_minib3d_TEntity_AddParent
	dd	__sidesign_minib3d_TEntity_UpdateChildren
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared
	dd	__sidesign_minib3d_TEntity_EntityListAdd
	dd	__sidesign_minib3d_TEntity_MQ_CopyMat
	dd	__sidesign_minib3d_TEntity_MQ_Rotate
	dd	__sidesign_minib3d_TEntity_MQ_Turn
	dd	__sidesign_minib3d_TEntity_MQ_Turn2
	dd	__sidesign_minib3d_TEntity_MQ_TransformPoint
	dd	__sidesign_minib3d_TEntity_MQ_Position
	dd	__sidesign_minib3d_TEntity_MQ_Move
	dd	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	dd	__sidesign_minib3d_TEntity_MQ_GetMatrix
	dd	__sidesign_minib3d_TEntity_MQ_Update
	dd	__sidesign_minib3d_TEntity_MQ_Scale
	dd	__sidesign_minib3d_TEntity_MQ_SetParent
	dd	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	dd	__sidesign_minib3d_TEntity_SetUpdateFlag
	dd	__sidesign_minib3d_TEntity_GetFrame
	dd	__sidesign_minib3d_TEntity_DeleteFrame
	dd	__sidesign_minib3d_TEntity_InsertFrame
	dd	__sidesign_minib3d_TEntity_SetAnimationFrame
	dd	__sidesign_minib3d_TEntity_RecordFrame
	dd	__sidesign_minib3d_TEntity_PlayFrame
	dd	__sidesign_minib3d_TEntity_TweenFrame
	dd	__sidesign_minib3d_TEntity_ApplyAnimationTo
	dd	__sidesign_minib3d_TEntity_AngDiff2
	dd	__sidesign_minib3d_TLight_CreateLight
	dd	__sidesign_minib3d_TLight_LightRange
	dd	__sidesign_minib3d_TLight_LightColor
	dd	__sidesign_minib3d_TLight_LightConeAngles
_1162:
	db	"TPivot",0
_1163:
	db	"(:TEntity):TPivot",0
_1164:
	db	"CreatePivot",0
	align	4
_1161:
	dd	2
	dd	_1162
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_947
	dd	_1163
	dd	48
	dd	6
	dd	_950
	dd	_819
	dd	56
	dd	7
	dd	_1164
	dd	_1163
	dd	496
	dd	6
	dd	_949
	dd	_819
	dd	52
	dd	0
	align	4
_sidesign_minib3d_TPivot:
	dd	_sidesign_minib3d_TEntity
	dd	_bbObjectFree
	dd	_1161
	dd	264
	dd	__sidesign_minib3d_TPivot_New
	dd	__sidesign_minib3d_TPivot_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TPivot_CopyEntity
	dd	__sidesign_minib3d_TPivot_Update
	dd	__sidesign_minib3d_TPivot_FreeEntity
	dd	__sidesign_minib3d_TEntity_PositionEntity
	dd	__sidesign_minib3d_TEntity_MoveEntity
	dd	__sidesign_minib3d_TEntity_TranslateEntity
	dd	__sidesign_minib3d_TEntity_ScaleEntity
	dd	__sidesign_minib3d_TEntity_RotateEntity
	dd	__sidesign_minib3d_TEntity_TurnEntity
	dd	__sidesign_minib3d_TEntity_PointEntity
	dd	__sidesign_minib3d_TEntity_LoadAnimSeq
	dd	__sidesign_minib3d_TEntity_ExtractAnimSeq
	dd	__sidesign_minib3d_TEntity_Animate
	dd	__sidesign_minib3d_TEntity_SetAnimTime
	dd	__sidesign_minib3d_TEntity_AnimSeq
	dd	__sidesign_minib3d_TEntity_AnimLength
	dd	__sidesign_minib3d_TEntity_AnimTime
	dd	__sidesign_minib3d_TEntity_Animating
	dd	__sidesign_minib3d_TEntity_EntityColor
	dd	__sidesign_minib3d_TEntity_EntityAlpha
	dd	__sidesign_minib3d_TEntity_EntityShininess
	dd	__sidesign_minib3d_TEntity_EntityTexture
	dd	__sidesign_minib3d_TEntity_EntityBlend
	dd	__sidesign_minib3d_TEntity_EntityFX
	dd	__sidesign_minib3d_TEntity_EntityAutoFade
	dd	__sidesign_minib3d_TEntity_PaintEntity
	dd	__sidesign_minib3d_TEntity_EntityOrder
	dd	__sidesign_minib3d_TEntity_ShowEntity
	dd	__sidesign_minib3d_TEntity_HideEntity
	dd	__sidesign_minib3d_TEntity_Hidden
	dd	__sidesign_minib3d_TEntity_NameEntity
	dd	__sidesign_minib3d_TEntity_EntityParent
	dd	__sidesign_minib3d_TEntity_GetParent
	dd	__sidesign_minib3d_TEntity_EntityX
	dd	__sidesign_minib3d_TEntity_EntityY
	dd	__sidesign_minib3d_TEntity_EntityZ
	dd	__sidesign_minib3d_TEntity_EntityPitch
	dd	__sidesign_minib3d_TEntity_EntityYaw
	dd	__sidesign_minib3d_TEntity_EntityRoll
	dd	__sidesign_minib3d_TEntity_EntityClass
	dd	__sidesign_minib3d_TEntity_EntityName
	dd	__sidesign_minib3d_TEntity_CountChildren
	dd	__sidesign_minib3d_TEntity_GetChild
	dd	__sidesign_minib3d_TEntity_FindChild
	dd	__sidesign_minib3d_TEntity_EntityPick
	dd	__sidesign_minib3d_TEntity_LinePick
	dd	__sidesign_minib3d_TEntity_EntityVisible
	dd	__sidesign_minib3d_TEntity_EntityDistance
	dd	__sidesign_minib3d_TEntity_DeltaYaw
	dd	__sidesign_minib3d_TEntity_DeltaPitch
	dd	__sidesign_minib3d_TEntity_TFormPoint
	dd	__sidesign_minib3d_TEntity_TFormVector
	dd	__sidesign_minib3d_TEntity_TFormNormal
	dd	__sidesign_minib3d_TEntity_TFormedX
	dd	__sidesign_minib3d_TEntity_TFormedY
	dd	__sidesign_minib3d_TEntity_TFormedZ
	dd	__sidesign_minib3d_TEntity_GetMatElement
	dd	__sidesign_minib3d_TEntity_ResetEntity
	dd	__sidesign_minib3d_TEntity_EntityRadius
	dd	__sidesign_minib3d_TEntity_UpdateRadius
	dd	__sidesign_minib3d_TEntity_EntityBox
	dd	__sidesign_minib3d_TEntity_EntityType
	dd	__sidesign_minib3d_TEntity_EntityPickMode
	dd	__sidesign_minib3d_TEntity_EntityCollided
	dd	__sidesign_minib3d_TEntity_CountCollisions
	dd	__sidesign_minib3d_TEntity_CollisionX
	dd	__sidesign_minib3d_TEntity_CollisionY
	dd	__sidesign_minib3d_TEntity_CollisionZ
	dd	__sidesign_minib3d_TEntity_CollisionNX
	dd	__sidesign_minib3d_TEntity_CollisionNY
	dd	__sidesign_minib3d_TEntity_CollisionNZ
	dd	__sidesign_minib3d_TEntity_CollisionTime
	dd	__sidesign_minib3d_TEntity_CollisionEntity
	dd	__sidesign_minib3d_TEntity_CollisionSurface
	dd	__sidesign_minib3d_TEntity_CollisionTriangle
	dd	__sidesign_minib3d_TEntity_GetEntityType
	dd	__sidesign_minib3d_TEntity_MeshCullRadius
	dd	__sidesign_minib3d_TEntity_EntityScaleX
	dd	__sidesign_minib3d_TEntity_EntityScaleY
	dd	__sidesign_minib3d_TEntity_EntityScaleZ
	dd	__sidesign_minib3d_TEntity_BoundingSphereNew
	dd	__sidesign_minib3d_TEntity_CountAllChildren
	dd	__sidesign_minib3d_TEntity_GetChildFromAll
	dd	__sidesign_minib3d_TEntity_UpdateMat
	dd	__sidesign_minib3d_TEntity_AddParent
	dd	__sidesign_minib3d_TEntity_UpdateChildren
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared
	dd	__sidesign_minib3d_TEntity_EntityListAdd
	dd	__sidesign_minib3d_TEntity_MQ_CopyMat
	dd	__sidesign_minib3d_TEntity_MQ_Rotate
	dd	__sidesign_minib3d_TEntity_MQ_Turn
	dd	__sidesign_minib3d_TEntity_MQ_Turn2
	dd	__sidesign_minib3d_TEntity_MQ_TransformPoint
	dd	__sidesign_minib3d_TEntity_MQ_Position
	dd	__sidesign_minib3d_TEntity_MQ_Move
	dd	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	dd	__sidesign_minib3d_TEntity_MQ_GetMatrix
	dd	__sidesign_minib3d_TEntity_MQ_Update
	dd	__sidesign_minib3d_TEntity_MQ_Scale
	dd	__sidesign_minib3d_TEntity_MQ_SetParent
	dd	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	dd	__sidesign_minib3d_TEntity_SetUpdateFlag
	dd	__sidesign_minib3d_TEntity_GetFrame
	dd	__sidesign_minib3d_TEntity_DeleteFrame
	dd	__sidesign_minib3d_TEntity_InsertFrame
	dd	__sidesign_minib3d_TEntity_SetAnimationFrame
	dd	__sidesign_minib3d_TEntity_RecordFrame
	dd	__sidesign_minib3d_TEntity_PlayFrame
	dd	__sidesign_minib3d_TEntity_TweenFrame
	dd	__sidesign_minib3d_TEntity_ApplyAnimationTo
	dd	__sidesign_minib3d_TEntity_AngDiff2
	dd	__sidesign_minib3d_TPivot_CreatePivot
_1166:
	db	"TMesh",0
_1167:
	db	"min_x",0
_1168:
	db	"min_y",0
_1169:
	db	"min_z",0
_1170:
	db	"max_x",0
_1171:
	db	"max_y",0
_1172:
	db	"max_z",0
_1173:
	db	"no_surfs",0
_1174:
	db	"surf_list",0
_1175:
	db	"anim_surf_list",0
_1176:
	db	"no_bones",0
_1177:
	db	"bones",0
_1178:
	db	"[]:TBone",0
_1179:
	db	"mat_sp",0
_1180:
	db	"col_tree",0
_1181:
	db	":TColTree",0
_1182:
	db	"reset_bounds",0
_1183:
	db	"(:TEntity):TMesh",0
_1184:
	db	"CreateMesh",0
_1185:
	db	"LoadMesh",0
_1186:
	db	"($,:TEntity):TMesh",0
_1187:
	db	"LoadAnimMesh",0
_1188:
	db	"CreateCube",0
_1189:
	db	"CreateSphere",0
_1190:
	db	"(i,:TEntity):TMesh",0
_1191:
	db	"CreateCylinder",0
_1192:
	db	"(i,i,:TEntity):TMesh",0
_1193:
	db	"CreateCone",0
_1194:
	db	"CopyMesh",0
_1195:
	db	"AddMesh",0
_1196:
	db	"(:TMesh)i",0
_1197:
	db	"FlipMesh",0
_1198:
	db	"PaintMesh",0
_1199:
	db	"FitMesh",0
_1200:
	db	"(f,f,f,f,f,f,i)i",0
_1201:
	db	"ScaleMesh",0
_1202:
	db	"RotateMesh",0
_1203:
	db	"PositionMesh",0
_1204:
	db	"UpdateNormals",0
_1205:
	db	"CreateSurface",0
_1206:
	db	"(:TBrush):TSurface",0
_1207:
	db	"MeshWidth",0
_1208:
	db	"MeshHeight",0
_1209:
	db	"MeshDepth",0
_1210:
	db	"CountSurfaces",0
_1211:
	db	"GetSurface",0
_1212:
	db	"FindSurface",0
_1213:
	db	"CountVertices",0
_1214:
	db	"CountTriangles",0
_1215:
	db	"CopyBonesList",0
_1216:
	db	"(:TEntity,*[]:TBone,*i)i",0
_1217:
	db	"CollapseAnimMesh",0
_1218:
	db	"(:TMesh):TMesh",0
_1219:
	db	"CollapseChildren",0
_1220:
	db	"(:TEntity,:TMesh):TMesh",0
_1221:
	db	"TransformMesh",0
_1222:
	db	"(:TMatrix)i",0
_1223:
	db	"GetBounds",0
_1224:
	db	"Alpha",0
	align	4
_1165:
	dd	2
	dd	_1166
	dd	3
	dd	_1167
	dd	_867
	dd	264
	dd	3
	dd	_1168
	dd	_867
	dd	268
	dd	3
	dd	_1169
	dd	_867
	dd	272
	dd	3
	dd	_1170
	dd	_867
	dd	276
	dd	3
	dd	_1171
	dd	_867
	dd	280
	dd	3
	dd	_1172
	dd	_867
	dd	284
	dd	3
	dd	_1173
	dd	_852
	dd	288
	dd	3
	dd	_1174
	dd	_883
	dd	292
	dd	3
	dd	_1175
	dd	_883
	dd	296
	dd	3
	dd	_1176
	dd	_852
	dd	300
	dd	3
	dd	_1177
	dd	_1178
	dd	304
	dd	3
	dd	_1179
	dd	_887
	dd	308
	dd	3
	dd	_1180
	dd	_1181
	dd	312
	dd	3
	dd	_1182
	dd	_852
	dd	316
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_947
	dd	_1183
	dd	48
	dd	6
	dd	_950
	dd	_819
	dd	56
	dd	7
	dd	_1184
	dd	_1183
	dd	496
	dd	7
	dd	_1185
	dd	_1186
	dd	500
	dd	7
	dd	_1187
	dd	_1186
	dd	504
	dd	7
	dd	_1188
	dd	_1183
	dd	508
	dd	7
	dd	_1189
	dd	_1190
	dd	512
	dd	7
	dd	_1191
	dd	_1192
	dd	516
	dd	7
	dd	_1193
	dd	_1192
	dd	520
	dd	6
	dd	_1194
	dd	_1183
	dd	524
	dd	6
	dd	_1195
	dd	_1196
	dd	528
	dd	6
	dd	_1197
	dd	_819
	dd	532
	dd	6
	dd	_1198
	dd	_982
	dd	536
	dd	6
	dd	_1199
	dd	_1200
	dd	540
	dd	6
	dd	_1201
	dd	_827
	dd	544
	dd	6
	dd	_1202
	dd	_827
	dd	548
	dd	6
	dd	_1203
	dd	_827
	dd	552
	dd	6
	dd	_1204
	dd	_819
	dd	556
	dd	6
	dd	_1205
	dd	_1206
	dd	560
	dd	6
	dd	_1207
	dd	_970
	dd	564
	dd	6
	dd	_1208
	dd	_970
	dd	568
	dd	6
	dd	_1209
	dd	_970
	dd	572
	dd	6
	dd	_1210
	dd	_819
	dd	576
	dd	6
	dd	_1211
	dd	_1045
	dd	580
	dd	6
	dd	_1212
	dd	_1206
	dd	584
	dd	6
	dd	_1213
	dd	_819
	dd	588
	dd	6
	dd	_1214
	dd	_819
	dd	592
	dd	7
	dd	_1215
	dd	_1216
	dd	596
	dd	6
	dd	_1217
	dd	_1218
	dd	600
	dd	7
	dd	_1219
	dd	_1220
	dd	604
	dd	6
	dd	_1221
	dd	_1222
	dd	608
	dd	6
	dd	_1223
	dd	_819
	dd	612
	dd	6
	dd	_1224
	dd	_819
	dd	616
	dd	6
	dd	_949
	dd	_819
	dd	52
	dd	0
	align	4
_sidesign_minib3d_TMesh:
	dd	_sidesign_minib3d_TEntity
	dd	_bbObjectFree
	dd	_1165
	dd	320
	dd	__sidesign_minib3d_TMesh_New
	dd	__sidesign_minib3d_TMesh_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TMesh_CopyEntity
	dd	__sidesign_minib3d_TMesh_Update
	dd	__sidesign_minib3d_TMesh_FreeEntity
	dd	__sidesign_minib3d_TEntity_PositionEntity
	dd	__sidesign_minib3d_TEntity_MoveEntity
	dd	__sidesign_minib3d_TEntity_TranslateEntity
	dd	__sidesign_minib3d_TEntity_ScaleEntity
	dd	__sidesign_minib3d_TEntity_RotateEntity
	dd	__sidesign_minib3d_TEntity_TurnEntity
	dd	__sidesign_minib3d_TEntity_PointEntity
	dd	__sidesign_minib3d_TEntity_LoadAnimSeq
	dd	__sidesign_minib3d_TEntity_ExtractAnimSeq
	dd	__sidesign_minib3d_TEntity_Animate
	dd	__sidesign_minib3d_TEntity_SetAnimTime
	dd	__sidesign_minib3d_TEntity_AnimSeq
	dd	__sidesign_minib3d_TEntity_AnimLength
	dd	__sidesign_minib3d_TEntity_AnimTime
	dd	__sidesign_minib3d_TEntity_Animating
	dd	__sidesign_minib3d_TEntity_EntityColor
	dd	__sidesign_minib3d_TEntity_EntityAlpha
	dd	__sidesign_minib3d_TEntity_EntityShininess
	dd	__sidesign_minib3d_TEntity_EntityTexture
	dd	__sidesign_minib3d_TEntity_EntityBlend
	dd	__sidesign_minib3d_TEntity_EntityFX
	dd	__sidesign_minib3d_TEntity_EntityAutoFade
	dd	__sidesign_minib3d_TEntity_PaintEntity
	dd	__sidesign_minib3d_TEntity_EntityOrder
	dd	__sidesign_minib3d_TEntity_ShowEntity
	dd	__sidesign_minib3d_TEntity_HideEntity
	dd	__sidesign_minib3d_TEntity_Hidden
	dd	__sidesign_minib3d_TEntity_NameEntity
	dd	__sidesign_minib3d_TEntity_EntityParent
	dd	__sidesign_minib3d_TEntity_GetParent
	dd	__sidesign_minib3d_TEntity_EntityX
	dd	__sidesign_minib3d_TEntity_EntityY
	dd	__sidesign_minib3d_TEntity_EntityZ
	dd	__sidesign_minib3d_TEntity_EntityPitch
	dd	__sidesign_minib3d_TEntity_EntityYaw
	dd	__sidesign_minib3d_TEntity_EntityRoll
	dd	__sidesign_minib3d_TEntity_EntityClass
	dd	__sidesign_minib3d_TEntity_EntityName
	dd	__sidesign_minib3d_TEntity_CountChildren
	dd	__sidesign_minib3d_TEntity_GetChild
	dd	__sidesign_minib3d_TEntity_FindChild
	dd	__sidesign_minib3d_TEntity_EntityPick
	dd	__sidesign_minib3d_TEntity_LinePick
	dd	__sidesign_minib3d_TEntity_EntityVisible
	dd	__sidesign_minib3d_TEntity_EntityDistance
	dd	__sidesign_minib3d_TEntity_DeltaYaw
	dd	__sidesign_minib3d_TEntity_DeltaPitch
	dd	__sidesign_minib3d_TEntity_TFormPoint
	dd	__sidesign_minib3d_TEntity_TFormVector
	dd	__sidesign_minib3d_TEntity_TFormNormal
	dd	__sidesign_minib3d_TEntity_TFormedX
	dd	__sidesign_minib3d_TEntity_TFormedY
	dd	__sidesign_minib3d_TEntity_TFormedZ
	dd	__sidesign_minib3d_TEntity_GetMatElement
	dd	__sidesign_minib3d_TEntity_ResetEntity
	dd	__sidesign_minib3d_TEntity_EntityRadius
	dd	__sidesign_minib3d_TEntity_UpdateRadius
	dd	__sidesign_minib3d_TEntity_EntityBox
	dd	__sidesign_minib3d_TEntity_EntityType
	dd	__sidesign_minib3d_TEntity_EntityPickMode
	dd	__sidesign_minib3d_TEntity_EntityCollided
	dd	__sidesign_minib3d_TEntity_CountCollisions
	dd	__sidesign_minib3d_TEntity_CollisionX
	dd	__sidesign_minib3d_TEntity_CollisionY
	dd	__sidesign_minib3d_TEntity_CollisionZ
	dd	__sidesign_minib3d_TEntity_CollisionNX
	dd	__sidesign_minib3d_TEntity_CollisionNY
	dd	__sidesign_minib3d_TEntity_CollisionNZ
	dd	__sidesign_minib3d_TEntity_CollisionTime
	dd	__sidesign_minib3d_TEntity_CollisionEntity
	dd	__sidesign_minib3d_TEntity_CollisionSurface
	dd	__sidesign_minib3d_TEntity_CollisionTriangle
	dd	__sidesign_minib3d_TEntity_GetEntityType
	dd	__sidesign_minib3d_TEntity_MeshCullRadius
	dd	__sidesign_minib3d_TEntity_EntityScaleX
	dd	__sidesign_minib3d_TEntity_EntityScaleY
	dd	__sidesign_minib3d_TEntity_EntityScaleZ
	dd	__sidesign_minib3d_TEntity_BoundingSphereNew
	dd	__sidesign_minib3d_TEntity_CountAllChildren
	dd	__sidesign_minib3d_TEntity_GetChildFromAll
	dd	__sidesign_minib3d_TEntity_UpdateMat
	dd	__sidesign_minib3d_TEntity_AddParent
	dd	__sidesign_minib3d_TEntity_UpdateChildren
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared
	dd	__sidesign_minib3d_TEntity_EntityListAdd
	dd	__sidesign_minib3d_TEntity_MQ_CopyMat
	dd	__sidesign_minib3d_TEntity_MQ_Rotate
	dd	__sidesign_minib3d_TEntity_MQ_Turn
	dd	__sidesign_minib3d_TEntity_MQ_Turn2
	dd	__sidesign_minib3d_TEntity_MQ_TransformPoint
	dd	__sidesign_minib3d_TEntity_MQ_Position
	dd	__sidesign_minib3d_TEntity_MQ_Move
	dd	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	dd	__sidesign_minib3d_TEntity_MQ_GetMatrix
	dd	__sidesign_minib3d_TEntity_MQ_Update
	dd	__sidesign_minib3d_TEntity_MQ_Scale
	dd	__sidesign_minib3d_TEntity_MQ_SetParent
	dd	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	dd	__sidesign_minib3d_TEntity_SetUpdateFlag
	dd	__sidesign_minib3d_TEntity_GetFrame
	dd	__sidesign_minib3d_TEntity_DeleteFrame
	dd	__sidesign_minib3d_TEntity_InsertFrame
	dd	__sidesign_minib3d_TEntity_SetAnimationFrame
	dd	__sidesign_minib3d_TEntity_RecordFrame
	dd	__sidesign_minib3d_TEntity_PlayFrame
	dd	__sidesign_minib3d_TEntity_TweenFrame
	dd	__sidesign_minib3d_TEntity_ApplyAnimationTo
	dd	__sidesign_minib3d_TEntity_AngDiff2
	dd	__sidesign_minib3d_TMesh_CreateMesh
	dd	__sidesign_minib3d_TMesh_LoadMesh
	dd	__sidesign_minib3d_TMesh_LoadAnimMesh
	dd	__sidesign_minib3d_TMesh_CreateCube
	dd	__sidesign_minib3d_TMesh_CreateSphere
	dd	__sidesign_minib3d_TMesh_CreateCylinder
	dd	__sidesign_minib3d_TMesh_CreateCone
	dd	__sidesign_minib3d_TMesh_CopyMesh
	dd	__sidesign_minib3d_TMesh_AddMesh
	dd	__sidesign_minib3d_TMesh_FlipMesh
	dd	__sidesign_minib3d_TMesh_PaintMesh
	dd	__sidesign_minib3d_TMesh_FitMesh
	dd	__sidesign_minib3d_TMesh_ScaleMesh
	dd	__sidesign_minib3d_TMesh_RotateMesh
	dd	__sidesign_minib3d_TMesh_PositionMesh
	dd	__sidesign_minib3d_TMesh_UpdateNormals
	dd	__sidesign_minib3d_TMesh_CreateSurface
	dd	__sidesign_minib3d_TMesh_MeshWidth
	dd	__sidesign_minib3d_TMesh_MeshHeight
	dd	__sidesign_minib3d_TMesh_MeshDepth
	dd	__sidesign_minib3d_TMesh_CountSurfaces
	dd	__sidesign_minib3d_TMesh_GetSurface
	dd	__sidesign_minib3d_TMesh_FindSurface
	dd	__sidesign_minib3d_TMesh_CountVertices
	dd	__sidesign_minib3d_TMesh_CountTriangles
	dd	__sidesign_minib3d_TMesh_CopyBonesList
	dd	__sidesign_minib3d_TMesh_CollapseAnimMesh
	dd	__sidesign_minib3d_TMesh_CollapseChildren
	dd	__sidesign_minib3d_TMesh_TransformMesh
	dd	__sidesign_minib3d_TMesh_GetBounds
	dd	__sidesign_minib3d_TMesh_Alpha
_1226:
	db	"TSprite",0
_1227:
	db	"angle",0
_1228:
	db	"scale_x",0
_1229:
	db	"scale_y",0
_1230:
	db	"handle_x",0
_1231:
	db	"handle_y",0
_1232:
	db	"view_mode",0
_1233:
	db	"(:TEntity):TSprite",0
_1234:
	db	"CreateSprite",0
_1235:
	db	"LoadSprite",0
_1236:
	db	"($,i,:TEntity):TSprite",0
_1237:
	db	"RotateSprite",0
_1238:
	db	"ScaleSprite",0
_1239:
	db	"HandleSprite",0
_1240:
	db	"SpriteViewMode",0
	align	4
_1225:
	dd	2
	dd	_1226
	dd	3
	dd	_1227
	dd	_867
	dd	320
	dd	3
	dd	_1228
	dd	_867
	dd	324
	dd	3
	dd	_1229
	dd	_867
	dd	328
	dd	3
	dd	_1230
	dd	_867
	dd	332
	dd	3
	dd	_1231
	dd	_867
	dd	336
	dd	3
	dd	_1232
	dd	_852
	dd	340
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_947
	dd	_1233
	dd	48
	dd	7
	dd	_1234
	dd	_1233
	dd	620
	dd	7
	dd	_1235
	dd	_1236
	dd	624
	dd	6
	dd	_1237
	dd	_834
	dd	628
	dd	6
	dd	_1238
	dd	_980
	dd	632
	dd	6
	dd	_1239
	dd	_980
	dd	636
	dd	6
	dd	_1240
	dd	_824
	dd	640
	dd	0
	align	4
_sidesign_minib3d_TSprite:
	dd	_sidesign_minib3d_TMesh
	dd	_bbObjectFree
	dd	_1225
	dd	344
	dd	__sidesign_minib3d_TSprite_New
	dd	__sidesign_minib3d_TSprite_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TSprite_CopyEntity
	dd	__sidesign_minib3d_TMesh_Update
	dd	__sidesign_minib3d_TMesh_FreeEntity
	dd	__sidesign_minib3d_TEntity_PositionEntity
	dd	__sidesign_minib3d_TEntity_MoveEntity
	dd	__sidesign_minib3d_TEntity_TranslateEntity
	dd	__sidesign_minib3d_TEntity_ScaleEntity
	dd	__sidesign_minib3d_TEntity_RotateEntity
	dd	__sidesign_minib3d_TEntity_TurnEntity
	dd	__sidesign_minib3d_TEntity_PointEntity
	dd	__sidesign_minib3d_TEntity_LoadAnimSeq
	dd	__sidesign_minib3d_TEntity_ExtractAnimSeq
	dd	__sidesign_minib3d_TEntity_Animate
	dd	__sidesign_minib3d_TEntity_SetAnimTime
	dd	__sidesign_minib3d_TEntity_AnimSeq
	dd	__sidesign_minib3d_TEntity_AnimLength
	dd	__sidesign_minib3d_TEntity_AnimTime
	dd	__sidesign_minib3d_TEntity_Animating
	dd	__sidesign_minib3d_TEntity_EntityColor
	dd	__sidesign_minib3d_TEntity_EntityAlpha
	dd	__sidesign_minib3d_TEntity_EntityShininess
	dd	__sidesign_minib3d_TEntity_EntityTexture
	dd	__sidesign_minib3d_TEntity_EntityBlend
	dd	__sidesign_minib3d_TEntity_EntityFX
	dd	__sidesign_minib3d_TEntity_EntityAutoFade
	dd	__sidesign_minib3d_TEntity_PaintEntity
	dd	__sidesign_minib3d_TEntity_EntityOrder
	dd	__sidesign_minib3d_TEntity_ShowEntity
	dd	__sidesign_minib3d_TEntity_HideEntity
	dd	__sidesign_minib3d_TEntity_Hidden
	dd	__sidesign_minib3d_TEntity_NameEntity
	dd	__sidesign_minib3d_TEntity_EntityParent
	dd	__sidesign_minib3d_TEntity_GetParent
	dd	__sidesign_minib3d_TEntity_EntityX
	dd	__sidesign_minib3d_TEntity_EntityY
	dd	__sidesign_minib3d_TEntity_EntityZ
	dd	__sidesign_minib3d_TEntity_EntityPitch
	dd	__sidesign_minib3d_TEntity_EntityYaw
	dd	__sidesign_minib3d_TEntity_EntityRoll
	dd	__sidesign_minib3d_TEntity_EntityClass
	dd	__sidesign_minib3d_TEntity_EntityName
	dd	__sidesign_minib3d_TEntity_CountChildren
	dd	__sidesign_minib3d_TEntity_GetChild
	dd	__sidesign_minib3d_TEntity_FindChild
	dd	__sidesign_minib3d_TEntity_EntityPick
	dd	__sidesign_minib3d_TEntity_LinePick
	dd	__sidesign_minib3d_TEntity_EntityVisible
	dd	__sidesign_minib3d_TEntity_EntityDistance
	dd	__sidesign_minib3d_TEntity_DeltaYaw
	dd	__sidesign_minib3d_TEntity_DeltaPitch
	dd	__sidesign_minib3d_TEntity_TFormPoint
	dd	__sidesign_minib3d_TEntity_TFormVector
	dd	__sidesign_minib3d_TEntity_TFormNormal
	dd	__sidesign_minib3d_TEntity_TFormedX
	dd	__sidesign_minib3d_TEntity_TFormedY
	dd	__sidesign_minib3d_TEntity_TFormedZ
	dd	__sidesign_minib3d_TEntity_GetMatElement
	dd	__sidesign_minib3d_TEntity_ResetEntity
	dd	__sidesign_minib3d_TEntity_EntityRadius
	dd	__sidesign_minib3d_TEntity_UpdateRadius
	dd	__sidesign_minib3d_TEntity_EntityBox
	dd	__sidesign_minib3d_TEntity_EntityType
	dd	__sidesign_minib3d_TEntity_EntityPickMode
	dd	__sidesign_minib3d_TEntity_EntityCollided
	dd	__sidesign_minib3d_TEntity_CountCollisions
	dd	__sidesign_minib3d_TEntity_CollisionX
	dd	__sidesign_minib3d_TEntity_CollisionY
	dd	__sidesign_minib3d_TEntity_CollisionZ
	dd	__sidesign_minib3d_TEntity_CollisionNX
	dd	__sidesign_minib3d_TEntity_CollisionNY
	dd	__sidesign_minib3d_TEntity_CollisionNZ
	dd	__sidesign_minib3d_TEntity_CollisionTime
	dd	__sidesign_minib3d_TEntity_CollisionEntity
	dd	__sidesign_minib3d_TEntity_CollisionSurface
	dd	__sidesign_minib3d_TEntity_CollisionTriangle
	dd	__sidesign_minib3d_TEntity_GetEntityType
	dd	__sidesign_minib3d_TEntity_MeshCullRadius
	dd	__sidesign_minib3d_TEntity_EntityScaleX
	dd	__sidesign_minib3d_TEntity_EntityScaleY
	dd	__sidesign_minib3d_TEntity_EntityScaleZ
	dd	__sidesign_minib3d_TEntity_BoundingSphereNew
	dd	__sidesign_minib3d_TEntity_CountAllChildren
	dd	__sidesign_minib3d_TEntity_GetChildFromAll
	dd	__sidesign_minib3d_TEntity_UpdateMat
	dd	__sidesign_minib3d_TEntity_AddParent
	dd	__sidesign_minib3d_TEntity_UpdateChildren
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared
	dd	__sidesign_minib3d_TEntity_EntityListAdd
	dd	__sidesign_minib3d_TEntity_MQ_CopyMat
	dd	__sidesign_minib3d_TEntity_MQ_Rotate
	dd	__sidesign_minib3d_TEntity_MQ_Turn
	dd	__sidesign_minib3d_TEntity_MQ_Turn2
	dd	__sidesign_minib3d_TEntity_MQ_TransformPoint
	dd	__sidesign_minib3d_TEntity_MQ_Position
	dd	__sidesign_minib3d_TEntity_MQ_Move
	dd	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	dd	__sidesign_minib3d_TEntity_MQ_GetMatrix
	dd	__sidesign_minib3d_TEntity_MQ_Update
	dd	__sidesign_minib3d_TEntity_MQ_Scale
	dd	__sidesign_minib3d_TEntity_MQ_SetParent
	dd	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	dd	__sidesign_minib3d_TEntity_SetUpdateFlag
	dd	__sidesign_minib3d_TEntity_GetFrame
	dd	__sidesign_minib3d_TEntity_DeleteFrame
	dd	__sidesign_minib3d_TEntity_InsertFrame
	dd	__sidesign_minib3d_TEntity_SetAnimationFrame
	dd	__sidesign_minib3d_TEntity_RecordFrame
	dd	__sidesign_minib3d_TEntity_PlayFrame
	dd	__sidesign_minib3d_TEntity_TweenFrame
	dd	__sidesign_minib3d_TEntity_ApplyAnimationTo
	dd	__sidesign_minib3d_TEntity_AngDiff2
	dd	__sidesign_minib3d_TMesh_CreateMesh
	dd	__sidesign_minib3d_TMesh_LoadMesh
	dd	__sidesign_minib3d_TMesh_LoadAnimMesh
	dd	__sidesign_minib3d_TMesh_CreateCube
	dd	__sidesign_minib3d_TMesh_CreateSphere
	dd	__sidesign_minib3d_TMesh_CreateCylinder
	dd	__sidesign_minib3d_TMesh_CreateCone
	dd	__sidesign_minib3d_TMesh_CopyMesh
	dd	__sidesign_minib3d_TMesh_AddMesh
	dd	__sidesign_minib3d_TMesh_FlipMesh
	dd	__sidesign_minib3d_TMesh_PaintMesh
	dd	__sidesign_minib3d_TMesh_FitMesh
	dd	__sidesign_minib3d_TMesh_ScaleMesh
	dd	__sidesign_minib3d_TMesh_RotateMesh
	dd	__sidesign_minib3d_TMesh_PositionMesh
	dd	__sidesign_minib3d_TMesh_UpdateNormals
	dd	__sidesign_minib3d_TMesh_CreateSurface
	dd	__sidesign_minib3d_TMesh_MeshWidth
	dd	__sidesign_minib3d_TMesh_MeshHeight
	dd	__sidesign_minib3d_TMesh_MeshDepth
	dd	__sidesign_minib3d_TMesh_CountSurfaces
	dd	__sidesign_minib3d_TMesh_GetSurface
	dd	__sidesign_minib3d_TMesh_FindSurface
	dd	__sidesign_minib3d_TMesh_CountVertices
	dd	__sidesign_minib3d_TMesh_CountTriangles
	dd	__sidesign_minib3d_TMesh_CopyBonesList
	dd	__sidesign_minib3d_TMesh_CollapseAnimMesh
	dd	__sidesign_minib3d_TMesh_CollapseChildren
	dd	__sidesign_minib3d_TMesh_TransformMesh
	dd	__sidesign_minib3d_TMesh_GetBounds
	dd	__sidesign_minib3d_TMesh_Alpha
	dd	__sidesign_minib3d_TSprite_CreateSprite
	dd	__sidesign_minib3d_TSprite_LoadSprite
	dd	__sidesign_minib3d_TSprite_RotateSprite
	dd	__sidesign_minib3d_TSprite_ScaleSprite
	dd	__sidesign_minib3d_TSprite_HandleSprite
	dd	__sidesign_minib3d_TSprite_SpriteViewMode
_1242:
	db	"TBone",0
_1243:
	db	"n_px",0
_1244:
	db	"n_py",0
_1245:
	db	"n_pz",0
_1246:
	db	"n_sx",0
_1247:
	db	"n_sy",0
_1248:
	db	"n_sz",0
_1249:
	db	"n_rx",0
_1250:
	db	"n_ry",0
_1251:
	db	"n_rz",0
_1252:
	db	"n_qw",0
_1253:
	db	"n_qx",0
_1254:
	db	"n_qy",0
_1255:
	db	"n_qz",0
_1256:
	db	"keys",0
_1257:
	db	":TAnimationKeys",0
_1258:
	db	"mat2",0
_1259:
	db	"inv_mat",0
_1260:
	db	"tform_mat",0
_1261:
	db	"kx",0
_1262:
	db	"ky",0
_1263:
	db	"kz",0
_1264:
	db	"kqw",0
_1265:
	db	"kqx",0
_1266:
	db	"kqy",0
_1267:
	db	"kqz",0
_1268:
	db	"(:TEntity):TBone",0
_1269:
	db	"UpdateBoneChildren",0
	align	4
_1241:
	dd	2
	dd	_1242
	dd	3
	dd	_1243
	dd	_867
	dd	264
	dd	3
	dd	_1244
	dd	_867
	dd	268
	dd	3
	dd	_1245
	dd	_867
	dd	272
	dd	3
	dd	_1246
	dd	_867
	dd	276
	dd	3
	dd	_1247
	dd	_867
	dd	280
	dd	3
	dd	_1248
	dd	_867
	dd	284
	dd	3
	dd	_1249
	dd	_867
	dd	288
	dd	3
	dd	_1250
	dd	_867
	dd	292
	dd	3
	dd	_1251
	dd	_867
	dd	296
	dd	3
	dd	_1252
	dd	_867
	dd	300
	dd	3
	dd	_1253
	dd	_867
	dd	304
	dd	3
	dd	_1254
	dd	_867
	dd	308
	dd	3
	dd	_1255
	dd	_867
	dd	312
	dd	3
	dd	_1256
	dd	_1257
	dd	316
	dd	3
	dd	_1258
	dd	_887
	dd	320
	dd	3
	dd	_1259
	dd	_887
	dd	324
	dd	3
	dd	_1260
	dd	_887
	dd	328
	dd	3
	dd	_1261
	dd	_867
	dd	332
	dd	3
	dd	_1262
	dd	_867
	dd	336
	dd	3
	dd	_1263
	dd	_867
	dd	340
	dd	3
	dd	_1264
	dd	_867
	dd	344
	dd	3
	dd	_1265
	dd	_867
	dd	348
	dd	3
	dd	_1266
	dd	_867
	dd	352
	dd	3
	dd	_1267
	dd	_867
	dd	356
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_947
	dd	_1268
	dd	48
	dd	6
	dd	_950
	dd	_819
	dd	56
	dd	7
	dd	_1269
	dd	_859
	dd	496
	dd	6
	dd	_949
	dd	_819
	dd	52
	dd	0
	align	4
_sidesign_minib3d_TBone:
	dd	_sidesign_minib3d_TEntity
	dd	_bbObjectFree
	dd	_1241
	dd	360
	dd	__sidesign_minib3d_TBone_New
	dd	__sidesign_minib3d_TBone_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TBone_CopyEntity
	dd	__sidesign_minib3d_TBone_Update
	dd	__sidesign_minib3d_TBone_FreeEntity
	dd	__sidesign_minib3d_TEntity_PositionEntity
	dd	__sidesign_minib3d_TEntity_MoveEntity
	dd	__sidesign_minib3d_TEntity_TranslateEntity
	dd	__sidesign_minib3d_TEntity_ScaleEntity
	dd	__sidesign_minib3d_TEntity_RotateEntity
	dd	__sidesign_minib3d_TEntity_TurnEntity
	dd	__sidesign_minib3d_TEntity_PointEntity
	dd	__sidesign_minib3d_TEntity_LoadAnimSeq
	dd	__sidesign_minib3d_TEntity_ExtractAnimSeq
	dd	__sidesign_minib3d_TEntity_Animate
	dd	__sidesign_minib3d_TEntity_SetAnimTime
	dd	__sidesign_minib3d_TEntity_AnimSeq
	dd	__sidesign_minib3d_TEntity_AnimLength
	dd	__sidesign_minib3d_TEntity_AnimTime
	dd	__sidesign_minib3d_TEntity_Animating
	dd	__sidesign_minib3d_TEntity_EntityColor
	dd	__sidesign_minib3d_TEntity_EntityAlpha
	dd	__sidesign_minib3d_TEntity_EntityShininess
	dd	__sidesign_minib3d_TEntity_EntityTexture
	dd	__sidesign_minib3d_TEntity_EntityBlend
	dd	__sidesign_minib3d_TEntity_EntityFX
	dd	__sidesign_minib3d_TEntity_EntityAutoFade
	dd	__sidesign_minib3d_TEntity_PaintEntity
	dd	__sidesign_minib3d_TEntity_EntityOrder
	dd	__sidesign_minib3d_TEntity_ShowEntity
	dd	__sidesign_minib3d_TEntity_HideEntity
	dd	__sidesign_minib3d_TEntity_Hidden
	dd	__sidesign_minib3d_TEntity_NameEntity
	dd	__sidesign_minib3d_TEntity_EntityParent
	dd	__sidesign_minib3d_TEntity_GetParent
	dd	__sidesign_minib3d_TEntity_EntityX
	dd	__sidesign_minib3d_TEntity_EntityY
	dd	__sidesign_minib3d_TEntity_EntityZ
	dd	__sidesign_minib3d_TEntity_EntityPitch
	dd	__sidesign_minib3d_TEntity_EntityYaw
	dd	__sidesign_minib3d_TEntity_EntityRoll
	dd	__sidesign_minib3d_TEntity_EntityClass
	dd	__sidesign_minib3d_TEntity_EntityName
	dd	__sidesign_minib3d_TEntity_CountChildren
	dd	__sidesign_minib3d_TEntity_GetChild
	dd	__sidesign_minib3d_TEntity_FindChild
	dd	__sidesign_minib3d_TEntity_EntityPick
	dd	__sidesign_minib3d_TEntity_LinePick
	dd	__sidesign_minib3d_TEntity_EntityVisible
	dd	__sidesign_minib3d_TEntity_EntityDistance
	dd	__sidesign_minib3d_TEntity_DeltaYaw
	dd	__sidesign_minib3d_TEntity_DeltaPitch
	dd	__sidesign_minib3d_TEntity_TFormPoint
	dd	__sidesign_minib3d_TEntity_TFormVector
	dd	__sidesign_minib3d_TEntity_TFormNormal
	dd	__sidesign_minib3d_TEntity_TFormedX
	dd	__sidesign_minib3d_TEntity_TFormedY
	dd	__sidesign_minib3d_TEntity_TFormedZ
	dd	__sidesign_minib3d_TEntity_GetMatElement
	dd	__sidesign_minib3d_TEntity_ResetEntity
	dd	__sidesign_minib3d_TEntity_EntityRadius
	dd	__sidesign_minib3d_TEntity_UpdateRadius
	dd	__sidesign_minib3d_TEntity_EntityBox
	dd	__sidesign_minib3d_TEntity_EntityType
	dd	__sidesign_minib3d_TEntity_EntityPickMode
	dd	__sidesign_minib3d_TEntity_EntityCollided
	dd	__sidesign_minib3d_TEntity_CountCollisions
	dd	__sidesign_minib3d_TEntity_CollisionX
	dd	__sidesign_minib3d_TEntity_CollisionY
	dd	__sidesign_minib3d_TEntity_CollisionZ
	dd	__sidesign_minib3d_TEntity_CollisionNX
	dd	__sidesign_minib3d_TEntity_CollisionNY
	dd	__sidesign_minib3d_TEntity_CollisionNZ
	dd	__sidesign_minib3d_TEntity_CollisionTime
	dd	__sidesign_minib3d_TEntity_CollisionEntity
	dd	__sidesign_minib3d_TEntity_CollisionSurface
	dd	__sidesign_minib3d_TEntity_CollisionTriangle
	dd	__sidesign_minib3d_TEntity_GetEntityType
	dd	__sidesign_minib3d_TEntity_MeshCullRadius
	dd	__sidesign_minib3d_TEntity_EntityScaleX
	dd	__sidesign_minib3d_TEntity_EntityScaleY
	dd	__sidesign_minib3d_TEntity_EntityScaleZ
	dd	__sidesign_minib3d_TEntity_BoundingSphereNew
	dd	__sidesign_minib3d_TEntity_CountAllChildren
	dd	__sidesign_minib3d_TEntity_GetChildFromAll
	dd	__sidesign_minib3d_TEntity_UpdateMat
	dd	__sidesign_minib3d_TEntity_AddParent
	dd	__sidesign_minib3d_TEntity_UpdateChildren
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared
	dd	__sidesign_minib3d_TEntity_EntityListAdd
	dd	__sidesign_minib3d_TEntity_MQ_CopyMat
	dd	__sidesign_minib3d_TEntity_MQ_Rotate
	dd	__sidesign_minib3d_TEntity_MQ_Turn
	dd	__sidesign_minib3d_TEntity_MQ_Turn2
	dd	__sidesign_minib3d_TEntity_MQ_TransformPoint
	dd	__sidesign_minib3d_TEntity_MQ_Position
	dd	__sidesign_minib3d_TEntity_MQ_Move
	dd	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	dd	__sidesign_minib3d_TEntity_MQ_GetMatrix
	dd	__sidesign_minib3d_TEntity_MQ_Update
	dd	__sidesign_minib3d_TEntity_MQ_Scale
	dd	__sidesign_minib3d_TEntity_MQ_SetParent
	dd	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	dd	__sidesign_minib3d_TEntity_SetUpdateFlag
	dd	__sidesign_minib3d_TEntity_GetFrame
	dd	__sidesign_minib3d_TEntity_DeleteFrame
	dd	__sidesign_minib3d_TEntity_InsertFrame
	dd	__sidesign_minib3d_TEntity_SetAnimationFrame
	dd	__sidesign_minib3d_TEntity_RecordFrame
	dd	__sidesign_minib3d_TEntity_PlayFrame
	dd	__sidesign_minib3d_TEntity_TweenFrame
	dd	__sidesign_minib3d_TEntity_ApplyAnimationTo
	dd	__sidesign_minib3d_TEntity_AngDiff2
	dd	__sidesign_minib3d_TBone_UpdateBoneChildren
	align	4
__sidesign_minib3d_TTerrain_rethigh:
	dd	0x0
	align	4
__sidesign_minib3d_TTerrain_terrain_list:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TTerrain_triangleindex:
	dd	0
	align	4
__sidesign_minib3d_TTerrain_mesh_info:
	dd	0
_1271:
	db	"TTerrain",0
_1272:
	db	"ROAM_LMAX",0
	align	4
_1273:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	49,48
_1274:
	db	"size",0
_1275:
	db	"vsize",0
_1276:
	db	"voffset",0
_1277:
	db	"empty",0
_1278:
	db	"level2dzsize",0
_1279:
	db	"[]f",0
_1280:
	db	"height",0
_1281:
	db	"xcf",0
_1282:
	db	"ycf",0
_1283:
	db	"zcf",0
_1284:
	db	"rxcf",0
_1285:
	db	"rycf",0
_1286:
	db	"rzcf",0
_1287:
	db	"eyepoint",0
_1288:
	db	":TCamera",0
_1289:
	db	"vert",0
_1290:
	db	"[,]s",0
_1291:
	db	"SetVSize",0
_1292:
	db	"(:TEntity):TTerrain",0
_1293:
	db	"():TTerrain",0
_1294:
	db	"RecreateROAM",0
_1295:
	db	"drawsub",0
_1296:
	db	"(i,[]f,[]f,[]f)i",0
_1297:
	db	"FromPixmap",0
_1298:
	db	"(:brl.pixmap.TPixmap)i",0
_1299:
	db	"Load",0
_1300:
	db	"ReadHeight",0
_1301:
	db	"GetHeight",0
_1302:
	db	"GetY",0
_1303:
	db	"getsub",0
	align	4
_1270:
	dd	2
	dd	_1271
	dd	1
	dd	_1272
	dd	_852
	dd	_1273
	dd	3
	dd	_1274
	dd	_867
	dd	264
	dd	3
	dd	_1275
	dd	_867
	dd	268
	dd	3
	dd	_1276
	dd	_867
	dd	272
	dd	3
	dd	_1277
	dd	_852
	dd	276
	dd	3
	dd	_1278
	dd	_1279
	dd	280
	dd	3
	dd	_1280
	dd	_1121
	dd	284
	dd	3
	dd	_1281
	dd	_867
	dd	288
	dd	3
	dd	_1282
	dd	_867
	dd	292
	dd	3
	dd	_1283
	dd	_867
	dd	296
	dd	3
	dd	_1284
	dd	_867
	dd	300
	dd	3
	dd	_1285
	dd	_867
	dd	304
	dd	3
	dd	_1286
	dd	_867
	dd	308
	dd	3
	dd	_1287
	dd	_1288
	dd	312
	dd	3
	dd	_1180
	dd	_1181
	dd	316
	dd	3
	dd	_1289
	dd	_1290
	dd	320
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_1291
	dd	_834
	dd	496
	dd	6
	dd	_947
	dd	_1292
	dd	48
	dd	6
	dd	_855
	dd	_1293
	dd	500
	dd	6
	dd	_857
	dd	_819
	dd	504
	dd	6
	dd	_949
	dd	_819
	dd	52
	dd	6
	dd	_1294
	dd	_819
	dd	508
	dd	6
	dd	_1295
	dd	_1296
	dd	512
	dd	6
	dd	_1297
	dd	_1298
	dd	516
	dd	6
	dd	_1299
	dd	_961
	dd	520
	dd	6
	dd	_1300
	dd	_1025
	dd	524
	dd	6
	dd	_1301
	dd	_1094
	dd	528
	dd	6
	dd	_1302
	dd	_1094
	dd	532
	dd	6
	dd	_1303
	dd	_1296
	dd	536
	dd	0
	align	4
_sidesign_minib3d_TTerrain:
	dd	_sidesign_minib3d_TEntity
	dd	_bbObjectFree
	dd	_1270
	dd	324
	dd	__sidesign_minib3d_TTerrain_New
	dd	__sidesign_minib3d_TTerrain_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TTerrain_CopyEntity
	dd	__sidesign_minib3d_TTerrain_Update
	dd	__sidesign_minib3d_TEntity_FreeEntity
	dd	__sidesign_minib3d_TEntity_PositionEntity
	dd	__sidesign_minib3d_TEntity_MoveEntity
	dd	__sidesign_minib3d_TEntity_TranslateEntity
	dd	__sidesign_minib3d_TEntity_ScaleEntity
	dd	__sidesign_minib3d_TEntity_RotateEntity
	dd	__sidesign_minib3d_TEntity_TurnEntity
	dd	__sidesign_minib3d_TEntity_PointEntity
	dd	__sidesign_minib3d_TEntity_LoadAnimSeq
	dd	__sidesign_minib3d_TEntity_ExtractAnimSeq
	dd	__sidesign_minib3d_TEntity_Animate
	dd	__sidesign_minib3d_TEntity_SetAnimTime
	dd	__sidesign_minib3d_TEntity_AnimSeq
	dd	__sidesign_minib3d_TEntity_AnimLength
	dd	__sidesign_minib3d_TEntity_AnimTime
	dd	__sidesign_minib3d_TEntity_Animating
	dd	__sidesign_minib3d_TEntity_EntityColor
	dd	__sidesign_minib3d_TEntity_EntityAlpha
	dd	__sidesign_minib3d_TEntity_EntityShininess
	dd	__sidesign_minib3d_TEntity_EntityTexture
	dd	__sidesign_minib3d_TEntity_EntityBlend
	dd	__sidesign_minib3d_TEntity_EntityFX
	dd	__sidesign_minib3d_TEntity_EntityAutoFade
	dd	__sidesign_minib3d_TEntity_PaintEntity
	dd	__sidesign_minib3d_TEntity_EntityOrder
	dd	__sidesign_minib3d_TEntity_ShowEntity
	dd	__sidesign_minib3d_TEntity_HideEntity
	dd	__sidesign_minib3d_TEntity_Hidden
	dd	__sidesign_minib3d_TEntity_NameEntity
	dd	__sidesign_minib3d_TEntity_EntityParent
	dd	__sidesign_minib3d_TEntity_GetParent
	dd	__sidesign_minib3d_TEntity_EntityX
	dd	__sidesign_minib3d_TEntity_EntityY
	dd	__sidesign_minib3d_TEntity_EntityZ
	dd	__sidesign_minib3d_TEntity_EntityPitch
	dd	__sidesign_minib3d_TEntity_EntityYaw
	dd	__sidesign_minib3d_TEntity_EntityRoll
	dd	__sidesign_minib3d_TEntity_EntityClass
	dd	__sidesign_minib3d_TEntity_EntityName
	dd	__sidesign_minib3d_TEntity_CountChildren
	dd	__sidesign_minib3d_TEntity_GetChild
	dd	__sidesign_minib3d_TEntity_FindChild
	dd	__sidesign_minib3d_TEntity_EntityPick
	dd	__sidesign_minib3d_TEntity_LinePick
	dd	__sidesign_minib3d_TEntity_EntityVisible
	dd	__sidesign_minib3d_TEntity_EntityDistance
	dd	__sidesign_minib3d_TEntity_DeltaYaw
	dd	__sidesign_minib3d_TEntity_DeltaPitch
	dd	__sidesign_minib3d_TEntity_TFormPoint
	dd	__sidesign_minib3d_TEntity_TFormVector
	dd	__sidesign_minib3d_TEntity_TFormNormal
	dd	__sidesign_minib3d_TEntity_TFormedX
	dd	__sidesign_minib3d_TEntity_TFormedY
	dd	__sidesign_minib3d_TEntity_TFormedZ
	dd	__sidesign_minib3d_TEntity_GetMatElement
	dd	__sidesign_minib3d_TEntity_ResetEntity
	dd	__sidesign_minib3d_TEntity_EntityRadius
	dd	__sidesign_minib3d_TEntity_UpdateRadius
	dd	__sidesign_minib3d_TEntity_EntityBox
	dd	__sidesign_minib3d_TEntity_EntityType
	dd	__sidesign_minib3d_TEntity_EntityPickMode
	dd	__sidesign_minib3d_TEntity_EntityCollided
	dd	__sidesign_minib3d_TEntity_CountCollisions
	dd	__sidesign_minib3d_TEntity_CollisionX
	dd	__sidesign_minib3d_TEntity_CollisionY
	dd	__sidesign_minib3d_TEntity_CollisionZ
	dd	__sidesign_minib3d_TEntity_CollisionNX
	dd	__sidesign_minib3d_TEntity_CollisionNY
	dd	__sidesign_minib3d_TEntity_CollisionNZ
	dd	__sidesign_minib3d_TEntity_CollisionTime
	dd	__sidesign_minib3d_TEntity_CollisionEntity
	dd	__sidesign_minib3d_TEntity_CollisionSurface
	dd	__sidesign_minib3d_TEntity_CollisionTriangle
	dd	__sidesign_minib3d_TEntity_GetEntityType
	dd	__sidesign_minib3d_TEntity_MeshCullRadius
	dd	__sidesign_minib3d_TEntity_EntityScaleX
	dd	__sidesign_minib3d_TEntity_EntityScaleY
	dd	__sidesign_minib3d_TEntity_EntityScaleZ
	dd	__sidesign_minib3d_TEntity_BoundingSphereNew
	dd	__sidesign_minib3d_TEntity_CountAllChildren
	dd	__sidesign_minib3d_TEntity_GetChildFromAll
	dd	__sidesign_minib3d_TEntity_UpdateMat
	dd	__sidesign_minib3d_TEntity_AddParent
	dd	__sidesign_minib3d_TEntity_UpdateChildren
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared0
	dd	__sidesign_minib3d_TEntity_EntityDistanceSquared
	dd	__sidesign_minib3d_TEntity_EntityListAdd
	dd	__sidesign_minib3d_TEntity_MQ_CopyMat
	dd	__sidesign_minib3d_TEntity_MQ_Rotate
	dd	__sidesign_minib3d_TEntity_MQ_Turn
	dd	__sidesign_minib3d_TEntity_MQ_Turn2
	dd	__sidesign_minib3d_TEntity_MQ_TransformPoint
	dd	__sidesign_minib3d_TEntity_MQ_Position
	dd	__sidesign_minib3d_TEntity_MQ_Move
	dd	__sidesign_minib3d_TEntity_MQ_GetInvMatrix
	dd	__sidesign_minib3d_TEntity_MQ_GetMatrix
	dd	__sidesign_minib3d_TEntity_MQ_Update
	dd	__sidesign_minib3d_TEntity_MQ_Scale
	dd	__sidesign_minib3d_TEntity_MQ_SetParent
	dd	__sidesign_minib3d_TEntity_MQ_GetScaleXYZ
	dd	__sidesign_minib3d_TEntity_SetUpdateFlag
	dd	__sidesign_minib3d_TEntity_GetFrame
	dd	__sidesign_minib3d_TEntity_DeleteFrame
	dd	__sidesign_minib3d_TEntity_InsertFrame
	dd	__sidesign_minib3d_TEntity_SetAnimationFrame
	dd	__sidesign_minib3d_TEntity_RecordFrame
	dd	__sidesign_minib3d_TEntity_PlayFrame
	dd	__sidesign_minib3d_TEntity_TweenFrame
	dd	__sidesign_minib3d_TEntity_ApplyAnimationTo
	dd	__sidesign_minib3d_TEntity_AngDiff2
	dd	__sidesign_minib3d_TTerrain_SetVSize
	dd	__sidesign_minib3d_TTerrain_Create
	dd	__sidesign_minib3d_TTerrain_Free
	dd	__sidesign_minib3d_TTerrain_RecreateROAM
	dd	__sidesign_minib3d_TTerrain_drawsub
	dd	__sidesign_minib3d_TTerrain_FromPixmap
	dd	__sidesign_minib3d_TTerrain_Load
	dd	__sidesign_minib3d_TTerrain_ReadHeight
	dd	__sidesign_minib3d_TTerrain_GetHeight
	dd	__sidesign_minib3d_TTerrain_GetY
	dd	__sidesign_minib3d_TTerrain_getsub
_1305:
	db	"TSurface",0
_1306:
	db	"no_verts",0
_1307:
	db	"no_tris",0
_1308:
	db	"tris",0
_1309:
	db	"[]s",0
_1310:
	db	"vert_coords",0
_1311:
	db	"vert_tex_coords0",0
_1312:
	db	"vert_tex_coords1",0
_1313:
	db	"vert_norm",0
_1314:
	db	"vert_col",0
_1315:
	db	"vert_bone1_no",0
_1316:
	db	"vert_bone2_no",0
_1317:
	db	"vert_bone3_no",0
_1318:
	db	"vert_bone4_no",0
_1319:
	db	"vert_weight1",0
_1320:
	db	"vert_weight2",0
_1321:
	db	"vert_weight3",0
_1322:
	db	"vert_weight4",0
_1323:
	db	"vbo_id",0
_1324:
	db	"vert_array_size",0
_1325:
	db	"tri_array_size",0
_1326:
	db	"vmin",0
_1327:
	db	"vmax",0
_1328:
	db	"reset_vbo",0
_1329:
	db	"alpha_enable",0
_1330:
	db	"Compare",0
_1331:
	db	"(:Object)i",0
_1332:
	db	"():TSurface",0
_1333:
	db	"PaintSurface",0
_1334:
	db	"ClearSurface",0
_1335:
	db	"AddVertex",0
_1336:
	db	"AddTriangle",0
_1337:
	db	"VertexCoords",0
_1338:
	db	"(i,f,f,f)i",0
_1339:
	db	"VertexColor",0
_1340:
	db	"(i,f,f,f,f)i",0
_1341:
	db	"VertexNormal",0
_1342:
	db	"VertexTexCoords",0
_1343:
	db	"(i,f,f,f,i)i",0
_1344:
	db	"VertexX",0
_1345:
	db	"VertexY",0
_1346:
	db	"VertexZ",0
_1347:
	db	"VertexRed",0
_1348:
	db	"VertexGreen",0
_1349:
	db	"VertexBlue",0
_1350:
	db	"VertexAlpha",0
_1351:
	db	"VertexNX",0
_1352:
	db	"VertexNY",0
_1353:
	db	"VertexNZ",0
_1354:
	db	"VertexU",0
_1355:
	db	"VertexV",0
_1356:
	db	"VertexW",0
_1357:
	db	"TriangleVertex",0
_1358:
	db	"TriangleNX",0
_1359:
	db	"TriangleNY",0
_1360:
	db	"TriangleNZ",0
_1361:
	db	"UpdateVBO",0
_1362:
	db	"FreeVBO",0
_1363:
	db	"RemoveTri",0
_1364:
	db	"(:TSurface,i)i",0
_1365:
	db	"RemoveVerts",0
_1366:
	db	"(:TSurface)i",0
	align	4
_1304:
	dd	2
	dd	_1305
	dd	3
	dd	_1306
	dd	_852
	dd	8
	dd	3
	dd	_1307
	dd	_852
	dd	12
	dd	3
	dd	_1308
	dd	_1309
	dd	16
	dd	3
	dd	_1310
	dd	_1279
	dd	20
	dd	3
	dd	_1311
	dd	_1279
	dd	24
	dd	3
	dd	_1312
	dd	_1279
	dd	28
	dd	3
	dd	_1313
	dd	_1279
	dd	32
	dd	3
	dd	_1314
	dd	_1279
	dd	36
	dd	3
	dd	_1315
	dd	_938
	dd	40
	dd	3
	dd	_1316
	dd	_938
	dd	44
	dd	3
	dd	_1317
	dd	_938
	dd	48
	dd	3
	dd	_1318
	dd	_938
	dd	52
	dd	3
	dd	_1319
	dd	_1279
	dd	56
	dd	3
	dd	_1320
	dd	_1279
	dd	60
	dd	3
	dd	_1321
	dd	_1279
	dd	64
	dd	3
	dd	_1322
	dd	_1279
	dd	68
	dd	3
	dd	_910
	dd	_911
	dd	72
	dd	3
	dd	_1323
	dd	_938
	dd	76
	dd	3
	dd	_1324
	dd	_852
	dd	80
	dd	3
	dd	_1325
	dd	_852
	dd	84
	dd	3
	dd	_1326
	dd	_852
	dd	88
	dd	3
	dd	_1327
	dd	_852
	dd	92
	dd	3
	dd	_1328
	dd	_852
	dd	96
	dd	3
	dd	_1329
	dd	_852
	dd	100
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_1330
	dd	_1331
	dd	28
	dd	6
	dd	_876
	dd	_1332
	dd	48
	dd	6
	dd	_1333
	dd	_982
	dd	52
	dd	6
	dd	_1334
	dd	_1032
	dd	56
	dd	6
	dd	_1335
	dd	_1030
	dd	60
	dd	6
	dd	_1336
	dd	_832
	dd	64
	dd	6
	dd	_1213
	dd	_819
	dd	68
	dd	6
	dd	_1214
	dd	_819
	dd	72
	dd	6
	dd	_1337
	dd	_1338
	dd	76
	dd	6
	dd	_1339
	dd	_1340
	dd	80
	dd	6
	dd	_1341
	dd	_1338
	dd	84
	dd	6
	dd	_1342
	dd	_1343
	dd	88
	dd	6
	dd	_1344
	dd	_993
	dd	92
	dd	6
	dd	_1345
	dd	_993
	dd	96
	dd	6
	dd	_1346
	dd	_993
	dd	100
	dd	6
	dd	_1347
	dd	_993
	dd	104
	dd	6
	dd	_1348
	dd	_993
	dd	108
	dd	6
	dd	_1349
	dd	_993
	dd	112
	dd	6
	dd	_1350
	dd	_993
	dd	116
	dd	6
	dd	_1351
	dd	_993
	dd	120
	dd	6
	dd	_1352
	dd	_993
	dd	124
	dd	6
	dd	_1353
	dd	_993
	dd	128
	dd	6
	dd	_1354
	dd	_1025
	dd	132
	dd	6
	dd	_1355
	dd	_1025
	dd	136
	dd	6
	dd	_1356
	dd	_1025
	dd	140
	dd	6
	dd	_1357
	dd	_1032
	dd	144
	dd	6
	dd	_1204
	dd	_819
	dd	148
	dd	6
	dd	_1358
	dd	_993
	dd	152
	dd	6
	dd	_1359
	dd	_993
	dd	156
	dd	6
	dd	_1360
	dd	_993
	dd	160
	dd	6
	dd	_1361
	dd	_819
	dd	164
	dd	6
	dd	_1362
	dd	_819
	dd	168
	dd	7
	dd	_1363
	dd	_1364
	dd	172
	dd	7
	dd	_1365
	dd	_1366
	dd	176
	dd	0
	align	4
_sidesign_minib3d_TSurface:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1304
	dd	104
	dd	__sidesign_minib3d_TSurface_New
	dd	__sidesign_minib3d_TSurface_Delete
	dd	_bbObjectToString
	dd	__sidesign_minib3d_TSurface_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TSurface_Copy
	dd	__sidesign_minib3d_TSurface_PaintSurface
	dd	__sidesign_minib3d_TSurface_ClearSurface
	dd	__sidesign_minib3d_TSurface_AddVertex
	dd	__sidesign_minib3d_TSurface_AddTriangle
	dd	__sidesign_minib3d_TSurface_CountVertices
	dd	__sidesign_minib3d_TSurface_CountTriangles
	dd	__sidesign_minib3d_TSurface_VertexCoords
	dd	__sidesign_minib3d_TSurface_VertexColor
	dd	__sidesign_minib3d_TSurface_VertexNormal
	dd	__sidesign_minib3d_TSurface_VertexTexCoords
	dd	__sidesign_minib3d_TSurface_VertexX
	dd	__sidesign_minib3d_TSurface_VertexY
	dd	__sidesign_minib3d_TSurface_VertexZ
	dd	__sidesign_minib3d_TSurface_VertexRed
	dd	__sidesign_minib3d_TSurface_VertexGreen
	dd	__sidesign_minib3d_TSurface_VertexBlue
	dd	__sidesign_minib3d_TSurface_VertexAlpha
	dd	__sidesign_minib3d_TSurface_VertexNX
	dd	__sidesign_minib3d_TSurface_VertexNY
	dd	__sidesign_minib3d_TSurface_VertexNZ
	dd	__sidesign_minib3d_TSurface_VertexU
	dd	__sidesign_minib3d_TSurface_VertexV
	dd	__sidesign_minib3d_TSurface_VertexW
	dd	__sidesign_minib3d_TSurface_TriangleVertex
	dd	__sidesign_minib3d_TSurface_UpdateNormals
	dd	__sidesign_minib3d_TSurface_TriangleNX
	dd	__sidesign_minib3d_TSurface_TriangleNY
	dd	__sidesign_minib3d_TSurface_TriangleNZ
	dd	__sidesign_minib3d_TSurface_UpdateVBO
	dd	__sidesign_minib3d_TSurface_FreeVBO
	dd	__sidesign_minib3d_TSurface_RemoveTri
	dd	__sidesign_minib3d_TSurface_RemoveVerts
	align	4
__sidesign_minib3d_TTexture_tex_list:
	dd	_bbNullObject
_1368:
	db	"TTexture",0
_1369:
	db	"file",0
_1370:
	db	"flags",0
_1371:
	db	"blend",0
_1372:
	db	"coords",0
_1373:
	db	"u_scale",0
_1374:
	db	"v_scale",0
_1375:
	db	"u_pos",0
_1376:
	db	"v_pos",0
_1377:
	db	"file_abs",0
_1378:
	db	"width",0
_1379:
	db	"pixmap",0
_1380:
	db	":brl.pixmap.TPixmap",0
_1381:
	db	"gltex",0
_1382:
	db	"cube_pixmap",0
_1383:
	db	"[]:brl.pixmap.TPixmap",0
_1384:
	db	"no_frames",0
_1385:
	db	"no_mipmaps",0
_1386:
	db	"cube_face",0
_1387:
	db	"cube_mode",0
_1388:
	db	"in_scene",0
_1389:
	db	"():TTexture",0
_1390:
	db	"FreeTexture",0
_1391:
	db	"CreateTexture",0
_1392:
	db	"(i,i,i,i,:TTexture):TTexture",0
_1393:
	db	"LoadTexture",0
_1394:
	db	"($,i,:TTexture):TTexture",0
_1395:
	db	"LoadAnimTexture",0
_1396:
	db	"($,i,i,i,i,i,:TTexture):TTexture",0
_1397:
	db	"LoadTextureFromPixmap",0
_1398:
	db	"(:brl.pixmap.TPixmap,i,:TTexture):TTexture",0
_1399:
	db	"LoadAnimTextureFromPixmap",0
_1400:
	db	"(:brl.pixmap.TPixmap,i,i,i,i,i,:TTexture):TTexture",0
_1401:
	db	"CreateCubeMapTexture",0
_1402:
	db	"(i,i,i,:TTexture):TTexture",0
_1403:
	db	"LoadCubeMapTexture",0
_1404:
	db	"TextureBlend",0
_1405:
	db	"TextureCoords",0
_1406:
	db	"ScaleTexture",0
_1407:
	db	"PositionTexture",0
_1408:
	db	"RotateTexture",0
_1409:
	db	"TextureWidth",0
_1410:
	db	"TextureHeight",0
_1411:
	db	"TextureName",0
_1412:
	db	"GetBrushTexture",0
_1413:
	db	"(:TBrush,i):TTexture",0
_1414:
	db	"ClearTextureFilters",0
_1415:
	db	"TextureFilter",0
_1416:
	db	"($,i)i",0
_1417:
	db	"SetCubeFace",0
_1418:
	db	"SetCubeMode",0
_1419:
	db	"BackBufferToTex",0
_1420:
	db	"CountMipmaps",0
_1421:
	db	"MipmapWidth",0
_1422:
	db	"MipmapHeight",0
_1423:
	db	"FileFind",0
_1424:
	db	"(*$)i",0
_1425:
	db	"FileAbs",0
_1426:
	db	"($)$",0
_1427:
	db	"TexInList",0
_1428:
	db	"FilterFlags",0
_1429:
	db	"AdjustPixmap",0
_1430:
	db	"(:brl.pixmap.TPixmap):brl.pixmap.TPixmap",0
_1431:
	db	"Pow2Size",0
_1432:
	db	"ApplyAlpha",0
	align	4
_1367:
	dd	2
	dd	_1368
	dd	3
	dd	_1369
	dd	_901
	dd	8
	dd	3
	dd	_1370
	dd	_852
	dd	12
	dd	3
	dd	_1371
	dd	_852
	dd	16
	dd	3
	dd	_1372
	dd	_852
	dd	20
	dd	3
	dd	_1373
	dd	_867
	dd	24
	dd	3
	dd	_1374
	dd	_867
	dd	28
	dd	3
	dd	_1375
	dd	_867
	dd	32
	dd	3
	dd	_1376
	dd	_867
	dd	36
	dd	3
	dd	_1227
	dd	_867
	dd	40
	dd	3
	dd	_1377
	dd	_901
	dd	44
	dd	3
	dd	_1378
	dd	_852
	dd	48
	dd	3
	dd	_1280
	dd	_852
	dd	52
	dd	3
	dd	_1379
	dd	_1380
	dd	56
	dd	3
	dd	_1381
	dd	_938
	dd	60
	dd	3
	dd	_1382
	dd	_1383
	dd	64
	dd	3
	dd	_1384
	dd	_852
	dd	68
	dd	3
	dd	_1385
	dd	_852
	dd	72
	dd	3
	dd	_1386
	dd	_852
	dd	76
	dd	3
	dd	_1387
	dd	_852
	dd	80
	dd	3
	dd	_1388
	dd	_852
	dd	84
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_876
	dd	_1389
	dd	48
	dd	6
	dd	_1390
	dd	_819
	dd	52
	dd	7
	dd	_1391
	dd	_1392
	dd	56
	dd	7
	dd	_1393
	dd	_1394
	dd	60
	dd	7
	dd	_1395
	dd	_1396
	dd	64
	dd	7
	dd	_1397
	dd	_1398
	dd	68
	dd	7
	dd	_1399
	dd	_1400
	dd	72
	dd	7
	dd	_1401
	dd	_1402
	dd	76
	dd	7
	dd	_1403
	dd	_1394
	dd	80
	dd	6
	dd	_1404
	dd	_824
	dd	84
	dd	6
	dd	_1405
	dd	_824
	dd	88
	dd	6
	dd	_1406
	dd	_980
	dd	92
	dd	6
	dd	_1407
	dd	_980
	dd	96
	dd	6
	dd	_1408
	dd	_834
	dd	100
	dd	6
	dd	_1409
	dd	_819
	dd	104
	dd	6
	dd	_1410
	dd	_819
	dd	108
	dd	6
	dd	_1411
	dd	_1000
	dd	112
	dd	7
	dd	_1412
	dd	_1413
	dd	116
	dd	7
	dd	_1414
	dd	_819
	dd	120
	dd	7
	dd	_1415
	dd	_1416
	dd	124
	dd	6
	dd	_1417
	dd	_824
	dd	128
	dd	6
	dd	_1418
	dd	_824
	dd	132
	dd	6
	dd	_1419
	dd	_1032
	dd	136
	dd	6
	dd	_1420
	dd	_819
	dd	140
	dd	6
	dd	_1421
	dd	_824
	dd	144
	dd	6
	dd	_1422
	dd	_824
	dd	148
	dd	7
	dd	_1423
	dd	_1424
	dd	152
	dd	7
	dd	_1425
	dd	_1426
	dd	156
	dd	6
	dd	_1427
	dd	_1389
	dd	160
	dd	6
	dd	_1428
	dd	_819
	dd	164
	dd	7
	dd	_1429
	dd	_1430
	dd	168
	dd	7
	dd	_1431
	dd	_824
	dd	172
	dd	7
	dd	_1432
	dd	_1430
	dd	176
	dd	0
	align	4
_sidesign_minib3d_TTexture:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1367
	dd	88
	dd	__sidesign_minib3d_TTexture_New
	dd	__sidesign_minib3d_TTexture_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TTexture_Copy
	dd	__sidesign_minib3d_TTexture_FreeTexture
	dd	__sidesign_minib3d_TTexture_CreateTexture
	dd	__sidesign_minib3d_TTexture_LoadTexture
	dd	__sidesign_minib3d_TTexture_LoadAnimTexture
	dd	__sidesign_minib3d_TTexture_LoadTextureFromPixmap
	dd	__sidesign_minib3d_TTexture_LoadAnimTextureFromPixmap
	dd	__sidesign_minib3d_TTexture_CreateCubeMapTexture
	dd	__sidesign_minib3d_TTexture_LoadCubeMapTexture
	dd	__sidesign_minib3d_TTexture_TextureBlend
	dd	__sidesign_minib3d_TTexture_TextureCoords
	dd	__sidesign_minib3d_TTexture_ScaleTexture
	dd	__sidesign_minib3d_TTexture_PositionTexture
	dd	__sidesign_minib3d_TTexture_RotateTexture
	dd	__sidesign_minib3d_TTexture_TextureWidth
	dd	__sidesign_minib3d_TTexture_TextureHeight
	dd	__sidesign_minib3d_TTexture_TextureName
	dd	__sidesign_minib3d_TTexture_GetBrushTexture
	dd	__sidesign_minib3d_TTexture_ClearTextureFilters
	dd	__sidesign_minib3d_TTexture_TextureFilter
	dd	__sidesign_minib3d_TTexture_SetCubeFace
	dd	__sidesign_minib3d_TTexture_SetCubeMode
	dd	__sidesign_minib3d_TTexture_BackBufferToTex
	dd	__sidesign_minib3d_TTexture_CountMipmaps
	dd	__sidesign_minib3d_TTexture_MipmapWidth
	dd	__sidesign_minib3d_TTexture_MipmapHeight
	dd	__sidesign_minib3d_TTexture_FileFind
	dd	__sidesign_minib3d_TTexture_FileAbs
	dd	__sidesign_minib3d_TTexture_TexInList
	dd	__sidesign_minib3d_TTexture_FilterFlags
	dd	__sidesign_minib3d_TTexture_AdjustPixmap
	dd	__sidesign_minib3d_TTexture_Pow2Size
	dd	__sidesign_minib3d_TTexture_ApplyAlpha
	align	4
__sidesign_minib3d_TTextureFilter_filter_list:
	dd	_bbNullObject
_1434:
	db	"TTextureFilter",0
_1435:
	db	"text",0
	align	4
_1433:
	dd	2
	dd	_1434
	dd	3
	dd	_1435
	dd	_901
	dd	8
	dd	3
	dd	_1370
	dd	_852
	dd	12
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	0
	align	4
_sidesign_minib3d_TTextureFilter:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1433
	dd	16
	dd	__sidesign_minib3d_TTextureFilter_New
	dd	__sidesign_minib3d_TTextureFilter_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1437:
	db	"TBrush",0
_1438:
	db	"no_texs",0
_1439:
	db	"alpha",0
_1440:
	db	"shine",0
_1441:
	db	"fx",0
_1442:
	db	"tex_frame",0
_1443:
	db	"tex",0
_1444:
	db	"[]:TTexture",0
_1445:
	db	"GetTex",0
_1446:
	db	"(i):TTexture",0
_1447:
	db	"():TBrush",0
_1448:
	db	"FreeBrush",0
_1449:
	db	"CreateBrush",0
_1450:
	db	"(f,f,f):TBrush",0
_1451:
	db	"LoadBrush",0
_1452:
	db	"($,i,f,f):TBrush",0
_1453:
	db	"BrushColor",0
_1454:
	db	"BrushAlpha",0
_1455:
	db	"BrushShininess",0
_1456:
	db	"BrushTexture",0
_1457:
	db	"BrushBlend",0
_1458:
	db	"BrushFX",0
_1459:
	db	"GetEntityBrush",0
_1460:
	db	"(:TEntity):TBrush",0
_1461:
	db	"GetSurfaceBrush",0
_1462:
	db	"(:TSurface):TBrush",0
_1463:
	db	"CompareBrushes",0
_1464:
	db	"(:TBrush,:TBrush)i",0
	align	4
_1436:
	dd	2
	dd	_1437
	dd	3
	dd	_1438
	dd	_852
	dd	8
	dd	3
	dd	_900
	dd	_901
	dd	12
	dd	3
	dd	_1150
	dd	_867
	dd	16
	dd	3
	dd	_1151
	dd	_867
	dd	20
	dd	3
	dd	_1152
	dd	_867
	dd	24
	dd	3
	dd	_1439
	dd	_867
	dd	28
	dd	3
	dd	_1440
	dd	_867
	dd	32
	dd	3
	dd	_1371
	dd	_852
	dd	36
	dd	3
	dd	_1441
	dd	_852
	dd	40
	dd	3
	dd	_1442
	dd	_852
	dd	44
	dd	3
	dd	_1443
	dd	_1444
	dd	48
	dd	3
	dd	_1388
	dd	_852
	dd	52
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_1445
	dd	_1446
	dd	48
	dd	6
	dd	_876
	dd	_1447
	dd	52
	dd	6
	dd	_1448
	dd	_819
	dd	56
	dd	7
	dd	_1449
	dd	_1450
	dd	60
	dd	7
	dd	_1451
	dd	_1452
	dd	64
	dd	6
	dd	_1453
	dd	_827
	dd	68
	dd	6
	dd	_1454
	dd	_834
	dd	72
	dd	6
	dd	_1455
	dd	_834
	dd	76
	dd	6
	dd	_1456
	dd	_976
	dd	80
	dd	6
	dd	_1457
	dd	_824
	dd	84
	dd	6
	dd	_1458
	dd	_824
	dd	88
	dd	7
	dd	_1459
	dd	_1460
	dd	92
	dd	7
	dd	_1461
	dd	_1462
	dd	96
	dd	7
	dd	_1463
	dd	_1464
	dd	100
	dd	0
	align	4
_sidesign_minib3d_TBrush:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1436
	dd	56
	dd	__sidesign_minib3d_TBrush_New
	dd	__sidesign_minib3d_TBrush_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TBrush_GetTex
	dd	__sidesign_minib3d_TBrush_Copy
	dd	__sidesign_minib3d_TBrush_FreeBrush
	dd	__sidesign_minib3d_TBrush_CreateBrush
	dd	__sidesign_minib3d_TBrush_LoadBrush
	dd	__sidesign_minib3d_TBrush_BrushColor
	dd	__sidesign_minib3d_TBrush_BrushAlpha
	dd	__sidesign_minib3d_TBrush_BrushShininess
	dd	__sidesign_minib3d_TBrush_BrushTexture
	dd	__sidesign_minib3d_TBrush_BrushBlend
	dd	__sidesign_minib3d_TBrush_BrushFX
	dd	__sidesign_minib3d_TBrush_GetEntityBrush
	dd	__sidesign_minib3d_TBrush_GetSurfaceBrush
	dd	__sidesign_minib3d_TBrush_CompareBrushes
_1466:
	db	"TAnimation",0
_1467:
	db	"AnimateMesh",0
_1468:
	db	"(:TEntity,f,i,i)i",0
_1469:
	db	"AnimateMesh2",0
_1470:
	db	"VertexDeform",0
_1471:
	db	"NormaliseWeights",0
	align	4
_1465:
	dd	2
	dd	_1466
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_1467
	dd	_1468
	dd	48
	dd	7
	dd	_1469
	dd	_1468
	dd	52
	dd	7
	dd	_1470
	dd	_1196
	dd	56
	dd	7
	dd	_1471
	dd	_1196
	dd	60
	dd	0
	align	4
_sidesign_minib3d_TAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1465
	dd	8
	dd	__sidesign_minib3d_TAnimation_New
	dd	__sidesign_minib3d_TAnimation_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TAnimation_AnimateMesh
	dd	__sidesign_minib3d_TAnimation_AnimateMesh2
	dd	__sidesign_minib3d_TAnimation_VertexDeform
	dd	__sidesign_minib3d_TAnimation_NormaliseWeights
_1473:
	db	"TAnimationKeys",0
_1474:
	db	"frames",0
_1475:
	db	"():TAnimationKeys",0
	align	4
_1472:
	dd	2
	dd	_1473
	dd	3
	dd	_1474
	dd	_852
	dd	8
	dd	3
	dd	_1370
	dd	_938
	dd	12
	dd	3
	dd	_889
	dd	_1279
	dd	16
	dd	3
	dd	_890
	dd	_1279
	dd	20
	dd	3
	dd	_891
	dd	_1279
	dd	24
	dd	3
	dd	_873
	dd	_1279
	dd	28
	dd	3
	dd	_874
	dd	_1279
	dd	32
	dd	3
	dd	_875
	dd	_1279
	dd	36
	dd	3
	dd	_892
	dd	_1279
	dd	40
	dd	3
	dd	_893
	dd	_1279
	dd	44
	dd	3
	dd	_894
	dd	_1279
	dd	48
	dd	3
	dd	_895
	dd	_1279
	dd	52
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_876
	dd	_1475
	dd	48
	dd	0
	align	4
_sidesign_minib3d_TAnimationKeys:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1472
	dd	56
	dd	__sidesign_minib3d_TAnimationKeys_New
	dd	__sidesign_minib3d_TAnimationKeys_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TAnimationKeys_Copy
_1477:
	db	"TModel",0
_1478:
	db	"LoadAnimB3D",0
_1479:
	db	"LoadAnimB3DFromStream",0
_1480:
	db	"(:brl.stream.TStream,$,:TEntity):TMesh",0
_1481:
	db	"TrimVerts",0
_1482:
	db	"(*:TSurface)i",0
_1483:
	db	"b3dReadString",0
_1484:
	db	"(*:brl.stream.TStream)$",0
_1485:
	db	"ReadTag",0
_1486:
	db	"(:brl.stream.TStream)$",0
_1487:
	db	"NewTag",0
	align	4
_1476:
	dd	2
	dd	_1477
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_1478
	dd	_1186
	dd	48
	dd	7
	dd	_1479
	dd	_1480
	dd	52
	dd	7
	dd	_1481
	dd	_1482
	dd	56
	dd	7
	dd	_1483
	dd	_1484
	dd	60
	dd	7
	dd	_1485
	dd	_1486
	dd	64
	dd	7
	dd	_1487
	dd	_961
	dd	68
	dd	0
	align	4
_sidesign_minib3d_TModel:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1476
	dd	8
	dd	__sidesign_minib3d_TModel_New
	dd	__sidesign_minib3d_TModel_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TModel_LoadAnimB3D
	dd	__sidesign_minib3d_TModel_LoadAnimB3DFromStream
	dd	__sidesign_minib3d_TModel_TrimVerts
	dd	__sidesign_minib3d_TModel_b3dReadString
	dd	__sidesign_minib3d_TModel_ReadTag
	dd	__sidesign_minib3d_TModel_NewTag
_1489:
	db	"T3DSLoader",0
_1490:
	db	"Stream",0
_1491:
	db	":brl.stream.TStream",0
_1492:
	db	"ChunkID",0
_1493:
	db	"s",0
_1494:
	db	"ChunkSize",0
_1495:
	db	"Surface",0
_1496:
	db	":TSurface",0
_1497:
	db	"VertexCount",0
_1498:
	db	"TriangleCount",0
_1499:
	db	"Mesh",0
_1500:
	db	":TMesh",0
_1501:
	db	"Brush",0
_1502:
	db	"Brushs",0
_1503:
	db	"TextureLayer",0
_1504:
	db	"Texture",0
_1505:
	db	":TTexture",0
_1506:
	db	"ReadChunk",0
_1507:
	db	"ScipChunk",0
_1508:
	db	"ReadCString",0
_1509:
	db	"ReadRGB",0
_1510:
	db	"(i,*f,*f,*f)i",0
_1511:
	db	"ReadPercent",0
_1512:
	db	"ReadVertexList",0
_1513:
	db	"ReadFaceList",0
_1514:
	db	"ReadFaceMatList",0
_1515:
	db	"ReadTexCoords",0
_1516:
	db	"LoadMap",0
_1517:
	db	"ReadMap",0
_1518:
	db	"ReadTriMesh",0
_1519:
	db	"ReadBrushBlock",0
_1520:
	db	"(:Object):TMesh",0
	align	4
_1488:
	dd	2
	dd	_1489
	dd	3
	dd	_1490
	dd	_1491
	dd	8
	dd	3
	dd	_1492
	dd	_1493
	dd	12
	dd	3
	dd	_1494
	dd	_852
	dd	16
	dd	3
	dd	_1495
	dd	_1496
	dd	20
	dd	3
	dd	_1497
	dd	_852
	dd	24
	dd	3
	dd	_1498
	dd	_852
	dd	28
	dd	3
	dd	_1499
	dd	_1500
	dd	32
	dd	3
	dd	_1501
	dd	_911
	dd	36
	dd	3
	dd	_1502
	dd	_883
	dd	40
	dd	3
	dd	_1503
	dd	_852
	dd	44
	dd	3
	dd	_1504
	dd	_1505
	dd	48
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_1506
	dd	_819
	dd	48
	dd	6
	dd	_1507
	dd	_819
	dd	52
	dd	6
	dd	_1508
	dd	_1000
	dd	56
	dd	6
	dd	_1509
	dd	_1510
	dd	60
	dd	6
	dd	_1511
	dd	_993
	dd	64
	dd	6
	dd	_1512
	dd	_819
	dd	68
	dd	6
	dd	_1513
	dd	_819
	dd	72
	dd	6
	dd	_1514
	dd	_819
	dd	76
	dd	6
	dd	_1515
	dd	_819
	dd	80
	dd	6
	dd	_1516
	dd	_819
	dd	84
	dd	6
	dd	_1517
	dd	_824
	dd	88
	dd	6
	dd	_1518
	dd	_819
	dd	92
	dd	6
	dd	_1519
	dd	_819
	dd	96
	dd	7
	dd	_1299
	dd	_1520
	dd	100
	dd	0
	align	4
_sidesign_minib3d_T3DSLoader:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1488
	dd	52
	dd	__sidesign_minib3d_T3DSLoader_New
	dd	__sidesign_minib3d_T3DSLoader_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_T3DSLoader_ReadChunk
	dd	__sidesign_minib3d_T3DSLoader_ScipChunk
	dd	__sidesign_minib3d_T3DSLoader_ReadCString
	dd	__sidesign_minib3d_T3DSLoader_ReadRGB
	dd	__sidesign_minib3d_T3DSLoader_ReadPercent
	dd	__sidesign_minib3d_T3DSLoader_ReadVertexList
	dd	__sidesign_minib3d_T3DSLoader_ReadFaceList
	dd	__sidesign_minib3d_T3DSLoader_ReadFaceMatList
	dd	__sidesign_minib3d_T3DSLoader_ReadTexCoords
	dd	__sidesign_minib3d_T3DSLoader_LoadMap
	dd	__sidesign_minib3d_T3DSLoader_ReadMap
	dd	__sidesign_minib3d_T3DSLoader_ReadTriMesh
	dd	__sidesign_minib3d_T3DSLoader_ReadBrushBlock
	dd	__sidesign_minib3d_T3DSLoader_Load
_1522:
	db	"TColTree",0
_1523:
	db	"c_col_tree",0
_1524:
	db	"*b",0
_1525:
	db	"reset_col_tree",0
_1526:
	db	"TreeCheck",0
	align	4
_1521:
	dd	2
	dd	_1522
	dd	3
	dd	_1523
	dd	_1524
	dd	8
	dd	3
	dd	_1525
	dd	_852
	dd	12
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	6
	dd	_1526
	dd	_1196
	dd	48
	dd	0
	align	4
_sidesign_minib3d_TColTree:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1521
	dd	16
	dd	__sidesign_minib3d_TColTree_New
	dd	__sidesign_minib3d_TColTree_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TColTree_TreeCheck
	align	4
__sidesign_minib3d_TPick_ent_list:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TPick_picked_x:
	dd	0x0
	align	4
__sidesign_minib3d_TPick_picked_y:
	dd	0x0
	align	4
__sidesign_minib3d_TPick_picked_z:
	dd	0x0
	align	4
__sidesign_minib3d_TPick_picked_nx:
	dd	0x0
	align	4
__sidesign_minib3d_TPick_picked_ny:
	dd	0x0
	align	4
__sidesign_minib3d_TPick_picked_nz:
	dd	0x0
	align	4
__sidesign_minib3d_TPick_picked_time:
	dd	0x0
	align	4
__sidesign_minib3d_TPick_picked_ent:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TPick_picked_surface:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TPick_picked_triangle:
	dd	0
_1528:
	db	"TPick",0
_1529:
	db	"EPSILON",0
	align	4
_1530:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	48
_1531:
	db	"(:TCamera,f,f):TEntity",0
_1532:
	db	"(:TEntity,f):TEntity",0
_1533:
	db	"PickedX",0
_1534:
	db	"PickedY",0
_1535:
	db	"PickedZ",0
_1536:
	db	"PickedNX",0
_1537:
	db	"PickedNY",0
_1538:
	db	"PickedNZ",0
_1539:
	db	"PickedTime",0
_1540:
	db	"PickedEntity",0
_1541:
	db	"PickedSurface",0
_1542:
	db	"PickedTriangle",0
_1543:
	db	"Pick",0
	align	4
_1527:
	dd	2
	dd	_1528
	dd	1
	dd	_1529
	dd	_852
	dd	_1530
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_1130
	dd	_1531
	dd	48
	dd	7
	dd	_1007
	dd	_1532
	dd	52
	dd	7
	dd	_1009
	dd	_1010
	dd	56
	dd	7
	dd	_1011
	dd	_1012
	dd	60
	dd	7
	dd	_1533
	dd	_970
	dd	64
	dd	7
	dd	_1534
	dd	_970
	dd	68
	dd	7
	dd	_1535
	dd	_970
	dd	72
	dd	7
	dd	_1536
	dd	_970
	dd	76
	dd	7
	dd	_1537
	dd	_970
	dd	80
	dd	7
	dd	_1538
	dd	_970
	dd	84
	dd	7
	dd	_1539
	dd	_970
	dd	88
	dd	7
	dd	_1540
	dd	_991
	dd	92
	dd	7
	dd	_1541
	dd	_1332
	dd	96
	dd	7
	dd	_1542
	dd	_819
	dd	100
	dd	7
	dd	_1543
	dd	_1010
	dd	104
	dd	0
	align	4
_sidesign_minib3d_TPick:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1527
	dd	8
	dd	__sidesign_minib3d_TPick_New
	dd	__sidesign_minib3d_TPick_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TPick_CameraPick
	dd	__sidesign_minib3d_TPick_EntityPick
	dd	__sidesign_minib3d_TPick_LinePick
	dd	__sidesign_minib3d_TPick_EntityVisible
	dd	__sidesign_minib3d_TPick_PickedX
	dd	__sidesign_minib3d_TPick_PickedY
	dd	__sidesign_minib3d_TPick_PickedZ
	dd	__sidesign_minib3d_TPick_PickedNX
	dd	__sidesign_minib3d_TPick_PickedNY
	dd	__sidesign_minib3d_TPick_PickedNZ
	dd	__sidesign_minib3d_TPick_PickedTime
	dd	__sidesign_minib3d_TPick_PickedEntity
	dd	__sidesign_minib3d_TPick_PickedSurface
	dd	__sidesign_minib3d_TPick_PickedTriangle
	dd	__sidesign_minib3d_TPick_Pick
	align	4
__sidesign_minib3d_TCollisionPair_list:
	dd	_bbNullObject
_4657:
	db	":brl.linkedlist.TList",0
	align	4
__sidesign_minib3d_TCollisionPair_ent_lists:
	dd	_bbEmptyArray
_1545:
	db	"TCollisionPair",0
_1546:
	db	"src_type",0
_1547:
	db	"des_type",0
_1548:
	db	"col_method",0
_1549:
	db	"response",0
	align	4
_1544:
	dd	2
	dd	_1545
	dd	3
	dd	_1546
	dd	_852
	dd	8
	dd	3
	dd	_1547
	dd	_852
	dd	12
	dd	3
	dd	_1548
	dd	_852
	dd	16
	dd	3
	dd	_1549
	dd	_852
	dd	20
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	0
	align	4
_sidesign_minib3d_TCollisionPair:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1544
	dd	24
	dd	__sidesign_minib3d_TCollisionPair_New
	dd	__sidesign_minib3d_TCollisionPair_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1551:
	db	"TCollisionImpact",0
_1552:
	db	"nx",0
_1553:
	db	"ny",0
_1554:
	db	"nz",0
_1555:
	db	"time",0
_1556:
	db	"ent",0
_1557:
	db	"surf",0
_1558:
	db	"tri",0
	align	4
_1550:
	dd	2
	dd	_1551
	dd	3
	dd	_866
	dd	_867
	dd	8
	dd	3
	dd	_868
	dd	_867
	dd	12
	dd	3
	dd	_869
	dd	_867
	dd	16
	dd	3
	dd	_1552
	dd	_867
	dd	20
	dd	3
	dd	_1553
	dd	_867
	dd	24
	dd	3
	dd	_1554
	dd	_867
	dd	28
	dd	3
	dd	_1555
	dd	_867
	dd	32
	dd	3
	dd	_1556
	dd	_885
	dd	36
	dd	3
	dd	_1557
	dd	_1496
	dd	40
	dd	3
	dd	_1558
	dd	_852
	dd	44
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	0
	align	4
_sidesign_minib3d_TCollisionImpact:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1550
	dd	48
	dd	__sidesign_minib3d_TCollisionImpact_New
	dd	__sidesign_minib3d_TCollisionImpact_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1560:
	db	"TVector",0
_1561:
	db	"(f,f,f):TVector",0
_1562:
	db	"():TVector",0
_1563:
	db	"Add",0
_1564:
	db	"(:TVector):TVector",0
_1565:
	db	"Subtract",0
_1566:
	db	"Multiply",0
_1567:
	db	"(f):TVector",0
_1568:
	db	"Divide",0
_1569:
	db	"Dot",0
_1570:
	db	"(:TVector)f",0
_1571:
	db	"Cross",0
_1572:
	db	"Normalize",0
_1573:
	db	"Length",0
_1574:
	db	"SquaredLength",0
_1575:
	db	"SetLength",0
_1576:
	db	"(f)f",0
_1577:
	db	"VectorYaw",0
_1578:
	db	"(f,f,f)f",0
_1579:
	db	"VectorPitch",0
	align	4
_1559:
	dd	2
	dd	_1560
	dd	1
	dd	_1529
	dd	_852
	dd	_1530
	dd	3
	dd	_866
	dd	_867
	dd	8
	dd	3
	dd	_868
	dd	_867
	dd	12
	dd	3
	dd	_869
	dd	_867
	dd	16
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_855
	dd	_1561
	dd	48
	dd	6
	dd	_876
	dd	_1562
	dd	52
	dd	6
	dd	_1563
	dd	_1564
	dd	56
	dd	6
	dd	_1565
	dd	_1564
	dd	60
	dd	6
	dd	_1566
	dd	_1567
	dd	64
	dd	6
	dd	_1568
	dd	_1567
	dd	68
	dd	6
	dd	_1569
	dd	_1570
	dd	72
	dd	6
	dd	_1571
	dd	_1564
	dd	76
	dd	6
	dd	_1572
	dd	_819
	dd	80
	dd	6
	dd	_1573
	dd	_970
	dd	84
	dd	6
	dd	_1574
	dd	_970
	dd	88
	dd	6
	dd	_1575
	dd	_1576
	dd	92
	dd	6
	dd	_1330
	dd	_1331
	dd	28
	dd	7
	dd	_1577
	dd	_1578
	dd	96
	dd	7
	dd	_1579
	dd	_1578
	dd	100
	dd	0
	align	4
_sidesign_minib3d_TVector:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1559
	dd	20
	dd	__sidesign_minib3d_TVector_New
	dd	__sidesign_minib3d_TVector_Delete
	dd	_bbObjectToString
	dd	__sidesign_minib3d_TVector_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TVector_Create
	dd	__sidesign_minib3d_TVector_Copy
	dd	__sidesign_minib3d_TVector_Add
	dd	__sidesign_minib3d_TVector_Subtract
	dd	__sidesign_minib3d_TVector_Multiply
	dd	__sidesign_minib3d_TVector_Divide
	dd	__sidesign_minib3d_TVector_Dot
	dd	__sidesign_minib3d_TVector_Cross
	dd	__sidesign_minib3d_TVector_Normalize
	dd	__sidesign_minib3d_TVector_Length
	dd	__sidesign_minib3d_TVector_SquaredLength
	dd	__sidesign_minib3d_TVector_SetLength
	dd	__sidesign_minib3d_TVector_VectorYaw
	dd	__sidesign_minib3d_TVector_VectorPitch
_1581:
	db	"TMatrix",0
_1582:
	db	"grid",0
_1583:
	db	"LoadIdentity",0
_1584:
	db	"Overwrite",0
_1585:
	db	"Inverse",0
_1586:
	db	"Translate",0
_1587:
	db	"Rotate",0
_1588:
	db	"RotatePitch",0
_1589:
	db	"RotateYaw",0
_1590:
	db	"RotateRoll",0
_1591:
	db	"FromQuaternion",0
_1592:
	db	"(f,f,f,f)i",0
_1593:
	db	"TransformVec",0
_1594:
	db	"Transpose",0
_1595:
	db	"SetTranslate",0
_1596:
	db	"Scale",0
_1597:
	db	"Multiply2",0
_1598:
	db	"GetPitch",0
_1599:
	db	"GetYaw",0
_1600:
	db	"GetRoll",0
_1601:
	db	"FromToRotation",0
_1602:
	db	"(f,f,f,f,f,f):TMatrix",0
_1603:
	db	"ToQuat",0
	align	4
_1580:
	dd	2
	dd	_1581
	dd	3
	dd	_1582
	dd	_1121
	dd	8
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_855
	dd	_1065
	dd	48
	dd	6
	dd	_1583
	dd	_819
	dd	52
	dd	6
	dd	_876
	dd	_1065
	dd	56
	dd	6
	dd	_1584
	dd	_1222
	dd	60
	dd	6
	dd	_1585
	dd	_1065
	dd	64
	dd	6
	dd	_1586
	dd	_827
	dd	68
	dd	6
	dd	_1587
	dd	_827
	dd	72
	dd	6
	dd	_1588
	dd	_834
	dd	76
	dd	6
	dd	_1589
	dd	_834
	dd	80
	dd	6
	dd	_1590
	dd	_834
	dd	84
	dd	6
	dd	_1591
	dd	_1592
	dd	88
	dd	6
	dd	_1566
	dd	_1222
	dd	92
	dd	6
	dd	_1593
	dd	_1081
	dd	96
	dd	6
	dd	_1594
	dd	_819
	dd	100
	dd	6
	dd	_1595
	dd	_827
	dd	104
	dd	6
	dd	_1596
	dd	_827
	dd	108
	dd	6
	dd	_1597
	dd	_1222
	dd	112
	dd	6
	dd	_1598
	dd	_970
	dd	116
	dd	6
	dd	_1599
	dd	_970
	dd	120
	dd	6
	dd	_1600
	dd	_970
	dd	124
	dd	6
	dd	_1601
	dd	_1602
	dd	128
	dd	6
	dd	_1603
	dd	_1053
	dd	132
	dd	0
	align	4
_sidesign_minib3d_TMatrix:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1580
	dd	12
	dd	__sidesign_minib3d_TMatrix_New
	dd	__sidesign_minib3d_TMatrix_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TMatrix_Create
	dd	__sidesign_minib3d_TMatrix_LoadIdentity
	dd	__sidesign_minib3d_TMatrix_Copy
	dd	__sidesign_minib3d_TMatrix_Overwrite
	dd	__sidesign_minib3d_TMatrix_Inverse
	dd	__sidesign_minib3d_TMatrix_Translate
	dd	__sidesign_minib3d_TMatrix_Rotate
	dd	__sidesign_minib3d_TMatrix_RotatePitch
	dd	__sidesign_minib3d_TMatrix_RotateYaw
	dd	__sidesign_minib3d_TMatrix_RotateRoll
	dd	__sidesign_minib3d_TMatrix_FromQuaternion
	dd	__sidesign_minib3d_TMatrix_Multiply
	dd	__sidesign_minib3d_TMatrix_TransformVec
	dd	__sidesign_minib3d_TMatrix_Transpose
	dd	__sidesign_minib3d_TMatrix_SetTranslate
	dd	__sidesign_minib3d_TMatrix_Scale
	dd	__sidesign_minib3d_TMatrix_Multiply2
	dd	__sidesign_minib3d_TMatrix_GetPitch
	dd	__sidesign_minib3d_TMatrix_GetYaw
	dd	__sidesign_minib3d_TMatrix_GetRoll
	dd	__sidesign_minib3d_TMatrix_FromToRotation
	dd	__sidesign_minib3d_TMatrix_ToQuat
_1605:
	db	"TQuaternion",0
_1606:
	db	"w",0
_1607:
	db	"QuatToMat",0
_1608:
	db	"(f,f,f,f,*:TMatrix)i",0
_1609:
	db	"QuatToEuler",0
_1610:
	db	"(f,f,f,f,*f,*f,*f)i",0
_1611:
	db	"Slerp",0
_1612:
	db	"(f,f,f,f,f,f,f,f,*f,*f,*f,*f,f)i",0
	align	4
_1604:
	dd	2
	dd	_1605
	dd	3
	dd	_1606
	dd	_867
	dd	8
	dd	3
	dd	_866
	dd	_867
	dd	12
	dd	3
	dd	_868
	dd	_867
	dd	16
	dd	3
	dd	_869
	dd	_867
	dd	20
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_1607
	dd	_1608
	dd	48
	dd	7
	dd	_1609
	dd	_1610
	dd	52
	dd	7
	dd	_1611
	dd	_1612
	dd	56
	dd	0
	align	4
_sidesign_minib3d_TQuaternion:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1604
	dd	24
	dd	__sidesign_minib3d_TQuaternion_New
	dd	__sidesign_minib3d_TQuaternion_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TQuaternion_QuatToMat
	dd	__sidesign_minib3d_TQuaternion_QuatToEuler
	dd	__sidesign_minib3d_TQuaternion_Slerp
	align	4
__sidesign_minib3d_THardwareInfo_ScreenWidth:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_ScreenHeight:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_ScreenDepth:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_ScreenHertz:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_Vendor:
	dd	_bbEmptyString
	align	4
__sidesign_minib3d_THardwareInfo_Renderer:
	dd	_bbEmptyString
	align	4
__sidesign_minib3d_THardwareInfo_OGLVersion:
	dd	_bbEmptyString
	align	4
__sidesign_minib3d_THardwareInfo_Extensions:
	dd	_bbEmptyString
	align	4
__sidesign_minib3d_THardwareInfo_VBOSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_GLTCSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_S3TCSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_AnIsoSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_MultiTexSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_TexBlendSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_CubemapSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_DepthmapSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_VPSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_FPSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_ShaderSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_VSSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_FSSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_SLSupport:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_MaxTextures:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_MaxTexSize:
	dd	0
	align	4
__sidesign_minib3d_THardwareInfo_MaxLights:
	dd	0
_1614:
	db	"THardwareInfo",0
_1615:
	db	"GetInfo",0
_1616:
	db	"DisplayInfo",0
	align	4
_1613:
	dd	2
	dd	_1614
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_1615
	dd	_819
	dd	48
	dd	7
	dd	_1616
	dd	_824
	dd	52
	dd	0
	align	4
_sidesign_minib3d_THardwareInfo:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1613
	dd	8
	dd	__sidesign_minib3d_THardwareInfo_New
	dd	__sidesign_minib3d_THardwareInfo_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_THardwareInfo_GetInfo
	dd	__sidesign_minib3d_THardwareInfo_DisplayInfo
_1618:
	db	"TBlitz2D",0
_1619:
	db	"Text",0
_1620:
	db	"(i,i,$)i",0
_1621:
	db	"BeginMax2D",0
_1622:
	db	"EndMax2D",0
	align	4
_1617:
	dd	2
	dd	_1618
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_1619
	dd	_1620
	dd	48
	dd	7
	dd	_1621
	dd	_819
	dd	52
	dd	7
	dd	_1622
	dd	_819
	dd	56
	dd	0
	align	4
_sidesign_minib3d_TBlitz2D:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1617
	dd	8
	dd	__sidesign_minib3d_TBlitz2D_New
	dd	__sidesign_minib3d_TBlitz2D_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TBlitz2D_Text
	dd	__sidesign_minib3d_TBlitz2D_BeginMax2D
	dd	__sidesign_minib3d_TBlitz2D_EndMax2D
_1624:
	db	"TUtility",0
_1625:
	db	"UpdateValue",0
	align	4
_1623:
	dd	2
	dd	_1624
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_1625
	dd	_1578
	dd	48
	dd	0
	align	4
_sidesign_minib3d_TUtility:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1623
	dd	8
	dd	__sidesign_minib3d_TUtility_New
	dd	__sidesign_minib3d_TUtility_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TUtility_UpdateValue
	align	4
__sidesign_minib3d_TDebug_cno:
	dd	0
	align	4
__sidesign_minib3d_TDebug_surf_no:
	dd	0
	align	4
__sidesign_minib3d_TDebug_info:
	dd	1
	align	4
__sidesign_minib3d_TDebug_show_ents:
	dd	1
	align	4
__sidesign_minib3d_TDebug_bounding_sphere:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TDebug_debug_mesh:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TDebug_debug_surf:
	dd	_bbNullObject
	align	4
__sidesign_minib3d_TDebug_marker:
	dd	_bbNullObject
_1627:
	db	"TDebug",0
_1628:
	db	"DebugWorld",0
_1629:
	db	"DebugEntity",0
_1630:
	db	"(:TEntity,:TCamera):TEntity",0
_1631:
	db	"UpdateBoundingSphere",0
_1632:
	db	"UpdateSurface",0
_1633:
	db	"(:TEntity,:TSurface)i",0
_1634:
	db	"UpdateMarker",0
_1635:
	db	"(:TEntity,:TCamera)i",0
_1636:
	db	"EntityInfo1",0
_1637:
	db	"EntityInfo2",0
_1638:
	db	"EntityInfo3",0
_1639:
	db	"EntityInfo4",0
	align	4
_1626:
	dd	2
	dd	_1627
	dd	6
	dd	_818
	dd	_819
	dd	16
	dd	6
	dd	_820
	dd	_819
	dd	20
	dd	7
	dd	_1628
	dd	_819
	dd	48
	dd	7
	dd	_1629
	dd	_1630
	dd	52
	dd	7
	dd	_1631
	dd	_859
	dd	56
	dd	7
	dd	_1632
	dd	_1633
	dd	60
	dd	7
	dd	_1634
	dd	_1635
	dd	64
	dd	7
	dd	_1636
	dd	_859
	dd	68
	dd	7
	dd	_1637
	dd	_1633
	dd	72
	dd	7
	dd	_1638
	dd	_1633
	dd	76
	dd	7
	dd	_1639
	dd	_1635
	dd	80
	dd	0
	align	4
_sidesign_minib3d_TDebug:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1626
	dd	8
	dd	__sidesign_minib3d_TDebug_New
	dd	__sidesign_minib3d_TDebug_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TDebug_DebugWorld
	dd	__sidesign_minib3d_TDebug_DebugEntity
	dd	__sidesign_minib3d_TDebug_UpdateBoundingSphere
	dd	__sidesign_minib3d_TDebug_UpdateSurface
	dd	__sidesign_minib3d_TDebug_UpdateMarker
	dd	__sidesign_minib3d_TDebug_EntityInfo1
	dd	__sidesign_minib3d_TDebug_EntityInfo2
	dd	__sidesign_minib3d_TDebug_EntityInfo3
	dd	__sidesign_minib3d_TDebug_EntityInfo4
	align	4
_10499:
	dd	0x437f0000
	align	4
_10500:
	dd	0x437f0000
	align	4
_10501:
	dd	0x437f0000
	align	4
_10518:
	dd	0x3f800000
	align	4
_10543:
	dd	0x3f800000
	align	4
_1:
	dd	_bbStringClass
	dd	2147483647
	dd	0
_4904:
	db	":brl.linkedlist.TList",0
	align	4
_10623:
	dd	0x0
	align	4
_10624:
	dd	0x0
_4993:
	db	":TAnimationFrame",0
	align	4
_10648:
	dd	0xbf800000
	align	4
_10649:
	dd	0xbf800000
	align	4
_10650:
	dd	0xbf800000
	align	4
_10651:
	dd	0x40000000
	align	4
_10652:
	dd	0x40000000
	align	4
_10653:
	dd	0x40000000
_4999:
	db	"i",0
_5001:
	db	"i",0
	align	4
_81:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	78,101,119,32,84,69,110,116,105,116,121
	align	4
_82:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	68,101,108,32,84,69,110,116,105,116,121
	align	4
_10712:
	dd	0x0
	align	4
_10713:
	dd	0x0
	align	4
_10726:
	dd	0x437f0000
	align	4
_10727:
	dd	0x437f0000
	align	4
_10728:
	dd	0x437f0000
_5366:
	db	":TCollisionImpact",0
	align	4
_10915:
	dd	0x0
	align	4
_10920:
	dd	0x0
	align	4
_10925:
	dd	0x0
	align	4
_10930:
	dd	0x0
	align	4
_10935:
	dd	0x0
	align	4
_10940:
	dd	0x0
	align	4
_10945:
	dd	0x0
	align	4
_10979:
	dd	0x40000000
	align	4
_10980:
	dd	0x40000000
	align	4
_10981:
	dd	0x40000000
	align	4
_11046:
	dd	0x3f800000
	align	4
_11047:
	dd	0x3f800000
	align	4
_11048:
	dd	0x3f800000
	align	4
_11070:
	dd	0x0
	align	4
_11071:
	dd	0x0
	align	4
_11072:
	dd	0x0
_5737:
	db	":TAnimationFrame",0
	align	4
_11111:
	dd	0x3f800000
	align	4
_11123:
	dd	0x43b40000
	align	4
_11124:
	dd	0x43b40000
	align	4
_11125:
	dd	0x43b40000
	align	4
_11126:
	dd	0x43b40000
	align	4
_11127:
	dd	0x43b40000
	align	4
_11128:
	dd	0x43b40000
	align	4
_11139:
	dd	0x358637bd
	align	4
_11151:
	dd	0x447a0000
	align	4
_11152:
	dd	0x447a0000
_5843:
	db	"d",0
_5845:
	db	"d",0
_5847:
	db	"i",0
_5849:
	db	"f",0
	align	4
_173:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	78,101,119,32,84,67,97,109,101,114,97
	align	4
_174:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	68,101,108,32,84,67,97,109,101,114,97
	align	4
_178:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	67,97,109,101,114,97
	align	4
_11173:
	dd	0x437f0000
	align	4
_11174:
	dd	0x437f0000
	align	4
_11175:
	dd	0x437f0000
	align	4
_11191:
	dd	0x437f0000
	align	4
_11192:
	dd	0x437f0000
	align	4
_11193:
	dd	0x437f0000
_5910:
	db	"f",0
_5912:
	db	"f",0
_5914:
	db	"f",0
	align	4
_11220:
	dd	0x40000000
	align	4
_11221:
	dd	0x40000000
	align	4
_11222:
	dd	0x40000000
	align	4
_11223:
	dd	0x0
	align	4
_11224:
	dd	0x0
	align	4
_11236:
	dd	0x0
	align	4
_11237:
	dd	0x0
	align	4
_11238:
	dd	0x3f800000
	align	8
_11239:
	dd	0x0,0x40000000
	align	4
_11253:
	dd	0x40000000
	align	4
_11264:
	dd	0x3a83126f
	align	4
_11265:
	dd	0x42340000
	align	4
_182:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	78,101,119,32,84,76,105,103,104,116
	align	4
_183:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	68,101,108,32,84,76,105,103,104,116
	align	4
_187:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	76,105,103,104,116
	align	4
_11282:
	dd	0x41200000
	align	4
_11290:
	dd	0x3f800000
	align	4
_11293:
	dd	0x437f0000
	align	4
_11294:
	dd	0x437f0000
	align	4
_11295:
	dd	0x437f0000
	align	4
_11298:
	dd	0x40000000
	align	4
_11299:
	dd	0x40000000
	align	4
_11302:
	dd	0x3f800000
	align	4
_11303:
	dd	0x0
	align	4
_11304:
	dd	0x0
	align	4
_11305:
	dd	0x3f800000
	align	4
_11306:
	dd	0xbf800000
	align	4
_188:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	78,101,119,32,84,80,105,118,111,116
	align	4
_189:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	68,101,108,32,84,80,105,118,111,116
	align	4
_193:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	80,105,118,111,116
	align	4
_194:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	78,101,119,32,84,77,101,115,104
	align	4
_195:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	68,101,108,32,84,77,101,115,104
_6202:
	db	":TBone",0
	align	4
_202:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	77,101,115,104
	align	4
_203:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,51,100,115
	align	4
_11368:
	dd	0x43b40000
	align	4
_11369:
	dd	0x3f800000
	align	4
_11370:
	dd	0x3f800000
	align	4
_11371:
	dd	0x3f800000
	align	4
_11372:
	dd	0x3f800000
	align	4
_11373:
	dd	0x42b40000
	align	4
_11374:
	dd	0x40000000
	align	4
_11375:
	dd	0x40000000
	align	4
_11376:
	dd	0x43b40000
	align	4
_11377:
	dd	0x43b40000
	align	4
_11378:
	dd	0x40000000
	align	4
_11379:
	dd	0x40000000
	align	4
_11380:
	dd	0x3f800000
	align	4
_11381:
	dd	0x3f800000
	align	4
_11382:
	dd	0x3f800000
	align	4
_11383:
	dd	0x42b40000
	align	4
_11384:
	dd	0x3f800000
	align	4
_11385:
	dd	0x3f800000
	align	4
_11386:
	dd	0x3f800000
	align	4
_11387:
	dd	0x3f800000
	align	4
_11388:
	dd	0x3f800000
	align	4
_11389:
	dd	0x3f800000
	align	4
_11390:
	dd	0x3f800000
	align	4
_11391:
	dd	0x3f800000
	align	4
_11399:
	dd	0x43b40000
	align	4
_11400:
	dd	0x3f800000
	align	4
_11401:
	dd	0x40000000
	align	4
_11402:
	dd	0x3f800000
	align	4
_11403:
	dd	0x3f800000
	align	4
_11405:
	dd	0x3f800000
	align	4
_11406:
	dd	0x42b40000
_6460:
	db	"i",0
_6462:
	db	"i",0
	align	4
_11407:
	dd	0x40000000
	align	4
_11408:
	dd	0x3f000000
	align	4
_11409:
	dd	0x40000000
	align	4
_11410:
	dd	0x3f000000
	align	4
_11411:
	dd	0x40000000
	align	4
_11412:
	dd	0x3f000000
	align	4
_11413:
	dd	0x40000000
	align	4
_11414:
	dd	0x3f000000
	align	4
_11415:
	dd	0x40000000
	align	4
_11416:
	dd	0x3f000000
	align	4
_11417:
	dd	0x40000000
	align	4
_11418:
	dd	0x3f000000
	align	4
_11419:
	dd	0x40000000
	align	4
_11420:
	dd	0x3f000000
	align	4
_11421:
	dd	0x40000000
	align	4
_11422:
	dd	0x3f000000
	align	4
_11423:
	dd	0x40000000
	align	4
_11424:
	dd	0x3f000000
	align	4
_11425:
	dd	0x40000000
	align	4
_11426:
	dd	0x3f000000
	align	4
_11427:
	dd	0x40000000
	align	4
_11428:
	dd	0x3f000000
	align	4
_11429:
	dd	0x40000000
	align	4
_11430:
	dd	0x3f000000
	align	4
_11431:
	dd	0x40000000
	align	4
_11432:
	dd	0x3f000000
	align	4
_11433:
	dd	0x40000000
	align	4
_11434:
	dd	0x3f000000
	align	4
_11435:
	dd	0x40000000
	align	4
_11436:
	dd	0x3f000000
	align	4
_11437:
	dd	0x40000000
	align	4
_11438:
	dd	0x3f000000
	align	4
_11439:
	dd	0x40000000
	align	4
_11440:
	dd	0x3f000000
	align	4
_11441:
	dd	0x40000000
	align	4
_11442:
	dd	0x3f000000
	align	4
_11443:
	dd	0x40000000
	align	4
_11444:
	dd	0x3f000000
	align	4
_11445:
	dd	0x40000000
	align	4
_11446:
	dd	0x3f000000
	align	4
_11447:
	dd	0x40000000
	align	4
_11448:
	dd	0x3f000000
	align	4
_11449:
	dd	0x40000000
	align	4
_11450:
	dd	0x3f000000
	align	4
_11451:
	dd	0x40000000
	align	4
_11452:
	dd	0x3f000000
	align	4
_11453:
	dd	0x40000000
	align	4
_11454:
	dd	0x3f000000
	align	4
_11455:
	dd	0x42b40000
	align	4
_11456:
	dd	0x0
	align	4
_11457:
	dd	0x42b40000
	align	4
_11468:
	dd	0x43b40000
	align	4
_11469:
	dd	0x3f800000
	align	4
_11470:
	dd	0x3f800000
	align	4
_11471:
	dd	0x3f800000
	align	4
_11472:
	dd	0x42b40000
	align	4
_11473:
	dd	0x40000000
	align	4
_11474:
	dd	0x40000000
	align	4
_11475:
	dd	0x40000000
	align	4
_11476:
	dd	0x3f000000
	align	4
_11477:
	dd	0x40000000
	align	4
_11478:
	dd	0x3f000000
	align	4
_11479:
	dd	0x40000000
	align	4
_11480:
	dd	0x3f000000
	align	4
_11481:
	dd	0x40000000
	align	4
_11482:
	dd	0x3f000000
	align	4
_11483:
	dd	0x40000000
	align	4
_11484:
	dd	0x3f000000
	align	4
_11485:
	dd	0x40000000
	align	4
_11486:
	dd	0x3f000000
	align	4
_11487:
	dd	0x40000000
	align	4
_11488:
	dd	0x3f000000
	align	4
_11489:
	dd	0x40000000
	align	4
_11490:
	dd	0x3f000000
	align	4
_11491:
	dd	0x40000000
	align	4
_11492:
	dd	0x40000000
	align	4
_11493:
	dd	0x40000000
	align	4
_11494:
	dd	0x3f000000
	align	4
_11495:
	dd	0x40000000
	align	4
_11496:
	dd	0x3f000000
	align	4
_11497:
	dd	0x40000000
	align	4
_11498:
	dd	0x3f000000
	align	4
_11499:
	dd	0x40000000
	align	4
_11500:
	dd	0x3f000000
	align	4
_11524:
	dd	0xbf800000
	align	4
_11525:
	dd	0xbf800000
	align	4
_11526:
	dd	0xbf800000
	align	4
_11534:
	dd	0x40000000
	align	4
_11535:
	dd	0x40000000
	align	4
_11536:
	dd	0x40000000
	align	4
_11537:
	dd	0x40000000
	align	4
_11538:
	dd	0x40000000
	align	4
_11539:
	dd	0x40000000
	align	4
_11540:
	dd	0x4ea817c8
	align	4
_11541:
	dd	0x4ea817c8
	align	4
_11542:
	dd	0x4ea817c8
	align	4
_11543:
	dd	0xcea817c8
	align	4
_11544:
	dd	0xcea817c8
	align	4
_11545:
	dd	0xcea817c8
	align	4
_11549:
	dd	0x38d1b717
	align	4
_11550:
	dd	0xb8d1b717
	align	4
_11551:
	dd	0x0
	align	4
_11552:
	dd	0x38d1b717
	align	4
_11553:
	dd	0xb8d1b717
	align	4
_11554:
	dd	0x0
	align	4
_11555:
	dd	0x38d1b717
	align	4
_11556:
	dd	0xb8d1b717
	align	4
_11557:
	dd	0x0
	align	4
_11636:
	dd	0x4e6e6b28
	align	4
_11637:
	dd	0xce6e6b28
	align	4
_11638:
	dd	0x4e6e6b28
	align	4
_11639:
	dd	0xce6e6b28
	align	4
_11640:
	dd	0x4e6e6b28
	align	4
_11641:
	dd	0xce6e6b28
	align	4
_11642:
	dd	0x40000000
	align	4
_11691:
	dd	0x3f800000
	align	4
_11692:
	dd	0x3f800000
	align	4
_11693:
	dd	0x3f800000
	align	4
_11694:
	dd	0x42c80000
_7178:
	db	"d",0
	align	4
_345:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	78,101,119,32,84,83,112,114,105,116,101
	align	4
_346:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	68,101,108,32,84,83,112,114,105,116,101
	align	4
_350:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	83,112,114,105,116,101
	align	4
_351:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	78,101,119,32,84,66,111,110,101
	align	4
_352:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	68,101,108,32,84,66,111,110,101
_7335:
	db	"f",0
	align	8
_11827:
	dd	0x40000000,0x3fd33333
	align	4
_11836:
	dd	0x3f800000
	align	4
_11837:
	dd	0x3f800000
	align	4
_11838:
	dd	0x3f800000
	align	4
_11839:
	dd	0x42c80000
_7438:
	db	"d",0
_7452:
	db	"[]f",0
_7455:
	db	"f",0
_7465:
	db	"f",0
	align	4
_11892:
	dd	0x40000000
	align	4
_11893:
	dd	0x40000000
	align	4
_11894:
	dd	0x3089705f
_7477:
	db	"f",0
	align	4
_11905:
	dd	0x3f800000
	align	4
_11911:
	dd	0x41f00000
	align	4
_11912:
	dd	0x44800000
	align	4
_11913:
	dd	0x3f800000
	align	4
_11914:
	dd	0x3f800000
_7490:
	db	"f",0
	align	4
_11915:
	dd	0x3f800000
	align	4
_11916:
	dd	0x3f800000
	align	4
_11917:
	dd	0x437f0000
	align	4
_11921:
	dd	0x41f00000
	align	4
_11922:
	dd	0x44800000
	align	4
_11923:
	dd	0x3f800000
	align	4
_11924:
	dd	0x3f800000
_7504:
	db	"f",0
	align	4
_11925:
	dd	0x3f800000
	align	4
_11926:
	dd	0x3f800000
	align	4
_11927:
	dd	0x437f0000
	align	4
_11939:
	dd	0x3f800000
	align	4
_11940:
	dd	0x3f800000
	align	4
_11945:
	dd	0x0
_7541:
	db	"[]f",0
_7544:
	db	"f",0
_7554:
	db	"f",0
	align	4
_11951:
	dd	0x40000000
	align	4
_11952:
	dd	0x40000000
	align	4
_7560:
	dd	_bbNullObject
	align	4
_392:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	84,101,114,114,97,105,110
	align	4
_11966:
	dd	0x3f800000
_7591:
	db	"s",0
_7593:
	db	"f",0
_7595:
	db	"f",0
_7597:
	db	"f",0
_7599:
	db	"f",0
_7601:
	db	"f",0
_7603:
	db	"i",0
_7605:
	db	"i",0
_7607:
	db	"i",0
_7609:
	db	"i",0
_7611:
	db	"f",0
_7613:
	db	"f",0
_7615:
	db	"f",0
_7617:
	db	"f",0
_7620:
	db	"i",0
	align	4
_393:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	78,101,119,32,84,83,117,114,102,97,99,101
	align	4
_394:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	68,101,108,32,84,83,117,114,102,97,99,101
	align	4
_12020:
	dd	0xbf800000
	align	4
_12023:
	dd	0x437f0000
	align	4
_12024:
	dd	0x437f0000
	align	4
_12025:
	dd	0x437f0000
	align	4
_12028:
	dd	0xbf800000
	align	4
_12048:
	dd	0x437f0000
	align	4
_12053:
	dd	0x437f0000
	align	4
_12058:
	dd	0x437f0000
	align	4
_12079:
	dd	0x0
	align	4
_12084:
	dd	0x0
	align	4
_12089:
	dd	0x0
_7811:
	db	"i",0
_7876:
	db	"i",0
_7889:
	db	"i",0
_7892:
	db	"i",0
_7894:
	db	"f",0
_7896:
	db	"i",0
_7917:
	db	"i",0
_7919:
	db	":brl.pixmap.TPixmap",0
	align	4
_422:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	78,101,119,32,84,84,101,120,116,117,114,101
	align	4
_423:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	68,101,108,32,84,84,101,120,116,117,114,101
	align	4
_430:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	91
	align	4
_431:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	93
	align	4
_432:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	44
	align	4
_12251:
	dd	0x3f800000
	align	4
_12252:
	dd	0x3f800000
	align	4
_460:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	92
	align	4
_464:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	47
	align	4
_465:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	69,82,82,79,82,58,32,67,97,110,110,111,116,32,102,105
	dw	110,100,32,116,101,120,116,117,114,101,58,32
	align	4
_466:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	58
	align	4
_12336:
	dd	0x40400000
_8325:
	db	":TTexture",0
	align	4
_482:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	78,101,119,32,84,66,114,117,115,104
	align	4
_483:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	68,101,108,32,84,66,114,117,115,104
	align	4
_12361:
	dd	0x437f0000
	align	4
_12362:
	dd	0x437f0000
	align	4
_12363:
	dd	0x437f0000
	align	4
_12370:
	dd	0x437f0000
	align	4
_12371:
	dd	0x437f0000
	align	4
_12372:
	dd	0x437f0000
	align	4
_12424:
	dd	0x0
	align	4
_12425:
	dd	0x0
	align	4
_12426:
	dd	0x0
	align	4
_12427:
	dd	0x0
	align	4
_12428:
	dd	0x0
	align	4
_12429:
	dd	0x0
	align	4
_12430:
	dd	0x0
	align	4
_12431:
	dd	0x0
	align	4
_12432:
	dd	0x0
	align	4
_12433:
	dd	0x0
	align	4
_12437:
	dd	0x3f800000
	align	4
_12466:
	dd	0x3f800000
	align	4
_12468:
	dd	0x0
	align	4
_12469:
	dd	0x0
	align	4
_12470:
	dd	0x0
	align	4
_12471:
	dd	0x0
	align	4
_12475:
	dd	0x3f800000
	align	4
_12513:
	dd	0x3f7d70a4
	align	4
_12514:
	dd	0x3f8147ae
	align	4
_12516:
	dd	0x3f800000
	align	4
_12517:
	dd	0x3f800000
_8604:
	db	"i",0
_8606:
	db	"f",0
_8608:
	db	"f",0
_8610:
	db	"f",0
_8612:
	db	"f",0
_8614:
	db	"f",0
_8616:
	db	"f",0
_8618:
	db	"f",0
_8620:
	db	"f",0
_8622:
	db	"f",0
_8624:
	db	"f",0
	align	4
_523:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	78,101,119,32,84,65,110,105,109,97,116,105,111,110,75,101
	dw	121,115
	align	4
_524:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	68,101,108,32,84,65,110,105,109,97,116,105,111,110,75,101
	dw	121,115
	align	4
_525:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	108,105,116,116,108,101,101,110,100,105,97,110,58,58
	align	4
_532:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	66,66,51,68
	align	4
_533:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	73,110,118,97,108,105,100,32,98,51,100,32,102,105,108,101
	align	4
_534:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	73,110,118,97,108,105,100,32,98,51,100,32,102,105,108,101
	dw	32,118,101,114,115,105,111,110
_8713:
	db	"i",0
_8716:
	db	":TTexture",0
_8728:
	db	":TBrush",0
	align	4
_12553:
	dd	0x0
	align	4
_12554:
	dd	0x0
	align	4
_12555:
	dd	0x0
	align	4
_12556:
	dd	0x0
	align	4
_12557:
	dd	0x0
	align	4
_12558:
	dd	0x0
	align	4
_12559:
	dd	0x0
	align	4
_12560:
	dd	0x0
	align	4
_12561:
	dd	0x0
	align	4
_12562:
	dd	0x0
	align	4
_12563:
	dd	0x0
	align	4
_12564:
	dd	0x0
	align	4
_12565:
	dd	0x0
	align	4
_12569:
	dd	0x0
	align	4
_12570:
	dd	0x0
	align	4
_12571:
	dd	0x0
	align	4
_12572:
	dd	0x0
	align	4
_12573:
	dd	0x0
	align	4
_12574:
	dd	0x0
	align	4
_12575:
	dd	0x0
	align	4
_12576:
	dd	0x0
	align	4
_12577:
	dd	0x0
	align	4
_12578:
	dd	0x0
	align	4
_12593:
	dd	0x0
	align	4
_12594:
	dd	0x0
	align	4
_12595:
	dd	0x0
	align	4
_12596:
	dd	0x0
	align	4
_12597:
	dd	0x0
	align	4
_12598:
	dd	0x0
	align	4
_12599:
	dd	0x0
	align	4
_12600:
	dd	0x0
	align	4
_12601:
	dd	0x0
	align	4
_12602:
	dd	0x0
	align	4
_538:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	78,79,68,69
	align	4
_546:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	41
	align	4
_545:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	32,40,112,97,114,101,110,116,61,32
	align	4
_550:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	45
	align	4
_551:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	84,69,88,83
	align	4
_555:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	66,82,85,83
	align	4
_563:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	77,69,83,72
	align	4
_564:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	86,82,84,83
	align	4
_574:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	84,82,73,83
	align	4
_562:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	65,78,73,77
	align	4
_581:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	66,79,78,69
	align	4
_589:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	75,69,89,83
	align	8
_12603:
	dd	0x1a63c1f8,0x404ca5dc
	align	4
_12604:
	dd	0xbf800000
	align	4
_12605:
	dd	0x437f0000
	align	4
_12606:
	dd	0x437f0000
	align	4
_12607:
	dd	0x437f0000
	align	4
_588:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	66,111,110,101
	align	4
_12746:
	dd	0x437f0000
	align	4
_12747:
	dd	0x437f0000
	align	4
_12748:
	dd	0x437f0000
	align	4
_12749:
	dd	0x437f0000
	align	4
_12750:
	dd	0x437f0000
	align	4
_12751:
	dd	0x437f0000
	align	4
_12758:
	dd	0x0
	align	4
_12759:
	dd	0x42c80000
	align	4
_12760:
	dd	0x42c80000
_9312:
	db	"f",0
_9322:
	db	"i",0
	align	4
_617:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	78,111,32,51,68,83,32,70,105,108,101
	align	4
_624:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	78,101,119,32,84,67,111,108,84,114,101,101
	align	4
_625:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	68,101,108,32,84,67,111,108,84,114,101,101
	align	4
_9551:
	dd	0
	align	4
_9553:
	dd	0
	align	4
_9555:
	dd	0
	align	4
_9557:
	dd	0
	align	4
_9559:
	dd	0
	align	4
_9561:
	dd	0
	align	4
_9563:
	dd	0
	align	4
_9565:
	dd	0
	align	4
_9567:
	dd	0
	align	4
_9569:
	dd	0
	align	4
_9571:
	dd	0
	align	4
_641:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	78,101,119,32,84,67,111,108,108,105,115,105,111,110,80,97
	dw	105,114
	align	4
_642:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	68,101,108,32,84,67,111,108,108,105,115,105,111,110,80,97
	dw	105,114
	align	4
_643:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	78,101,119,32,84,67,111,108,108,105,115,105,111,110,73,109
	dw	112,97,99,116
	align	4
_644:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	68,101,108,32,84,67,111,108,108,105,115,105,111,110,73,109
	dw	112,97,99,116
	align	4
_9623:
	dd	0
	align	4
_9625:
	dd	0
	align	4
_9627:
	dd	0
	align	4
_9629:
	dd	0
	align	4
_9631:
	dd	0
	align	4
_9633:
	dd	0
	align	4
_9635:
	dd	0
	align	4
_9637:
	dd	0
	align	4
_9640:
	dd	0
	align	4
_9639:
	dd	0
	align	4
_660:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	78,101,119,32,84,86,101,99,116,111,114
	align	4
_661:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	68,101,108,32,84,86,101,99,116,111,114
	align	4
_13008:
	dd	0x0
	align	8
_13024:
	dd	0x0,0x40568000
	align	4
_13025:
	dd	0x38d1b717
	align	4
_13026:
	dd	0xb8d1b717
	align	4
_13027:
	dd	0x0
_9757:
	db	"f",0
	align	4
_662:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	78,101,119,32,84,77,97,116,114,105,120
	align	4
_663:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	68,101,108,32,84,77,97,116,114,105,120
	align	4
_13068:
	dd	0x40000000
	align	4
_13069:
	dd	0x40000000
	align	4
_13070:
	dd	0x40000000
	align	4
_13071:
	dd	0x3f800000
	align	4
_13072:
	dd	0x3f800000
	align	4
_13073:
	dd	0x3f800000
	align	4
_13078:
	dd	0x3f800000
_9828:
	db	"d",0
_9865:
	db	"f",0
_9867:
	db	"f",0
	align	4
_13117:
	dd	0x3f7fffef
	align	4
_13118:
	dd	0x3f800000
	align	4
_13119:
	dd	0x0
	align	4
_13120:
	dd	0x0
	align	4
_13121:
	dd	0x3f800000
	align	4
_13122:
	dd	0x0
	align	4
_13123:
	dd	0x0
	align	4
_13124:
	dd	0x3f800000
	align	4
_13125:
	dd	0x0
	align	4
_13126:
	dd	0x0
	align	4
_13127:
	dd	0x3f800000
	align	4
_13128:
	dd	0x0
	align	4
_13129:
	dd	0x0
	align	4
_13130:
	dd	0x40000000
	align	4
_13131:
	dd	0x461c4000
	align	4
_13132:
	dd	0x40000000
	align	4
_13133:
	dd	0x461c4000
	align	4
_13134:
	dd	0x3f800000
	align	4
_13135:
	dd	0x3f800000
	align	4
_13136:
	dd	0x3f800000
	align	4
_13147:
	dd	0x3f800000
	align	4
_13149:
	dd	0x38d1b717
	align	8
_13150:
	dd	0x0,0x3fe00000
	align	4
_13151:
	dd	0x3e800000
	align	8
_13152:
	dd	0x0,0x40000000
	align	4
_13153:
	dd	0x3f800000
	align	4
_13154:
	dd	0x3e800000
	align	8
_13155:
	dd	0x0,0x40000000
	align	4
_13156:
	dd	0x3f800000
	align	4
_13157:
	dd	0x3e800000
	align	8
_13158:
	dd	0x0,0x40000000
	align	4
_13159:
	dd	0x3f800000
	align	4
_13160:
	dd	0x3e800000
	align	4
_13172:
	dd	0x3f000000
	align	8
_13183:
	dd	0x0,0x40000000
	align	4
_13184:
	dd	0x3f800000
	align	4
_13185:
	dd	0x3a83126f
	align	4
_682:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	78,101,119,32,84,81,117,97,116,101,114,110,105,111,110
	align	4
_683:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	68,101,108,32,84,81,117,97,116,101,114,110,105,111,110
_9927:
	db	"f",0
	align	4
_13200:
	dd	0x3f800000
	align	4
_13201:
	dd	0x40000000
	align	4
_13202:
	dd	0x40000000
	align	4
_13203:
	dd	0x40000000
	align	4
_13204:
	dd	0x40000000
	align	4
_13205:
	dd	0x3f800000
	align	4
_13206:
	dd	0x40000000
	align	4
_13207:
	dd	0x40000000
	align	4
_13208:
	dd	0x40000000
	align	4
_13209:
	dd	0x40000000
	align	4
_13210:
	dd	0x3f800000
	align	4
_13211:
	dd	0x40000000
	align	4
_13212:
	dd	0x38d1b717
	align	4
_13213:
	dd	0xb8d1b717
	align	4
_13214:
	dd	0x0
_9945:
	db	"f",0
	align	4
_13219:
	dd	0x3f800000
	align	4
_13220:
	dd	0x40000000
	align	4
_13221:
	dd	0x40000000
	align	4
_13222:
	dd	0x40000000
	align	4
_13223:
	dd	0x40000000
	align	4
_13224:
	dd	0x3f800000
	align	4
_13225:
	dd	0x40000000
	align	4
_13226:
	dd	0x40000000
	align	4
_13227:
	dd	0x40000000
	align	4
_13228:
	dd	0x40000000
	align	4
_13229:
	dd	0x3f800000
	align	4
_13230:
	dd	0x40000000
	align	4
_13231:
	dd	0x38d1b717
	align	4
_13232:
	dd	0xb8d1b717
	align	4
_13233:
	dd	0x0
	align	4
_13238:
	dd	0x3a83126f
	align	4
_13239:
	dd	0x3a83126f
	align	4
_13240:
	dd	0x3a83126f
	align	4
_13241:
	dd	0x3a83126f
	align	4
_13248:
	dd	0x3f800000
	align	4
_13249:
	dd	0x38d1b717
	align	4
_13250:
	dd	0x3f800000
	align	4
_13251:
	dd	0x3f800000
	align	4
_13266:
	dd	0x49742400
	align	4
_13267:
	dd	0x49742400
	align	4
_13268:
	dd	0x49742400
	align	4
_13269:
	dd	0xc9742400
	align	4
_13270:
	dd	0xc9742400
	align	4
_13271:
	dd	0xc9742400
	align	4
_13308:
	dd	0x0
	align	4
_696:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	71,76,95,65,82,66,95,118,101,114,116,101,120,95,98,117
	dw	102,102,101,114,95,111,98,106,101,99,116
	align	4
_697:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	71,76,95,65,82,66,95,116,101,120,116,117,114,101,95,99
	dw	111,109,112,114,101,115,115,105,111,110
	align	4
_698:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	71,76,95,69,88,84,95,116,101,120,116,117,114,101,95,99
	dw	111,109,112,114,101,115,115,105,111,110,95,115,51,116,99
	align	4
_699:
	dd	_bbStringClass
	dd	2147483647
	dd	33
	dw	71,76,95,69,88,84,95,116,101,120,116,117,114,101,95,102
	dw	105,108,116,101,114,95,97,110,105,115,111,116,114,111,112,105
	dw	99
	align	4
_700:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	71,76,95,65,82,66,95,109,117,108,116,105,116,101,120,116
	dw	117,114,101
	align	4
_701:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	71,76,95,69,88,84,95,116,101,120,116,117,114,101,95,101
	dw	110,118,95,99,111,109,98,105,110,101
	align	4
_702:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	71,76,95,65,82,66,95,116,101,120,116,117,114,101,95,99
	dw	117,98,101,95,109,97,112
	align	4
_703:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	71,76,95,65,82,66,95,100,101,112,116,104,95,116,101,120
	dw	116,117,114,101
	align	4
_704:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	71,76,95,65,82,66,95,118,101,114,116,101,120,95,112,114
	dw	111,103,114,97,109
	align	4
_705:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	71,76,95,65,82,66,95,102,114,97,103,109,101,110,116,95
	dw	112,114,111,103,114,97,109
	align	4
_706:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	71,76,95,65,82,66,95,115,104,97,100,101,114,95,111,98
	dw	106,101,99,116,115
	align	4
_707:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	71,76,95,65,82,66,95,118,101,114,116,101,120,95,115,104
	dw	97,100,101,114
	align	4
_708:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	71,76,95,65,82,66,95,102,114,97,103,109,101,110,116,95
	dw	115,104,97,100,101,114
	align	4
_709:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	71,76,95,65,82,66,95,115,104,97,100,105,110,103,95,108
	dw	97,110,103,117,97,103,101,95,49,48,48
	align	4
_710:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	77,105,110,105,66,51,68,76,111,103,46,116,120,116
	align	4
_711:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	77,105,110,105,66,51,68,32,72,97,114,100,119,97,114,101
	dw	105,110,102,111,58
	align	4
_712:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	86,101,110,100,111,114,58,32,32,32,32,32,32,32,32,32
	align	4
_713:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	82,101,110,100,101,114,101,114,58,32,32,32,32,32,32,32
	align	4
_714:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	79,112,101,110,71,76,45,86,101,114,115,105,111,110,58,32
	align	4
_715:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	77,97,120,32,84,101,120,116,117,114,101,32,85,110,105,116
	dw	115,58,32
	align	4
_716:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	77,97,120,32,84,101,120,116,117,114,101,32,83,105,122,101
	dw	58,32,32
	align	4
_717:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	77,97,120,32,76,105,103,104,116,115,58,32,32,32,32,32
	dw	32,32,32
	align	4
_718:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	79,112,101,110,71,76,32,69,120,116,101,110,115,105,111,110
	dw	115,58
	align	4
_722:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	32
	align	4
_723:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	45,32,82,101,97,100,121,32,45
	align	4
_730:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	69,110,116,105,116,105,101,115,58,32
	align	4
_731:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	67,97,109,101,114,97,115,58,32
	align	4
_732:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	76,105,103,104,116,115,58,32
	align	4
_733:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	80,105,118,111,116,115,58,32
	align	4
_734:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	77,101,115,104,101,115,58,32
	align	4
_735:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	83,112,114,105,116,101,115,58,32
	align	4
_736:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	66,111,110,101,115,58,32
	align	4
_739:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	46,32,67,108,97,115,115,58,32
	align	4
_738:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	46,32,78,97,109,101,58,32
	align	4
_737:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	69,110,116,105,116,121,58,32
	align	4
_13396:
	dd	0x40000000
	align	4
_13397:
	dd	0x40000000
	align	4
_13398:
	dd	0x40000000
_10188:
	db	"i",0
_10193:
	db	"i",0
	align	4
_13413:
	dd	0x40000000
	align	4
_13414:
	dd	0x40000000
	align	4
_13415:
	dd	0x40000000
	align	4
_746:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	88
	align	4
_747:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	79
	align	4
_748:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	49,46,32,69,110,116,105,116,121,32,80,111,115,105,116,105
	dw	111,110,32,73,110,102,111
	align	4
_749:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	71,108,111,98,97,108,58
	align	4
_13420:
	dd	0x38d1b717
	align	4
_13421:
	dd	0xb8d1b717
	align	4
_13422:
	dd	0x0
	align	4
_750:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	88,58,32
	align	4
_13423:
	dd	0x38d1b717
	align	4
_13424:
	dd	0xb8d1b717
	align	4
_13425:
	dd	0x0
	align	4
_751:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	89,58,32
	align	4
_13426:
	dd	0x38d1b717
	align	4
_13427:
	dd	0xb8d1b717
	align	4
_13428:
	dd	0x0
	align	4
_752:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	90,58,32
	align	4
_13429:
	dd	0x38d1b717
	align	4
_13430:
	dd	0xb8d1b717
	align	4
_13431:
	dd	0x0
	align	4
_753:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	80,105,116,99,104,58,32
	align	4
_13432:
	dd	0x38d1b717
	align	4
_13433:
	dd	0xb8d1b717
	align	4
_13434:
	dd	0x0
	align	4
_754:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	89,97,119,58,32
	align	4
_13435:
	dd	0x38d1b717
	align	4
_13436:
	dd	0xb8d1b717
	align	4
_13437:
	dd	0x0
	align	4
_755:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	82,111,108,108,58,32
	align	4
_756:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	76,111,99,97,108,58
	align	4
_13438:
	dd	0x38d1b717
	align	4
_13439:
	dd	0xb8d1b717
	align	4
_13440:
	dd	0x0
	align	4
_13441:
	dd	0x38d1b717
	align	4
_13442:
	dd	0xb8d1b717
	align	4
_13443:
	dd	0x0
	align	4
_13444:
	dd	0x38d1b717
	align	4
_13445:
	dd	0xb8d1b717
	align	4
_13446:
	dd	0x0
	align	4
_13447:
	dd	0x38d1b717
	align	4
_13448:
	dd	0xb8d1b717
	align	4
_13449:
	dd	0x0
	align	4
_13450:
	dd	0x38d1b717
	align	4
_13451:
	dd	0xb8d1b717
	align	4
_13452:
	dd	0x0
	align	4
_13453:
	dd	0x38d1b717
	align	4
_13454:
	dd	0xb8d1b717
	align	4
_13455:
	dd	0x0
	align	4
_13456:
	dd	0x38d1b717
	align	4
_13457:
	dd	0xb8d1b717
	align	4
_13458:
	dd	0x0
	align	4
_763:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	50,46,32,83,117,114,102,97,99,101,32,73,110,102,111
	align	4
_764:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	83,117,114,102,97,99,101,32
	align	4
_765:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	86,101,114,116,105,99,101,115,58,32
	align	4
_766:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	84,114,105,97,110,103,108,101,115,58,32
	align	4
_767:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	65,108,112,104,97,32,69,110,97,98,108,101,100,58,32
	align	4
_768:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	83,117,114,102,32,86,109,105,110,58,32
	align	4
_769:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	83,117,114,102,32,86,109,97,120,58,32
	align	4
_770:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	78,111,32,115,117,114,102,97,99,101
	align	4
_771:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	69,110,116,105,116,121,32,105,115,32,110,111,116,32,97,32
	dw	109,101,115,104,33
	align	4
_772:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	51,46,32,66,114,117,115,104,32,73,110,102,111
	align	4
_773:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	32,66,114,117,115,104,58
	align	4
_774:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	78,97,109,101,58,32
	align	4
_775:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	82,101,100,58,32
	align	4
_776:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	71,114,101,101,110,58,32
	align	4
_777:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	66,108,117,101,58,32
	align	4
_778:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	65,108,112,104,97,58,32
	align	4
_779:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	66,108,101,110,100,58,32
	align	4
_780:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	70,88,58,32
	align	4
_781:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	84,101,120,48,32,78,97,109,101,58,32
	align	4
_782:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,101,120,48,32,70,108,97,103,115,58,32
	align	4
_783:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,101,120,48,32,66,108,101,110,100,58,32
	align	4
_784:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	84,101,120,49,32,78,97,109,101,58,32
	align	4
_785:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,101,120,49,32,70,108,97,103,115,58,32
	align	4
_786:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,101,120,49,32,66,108,101,110,100,58,32
	align	4
_787:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	84,101,120,50,32,78,97,109,101,58,32
	align	4
_788:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,101,120,50,32,70,108,97,103,115,58,32
	align	4
_789:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,101,120,50,32,66,108,101,110,100,58,32
	align	4
_790:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	84,101,120,51,32,78,97,109,101,58,32
	align	4
_791:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,101,120,51,32,70,108,97,103,115,58,32
	align	4
_792:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,101,120,51,32,66,108,101,110,100,58,32
	align	4
_793:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,111,32,98,114,117,115,104
	align	4
_794:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	69,110,116,105,116,121,32,66,114,117,115,104,58
	align	4
_795:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	51,46,32,67,97,109,101,114,97,32,73,110,102,111
	align	4
_796:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	69,110,116,105,116,121,73,110,86,105,101,119,58,32
	align	4
_797:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	67,97,109,101,114,97,32,101,110,116,105,116,121,32,110,111
	dw	116,32,115,112,101,99,105,102,105,101,100,33
	align	4
_13787:
	dd	0x0
