void script_2997(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9,int arg10,int arg11,int arg12,int arg13) {
	createExtraChild(new WidgetPointer(arg0), 6, arg1);
	setWidgetSize(arg2, arg3, 0, 0);
	setWidgetPosition(arg4, arg5, 0, 0);
	if (arg6 != -1) {
		setWidgetModel(arg6);
		setWidget3DRotation(arg8, arg9, arg10, arg11, arg12, arg13);
	} else {
		setItemOnWidgetMethod1200(arg7, -1);
	}
	return;
}
